jxtse commited on
Commit
72731a6
·
verified ·
1 Parent(s): ea82d73

RI-Bench v1.0.0: 1,636 cases (Open Review, Parliament, Court) (part 3)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. open_review/iclr2024_8795.md +582 -0
  2. open_review/iclr2024_8797.json +100 -0
  3. open_review/iclr2024_8797.md +405 -0
  4. open_review/iclr2024_8798.json +100 -0
  5. open_review/iclr2024_8798.md +311 -0
  6. open_review/iclr2024_8801.json +100 -0
  7. open_review/iclr2024_8801.md +608 -0
  8. open_review/iclr2024_8802.json +88 -0
  9. open_review/iclr2024_8802.md +361 -0
  10. open_review/iclr2024_8804.json +83 -0
  11. open_review/iclr2024_8804.md +441 -0
  12. open_review/iclr2024_8805.json +100 -0
  13. open_review/iclr2024_8805.md +0 -0
  14. open_review/iclr2024_8809.json +83 -0
  15. open_review/iclr2024_8809.md +0 -0
  16. open_review/iclr2024_8811.json +83 -0
  17. open_review/iclr2024_8811.md +333 -0
  18. open_review/iclr2024_8813.json +100 -0
  19. open_review/iclr2024_8813.md +959 -0
  20. open_review/iclr2024_8818.json +83 -0
  21. open_review/iclr2024_8818.md +607 -0
  22. open_review/iclr2024_8825.json +105 -0
  23. open_review/iclr2024_8825.md +527 -0
  24. open_review/iclr2024_8826.json +100 -0
  25. open_review/iclr2024_8826.md +0 -0
  26. open_review/iclr2024_8829.json +83 -0
  27. open_review/iclr2024_8829.md +273 -0
  28. open_review/iclr2024_8832.json +100 -0
  29. open_review/iclr2024_8832.md +426 -0
  30. open_review/iclr2024_8834.json +83 -0
  31. open_review/iclr2024_8834.md +304 -0
  32. open_review/iclr2024_8837.json +100 -0
  33. open_review/iclr2024_8837.md +722 -0
  34. open_review/iclr2024_8838.json +100 -0
  35. open_review/iclr2024_8838.md +556 -0
  36. open_review/iclr2024_8840.json +100 -0
  37. open_review/iclr2024_8840.md +572 -0
  38. open_review/iclr2024_8841.json +83 -0
  39. open_review/iclr2024_8841.md +0 -0
  40. open_review/iclr2024_8842.json +117 -0
  41. open_review/iclr2024_8842.md +415 -0
  42. open_review/iclr2024_8845.json +83 -0
  43. open_review/iclr2024_8845.md +364 -0
  44. open_review/iclr2024_8848.json +100 -0
  45. open_review/iclr2024_8848.md +0 -0
  46. open_review/iclr2024_8849.json +83 -0
  47. open_review/iclr2024_8849.md +385 -0
  48. open_review/iclr2024_8851.json +100 -0
  49. open_review/iclr2024_8851.md +481 -0
  50. open_review/iclr2024_8853.json +100 -0
open_review/iclr2024_8795.md ADDED
@@ -0,0 +1,582 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## HUREF: HUMAN-READABLE FINGERPRINT FOR LARGE LANGUAGE MODELS
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Protecting the copyright of large language models (LLMs) has become crucial due to their resource-intensive training and accompanying carefully designed licenses. However, identifying the original base model of an LLM is challenging due to potential parameter alterations through fine-tuning or continued pretraining. In this study, we introduce HuRef, a human-readable fingerprint for LLMs that uniquely identifies the base model without exposing model parameters or interfering with training. We first observe that the vector direction of LLM parameters remains stable after the model has converged during pretraining, showing negligible perturbations through subsequent training steps, including continued pretraining, supervised fine-tuning (SFT), and RLHF, which makes it a sufficient condition to identify the base model. The necessity is validated by continuing to train an LLM with an extra term to drive away the model parameters’ direction and the model becomes damaged. However, this direction is vulnerable to simple attacks like dimension permutation or matrix rotation, which significantly change it without affecting performance. To address this, leveraging the Transformer structure, we systematically analyze potential attacks and define three invariant terms that identify an LLM’s base model. We make these invariant terms human-readable by mapping them to a Gaussian vector using a convolutional encoder and then converting it into a natural image with StyleGAN2. The encoder discriminates between invariants from different base models and ensures Gaussian output through adversarial training, while StyleGAN2 transforms Gaussian vectors into dog images. Consequently, our method generates a dog image as an identity fingerprint for an LLM, where the dog’s appearance strongly indicates the LLM’s base model. Specifically, if the LLM is adapted from another base model, the generated dog highly resembles that model; otherwise if trained independently from scratch, it exhibits a unique dog image distinct from other models. Experimental results across various LLMs demonstrate the effectiveness of our method, the generated dog image remains invariant to different training steps, including SFT, RLHF, or even continued pretraining with augmented vocabulary in a new language.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Large language models (LLMs) have become the foundation models in many scenarios of artificial intelligence. As training an LLM from scratch consumes a huge amount of computation and data resources and the trained LLM needs to be carefully protected from malicious use, the parameters of the LLMs become a crucial property to protect, for both commercial and ethical reasons. As a result, many of the LLMs are open-sourced with carefully designed licences to reject commercial use(Touvron et al., 2023a)(Taylor et al., 2022) or requiring an applyand-approval process(Touvron et al., 2023b)(Zhang et al., 2022)(Penedo et al., 2023)(BaiChuanInc, 2023)(Team, 2023)(Zheng et al., 2023b), let alone some LLMs are not open-sourced entirely(OpenAI, 2022)(GPT-4, 2023)(Brown et al., 2020)(Wu et al., 2023b)(Chowdhery et al., 2022)(Hoffmann et al., 2022).
14
+
15
+ At the core of protecting LLMs from unauthorized use is to identify the base model of a given LLM. However, different from other forms of property such as software or images, protecting LLMs is a novel problem with unique challenges. First, the base model usually needs to be fine-tuned or even continue pretrained to be applied to downstream tasks, resulting in parameter updates that make
16
+
17
+ 1
18
+
19
+ the resulting model different from the original base model, which makes it disputable to identify the base model. Second, many of the popular LLMs are not releasing their parameters, leaving the identification in a black-box setting. Third, different from previous smaller-scale neural networks that are only trained for specific tasks, LLMs are usually targeted for enormous forms of tasks that are not yet defined during pretraining. This has made the watermarking methods for traditional neural networks(Adi et al., 2018)(Xiang et al., 2021)(Yadollahi et al., 2021) not suited in this case, especially under extensive subsequent training steps.
20
+
21
+ In this work, we propose a novel way to overcome the aforementioned challenges by proposing a model that reads part of the model parameters and computes a fingerprint for each LLM, without directly exposing the LLM parameters to the public or interfering with its training process. The appearance of the fingerprint is closely dependent on the base model, and invariant to almost all subsequent training steps, including supervised fine-tuning (SFT), reinforcement learning with human feedback (RLHF), or even continue-pretraining with augmented vocabulary in a new language.
22
+
23
+ The fingerprint is based on our observation that the vector direction of LLM parameters remains stable against various subsequent training steps after the model has converged during pretraining. This makes it a good indicator for base model identification. Empirically, the sufficiency of this correlation is elaborated in Section 3.1.1, while its necessity is presented in Section 3.1.2.
24
+
25
+ Further, despite its stability towards training, the vector direction of the model parameter is vulnerable to some simple direct weight rearrangements that could significantly change the direction of parameter vectors without affecting the model’s performance. We construct three invariant terms that are robust to these weight rearrangements by systematically analyzing possible rearrangements and leveraging the Transformer structure. This is elaborated in Section 3.2.
26
+
27
+ Moreover, we make the fingerprint human-readable by mapping the invariant terms into a Gaussian random vector through a convolutional encoder and then map the Gaussian vector to a natural image through an off-the-shelf image generation model, StyleGAN2(Karras et al., 2020). This makes our fingerprints easily interpretable and straightforward to decipher. This is elaborated in Section 4.
28
+
29
+ With this fingerprinting approach, we can sketch an outline for protecting LLMs (c.f. Appendix B).
30
+
31
+ ## 2 RELATED WORKS
32
+
33
+ Despite its short history, safeguarding LLMs against unauthorized use has been a topic of significant interest. There are two primary categories of approaches.
34
+
35
+ **Post-hoc Detection** methods involve analyzing text generated by LLMs after its production. LLMDet (Wu et al., 2023a) calculates proxy perplexity by leveraging prior knowledge of the model’s next-token probabilities. DetectGPT (Mitchell et al., 2023) uses model-predicted probabilities to identify passages generated by a specific LLM. Li et al. (2023) employs perplexity scores and intricate feature engineering. These methods are usually applicable to a specific LLM and could be affected by supervised fine-tuning (SFT) and continued pretraining. More recently, Sadasivan et al. (2023) presented theoretical findings that for highly advanced AI human mimickers, even the best possible detection methods may only marginally outperform random guessing.
36
+
37
+ **Watermarking Techniques** can be divided into two main categories (Boenisch, 2021). The first embeds watermarks or related information into the model parameters, such as explicit watermarking scheme (Uchida et al., 2017) or leveraging another neural network (Wang et al., 2020), which could potentially affect model performance (Wang & Kerschbaum, 2019). The second category focuses on inducing unusual prediction behavior in the model. Xiang et al. (2021) explored embedding phrase triggers, and Gu et al. (2022) extended this approach to LLMs, albeit they are task-specific. Yadollahi et al. (2021) proposed a watermarking method but did not consider subsequent fine-tuning. Christ et al. (2023) proposed cryptographic designs. Kirchenbauer et al. (2023) involved using preselected tokens, but this inevitably alters the model prediction. These methods may turn out to be vulnerable to attacks on certain tokens, for example, Krishna et al. (2023) successfully evaded watermarking (Kirchenbauer et al., 2023), GPTZero(Tian, 2023), DetectGPT, and OpenAI’s text classifier(OpenAI, 2023) using paraphrasing attacks.
38
+
39
+ Our work doesn’t fall into any of the two categories since it is based on analyzing model weights post-hoc and relies on a wide spectrum of tokens.
40
+
41
+ 2
42
+
43
+ **==> picture [397 x 80] intentionally omitted <==**
44
+
45
+ **----- Start of picture text -----**<br>
46
+ 60<br>55<br>50<br>45<br>40<br>PCS 99.95 99.98 99.74 99.87 99.80 99.96 99.91 99.96 99.75 99.58 0.95 1.16 1.20 1.51 35<br>100 95 90 85 80<br>ICS 99.43 99.96 91.70 99.48 99.57 99.88 99.69 99.91 99.33 89.60 2.76 2.11 1.05 10.71 Cosine similarity<br>Model Alpaca-Lora Alpaca Chinese-LLaMA Vicuna Baize MedAlpaca Koala WizardLM MiniGPT-4 Chinese-Alpaca Baichuan OpenLLaMA InternLM LLaMA-2<br>Average performance<br>**----- End of picture text -----**<br>
47
+
48
+ Table 1: The cosine similarities of model parameters (PCS) and invariant terms (ICS) between various LLMs w.r.t. the LLaMA7B base model. All models are of the same size.
49
+
50
+ Figure 1: The model’s performance quickly deteriorates as the PCS decreases.
51
+
52
+ ## 3 VECTOR DIRECTION OF LLM PARAMETERS AND THE INVARIANT TERMS
53
+
54
+ ## 3.1 USING VECTOR DIRECTION OF LLM PARAMETERS TO IDENTIFY THE BASE MODEL
55
+
56
+ We can flatten all weight matrices and biases of an LLM into vectors, concatenate all resulting vectors together, and treat is as single huge vector. In this subsection, we are going to show how the direction of this vector could be used to determine the base model by empirically showing its sufficiency and necessity.
57
+
58
+ ## 3.1.1 SUFFICIENCY
59
+
60
+ For sufficiency, we compute the cosine similarities between a base model LLaMA-7B and various of its offspring models, as well as other independently pretrained LLMs(Geng & Liu, 2023) that are of the same size. Table 1 shows a wide spectrum of models that inherit the LLaMA-7B base model, whose subsequent training processes involve various training paradigms, such as SFT (Taori et al., 2023)(Xu et al., 2023b)(Zheng et al., 2023a)(Geng, 2023)(Xu et al., 2023a)(Han et al., 2023), SFT with LoRA (Wang, 2023) and extensive continue pretraining in a new language(Cui et al., 2023), extending to new modalities (Zhu et al., 2023), etc. Please refer to Appendix C for a detailed description of the subsequent training setting of these models.
61
+
62
+ Regardless of their various subsequent training setting, we can figure that all of these models show almost full scores in cosine similarity, largely preserving the base model’s parameter vector direction. On the other hand, the models that are trained independently appear to be completely different in parameter vector direction, showing almost zero cosine similarity with the LLaMA-7B model.
63
+
64
+ These observations indicate that a high cosine similarity between the two models highly suggests that they share the same base model, and vice versa.
65
+
66
+ ## 3.1.2 NECESSITY
67
+
68
+ From the necessity perspective, we want to verify that if the base model’s ability could still be preserved when the cosine similarity is intentionally suppressed in subsequent training steps. To this end, we inherit the LLaMA-7B base model and interfere with the Alpaca’s SFT process by augmenting the original SFT loss with an extra term that minimizes the absolute value of cosine similarity. i.e. _LA_ = ��� _⟨_ _**V** A,_ _**V** base⟩_ ���[Here] _**[V]**[A][,]_ _**[ V]**[base]_[stand][for][the][parameter][vector][of][the][model] _|_ _**V** A||_ _**V** base|_[.] being tuned and that of the base model, respectively.
69
+
70
+ Figure 1 presents the average zero-shot performance on a set of standard benchmarks when _LA_ is at different values. The benchmarks include BoolQ(Clark et al., 2019), PIQA(Bisk et al., 2020), HellaSwag(Zellers et al., 2019), WinoGrande(Sakaguchi et al., 2021), ARC-e, ARC-c(Clark et al., 2018),RACE(Lai et al., 2017) and MMLU(Hendrycks et al., 2020). (c.f. Appendix E for a detailed breakdown of performances on each task.) We can see that despite the original training loss is still present, the model quickly deteriorates to random guesses as the cosine similarity detaches away from that of the base model.
71
+
72
+ These observations indicate that it is fairly hard for the model to preserve the base model’s performance without keeping a high cosine similarity to it.
73
+
74
+ 3
75
+
76
+ ## 3.2 DERIVING THE INVARIANT TERMS
77
+
78
+ Although the vector direction of model parameters is shown to closely stick to its base model, directly comparing the vector direction through cosine similarity requires both models to reveal their parameters, which is unacceptable in many cases. In addition, apart from training, parameter vector direction is vulnerable to some attacks that directly rearrange the model weights. For example, since the hidden units in a model layer are permutation-invariant, one can easily alter the parameter vector direction by randomly permuting the hidden units along with the weights wired to the units. These attacks are invisible to discover since they could easily break the cosine similarity but neither change the model structure nor affect the model performance.
79
+
80
+ In this subsection, we are going to first systematically analyze and formalize possible weight rearrangements by leveraging the structure constraints of Transformer, and then derive three terms that are invariant under these rearrangements, even when they are combined.
81
+
82
+ Let’s first consider the Transformer layer as depicted in Figure 2. Formally, the layer conducts the following computation:
83
+
84
+ **==> picture [397 x 138] intentionally omitted <==**
85
+
86
+ **----- Start of picture text -----**<br>
87
+ mally, the layer conducts the following computation:<br>𝐻𝑛+1 T<br>Add & Norm 𝐻𝑛+1′ H Attn′ [=][ softmax] � H n W Q ( √ H dn W K ) � H n W V W O (1)<br>Feed Forward H n′ +1 [=] [ σ] [ (] [H] [Attn] [W] [1] [+] [ b] [1][)] [ W] [2] [+] [ b] [2] (2)<br>𝐻𝐴𝑡𝑡𝑛 where H n ∈ R [l][×][d] is the hidden state of the n -th layer, with l, d<br>Add & Norm ′<br>𝐻𝐴𝑡𝑡𝑛′ the self-attention output.being sequence length and model dimensions, respectively.To reduce clutter, we omit equations related H Attn [is]<br>Attention to residual connection and LayerNorm, but denote the variables right<br>before it with an apostrophe. The W ’s and b ’s are weights and biases.<br>𝐻𝑛<br> H = X<br>**----- End of picture text -----**<br>
88
+
89
+ Note that the first layer reads the word embedding, i.e., _**H**_ 0 = _**X** ∈_ R _[l][×][d]_ , and the final output distribution **P** _∈_ R _[l][×][v]_ is given by
90
+
91
+ Figure 2: Transformer layer
92
+
93
+ **==> picture [183 x 11] intentionally omitted <==**
94
+
95
+ where _v_ is the vocabulary size, _N_ is the total number of layers, and _**E** ∈_ R _[d][×][v]_ is the parameter matrix in the softmax layer, which is sometimes tied with the word embedding matrix at the input.
96
+
97
+ ## 3.2.1 FORMS OF WEIGHT REARRANGEMENT ATTACKS
98
+
99
+ Putting Equations 1˜3 together, we can systematically analyze how the parameter vector direction can be attacked through direct weight rearrangements. There are totally 3 forms of attacks that could camouflage the model without changing its architecture or affecting its output.
100
+
101
+ **1. Linear mapping attack on** _**W** Q,_ _**W** K_ **and** _**W** V ,_ _**W** O_ **.** Consider Equation 1, one can transform _**W** Q_ and _**W** K_ symmetrically so that the product _**W** Q_ _**W** K[T]_[remains unchanged but both weights are] significantly modified. This will alter the parameter vector direction significantly. Formally, for any invertible matrix _**C**_ 1, let
102
+
103
+ ˜ ˜ _**W** Q_ = _**W** Q_ _**C**_ 1 _,_ _**W** K_ = _**W** K_ _**C**_ 1 _[−]_[1] (4)
104
+
105
+ and substitute them respectively into the model, one can camouflage it as if it’s a brand new model, without sacrificing any of the base model’s performance. The same holds for _**W** V ,_ _**W** O_ as well.
106
+
107
+ **2. Permutation attack on** _**W**_ 1 _,_ **b** 1 _,_ _**W**_ 2 **.** Consider Equation 2, since it consists of two fully connected layers, one can randomly permute the hidden states in the middle layer without changing its output. Formally, let _**P** F F N_ be an arbitrary permutation matrix, one can camouflage the model without sacrificing its performance by substituting the following three matrices accordingly
108
+
109
+ **==> picture [316 x 13] intentionally omitted <==**
110
+
111
+ **3. Permutation attack on word embeddings.** In a similar spirit, one can permute the dimensions in the word embedding matrix as well, although it would require all remaining parameters to be permuted accordingly. Formally, let _**P** E_ be an arbitrary permutation matrix that permutes the dimensions in _**X**_ through _**X**_[˜] = _**XP** E_ , due to the existence of the residual connections, the output of
112
+
113
+ 4
114
+
115
+ all layers have to be permuted in the same way, i.e., _**H**_[˜] _n_ = _**H** n_ _**P** E_ . Note that it’s not necessarily the case in the former two types of attacks. This permutation has to be canceled out at the final softmax layer (Equation 3), by permuting the dimensions in _**E**_ accordingly, i.e. _**E**_[˜] = _**P** E[−]_[1] _**[E]**_[.][Specifically,] all remaining parameters have to be permuted in the following way:
116
+
117
+ **==> picture [356 x 30] intentionally omitted <==**
118
+
119
+ Moreover, putting everything together, one can combine all the aforementioned three types of attacks altogether. Formally, the parameters can be camouflaged as:
120
+
121
+ **==> picture [379 x 46] intentionally omitted <==**
122
+
123
+ **==> picture [13 x 10] intentionally omitted <==**
124
+
125
+ Note that for permutation matrix we have _**P**[−]_[1] = _**P**[T]_ . This includes all possible attacks that 1) do not change the model architecture, and 2) do not affect the model’s output.
126
+
127
+ 3.2.2 THE INVARIANT TERMS TO THESE ATTACKS
128
+
129
+ In order to find the invariant terms under all these attacks, we need to combine terms in Equation 7 to get the invariant term that nicely cancels out all extra camouflaging matrices. To this end, we construct 3 invariant terms:
130
+
131
+ **==> picture [349 x 15] intentionally omitted <==**
132
+
133
+ Note that we are not simply including all tokens of a vocabulary or tokens in a certain sentence for _**X**_ , and instead, we use _**X**_[ˆ] in these terms. There are two problems if we directly use all tokens’ embeddings _**X**_ . First, using the whole embedding matrix will make the terms unnecessarily large and of variable size between different models. Second, more importantly, since it is fairly common to inherit a base model with an augmented vocabulary, i.e., to append a set of new tokens at the end of the original vocabulary, the invariant terms will result in different sizes and are not comparable in this case. Third, if we designate specific tokens instead, the selected tokens may not always exist in all LLMs being tested. As a result, we carefully choose the tokens to be included in _**X**_[ˆ] , by following these steps:
134
+
135
+ 1. Select a sufficiently big corpus as a standard verifying corpus.
136
+
137
+ 2. Tokenize the corpus with the LLM’s vocabulary, and sort all tokens in the vocabulary according to their frequency.
138
+
139
+ 3. Delete all tokens in the vocabulary that don’t show up in the corpus.
140
+
141
+ 4. Among the remaining tokens, select the least frequent _K_ tokens as the tokens to be included in **X**[ˆ] .
142
+
143
+ Here, using a standard corpus ensures that the resulting tokenization will be identical if a certain model’s vocabulary is a subset of another; the sufficiently large corpus stabilizes the frequencies of tokens in the vocabulary and provides enough chance for as many tokens as possible to show up. Deleting zero-shot tokens automatically sweeps off augmented tokens. Selecting the rarest tokens minimizes potential affections brought by parameter updates in subsequent training processes. A properly large _K_ will ensure a large enough set of tokens are included, making the resulting invariant terms more generally representative. More importantly, it will make all the invariant terms have the same size across all LLMs, regardless of their original sizes. In practice, we choose _K_ = 4096.
144
+
145
+ We show the cosine similarity between the invariant terms in Table 1. Although not as perfect as the parameter’s cosine distances, they still preserve a high correlation to the base model.
146
+
147
+ - 4 MAKING THE INVARIANT TERMS HUMAN-READABLE: THE FINGERPRINTING MODEL
148
+
149
+ Instead of directly using the three invariant terms, we can present the content in the terms in a human-readable way, through the fingerprinting model. The fingerprinting model consists of a neu-
150
+
151
+ 5
152
+
153
+ **==> picture [396 x 224] intentionally omitted <==**
154
+
155
+ **----- Start of picture text -----**<br>
156
+ Training<br>𝒩 0,1<br>Discriminator Discriminator Loss 𝑳𝑫<br>Sample Real data 𝒙<br>𝑴𝒂𝒕𝒓𝒊𝒄𝒆𝒔 𝑷𝒊, 𝑵𝒊~𝓝 𝟎,𝟏 Fake data 𝒙′ Training Loss 𝑳= 𝑳𝑪 +𝑳𝑫<br>𝑀 [,] = 𝑃(,𝑃),𝑃*,𝑃(,+<br>Maximize Cos Similarity<br>𝜺#~𝓝 𝟎, 𝜶 𝑃# + 𝜺$<br>M = 𝑃(𝑃)𝑃*𝑃(+ Contrastive Loss 𝑳𝑪<br>Anchor CNN Minimize Cos Similarity<br>𝑀 [-] = 𝑁(𝑁)𝑁*𝑁(+ Encoder<br>Training Data Generation Feature Vectors 𝒗<br>LLama Alpaca Inference<br>LLama Alpaca<br>GAN/VAE<br>OpenLLaMa GPTNeoX Generator OpenLLaMa GPTNeoX<br>CNN<br>Encoder Feature Vectors 𝒗<br>LLMs Invariant Terms<br>**----- End of picture text -----**<br>
157
+
158
+ Figure 3: The training and inference of our fingerprinting model.
159
+
160
+ ral network encoder - a convolutional encoder in our case - and an off-the-shelf image generator as depicted in Figure 3. In principle, the encoder takes as input the invariant terms of a certain model, tile them together, and deterministically maps them to a vector that appears to be filled with Gaussian variables. The subsequent image generator reads this vector and maps it to a natural image. Importantly, throughout the process, the locality of the inputs has to be preserved from end to end. i.e., similar invariable terms should result in similar Gaussian variables and finally similar images.
161
+
162
+ ## 4.1 TRAINING THE CONVOLUTIONAL ENCODER
163
+
164
+ All the invariant terms in Equation 8 have the same size, i.e., _**M** a,_ _**M** b,_ _**M** f ∈_ R _[K][×][K]_ , regardless of the index of the layer or LLM sizes. As a result, we can tile up them to form a 3D input tensor _**M** ∈_ R _[K][×][K][×][C]_ , where _C_ is the channel dimension. If we are using all layers, _C_ = 3 _N_ . Again, in order to make _**M**_ the same size across all models, we only involve the last _r_ layers in the LLM[1] .
165
+
166
+ Note that we don’t need to use any real LLM weights for training the convolutional encoder, as it only needs to learn a locality-preserving mapping between the input tensor and the output Gaussian vector. This ensures strict exclusivity between the training and test data. To construct the training data, we synthesize the matrix in each channel of _**M**_ on-the-fly, by randomly sampling 3 matrices _**P**_ 1 _,_ _**P**_ 2 _,_ _**P**_ 3 and multiplying them together as _**P**_ 1 _**P**_ 2 _**P**_ 3 _**P**_ 1 _[T]_[,as though they are model parameters.]
167
+
168
+ To learn locality-preserving mapping, we adopt contrastive learning. For a randomly sampled input _**M**_ , its negative sample is given by another independently sampled tensor _**M**[−]_ . For its positive sample _**M**_[+] , we perturb the content in each of _**M**_ ’s channel by adding small perturbation noises _ϵi ∈N_ (0 _, α_ ) to the 3 matrices behind it. Here _α_ is a hyperparameter determining the small variance. Subsequently, the contrastive loss _LC_ is given by:
169
+
170
+ **==> picture [295 x 13] intentionally omitted <==**
171
+
172
+ where _SC_ ( _·, ·_ ) computes the cosine similarity between its two input matrices.
173
+
174
+ To render the output vector appears to be Gaussian, we adopt the standard GAN(Karras et al., 2019) training scheme. We add a simple MLP as the discriminator _D_ that is trained to discriminate between real Gaussian vectors and the convolutional output vector _**v**_ . In this setting, the convolutional encoder serves as the generator. During training, for every _m_ steps, we alternate between training the discriminator and the generator. The discriminator loss _LD_ is thus given by
175
+
176
+ > 1 In fact, experimentally we find that a small _r_ is already sufficient to discriminate LLMs, it’s not necessary to involve many layers. In all of our experiments, _r_ = 2, so there are only 6 channels in the input.
177
+
178
+ 6
179
+
180
+ **==> picture [396 x 239] intentionally omitted <==**
181
+
182
+ **----- Start of picture text -----**<br>
183
+ Falcon-40B MPT-7B LLaMA2-7B Qwen-7B Baichuan-13B InternLM-7B<br>Instruct 99.78 Instruct 100 Chat 99.55 Chat 99.74 Chat 99.72 Chat 99.07<br>SFT 99.72 Storywriter 99.82 32K 99.51 Firefly 99.02 SFT 99.98 Firefly 99.32<br>**----- End of picture text -----**<br>
184
+
185
+ Figure 4: Fingerprints of 6 different base models (in the first row) and their corresponding offspring models (the lower two rows) are presented. The base model’s name is omitted in the offspring models. The blue number to the right of each offspring model indicates the cosine similarity of its invariant terms (ICS) w.r.t. its base model.
186
+
187
+ **==> picture [259 x 29] intentionally omitted <==**
188
+
189
+ While training the generator we also need to incorporate the contrastive learning loss. Thus the actual loss _L_ for the training generator is a combination of _LC_ and _LD_ .
190
+
191
+ **==> picture [228 x 10] intentionally omitted <==**
192
+
193
+ ## 4.2 INFERENCE
194
+
195
+ In the inference stage, the convolutional encoder takes the invariant terms from real LLMs and outputs _**v**_ . In principle, any image generator that takes a Gaussian input and has the locality-preserving property would fit here. In this paper, we employ the StyleGAN2 generator pre-trained on the AFHQ(Choi et al., 2020) dog dataset to generate natural images, we detailed why it’s a smooth generator in Appendix D. By visually representing the invariant terms as fingerprints, we can easily identify base models based on their fingerprint images, enabling reliable tracking of model origins.
196
+
197
+ ## 5 EXPERIMENTS
198
+
199
+ Apart from the results shown in Section 3, our experiment section is three-fold. First, we choose several widely used and open-sourced LLM base models with their offspring LLMs to compute their invariant terms and fingerprint images. Second, we extensively test our method on the LLaMA model family, including some heavily continue-pretrained ones to experimentally verify the robustness of our method against subsequent training processes. Third, we extensively experimented on more open-sourced LLMs to show the diversity of generated images on different LLMs.
200
+
201
+ ## 5.1 INDEPENDENTLY TRAINED LLMS AND THEIR OFFSPRING MODELS
202
+
203
+ We conduct experiments on 6 commonly used open-sourced LLMs with their sizes ranging from 7B to 40B. For the invariant terms, we use the last 2 layers’ parameters and set _K_ = 4096, which results
204
+
205
+ 7
206
+
207
+ |ICS|LLaMA MiGPT Alpaca MAlpaca Vicuna Wizard<br>Baize<br>AlpacaL CAlpaca Koala CLLaMA Beaver Guanaco BiLLa|
208
+ |---|---|
209
+ |||
210
+ |LLaMA<br>MiGPT<br>Alpaca<br>MAlpaca<br>Vicuna<br>Wizard<br>Baize<br>AlpacaL<br>CAlpaca<br>Koala<br>CLLaMA<br>Beaver<br>Guanaco<br>BiLLa|100.00<br>99.33<br>99.96<br>99.88<br>99.48<br>99.91<br>99.57<br>99.43<br>89.60<br>99.69<br>91.70<br>99.98<br>91.68<br>81.13<br>99.33<br>100.00<br>99.30<br>99.23<br>99.20<br>99.27<br>98.93<br>98.76<br>89.02<br>99.14<br>91.10<br>99.32<br>91.15<br>80.76<br>99.96<br>99.30<br>100.00<br>99.84<br>99.45<br>99.88<br>99.53<br>99.40<br>89.57<br>99.66<br>91.67<br>99.98<br>91.66<br>81.09<br>99.88<br>99.23<br>99.84<br>100.00<br>99.38<br>99.80<br>99.46<br>99.31<br>89.49<br>99.58<br>91.60<br>99.86<br>91.57<br>81.03<br>99.48<br>99.20<br>99.45<br>99.38<br>100.00<br>99.41<br>99.08<br>98.92<br>89.16<br>99.25<br>91.25<br>99.47<br>91.30<br>80.93<br>99.91<br>99.27<br>99.88<br>99.80<br>99.41<br>100.00<br>99.49<br>99.35<br>89.52<br>99.63<br>91.62<br>99.89<br>91.60<br>81.09<br>99.57<br>98.93<br>99.53<br>99.46<br>99.08<br>99.49<br>100.00<br>99.05<br>89.21<br>99.27<br>91.30<br>99.55<br>91.32<br>80.79<br>99.43<br>98.76<br>99.40<br>99.31<br>98.92<br>99.35<br>99.05<br>100.00<br>89.08<br>99.12<br>91.17<br>99.42<br>91.27<br>80.70<br>89.60<br>89.02<br>89.57<br>89.49<br>89.16<br>89.52<br>89.21<br>89.08<br>100.00<br>89.34<br>97.58<br>89.58<br>82.81<br>73.11<br>99.69<br>99.14<br>99.66<br>99.58<br>99.25<br>99.63<br>99.27<br>99.12<br>89.34<br>100.00<br>91.43<br>99.67<br>91.37<br>80.94<br>91.70<br>91.10<br>91.67<br>91.60<br>91.25<br>91.62<br>91.30<br>91.17<br>97.58<br>91.43<br>100.00<br>91.68<br>84.33<br>74.73<br>99.98<br>99.32<br>99.98<br>99.86<br>99.47<br>99.89<br>99.55<br>99.42<br>89.58<br>99.67<br>91.68<br>100.00<br>91.67<br>81.11<br>91.68<br>91.15<br>91.66<br>91.57<br>91.30<br>91.60<br>91.32<br>91.27<br>82.81<br>91.37<br>84.33<br>91.67<br>100.00<br>75.62<br>81.13<br>80.76<br>81.09<br>81.03<br>80.93<br>81.09<br>80.79<br>80.70<br>73.11<br>80.94<br>74.73<br>81.11<br>75.62<br>100.00|
211
+
212
+ Table 2: The cosine similarities of invariant terms between various pairs of LLaMA-7B and its offspring models. Abbreviations used include ”MAlpaca” for ”MedAlpaca,” ”AlpacaL” for ”AlpacaLora,” ”MiGPT” for ”MiniGPT-4,” ”Wizard” for ”WizardLM,” and ”CAlpaca” and ”CLLaMA” representing ”Chinese-Alpaca” and ”Chinese-LLaMA,” respectively.
213
+
214
+ **==> picture [397 x 136] intentionally omitted <==**
215
+
216
+ **----- Start of picture text -----**<br>
217
+ LLaMA MiniGPT-4 Alpaca MedAlpaca Vicuna WizardLM Baize<br>Alpaca Lora Chinese Alpaca Koala Chinese LLaMA Beaver Guanaco BiLLa<br>**----- End of picture text -----**<br>
218
+
219
+ Figure 5: Fingerprints of LLaMA-7B and its offspring models.
220
+
221
+ in _**M** ∈_ R[4096] _[×]_[4096] _[×]_[6] for all models. The 6 base models are Falcon-40B, MPT-7B(Lin et al., 2022), LLaMA2-7B, Qwen-7B (Bai et al., 2023), Internlm-7B, and Baichuan-13B. Most of their offspring models went through an SFT process, except for LLaMA2-7B-32K(Together.ai, 2023), which also had a continued pretraining before SFT. Please refer to Appendix F for a detailed description of the subsequent training steps each model has undergone. Apart from the fingerprints (Figure 4) we also calculate, for each offspring model, its invariant terms’ cosine similarity (ICS) w.r.t. its base model. Remarkably, for all the offspring models, their fingerprints closely resemble those of their base models, and the ICS indicates the high similarity of their invariant terms w.r.t. their base models. On the other hand, LLMs based on different base models yield fingerprints that are highly different, covering diverse appearances and breeds of dogs.
222
+
223
+ ## 5.2 LLAMA AND ITS OFFSPRING MODELS
224
+
225
+ To extensively validate how our proposed method is robust to various subsequent training processes, we choose the LLaMA-7B base model as a testbed, since it is a widely used model with the largest family of offspring models. We collect 10 offspring models introduced in Section 3.1.1. Plus Beaver which underwent RLHF(Dai et al., 2023), Guanaco(Dettmers et al., 2023) SFT on the multilingual dataset, and BiLLa(Li, 2023) continued pretraining on a new language. They are subject to various training paradigms, and we refer the readers to Appendix C for detailed descriptions. Among these offspring models, We want to draw attention to the Chinese-LLaMA and Chinese-Alpaca models, both of which have an extended vocabulary and have been continued pretrained for 20GB of text in a new language, with the latter trained with several millions of additional SFT samples. Following the settings in Section 5.1, the invariant terms again use the last 2 layers’ parameters.
226
+
227
+ Despite all these complex subsequent training steps, all the models yield highly relevant invariant terms (Table 2). We extensively compute the cosine similarity of the invariant terms (ICS) between
228
+
229
+ 8
230
+
231
+ **==> picture [396 x 315] intentionally omitted <==**
232
+
233
+ **----- Start of picture text -----**<br>
234
+ LLaMA-7B Qwen-7B LLaMA2-7B RedPajama-7B ChatGLM-6B Bloom-7B<br>ChatGLM2-6B Pythia-7B InternLM-7B OpenLLaMA-7B OPT-6.7B Baichuan-7B<br>GPT2-Large Cerebras-GPT-1.3B GPT-Neo-2.7B Pythia-12B LLaMA-13B GPT-NeoX-20B<br>OPT-30B LLaMA-30B LLaMA-65B Galactica-30B Galactica-120B Falcon-180B<br>**----- End of picture text -----**<br>
235
+
236
+ Figure 6: Fingerprints of 24 independently trained LLMs.
237
+
238
+ every pair of models and found that they are still highly similar, with the lowest ICS being 73 _._ 11. For our trained fingerprinting model, they are aligned to a similar fingerprint image of a German Shepherd, with similar poses, coat patterns, expressions, and backgrounds (Figure 5).
239
+
240
+ ## 5.3 A WIDER COLLECTION OF INDEPENDENTLY TRAINED LLMS
241
+
242
+ We collect a total of 24 open-sourced LLMs with their sizes ranging from 774M (GPT2-Large) to 180B (Falcon-180B). Please refer to Appendix H for a detailed list and description of these models. We generate their fingerprints, as shown in Figure 6. The similarities between different models were notably low, further confirming the validity of our proposed method and model. Due to space limit, the ICSs between the 24 models are shown in Appendix I. We find that the ICS might accidentally become high between models with different sizes. However, as it is not possible to inherit a model’s parameters into a different-sized model, these accidentally high ICSs don’t affect the effectiveness of our method.
243
+
244
+ ## 6 CONCLUSION
245
+
246
+ In this paper, we introduce a novel approach that uses model parameters to yield a fingerprint for LLMs. This approach could provide a human-readable identity for LLM without exposing its parameters or interfering with its training process. Different from the well-studied black-box or white-box settings, our method lies in the middle of both. Although generating the invariant terms needs access to the model parameters, which has to be done by the LLM owners and might need regulations to prevent fake terms, all the subsequent steps could be done by the public, without requiring a special third-party institution. Moreover, as only the invariant terms and fingerprint images are published, no model weights need to be exposed outside of its owner, neither to the public nor the other LLM owners, during the whole process.
247
+
248
+ 9
249
+
250
+ ## 7 ETHICS STATEMENT
251
+
252
+ This study primarily focuses on LLM protection, an area crucial for safeguarding intellectual property and preventing misuse. The collection and use of data in our research comply with all relevant privacy and data protection regulations. We do not engage in any data practices that compromise the privacy or rights of individuals.
253
+
254
+ ## 8 REPRODUCIBILITY STATEMENT
255
+
256
+ We have provided detailed methodologies for our approach throughout this paper. For enhanced clarity, we have included an illustrative framework for LLM protection with fingerprints in Appendix B to help readers better grasp our intuition. Our methods are thoroughly described in Section 3, and we provide a comprehensive account of our model in Section 4. In addition, we have included information about the various LLMs we used in Appendix. These details will make it more feasible for other researchers to replicate our work and validate our findings.
257
+
258
+ ## REFERENCES
259
+
260
+ - Yossi Adi, Carsten Baum, Moustapha Cisse, Benny Pinkas, and Joseph Keshet. Turning your weakness into a strength: Watermarking deep neural networks by backdooring. In _27th USENIX Security Symposium (USENIX Security 18)_ , pp. 1615–1631, 2018.
261
+
262
+ - Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, et al. Qwen technical report. _arXiv preprint arXiv:2309.16609_ , 2023.
263
+
264
+ - Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. _arXiv preprint arXiv:2204.05862_ , 2022.
265
+
266
+ BaiChuan-Inc. [URL removed] 2023.
267
+
268
+ - Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. Pythia: A suite for analyzing large language models across training and scaling. In _International Conference on Machine Learning_ , pp. 2397–2430. PMLR, 2023.
269
+
270
+ - Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical commonsense in natural language. In _Proceedings of the AAAI conference on artificial intelligence_ , pp. 7432–7439, 2020.
271
+
272
+ - Sidney Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Horace He, Connor Leahy, Kyle McDonell, Jason Phang, et al. Gpt-neox-20b: An open-source autoregressive language model. In _Proceedings of BigScience Episode# 5–Workshop on Challenges & Perspectives in Creating Large Language Models_ , pp. 95–136, 2022.
273
+
274
+ - Franziska Boenisch. A systematic review on model watermarking for neural networks. _Frontiers in big Data_ , 4:729663, 2021.
275
+
276
+ - Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. _Advances in neural information processing systems_ , 33:1877–1901, 2020.
277
+
278
+ - Yunjey Choi, Youngjung Uh, Jaejun Yoo, and Jung-Woo Ha. Stargan v2: Diverse image synthesis for multiple domains. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 8188–8197, 2020.
279
+
280
+ - 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.
281
+
282
+ 10
283
+
284
+ Miranda Christ, Sam Gunn, and Or Zamir. Undetectable watermarks for language models. _arXiv preprint arXiv:2306.09194_ , 2023.
285
+
286
+ - Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. Boolq: Exploring the surprising difficulty of natural yes/no questions. _arXiv preprint arXiv:1905.10044_ , 2019.
287
+
288
+ - Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge. _arXiv preprint arXiv:1803.05457_ , 2018.
289
+
290
+ - Together Computer. Redpajama: An open source recipe to reproduce llama training dataset, 2023. URL [URL removed]
291
+
292
+ - Mike Conover, Matt Hayes, Ankit Mathur, Jianwei Xie, Jun Wan, Sam Shah, Ali Ghodsi, Patrick Wendell, Matei Zaharia, and Reynold Xin. Free dolly: Introducing the world’s first truly open instruction-tuned llm, 2023. URL [URL removed] 12/dolly-first-open-commercially-viable-instruction-tuned-llm.
293
+
294
+ - Yiming Cui, Ziqing Yang, and Xin Yao. Efficient and effective text encoding for chinese llama and alpaca. _arXiv preprint arXiv:2304.08177_ , 2023.
295
+
296
+ - Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, and Yaodong Yang. Safe rlhf: Safe reinforcement learning from human feedback. _arXiv preprint arXiv:2310.12773_ , 2023.
297
+
298
+ - Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. Qlora: Efficient finetuning of quantized llms. _arXiv preprint arXiv:2305.14314_ , 2023.
299
+
300
+ - Nolan Dey, Gurpreet Gosal, Hemant Khachane, William Marshall, Ribhu Pathria, Marvin Tom, Joel Hestness, et al. Cerebras-gpt: Open compute-optimal language models trained on the cerebras wafer-scale cluster. _arXiv preprint arXiv:2304.03208_ , 2023.
301
+
302
+ - Zhengxiao Du, Yujie Qian, Xiao Liu, Ming Ding, Jiezhong Qiu, Zhilin Yang, and Jie Tang. Glm: General language model pretraining with autoregressive blank infilling. In _Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)_ , pp. 320–335, 2022.
303
+
304
+ - Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. The pile: An 800gb dataset of diverse text for language modeling. _arXiv preprint arXiv:2101.00027_ , 2020.
305
+
306
+ - Xinyang Geng. Easylm: A simple and scalable training framework for large language models, 2023. URL [URL removed]
307
+
308
+ - Xinyang Geng and Hao Liu. Openllama: An open reproduction of llama, May 2023. URL https: //[URL removed]
309
+
310
+ OpenAI GPT-4. Gpt-4 technical report. _ArXiv_ , abs/2303.08774, 2023.
311
+
312
+ Chenxi Gu, Chengsong Huang, Xiaoqing Zheng, Kai-Wei Chang, and Cho-Jui Hsieh. Watermarking pre-trained language models with backdooring. _arXiv preprint arXiv:2210.07543_ , 2022.
313
+
314
+ - Tianyu Han, Lisa C Adams, Jens-Michalis Papaioannou, Paul Grundmann, Tom Oberhauser, Alexander L¨oser, Daniel Truhn, and Keno K Bressem. Medalpaca–an open-source collection of medical conversational ai models and training data. _arXiv preprint arXiv:2304.08247_ , 2023.
315
+
316
+ - Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. In _International Conference on Learning Representations_ , 2020.
317
+
318
+ - Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training compute-optimal large language models. _arXiv preprint arXiv:2203.15556_ , 2022.
319
+
320
+ 11
321
+
322
+ - Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 4401–4410, 2019.
323
+
324
+ - Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 8110–8119, 2020.
325
+
326
+ - John Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Goldstein. A watermark for large language models. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), _Proceedings of the 40th International Conference on Machine Learning_ , volume 202 of _Proceedings of Machine Learning Research_ , pp. 17061–17084. PMLR, 23–29 Jul 2023. URL [URL removed] press/v202/kirchenbauer23a.html.
327
+
328
+ - Andreas K¨opf, Yannic Kilcher, Dimitri von R¨utte, Sotiris Anagnostidis, Zhi-Rui Tam, Keith Stevens, Abdullah Barhoum, Nguyen Minh Duc, Oliver Stanley, Rich´ard Nagyfi, et al. Openassistant conversations–democratizing large language model alignment. _arXiv preprint arXiv:2304.07327_ , 2023.
329
+
330
+ - Kalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting, and Mohit Iyyer. Paraphrasing evades detectors of ai-generated text, but retrieval is an effective defense. _arXiv preprint arXiv:2303.13408_ , 2023.
331
+
332
+ - Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard Hovy. Race: Large-scale reading comprehension dataset from examinations. In _Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing_ , pp. 785–794, 2017.
333
+
334
+ - Linyang Li, Pengyu Wang, Ke Ren, Tianxiang Sun, and Xipeng Qiu. Origin tracing and detecting of llms. _arXiv preprint arXiv:2304.14072_ , 2023.
335
+
336
+ - Zhongli Li. Billa: A bilingual llama with enhanced reasoning ability. [URL removed] Neutralzz/BiLLa, 2023.
337
+
338
+ - Kevin Lin, Chung-Ching Lin, Lin Liang, Zicheng Liu, and Lijuan Wang. Mpt: Mesh pre-training with transformers for human pose and mesh reconstruction. _arXiv preprint arXiv:2211.13357_ , 2022.
339
+
340
+ - Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning, and Chelsea Finn. Detectgpt: Zero-shot machine-generated text detection using probability curvature. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), _International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA_ , volume 202 of _Proceedings of Machine Learning Research_ , pp. 24950–24962. PMLR, 2023. URL [URL removed] v202/mitchell23a.html.
341
+
342
+ OpenAI. Introducing chatgpt. 2022. URL [URL removed]
343
+
344
+ OpenAI. Ai classifier. 2023. URL [URL removed]
345
+
346
+ - Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. The RefinedWeb dataset for Falcon LLM: outperforming curated corpora with web data, and web data only. _arXiv preprint arXiv:2306.01116_ , 2023. URL [URL removed]
347
+
348
+ - Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. _OpenAI blog_ , 1(8):9, 2019.
349
+
350
+ - Vinu Sankar Sadasivan, Aounon Kumar, Sriram Balasubramanian, Wenxiao Wang, and Soheil Feizi. Can ai-generated text be reliably detected? _arXiv preprint arXiv:2303.11156_ , 2023.
351
+
352
+ - Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. _Communications of the ACM_ , 64(9):99–106, 2021.
353
+
354
+ 12
355
+
356
+ Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Stanford alpaca: An instruction-following llama model. [URL removed] 2023.
357
+
358
+ - Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, Anthony Hartshorn, Elvis Saravia, Andrew Poulton, Viktor Kerkez, and Robert Stojnic. Galactica: A large language model for science. _arXiv preprint arXiv:2211.09085_ , 2022.
359
+
360
+ InternLM Team. Internlm: A multilingual language model with progressively enhanced capabilities. [URL removed] 2023.
361
+
362
+ Edward Tian. Gptzero: An ai text detector. 2023. URL [URL removed]
363
+
364
+ Together.ai. Llama-2-32k, 2023. URL [URL removed] LLaMA-2-7B-32K.
365
+
366
+ - Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timoth´ee Lacroix, Baptiste Rozi`ere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. _arXiv preprint arXiv:2302.13971_ , 2023a.
367
+
368
+ - Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. _arXiv preprint arXiv:2307.09288_ , 2023b.
369
+
370
+ - Yusuke Uchida, Yuki Nagai, Shigeyuki Sakazawa, and Shin'ichi Satoh. Embedding watermarks into deep neural networks. In _Proceedings of the 2017 ACM on International Conference on Multimedia Retrieval_ . ACM, jun 2017. doi: 10.1145/3078971.3078974. URL [URL removed] org/10.1145%2F3078971.3078974.
371
+
372
+ Eric J. Wang. [URL removed] 2023.
373
+
374
+ Jiangfeng Wang, Hanzhou Wu, Xinpeng Zhang, and Yuwei Yao. Watermarking in deep neural networks via error back-propagation. _Electronic Imaging_ , 2020(4):22–1, 2020.
375
+
376
+ - Tianhao Wang and Florian Kerschbaum. Attacks on digital watermarks for deep neural networks. In _ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)_ , pp. 2622–2626. IEEE, 2019.
377
+
378
+ - BigScience Workshop, Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ili´c, Daniel Hesslow, Roman Castagn´e, Alexandra Sasha Luccioni, Franc¸ois Yvon, et al. Bloom: A 176b-parameter open-access multilingual language model. _arXiv preprint arXiv:2211.05100_ , 2022.
379
+
380
+ - Kangxi Wu, Liang Pang, Huawei Shen, Xueqi Cheng, and Tat-Seng Chua. Llmdet: A large language models detection tool. _arXiv preprint arXiv:2305.15004_ , 2023a.
381
+
382
+ - Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prabhanjan Kambadur, David Rosenberg, and Gideon Mann. Bloomberggpt: A large language model for finance. _arXiv preprint arXiv:2303.17564_ , 2023b.
383
+
384
+ - Tao Xiang, Chunlong Xie, Shangwei Guo, Jiwei Li, and Tianwei Zhang. Protecting your nlg models with semantic and robust watermarks. _arXiv preprint arXiv:2112.05428_ , 2021.
385
+
386
+ - Can Xu, Qingfeng Sun, Kai Zheng, Xiubo Geng, Pu Zhao, Jiazhan Feng, Chongyang Tao, and Daxin Jiang. Wizardlm: Empowering large language models to follow complex instructions. _arXiv preprint arXiv:2304.12244_ , 2023a.
387
+
388
+ - Canwen Xu, Daya Guo, Nan Duan, and Julian McAuley. Baize: An open-source chat model with parameter-efficient tuning on self-chat data. _arXiv preprint arXiv:2304.01196_ , 2023b.
389
+
390
+ - Mohammad Mehdi Yadollahi, Farzaneh Shoeleh, Sajjad Dadkhah, and Ali A Ghorbani. Robust black-box watermarking for deep neural network using inverse document frequency. In _2021 IEEE Intl Conf on Dependable, Autonomic and Secure Computing, Intl Conf on Pervasive Intelligence and Computing, Intl Conf on Cloud and Big Data Computing, Intl Conf on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech)_ , pp. 574–581. IEEE, 2021.
391
+
392
+ 13
393
+
394
+ Jianxin Yang. Firefly. [URL removed] 2023.
395
+
396
+ Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? In _Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics_ , pp. 4791–4800, 2019.
397
+
398
+ - Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 586–595, 2018.
399
+
400
+ - Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer language models. _arXiv preprint arXiv:2205.01068_ , 2022.
401
+
402
+ Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. _arXiv preprint arXiv:2306.05685_ , 2023a.
403
+
404
+ - Qinkai Zheng, Xiao Xia, Xu Zou, Yuxiao Dong, Shan Wang, Yufei Xue, Zihan Wang, Lei Shen, Andi Wang, Yang Li, Teng Su, Zhilin Yang, and Jie Tang. Codegeex: A pre-trained model for code generation with multilingual evaluations on humaneval-x. In _KDD_ , 2023b.
405
+
406
+ - Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. Minigpt-4: Enhancing vision-language understanding with advanced large language models. _arXiv preprint arXiv:2304.10592_ , 2023.
407
+
408
+ APPENDICES
409
+
410
+ ## A IMPLEMENTATION DETAILS
411
+
412
+ ## A.1 DATA SYNTHESIS
413
+
414
+ As illustrated in Figure 3, we dynamically obtain anchor, positive, and negative data on the fly by sampling matrices from a normal distribution and multiplying them following the format of the invariant terms. Following is the detailed process.
415
+
416
+ For the anchor data _**M**_ : Sample matrices _**P**_ 1 _,_ _**P**_ 2 _,_ _**P**_ 3 from a standard normal distribution. Consider _**P**_ 1 as _**X**_[ˆ] , and _**P**_ 2 _,_ _**P**_ 3 as model parameter matrices,
417
+
418
+ **==> picture [236 x 12] intentionally omitted <==**
419
+
420
+ For positive data _**M**_[+] : Independently sample noises _ϵi_ from a normal distribution _N_ (0 _, α_ ),
421
+
422
+ **==> picture [285 x 12] intentionally omitted <==**
423
+
424
+ For negative data _**M**[−]_ : Independently sample matrices _**N**_ 1 _,_ _**N**_ 2 _,_ _**N**_ 3 from a standard normal distribution,
425
+
426
+ **==> picture [244 x 12] intentionally omitted <==**
427
+
428
+ ## A.2 TRAINING SETTINGS
429
+
430
+ In the training stage, we alternate training the discriminator and CNN encoder every 10 steps. We set the batch size to 10, the initial learning rate to 0.0001, and introduce a noise intensity _α_ of 0.16 for positive samples. After 8 epochs of training, we obtained the CNN encoder used in our paper.
431
+
432
+ ## A.3 MODEL ARCHITECTURE
433
+
434
+ For the CNN encoder: The CNN encoder takes invariant terms _**M** ∈_ R[4096] _[×]_[4096] _[×]_[6] as input and produces a feature vector _**v**_ as output. Our CNN encoder structure, as depicted in Figure 3, consists of the first four convolutional layers and the last mean pooling layer. The mean pooling layer simply calculates the average of the feature maps obtained from each channel, resulting in a feature vector
435
+
436
+ 14
437
+
438
+ |CNN Layers|Input Channel|Output Channel|Kernel Size|Stride|Padding|
439
+ |---|---|---|---|---|---|
440
+ |Layer 1|6|8|48|4|22|
441
+ |Layer 2|8|64|48|4|22|
442
+ |Layer 3|64|256|48|4|22|
443
+ |Layer 4|256|512|48|4|22|
444
+
445
+ Table 3: Detailed hyperparameters of the stacked four convolutional layers.
446
+
447
+ _**v**_ with a length equal to the number of channels. The hyperparameters for the four convolutional layers are provided in the table below:
448
+
449
+ For the discriminator: We utilize a simple 3-layer MLP as the discriminator. The 512-dimensional feature vector _**v**_ from the CNN encoder serves as fake data, while a 512-dimensional vector _**x**_ sampled from the standard normal distribution serves as real data. The discriminator processes _**v**_ and _**x**_ , progressively reducing dimensionality through three linear layers, and finally outputs the probability of a sample being real after applying a sigmoid activation function. The sizes of the three linear layers are _W_ 1 _∈_ R[512] _[×]_[256] , _W_ 2 _∈_ R[256] _[×]_[128] , and _W_ 3 _∈_ R[128] _[×]_[1] , respectively.
450
+
451
+ For the image generator: The pre-trained StyleGAN2 checkpoint we used can be found at:
452
+
453
+ [URL removed] pretrained/afhqdog.pkl
454
+
455
+ ## B AN ILLUSTRATIVE FRAMEWORK FOR LLM PROTECTION WITH FINGERPRINTS
456
+
457
+ An example framework is depicted in Figure 7.
458
+
459
+ **==> picture [397 x 94] intentionally omitted <==**
460
+
461
+ **----- Start of picture text -----**<br>
462
+ Falcon LLaMA Baichuan Alpaca InternLM LLMs<br>Manufacturers<br>Invariant terms Invariant terms Invariant terms Invariant terms Invariant terms<br>FPM FPM FPM FPM FPM LLaMA’s and Alpaca’s<br>fingerprints are identical,<br>they must base on same<br>model !<br>Public<br>**----- End of picture text -----**<br>
463
+
464
+ Figure 7: An illustrative framework for LLM protection with fingerprints. The LLM manufacturers compute the invariant terms internally, feed them to the public fingerprinting model (FPM) to generate a fingerprint image, and release both to the public. This allows the public to detect shared base models merely from the fingerprint image. Although manufacturers can attempt adjustments on their LLM adversarial to the public FPM to make the fingerprint appear differently, the mere use of random matrices in training the FPM enables the public to train new FPMs whenever necessary, preventing such interference. Importantly, manufacturers only disclose the invariant terms and fingerprint images, without revealing model parameters or affecting LLM training.
465
+
466
+ ## C DETAILED DESCRIPTION OF THE LLAMA FAMILY OF MODELS
467
+
468
+ In Table 1, we calculate the cosine similarities of model parameters between various LLMs w.r.t. the LLaMA-7B base model. Among these models, Alpaca , Vicuna , Baize , Koala , and WizardLM underwent supervised fine-tuning (SFT) on general datasets of varying sizes and complexity using the LLaMA-7B base model. MedAlpaca performed SFT on medical datasets, while Alpaca-Lora employed the same instruction dataset as Alpaca but used the Lora training method. Beaver, based on the Alpaca model, utilized RLHF alignment technology. MiniGPT-4 is a multimodal model that underwent SFT on 5 million aligned image-text pairs. Chinese-Alpaca and Chinese-LLaMA
469
+
470
+ 15
471
+
472
+ |**Model**|BoolQ|HellaSwag|PIQA|WinoGrande|ARC-e|ARC-c|RACE|MMLU|Avg.|
473
+ |---|---|---|---|---|---|---|---|---|---|
474
+ |LLaMA|75.11|76.19|79.16|70.00|72.90|44.80|40.00|32.75|61.36|
475
+ |Alpaca|77.49|75.64|77.86|67.80|70.66|46.58|43.16|41.13|62.54|
476
+ |+_LA_(epoch1)|45.44|31.16|67.63|48.70|49.03|34.13|22.78|23.13|40.25|
477
+ |+_LA_(epoch2)|42.23|26.09|49.78|47.43|26.43|28.92|22.97|23.22|33.38|
478
+ |+_LA_(epoch3)|39.05|26.40|49.95|48.30|26.52|28.75|22.97|23.98|33.24|
479
+ |+_LA_(epoch4)|41.62|26.15|50.11|49.33|26.56|28.50|22.78|23.12|33.52|
480
+ |+_LA_(epoch5)|38.56|26.13|50.11|50.20|26.22|29.10|22.39|27.02|33.72|
481
+
482
+ Table 4: Zero-shot performance on multiple standard benchmarks.
483
+
484
+ expanded the Chinese vocabulary based on the original LLaMA model, continuing pretraining with 20GB of text data, with Chinese Alpaca further incorporating 2M to 4.3M additional samples during SFT. Additionally, Baichuan , OpenLLaMA, InternLM , and LLaMA2 have identical architectures to LLaMA-7B but were trained from scratch by different organizations or using different training methods. We can observe that despite various and extensive subsequent training processes, as long as the LLM inherits the LLaMA-7B base model, it still exhibits very high cosine similarity w.r.t. its base model. On the other hand, the LLMs trained from scratch independently exhibit low cosine similarities w.r.t. the LLaMA-7B base model.
485
+
486
+ ## D STYLEGAN2 GENERATOR
487
+
488
+ StyleGAN2 is an improved model based on the style-based GAN architecture. One of its key enhancements is the incorporation of the perceptual path length (PPL) metric, which was originally introduced to quantify the smoothness of the mapping from the latent space to the output image. The PPL metric measures the average LPIPS distances(Zhang et al., 2018) between generated images under small perturbations in the latent space. Through the utilization of path length regularization, StyleGAN2 achieves enhanced reliability, consistency, and robustness, resulting in a smoother behavior of the generator. This regularization technique aligns with our objective of obtaining a smooth generator.
489
+
490
+ ## E DETAIL PERFORMANCE
491
+
492
+ Please refer to Table 4 for a detailed breakdown of performances on each task.
493
+
494
+ Falcon-40B-Instruct: Fine-tuned based on Falcon-40B with data from Baize.
495
+
496
+ Falcon-40B-SFT-Top1-560: Fine-tuned using top-1 quality demonstrations from the OASST dataset(K¨opf et al., 2023).
497
+
498
+ MPT-7B-Instruct: Fine-tuned on data derived from Databricks Dolly-15k(Conover et al., 2023) and the Anthropic Helpful and Harmless (HH-RLHF) datasets(Bai et al., 2022).
499
+
500
+ MPT-7B-StoryWriter: Optimized for reading and writing fictional stories, fine-tuned with a context length of 65k tokens.
501
+
502
+ LLaMA2-7B-Chat: Tailored for dialogue applications.
503
+
504
+ LLaMA-2-7B-32K: Trained through a two-phase process involving continued pretraining on diverse data mixtures and fine-tuning to enhance its long-context and few-shot capacity.
505
+
506
+ Qwen-7B-Chat: A large AI assistant model trained with alignment techniques.
507
+
508
+ Firefly-Qwen-7B: Fine-tuned version of Qwen-7B by the Firefly project(Yang, 2023).
509
+
510
+ Baichuan-13B-Chat: Fine-tuned and alignment-enhanced Chat version of Baichuan-13B-Base, using various instruction-following datasets.
511
+
512
+ 16
513
+
514
+ Baichuan-13B-SFT: A bilingual instruction-tuned LoRA model of Baichuan-13B-Base, fine-tuned with instruction-following datasets.
515
+
516
+ InternLM-7B-Chat: Optimized for dialogue use cases.
517
+
518
+ Firefly-InternLM: Fine-tuned version of InternLM-7B-Chat by the Firefly project.
519
+
520
+ ## G GPT-NEOX MODELS WITH DIFFERENT GLOBAL SEEDS
521
+
522
+ To further verify the substantial variability in the distribution of model parameters during training from scratch, we conducted an experiment involving four GPT-NeoX-350M(Black et al., 2022) models trained on a subset of the Pile dataset (Gao et al., 2020). These models were trained using different global number seeds while sharing the same architecture, dataset, computational resources, and hyperparameters.
523
+
524
+ Subsequently, we computed the cosine similarities between these GPT-NeoX models, as shown in Table 2. Additionally, we employed the HuRef model to generate fingerprints for these models, depicted in Figure 8. The results revealed a noteworthy pattern: when GPT-NeoX models are trained from scratch, even minor changes to the global seed lead to cosine similarities approaching zero. Correspondingly, their fingerprints exhibited clear distinctions from each other.
525
+
526
+ |ICS|Seed=1|Seed=2|Seed=3|Seed=4|||||
527
+ |---|---|---|---|---|---|---|---|---|
528
+ |Seed=1|100.00|14.12|6.13|5.72|||||
529
+ |Seed=2|14.12|100.00|6.52|5.97|||||
530
+ |Seed=3|6.13|6.52|100.00|12.71|||||
531
+ |Seed=4|5.72|5.97|12.71|100.00|Seed1|Seed2|Seed3|Seed4|
532
+
533
+ Table 5: ICS values between GPT-NeoX models with different global seeds
534
+
535
+ Figure 8: Fingerprints of GPT-NeoX models trained with varying global seeds
536
+
537
+ ## H OPEN-SOURCED LLMS
538
+
539
+ In these experiments, we aimed to gather diverse models covering various parameter sizes. For the widely used LLaMA models, we included LLaMA-7B, LLaMA-13B, LLaMA-65B, and LLaMA27B. We also incorporated models with similar architectures to LLaMA, such as InternLM-7B, OpenLLaMA-7B, and Baichuan-7B. To encompass a broader range of parameters, we expanded our collection to include GPT2-Large(Radford et al., 2019), Cerebras-GPT-1.3B(Dey et al., 2023), GPT-Neo-2.7B, and even the largest Falcon-180B. Additionally, we considered models like Qwen7B, RedPajama-7B(Computer, 2023), ChatGLM-6B(Du et al., 2022), Bloom-7.1B(Workshop et al., 2022), ChatGLM2-6B,Pythia-6.9B and 12B(Biderman et al., 2023), OPT-6.7B and 30B, and GPTNeoX-20B(Black et al., 2022), among other commonly used LLMs. In total, we gathered a representative set of 24 open-sourced LLMs.
540
+
541
+ ## I ICS OF LLMS WITH DIFFERENT PARAMETER SIZES
542
+
543
+ 17
544
+
545
+ |ICS|LLaMA Qwen LLaMA2 RedP CGLM Bloom CGLM2 Pythia InternLM OpenLA OPT Baichuan|
546
+ |---|---|
547
+ |||
548
+ |LLaMA<br>Qwen<br>LLaMA2<br>RedP<br>CGLM<br>Bloom<br>CGLM2<br>Pythia<br>InternLM<br>OpenLA<br>OPT<br>Baichuan|100.00<br>1.72<br>10.71<br>-0.08<br>-0.12<br>-0.31<br>0.10<br>-0.13<br>1.05<br>2.11<br>-20.90<br>2.76<br>1.72<br>100.00<br>1.44<br>-0.02<br>0.00<br>-0.18<br>0.11<br>0.00<br>0.81<br>0.59<br>-2.35<br>0.80<br>10.71<br>1.44<br>100.00<br>-0.33<br>0.05<br>-0.31<br>0.03<br>-0.20<br>0.46<br>2.39<br>-21.64<br>2.79<br>-0.08<br>-0.02<br>-0.33<br>100.00 -19.11<br>6.91<br>4.20<br>6.18<br>-0.10<br>-0.02<br>7.98<br>-0.06<br>-0.12<br>0.00<br>0.05<br>-19.11 100.00 2.16<br>-5.30<br>-3.34<br>-0.02<br>0.02<br>-15.82<br>0.02<br>-0.31<br>-0.18<br>-0.31<br>6.91<br>2.16 100.00<br>2.34<br>2.15<br>-0.08<br>-0.01<br>2.70<br>-0.12<br>0.10<br>0.11<br>0.03<br>4.20<br>-5.30<br>2.34<br>100.00<br>1.86<br>0.44<br>0.10<br>1.20<br>0.06<br>-0.13<br>0.00<br>-0.20<br>6.18<br>-3.34<br>2.15<br>1.86<br>100.00<br>-0.02<br>-0.04<br>1.97<br>-0.07<br>1.05<br>0.81<br>0.46<br>-0.10<br>-0.02<br>-0.08<br>0.44<br>-0.02<br>100.00<br>0.77<br>-7.24<br>0.49<br>2.11<br>0.59<br>2.39<br>-0.02<br>0.02<br>-0.01<br>0.10<br>-0.04<br>0.77<br>100.00<br>-5.72<br>0.88<br>-20.90<br>-2.35<br>-21.64<br>7.98<br>-15.82<br>2.70<br>1.20<br>1.97<br>-7.24<br>-5.72<br>100.00<br>-7.22<br>2.76<br>0.80<br>2.79<br>-0.06<br>0.02<br>-0.12<br>0.06<br>-0.07<br>0.49<br>0.88<br>-7.22<br>100.00|
549
+
550
+ Table 6: The cosine similarities of invariant terms(ICS) between different base LLMs. Abbreviations used include ”RedP” for ”RedPajama,” ”OpenLA” for ”OpenLLaMA,” ”CGLM” and ”CGLM2” representing ”ChatGLM” and ”ChatGLM2,” respectively. Additionally, except for the ChatGLM and ChatGLM2, all other models have a parameter size of approximately 7B.
551
+
552
+ |ICS|Pythia-12B<br>LLaMA-13B|
553
+ |---|---|
554
+ |||
555
+ |Pythia-12B<br>LLaMA-13B|100.00<br>0.03<br>0.03<br>100.00|
556
+
557
+ Table 7: ICS between similar size LLMs:Pythia-12B and LLaMA-13B.
558
+
559
+ |ICS|OPT-30B<br>LLaMA-30B<br>Galactica-30B<br>GPT-NeoX-20B|
560
+ |---|---|
561
+ |||
562
+ |OPT-30B<br>LLaMA-30B<br>Galactica-30B<br>GPT-NeoX-20B|100.00<br>-4.23<br>-32.70<br>2.76<br>-4.23<br>100.00<br>-0.40<br>-0.02<br>-32.70<br>-0.40<br>100.00<br>-4.27<br>2.76<br>-0.02<br>-4.27<br>100.00|
563
+
564
+ Table 8: ICS between LLMs with their sizes ranging from 20B to 30B:GPT-NeoX-20B, OPT-30B, LLaMA-30B and Galactica-30B.
565
+
566
+ |ICS|Falcon-180B<br>LLaMA-65B<br>Galactica-120B|
567
+ |---|---|
568
+ |||
569
+ |Falcon-180B<br>LLaMA-65B<br>Galactica-120B|100.00<br>0.02<br>20.99<br>0.02<br>100.00<br>-0.10<br>20.99<br>-0.10<br>100.00|
570
+
571
+ Table 9: ICS between LLMs with their sizes not less than 65B: LLaMA-65B, Galactica-120B and Falcon-180B.
572
+
573
+ 18
574
+
575
+ ||GPT2<br>100.00<br>32.59<br>-14.72<br>79.10<br>-4.01<br>27.34<br>-1.79<br>-9.34<br>-0.93<br>-9.90<br>-12.16<br>5.85<br>-3.13<br>-2.49<br>-3.05<br>-1.51<br>-3.53<br>-4.10<br>-10.13<br>-4.83<br>66.45<br>-3.26<br>-71.75<br>-9.96<br>CGPT1.3<br>32.59<br>100.00<br>77.73<br>4.13<br>3.97<br>43.78<br>5.00<br>-7.34<br>-0.79<br>-8.49<br>24.50<br>18.50<br>-2.51<br>-2.01<br>-2.55<br>4.63<br>-2.72<br>1.07<br>46.75<br>-3.46<br>2.20<br>-2.42<br>-35.80 -47.46<br>Neo2.7<br>-14.72<br>77.73 100.00<br>-31.70<br>6.04<br>12.73<br>6.01<br>3.10<br>0.70<br>2.44<br>31.83<br>17.55<br>-1.35<br>0.46<br>0.95<br>5.72<br>0.92<br>3.07<br>41.93<br>1.14<br>-28.56<br>2.11<br>-6.54 -47.12<br>Chatglm<br>79.10<br>4.13<br>-31.70 100.00<br>-5.30<br>-15.82<br>-3.34<br>-0.12<br>0.00<br>0.05<br>-19.11<br>2.16<br>-0.02<br>0.02<br>0.02<br>-2.66<br>0.18<br>-5.10<br>-38.77<br>-0.02<br>77.23<br>-0.05<br>-77.36<br>-1.38<br>Chatglm2<br>-4.01<br>3.97<br>6.04<br>-5.30<br>100.00<br>1.20<br>1.86<br>0.10<br>0.11<br>0.03<br>4.20<br>2.34<br>0.44<br>0.10<br>0.06<br>1.80<br>0.10<br>1.30<br>3.79<br>-0.17<br>-4.62<br>-0.15<br>2.64<br>-2.75<br>OPT6.7<br>27.34<br>43.78<br>12.73<br>-15.82<br>1.20<br>100.00<br>1.97 -20.90<br>-2.35 -21.64<br>7.98<br>2.70<br>-7.24<br>-5.72<br>-7.22<br>1.08<br>-7.25<br>1.16<br>54.00<br>-8.96<br>-12.71<br>-7.06<br>9.21<br>-7.63<br>Pythia6.9<br>-1.79<br>5.00<br>6.01<br>-3.34<br>1.86<br>1.97<br>100.00<br>-0.13<br>0.00<br>-0.20<br>6.18<br>2.15<br>-0.02<br>-0.04<br>-0.07<br>3.32<br>-0.04<br>1.88<br>3.79<br>-0.12<br>-2.99<br>-0.08<br>0.77<br>-3.15<br>LM7<br>-9.34<br>-7.34<br>3.10<br>-0.12<br>0.10<br>-20.90<br>-0.13 100.00<br>1.72<br>10.71<br>-0.08<br>-0.31<br>1.05<br>2.11<br>2.76<br>0.06<br>2.80<br>-0.02<br>-7.46<br>2.72<br>-0.40<br>2.91<br>-0.22<br>0.11<br>Qwen<br>-0.93<br>-0.79<br>0.70<br>0.00<br>0.11<br>-2.35<br>0.00<br>1.72 100.00<br>1.44<br>-0.02<br>-0.18<br>0.81<br>0.59<br>0.80<br>0.03<br>1.03<br>-0.01<br>-0.77<br>-0.64<br>-0.01<br>0.31<br>-0.06<br>0.01<br>LM27<br>-9.90<br>-8.49<br>2.44<br>0.05<br>0.03<br>-21.64<br>-0.20<br>10.71<br>1.44 100.00<br>-0.33<br>-0.31<br>0.46<br>2.39<br>2.79<br>-0.01<br>2.68<br>-0.05<br>-8.48<br>4.46<br>-0.32<br>3.57<br>-0.01<br>0.63<br>RedPaj<br>-12.16<br>24.50<br>31.83<br>-19.11<br>4.20<br>7.98<br>6.18<br>-0.08<br>-0.02<br>-0.33 100.00<br>6.91<br>-0.10<br>-0.02<br>-0.06<br>5.60<br>-0.06<br>3.65<br>18.21<br>0.09<br>-16.58<br>0.01<br>5.51 -15.12<br>Bloom<br>5.85<br>18.50<br>17.55<br>2.16<br>2.34<br>2.70<br>2.15<br>-0.31<br>-0.18<br>-0.31<br>6.91 100.00<br>-0.08<br>-0.01<br>-0.12<br>2.12<br>-0.24<br>0.98<br>6.39<br>0.61<br>1.86<br>0.02<br>-9.84 -11.48<br>Internlm<br>-3.13<br>-2.51<br>-1.35<br>-0.02<br>0.44<br>-7.24<br>-0.02<br>1.05<br>0.81<br>0.46<br>-0.10<br>-0.08<br>100.00<br>0.77<br>0.49<br>0.04<br>0.78<br>0.00<br>-2.46<br>-1.46<br>0.09<br>-1.07<br>-0.05<br>0.02<br>OLM<br>-2.49<br>-2.01<br>0.46<br>0.02<br>0.10<br>-5.72<br>-0.04<br>2.11<br>0.59<br>2.39<br>-0.02<br>-0.01<br>0.77 100.00<br>0.88<br>0.02<br>0.88<br>-0.00<br>-2.07<br>0.97<br>-0.05<br>0.71<br>-0.09<br>0.02<br>Baichuan<br>-3.05<br>-2.55<br>0.95<br>0.02<br>0.06<br>-7.22<br>-0.07<br>2.76<br>0.80<br>2.79<br>-0.06<br>-0.12<br>0.49<br>0.88<br>100.00<br>0.02<br>1.06<br>-0.02<br>-2.45<br>0.96<br>-0.07<br>1.01<br>-0.11<br>0.07<br>Pythia12<br>-1.51<br>4.63<br>5.72<br>-2.66<br>1.80<br>1.08<br>3.32<br>0.06<br>0.03<br>-0.01<br>5.60<br>2.12<br>0.04<br>0.02<br>0.02<br>100.00<br>0.03<br>1.82<br>3.03<br>-0.00<br>-2.50<br>0.01<br>0.31<br>-3.10<br>LM13<br>-3.53<br>-2.72<br>0.92<br>0.18<br>0.10<br>-7.25<br>-0.04<br>2.80<br>1.03<br>2.68<br>-0.06<br>-0.24<br>0.78<br>0.88<br>1.06<br>0.03 100.00<br>-0.02<br>-3.22<br>0.68<br>0.07<br>1.51<br>-0.25<br>0.07<br>Neox20<br>-4.10<br>1.07<br>3.07<br>-5.10<br>1.30<br>1.16<br>1.88<br>-0.02<br>-0.01<br>-0.05<br>3.65<br>0.98<br>0.00<br>-0.00<br>-0.02<br>1.82<br>-0.02<br>100.00<br>2.76<br>-0.02<br>-4.27<br>-0.02<br>3.54<br>-0.84<br>OPT30<br>-10.13<br>46.75<br>41.93<br>-38.77<br>3.79<br>54.00<br>3.79<br>-7.46<br>-0.77<br>-8.48<br>18.21<br>6.39<br>-2.46<br>-2.07<br>-2.45<br>3.03<br>-3.22<br>2.76 100.00<br>-4.23<br>-32.70<br>-2.82<br>20.12 -18.06<br>LM30<br>-4.83<br>-3.46<br>1.14<br>-0.02<br>-0.17<br>-8.96<br>-0.12<br>2.72<br>-0.64<br>4.46<br>0.09<br>0.61<br>-1.46<br>0.97<br>0.96<br>-0.00<br>0.68<br>-0.02<br>-4.23 100.00<br>-0.40<br>4.53<br>-0.07<br>0.06<br>Gala30<br>66.45<br>2.20<br>-28.56<br>77.23<br>-4.62<br>-12.71<br>-2.99<br>-0.40<br>-0.01<br>-0.32<br>-16.58<br>1.86<br>0.09<br>-0.05<br>-0.07<br>-2.50<br>0.07<br>-4.27<br>-32.70<br>-0.40 100.00<br>-0.27<br>-79.95<br>-0.23<br>LM65<br>-3.26<br>-2.42<br>2.11<br>-0.05<br>-0.15<br>-7.06<br>-0.08<br>2.91<br>0.31<br>3.57<br>0.01<br>0.02<br>-1.07<br>0.71<br>1.01<br>0.01<br>1.51<br>-0.02<br>-2.82<br>4.53<br>-0.27 100.00<br>-0.10<br>0.02<br>Gala120<br>-71.75<br>-35.80<br>-6.54<br>-77.36<br>2.64<br>9.21<br>0.77<br>-0.22<br>-0.06<br>-0.01<br>5.51<br>-9.84<br>-0.05<br>-0.09<br>-0.11<br>0.31<br>-0.25<br>3.54<br>20.12<br>-0.07<br>-79.95<br>-0.10<br>100.00<br>20.99<br>Fal180<br>-9.96<br>-47.46<br>-47.12<br>-1.38<br>-2.75<br>-7.63<br>-3.15<br>0.11<br>0.01<br>0.63<br>-15.12 -11.48<br>0.02<br>0.02<br>0.07<br>-3.10<br>0.07<br>-0.84<br>-18.06<br>0.06<br>-0.23<br>0.02<br>20.99 100.00<br>Table 10: ICS between 24 open-sourced LLMs with sizes ranging from 774M to 180B.Abbreviations used include ”GPT2” for ”GPT2-Large,” ”CGPT1.3” for”Cerebras-GPT-1.3B,” ”Neo2.7” for ”GPT-Neo-2.7B,” ”CGLM” for<br>”ChatGLM-6B,” ”CGLM2” for ”ChatGLM-6B2,” ”OPT6.7” for ”OPT-6.7B,” ”Pythia6.9” for ”Pythia-6.9B,” ”LM7” for ”LLaMA-7B,” ”Qwen” for ”Qwen-7B,” ”LM27” for ”LLaMA2-7B2,” ”RedPaj” for ”RedPajama-7B,” ”Bloom”<br>for ”Bloom-7B,” ”Internlm” for ”InternLM-7B,””OLM” for ”OpenLLaMA-7B,” ”Baichuan” for ”Baichuan-7B,” ”Pythia12” for ”Pythia-12B,” ”LM13” for ”LLaMA-13B,” ”Neox20” for ”GPT-NeoX-20B,” ”OPT30” for ”OPT-<br>30B,””LM30” for ”LLaMA-30B,” ”Gala30” for ”Galactica-30B,” ”LM65” for ”LLaMA-65B,” ”Gala120” for ”Galactica-120B,” and ”Fal180” for ”Falcon-180B” respectively.From left to right LLMs are sorted by parameter size from<br>smallest to largest.|
576
+ |---|---|
577
+ |GPT2 CGPT1.3 Neo2.7 CGLM CGLM2 OPT6.7 Pythia6.9<br>LM7<br>Qwen<br>LM27 RedPaj Bloom Internlm<br>OLM Baichuan Pythia12<br>LM13 Neox20 OPT30<br>LM30 Gala30<br>LM65 Gala120 Fal180|100.00<br>32.59<br>-14.72<br>79.10<br>-4.01<br>27.34<br>-1.79<br>-9.34<br>-0.93<br>-9.90<br>-12.16<br>5.85<br>-3.13<br>-2.49<br>-3.05<br>-1.51<br>-3.53<br>-4.10<br>-10.13<br>-4.83<br>66.45<br>-3.26<br>-71.75<br>-9.96<br>32.59<br>100.00<br>77.73<br>4.13<br>3.97<br>43.78<br>5.00<br>-7.34<br>-0.79<br>-8.49<br>24.50<br>18.50<br>-2.51<br>-2.01<br>-2.55<br>4.63<br>-2.72<br>1.07<br>46.75<br>-3.46<br>2.20<br>-2.42<br>-35.80 -47.46<br>-14.72<br>77.73 100.00<br>-31.70<br>6.04<br>12.73<br>6.01<br>3.10<br>0.70<br>2.44<br>31.83<br>17.55<br>-1.35<br>0.46<br>0.95<br>5.72<br>0.92<br>3.07<br>41.93<br>1.14<br>-28.56<br>2.11<br>-6.54 -47.12<br>79.10<br>4.13<br>-31.70 100.00<br>-5.30<br>-15.82<br>-3.34<br>-0.12<br>0.00<br>0.05<br>-19.11<br>2.16<br>-0.02<br>0.02<br>0.02<br>-2.66<br>0.18<br>-5.10<br>-38.77<br>-0.02<br>77.23<br>-0.05<br>-77.36<br>-1.38<br>-4.01<br>3.97<br>6.04<br>-5.30<br>100.00<br>1.20<br>1.86<br>0.10<br>0.11<br>0.03<br>4.20<br>2.34<br>0.44<br>0.10<br>0.06<br>1.80<br>0.10<br>1.30<br>3.79<br>-0.17<br>-4.62<br>-0.15<br>2.64<br>-2.75<br>27.34<br>43.78<br>12.73<br>-15.82<br>1.20<br>100.00<br>1.97 -20.90<br>-2.35 -21.64<br>7.98<br>2.70<br>-7.24<br>-5.72<br>-7.22<br>1.08<br>-7.25<br>1.16<br>54.00<br>-8.96<br>-12.71<br>-7.06<br>9.21<br>-7.63<br>-1.79<br>5.00<br>6.01<br>-3.34<br>1.86<br>1.97<br>100.00<br>-0.13<br>0.00<br>-0.20<br>6.18<br>2.15<br>-0.02<br>-0.04<br>-0.07<br>3.32<br>-0.04<br>1.88<br>3.79<br>-0.12<br>-2.99<br>-0.08<br>0.77<br>-3.15<br>-9.34<br>-7.34<br>3.10<br>-0.12<br>0.10<br>-20.90<br>-0.13 100.00<br>1.72<br>10.71<br>-0.08<br>-0.31<br>1.05<br>2.11<br>2.76<br>0.06<br>2.80<br>-0.02<br>-7.46<br>2.72<br>-0.40<br>2.91<br>-0.22<br>0.11<br>-0.93<br>-0.79<br>0.70<br>0.00<br>0.11<br>-2.35<br>0.00<br>1.72 100.00<br>1.44<br>-0.02<br>-0.18<br>0.81<br>0.59<br>0.80<br>0.03<br>1.03<br>-0.01<br>-0.77<br>-0.64<br>-0.01<br>0.31<br>-0.06<br>0.01<br>-9.90<br>-8.49<br>2.44<br>0.05<br>0.03<br>-21.64<br>-0.20<br>10.71<br>1.44 100.00<br>-0.33<br>-0.31<br>0.46<br>2.39<br>2.79<br>-0.01<br>2.68<br>-0.05<br>-8.48<br>4.46<br>-0.32<br>3.57<br>-0.01<br>0.63<br>-12.16<br>24.50<br>31.83<br>-19.11<br>4.20<br>7.98<br>6.18<br>-0.08<br>-0.02<br>-0.33 100.00<br>6.91<br>-0.10<br>-0.02<br>-0.06<br>5.60<br>-0.06<br>3.65<br>18.21<br>0.09<br>-16.58<br>0.01<br>5.51 -15.12<br>5.85<br>18.50<br>17.55<br>2.16<br>2.34<br>2.70<br>2.15<br>-0.31<br>-0.18<br>-0.31<br>6.91 100.00<br>-0.08<br>-0.01<br>-0.12<br>2.12<br>-0.24<br>0.98<br>6.39<br>0.61<br>1.86<br>0.02<br>-9.84 -11.48<br>-3.13<br>-2.51<br>-1.35<br>-0.02<br>0.44<br>-7.24<br>-0.02<br>1.05<br>0.81<br>0.46<br>-0.10<br>-0.08<br>100.00<br>0.77<br>0.49<br>0.04<br>0.78<br>0.00<br>-2.46<br>-1.46<br>0.09<br>-1.07<br>-0.05<br>0.02<br>-2.49<br>-2.01<br>0.46<br>0.02<br>0.10<br>-5.72<br>-0.04<br>2.11<br>0.59<br>2.39<br>-0.02<br>-0.01<br>0.77 100.00<br>0.88<br>0.02<br>0.88<br>-0.00<br>-2.07<br>0.97<br>-0.05<br>0.71<br>-0.09<br>0.02<br>-3.05<br>-2.55<br>0.95<br>0.02<br>0.06<br>-7.22<br>-0.07<br>2.76<br>0.80<br>2.79<br>-0.06<br>-0.12<br>0.49<br>0.88<br>100.00<br>0.02<br>1.06<br>-0.02<br>-2.45<br>0.96<br>-0.07<br>1.01<br>-0.11<br>0.07<br>-1.51<br>4.63<br>5.72<br>-2.66<br>1.80<br>1.08<br>3.32<br>0.06<br>0.03<br>-0.01<br>5.60<br>2.12<br>0.04<br>0.02<br>0.02<br>100.00<br>0.03<br>1.82<br>3.03<br>-0.00<br>-2.50<br>0.01<br>0.31<br>-3.10<br>-3.53<br>-2.72<br>0.92<br>0.18<br>0.10<br>-7.25<br>-0.04<br>2.80<br>1.03<br>2.68<br>-0.06<br>-0.24<br>0.78<br>0.88<br>1.06<br>0.03 100.00<br>-0.02<br>-3.22<br>0.68<br>0.07<br>1.51<br>-0.25<br>0.07<br>-4.10<br>1.07<br>3.07<br>-5.10<br>1.30<br>1.16<br>1.88<br>-0.02<br>-0.01<br>-0.05<br>3.65<br>0.98<br>0.00<br>-0.00<br>-0.02<br>1.82<br>-0.02<br>100.00<br>2.76<br>-0.02<br>-4.27<br>-0.02<br>3.54<br>-0.84<br>-10.13<br>46.75<br>41.93<br>-38.77<br>3.79<br>54.00<br>3.79<br>-7.46<br>-0.77<br>-8.48<br>18.21<br>6.39<br>-2.46<br>-2.07<br>-2.45<br>3.03<br>-3.22<br>2.76 100.00<br>-4.23<br>-32.70<br>-2.82<br>20.12 -18.06<br>-4.83<br>-3.46<br>1.14<br>-0.02<br>-0.17<br>-8.96<br>-0.12<br>2.72<br>-0.64<br>4.46<br>0.09<br>0.61<br>-1.46<br>0.97<br>0.96<br>-0.00<br>0.68<br>-0.02<br>-4.23 100.00<br>-0.40<br>4.53<br>-0.07<br>0.06<br>66.45<br>2.20<br>-28.56<br>77.23<br>-4.62<br>-12.71<br>-2.99<br>-0.40<br>-0.01<br>-0.32<br>-16.58<br>1.86<br>0.09<br>-0.05<br>-0.07<br>-2.50<br>0.07<br>-4.27<br>-32.70<br>-0.40 100.00<br>-0.27<br>-79.95<br>-0.23<br>-3.26<br>-2.42<br>2.11<br>-0.05<br>-0.15<br>-7.06<br>-0.08<br>2.91<br>0.31<br>3.57<br>0.01<br>0.02<br>-1.07<br>0.71<br>1.01<br>0.01<br>1.51<br>-0.02<br>-2.82<br>4.53<br>-0.27 100.00<br>-0.10<br>0.02<br>-71.75<br>-35.80<br>-6.54<br>-77.36<br>2.64<br>9.21<br>0.77<br>-0.22<br>-0.06<br>-0.01<br>5.51<br>-9.84<br>-0.05<br>-0.09<br>-0.11<br>0.31<br>-0.25<br>3.54<br>20.12<br>-0.07<br>-79.95<br>-0.10<br>100.00<br>20.99<br>-9.96<br>-47.46<br>-47.12<br>-1.38<br>-2.75<br>-7.63<br>-3.15<br>0.11<br>0.01<br>0.63<br>-15.12 -11.48<br>0.02<br>0.02<br>0.07<br>-3.10<br>0.07<br>-0.84<br>-18.06<br>0.06<br>-0.23<br>0.02<br>20.99 100.00|
578
+ |ICS|GPT2<br>CGPT1.3<br>Neo2.7<br>Chatglm<br>Chatglm2<br>OPT6.7<br>Pythia6.9<br>LM7<br>Qwen<br>LM27<br>RedPaj<br>Bloom<br>Internlm<br>OLM<br>Baichuan<br>Pythia12<br>LM13<br>Neox20<br>OPT30<br>LM30<br>Gala30<br>LM65<br>Gala120<br>Fal180|
579
+ |||
580
+
581
+ 19
582
+
open_review/iclr2024_8797.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8797",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "On information dropping and oversmoothing in graph neural networks",
6
+ "abstract": "Graph Neural Networks (GNNs) are widespread in graph representation learning. *Random dropping* approaches, notably DropEdge and DropMessage, claim to alleviate the key issues of overfitting and oversmoothing by randomly removing elements of the graph representation. However, their effectiveness is largely unverified. In this work, we find experimentally that they have a limited effect in reducing oversmoothing, contrary to what is typically assumed in the literature. These approaches are also non-parametric and motivate us to question if *learned* dropping can alleviate the propagation of redundant or noisy edges. We propose a new information-theoretic approach, in which we learn to perform dropping on the data exchanged by nodes during message passing via optimizing an information bottleneck. Our approach is superior to previous dropping methods in oversmoothing reduction and has promising performance in the case of deep GNNs.",
7
+ "rebuttal": "Dear Reviewer nv43,\n\nThank you for your response and for acknowledging the changes we've made to our paper -- we appreciate your perspective on the current focus of our study and understand your viewpoint regarding the need for more theoretical analysis.\n\nWe agree that theoretical analysis is a vital component of research in this field. However, we would like to emphasize that the primary intention of our paper is to address a gap we identified in empirical research related to oversmoothing in GNNs. Our work provides critical insights by empirically evaluating widely-used methods like DropEdge and DropMessage, challenging prevalent assumptions about their effectiveness in reducing oversmoothing. This empirical approach is particularly important given the usage rate of these methods in practical applications.\n\nWe believe our empirical findings contribute significantly to the existing body of knowledge by offering a nuanced perspective that is grounded in practical evaluation. This perspective is crucial for researchers and practitioners in the field who rely on these methods for real-world applications.\n\nThat said, we acknowledge the importance of theoretical analysis and are committed to integrating more theoretical perspectives into our work. To this end, we are exploring ways to augment our empirical findings with theoretical insights, possibly drawing from existing analyses while providing a unique angle based on our empirical results.\n\nWe hope this response clarifies the rationale behind our empirical focus and our commitment to enhancing the paper with theoretical insights. \n\nThank you once again for your feedback.\n\nSincerely,\n\nThe authors.\n\nDear Reviewer K9RV,\n\nThank you for your response! Yes -- it is true that the idea that reduction in oversmoothing can be harmful is not a new insight. However, in this work we aimed to focus specifically on random dropping methods -- specifically, our *key contribution* is that DropEdge and DropMessage, do not effectively reduce oversmoothing as previously believed. This observation challenges a key assumption in the field, particularly given the prominence and recent recognition of these methods (e.g., DropMessage being awarded as a distinguished paper at AAAI this year [1]). The main goal of [...]\n\nDear Reviewer xrXy,\n\nWe would like to kindly request your feedback on the revisions made to our paper -- we have thoroughly addressed the concerns raised in your initial review and made significant changes to the paper.\n\nWe would greatly appreciate any additional comments or suggestions you may have before the end of the rebuttal period. We understand the time constraints and appreciate your consideration in providing timely feedback.\n\nThank you for your valuable contribution to improving our work.\n\nSincerely,\n\nThe authors\n\n### Our response\nDear Reviewer yTML,\n\nThank you for your continued engagement with our paper and for sharing your insights. We appreciate your suggestion about refining our conceptual framework and acknowledge the changes in our paper's focus from the original version. However, we believe that the current version of the paper makes an important empirical contribution to the field and merits consideration in its present form.\n\n**Empirical Contribution**: One of our key contributions is the empirical demonstration that commonly used random dropping approaches, such as DropEdge and DropMessage, d [...]\n\n### Request for Feedback Before Rebuttal Period Closure\nDear Reviewer K9Rv,\n\nWe would like to kindly request your feedback on the revisions made to our paper -- we have thoroughly addressed the concerns raised in your initial review and made significant changes to the paper.\n\nWe would greatly appreciate any additional comments or suggestions you may have before the end of the rebuttal period. We understand the time constraints and appreciate your consideration in providing timely feedback.\n\nThank you for your valuable contribution to improving our work.\n\nSincerely,\n\nThe authors\n\n### Request for Feedback Before Rebuttal Period Closure\nDear Reviewer nv43,\n\nWe would like to kindly request your feedback on the revisions made to our paper -- we have thoroughly addressed the concerns raised in your initial review and made significant changes to the paper.\n\nWe would greatly appreciate any additional comments or suggestions you may have before the end of the rebuttal period. We understand the time constraints and appreciate your consideration in providing timely feedback.\n\nThank you for your valuable contribution to improving our work.\n\nSincerely,\n\nThe authors\n\n### Response to Reviewer K9Rv\nDear Reviewer K9Rv,\n\nWe thank you for your response and important feedback. We are glad you have pointed out the issues and inconsistencies you found. We have made many changes to the paper in response to your feedback.\n\n> Please improve literature review.\n\nWe have revised our literature review of oversmoothing. This has been placed in Section 2.2. Thank you for mentioning the paper by Keriven (2022). Indeed there has been recent work that has tried to analyze the relationship between oversmoothing and generalization from a theoretical perspective. Our work is a c [...]\n\n### Response to Reviewer nv43\nDear Reviewer nv43,\n\nWe thank you for your response and important feedback! You highlighted an important point - on the comparison of our Learn2Drop with the latest existing approaches for addressing oversmoothing. We would first like to mention that in the original paper, the main motivation of our work wasn’t clearly addressed and it was misleading. We admittedly overemphasized the significance of ‘reducing oversmoothing’ and would like to highlight that the main novelty of our work is an empirical study and critical look of whether oversmoothing is actually rel [...]\n\n### Response to Reviewer xrXy\nDear Reviewer xrXy,\n\nThank you for taking the time to provide us with feedback and suggestions. We agree with your comments – oversmoothing is a challenging phe\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 3,
10
+ 6,
11
+ 3,
12
+ 3
13
+ ],
14
+ "score_mean": 3.75,
15
+ "score_variance": 2.25,
16
+ "score_spread": 3,
17
+ "score_min": 3,
18
+ "score_max": 6,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "The paper investigates the issue of over-smoothing in GNNs and evaluates the limitations of existing methods, DropEdge and DropMessage, which randomly drop information during training. The authors propose a new method called Learn2Drop, which learns which elements to drop non-randomly. They use the normalized Dirichlet energy metric to measure over-smoothing and conduct experiments to show that Learn2Drop effectively mitigates over-smoothing and improves performance compared to DropEdge and DropMessage.\n\nStrengths of the paper are the following:\n* The paper conducts a comprehensive evaluation of over-smoothing using various metrics and experiments, providing a detailed analysis of the limitations of existing methods.\n* The paper addresses an important problem in GNNs and proposes a novel solution, Learn2Drop, which shows promising results in mitigating over-smoothing.\n\nWeaknesses of the paper:\n* The paper primarily compares Learn2Drop with DropEdge and DropMessage but does not compare it with other recent, more complex methods that address over-smoothing. This comparison could provide a more comprehensive assessment of Learn2Drop's effectiveness.\n* The use of NDE as a metric to measure over-smoothing is questioned by one reviewer due to its limitations and lack of correlation with performance accuracy. The paper may benefit from considering alternative metrics or providing additional evidence supporting the choice of NDE.\n* The paper lacks references to recent works on over-s",
22
+ "forum_id": "RwhRZojoYw",
23
+ "primary_area": "learning on graphs and other geometries & topologies",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_nv43",
28
+ "review_id": "d03c4mP72v",
29
+ "scores": {
30
+ "rating": 3,
31
+ "soundness": 3,
32
+ "presentation": 2,
33
+ "contribution": 3,
34
+ "confidence": 3
35
+ },
36
+ "review_text_chars": 1662,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 877269,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_xrXy",
44
+ "review_id": "O3qwcE68GJ",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 3,
48
+ "presentation": 3,
49
+ "contribution": 3,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 2768,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 1044422,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_K9Rv",
60
+ "review_id": "scL1BmLJzt",
61
+ "scores": {
62
+ "rating": 3,
63
+ "soundness": 2,
64
+ "presentation": 3,
65
+ "contribution": 2,
66
+ "confidence": 4
67
+ },
68
+ "review_text_chars": 4744,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 1214687,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_yTML",
76
+ "review_id": "b9JDusT2ik",
77
+ "scores": {
78
+ "rating": 3,
79
+ "soundness": 2,
80
+ "presentation": 2,
81
+ "contribution": 2,
82
+ "confidence": 3
83
+ },
84
+ "review_text_chars": 3325,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 1810935,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8797.md ADDED
@@ -0,0 +1,405 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## ON INFORMATION DROPPING AND OVERSMOOTHING IN GRAPH NEURAL NETWORKS
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Graph Neural Networks (GNNs) are widespread in graph representation learning. _Random dropping_ approaches, notably DropEdge and DropMessage, claim to alleviate the key issues of overfitting and oversmoothing by randomly removing elements of the graph representation. However, their effectiveness is largely unverified. In this work, we show empirically that they have a limited effect in reducing oversmoothing at test time due to their training time exclusive nature. We show that DropEdge in particular can be seen as a form of training data augmentation, and its benefits to model generalization are not strictly related to oversmoothing, suggesting that in practice, the precise link between oversmoothing and test time performance is more nuanced. We additionally address the limitations of current dropping methods by _learning_ to drop, and propose a new information-theoretic approach, which performs dropping during message passing by optimizing an information bottleneck.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Graphs are pervasive in the real world, effectively representing complex relationships among various entities across a multitude of domains such as social media (Fan et al., 2019), finance (Bi et al., 2022), and biology Jumper et al. (2021). Graph neural networks (GNNs), as state-of-the-art tools for graph representation learning, have garnered significant interest in recent years (Kipf & Welling, 2017; Hamilton et al., 2017; Veliˇckovi´c et al., 2018). At the core of GNNs lies a message-passing schema, which allows each node to aggregate information from its neighboring nodes.
14
+
15
+ Despite rapid advances in GNNs, they still face critical challenges. In particular, _oversmoothing_ occurs when representations of different nodes in a GNN become indistinguishable, as they aggregate information from neighbors recursively (Oono & Suzuki, 2020). This phenomenon hinders GNNs from effectively modeling higher-order dependencies from multihop neighbors and makes them more vulnerable to adversarial attacks (Li et al., 2018; Chen et al., 2019). Common approaches for mitigating oversmoothing include adding regularization terms based on measures of oversmoothing (Chen et al., 2019), and restricting the pairwise distances between nodes (Zhao & Akoglu, 2020).
16
+
17
+ Another widely used approach is based on the _random dropping_ of information from the graph or its representation. Prominent examples include DropEdge (Rong et al., 2020) and DropMessage (Fang et al., 2023), which operate on the edge and message levels respectively. Notably, DropMessage has been recently proposed as a generalization of DropEdge. However, the impact of these techniques on oversmoothing and the precise link between their oversmoothing reduction and the benefits to model performance have not been thoroughly investigated.
18
+
19
+ In this paper, we investigate the extent to which DropEdge and DropMessage are able to mitigate oversmoothing. We show that at test time, both methods actually have a limited effect in reduciung oversmoothing according to metrics such as _Dirichlet energy_ and _mean average distance_ . We hypothesise that DropEdge has a similar effect to training with data augmentation and demonstrate that its beneficial effects on model performance are highly conditional on the randomness used in dropping. We also observe that enabling random dropping at test time will considerably reduce oversmoothing, but this _does not translate to improved performance_ , suggesting that minimizing oversmoothing by itself is insufficient. This motivates _Learn2Drop_ . In contrast to traditional dropping mechanisms, which apply a uniform approach to information pruning and reduce oversmoothing in
20
+
21
+ 1
22
+
23
+ a deterministic manner, Learn2Drop learns a mask over the messages each node receives, enabling test-time message dropping to be performed dynamically.
24
+
25
+ The foundation of Learn2Drop is rooted upon the information bottleneck principle (Tishby et al., 2000). The bottleneck seeks a representation _Z_ that is minimally informative about the input _X_ , whilst simultaneously being maximally informative about the target _Y_ . By balancing _I_ ( _X, Z_ ) and _I_ ( _Z, Y_ ), it allows task-irrelevant information to be discarded while preserving useful information, allowing the GNN to focus on the most salient features of the data. In a sense, this potentially allows the GNN to _learn_ to reduce oversmoothing in an optimal way.
26
+
27
+ ## 2 RELATED WORK
28
+
29
+ ## 2.1 DROPOUT IN NEURAL NETWORKS
30
+
31
+ Dropout, as introduced by (Srivastava et al., 2014), stems from the notion that the random deactivation of certain units during training equates to training an ensemble of networks. This process effectively counters overfitting in various models, GNNs included. DropEdge (Rong et al., 2020) adopts a different strategy by randomly omitting a subset of edges from the input graph prior to the standard message-passing procedure. This operation only occurs during training. Given an input graph _G_ = ( _E, V_ ), they remove _p|V |_ edges randomly, where _p ∈_ (0 _,_ 1) is a user-defined parameter. The authors argue that this approach simultaneously addresses both overfitting and oversmoothing. DropNode (Feng et al., 2020) is a similar approach, in which nodes are randomly removed, although it does not specifically aim to address oversmoothing. DropMessage (Fang et al., 2023) is another dropping approach in which elements of the _message matrix_ are randomly dropped during training.
32
+
33
+ ## 2.2 CURRENT UNDERSTANDING OF OVERSMOOTHING
34
+
35
+ Many earlier works on oversmoothing have proposed practical techniques to alleviate it (Chen et al., 2019; Zhao & Akoglu, 2020; Rong et al., 2020; Chen et al., 2020). Recently there has been a greater focus investigating the theoretical nature of oversmoothing. Oono & Suzuki (2020) performed an asymptotic analysis, showing that node embeddings homogenize when the number of layers tends to infinity. Wu et al. (2022) performed a non-asymptotic analysis, showing that oversmoothing occurs when an undesirable mixing effect overcomes a desirable denoising effect. Keriven (2022) showed that some smoothing _but not too much_ can be desirable for linear GNNs, and that there exists a number of layers which optimizes this tradeoff. A major limitation of the existing body of work and an active area of research is the need of a formalized understanding of the relationship between homogenized node representations and model generalization. Many prior works such as DropEdge typically assume a clear relationship between oversmoothing reduction and model performance without formally justifying it. However, Keriven (2022) has made a step in this new direction, giving a theoretical analysis based on risk minimization, although it is limited to linear GNNs.
36
+
37
+ ## 3 RANDOM DROPOUT AND OVERSMOOTHING
38
+
39
+ The authors of DropEdge Rong et al. (2020) and DropMessage Fang et al. (2023) propose to directly measure the amount of smoothing after applying each method. DropEdge (Rong et al., 2020) measures the difference in Euclidean distance between internal layers and the final layer. One criticism is that it does not distinguish between nodes in the same layer. In contrast, DropMessage (Fang et al., 2023) computes a metric over the nodes of the same layer, the mean average distance (MAD) (Chen et al., 2019). Notably, both methods are applied _exclusively during training_ , which raises concerns regarding whether they can address oversmoothing at test time:
40
+
41
+ 1. Generalization to unseen data: while these training-time interventions might help reduce oversmoothing on the training data, their absence during the test phase can potentially lead to inconsistent behaviour on the test data due to increased oversmoothing.
42
+
43
+ 2. Model confidence: if the robustness against oversmoothing is only demonstrated during training and not during testing, it reduces the overall confidence in the model’s reliability across diverse environments.
44
+
45
+ 2
46
+
47
+ The distinction between training and testing time, and its implications on oversmoothing, remains unaddressed in the aforementioned works. This oversight has prompted our investigation into the effects of these random dropping methods on oversmoothing across both training and testing phases.
48
+
49
+ ## 3.1 MEASURING SMOOTHING
50
+
51
+ One metric commonly used in the literature to empirically measure smoothing is _mean average distance_ (MAD) (Chen et al., 2019):
52
+
53
+ **==> picture [284 x 33] intentionally omitted <==**
54
+
55
+ More recently many works have proposed metrics of smoothing based on the concept of _Dirichlet energy_ (Cai & Wang, 2020; Rusch et al., 2022) which is typically defined as
56
+
57
+ **==> picture [279 x 28] intentionally omitted <==**
58
+
59
+ This has the property that _d_ DE( **X** _[ℓ]_ ) = 0 if and only if all node representations are equal – in other words, complete oversmoothing is equivalent to 0 Dirichlet energy, which has led to conceptually cleaner proofs (Cai & Wang, 2020) in the theoretical analysis of oversmoothing. However, note that the Dirichlet energy is sensitive to arbitrary scaling of embeddings. Observe that, by simply multiplying the embeddings by a constant greater than 1 after each layer, we are guaranteed to increase this energy. In reality, this might not reflect any improvement in the ability of the model to generalize. For our study, this may be problematic as DropMessage and standard dropout, which scale the embeddings – in the case of dropout with probability _p_ it is common to scale with 1 _/_ (1 _− p_ ). This would ‘fix’ oversmoothing if a sufficiently high dropping probability is used compared to a model that applies less dropping. This is less of a concern when observing the layer-wise exponential convergence of embeddings within the same model.
60
+
61
+ Our experiments also aim to empirically compare the relative amount of oversmoothing suffered by different GNNs. As we specifically investigate methods that inherently scale the embeddings, we also consider using MAD, which has two known limitations: (i) complete oversmoothing (all node representations being identical) does not equate to 0 MAD, and (ii) it is ineffective in the case where node representations are scalars – nodes with the same sign but different magnitude cannot be distinguished. However, it can still be shown that for multidimensional MAD, there exist constants _C_ 1 _, C_ 2 _>_ 0 such that _µ_ MAD( **X** _[ℓ]_ ) _≤ C_ 1 _e[−][C]_[2] _[ℓ]_ for _ℓ ∈_ [0 _, N_ ]— it exhibits layer-wise exponential convergence (Rusch et al., 2023). Although theoretically inconvenient, MAD still enables us to make meaningful empirical comparisons on oversmoothing on models where the node embeddings are high dimensional. Limitation (i) is not strictly a concern when we seek a comparison between methods, rather than an absolute measure of oversmoothing that is theoretically sound.
62
+
63
+ ## 3.2 OBSERVING THE EFFECT OF RANDOM DROPPING ON OVERSMOOTHING
64
+
65
+ We empirically observe oversmoothing in a model by measuring the amount of smoothing after each layer. We compare a vanilla baseline with DropEdge and DropMessage by training models while applying random dropping and evaluate the extent of oversmoothing in two scenarios: (i) without applying any random dropping (simulating test-time inference), and (ii) with random dropping applied (resembling a training forward pass).
66
+
67
+ **Experimental setup.** Using 128-layer deep GNNs of the GCN architecture (Kipf & Welling, 2017), we train models on node classification tasks with varying levels of homophily. In addition to the commonly-used citation networks _Cora_ (McCallum et al., 2000), _Citeseer_ (Giles et al., 1998) and _Pubmed_ (Sen et al., 2008), we use heterophilic datasets _Wisconsin_ , _Texas_ , _Cornell_ (Craven et al., 1998) and _Chameleon_ (Pei et al., 2020). As baselines, we use a vanilla model trained with skip connections (He et al., 2016), and also a model trained with dropout.
68
+
69
+ The results using Dirichlet energy are shown in Figure 1. We observe that at training time, DropEdge can alleviate the amount of smoothing at some layers by a scaling factor – however, the trend is still exponential: at layer _ℓ_ the Dirichlet energy is _O_ ( _C[−][ℓ]_ ) for some constant _C_ . Layer-wise exponential convergence is still occurring. DropMessage, in contrast, is able to completely nullify it at training
70
+
71
+ 3
72
+
73
+ **==> picture [397 x 119] intentionally omitted <==**
74
+
75
+ **----- Start of picture text -----**<br>
76
+ Cora Texas Cornell<br>Vanilla 10 [2] 10 [2]<br>DropEdge<br>10 [1] DropEdge (Train)<br>DropMessage<br>DropMessage (Train) 10 [0] 10 [0]<br>Skip<br>10 [1] DropoutDropout (Train)<br>10 [2] 10 [2]<br>10 [3]<br>10 [4] 10 [4]<br>1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128<br>Layer<br>Dirichlet energy<br>**----- End of picture text -----**<br>
77
+
78
+ Figure 1: Measuring oversmoothing in random dropping models, averaged over 5 runs.
79
+
80
+ time, although it appears the same can also be achieved by applying dropout on the node vectors at each layer. Results using MAD are very similar, and given in A.3.
81
+
82
+ At test time, random dropping is not applied. Instead any improvement comes from the effect that the dropping has during training. However, we observe from our experiments (included in Table 1 in Section 5.2 for ease of later comparison) that naively enabling DropEdge and DropMessage at test time translates to poor accuracy and inconsistent model inference, _despite the reduction of oversmoothing_ , suggesting that the main benefits of these random dropping methods is not primarily from oversmoothing reduction, or that oversmoothing reduction by itself is insufficient to guarantee improved performance.
83
+
84
+ **Discussion.** During forward passes, DropEdge is able to mitigate the amount of oversmoothing, but does not appear to prevent it. The amount of mitigation is greater at training time than test time. DropMessage, in contrast, is able to stabilize the oversmoothing at training time, but has little effect at test time. If the primary cause of oversmoothing is the recursive aggregation inherent in the GNN’s structure, this issue will still manifest at test time – it will aggregate information across all available edges without any dropping, which may lead to homogenized node representations.
85
+
86
+ We further note a close similarity between methods used outside the specific context of graphs. For instance, DropEdge is methodologically similar to _word dropout_ (Mikolov et al., 2013) used in natural language processing and _cutout_ (DeVries & Taylor, 2017) used in computer vision, both of which are augmentation techniques that aim to prevent the model from overfitting on a specific input feature. In addition, we note that DropMessage’s approach is _effectively applying dropout between the aggregate and update stages of message passing_[1] . We observe that it has a similar effect on oversmoothing compared to applying dropout on the node representations.
87
+
88
+ If their primary effect was only through introducing noise during training, then the two methods would arguably be analogous to dropout and other similar approaches. Dropout aims to make neural networks more robust by preventing over-reliance on any particular neuron during training, but it does not drop out neurons at test time. Similarly, DropEdge/DropMessage can be seen as a way to ensure that the GNN does not over-rely on any particular edge or message.
89
+
90
+ In conclusion, DropEdge and DropMessage exhibit nuanced effects on smoothing at training time and are not applied at test time. They appear more aligned with robust training and overfitting prevention than directly combating the oversmoothing phenomenon. This suggests that these techniques, particularly DropEdge, might operate more as data augmentation. Their role in mitigating oversmoothing could then be an indirect outcome of the models they assist in training – models that are more robust and inherently resistant to oversmoothing. Further research is needed to explore the primary versus secondary effects of these techniques.
91
+
92
+ ## 3.3 THE IMPORTANCE OF RANDOMNESS
93
+
94
+ An important implication of our results is the possibility that DropEdge actually does not have a significant effect in reducing oversmoothing. The overall behavior is still _O_ ( _k[−][L]_ ). This is contrary
95
+
96
+ > 1This can be verified using the source code: [URL removed]
97
+
98
+ 4
99
+
100
+ to what is implied by the original work. We suspect that the reasons for DropEdge’s performance improvements could lie elsewhere, and we investigate this.
101
+
102
+ We first recall that the authors of DropEdge use a specific definition of oversmoothing: they define the concept of _ϵ-smoothing_ , which occurs when all node representations lie within a distance _ϵ_ from a subspace. It can be shown that during a forward inference pass, dropping edges can increase the layer at which (a relaxed version) of _ϵ_ -smoothing occurs. This is stated as Theorem 1 in the work by Rong et al. (2020), and we shall continue to refer to this theorem as the _DropEdge theorem_ . The DropEdge theorem does not make any assumption on _how_ edges are removed, it only requires that the number of edges in the perturbed graph be less than the original. Therefore, removing edges in a completely deterministic manner would also satisfy the theorem, but it is unclear whether this would lead to the same effects. This is the motivation for our next experiment.
103
+
104
+ **Experiment.** We perform an investigation in which we train a model Φ using a version of DropEdge where a proportion of the edges, controlled by parameter _τ ∈_ [0 _,_ 1], are sampled deterministically. That is, we set a predefined set of edges _E ⊂ E_ such that _|E|_ = _⌊p|E|⌋_ . During the training of Φ, at each epoch we choose the edges _F_ to drop by sampling from _S_ = _{E[′] | |E[′] ∩E| ≥ ⌊τ |E|⌋∧|E[′] |_ = _⌊p|E|⌋}_ . When _τ_ = 0, the method is equivalent to standard DropEdge. When _τ_ = 1, the method is a fully deterministic version of DropEdge where the same edges are sampled for all epochs. For different values of _τ ∈_ [0 _,_ 1] we observe the test accuracy of Φ and the MAD.
105
+
106
+ ## **Remark 3.1.** _τ controls the mutual information between E and F_
107
+
108
+ **==> picture [397 x 196] intentionally omitted <==**
109
+
110
+ **----- Start of picture text -----**<br>
111
+ Cora Citeseer Pubmed<br>0.15 3<br>∆ test acc 4 0.06<br>5 0.100<br>2<br>0.075 2 0.10 0.04<br>0 ∆ smoothing (Train) 1<br>∆ smoothing 0.050 0 0.05 0.02<br>0<br>5 0.025<br>2 0.00 1 0.00<br>0.000<br>10<br>5.0 3<br>4 12.5 50<br>2.5 0 2<br>10.0<br>25<br>2<br>0.0 20 7.5 1<br>0<br>2.5 40 0 5.0 0 25<br>5.0 60 2 2.5 1 50<br>7.5 0.0 75<br>0 1 0 1 0 1<br>τ<br> MAD<br>∆<br>test acc (%)<br>∆<br> Dir Energy<br>∆<br>**----- End of picture text -----**<br>
112
+
113
+ Figure 2: Investigating the effects of stochasticity in DropEdge.
114
+
115
+ In order to obtain stable results, we train shallower models with 3 GCN layers and skip connections. We repeat this experiment for multiple choices of the initial edge set _E_ and measure the mean test accuracy and MAD at each _τ_ . Results using MAD and Dirichlet energy are shown in Figure 2. As _τ_ increases, the performance improvement from using DropEdge degrades. Although satisfying the DropEdge theorem, for certain values of _τ_ that are sufficiently large (typically after 0.9), the model has _worse_ test performance than not using DropEdge, while the amount of oversmoothing surprisingly _decreases_ according to MAD. Moreover, according to Dirichlet energy, there is _no consistent relationship_ between performance improvement and smoothing. For Pubmed the Dirichlet energy tends to decrease as performance worsens, but for Citeseer there is an initial increase. This suggests:
116
+
117
+ - the performance improvement provided by DropEdge is highly sensitive to the amount of random noise being injected into the sampling during each training epoch.
118
+
119
+ - the amount of oversmoothing at both training and test time is possibly related to the model’s error on the training/test sets, and how it generalizes (i.e. whether we find good minima).
120
+
121
+ 5
122
+
123
+ As an additional check, we perform the same experiment but modifying the computation of MAD and Dirichlet energy so that only pairs of nodes with _different labels_ are considered. The motivation is that smoothing across nodes with different labels is more problematic for performance, whereas smoothing across nodes with the same label is desirable. The resulting trends are very similar and shown in A.2 We can conclude that a GNN with reduced oversmoothing does not necessarily generalize better, which challenges the preconception made in previous works (Rong et al., 2020; Li et al., 2018; Chen et al., 2019) that less smoothing is strictly better.
124
+
125
+ ## 4 LEARNING TO DROP
126
+
127
+ In Section 3 we highlighted several limitations of DropEdge and DropMessage. In summary, both DropEdge and DropMessage operate only during training, and do not sufficiently address oversmoothing on unseen data at test time. It is unclear whether oversmoothing is related to their effect on model performance. Moreover, dropout on the message matrix (as in the case of DropMessage) will stabilize both Dirichlet energy and MAD. However, doing this at test time will result in poor model performance and unstable predictions.
128
+
129
+ To address these concerns, we propose _learning to drop_ (Learn2Drop) in which we _learn_ which elements to drop rather than applying uniform treatment, and at test time choosing which elements to drop based on experience. This will incorporate domain knowledge into the dropping process, which may be advantageous over a pure adhoc approach where the dropping probability is fixed. This can (i) allow the model to keep essential information while filtering out noise, which has been previously observed to be a potential cause of oversmoothing (Chen et al., 2019), (ii) allow the use of topological information, which can affect smoothing (Bodnar et al., 2022), and (iii) perform dropping at test time in a more informed manner.
130
+
131
+ ## 4.1 INFORMATION BOTTLENECK
132
+
133
+ Aligning with the motivation to preserve only critical information, we propose dropping messages based on the information bottleneck (IB) principle (Tishby et al., 2000). This principle has been previously adopted in neural networks for similar purposes, such as pruning less informative neurons (Achille & Soatto, 2018) and enhancing robustness against adversarial attacks (Kolchinsky et al., 2019). The overall idea is to seek a representation _Z_ that is minimally informative about the input _X_ , whilst simultaneously being maximally informative about the target _Y_ . This done by optimally balancing the mutual information terms _I_ ( _X, Z_ ) and _I_ ( _Z, Y_ ).
134
+
135
+ Recall that in message passing GNNs, at layer _ℓ_ we obtain the next representation of node _i_ , by applying an aggregation function _⊕_ on the messages passed from the nodes in its neighborhood _Ni_ :
136
+
137
+ **==> picture [278 x 31] intentionally omitted <==**
138
+
139
+ Here, _ψ_ � **h** _[ℓ] i[,]_ **[ h]** _[ℓ] j_ � denotes the message that a node _j_ passes to a node _i_ . Let **M** _[ℓ] ∈_ R _[|][E][|×][m]_ be the message matrix given to layer _ℓ_ . It is formed by stacking all messages passed at layer _ℓ_ , and each row is a different message. Note that **M** _[ℓ]_ , along with the adjacency matrix of the input graph, are sufficient for obtaining the final output of the model. Thus, **M** _[ℓ]_ can be viewed as some intermediate representation. In this view, the layers 1 _, . . . , ℓ −_ 1 of the message passing GNN can be treated as an encoder, and the remainder of the model can be viewed as a decoder. **M** _[ℓ]_ contains the information necessary to make predictions about the target _Y_ . This motivates us to apply the IB principle, treating **M** _[ℓ]_ as the optimal representation _Z_ . We shall refer to **M** _[ℓ]_ as _Z_ for clarity.
140
+
141
+ Let _ϕ_ be the parameters of the encoder and _θ_ be the parameters of the decoder. We can write the mutual information between the input _X_ and the messages _Z_ as _I_ ( _X, Z_ ; _ϕ_ ), and the mutual information between the messages and the output _Y_ as _I_ ( _Z, Y_ ; _θ_ ). We can treat _Z_ as a random variable with distribution P( _Z|X_ ; _θ_ ). Following standard use of the IB principle, we obtain
142
+
143
+ **==> picture [263 x 17] intentionally omitted <==**
144
+
145
+ Optimizing this objective will allow us to obtain minimal and sufficient representations of the input graph. This objective is intractable. Following (Alemi et al., 2017; Wu et al., 2020; Miao et al.,
146
+
147
+ 6
148
+
149
+ 2022), we use variational approximations: P _ϕ_ to approximate the encoder, and Q _θ_ to approximate the decoder, and R( _Z_ ) to approximate the marginal distribution of _Z_ . This yields the variational bounds:
150
+
151
+ **==> picture [289 x 25] intentionally omitted <==**
152
+
153
+ It can be shown using the standard derivation introduced by Alemi et al. (2017) that applying these variational bounds results in the objective
154
+
155
+ **==> picture [308 x 16] intentionally omitted <==**
156
+
157
+ Here, the first term is the expected negative log-likelihood. For classification tasks this is equivalent to the cross entropy loss. The second term is harder to evaluate, and depends on the instantiation of the encoder P _ϕ_ .
158
+
159
+ ## 4.2 INSTANTIATING THE DISTRIBUTIONS
160
+
161
+ We have a choice of distribution for the encoding of _Z_ . Recall that our motivation is to optimize the dropping of information from the messages. We can do this probabilistically. Specifically, we obtain each element of every message by sampling from a _spike and slab_ distribution (Ishwaran & Rao, 2005). Each distribution is parameterized by a value _v_ and a sample probability _p_ . The value _v_ is sampled with probability _p_ , and 0 is sampled with probability 1 _−p_ . In the context of our method, we consider each message element as a variable that can be either retained or discarded. This captures the notion of allowing elements to be dropped. We choose the slab as a Delta function _δ_ ( _x − l_ ). The parameters _l_ and _p_ for each distribution are learned during training.
162
+
163
+ Thus, sampling from P _ϕ_ is equivalent to sampling from a set of spike-and-slab distributions, where each distribution is parameterized by a different value in the original message matrix (prior to dropping). In practice, for a message vector **q** _ij_ – the message passed from node _j_ to _i_ – we can obtain the vector of probabilities by feeding the concatenated node representations [ **h** _i[ℓ][−]_[1] _||_ **h** _[ℓ] j[−]_[1] ] into an MLP. The final message vector after dropping can be obtained using the Gumbel Sigmoid trick (Jang et al., 2017) to allow the gradients to flow through the learned probabilities. Doing this for all messages will compute the optimized representation _Z_ .
164
+
165
+ We can define R( _Z_ ), the variational approximation of the marginal _P_ ( _Z_ ), by sampling each message element _qij[k]_[from][set][of][spike][and][slab][distributions][sharing][the][same][spike][probability] _[r][∈]_[[0] _[,]_[ 1]][,] as well as the same uniform slab distribution Uniform( _a, b_ ) where _a, b ∈_ R. This gives R( _Z_ ) = � _P_ ( _qijk_[)][ where] _[ P]_[(] _[q] ij[k]_[) =][ P][(] _[x]_[) =] _b−pa_[+ (1] _[ −][p]_[)] _[δ]_[(] _[x]_[)][.]
166
+
167
+ Now, computing the KL term in Equation 7 directly is intractable, as it requires a summation over all possible _Z_ . Instead, we note that since the elements of _Z_ are independent given _X_ , the joint distribution P( _Z | X_ ) can be factorized into the product of the individual marginal distributions of each element of _Z_ . That is,[�] _P_ ( _vij[k][|][X]_[)][,][where] _[v] ij[k]_[refers][to][the] _[k]_[-th][message][element][of][the] message passed from _j_ to _i_ . The KL divergence then has the analytical form
168
+
169
+ **==> picture [349 x 67] intentionally omitted <==**
170
+
171
+ where _p[k] ij_[and] _[l] ij[k]_[are][the][spike-and-slab][parameters][for][each][message][element.][This][is][sum][of][the] KL divergences of the marginal distributions of each message element.
172
+
173
+ ## 5 EXPERIMENTS ON OVERSMOOTHING
174
+
175
+ In this section, we evaluate the effectiveness of Learn2Drop. We first show that Learn2Drop is able to successfully mitigate oversmoothing at test time, whereas DropEdge and DropMessage are unable to. We then evaluate the performance of Learn2Drop against previous dropping approaches to investigate whether it helps model performance in practice.
176
+
177
+ 7
178
+
179
+ ## 5.1 OVERSMOOTHING REDUCTION
180
+
181
+ **==> picture [397 x 201] intentionally omitted <==**
182
+
183
+ **----- Start of picture text -----**<br>
184
+ Cora Citeseer Cornell<br>Vanilla 10 [2]<br>10 [1] DropEdgeDropMessageSkip 10 [0] 10 [0]<br>L2D<br>10 [1] L2D*<br>10 [2] 10 [2]<br>10 [3]<br>10 [4] 10 [4]<br>1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128<br>Chameleon Wisconsin Texas<br>10 [3] 10 [2] 10 [2]<br>10 [1] 10 [0] 10 [0]<br>10 [1] 10 [2] 10 [2]<br>10 [3] 10 [4] 10 [4]<br>1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128<br>Layer<br>Dirichlet energy<br>**----- End of picture text -----**<br>
185
+
186
+ Figure 3: Oversmoothing comparison across six node classification datasets.
187
+
188
+ Using the same methodology as in 3.2 we measure the amount of test-time oversmoothing in models trained using Learn2Drop. We evaluate two versions of Learn2Drop: one where dropping is performed at every layer (denoted L2D) and another where dropping is only performed once every ten layers (L2D*), since dropping at every layer for very deep GNNs may add unnecessary overhead. The results using Dirichlet energy are shown in Figure 3, and corresponding results using MAD are given in Appendix A.3. We observe that for each task, Learn2Drop results in a _significant reduction_ in smoothing according to both metrics. Interestingly, from observing L2D*, we observe that applying a single dropping layer is able to reset the Dirichlet energy. While for DropEdge and DropMessage, there is an increase in oversmoothing at a super-linear rate, it is clear that Learn2Drop keeps oversmoothing from changing beyond one order of magnitude.
189
+
190
+ ## 5.2 MODEL PERFORMANCE
191
+
192
+ In prior work, it has been standard to perform an indirect evaluation on oversmoothing by training very deep GNNs and showing that the usual performance degradation (compared to a shallow model) is reduced (Rong et al., 2020). For instance, whereas a vanilla GCN would suffer a significant reduction in performance on Cora if we were to use 64 layers instead of the usual 2 to 3 that typically yields optimal performance, DropEdge may only suffer a moderate hit. However, as discussed in Section 3.3, the effects of overfitting and oversmoothing are likely interlaced and difficult to decouple. It is not evident from such observations whether the model is simply more resistant against overfitting, or whether oversmoothing is actually reduced, especially since one of these may be the indirect consequence of the other. Nevertheless, it may be beneficial to observe the performance of models in such scenarios where a combination of issues is prevalent.
193
+
194
+ For each dataset, we train 3-layer, 32-layer, and 64-layer GCN models. We compare the test time accuracy against both default and test-time enabled versions of DropEdge and DropMessage, as well as an additional baseline where dropout with probability 0 _._ 5 is applied after each layer. Moreover, in the context of evaluating oversmoothing, which purportedly occurs at deeper layers, we desire a scenario where it is beneficial to use more layers. Following Zhao & Akoglu (2020) we opt for using a ‘missing feature’ setting where 90% of the nodes have their feature vector initialized to **0** .
195
+
196
+ The results shown in Table 1. Learn2Drop is able to successfully mitigate the performance degradation when increasing the number of layers. Note that the test-time versions of DropEdge and DropMessage (denoted with _∗_ ), despite reducing oversmoothing, perform highly inconsistently resulting in poor performance, and often fail to converge. To make this baseline more sensible, we obtain each individual result by averaging 10 forward passes. Meanwhile, Learn2Drop consistently
197
+
198
+ 8
199
+
200
+ achieves higher test accuracy, perhaps as it _learns_ the optimal way to drop. One can view this as a mechanism that controls the amount of smoothing reduction by using the IB principle to optimally make the tradeoff between signal and noise. However, we emphasize that this is merely a hypothesis. On the contrary, it could be that the oversmoothing reduction is a side effect of the true mechanisms underlying the performance improvement, which is what we have examined for DropEdge.
201
+
202
+ Here we focus on understanding the effect of various random dropping techniques on model performance. Competing with the state-of-the-art techniques that address oversmoothing is not the objective. For completeness, we have included the recent method GraphCON (Rusch et al., 2022) which has specifically been designed to combat oversmoothing and outperforms all dropping approaches.
203
+
204
+ |_L_||**Cora**|**Citeseer**|**Cornell**|**Chameleon**|**Wisconsin**|**Texas**|
205
+ |---|---|---|---|---|---|---|---|
206
+ |||||||||
207
+ |**3**|**Vanilla**<br>**DropEdge**<br>**Dropout**<br>**DropMessage**<br>**L2D**<br>_DropEdge*_<br>_DropMessage*_<br>_GraphCon_|64_._2_±_0_._7<br>66_._0_±_2_._4<br>65_._1_±_3_._3<br>64_._4_±_2_._4<br>**66**_._**4**_±_**1**_._**3**<br>_58.9 ± 4.3_<br>_60.3 ± 3.0_<br>_68.5 ± 3.2_|44_._0_±_1_._1<br>44_._5_±_1_._4<br>46_._2_±_2_._4<br>48_._0_±_2_._0<br>**49**_._**1**_±_**2**_._**5**<br>_42.3 ± 1.3_<br>_43.0 ± 1.3_<br>_52.1 ± 0.9_|45_._4_±_7_._3<br>44_._3_±_5_._6<br>43_._8_±_5_._2<br>47_._5_±_5_._3<br>**48**_._**5**_±_**4**_._**7**<br>_42.2 ± 4.9_<br>_40.5 ± 1.9_<br>_53.1 ± 2.3_|28_._4_±_1_._2<br>27_._5_±_2_._5<br>29_._3_±_2_._6<br>27_._9_±_2_._8<br>**30**_._**2**_±_**3**_._**3**<br>_25.7 ± 2.9_<br>_23.6 ± 3.5_<br>_35.2 ± 5.3_|46_._3_±_9_._3<br>46_._3_±_8_._3<br>45_._9_±_8_._9<br>**51**_._**0**_±_**4**_._**6**<br>**51**_._**0**_±_**2**_._**4**<br>_44.3 ± 6.4_<br>_47.1 ± 4.6_<br>_53.4 ± 2.4_|56_._2_±_6_._7<br>**57**_._**3**_±_**5**_._**5**<br>55_._7_±_4_._7<br>56_._6_±_4_._4<br>56_._4_±_4_._3<br>_55.7 ± 5.3_<br>_37.3 ± 21_<br>_58.5 ± 3.1_|
208
+ |||||||||
209
+ |**32**|**Vanilla**<br>**DropEdge**<br>**Dropout**<br>**DropMessage**<br>**L2D**<br>_DropEdge*_<br>_DropMessage*_<br>_GraphCon_|70_._5_±_1_._5<br>68_._6_±_1_._7<br>23_._6_±_7_._6<br>66_._2_±_1_._7<br>**72**_._**4**_±_**2**_._**5**<br>_62.9 ± 3.7_<br>_53.2 ± 20_<br>_76.6 ± 4.6_|51_._2_±_1_._4<br>47_._9_±_1_._7<br>22_._3_±_3_._3<br>50_._5_±_1_._4<br>**52**_._**3**_±_**4**_._**6**<br>_44.8 ± 2.8_<br>_29.4 ± 3.2_<br>_53.1 ± 1.2_|44_._3_±_5_._6<br>40_._0_±_5_._0<br>44_._3_±_5_._6<br>47_._1_±_7_._2<br>**47**_._**4**_±_**6**_._**4**<br>_44.3 ± 6.2_<br>_16.8 ± 3.0_<br>_49.3 ± 3.2_|27_._6_±_2_._6<br>30_._0_±_2_._2<br>20_._4_±_1_._9<br>28_._3_±_2_._1<br>**30**_._**5**_±_**2**_._**1**<br>_27.9 ± 1.7_<br>_16.4 ± 3.3_<br>_33.4 ± 4.3_|49_._4_±_7_._6<br>46_._3_±_8_._0<br>48_._6_±_8_._1<br>50_._0_±_4_._5<br>**51**_._**0**_±_**2**_._**7**<br>_40.8 ± 5.3_<br>_21.6 ± 11_<br>_52.3 ± 3.4_|58_._9_±_5_._5<br>57_._8_±_5_._3<br>57_._8_±_5_._8<br>57_._3_±_4_._5<br>**59**_._**8**_±_**2**_._**4**<br>_58.4 ± 6.2_<br>_14.1 ± 6.5_<br>_59.6 ± 3.1_|
210
+ |||||||||
211
+ |**64**|**Vanilla**<br>**DropEdge**<br>**Dropout**<br>**DropMessage**<br>**L2D**<br>_DropEdge*_<br>_DropMessage*_<br>_GraphCon_|47_._2_±_14_._3<br>66_._4_±_4_._0<br>18_._3_±_7_._0<br>65_._2_±_2_._1<br>**69**_._**3**_±_**3**_._**6**<br>_29.7 ± 5.0_<br>_16.7 ± 7.1_<br>_71.4 ± 3.4_|48_._3_±_3_._4<br>45_._7_±_0_._7<br>21_._8_±_2_._4<br>48_._6_±_1_._5<br>**50**_._**5**_±_**2**_._**6**<br>_29.0 ± 4.9_<br>_23.8 ± 6.1_<br>_53.3 ± 1.2_|44_._3_±_5_._6<br>43_._2_±_5_._9<br>44_._3_±_5_._6<br>45_._8_±_7_._5<br>**47**_._**3**_±_**4**_._**7**<br>_44.3 ± 6.2_<br>_18.9 ± 9.2_<br>_50.5 ± 2.2_|27_._6_±_1_._7<br>27_._4_±_0_._8<br>21_._4_±_1_._4<br>**28**_._**9**_±_**2**_._**6**<br>28_._7_±_1_._4<br>_27.0 ± 0.7_<br>_17.3 ± 1.9_<br>_33.6 ± 3.7_|46_._3_±_7_._2<br>42_._7_±_3_._1<br>47_._8_±_8_._8<br>**50**_._**0**_±_**3**_._**3**<br>49_._0_±_1_._7<br>_47.1 ± 8.0_<br>_20.8 ± 10_<br>_56.3 ± 3.6_|58_._4_±_5_._6<br>55_._7_±_7_._2<br>58_._4_±_5_._6<br>55_._9_±_5_._6<br>**59**_._**3**_±_**1**_._**5**<br>_56.2 ± 5.2_<br>_20.0 ± 21_<br>_59.6 ± 5.6_|
212
+
213
+ Table 1: Comparison of test accuracy for different models and datasets with different backbone models, averaged over 5 runs. The highest accuracy across random dropping approaches is boldened.
214
+
215
+ ## 6 CONCLUSION
216
+
217
+ In summary, we investigate the relationship between random dropping approaches and their ability to reduce oversmoothing. Specifically, while DropEdge introduces a degree of robustness, its direct impact on addressing oversmoothing at test time appears limited. We hypothesize that its effects are similar to data augmentation and support this with empirical results. DropMessage has a more pronounced effect but is still a training phase technique. In response to the the difficulty in directly applying dropping methods at test time, we present Learn2Drop, which decides which parts of the message matrix to keep or discard based on the information’s relevance. This approach allows us to leverage the effect of dropping at test time in a more informed manner. Learn2Drop, like many previous methods, reduce oversmoothing while improving performance. However, this is not a guarantee that the performance improvement is a consequence of this oversmoothing reduction.
218
+
219
+ Our work provides novel emprical results that align with (Keriven, 2022)’s theoretical analysis, suggesting that always seeking to minimize oversmoothing is not optimal. An important takeaway from our work is that in practice, oversmoothing reduction will not strictly boost a GNN’s performance – it is trivial to minimize oversmoothing by dropping messages randomly at test time. We have observed that a GNN with little oversmoothing does not guarantee optimal performance, and a GNN that experiences less oversmoothing is not necessarily more accurate. There is perhaps a general misconception that reducing oversmoothing is always desirable because many of the earlier methods proposed to tackle oversmoothing also implicitly introduce some form of regularization. We hope that future research can shed more clarity on this.
220
+
221
+ 9
222
+
223
+ ## REFERENCES
224
+
225
+ Alessandro Achille and Stefano Soatto. Information dropout: Learning optimal representations through noisy computation. _IEEE transactions on pattern analysis and machine intelligence_ , 40 (12):2897–2905, 2018.
226
+
227
+ - Alexander A. Alemi, Ian Fischer, Joshua V. Dillon, and Kevin Murphy. Deep variational information bottleneck. In _International Conference on Learning Representations_ , 2017. URL https: //openreview.net/forum?id=HyxQzBceg.
228
+
229
+ - Wendong Bi, Bingbing Xu, Xiaoqian Sun, Zidong Wang, Huawei Shen, and Xueqi Cheng. Company-as-tribe: Company financial risk assessment on tribe-style graph with hierarchical graph neural networks. In _Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining_ , pp. 2712–2720, 2022.
230
+
231
+ - Cristian Bodnar, Francesco Di Giovanni, Benjamin Chamberlain, Pietro Li`o, and Michael Bronstein. Neural sheaf diffusion: A topological perspective on heterophily and oversmoothing in gnns. _Advances in Neural Information Processing Systems_ , 35:18527–18541, 2022.
232
+
233
+ - Chen Cai and Yusu Wang. A note on over-smoothing for graph neural networks. _arXiv preprint arXiv:2006.13318_ , 2020.
234
+
235
+ - Deli Chen, Yankai Lin, Wei Li, Peng Li, Jie Zhou, and Xu Sun. Measuring and relieving the oversmoothing problem for graph neural networks from the topological view. In _AAAI Conference on Artificial Intelligence_ , 2019.
236
+
237
+ - Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In _International conference on machine learning_ , pp. 1725–1735. PMLR, 2020.
238
+
239
+ - Mark Craven, Dan DiPasquo, Dayne Freitag, Andrew McCallum, Tom Mitchell, Kamal Nigam, and Se´an Slattery. Learning to extract symbolic knowledge from the world wide web. _AAAI/IAAI_ , 3 (3.6):2, 1998.
240
+
241
+ - Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. _arXiv preprint arXiv:1708.04552_ , 2017.
242
+
243
+ - Wenqi Fan, Yao Ma, Qing Li, Yuan He, Eric Zhao, Jiliang Tang, and Dawei Yin. Graph neural networks for social recommendation. In _The world wide web conference_ , pp. 417–426, 2019.
244
+
245
+ - Taoran Fang, Zhiqing Xiao, Chunping Wang, Jiarong Xu, Xuan Yang, and Yang Yang. Dropmessage: Unifying random dropping for graph neural networks. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 37, pp. 4267–4275, 2023.
246
+
247
+ - Wenzheng Feng, Jie Zhang, Yuxiao Dong, Yu Han, Huanbo Luan, Qian Xu, Qiang Yang, Evgeny Kharlamov, and Jie Tang. Graph random neural networks for semi-supervised learning on graphs. _Advances in neural information processing systems_ , 33:22092–22103, 2020.
248
+
249
+ - C Lee Giles, Kurt D Bollacker, and Steve Lawrence. Citeseer: An automatic citation indexing system. In _Proceedings of the third ACM conference on Digital libraries_ , pp. 89–98, 1998.
250
+
251
+ - William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In _NIPS_ , 2017.
252
+
253
+ - Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 770–778, 2016.
254
+
255
+ - Hemant Ishwaran and J Sunil Rao. Spike and slab variable selection: Frequentist and bayesian strategies. _arXiv preprint math/0505633_ , 2005.
256
+
257
+ - Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. In _International Conference on Learning Representations_ , 2017. URL [URL removed] net/forum?id=rkE3y85ee.
258
+
259
+ 10
260
+
261
+ - John Jumper, Richard Evans, Alexander Pritzel, Tim Green, Michael Figurnov, Olaf Ronneberger, Kathryn Tunyasuvunakool, Russ Bates, Augustin Z´ıdek, Anna Potapenko, et al.[ˇ] Highly accurate protein structure prediction with alphafold. _Nature_ , 596(7873):583–589, 2021.
262
+
263
+ - Nicolas Keriven. Not too little, not too much: a theoretical analysis of graph (over) smoothing. _Advances in Neural Information Processing Systems_ , 35:2268–2281, 2022.
264
+
265
+ - Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In _International Conference on Learning Representations_ , 2017. URL https: //openreview.net/forum?id=SJU4ayYgl.
266
+
267
+ - Artemy Kolchinsky, Brendan D. Tracey, and Steven Van Kuyk. Caveats for information bottleneck in deterministic scenarios. In _International Conference on Learning Representations_ , 2019. URL [URL removed]
268
+
269
+ - Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In _AAAI Conference on Artificial Intelligence_ , 2018.
270
+
271
+ - Andrew Kachites McCallum, Kamal Nigam, Jason Rennie, and Kristie Seymore. Automating the construction of internet portals with machine learning. _Information Retrieval_ , 3:127–163, 2000.
272
+
273
+ - Siqi Miao, Mia Liu, and Pan Li. Interpretable and generalizable graph learning via stochastic attention mechanism. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), _Proceedings of the 39th International Conference on Machine Learning_ , volume 162 of _Proceedings of Machine Learning Research_ , pp. 15524–15543. PMLR, 17–23 Jul 2022. URL [URL removed]
274
+
275
+ - Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. _Advances in neural information processing systems_ , 26, 2013.
276
+
277
+ - Kenta Oono and Taiji Suzuki. Graph neural networks exponentially lose expressive power for node classification. In _International Conference on Learning Representations_ , 2020. URL https: //openreview.net/forum?id=S1ldO2EFPr.
278
+
279
+ - Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. Geom-gcn: Geometric graph convolutional networks. In _International Conference on Learning Representations_ , 2020. URL [URL removed]
280
+
281
+ - Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In _International Conference on Learning Representations_ , 2020. URL [URL removed]
282
+
283
+ - T Konstantin Rusch, Ben Chamberlain, James Rowbottom, Siddhartha Mishra, and Michael Bronstein. Graph-coupled oscillator networks. In _International Conference on Machine Learning_ , pp. 18888–18909. PMLR, 2022.
284
+
285
+ - T Konstantin Rusch, Michael M Bronstein, and Siddhartha Mishra. A survey on oversmoothing in graph neural networks. _arXiv preprint arXiv:2303.10993_ , 2023.
286
+
287
+ - 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.
288
+
289
+ - Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. _Journal of Machine Learning Research_ , 15(56):1929–1958, 2014. URL [URL removed] srivastava14a.html.
290
+
291
+ - Naftali Tishby, Fernando C Pereira, and William Bialek. The information bottleneck method. _arXiv preprint physics/0004057_ , 2000.
292
+
293
+ - Petar Veliˇckovi´c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li`o, and Yoshua Bengio. Graph attention networks. In _International Conference on Learning Representations_ , 2018. URL [URL removed]
294
+
295
+ 11
296
+
297
+ - Tailin Wu, Hongyu Ren, Pan Li, and Jure Leskovec. Graph information bottleneck. _Advances in Neural Information Processing Systems_ , 33:20437–20448, 2020.
298
+
299
+ - Xinyi Wu, Zhengdao Chen, William Wang, and Ali Jadbabaie. A non-asymptotic analysis of oversmoothing in graph neural networks. _arXiv preprint arXiv:2212.10701_ , 2022.
300
+
301
+ - Lingxiao Zhao and Leman Akoglu. Pairnorm: Tackling oversmoothing in gnns. In _International Conference on Learning Representations_ , 2020. URL [URL removed] id=rkecl1rtwB.
302
+
303
+ 12
304
+
305
+ ## A ADDITIONAL RESULTS
306
+
307
+ - A.1 SMOOTHING OF DROPEDGE AND DROPMESSAGE
308
+
309
+ **==> picture [397 x 401] intentionally omitted <==**
310
+
311
+ **----- Start of picture text -----**<br>
312
+ Cora Texas Cornell<br>10 [0] Vanilla<br>DropEdge 10 [1] 10 [1]<br>DropEdge (Train)<br>DropMessage<br>10 [2] DropMessage (Train)Skip 10 [2] 10 [2]<br>DropoutDropout (Train) 10 [3] 10 [3]<br>10 [4] 10 [4] 10 [4]<br>10 [5] 10 [5]<br>10 [6] 10 [6] 10 [6]<br>10 [7]<br>10 [7]<br>1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128<br>Layer<br>Figure 4: Full oversmoothing comparison using mean average distance.<br>A.2 DROPEDGE OVERSMOOTHING VS TEST ACCURACY<br>Cora Citeseer Pubmed<br>∆ test acc 0.04 4 0.06 3 0.020<br>5<br>2<br>0.03 0.015<br>2 0.04<br>0 ∆ smoothing (Train) 0.02 1 0.010<br>∆ smoothing 0 0.02<br>0 0.005<br>5 0.01<br>2 0.00 1 0.000<br>0.00<br>10 0.005<br>5.0 2.5 3<br>4 10<br>2.5 0.0 3 2<br>5<br>2<br>0.0 2.5 2 1<br>0<br>2.5 5.0 0 0<br>1 5<br>5.0 7.5 2 1<br>10<br>0<br>7.5 10.0<br>0 1 0 1 0 1<br>τ<br>MAD<br> MAD<br>∆<br>test acc (%)<br>∆<br> Dir Energy<br>∆<br>**----- End of picture text -----**<br>
313
+
314
+ Figure 5: Oversmoothing and test accuracy relationship when DropEdge is applied. Oversmoothing here is calculated on only node pairs with different labels.
315
+
316
+ 13
317
+
318
+ ## A.3 LEARN2DROP OVERSMOOTHING
319
+
320
+ **==> picture [397 x 201] intentionally omitted <==**
321
+
322
+ **----- Start of picture text -----**<br>
323
+ Cora Citeseer Cornell<br>10 [0]<br>Vanilla<br>DropEdge<br>10 [2] DropMessageSkip 10 [2] 10 [2]<br>L2D<br>10 [4] L2D* 10 [4] 10 [4]<br>10 [6] 10 [6] 10 [6]<br>1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128<br>Chameleon Wisconsin Texas<br>10 [1]<br>10 [2] 10 [2]<br>10 [3] 10 [4] 10 [4]<br>10 [5] 10 [6]<br>10 [6]<br>1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128 1 16 32 48 64 80 96 112 128<br>Layer<br>MAD<br>**----- End of picture text -----**<br>
324
+
325
+ Figure 6: Oversmoothing comparison across six node classification datasets, using MAD.
326
+
327
+ ## B EXPERIMENTAL SETUP
328
+
329
+ We provide details of the model architectures and parameter settings for each of our experiments. All of our experiments were conducted using a V100 GPU on a Colab Pro+ subscription.
330
+
331
+ ## B.1 EXPERIMENTS IN SECTION 3.3 (OVERSMOOTHING VS MODEL PERFORMANCE)
332
+
333
+ For this experiment, we train shallow 3-layer GNNs on Cora, Citeseer and Pubmed using the GCN architecture provided by torch-geometric[2] . The Adam optimizer from pytorch is used for all experiments in this work. The train-validation-test splits are the ones defined by setting the public parameter in torch-geometric. The DropEdge probability is fixed at 0.5.
334
+
335
+ |**Parameter**|**Cora**|**Citeseer**|**Pubmed**|
336
+ |---|---|---|---|
337
+ |LearningRate|0.003|0.005|0.003|
338
+ |TrainingEpochs|2000|2000|2000|
339
+ |EarlyStopping|150|150|150|
340
+ |EmbeddingSize|32|32|32|
341
+ |Number of Layers|3|3|3|
342
+
343
+ Table 2: Training and Implementation Details for GNNs on Different Datasets
344
+
345
+ ## B.2 EXPERIMENTS IN SECTION 5.1 (OVERSMOOTHING ANALYSIS)
346
+
347
+ In this section we mainly focus on observing oversmoothing for individual models rather than strictly comparing them. There is no rigourous grid search of parameters. The same settings are used across all methods for the same dataset. 0 _._ 5 is used as the dropping probability for both DropMessage and DropEdge.
348
+
349
+ > 2[URL removed]
350
+
351
+ 14
352
+
353
+ |**Parameter**|**Cora**|**Citeseer**|**Cornell**|**Chameleon**|**Wisconsin**|**Texas**|
354
+ |---|---|---|---|---|---|---|
355
+ |LearningRate|0.01|0.005|0.002|3e-5|2e-5|5e-5|
356
+ |TrainingEpochs|2000|2000|2000|3500|500|500|
357
+ |EarlyStopping|150|150|150|450|150|150|
358
+ |EmbeddingSize|32|32|32|32|32|32|
359
+ |Number of Layers|128|128|128|128|128|128|
360
+
361
+ Table 3: Training details for GNNs
362
+
363
+ ## B.3 EXPERIMENTS IN SECTION 5.2 (MODEL PERFORMANCE)
364
+
365
+ In these experiments we attempt to compare model performance across different randrom dropping methods. As such, we perform a grid search on the learning rate. The ranges of this search are specified in the table and the search space is logarithmic. The same settings are used across all methods for the same dataset.
366
+
367
+ |**Parameter**<br>LearningRate<br>TrainingEpochs<br>EarlyStopping<br>EmbeddingSize|**Cora 3**|**Citeseer 3**|**Cornell 3**|**Chameleon 3**|**Wisconsin 3**|**Texas 3**|
368
+ |---|---|---|---|---|---|---|
369
+ ||2e-4 to 1e-6|2e-4 to 1e-6|2e-4 to 1e-6|1e-5 to 1e-6|1e-5 to 1e-6|2e-5 to 2e-6|
370
+ ||2000|2000|2000|3500|500|500|
371
+ ||150|150|150|450|150|150|
372
+ ||32|32|32|32|32|32|
373
+
374
+ Table 4: 3 layer models
375
+
376
+ |**Parameter**|**Cora 32**|**Citeseer 32**|**Cornell 32**|**Chameleon 32**|**Wisconsin 32**|**Texas 32**|
377
+ |---|---|---|---|---|---|---|
378
+ |LearningRate|2e-4 to 1e-6|2e-4 to 1e-6|2e-4 to 1e-6|1e-5 to 1e-6|1e-5 to 1e-6|2e-5 to 2e-6|
379
+ |TrainingEpochs|4000|4000|4000|4500|5500|5500|
380
+ |EarlyStopping|550|550|550|1450|1450|1450|
381
+ |EmbeddingSize|32|32|32|32|32|32|
382
+
383
+ Table 5: 32 layer models
384
+
385
+ |**Parameter**|**Cora 64**|**Citeseer 64**|**Cornell 64**|**Chameleon 64**|**Wisconsin 64**|**Texas 64**|
386
+ |---|---|---|---|---|---|---|
387
+ |LearningRate|1e-3 to 2e-5|1e-3 to 2e-5|2e-4 to 2e-5|9e-4 to 9e-6|9e-4 to 9e-6|9e-4 to 9e-6|
388
+ |TrainingEpochs|4000|4000|4000|4500|5500|5500|
389
+ |EarlyStopping|550|550|550|1450|1450|1450|
390
+ |EmbeddingSize|32|32|32|32|32|32|
391
+
392
+ Table 6: 64 layer models
393
+
394
+ Moreover, there are method-specific parameters obtained using grid search.
395
+
396
+ |**Parameter**|**Start**|**End**|**Search Space**|
397
+ |---|---|---|---|
398
+ |DropEdge _p_|0.2|0.8|Linear|
399
+ |DropMessage _p_|0.2|0.8|Linear|
400
+ |L2D _β_|0|100|Logarithmic|
401
+
402
+ Table 7: Parameter Search Ranges
403
+
404
+ 15
405
+
open_review/iclr2024_8798.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8798",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Efficient Large Language Models Fine-Tuning on Graphs",
6
+ "abstract": "Learning from Text-Attributed Graphs (TAGs) has attracted significant attention due to its wide range of real-world applications. The rapid evolution of large language models (LLMs) has revolutionized the way we process textual data, which indicates a strong potential to replace shallow text embedding generally used in Graph Neural Networks (GNNs). However, we find that existing LLM approaches that exploit text information in graphs suffer from inferior computation and data efficiency. In this work, we introduce a novel and efficient approach for the end-to- end fine-tuning of Large Language Models (LLMs) on TAGs, named LEADING. The proposed approach maintains computation cost and memory overhead comparable to the graph-less fine-tuning of LLMs. Moreover, it transfers the rick knowledge in LLMs to downstream graph learning tasks effectively with limited labeled data in semi-supervised learning. Its superior computation and data efficiency are demonstrated through comprehensive experiments, offering a promising solution for a wide range of LLMs and graph learning tasks on TAGs.",
7
+ "rebuttal": "### A Friendly Reminder\nDear Reviewer k4U4,\n\nWe are thankful for your valuable comments and suggestions. We hope that our responses have addressed all your concerns. As there is only one day remaining in the author-reviewer discussion period, we kindly request you let us know if you have any additional questions. We greatly appreciate your further feedback.\n\nIf you find our responses satisfactory, we would kindly request an update of the rating to reflect your assessment. Your feedback is valuable to us, and we appreciate your time and consideration.\n\nBest regards,\n\nAll authors\n\n### A Friendly Reminder\nDear Reviewer DmWL,\n\nWe are thankful for your valuable comments and suggestions. We hope that our responses have addressed all your concerns. As there is only one day remaining in the author-reviewer discussion period, we kindly request you let us know if you have any additional questions. We greatly appreciate your further feedback.\n\nIf you find our responses satisfactory, we would kindly request an update of the rating to reflect your assessment. Your feedback is valuable to us, and we appreciate your time and consideration.\n\nBest regards,\n\nAll authors\n\n### A Friendly Reminder\nDear Reviewer sP5C,\n\nWe are thankful for your valuable comments and suggestions. We hope that our responses have addressed all your concerns. As there is only one day remaining in the author-reviewer discussion period, we kindly request you let us know if you have any additional questions. We greatly appreciate your further feedback.\n\nIf you find our responses satisfactory, we would kindly request an update of the rating to reflect your assessment. Your feedback is valuable to us, and we appreciate your time and consideration.\n\nBest regards,\n\nAll authors\n\n### A Friendly Reminder\nDear Reviewer LoZg,\n\nWe are thankful for your valuable comments and suggestions. We hope that our responses have addressed all your concerns. As there is only one day remaining in the author-reviewer discussion period, we kindly request you let us know if you have any additional questions. We greatly appreciate your further feedback.\n\nIf you find our responses satisfactory, we would kindly request an update of the rating to reflect your assessment. Your feedback is valuable to us, and we appreciate your time and consideration.\n\nBest regards,\n\nAll authors\n\n### Further Response for your Concerns\nDear Reviewer, \n\nThank you so much for your feedback. We really appreciate that you express your remaining concerns, and we are happy to fully address them.\n\n(1) We would like to emphasize that our paper only focuses on LLM-GNN architecture for learning on text-attributed graphs, and all of our experiments (including the paper and rebuttal) are based on LLM-GNN. Therefore, our study does not deviate from the original topic of \"LLMs for GNNs\". \n\nIn our response, we mention the feasibility of replacing the LLM backbone to process other types of attributes, [...]\n\n### Further Response for your Concerns\nThanks for letting us know your remaining concern about the GPT-2 performance. We are happy to further clarify this.\n\n(1) In our response, we have shown that FT GPT-2 can achieve 70.8% (GCN) and 71.7% (GAT) accuracy on Cora, which aligns with your comment (higher than 52%). Please refer to \"Supervised-FT GPT-2 in the Table \"LEADING performance (%) with GPT-2\" of our response.\n\n\n(2) We want to point out that the performance of GLEM highly depends on the labeling ratio. In all of our experiments (for all LM backbones such as DeBERTa, BERT, and GPT-2), GLEM [...]\n\n### Rebuttal by Authors - Continue Post 2\n**Q2.** The performance of the proposed method is not superior. For example, on Cora dataset, the proposed method equipped with LLMs are inferior to the Shallow Embedding.\n\n**A2.** We would like to point out that the proposed LEADING method outperforms all LLM baselines on all datasets. Moreover, LEADING outperforms ”Shallow Embedding” by 4% and around 2% on ogbn-arxiv and PubMed, respectively. We also provide a further experiment based on ogbn-products. For simplicity, we utilize GraphSAGE as the downstream GNN backbone in this context. \n\nIn the prese [...]\n\n### Rebuttal by Authors - Continue Post 2\n**Q2.** Statistical significance tests are missing. It is unclear whether the gaps between LEADING and the baselines are statistically significant or not. In fact, the gaps on arXiv are quite subtle in Table 1, therefore p-values should be reported./Could you conduct statistical significance tests to compare LEADING with the baselines on arXiv?\n\n**A2.** Thanks for your suggestion. We perform 5 times experiments on both our proposed algorithm and the best baselines, GLEM, which has the closest performance as ours on ogbn-arxiv, here we show the results [...]\n\n### Rebuttal by Authors - Continue Post 2\n**Q2.** In order to fully grasp the importance of the techniques it is advisable to conduct ablation studies that elucidate their individual contributions. / The ablation study seems to have limitations. It would be beneficial to conduct ablation experiments to assess the individual contributions of neighbor decoupling and implicit modeling towards the observed improvements.\n\n**A2.** Thanks again for your suggestion. As discussed in previous answer, the improvements in prediction accuracy come from the improved scalability to support end-to-end traini [...]\n\n### Rebuttal by Authors - Continue Post 2\n**Q2.** The technical novelty is limited. Caching neighborhoods has been one of the common techniques to speed up GNN-LMs.\n\n**A2.** We respectively disagree with this comment. In our paper, we provide a comprehensive survey of related works, and no existing work can achieve end-to-end fine-tuning of LLMs on graphs. Our proposed algorithm is the first to achieve this goal and shows tremendously improved scalability: the training cost of LEADING is close to the training of LLMs without graphs (refer to the scalability analysis in Table 2 in our submissio [...]\n\n### Rebu\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 3,
10
+ 6,
11
+ 5,
12
+ 5
13
+ ],
14
+ "score_mean": 4.75,
15
+ "score_variance": 1.58,
16
+ "score_spread": 3,
17
+ "score_min": 3,
18
+ "score_max": 6,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "This paper proposes an approach combining GNNs with language models for learning on text-attributed graphs. Specifically, the proposed method uses a language model as a feature representation encoder for the textual node features, and then apply GNNs on top of it. The GNN and the language model are then trained/fine-tuned in an end-to-end way. The key innovation is that the proposed method caches some of the neighbor representation calculation, and also stops the gradient to neighbor representations to improve computational efficiency.\n\nSeveral reviewers commented that the proposed method is relatively straightforward with limited technical contribution. Furthermore, the proposed method isn't performing particularly well in comparison to GNN methods. Given the heavy computation overhead of introducing a language model, the benefit of the proposed method is rather questionable.",
22
+ "forum_id": "DVA0NDUdCQ",
23
+ "primary_area": "learning on graphs and other geometries & topologies",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_LoZg",
28
+ "review_id": "2iCBZx07nD",
29
+ "scores": {
30
+ "rating": 3,
31
+ "soundness": 2,
32
+ "presentation": 2,
33
+ "contribution": 2,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 1115,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 121749,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_sP5C",
44
+ "review_id": "tXpAJhoqp2",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 2,
48
+ "presentation": 2,
49
+ "contribution": 3,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 5503,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 562127,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_DmWL",
60
+ "review_id": "Lj0tLNqVA4",
61
+ "scores": {
62
+ "rating": 5,
63
+ "soundness": 2,
64
+ "presentation": 3,
65
+ "contribution": 2,
66
+ "confidence": 4
67
+ },
68
+ "review_text_chars": 2785,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 695546,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_k4U4",
76
+ "review_id": "4fS92zL51b",
77
+ "scores": {
78
+ "rating": 5,
79
+ "soundness": 3,
80
+ "presentation": 3,
81
+ "contribution": 2,
82
+ "confidence": 3
83
+ },
84
+ "review_text_chars": 2486,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 792959,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8798.md ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## EFFICIENT LARGE LANGUAGE MODELS FINE-TUNING ON GRAPHS
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Learning from Text-Attributed Graphs (TAGs) has attracted significant attention due to its wide range of real-world applications. The rapid evolution of large language models (LLMs) has revolutionized the way we process textual data, which indicates a strong potential to replace shallow text embedding generally used in Graph Neural Networks (GNNs). However, we find that existing LLM approaches that exploit text information in graphs suffer from inferior computation and data efficiency. In this work, we introduce a novel and efficient approach for the end-toend fine-tuning of Large Language Models (LLMs) on TAGs, named LEADING. The proposed approach maintains computation cost and memory overhead comparable to the graph-less fine-tuning of LLMs. Moreover, it transfers the rick knowledge in LLMs to downstream graph learning tasks effectively with limited labeled data in semi-supervised learning. Its superior computation and data efficiency are demonstrated through comprehensive experiments, offering a promising solution for a wide range of LLMs and graph learning tasks on TAGs.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Graph neural networks (GNNs) have been widely used for representation learning on graphstructured data (Hamilton, 2020; Ma & Tang, 2021), and they achieve promising state-of-the-art performance on various graph learning tasks, such as node classification, link prediction, and graph classification. Numerous graphs within these domains exhibit nodes that are linked to textual attributes, leading to the prevalence of text-attributed graphs (TAGs). TAGs provide a graph-based framework for representing textual data and illustrating connections between phrases, sentences, or documents through edges. The fusion of textual attributes and graph topology constitutes a valuable wellspring of information, bolstering representation learning in real-world applications such as recommender systems (Jin et al., 2023), citation graphs (Hu et al., 2020; Yang et al., 2016), social networks (Hamilton et al., 2017), and knowledge graphs (Wang et al., 2021).
14
+
15
+ In the context of GNNs, shallow text embeddings such as Bag-of-Words (Harris, 1954) and Word2Vec (Mikolov et al., 2013) are usually extracted from raw textual data and used as the numerical node attributes in GNNs due to their superior simplicity and efficiency. However, as they do not fully capture the complex textual semantic features, these approaches inherently restrict the performance of downstream tasks. On the other hand, the recursive feature aggregation in GNNs results in the well-known neighborhood explosion problem (Hamilton et al., 2017) such that the computation of each node involves its _L_ -hop neighbors with _L_ feature aggregation layers. This not only leads to significant scalability challenges but also limits the exploration of more complex and powerful deep learning techniques such as LLMs for the representation learning on TAGs.
16
+
17
+ Recently, researchers have begun to explore the potential of pre-trained large language models (LLMs), such as BERT (Devlin et al., 2018), Deberta (He et al., 2020) and DistilBERT (Sanh et al., 2019), for representation learning on TAGs due to their unprecedented capabilities in language understanding and generation across a wide range of tasks. The commonly adopted approach follows a _cascaded structure_ (Chen et al., 2023). This entails an initial LLM fine-tuning step on downstream tasks such as node classification. Subsequently, the text embeddings extracted from the fine-tuned LLMs are leveraged as the initial node features for downstream GNNs. Although the cascaded structure is efficient, graph structural information is not incorporated in the fine-tuning of LLMs, resulting in sub-optimal performance. To address this issue, the _iterative structure_ has also been
18
+
19
+ 1
20
+
21
+ explored for the joint training of LLMs and GNNs. For instance, GLEM (Zhao et al., 2022) trains LLMs and GNNs separately in an iterative manner by generating pseudo labels for each other. In addition, _self-supervised learning_ has also been proposed to enhance LLMs by link prediction tasks, exemplified by GIANT (Chien et al., 2021).
22
+
23
+ The aforementioned works demonstrate the potential of exploiting LLMs on TAGs. However, these approaches still face limitations in _data efficiency_ or _computation efficiency_ . First, both cascaded and iterative structures encounter significant data inefficiency. When the labeled data is scarce, these methods struggle to effectively transfer the required knowledge for downstream tasks as the fine-tuning strategies do not utilize labeled data efficiently. Second, both iterative structures and the self-supervised learning approach introduce a substantial increase in computational overhead. This elevated computational cost poses scalability challenges, especially when dealing with largescale datasets. These shortcomings tremendously limit their applications in transferring the rich knowledge of LLMs to facilitate representation learning on TAGs.
24
+
25
+ In this paper, we aim to develop an efficient LLM fine-tuning algorithm that not only effectively adapts LLMs to downstream tasks with limited labeled data ( _data efficiency_ ) but also exhibits superior scalability ( _computation efficiency_ ). To this end, we first reveal the _encoding redundancy_ and _propagation redundancy_ in fine-tuning LLMs with GNNs. To reduce these redundancies, we propose a novel LLM-GNN end-to-end training algorithm (LEADING) to efficiently fine-tune LLMs on TAGs. Our empirical study demonstrates that the proposed algorithm exhibits strong scalability comparable to graph-less LLMs fine-tuning. Moreover, it transfers the rich knowledge encoded in LLMs to downstream tasks much more effectively than existing approaches with limited labeled data. Therefore, it offers a promising solution for a wide range of LLMs and graph learning tasks on TAGs.
26
+
27
+ ## 2 RELATED WORK
28
+
29
+ ## In this section, we will mainly summarize related works exploring LLMs for learning on TAGs.
30
+
31
+ **Basic structure of LLMs integrated with GNNs.** To address the limitations posed by the simple cascaded structure, which lacks the ability to harness topological information from the graph, several approaches have recently emerged to enhance Transformer structures or graph representation techniques. Some of these methods incorporate graph structure information into attention computation (Park et al., 2022), while others introduce orthogonal vectors for node and edge tokens to capture structural nuances (Kim et al., 2022). While these enhancements can be effective, they often involve complex attention mechanisms, rendering the direct representation of graph structure a challenging endeavor and significantly increasing the computation complexity of model training.
32
+
33
+ **Advanced structure of LLMs integrated with GNNs.** To address the aforementioned challenges, researchers have explored approaches that combine Large Language Models (LLMs) with graphbased techniques. Notable examples include Graphformers (Yang et al., 2021), GLEM (Zhao et al., 2022), which employs iterative training as mentioned earlier, and Grad (Mavromatis et al., 2023), which uses GNNs for knowledge distillation on language models. However, these models have their drawbacks. They either rely on a powerful student model to generate high-quality soft labels, which necessitate abundant training data, or introduce significant computational overhead. Additionally, there are other approaches like GIANT (Chien et al., 2021), which uses neighbor prediction to fuse graph into LLMs, and E2EG (Dinh et al., 2022), which incorporates node classification into the joint training process of GIANT. However, these models also face scalability challenges.
34
+
35
+ **Large-scale GNNs.** A substantial body of existing research is dedicated to enhancing the efficiency and scalability of large-scale GNNs through innovative designs. These designs encompass sampling methods, pre-computing, and post-computing techniques. Sampling methods employ minibatch training strategies to reduce computation and memory demands by selectively sampling nodes and edges. They mitigate the neighbor explosion issue through practices such as neighbor sampling (Hamilton et al., 2017; Chen et al., 2018a; Zeng et al., 2019) or feature memory updating (Fey et al., 2021; Xue et al., 2023). Pre-computing and post-computing methods separate the feature aggregation and prediction models into distinct stages. Pre-computing involves feature aggregation before training (Wu et al., 2019; Frasca et al., 2020; Sun et al., 2021), while post-computing includes
36
+
37
+ 2
38
+
39
+ label propagation after training (Huang et al., 2020). However, these methods have not been shown to be feasible for the end-to-end training or fine-tuning of LLMs.
40
+
41
+ ## 3 METHODOLOGY
42
+
43
+ GNNs have been proven to be data-efficient due to their excellent prediction performance on semisupervised graph learning tasks where only very limited labeled data is available. The data efficiency of GNNs can be largely attributed to their ability to integrate node attributes and graph structure information in a unified message-passing framework. Through end-to-end training, it leverages the scarce labeled data to provide informative supervision for the vast pool of unlabeled nodes. However, GNNs’ data efficiency comes with the sacrifice of computation efficiency (Hamilton et al., 2017).
44
+
45
+ From the LLMs perspective, most of the existing approaches exploiting LLMs for learning on TAGs fall short in data efficiency and thus fail to effectively adapt the rich knowledge in LLMs to downstream graph learning tasks as discussed in Section 1 and Section 2. We conjecture that their data inefficiency originates from the fact that existing methods can not fine-tune LLMs with graph learning in an end-to-end manner due to the scalability challenges in both LLMs and GNNs.
46
+
47
+ Motivated by the above analyses, we aim to improve the data efficiency of fine-tuning LLMs for graph learning on TAGs by developing an end-to-end LLM-GNN training approach. To this end, we have to deal with the scalability challenges coupled with LLMs and GNNs. In this section, we will first analyze the computation redundancy in fine-tuning LLMs with GNNs. Then we propose a novel end-to-end fine-tuning strategy (LEADING) to reduce these redundancies, which leads to a highly efficient and scalable solution. Before that, we first introduce the notations as follows.
48
+
49
+ **Notations.** A graph is represented by _G_ = ( _V, E_ ) where _V_ = _{v_ 1 _, . . . , vN }_ is the set of nodes and _E_ = _{e_ 1 _, . . . , eM }_ is the set of edges. For a text-attributed graph, each node _vi_ is associated with a sequential of raw text feature. We denote the _d_ -dimensional hidden feature vectors of nodes as **X** _∈_ R _[N][×][d]_ . The graph structure of _G_ can be represented by an adjacency matrix **A** _∈_ R _[N][×][N]_ , where **A** _ij >_ 0 when there exists an edge between node _vi_ and _vj_ , and **A** _i,j_ = 0 otherwise. The symmetrically normalized graph Laplacian matrix is defined as **L**[˜] = **I** _−_ **A**[˜] with **A**[˜] = **D** _[−]_[1] _[/]_[2] **AD** _[−]_[1] _[/]_[2] where **D** is the degree matrix.
50
+
51
+ ## 3.1 COMPUTATION REDUNDANCY IN LLM-GNN
52
+
53
+ Although the end-to-end LLM-GNN training potentially offers the advantage of data efficiency, it does come with tremendous scalability limitations. While various sampling approaches have been proposed to improve the scalability and efficiency of GNN training, the integration of LLMs with GNNs in an end-to-end training paradigm introduces its own unique hurdles, primarily due to the huge computation and memory costs of LLMs due to their giant sizes. To address these challenges, we first provide a novel and insightful analysis of computation redundancy in the end-to-end training framework, such as encoding redundancy in LLMs and propagation redundancy in GNNs, which pinpoints the scalability bottleneck we can try to reduce.
54
+
55
+ **Encoding Redundancy.** In the integration of LLMs with GNNs, we have to adopt mini-batch sampling to reduce the computation and memory costs due to the giant size of LLMs. However, existing sampling strategies of GNNs exhibit heavy redundancy that requires frequently repeated LLM encoding of node features. Taking the mini-batch sampling in Figure 1 as an example, the node features need to be encoded by LLMs multiple times through every epoch, either as target nodes themselves or as neighbors of other target nodes. For example, _V_ 1 serves as a target node in Batch 1 and serves as a neighbor node in Batch 2 and Batch 3. However, the LLM embedding of the node features will not have notable changes between the mini-batch iterations due to the nature of model fine-tuning.
56
+
57
+ The above analysis implies that a significant amount of computation on LLM encoding is redundant. This redundancy becomes particularly considerable when we employ smaller batch sizes, as typically used in LLMs, as well as when we introduce more aggregation layers to capture long-distance information in GNNs. According to our statistical analysis on ogbn-arxiv dataset, during each epoch in the training of a 2-layer GCN with GraphSAGE sampling, the node feature of each node is encoded as a target node only once but as a neighbor node 19 times on average when the batch size
58
+
59
+ 3
60
+
61
+ is 1024 (25 times when the batch size is 64). For a 5-layer GCN that requires sampling from 5-hop neighbors, the node feature of each node is encoded 96 times as a neighbor node on average. This statistical analysis clearly verifies the LLM encoding redundancy in mini-batch GNNs.
62
+
63
+ **==> picture [238 x 74] intentionally omitted <==**
64
+
65
+ Figure 1: Encoding Redundancy in Mini-batch GNNs.
66
+
67
+ **Propagation Redundancy.** Besides the LLM encoding redundancy, there also exists propagation redundancy in GNNs. As discovered by a recent work (Xue et al., 2023), the node embedding in the GNN layers will not change notably over the training iterations but the node information is propagated multiple times repeatedly in each iteration to capture long-distance dependency on graphs. This propagation redundancy causes huge sampling, memory, and computation costs that increase significantly with the number of aggregation layers employed.
68
+
69
+ Next, we will propose a Large language models fine-tuning on Graph (LEADING) algorithm that tackles the encoding redundancy in Section 3.2 and propagation redundancy in Section 3.3.
70
+
71
+ ## 3.2 LEADING: NEIGHBOR DECOUPLING
72
+
73
+ **==> picture [238 x 153] intentionally omitted <==**
74
+
75
+ Figure 2: Two-pipeline training process for our proposed LEADING algorithm.
76
+
77
+ Due to the huge computation and memory cost of LLMs, it is imperative to reduce the redundant LLM encoding computation. Our first observation is that for a sampled subgraph, only the target nodes obtain accurate aggregated features and gradients. On the contrary, the major role of neighbor nodes is to facilitate predictions for target nodes but they may not obtain accurate aggregation features and gradients due to their missing neighbors. In other words, the mini-batch neighbor sampling tries to maximally maintain the neighbors of target nodes but the neighbors of neighbors might be out of the batch. As a result, it is feasible to only use the gradient of target nodes to update the LLMs. The second key observation is that the LLM embedding will not change fast during the fine-tuning stage such that we do not need to update the LLM embedding of neighbor nodes in real time.
78
+
79
+ **Neighbor Decoupling.** These key observations motivate us to design a novel training algorithm that fully decouples the LLM computation of target nodes and their neighbor node as shown in Figure 2 and Algorithm 1. To reduce the encoding redundancy, we opt to segregate the encoding of target and neighbor nodes into two distinct pipelines. On the one hand, for pipeline 1, the LLM only computes the encoding of target nodes **X** 1 (line 5). It then retrieves the LLM embedding of neighbor nodes **X** neighbor from the memory bank of encoded feature embedding and concat **X** 1 and **X** neighbor as the
80
+
81
+ 4
82
+
83
+ node embedding of the whole subgraph (line 7) before being fed into GNNs (line 8). On the other hand, for pipeline 2, the LLM randomly sample node features from the whole graph and compute their LLM embedding without requiring gradient (line 3). The computed LLM embedding from both pipeline 1 (line 6) and pipeline 2 (line 4) will be cached in the memory to update the embedding and reduce embedding staleness.
84
+
85
+ This two-pipeline neighbor decoupling approach offers two significant benefits. First, it completely resolves the encoding redundancy problem, as the encoding times of each node in each epoch are controlled by the batch size used in the second pipeline. For instance, if two pipeline takes the same batch size, each node feature only needs to be encoded by LLM twice, which significantly reduces the computation cost. Second, the memory cost will be significantly reduced since the first pipeline that involves back-propagation training only needs to process target nodes without worrying about the neighbor explosion, which is the key to LLM fine-tuning.
86
+
87
+ ## **Algorithm 1** LEADING Algorithm
88
+
89
+ **Input:** Input Graph _G_ = ( _V, E_ ), Pre-trained LLM _f_ ( **T** _,_ Θ[0] ) **Output:** Fine-Tuned LLM _f_ ( **T** _,_ Θ _[∗]_ ) 1: **Begin** 2: **for** each mini-batch text **T** 1 in pipeline 1; each mini-batch text **T** 2 in pipeline 2 **do** 3: **X** 2 = _f_ ( **T** 2 _,_ Θ _[k]_ ): Neighbor Nodes Encoding (without gradients) 4: Cache into Memory **M** _←_ **X** 2 5: **X** 1 = _f_ ( **T** 1 _,_ Θ _[k]_ ): Target Nodes Encoding (with gradients) 6: Cache into Memory **M** _←_ **X** 1 7: **X** in = Concat( **X** 1 _,_ **X** neighbor) 8: **X** out = GNN( **X** in) 9: Compute Loss and Gradient Update 10: **end for**
90
+
91
+ ## 3.3 LEADING: IMPLICIT GRAPH MODELING
92
+
93
+ While the proposed two-pipeline neighbor decoupling technique can be used in any downstream GNNs, we aim to further improve its scalability by reducing propagation redundancy in GNNs. Motivated by recent advances in implicit models such as Neural ODE (Chen et al., 2018b), IGNN (Gu et al., 2020), and DEQ (Bai et al., 2019), as well as the unified view of graph signal denoising (Ma et al., 2021), we utilize an implicit graph modeling for feature aggregation in just one layer following IGNN and DEQ, which significantly reduces the memory cost of saving intermediate feature embedding. Moreover, motivated by LazyGNN, we reuse the computation results between training iterations to reduce computation costs.
94
+
95
+ In particular, the forward computation works as follows (similar to APPNP (Klicpera et al., 2018)):
96
+
97
+ **==> picture [302 x 30] intentionally omitted <==**
98
+
99
+ where _l_ and _k_ denote the index of layers and training iterations, respectively. The propagation starts from the aggregated feature **X** _[k] L[−]_[1] from the previous iterations, which reduces propagation cost. The backward propagation works as follows:
100
+
101
+ **==> picture [338 x 25] intentionally omitted <==**
102
+
103
+ where **G** _[k]_ 0[provides an approximation for gradient] _∂∂_ **X** _L[k]_ 0[.][Similarly, the backward propagation starts] from the gradient in previous iterations **G** _[k]_ 0 _[−]_[1] . Finally, the gradient of target nodes can be retrieved from **G** _[k]_ 0[and used for further back-propagation in the LLM] _[ f]_[(] **[T]**[1] _[,]_[ Θ] _[k]_[)][.][After the end-to-end fine-] tuning, we can utilize the tuned LLM to generate feature embedding, which serves as the initial embedding for any downstream GNNs.
104
+
105
+ 5
106
+
107
+ ## 3.4 COMPUTATION COMPLEXITY ANALYSIS
108
+
109
+ **LLM Complexity Analysis.** Suppose _N_ is the total number of nodes and _C_ is the computation complexity of encoding one node feature by LLMs. The total computation complexity of LLM encoding in the proposed LEADING algorithm is _O_ ( _NC_ ), which has a nice linear scaling in terms of graph size (number of nodes) but is independent of the graph density (number of edges).
110
+
111
+ Regarding memory complexity, suppose _O_ ( _S_ ) is the memory complexity for executing forward and backward propagation per node. For the mini-batch sampling, suppose _T_ and _B_ are the batch sizes of target nodes and neighbor nodes, respectively. Typically, we have _B ≫ T_ . Then the total memory complexity for LEADING is _O_ ( _TS_ ), which is the same as training LLMs without using graphs. It is much lower than the normal GNN training strategy whose memory complexity is _O_ (( _B_ + _T_ ) _S_ ). These complexity analyses indicate the intriguing scalability of LEADING in the LLM phase.
112
+
113
+ **GNN Complexity Analysis.** Suppose _N_ is the total number of nodes, _L_ is the number of propagation layers, and _H_ is the size of hidden units, and _M_ is the number of edges. Performing one feature aggregation in GNNs requires a sparse-dense matrix multiplication, which involves approximately _O_ ( _MH_ ) operations. Consequently, the computation complexity for both forward feature aggregations and backward gradient aggregations in GNNs is approximately _O_ (2 _LMH_ ) per epoch. It is worth noting that LEADING has fewer layers _L_ compared to existing approaches as described in Section 3.3. This reduction in the number of layers contributes to lowering the overall computation cost in feature aggregation.
114
+
115
+ For memory complexity, _O_ ( _NH_ ) is required to store the intermediate state at each feature aggregation layer, so the total memory complexity for a normal GNN is _O_ ( _LNH_ ). However, our algorithm achieves a memory complexity of _O_ ( _NH_ ) because we utilize implicit gradient modeling, which does not requires the storage of feature in intermediate layers. Therefore, the memory cost is independent of the number of aggregation layers. This indicates a significant reduction in terms of memory cost.
116
+
117
+ ## 4 EXPERIMENT
118
+
119
+ In this section, we present experiments to demonstrate the superior data efficiency and computation efficiency of the proposed end-to-end LLM-GNN fine-tuning method, namely LEADING. In particular, we try to answer the following questions: (Q1) Data efficiency: can our LEADING algorithm transfer the knowledge from LLMs to downstream graph learning tasks effectively with limited training data? (Section 4.1) and (Q2) Computation efficiency: can our LEADING algorithm be more scalable compared with other fine-tuning paradigms? (Section 4.2)
120
+
121
+ **Datasets.** We conduct experiments on both small and large text-attributed graph datasets including Cora (McCallum et al., 2000), PubMed (Sen et al., 2008) and ogbn-arxiv (Hu et al., 2020). We evaluate the effectiveness of LLM fine-tuning by taking semi-supervised node classification problems as the downstream tasks. We randomly split the data into training/val/test sets 10 times for Cora and PubMed and report the mean and variance of accuracy following existing works (Kipf & Welling, 2016). We adopt the default labeling ratios of these datasets, i.e., 20 training nodes per class for Cora and PubMed (low labeling rate) and 53.7% for ogbn-arxiv (high labeling rate).
122
+
123
+ **Baselines.** We compare the proposed LEADING algorithm with a set of LLM fine-tuning strategies:
124
+
125
+ - **Shallow Embedding:** Default shallow embeddings provided by PyG (Fey & Lenssen, 2019).
126
+
127
+ - **Pre-trained LLMs:** LLMs function as simple encoders without fine-tuning on labeled data, and the resulting feature embeddings are used as inputs for downstream GNNs.
128
+
129
+ - **Supervised-FT LLMs:** LLMs are directly fine-tuned using the labeled data under the supervised setting. Subsequently, the text embedding generated by the fine-tuned LLMs is used as the node embedding for downstream GNNs.
130
+
131
+ - **GIANT & GLEM:** We choose GIANT (Chien et al., 2021) and GLEM (Zhao et al., 2022) as the major baselines since they exhibit the excellent performance among all existing works. Moreover, GLEM is a representative method of iterative training strategy, while GIANT is a representative method of self-supervised training strategy. It is worth noting that due to the
132
+
133
+ 6
134
+
135
+ high training costs associated with GIANT, we only use the pre-trained features provided by their official repository.
136
+
137
+ **Evaluation setting.** For LLMs, in order to ensure a fair comparison with the baselines across different datasets, we select the same LLMs as used in their respective studies. Specifically, we use BERT (Devlin et al., 2018) as employed in GIANT and DeBERTa (He et al., 2020) as used in GLEM. To evaluate the effectiveness of LLMs fine-tuning, we extract the CLS (classification) embedding from the last hidden states of fine-tuned LLMs as the text embeddings, following the setting in GLEM. For downstream GNNs, we conduct performance comparisons on Cora and Pubmed using two classic GNNs, namely GCN (Kipf & Welling, 2016) and GAT (Veliˇckovi´c et al., 2017). In the case of ogbn-arxiv dataset, we employ GCN and Rev-GAT (Li et al., 2021) following existing works (Chen et al., 2023). We perform all hyperparameter tuning following baselines.
138
+
139
+ ## 4.1 PREDICTION PERFORMANCE
140
+
141
+ We evaluate the effectiveness of LLM fine-tuning by comparing the prediction accuracy on downstream GNNs. From the accuracy summarized in Table 1, we can make the following observations:
142
+
143
+ - In the low labeling setting (Cora and Pubmed), LEADING outperforms all other LLM finetuning strategies. Notably, compared with Supervised-FT DeBERTa, LEDING significantly boosts the performance of the DeBERTa from 59 _._ 2% to 80 _._ 6% for GCN and from 57 _._ 4% to 81 _._ 4% for GAT on Cora. A similar improvement can be observed on PubMed as well.
144
+
145
+ - On the contrary, GLEM (DeBERTa) performs badly in the low labeling rate setting. These comparisons clearly demonstrate the strong _data efficiency_ of the LEADING algorithm since it effectively transfers the knowledge from LLMs with very limited labeled data by end-toend LLM-GNN training. Note that we found that in the low labeling case, because of the poor quality of generated pseudo labels, GLEM actually achieves its best accuracy in a very special case when the ratio of pseudo labels is set to be 0, which will reduce GLEM to either pre-trained LLM (if using 0 learning rate) or supervised FT LLM. Hence we report the same performance as the best result obtained in pre-trained LLM and supervised FT LLM.
146
+
147
+ - Another crucial aspect to emphasize is the substantial influence of data efficiency on LLM fine-tuning. In scenarios with limited labeled data, the traditional approach of Supervised Fine-tuning using true labels can negatively impact performance. This observation clarifies instances in our results (Table 1) where the Supervised-FT method achieves similar performance to that of Pre-trained LLMs; this occurrence arises because none fine-tuning is a special case of Supervised-FT when the learning rate is set to 0. This underscores the significance of data efficiency, a key focus of improvement in our LEADING algorithm.
148
+
149
+ - Comparing Pre-trained DeBERTa with Supervised-FT DeBERTa, the fine-tuning without an end-to-end manner does not provide significant benefits in the low-labeling setting (Cora and PubMed), but it can become more helpful as the amount of training data increases (ogbn-arxiv).
150
+
151
+ - In the high labeling setting (ogbn-arxiv), LEADING also achieves strong performance. For DeBERTa, LEADING achieves 76 _._ 1% and 77 _._ 3% accuracy for GCN and Rev-GAT, which are better than GLEM (75 _._ 9% and 76 _._ 9%), a model that has proven to be very strong in the high labeling setting (Chen et al., 2023). For BERT, LEADING achieves 73 _._ 8% and 74 _._ 8% accuracy for GCN and Rev-GAT, which are better or comparable with GIANT (73 _._ 3% and 75 _._ 9%). However, it should be noted that LEADING achieves this remarkable performance with much better computation efficiency and scalability as will be discussed in Section 4.2.
152
+
153
+ ## 4.2 SCALABILITY ANALYSIS
154
+
155
+ In this section, we investigate the computation efficiency and scalability during the LLM fine-tuning stage. We select BERT and DeBERTa as the LLM architectures since they are used in the baselines of GIANT and GLEM. The results in Table 2 reveal the following noteworthy observations:
156
+
157
+ - The iterative training strategy such as GLEM and self-supervised training strategy such as GIANT exhibit significantly higher memory cost or running time compared to the cascaded structure such as Supervised-FT. The computational requirements for GIANT are orders of magnitude higher than others, and it runs Out of Memory (OOM) in our experiment.
158
+
159
+ 7
160
+
161
+ Table 1: Prediction accuracy (%) of LLM fine-tuning strategies. The **best** are marked as bold.
162
+
163
+ ||**Cora**|**Cora**|**Pubmed**|**Pubmed**||**Arxiv**|
164
+ |---|---|---|---|---|---|---|
165
+ |**METHODS**|**GCN**|**GAT**|**GCN**|**GAT**|**GCN**|**Rev-GAT**|
166
+ |Shallow Embedding|**82**_._**0**_±_**0**_._**7**|**82**_._**3**_±_**0**_._**7**|78_._9_±_2_._0|77_._7_±_0_._9|71.7|73.6|
167
+ |Pre-trained DeBERTa|48_._5_±_1_._9|51_._0_±_1_._2|62_._1_±_0_._1|62_._6_±_0_._3|45.7|47.8|
168
+ |Supervised-FT BERT|—|—|—|—|73.0|73.8|
169
+ |Supervised-FT DeBERTa|59_._2_±_1_._2|57_._4_±_2_._0|62_._1_±_0_._1|61_._6_±_0_._1|74.7|75.8|
170
+ |GIANT (BERT)|—|—|—|—|73.3|75.9|
171
+ |GLEM (DeBERTa)|59_._2_±_1_._2|57_._4_±_2_._0|62_._1_±_0_._1|62_._6_±_0_._3|75.9|76.9|
172
+ |LEADING (BERT)|—|—|—|—|73.8|74.8|
173
+ |LEADING (DeBERTa)|80_._6_±_0_._3|81_._4_±_0_._6|**79**_._**5**_±_**0**_._**8**|**79**_._**3**_±_**0**_._**6**|**76.1**|**77.3**|
174
+
175
+ - Notably, the proposed LEADING achieves a memory cost that is nearly identical to Supervised-FT LLM training without using graphs, which aligns with our expectations. This alignment is attributed to the two-pipeline neighbor decoupling and implicit graph modeling as introduced in Section 3.
176
+
177
+ - The running time of LEADING is around 0 _._ 8 times higher than that of Supervised-FT, which is reasonable since the two pipelines are run in a sequential manner on the same GPU but it can be easily reduced by parallel computing.
178
+
179
+ - The memory cost and running time align well with our computational complexity analysis in Section 3.4.
180
+
181
+ Table 2: Scalability comparison between different LLM fine-tuning strategies.
182
+
183
+ |**METHODS**|**Memory(GB)**|**Running Time(S)**|
184
+ |---|---|---|
185
+ |Supervised-FT BERT|11.5|8400|
186
+ |Supervised-FT DeBERTa|13.6|12200|
187
+ |GIANT (BERT)|OOM|N/A|
188
+ |GLEM (DeBERTa)|13.6|67634|
189
+ |LEADING (BERT)|11.7|15241|
190
+ |LEADING (DeBERTa)|13.9|22226|
191
+
192
+ ## 4.3 ABLATION STUDY
193
+
194
+ **Scalibility study.** We present an ablation study on the memory usage on Cora and the average LLM encoding times of each node on ogbn-arxiv when training BERT with GCN in an end-to-end manner. We assess the memory usage based on two key factors: (1) different batch sizes while keeping 2 hops neighbors (sampling 10 neighbors for the first hop and 5 for the second hop for each node); (2) varying numbers of hops (sampling 10 neighbors for the first hop and 5 for the following hops for each node) while keeping a fixed batch size.
195
+
196
+ The memory usage in Figure 3 indicates that a significant portion of the computation cost is attributed to the encoding of neighboring nodes. It also demonstrates that LEADING maintains the same memory cost as Supervised-FT LLMs (“Targets Only”) and is independent of the number of neighbors included. This highlights a significant scalability advantage. The average LLM encoding times of each node in Figure 4 indicate a considerable level of computational redundancy and this redundancy is affected by both batch size and number of neighbors. The results also show that
197
+
198
+ 8
199
+
200
+ our LEADING algorithm significantly reduces this computation redundancy due to the decoupled computation of target nodes and neighbor nodes.
201
+
202
+ **==> picture [143 x 111] intentionally omitted <==**
203
+
204
+ **==> picture [143 x 113] intentionally omitted <==**
205
+
206
+ Figure 3: Memory Usage (GB)
207
+
208
+ **==> picture [143 x 109] intentionally omitted <==**
209
+
210
+ **==> picture [143 x 111] intentionally omitted <==**
211
+
212
+ Figure 4: Average LLM Encoding Times
213
+
214
+ Table 3: Prediction performance comparison between normal LLM-GNN training and LEADING.
215
+
216
+ |**Method / Dataset**|**Cora**<br>**Pubmed**|
217
+ |---|---|
218
+ |Normal (Coupling neighbors)<br>LEADING (Decoupling neighbors)|81.6%<br>80.3%<br>81.3%<br>79.8%|
219
+
220
+ **Neighbor Decoupling.** We present a simple ablation study to evaluate the impact on prediction performance caused by neighbor decoupling computation. We use DistilBERT (Sanh et al., 2019) with a 2-layer GCN in an end-to-end manner since it is a lightweight version of BERT that can be run faster. We compare two cases: the normal coupling of target and neighbor nodes and our neighbor decoupling approach. The results in Table 3 suggest that neighbor decoupling can achieve closely aligned performance as the coupling method within 0.5% difference, which verifies the rationality of LEADING as discussed in Section 3.2.
221
+
222
+ ## 5 CONCLUSION
223
+
224
+ Exploring the potential of pre-trained LLMs for representation learning on TAGs has been of significant interest in recent years. However, it comes with significant efficiency issues in the integration of powerful LLMs and GNNs. In this work, we revisit and analyze the limitations of existing approaches with a special focus on data efficiency and computation efficiency. To resolve these limitations, this work develops a novel and efficient LLM-GNN end-to-end fine-tuning algorithm (LEADING) that not only effectively adapts LLMs to downstream graph learning tasks with limited labeled data but also exhibits strong scalability and efficiency. Comprehensive experiments validate its superior prediction performance and efficiency in both low labeling ratio and high labeling ratio settings. The proposed algorithm provides a promising solution for the end-to-end integration of LLMs and GNNs in many impactful real-world applications. In the future, we will explore the integration of the proposed LEADING algorithm with existing Parameter Efficient Fine Tuning (PEFT) approaches for applications of larger scales.
225
+
226
+ 9
227
+
228
+ ## REFERENCES
229
+
230
+ Shaojie Bai, J Zico Kolter, and Vladlen Koltun. Deep equilibrium models. _Advances in Neural Information Processing Systems_ , 32, 2019.
231
+
232
+ - Jie Chen, Tengfei Ma, and Cao Xiao. Fastgcn: fast learning with graph convolutional networks via importance sampling. _arXiv preprint arXiv:1801.10247_ , 2018a.
233
+
234
+ - Ricky TQ Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. _Advances in neural information processing systems_ , 31, 2018b.
235
+
236
+ - Zhikai Chen, Haitao Mao, Hang Li, Wei Jin, Hongzhi Wen, Xiaochi Wei, Shuaiqiang Wang, Dawei Yin, Wenqi Fan, Hui Liu, et al. Exploring the potential of large language models (llms) in learning on graphs. _arXiv preprint arXiv:2307.03393_ , 2023.
237
+
238
+ - Eli Chien, Wei-Cheng Chang, Cho-Jui Hsieh, Hsiang-Fu Yu, Jiong Zhang, Olgica Milenkovic, and Inderjit S Dhillon. Node feature extraction by self-supervised multi-scale neighborhood prediction. _arXiv preprint arXiv:2111.00064_ , 2021.
239
+
240
+ - Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. _arXiv preprint arXiv:1810.04805_ , 2018.
241
+
242
+ - Tu Anh Dinh, Jeroen den Boef, Joran Cornelisse, and Paul Groth. E2eg: End-to-end node classification using graph topology and text-based node attributes. _arXiv preprint arXiv:2208.04609_ , 2022.
243
+
244
+ Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. _arXiv preprint arXiv:1903.02428_ , 2019.
245
+
246
+ - Matthias Fey, Jan E Lenssen, Frank Weichert, and Jure Leskovec. Gnnautoscale: Scalable and expressive graph neural networks via historical embeddings. In _International conference on machine learning_ , pp. 3294–3304. PMLR, 2021.
247
+
248
+ - Fabrizio Frasca, Emanuele Rossi, Davide Eynard, Ben Chamberlain, Michael Bronstein, and Federico Monti. Sign: Scalable inception graph neural networks. _arXiv preprint arXiv:2004.11198_ , 2020.
249
+
250
+ - Fangda Gu, Heng Chang, Wenwu Zhu, Somayeh Sojoudi, and Laurent El Ghaoui. Implicit graph neural networks. _Advances in Neural Information Processing Systems_ , 33:11984–11995, 2020.
251
+
252
+ - Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. _Advances in neural information processing systems_ , 30, 2017.
253
+
254
+ William L Hamilton. Graph representation learning. _Synthesis Lectures on Artifical Intelligence and Machine Learning_ , 14(3):1–159, 2020.
255
+
256
+ - Zellig Harris. Distributional structure. _Word_ , 10(2-3):146–162, 1954. doi: 10.1007/ 978-94-009-8467-7 ~~1~~ . URL [URL removed] 978-94-009-8467-7_1.
257
+
258
+ - Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. _arXiv preprint arXiv:2006.03654_ , 2020.
259
+
260
+ - 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. _Advances in neural information processing systems_ , 33:22118–22133, 2020.
261
+
262
+ - Qian Huang, Horace He, Abhay Singh, Ser-Nam Lim, and Austin R Benson. Combining label propagation and simple models out-performs graph neural networks. _arXiv preprint arXiv:2010.13993_ , 2020.
263
+
264
+ Wei Jin, Haitao Mao, Zheng Li, Haoming Jiang, Chen Luo, Hongzhi Wen, Haoyu Han, Hanqing Lu, Zhengyang Wang, Ruirui Li, et al. Amazon-m2: A multilingual multi-locale shopping session dataset for recommendation and text generation. _arXiv preprint arXiv:2307.09688_ , 2023.
265
+
266
+ 10
267
+
268
+ - Jinwoo Kim, Dat Nguyen, Seonwoo Min, Sungjun Cho, Moontae Lee, Honglak Lee, and Seunghoon Hong. Pure transformers are powerful graph learners. _Advances in Neural Information Processing Systems_ , 35:14582–14595, 2022.
269
+
270
+ Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. _arXiv preprint arXiv:1609.02907_ , 2016.
271
+
272
+ Johannes Klicpera, Aleksandar Bojchevski, and Stephan G¨unnemann. Predict then propagate: Graph neural networks meet personalized pagerank. _arXiv preprint arXiv:1810.05997_ , 2018.
273
+
274
+ Guohao Li, Matthias M¨uller, Bernard Ghanem, and Vladlen Koltun. Training graph neural networks with 1000 layers. In _International conference on machine learning_ , pp. 6437–6449. PMLR, 2021.
275
+
276
+ Yao Ma and Jiliang Tang. _Deep learning on graphs_ . Cambridge University Press, 2021.
277
+
278
+ - Yao Ma, Xiaorui Liu, Tong Zhao, Yozen Liu, Jiliang Tang, and Neil Shah. A unified view on graph neural networks as graph signal denoising. In _Proceedings of the 30th ACM International Conference on Information & Knowledge Management_ , pp. 1202–1211, 2021.
279
+
280
+ - Costas Mavromatis, Vassilis N Ioannidis, Shen Wang, Da Zheng, Soji Adeshina, Jun Ma, Han Zhao, Christos Faloutsos, and George Karypis. Train your own gnn teacher: Graph-aware distillation on textual graphs. _arXiv preprint arXiv:2304.10668_ , 2023.
281
+
282
+ - Andrew Kachites McCallum, Kamal Nigam, Jason Rennie, and Kristie Seymore. Automating the construction of internet portals with machine learning. _Information Retrieval_ , 3:127–163, 2000.
283
+
284
+ - Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. _arXiv preprint arXiv:1301.3781_ , 2013.
285
+
286
+ Wonpyo Park, Woonggi Chang, Donggeon Lee, Juntae Kim, and Seung-won Hwang. Grpe: Relative positional encoding for graph transformer. _arXiv preprint arXiv:2201.12787_ , 2022.
287
+
288
+ - Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. _arXiv preprint arXiv:1910.01108_ , 2019.
289
+
290
+ - 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.
291
+
292
+ - Chuxiong Sun, Hongming Gu, and Jie Hu. Scalable and adaptive graph neural networks with selflabel-enhanced training. _arXiv preprint arXiv:2104.09376_ , 2021.
293
+
294
+ - Petar Veliˇckovi´c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. _arXiv preprint arXiv:1710.10903_ , 2017.
295
+
296
+ - Luyu Wang, Yujia Li, Ozlem Aslan, and Oriol Vinyals. Wikigraphs: A wikipedia text-knowledge graph paired dataset. _arXiv preprint arXiv:2107.09556_ , 2021.
297
+
298
+ - Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Simplifying graph convolutional networks. In _International conference on machine learning_ , pp. 6861–6871. PMLR, 2019.
299
+
300
+ - Rui Xue, Haoyu Han, MohamadAli Torkamani, Jian Pei, and Xiaorui Liu. Lazygnn: Large-scale graph neural networks via lazy propagation. _arXiv preprint arXiv:2302.01503_ , 2023.
301
+
302
+ - Junhan Yang, Zheng Liu, Shitao Xiao, Chaozhuo Li, Defu Lian, Sanjay Agrawal, Amit Singh, Guangzhong Sun, and Xing Xie. Graphformers: Gnn-nested transformers for representation learning on textual graph. _Advances in Neural Information Processing Systems_ , 34:28798–28810, 2021.
303
+
304
+ - Zhilin Yang, William Cohen, and Ruslan Salakhudinov. Revisiting semi-supervised learning with graph embeddings. In _International conference on machine learning_ , pp. 40–48. PMLR, 2016.
305
+
306
+ - Hanqing Zeng, Hongkuan Zhou, Ajitesh Srivastava, Rajgopal Kannan, and Viktor Prasanna. Graphsaint: Graph sampling based inductive learning method. _arXiv preprint arXiv:1907.04931_ , 2019.
307
+
308
+ - Jianan Zhao, Meng Qu, Chaozhuo Li, Hao Yan, Qian Liu, Rui Li, Xing Xie, and Jian Tang. Learning on large-scale text-attributed graphs via variational inference. _arXiv preprint arXiv:2210.14709_ , 2022.
309
+
310
+ 11
311
+
open_review/iclr2024_8801.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8801",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Exploiting Code Symmetries for Learning Program Semantics",
6
+ "abstract": "Large Language Models (LLMs) hold significant potential for automating program analysis, but current code LLMs face challenges in grasping program semantics. Our paper addresses this by formalizing program semantics through code symmetries and integrating them into LLM architectures for code analysis. We introduce a group-theoretic framework that defines code symmetries as semantics-preserving transformations, enabling precise reasoning within LLMs. Our solution, SymC, employs a novel variant of group-equivariant self-attention that is provably equivariant to code symmetries. We extensively evaluate SymC on four program analysis tasks, comparing it to eight baselines against eight code transformations. Our results show that SymC generalizes to unseen code transformations, outperforming the state-of-the-art code models by 30.7%. SymC, by design, stays invariant to semantics-preserving permutations, while state-of-the-art code models like WizardCoder and GPT-4 violate these invariances at a high rate (i.e., 14% and 43%, respectively).",
7
+ "rebuttal": "Dear reviewer 3XTL,\n\nThanks again for your constructive comments. We hope our responses satisfactorily addressed your concerns.\n\nDear reviewer Srm2,\n\nThanks so much again for your constructive comments. We would be grateful if you could let us know whether our responses, i.e., the experiments on comparing to code baselines, e.g., DOBF, CodeT5, GraphCoderBERT, CodeBERT, and UnixCoder, and the evaluation on a new task, i.e., defect prediction, satisfactorily answer your questions and if so, would you like to increase the score. Thanks!\n\nDear reviewer nM8R,\n\nThanks again for making the effort to review our paper. We would be grateful if you could let us know whether our responses, i.e., the experiments on adversarial attacks and GraphCodeBERT, satisfactorily answer your questions and if so, would you like to increase the score. Thanks!\n\nMoreover, even GGNN keeps its output invariant by predicting the same incorrect label most of the time, it still changes its prediction under simple semantics-preserving permutations. Here is one example in the test set, where GGNN predicts “*run*”:\n\n```Java\n1 private void applyNormalPattern(String modeStr, Matcher matcher) {\n2 boolean commaSeperated = false;\n3 for (int i = 0; i < 1 || matcher.end() < modeStr.length(); i++) {\n4 if (i > 0 && (!commaSeperated || !matcher.find())) {\n5 throw new IllegalArgumentException(modeStr);\n6 }\n7 String str [...]\n\n**Q3: Relatedly, models like GGNN may be a better comparison. Notably that model has lower invariance violation than LLMs. Given that GGNN also works on graphs associated to code, could you explain why it is not invariant to the code symmetry transformations you consider?**\n\nWe will answer this question from both conceptual and experimental perspectives.\n\n**Conceptually**, while GGNN incorporates the data and control flow graph, its particular dataflow construction *does not preserve* invariance to semantics-preserving permutations. For example, GGNN maintains edges for all reads and writes to [...]\n\n**Q1: The example and runtimes are helpful, I definitely recommend putting them in the new versions of the paper.**\n\nWe are grateful for your prompt response. We will definitely include them in the paper - we are working on drafting the figure/table and adding the discussion. We will update you as soon as we finish the draft. \n\n**Q2: One issue I have with the paper is the framing of SymC as an LLM (this is why I asked the question about the training procedure). The model is a Transformer with graph information included via relative positional encodings. But it cannot be trained or used for nex [...]\n\n**Q4: Illustrate cases where the relaxation of the interpretation graph to the program dependence graph is too conservative**\n\nAs described in our response to Reviewer 6HuJ, consider the case in binary analysis:\n\n```asm\n…\n1 mov rcx, [rbx]\n2 mov [rax], rdx\n…\n```\nWe have 2 nodes in PDG, i.e., {1,2} denoting 2 instructions, and the edge {1->2} because we can not easily eliminate the possibility that `[rbx]` and `[rax]` would point to the same memory location. This can lead to the spurious edge, rendering the permutation of 1 and 2 an invalid automorphism. In memory-bound applications, [...]\n\n**Q2 & Weakness 2: unclear why the F1/AUC results in Table 2 are not monotonic in the percentage of semantics-preserving permutations**\n\nWe do observe more statements involved in permutations do not necessarily imply more incorrect predictions. One possible explanation is that permutations involving a higher percentage of statements could represent more extensive changes in the code. Such changes might more closely resemble variations found in real-world code distributions. In contrast, single permutations, which only involve altering a single pair of statements, may be less representative of [...]\n\nWe really appreciate your constructive comments. We address each of your points below.\n\n**Weakness 1.1: The definition of the Aut(PDG) distance matrix to be a bit hard to reason about**\n\nWe will clarify the definition of the distance matrix used in our paper. In general, there can be various distance matrices to represent the graph in self-attention layers and preserve automorphisms as long as it satisfies the two properties of Lemma 4 & 5 (see proofs in Lemma 6 in Appendix). We chose to represent the distance between two nodes using their distance to their lowest common ancestor, based on the [...]\n\n**Weakness 3: The paper does not discuss potential limitations of the SymC model, such as its requirement for input code to be processed by a parser and a static analysis tool. This requirement may limit the model's applicability when dealing with incomplete or syntactically incorrect code, such as in code completion tasks or when faced with an empty Python block. While it is acceptable to establish certain assumptions for input code, these assumptions must be explicitly discussed rather than overlooked.**\n\nAs shown in our response to Reviewer 6HuJ, statically analyzing the input code incurs a [...]\n\n* New results\n\nHowever, we agree with the reviewer that there are many ML4code tasks, like defect prediction, that can benefit from code symmetry. To demonstrate that effect, we follow the reviewer’s suggestion by incorporating the defect prediction and include our preliminary results in the following. \n\nParticularly, we consider defects4j dataset [7] and follow CodeXGLUE to formulate the task as a binary classification (buggy/non-buggy) given the function. We ensure the number of buggy and non-buggy samples are the same, and measure the prediction accuracy on the original and permuted samples [...]\n\n* Regarding HumanEval and MBPP\n\nOur paper focuses on representing *program* semantics using code symmetry groups, and thus we focus exclusively on *program analysis tasks* that take a *program* as input. *Program synthesis tasks*, like those suggested by the reviewer (HumanEval and MBPP), \n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 6,
10
+ 3,
11
+ 3,
12
+ 8
13
+ ],
14
+ "score_mean": 5.0,
15
+ "score_variance": 6,
16
+ "score_spread": 5,
17
+ "score_min": 3,
18
+ "score_max": 8,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "This paper introduces SymC, a novel approach that leverages code symmetries, defined through group-theoretic principles, to enhance large language models (LLMs) for program analysis. The paper defines a symmetry group over program interpretation graphs, and then relaxes this to the sound overapproximation of dependence graphs. SymC achieves significant improvements by embedding a group-equivariant self-attention mechanism within the Transformer architecture. The empirical results show that SymC is competitive or surpasses baseline models, including WizardCoder and GPT-4, in four specific tasks. Most of the reviewers would have appreciated more details about the program graphs and their construction. An insufficient experimental comparison with previous work was also mentioned in multiple reviews.",
22
+ "forum_id": "zDMM4ZX1UB",
23
+ "primary_area": "learning on graphs and other geometries & topologies",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_6HuJ",
28
+ "review_id": "n5iubmHjds",
29
+ "scores": {
30
+ "rating": 6,
31
+ "soundness": 3,
32
+ "presentation": 2,
33
+ "contribution": 3,
34
+ "confidence": 2
35
+ },
36
+ "review_text_chars": 1574,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 738707,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_nM8R",
44
+ "review_id": "lxPosBP7P5",
45
+ "scores": {
46
+ "rating": 3,
47
+ "soundness": 2,
48
+ "presentation": 2,
49
+ "contribution": 2,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 2870,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 1070759,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_Srm2",
60
+ "review_id": "PIQ06LvDmV",
61
+ "scores": {
62
+ "rating": 3,
63
+ "soundness": 1,
64
+ "presentation": 2,
65
+ "contribution": 3,
66
+ "confidence": 5
67
+ },
68
+ "review_text_chars": 3015,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 1126130,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_3XTL",
76
+ "review_id": "ACm5w7GwRr",
77
+ "scores": {
78
+ "rating": 8,
79
+ "soundness": 4,
80
+ "presentation": 3,
81
+ "contribution": 4,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 2482,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 1289269,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8801.md ADDED
@@ -0,0 +1,608 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## - EXPLOITING CODE SYMMETRIES FOR LEARNING PRO GRAM SEMANTICS
2
+
3
+ Authors withheld for review
4
+
5
+ ## ABSTRACT
6
+
7
+ Large Language Models (LLMs) hold significant potential for automating program analysis, but current code LLMs face challenges in grasping program semantics. Our paper addresses this by formalizing program semantics through code symmetries and integrating them into LLM architectures for code analysis. We introduce a group-theoretic framework that defines code symmetries as semantics-preserving transformations, enabling precise reasoning within LLMs. Our solution, SYMC, employs a novel variant of group-equivariant self-attention that is provably equivariant to code symmetries. We extensively evaluate SYMC on four program analysis tasks, comparing it to eight baselines against eight code transformations. Our results show that SYMC generalizes to unseen code transformations, outperforming the state-of-the-art code models by 30.7%. SYMC, by design, stays invariant to semantics-preserving permutations, while code LLMs like WizardCoder and GPT-4 violate these invariances at a high rate (i.e., 14% and 43%, respectively).
8
+
9
+ ## 1 INTRODUCTION
10
+
11
+ Automated program analysis using Code Large Language Models (LLMs) has become widely popular for software engineering and security tasks (Liu et al., 2023; Maniatis & Tarlow, 2023), but current code LLMs struggle with generalization to new code (Henke et al., 2022; Rabin et al., 2021; Gao et al., 2023b;a; Yefet et al., 2020; Bundt et al., 2022; Zhang et al., 2023). This paper aims to enhance LLMs by establishing and preserving fundamental code symmetries, drawing inspiration from translation and rotation symmetries that typically hold in vision (Cohen & Welling, 2016).
12
+
13
+ **Code symmetry.** Intuitively, symmetry of code refers to any transformation applied to a code block that preserves the semantics (i.e., input-output behavior) of the original code. Consider a (sequential) code fragment x=2;y=4. Reordering the instructions to y=4;x=2 does not change the semantics of the code. Of course, any code analysis task that depends solely on the semantics of the code (e.g., bug detection) needs to preserve these symmetries by staying invariant to the transformations. Formally, given a code block _c_ and a set of symmetries _G_ , an LLM _m_ should ensure _∀g ∈ G, m_ ( _g_ ( _c_ )) = _m_ ( _c_ ). **Limitations of existing approaches.** A popular way to train LLMs to be invariant to code symmetries is data augmentation and pre-training (Luo et al., 2023; Feng et al., 2020). However, this approach is not very effective due to the sheer number of possible symmetries and their compositions. Specifically, this approach has two major limitations: (1) it is prohibitively expensive to enumerate each possible variant _g_ ( _c_ ); and (2) it provides no guarantee of invariance even for the seen symmetries. In fact, we find that existing state-of-the-art LLMs break desired invariances at an alarmingly high rate (e.g., 14% in WizardCoder and 43% in GPT4 as shown in Table 1) even for simple code symmetries like a single statement permutation.
14
+
15
+ **Our approach.** We introduce a group-theoretic framework to precisely define code symmetries in terms of semantics-preserving permutations of statements and create LLM architectures that inherently preserve these symmetries. Using this framework, we present SYMC, an LLM architecture designed to guarantee invariance to semantics-preserving statement permutations. This is achieved through a _G_ -equivariant code representation learning ( _r_ ) followed by a _G_ -invariant predictive learning ( _p_ ), with _G_ determined based on the graph automorphisms of the code block’s interpretation graph (a generalization of program dependence graph).
16
+
17
+ 1
18
+
19
+ **==> picture [398 x 157] intentionally omitted <==**
20
+
21
+ **----- Start of picture text -----**<br>
22
+ Table 1: Invariance c1: assert a > 0 c2: assert b > 0 c1: assert a > 0 c2: assert b > 0<br>violation rate across c2: assert b > 0 c1: assert a > 0 c2: assert b > 0 c1: assert a > 0<br>different code models cc34: area = a * b: return area cc34: area = a * b: return area cc34: area = a * b: return area cc34: area = a * b: return area<br>(darker colors indicate<br>more violations).<br>... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br>Violation<br>SYMC 0% "calculate_area" "calculate_area" "check"<br>GPT-4 43%<br>WizardCoder 14% (a) SYMC (b) Existing LLMs<br>code2vec 61%<br>code2seq 52% Figure 1: (a) SYMC as a G -invariant function name predictor where G is a<br>GGNN 7% group of semantics-preserving statement permutations g . (b) Code LLMs<br>not preserving the symmetries in G and thus incorrectly change the output.<br>**----- End of picture text -----**<br>
23
+
24
+ Figure 1a shows a concrete example of the benefit SYMC when deployed for function name prediction. The code snippets illustrate a semantics-preserving statement reordering. SYMC enforces its output to stay invariant via keeping its learned representation _G_ -equivariant, where the code representation ( _e_ 1 _, e_ 2 _, e_ 3 _, e_ 4) is transformed into ( _e_ 2 _, e_ 1 _, e_ 3 _, e_ 4), followed by a _G_ -invariant prediction module. By contrast, Figure 1b shows an existing code model (Jin et al., 2022) that does not preserve permutation symmetry. In this case, the code representation ( _e_ 1 _, ..., e_ 4) is transformed into a completely different set of embeddings ( _e[′]_ 1 _[, ..., e][′]_ 4[)][, leading to a changed prediction.]
25
+
26
+ **Result summary.** We evaluate SYMC on four program analysis tasks against various source code and binary analysis baselines. For semantics-preserving permutations, SYMC is guaranteed to stay invariant while the state-of-the-art code LLMs like WizardCoder and GPT-4 violate the invariance at a high rate, i.e., 14% and 43%, respectively. For other semantics-preserving source code transformations beyond permutations, SYMC surpasses the state-of-the-art code baselines, namely WizardCoder and GPT-4, by 1.63% and 16.1%, respectively, while maintaining a model size 108 _×_ smaller. On sophisticated transformations introduced by compiler optimizations and obfuscations, SYMC outperforms the extensively pre-trained binary analysis baseline, PalmTree, by 30.7% without requiring any pre-training.
27
+
28
+ **Contributions.** (1) We establish a foundational framework using semantics-preserving code symmetries, ensuring provable generalization to new samples resulting from their compositions. (2) We introduce a mechanism to identify symmetries in programs through graph automorphism. (3) We present a novel LLM architecture with a new variant of self-attention equivariant to program symmetries. (4) Our approach demonstrates effectiveness in generalizing invariance to various semantics-preserving transformations, surpassing state-of-the-art code LLMs in program analysis.
29
+
30
+ ## 2 PRELIMINARIES
31
+
32
+ This section briefly describes the symmetry groups. See Appendix A for a more formal description.
33
+
34
+ **Symmetry group.** A _symmetry group_ ( _G, ◦_ ) consists of a non-empty set _G_ of transformations and a binary operator _◦_ : _G × G → G_ , where _◦_ operates on two elements (i.e., transformations) in _G_ , e.g., _x, y ∈ G_ , and produces a new transformation _z_ = _x ◦ y, z ∈ G_ . The binary operator has to be associative, invertible, and there exists an identity _∃_ **1** _∈ G, ∀x ∈ G, x ◦_ **1** = **1** _◦ x_ .
35
+
36
+ **Group action.** The elements of a _G_ are abstract transformations that become concrete when they _act_ on some set _X_ , i.e., they transform _x ∈ X_ into _x[′] ∈ X_ while keeping some properties of _x invariant_ . Formally, an action _•_ of a symmetry group _G_ is a binary operation defined on a set of objects _X_ , i.e., _•_ : _G × X → X_ , where it is also associative and has an identity.
37
+
38
+ It is common in the group theory literature to use _◦_ to denote both _action_ and _composition_ , when it is clear from the context (Higgins et al., 2018). It is also customary to interchange _g_ ( _x_ ) and _g ◦ x_ . Therefore, we treat _g •_ ( _h • x_ ), _g ◦_ ( _h ◦ x_ ), and _g_ ( _h_ ( _x_ )) as the same in the rest of this paper.
39
+
40
+ 2
41
+
42
+ **Invariance and equivariance.** A symmetry group comes with two properties, namely _invariance_ and _equivariance_ , that formalize the concept of preservation of some properties when a set _X_ is acted upon by _G_ . Let _f_ be a function that maps each element _x ∈ X_ to a corresponding element _y_ in the set _Y_ , indicating the property’s value for that particular element. _f_ is called _G_ **-invariant** if _∀g ∈ G, ∀x ∈ X, f_ ( _g◦x_ ) = _f_ ( _x_ ). _f_ is called _G_ **-equivariant** if _∀g ∈ G, ∀x ∈ X, f_ ( _g◦x_ ) = _g◦f_ ( _x_ ).
43
+
44
+ Given the definition of _G_ -equivariant function, we have the following lemmas: **Lemma 1.** Let _f_ 1 and _f_ 2 be two functions that are both _G_ -equivariant and _h_ = _f_ 1 _◦ f_ 2 be the new function composed by _f_ 1 and _f_ 2. _h_ is also _G_ -equivariant.
45
+
46
+ **Lemma 2.** Let _f_ 1 and _f_ 2 be two functions where _f_ 1 is _G_ -equivariant and _f_ 2 is _G_ -invariant, and _h_ = _f_ 2 _◦ f_ 1 be the new function composed by applying _f_ 1 and then _f_ 2. _h_ is _G_ -invariant.
47
+
48
+ ## 3 METHODOLOGY
49
+
50
+ This section describes the definitions of the equivariance/invariance properties for code models, the construction of group-equivariant self-attention layers, and the group-invariant code analysis model.
51
+
52
+ ## 3.1 INVARIANCE & EQUIVARIANCE FOR CODE MODELS
53
+
54
+ **Code representation units.** We establish formal definitions of the code space as a collection of code blocks, which serves as the input space for representation learning. We then proceed to define representation learning and predictive learning in the code space.
55
+
56
+ **Definition 3.1.** A **code representation unit** (e.g., procedure) _c_ consists of _n_ instructions from an instruction set _I_ , i.e., _c ∈ I[n]_ . The **code space** _I[n]_ is the set of all code representation units of interest.
57
+
58
+ A typical Code Representation Unit (CRU) is a method with well-defined interfaces, ensuring controlled interaction with other methods, without arbitrary control transfers. Below, we provide formal definitions for learning program representation and predictive learning.
59
+
60
+ **Definition 3.2. Representation learning for code** involves learning a function _r_ that maps a CRU _c ∈ I[n]_ to a point in the code representation space R _[d][×][n]_ , _r_ : _I[n] →_ R _[d][×][n]_ , where R denotes the set of real numbers, and _d_ denotes the dimension of the vector to which each instruction is mapped. **Definition 3.3. Predictive learning for code** entails learning a function _p_ : R _[d][×][n] →_ R _[L]_ that maps the code representation produced by the representation learning _r_ to a label space R _[L]_ . R _[L]_ becomes concrete in the context of downstream analyses (§5).
61
+
62
+ In this framework, the earlier layers of the neural network serve as the representation learning function _r_ , learning program representations. The subsequent layers serve as the predictive learning function _p_ , making predictions based on analysis-specific labels, such as function names. Therefore, the whole network computation can be thought of as a composition of _r_ and _p_ , i.e., _p ◦ r_ .
63
+
64
+ In the following, we establish formal properties for code analysis models with explicit representation learning _r_ and predictive learning _p_ based on _G_ -equivariance/invariance.
65
+
66
+ **Definition 3.4** ( _G_ **-equivariant code representation learning).** Let _G_ be a symmetry group consisting of _semantics-preserving transformations_ applied to a CRU _c ∈ I[n]_ . A representation function _r_ : _I[n] →_ R _[d][×][n]_ is _G_ -equivariant if for every _g ∈ G_ and _c ∈ I[n]_ , we have _g ◦ r_ ( _c_ ) = _r_ ( _g ◦ c_ ).
67
+
68
+ Note that here the input space of _r_ ( _I[n]_ ) and its output space (R _[d][×][n]_ ) are both sets of size _n_ , where each instruction _I_ is mapped to a _R[d]_ vector by the representation function. This consideration is necessary to ensure the symmetry group can act on both sets appropriately.
69
+
70
+ **Definition 3.5** ( _G_ **-invariant code predictive learning).** Let _G_ be a symmetry group consisting of _semantics-preserving transformations_ applied to program representation vector _c ∈ I[n]_ . A predictive learning function _p_ : R _[d][×][n] →_ R _[L]_ is _G_ -invariant if _∀g ∈ G, ∀e ∈_ R _[d][×][n]_ , _p_ ( _g ◦ e_ ) = _p_ ( _e_ ).
71
+
72
+ Stacking _p_ on top of _r_ , _p ◦ r_ , leads to a _G_ -invariant model according to Lemma 2.
73
+
74
+ ## 3.2 SEMANTICS-PRESERVING PROGRAM SYMMETRIES
75
+
76
+ A semantics-preserving program symmetry is a program transformation preserves the input and output behavior of a CRU when interpreted by the program interpretation function _f_ . The program
77
+
78
+ 3
79
+
80
+ interpretation function takes a CRU _c ∈ I[n]_ as input, where _I_ represents the set of possible input values to execute CRU, and produces output values represented by the set _O_ .
81
+
82
+ **Definition 3.6.** A **semantics-preserving program symmetry** _g_ is a transformation acting on _c ∈ I[n]_ ( _g_ : _I[n] → I[n]_ ) such that _∀in ∈I, ∀out ∈O, f_ ( _g ◦ c, in_ ) = _f_ ( _c, in_ ) = _out_ . **Definition 3.7.** A semantics-preserving **program symmetry group** _G_ is a set of semantics-preserving program symmetries that also satisfy the group axioms.
83
+
84
+ **Local and global program symmetry.** We call _g local program symmetry_ because it acts on a single CRU _c ∈ I[n]_ . In this paper, we do not consider _global_ program symmetry defined over the entire program space _I[n]_ , e.g., rotation as in image space. This is because each independent sample _c_ will have its own symmetries corresponding to its semantics-preserving transformations, and we develop model architectures that preserve the specific code symmetry group for each individual sample (§4).
85
+
86
+ ## 3.3 _Aut_ ( _IG_ ): A PROGRAM SYMMETRY GROUP
87
+
88
+ In this paper, we focus on a specific symmetry group that maintains the structural integrity of CRUs by utilizing their inherent compositional structure. However, note that this approach is not the only way to form code symmetry groups and does not encompass all possible code symmetries. We leave further exploration in these directions to future research.
89
+
90
+ Next, we describe the compositional structure of the program interpreter _f_ operating on a CRU, enabling us to define the program interpretation graph that links CRUs to their input-output behavior.
91
+
92
+ **Compositional structure of program interpreter** _f_ **.** The interpreter function _f_ (defined in §3.2) can be represented as a composition of individual per-instruction interpreter functions _{f_ 1 _, ..., fn}_ . Each _fi_ : _Ii →Oi_ interprets a single instruction _ci_ from the instruction set _I_ (Definition 3.1), takes the input values _ini ∈Ii_ , and produce the output values _outi ∈Oi_ . It is important to note that the output of _fi_ can include both data flow elements (e.g., variables or memory locations with values assigned by _fi_ ) and control flow elements (e.g., addresses of next interpreter functions _fj ∈ f_ assigned by _fi_ ). Consequently, we can express _f_ as the composition of different individual interpreters, i.e., _fn ◦ ... ◦ f_ 1, where later instructions act on the output of previous instructions.
93
+
94
+ **Program interpretation graph (** _IG_ **).** Programs often involve different control flow paths, such as if-else statements, leading compositions between individual interpreter functions to a directed graph instead of a linear sequence. This graph is referred to as the program interpretation graph. For a given CRU _c_ , there can be multiple execution paths, each exercising different subsets of _{f_ 1 _, ..., fn}_ .
95
+
96
+ To construct the interpretation graph _IG_ = ( _V, E_ ), we consider all feasible execution paths of _c_ . In _IG_ , each node _Vi ∈ V_ corresponds to _fi_ , and each directed edge _Ei,j ∈ E_ (connecting _Vi_ to _Vj_ ) represents at least one execution path where _fj_ takes the output of _fi_ as input, i.e., _Ei,j_ = ( _outi, inj_ ).
97
+
98
+ **Automorphism group of interpretation graph.** Our objective is to find a group of symmetries that act on _c_ while preserving its input and output behavior as interpreted by _f_ in terms of _I_ and _O_ (Definition 3.6). Intuitively, as _IG_ represents all execution paths of _c_ , any transformations that preserve _IG_ should also preserve the execution behavior of _c_ . Therefore, we aim to uncover a group of symmetries that preserve _IG_ (Theorem 1), and such a group can guide us to construct code analysis model that can stay invariant to all symmetries of the group (§3.4).
99
+
100
+ To achieve this, we consider a specific set of symmetries called the _automorphisms_ of _IG_ , denoted as _Aut_ ( _IG_ ). An automorphism is a group of symmetries _σ ∈ Aut_ ( _IG_ ) that act on the interpretation graph _IG_ = ( _V, E_ ). Intuitively, graph automorphisms can be thought of as permutations of nodes that do not change the connectivity of the graph. _Aut_ ( _IG_ ) is formally defined as follows:
101
+
102
+ **Definition 3.8** ( _IG_ Automorphism) **.** _IG_ automorphism is a group of symmetries _σ ∈ Aut_ ( _IG_ ) acting on an interpretation graph _IG_ = ( _V, E_ ), where _σ_ is a bijective mapping: _σ_ : _V → V_ , such that for every edge _Ei,j ∈ E_ , i.e., connecting _fi_ and _fj_ , there is a corresponding edge ( _σ_ ( _fi_ ) _, σ_ ( _fj_ )) _∈ E_ .
103
+
104
+ We now show how the automorphism _σ ∈ Aut_ ( _IG_ ) preserves all input and output behavior of _{f_ 1 _, ..., fn}_ in the space of _I_ and _O_ . As mentioned earlier, graph automorphism is a permutation on the set of nodes in _IG_ such that the edges _Ei,j_ = ( _outi, inj_ ) are preserved in the transformed _IG[′]_ . As each _fi ∈{f_ 1 _, .., fn}_ operates on _ci ∈ c_ , we have the following (see Appendix B for the proof): **Theorem 1.** The set of automorphisms _σ ∈ Aut_ ( _IG_ ) forms a program symmetry group.
105
+
106
+ 4
107
+
108
+ ## 3.4 _Aut_ ( _IG_ )-EQUIVARIANT CODE REPRESENTATION
109
+
110
+ Existing approaches for code analysis using Transformer typically involve an embedding layer followed by applying _l_ self-attention layers _A[l]_ . For downstream code analysis, a prediction head _F_ , is placed on top of _A[l]_ . We can thus consider the representation learning _r_ as the composition of embedding layer and _A[l]_ , while the prediction head _F_ as the predictive learning _p_ (§3.1). We now present the development of a new self-attention layer that is _Aut_ ( _IG_ )-equivariant.
111
+
112
+ **Self-attention.** The standard self-attention computation can be succinctly represented as _wv · s_ ( _wk[T][·][ w][q]_[)][, where] _[ w][v]_[,] _[ w][k]_[, and] _[ w][q]_[are learnable parameters for transforming value, key, and query,] respectively, and _s_ ( _·_ ) represents scaling by _√d_ and applying Softmax (see Appendix A).
113
+
114
+ It is easy to show that the existing self-attention layer is equivariant to permutations (Appendix B). However, we want to make the self-attention layers equivariant _only_ to _Aut_ ( _IG_ ), not _all permutations_ . In the following, we describe how to build _Aut_ ( _IG_ )-equivariant self-attention.
115
+
116
+ **Biasing self-attention with a distance matrix.** To build _Aut_ ( _IG_ )-equivariant self-attention layers, denoted as _GA_ , we add a customized distance matrix _dIG_ to _GA_ : _GA_ ( _e_ ) = _wve ·_ ( _s_ ( _wke[T] ◦ wqe_ ) + _dIG_ ). Importantly, _dIG_ should have two properties: (1) _dIG_ stays invariant when _σ ∈ Aut_ ( _IG_ ) acts on _IG_ : _dIG_ = _σ_ ( _dIG_ ), and (2) _dIG_ commutes with permutation matrix _pσ_ ( _σ ∈ Aut_ ( _IG_ )).
117
+
118
+ We will describe a concrete instantiation of _dIG_ in §4.2. Based on the two properties, we have the following Theorem (see Appendix B for the proof).
119
+
120
+ **Theorem 2.** Self-attention _GA_ ( _e_ ) = _wve ·_ ( _s_ ( _wke[T] · wqe_ ) + _dIG_ ) is _Aut_ ( _IG_ )-equivariant.
121
+
122
+ As the embedding layer is trivially permutation equivariant, composing it with _Aut_ ( _IG_ )-equivariant self-attention layers leads to _Aut_ ( _IG_ )-equivariant code representation learning (Lemma 1).
123
+
124
+ ## 3.5 _Aut_ ( _IG_ )-INVARIANT PREDICTOR
125
+
126
+ We describe two prediction modules that are inherently _G_ -invariant, so stacking them on top of the _Aut_ ( _IG_ )-equivariant module leads to an _Aut_ ( _IG_ )-invariant code model (Lemma 2).
127
+
128
+ **Token-level.** Token-level predictor is often employed when each input token needs a label, e.g., predicting memory region per instruction (§5). As the automorphism acts on the input sequence _e_ but not individual tokens, i.e., the value of the embedding vectors, the automorphism _σ_ does not apply to the query vector _qi_ (§3.4). Therefore, we have Lemma 3. See Appendix B for complete proof. **Lemma 3.** The biased self-attention computing the embedding _e[′] i_[=] _[ GA]_[(] _[e][i]_[)][ is] _[ Aut]_[(] _[IG]_[)][-invariant.]
129
+
130
+ **Pooling-based.** Another popular _Aut_ ( _IG_ )-invariant predictor involves pooling the embedding sequence _e[′]_ = _GA_ ( _e_ ), e.g., using max or mean. Pooling operators are invariant to permutations, thus to _Aut_ ( _IG_ ), e.g., the mean pooling _µ_ ( _e[′]_ ) = (Σ _[n] i_ =1 _[e][′] i_[)] _[/n]_[ is not sensitive to the order of][ (] _[e]_ 1 _[′][, ..., e][′] n_[)][.] Pooling-based predictor is often employed when we aim to predict the property for the entire input sequence, e.g., predicting the function signature, detecting function similarity, etc. (§5).
131
+
132
+ ## 4 SYMC IMPLEMENTATION
133
+
134
+ ## 4.1 RELAXING _IG_ TO PROGRAM DEPENDENCE GRAPH
135
+
136
+ In §3.4, we demonstrated how to build _Aut_ ( _IG_ )-equivariant self-attention layers. However, directly constructing _IG_ is computationally impractical as we need to iterate all possible execution paths. To address this, we consider _program dependence graph_ (PDG), a sound over-approximation to _IG_ that explicitly captures the control/data dependencies and can be computed statically and efficiently.
137
+
138
+ PDG ( _VP DG, EP DG_ ) is a super graph of _IG_ , sharing the same vertices but having a superset of edges ( _EP DG ⊇ EIG_ ), because we consider all memory accesses as aliasing, making PDG a conservative construction of _IG_ . Enforcing PDG to be a super graph of _IG_ is crucial because the automorphism group of a subgraph is a subgroup of that of the super graph ( _Aut_ ( _PDG_ ) _⊇ Aut_ ( _IG_ )). Thus, if the self-attention layer is _Aut_ ( _PDG_ )-equivariant, it is guaranteed to be _Aut_ ( _IG_ )-equivariant.
139
+
140
+ **PDG construction.** We construct PDG edges based on data/control dependencies between instructions. Three types of data dependencies (read-after-write, write-after-read, and write-after-write) are
141
+
142
+ 5
143
+
144
+ considered, indicating the presence of data flow. Control dependencies are included to determine the execution order. These dependencies establish a partial order of instructions, preventing permutations that violate edge directions that might alter the input-output behavior of the program (§3.3).
145
+
146
+ ## 4.2 ENCODING GRAPH STRUCTURE
147
+
148
+ This section presents a concrete instance of the distance matrix defined on PDG, which enables us to prove _Aut_ ( _PDG_ )-equivariance for the resulting self-attention layers.
149
+
150
+ **Distance matrix.** Let _d_ denote the distance matrix of PDG where _dij_ represents the distance between nodes _Vi_ and _Vj_ . Each entry _dij_ is a 2-value tuple ( _pij, nij_ ), indicating the shortest path from the lowest common ancestor of _Vi_ and _Vj_ , denoted as _Tij_ , to _Vi_ and _Vj_ , respectively.
151
+
152
+ We incorporate _d_ into the multi-head self-attention (MHA), ensuring _Aut_ ( _PDG_ )-equivariance, and define specific modifications to the attention heads to handle positive and negative distances. Specifically, the first half of the attention heads _MHA[i]_ ( _e_ ), for _i ∈_ [1 _, h/_ 2], are combined with the matrix _dp_ formed by the positive distances in _d_ (denoted as _dpij_ = _pij_ ). The second half of the attention heads _MHA[i]_ ( _e_ ), for _i ∈_ [ _h/_ 2 + 1 _, h_ ], are combined with the matrix _dn_ formed by the negative distances in _d_ (denoted as _dnij_ = _nij_ ). The modified attention heads are defined as: (1) _MHA[i]_ ( _e_ ) = _wve·_ ( _s_ ( _wke[T] ·wqe_ )+ _dp_ ) _, i ∈_ [1 _, h/_ 2], (2) _MHA[i]_ ( _e_ ) = _wve·_ ( _s_ ( _wke[T] ·wqe_ )+ _dn_ ) _, i ∈_ [ _h/_ 2+1 _, h_ ].
153
+
154
+ It is easy to show _d_ satisfies the two properties defined in §3.4 (see Appendix B). We thus have: **Lemma 4.** The distance matrix _d_ of PDG remains invariant under the action of _σ ∈ Aut_ ( _PDG_ ). **Lemma 5.** The distance matrix _d_ of PDG commutes with permutation matrix _pσ_ of the automorphism _σ ∈ Aut_ ( _PDG_ ): _d · pσ_ = _pσ · d_ .
155
+
156
+ Based on these two properties, we can prove each head in MHA is _Aut_ ( _PDG_ )-equivariant, following the same proof steps to Theorem 2. Therefore, according to Lemma 1, MHA composed by multiple _Aut_ ( _PDG_ )-equivariant heads is also _Aut_ ( _PDG_ )-equivariant.
157
+
158
+ ## 5 EXPERIMENTAL SETUP
159
+
160
+ **Program analysis tasks.** We consider analysis tasks that require a deep understanding of code behavior such that they are expected to stay _invariant_ to code symmetries. Specifically, we consider (1) _function name prediction_ , which performs an “extreme summarization” of the function behavior. (2) _function similarity detection_ , which predicts if a pair of functions are semantically similar; (3) _function signature prediction_ , which predicts the types (int, float, etc.) of function arguments; and (4) _memory region prediction_ , which predicts the memory region (stack, heap, etc.) that each memory-accessing instruction can possibly access. For (2)-(4), we focus on analyzing stripped binaries considering its broad applications, e.g., vulnerability detection and security retrofitting.
161
+
162
+ **Baselines.** We consider five baselines for function name prediction: code2vec (Alon et al., 2019), code2seq (Alon et al., 2018), GGNN (Fernandes et al., 2018), and two more general-purpose LLMs, GPT-4 and WizardCoder (3B) (Luo et al., 2023). Note that the dataset used to train LLMs might overlap with our test set. For example, Hadoop (our test set for function name prediction, see Appendix D) is included in BigCode (HuggingFace & ServiceNow, 2022), one of the widely used datasets to train code LLMs. Our goal is to demonstrate SYMC still generalizes better than existing code LLMs under such a disadvantaged setting.
163
+
164
+ For tasks (2)-(4), we compare to PalmTree (Li et al., 2021), the state-of-the-art binary analysis tool that covers all our considered tasks. To ensure a fair comparison, we include three PalmTree versions: PalmTree, PalmTree-O, and PalmTree-N. PalmTree is pre-trained on _2.25 billion_ instructions. PalmTree-O is pre-trained on _137.6 million_ instructions using our own dataset (Appendix D), with full access to fine-tuning and evaluation data (excluding labels), while not accessible by SYMC as it is not pre-trained. We aim to show SYMC’s strong generalizability even in this disadvantaged setting. PalmTree-N serves as the baseline Transformer encoder without being pre-trained.
165
+
166
+ **Code transformations.** We consider a set of real-world semantics-preserving transformations beyond PDG automorphisms to evaluate SYMC’s generalization by staying _Aut_ ( _PDG_ )-equivariant. Instruction permutation occasionally forms the basis for these transformations. In particular, we
167
+
168
+ 6
169
+
170
+ Table 2: Evaluation on samples under different percentages of semantics-preserving permutations. F1 measures the prediction performance of function name, function signature, and memory region. AUC (area under the ROC curve) measures the function similarity detection performance. The violation rate is highlighted in red . The larger the violation rate, the darker the color.
171
+
172
+ |**Model**<br>**Size**<br>**Train**<br>**Size**<br>**F1 & AUC**<br>**Invariance Violation (%)**<br>0%<br>25%<br>50%<br>75%<br>100%<br>25% 50% 75% 100%|**Model**<br>**Size**<br>**Train**<br>**Size**<br>**F1 & AUC**<br>**Invariance Violation (%)**<br>0%<br>25%<br>50%<br>75%<br>100%<br>25% 50% 75% 100%|**Model**<br>**Size**<br>**Train**<br>**Size**<br>**F1 & AUC**<br>**Invariance Violation (%)**<br>0%<br>25%<br>50%<br>75%<br>100%<br>25% 50% 75% 100%|
173
+ |---|---|---|
174
+ |Function<br>Name<br>SYMC<br>68.4M 202M<br>code2seq<br>6.3M<br>5.1G<br>code2vec<br>348M<br>32G<br>GGNN<br>53M<br>2.4G<br>GPT-4<br>N/A<br>N/A<br>WizardCoder 3B<br>N/A|0.363 0.364_∗_0.363 0.363 0.363|0<br>0.1_∗_<br>0<br>0|
175
+ ||0.255 0.238<br>0.236 0.237 0.247|54<br>53<br>57<br>61|
176
+ ||0.177 0.199<br>0.195 0.197 0.196|53<br>53<br>52<br>52|
177
+ ||0.016 0.016<br>0.016 0.016 0.016|4<br>4<br>5<br>7|
178
+ ||0.303 0.313<br>0.317 0.329 0.307|42<br>43<br>45<br>43|
179
+ ||0.339 0.347<br>0.348 0.359 0.346|6<br>7<br>12<br>14|
180
+ |Function<br>Signature<br>SYMC<br>58.3M 12M<br>PalmTree<br>3.2M<br>17.4G<br>PalmTree-O<br>3.2M<br>5.3G<br>PalmTree-N<br>3.2M<br>614M|0.88<br>0.88<br>0.88<br>0.88<br>0.88|0<br>0<br>0<br>0|
181
+ ||0.59<br>0.55<br>0.49<br>0.42<br>0.41|12<br>23<br>18<br>24|
182
+ ||0.49<br>0.48<br>0.45<br>0.41<br>0.41|19<br>6<br>12<br>6|
183
+ ||0.19<br>0.41<br>0.41<br>0.41<br>0.41|83<br>82<br>83<br>86|
184
+ |Memory<br>Region<br>SYMC<br>58.9M 340M<br>PalmTree<br>3.07M 17.9G<br>PalmTree-O<br>3.07M 5.8G<br>PalmTree-N<br>3.07M 1.1G|0.86<br>0.86<br>0.86<br>0.86<br>0.86|0<br>0<br>0<br>0|
185
+ ||0.57<br>0.45<br>0.45<br>0.48<br>0.43|17<br>17<br>28<br>18|
186
+ ||0.57<br>0.42<br>0.45<br>0.47<br>0.44|10<br>13<br>14<br>11|
187
+ ||0.32<br>0.22<br>0.29<br>0.17<br>0.2|30<br>36<br>31<br>32|
188
+ |Function<br>Similarity<br>SYMC<br>58.9M 133M<br>PalmTree<br>3.06M 17.4G<br>PalmTree-O<br>3.06M 5.3G<br>PalmTree-N<br>3.06M 614M|0.96<br>0.96<br>0.96<br>0.96<br>0.96|0<br>0<br>0<br>0|
189
+ ||0.72<br>0.61<br>0.53<br>0.71<br>0.69|18<br>19<br>30<br>31|
190
+ ||0.8<br>0.79<br>0.76<br>0.72<br>0.72|30<br>28<br>30<br>35|
191
+ ||0.71<br>0.64<br>0.56<br>0.66<br>0.72|11<br>18<br>24<br>38|
192
+
193
+ > _∗_ We observe a slight value change due to the floating point precision error by adopting memory-efficient 16-bit.
194
+
195
+ consider two categories of binary code transformations: (1) _compiler optimizations_ from GCC-7.5 and Clang-8, some of which reorder instructions for scheduling purposes (-fdelayed-branch, -fschedule-insns); and (2) _compiler-based obfuscations_ , where we consider 5 obfuscations following Jin et al. (2022), such as control flow flattening, indirect branching, etc.
196
+
197
+ In addition to binary transformations, we consider six source code transformations following Rabin et al. (2021) and Wang et al. (2022): _variable rename_ - changes the name of the identifiers; _statement permute_ – permutes statements but preserves the code blocks’s input-output behavior; _loop exchange_ – transforms for from/to while loops; _boolean exchange_ – flips the boolean variables and negates all their uses by tracking their def-use chain; _unused statement_ – injects unused string declaration into a randomly chosen basic block; _switch to if_ – transforms switch from/to if statements.
198
+
199
+ ## 6 EVALUATION
200
+
201
+ ## 6.1 INVARIANCE AND GENERALIZATION
202
+
203
+ **Evaluating** _Aut_ ( _PDG_ ) **-invariance.** As SYMC is provably invariant to _Aut_ ( _PG_ ), we aim to study how other baselines perform under varying percentages of semantics-preserving statement permutations. Table 2 shows that all baselines, even some of which have much larger model sizes and are extensively pre-trained with samples that potentially include the test set (§5), are susceptible to slight permutations (e.g., 25%), i.e., with their prediction changed by 27.8% on average.
204
+
205
+ **Generalization to other semantics-preserving transformations.** Table 3 shows that SYMC generalizes to new samples transformed by unseen semantics-preserving transformations that are not part of _Aut_ ( _PDG_ ), outperforming the second-best non-LLM based approach, code2seq, by 30.8%. It also outperforms the two LLMs, GPT-4 and WizardCoder, by 16.1% and 1.63%, respectively. We integrate CodeWordNet (Jin et al., 2022) to relax predicted names to a cluster of synonyms, addressing the issue of ambiguity of function names. However, the performance of SYMC decreases to 0.309 (was 0.374) when we measure the exact match. This performance gap shows that large pre-trained code models possess a more comprehensive understanding of natural language, especially beneficial for
206
+
207
+ 7
208
+
209
+ **==> picture [398 x 86] intentionally omitted <==**
210
+
211
+ **----- Start of picture text -----**<br>
212
+ SymC Palmtree PalmTree-O PalmTree-N<br>1.0 1.0 1.0 1.0<br>0.8 0.8 0.8 0.8<br>0.6 0.6 0.6 0.6<br>0.4 0.4 0.4 0.4<br>0.2 0.2 0.2 0.2<br>Seen Unseen Seen Unseen Seen Unseen Seen Unseen<br>(a) Cross-OPT similarity (b) Cross-OPT signature (c) Cross-OBF similarity (d) Cross-OBF signature<br>AUC F1 AUC F1<br>**----- End of picture text -----**<br>
213
+
214
+ Figure 2: Evaluation on unseen optimization and obfuscation (marked in pink). We also include the testing results on seen optimizations and obfuscations.
215
+
216
+ function name prediction. Nonetheless, SYMC retains the edge of having a much smaller model size (108 _×_ ), eliminating the need for extensive pre-training, and offering provable robustness.
217
+
218
+ Besides basic source rewrites, we compare SYMC to baselines on generalization to unseen compiler optimizations and obfuscations. Figure 2 shows that SYMC outperforms PalmTree across all binary analysis tasks (we do not include memory region prediction as the dataset does not have such information (Guo et al., 2019)) by 33.8% and 30.7% on seen and unseen transformations, respectively. While the compiler optimizations and obfuscations often involve more sophisticated transformations not directly related to instruction permutations, SYMC maintains its superior generalization.
219
+
220
+ ## 6.2 TRAINING EFFICIENCY
221
+
222
+ Besides the improved robustness and generalization, SYMC is efficient in training in avoiding expensive pre-training efforts, e.g., some may take up to 10 days (Jin et al., 2022). As shown in §6.1, SYMC, without any pretraining, outperforms the pre-trained baselines.
223
+
224
+ In this section, we assess SYMC’s performance under the limited training resources and how much training effort it can save. Specifically, we reduce the _model sizes_ and _training iterations_ to test the
225
+
226
+ Table 3: The performance (F1) of SYMC and baselines against different unseen code transformations.
227
+
228
+ ||||**SYMC **|**code2seq **|**code2vec **|**GGNN **|**GPT-4 **|**WizardCoder**|
229
+ |---|---|---|---|---|---|---|---|---|
230
+ ||Variable|0%|0.389|0.334|0.264|0.029|0.356|0.362|
231
+ ||Rename|100%|0.375|0.335|0.247|0.026|0.351|0.361|
232
+ ||Statement|0%|0.363|0.241|0.177|0.019|0.303|0.339|
233
+ ||Permute<br>Loop<br>Exchange|100%<br>0%<br>100%|0.363<br>0.373<br>0.357|0.234<br>0.283<br>0.299|0.196<br>0.243<br>0.241|0.019<br>0.007<br>0.007|0.307<br>0.310<br>0.308|0.346<br>0.379<br>0.366|
234
+ ||Boolean|0%|0.421|0.332|0.268|0.031|0.329|0.414|
235
+ ||Exchange<br>Unused<br>Statement|100%<br>0%<br>100%|0.412<br>0.347<br>0.342|0.272<br>0.296<br>0.285|0.242<br>0.267<br>0.26|0.026<br>0.016<br>0.012|0.323<br>0.316<br>0.309|0.406<br>0.358<br>0.350|
236
+ ||Switch|0%|0.372|0.31|0.376|0.027|0.326|0.385|
237
+ ||to If|100%|0.372|0.293|0.33|0.009|0.332|0.379|
238
+
239
+ hypothesis that SYMC requires less training effort for similar testing performance due to its improved training efficiency. Figure 3 shows that SYMC’s performance (on memory region prediction) remains the highest in both reduced size and training iterations, outperforming PalmTree by 36.9% and 21.4%, respectively. Even in the most strict scenario, SYMC remains 38.2% and 15.3% better in both settings.
240
+
241
+ We then study the training effort (including both pre-training and fine-tuning) of SYMC and PalmTree. Table 4 shows their GPU hours, power, and emitted carbon dioxide estimation when they reach 0.5 F1 score in memory region prediction. We assume the GPU always reaches its power cap (350W) to estimate an upper bound of the power usage. CO2eq stands for the carbon dioxide equivalent, a unit for measuring carbon footprints. By being more training efficient, SYMC incurs 1,281 _×_ less total GPU time, power, and emitted carbon dioxide than PalmTree in obtaining the same performance.
242
+
243
+ ## 6.3 ABLATIONS OF DESIGN CHOICES
244
+
245
+ **Equivariance vs. Invariance.** We compare the _Aut_ ( _PDG_ )- _equivariant_ self-attention layers to the _Aut_ ( _PDG_ )- _invariant_ ones, an alternative design choice to implement _Aut_ ( _PDG_ )- _invariant_ code
246
+
247
+ 8
248
+
249
+ **==> picture [229 x 86] intentionally omitted <==**
250
+
251
+ **----- Start of picture text -----**<br>
252
+ SymC Palmtree PalmTree-O PalmTree-N<br>0.8<br>0.6<br>0.6<br>0.4 0.4<br>100% 50% 25% 12.5% 8k 4k 2k 1k<br>(a) Reduce model size (b) Reduce training iterations<br>F1 F1<br>**----- End of picture text -----**<br>
253
+
254
+ Figure 3: Comparing SYMC and baselines on constrained resources, where we (a) reduce the model weights, and (b) reduce the number of training iterations, and observe how that affects the performance.
255
+
256
+ Table 4: The resource consumed by training SYMC and other baselines to reach 0.5 F1 score in memory region prediction.
257
+
258
+ |||**Time**|**Power**|**Carbon**|
259
+ |---|---|---|---|---|
260
+ |||(Hours)|(kWh)|(CO2eq)|
261
+ ||SYMC|0.07|0.025|0.009|
262
+ ||PalmTree-O_∗_|89.67|31.38|11.64|
263
+
264
+ > _∗_ PalmTree did not disclose its hours for pre-training, so we include the pre-training time (in 10 epochs) based on our own pre-trained PalmTree.
265
+
266
+ models. Figure 4a shows that setting layers invariant early hinders prediction performance. SYMC with equivariant layers has an average 0.73 F1 across all training iterations and outperforms the second-best setting by 60.7%. This observation confirms the empirical findings that making earlier layers equivariant instead of invariant leads to better performance (Higgins et al., 2018).
267
+
268
+ **Adding pre-training.** We ex2nd 4th 6th w/o pre-train pre-train 5 epochs plore the impact of pre-training Equivariant SymC F1=0.86 pre-train 1 epoch pre-train 10 epochs SYMC with masked language 0.30 modeling (Devlin et al., 2018). 0.28 0.8 We compare SYMC (without pre-training by default) to pre0.26 0.7 trained versions with varying pre0.24 training iterations. We then fine1 2 3Training Iterations (k)4 5 6 7 8 9 10 1 2 3Training Iterations (k)4 5 6 7 8 9 10 tune them for memory region pre(a) Equivariance vs. invariance (b) Pre-training SYMC diction. Figure 4b shows that pretraining with even one epoch reFigure 4: (a) Comparing SYMC’s equivariant self-attention layers sults in a significantly improved with setting them _invariant_ starting at earlier layer. (b) Comparing F1 score, e.g., by 10.8%, with SYMC when adding pre-training with varying pre-training epochs. much faster convergence. How-
269
+
270
+ ever, additional pre-training epochs show diminishing returns, likely due to the limited training samples, e.g., the F1 score only improves by 3.2% with pre-training five epochs compared to 1 epoch.
271
+
272
+ ## 7 RELATED WORK
273
+
274
+ **Code representation learning.** Previous research aims to automate software development tasks through code representation learning (Ding et al., 2023; Feng et al., 2020; Guo et al., 2022; Ahmad et al., 2021), employing new architectures and pre-training objectives (Hellendoorn et al., 2019; Allamanis et al., 2017; Sun et al., 2020; Peng et al., 2021; Kim et al., 2021; Guo et al., 2020). However, unlike our approach, these approaches cannot provide any guarantees of encoding semantics.
275
+
276
+ **Symmetry in machine learning.** Symmetry plays a crucial role in creating efficient neural architectures across various domains (Reiser et al., 2022; Wang et al., 2020; Bogatskiy et al., 2020; Perraudin et al., 2019; Cohen & Welling, 2016; Gordon et al., 2019; Dehmamy et al., 2021). Different architectures, such as CNNs, GNNs, and Transformers, leverage symmetry to handle translations, rotations, permutations, etc. (Lee et al., 2019; Cohen & Welling, 2016; Esteves et al., 2018; Hutchinson et al., 2021; Gordon et al., 2019; Romero & Cordonnier, 2020). SYMC sets the first step to formalize code semantics learning using symmetry groups.
277
+
278
+ ## 8 CONCLUSION
279
+
280
+ We studied code symmetries’ impact on code LLM architectures for program reasoning tasks, introducing a novel self-attention variant that brought significant gains in generalization and robustness across a variety of program analysis tasks, providing valuable insights for specialized LLM development in reasoning and analyzing programs.
281
+
282
+ 9
283
+
284
+ ## REFERENCES
285
+
286
+ - Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, and Kai-Wei Chang. Unified pre-training for program understanding and generation. _arXiv preprint arXiv:2103.06333_ , 2021.
287
+
288
+ - Miltiadis Allamanis, Hao Peng, and Charles Sutton. A convolutional attention network for extreme summarization of source code. In _International conference on machine learning_ , pp. 2091–2100. PMLR, 2016.
289
+
290
+ - Miltiadis Allamanis, Marc Brockschmidt, and Mahmoud Khademi. Learning to represent programs with graphs. _arXiv preprint arXiv:1711.00740_ , 2017.
291
+
292
+ - Uri Alon, Shaked Brody, Omer Levy, and Eran Yahav. code2seq: Generating sequences from structured representations of code. _arXiv preprint arXiv:1808.01400_ , 2018.
293
+
294
+ - Uri Alon, Meital Zilberstein, Omer Levy, and Eran Yahav. code2vec: Learning distributed representations of code. _Proceedings of the ACM on Programming Languages_ , 3(POPL):1–29, 2019.
295
+
296
+ - Daniel Arp, Erwin Quiring, Feargus Pendlebury, Alexander Warnecke, Fabio Pierazzi, Christian Wressnegger, Lorenzo Cavallaro, and Konrad Rieck. Dos and don’ts of machine learning in computer security. In _31st USENIX Security Symposium (USENIX Security 22)_ , pp. 3971–3988, 2022.
297
+
298
+ - Norman Biggs, Norman Linstead Biggs, and Biggs Norman. _Algebraic graph theory_ . Number 67. Cambridge university press, 1993.
299
+
300
+ - Alexander Bogatskiy, Brandon Anderson, Jan Offermann, Marwah Roussi, David Miller, and Risi Kondor. Lorentz group equivariant neural network for particle physics. In _International Conference on Machine Learning_ , pp. 992–1002. PMLR, 2020.
301
+
302
+ - Joshua Bundt, Michael Davinroy, Ioannis Agadakos, Alina Oprea, and William Robertson. Black-box attacks against neural binary function detection. _arXiv preprint arXiv:2208.11667_ , 2022.
303
+
304
+ - Taco Cohen and Max Welling. Group equivariant convolutional networks. In _International conference on machine learning_ , pp. 2990–2999. PMLR, 2016.
305
+
306
+ - Nima Dehmamy, Robin Walters, Yanchen Liu, Dashun Wang, and Rose Yu. Automatic symmetry discovery with lie algebra convolutional network. _Advances in Neural Information Processing Systems_ , 34:2503–2515, 2021.
307
+
308
+ - Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. _arXiv preprint arXiv:1810.04805_ , 2018.
309
+
310
+ Yangruibo Ding, Ben Steenhoek, Kexin Pei, Gail Kaiser, Wei Le, and Baishakhi Ray. Traced: Execution-aware pre-training for source code. _arXiv preprint arXiv:2306.07487_ , 2023.
311
+
312
+ - Carlos Esteves, Christine Allen-Blanchette, Ameesh Makadia, and Kostas Daniilidis. Learning so (3) equivariant representations with spherical cnns. In _Proceedings of the European Conference on Computer Vision (ECCV)_ , pp. 52–68, 2018.
313
+
314
+ - Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaocheng Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, et al. Codebert: A pre-trained model for programming and natural languages. _arXiv preprint arXiv:2002.08155_ , 2020.
315
+
316
+ - Patrick Fernandes, Miltiadis Allamanis, and Marc Brockschmidt. Structured neural summarization. _arXiv preprint arXiv:1811.01824_ , 2018.
317
+
318
+ - Fengjuan Gao, Yu Wang, and Ke Wang. Discrete adversarial attack to models of code. _Proceedings of the ACM on Programming Languages_ , 7(PLDI):172–195, 2023a.
319
+
320
+ - Shuzheng Gao, Cuiyun Gao, Chaozheng Wang, Jun Sun, David Lo, and Yue Yu. Two sides of the same coin: Exploiting the impact of identifiers in neural code comprehension. In _2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)_ , pp. 1933–1945. IEEE, 2023b.
321
+
322
+ 10
323
+
324
+ - Jonathan Gordon, David Lopez-Paz, Marco Baroni, and Diane Bouchacourt. Permutation equivariant models for compositional generalization in language. In _International Conference on Learning Representations_ , 2019.
325
+
326
+ - Daya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng, Duyu Tang, Shujie Liu, Long Zhou, Nan Duan, Alexey Svyatkovskiy, Shengyu Fu, et al. Graphcodebert: Pre-training code representations with data flow. _arXiv preprint arXiv:2009.08366_ , 2020.
327
+
328
+ - Daya Guo, Shuai Lu, Nan Duan, Yanlin Wang, Ming Zhou, and Jian Yin. Unixcoder: Unified cross-modal pre-training for code representation. _arXiv preprint arXiv:2203.03850_ , 2022.
329
+
330
+ - Wenbo Guo, Dongliang Mu, Xinyu Xing, Min Du, and Dawn Song. DEEPVSA: Facilitating value-set analysis with deep learning for postmortem program analysis. In _28th USENIX Security Symposium (USENIX Security 19)_ , 2019.
331
+
332
+ - Vincent J Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis, and David Bieber. Global relational models of source code. In _International conference on learning representations_ , 2019.
333
+
334
+ - Jordan Henke, Goutham Ramakrishnan, Zi Wang, Aws Albarghouth, Somesh Jha, and Thomas Reps. Semantic robustness of models of source code. In _2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER)_ , pp. 526–537. IEEE, 2022.
335
+
336
+ - Irina Higgins, David Amos, David Pfau, Sebastien Racaniere, Loic Matthey, Danilo Rezende, and Alexander Lerchner. Towards a definition of disentangled representations. _arXiv preprint arXiv:1812.02230_ , 2018.
337
+
338
+ - HuggingFace and ServiceNow. BigCode is an open scientific collaboration working on the responsible development and use of large language models for code. [URL removed] org/, 2022.
339
+
340
+ - Michael J Hutchinson, Charline Le Lan, Sheheryar Zaidi, Emilien Dupont, Yee Whye Teh, and Hyunjik Kim. Lietransformer: Equivariant self-attention for lie groups. In _International Conference on Machine Learning_ , pp. 4533–4543. PMLR, 2021.
341
+
342
+ - Shuiwang Ji, Yaochen Xie, and Hongyang Gao. A mathematical view of attention models in deep learning. _Texas A&M University: College Station, TX, USA_ , 2019.
343
+
344
+ - Xin Jin, Kexin Pei, Jun Yeon Won, and Zhiqiang Lin. Symlm: Predicting function names in stripped binaries via context-sensitive execution-aware code embeddings. In _Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security_ , pp. 1631–1645, 2022.
345
+
346
+ - Seohyun Kim, Jinman Zhao, Yuchi Tian, and Satish Chandra. Code prediction by feeding trees to transformers. In _2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)_ , pp. 150–162. IEEE, 2021.
347
+
348
+ - Donald Knuth. Permutations, matrices, and generalized young tableaux. _Pacific journal of mathematics_ , 34(3):709–727, 1970.
349
+
350
+ - Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In _International Conference on Machine Learning_ , pp. 3744–3753. PMLR, 2019.
351
+
352
+ - Xuezixiang Li, Qu Yu, and Heng Yin. Palmtree: Learning an assembly language model for instruction embedding. In _2021 ACM SIGSAC Conference on Computer and Communications Security_ , 2021.
353
+
354
+ - Dongge Liu, Jonathan Metzman, and Oliver Chang. AI-Powered Fuzzing: Breaking the Bug Hunting Barrier. [URL removed] ai-powered-fuzzing-breaking-bug-hunting.html, 2023.
355
+
356
+ - Ziyang Luo, Can Xu, Pu Zhao, Qingfeng Sun, Xiubo Geng, Wenxiang Hu, Chongyang Tao, Jing Ma, Qingwei Lin, and Daxin Jiang. Wizardcoder: Empowering code large language models with evol-instruct. _arXiv preprint arXiv:2306.08568_ , 2023.
357
+
358
+ 11
359
+
360
+ Petros Maniatis and Daniel Tarlow. Large sequence models for software development activities. [URL removed] large-sequence-models-for-software.html?m=1, 2023.
361
+
362
+ - Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. Fairseq: A fast, extensible toolkit for sequence modeling. In _2019 Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Demonstrations_ , 2019.
363
+
364
+ - Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. _Advances in neural information processing systems_ , 32, 2019.
365
+
366
+ - Han Peng, Ge Li, Wenhan Wang, Yunfei Zhao, and Zhi Jin. Integrating tree path in transformer for code representation. _Advances in Neural Information Processing Systems_ , 34:9343–9354, 2021.
367
+
368
+ - Nathanael Perraudin, Micha¨ el Defferrard, Tomasz Kacprzak, and Raphael Sgier.¨ Deepsphere: Efficient spherical convolutional neural network with healpix sampling for cosmological applications. _Astronomy and Computing_ , 27:130–146, 2019.
369
+
370
+ - Md Rafiqul Islam Rabin, Nghi DQ Bui, Ke Wang, Yijun Yu, Lingxiao Jiang, and Mohammad Amin Alipour. On the generalizability of neural program models with respect to semantic-preserving program transformations. _Information and Software Technology_ , 135:106552, 2021.
371
+
372
+ - Patrick Reiser, Marlen Neubert, Andre Eberhard, Luca Torresi, Chen Zhou, Chen Shao, Houssam´ Metni, Clint van Hoesel, Henrik Schopmans, Timo Sommer, et al. Graph neural networks for materials science and chemistry. _Communications Materials_ , 3(1):93, 2022.
373
+
374
+ - David W Romero and Jean-Baptiste Cordonnier. Group equivariant stand-alone self-attention for vision. _arXiv preprint arXiv:2010.00977_ , 2020.
375
+
376
+ - Zeyu Sun, Qihao Zhu, Yingfei Xiong, Yican Sun, Lili Mou, and Lu Zhang. Treegen: A tree-based transformer architecture for code generation. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 34, pp. 8984–8991, 2020.
377
+
378
+ - Rui Wang, Robin Walters, and Rose Yu. Incorporating symmetry into deep dynamics models for improved generalization. _arXiv preprint arXiv:2002.03061_ , 2020.
379
+
380
+ - Shiqi Wang, Zheng Li, Haifeng Qian, Chenghao Yang, Zijian Wang, Mingyue Shang, Varun Kumar, Samson Tan, Baishakhi Ray, Parminder Bhatia, et al. Recode: Robustness evaluation of code generation models. _arXiv preprint arXiv:2212.10264_ , 2022.
381
+
382
+ - Douglas Brent West et al. _Introduction to graph theory_ , volume 2. Prentice hall Upper Saddle River, 2001.
383
+
384
+ - Noam Yefet, Uri Alon, and Eran Yahav. Adversarial examples for models of code. _Proceedings of the ACM on Programming Languages_ , 4(OOPSLA):1–30, 2020.
385
+
386
+ - Zhuo Zhang, Guanhong Tao, Guangyu Shen, Shengwei An, Qiuling Xu, Yingqi Liu, Yapeng Ye, Yaoxuan Wu, and Xiangyu Zhang. Pelican: Exploiting backdoors of naturally trained deep learning models in binary code analysis. In _32nd USENIX Security Symposium_ , 2023.
387
+
388
+ ## A PRELIMINARIES
389
+
390
+ This section formally defines the symmetry group and the invariance and equivariance properties against the symmetry group.
391
+
392
+ **Symmetry group.** Intuitively, a _symmetry_ is a transformation or operation on an object that preserves certain properties of the object. For example, in the context of image classification, a rotation operation acting on an image of a ball, which does not change the label of the ball, can be considered a symmetry. A symmetry group is a set of such symmetries with some additional properties. An arbitrary set of symmetries does not always form a symmetry group. To form a symmetry group, a set of operations must possess certain additional properties as described below.
393
+
394
+ 12
395
+
396
+ **Definition A.1.** A _symmetry group_ ( _G, ◦_ ) consists of a non-empty set _G_ of transformations and a binary operator _◦_ : _G × G → G_ , where _◦_ operates on two elements (i.e., transformations) in _G_ , e.g., _x, y ∈ G_ , and produces a new transformation _z_ = _x ◦ y_ . ( _G, ◦_ ) should satisfy four axioms:
397
+
398
+ - **Associativity** : _∀x, y, z ∈ G, x ◦_ ( _y ◦ z_ ) = ( _x ◦ y_ ) _◦ z_
399
+
400
+ - **Identity** : _∃_ **1** _∈ G, ∀x ∈ G, x ◦_ **1** = **1** _◦ x_
401
+
402
+ - **Inverse** : _∀x ∈ G, ∃x[−]_[1] _∈ G, x ◦ x[−]_[1] = **1**
403
+
404
+ - **Closure** : _∀x, y ∈ G, x ◦ y ∈ G_
405
+
406
+ **Action of a symmetry group.** As defined above, the elements of a _G_ are abstract transformations that become concrete when they _act_ on some set _X_ , i.e., they transform some object _x ∈ X_ into another object _x[′] ∈ X_ while keeping some properties of the object _invariant_ . Formally, an action of a symmetry group _G_ is defined as follows:
407
+
408
+ **Definition A.2.** An **action** _•_ of a symmetry group ( _G, ◦_ ) is a binary operation defined on a set of objects _X_ , i.e., _•_ : _G × X → X_ ,[1] where
409
+
410
+ - **Identitiy:** _∀x ∈ X,_ **1** _• x_ = _x_
411
+
412
+ - **Compatibility:** _∀g, h ∈ G, x ∈ X,_ ( _g ◦ h_ ) _• x_ = _g •_ ( _h • x_ )
413
+
414
+ As a concrete example, _X_ can be a set of programs and _G_ can be all possible instruction permutations that preserve the input-output behavior of the programs in _X_ . It might seem unclear at this point how these permutations form a group (satisfying group axioms). We will formalize the notion of permutations and their actions on programs in §3.3.
415
+
416
+ **Notation.** It is common in the group theory literature to use _◦_ to denote both _action_ and _composition_ , when it is clear from the context which operation is being used (Higgins et al., 2018). For example, ( _g ◦ h_ ) _◦ x_ denotes _composing_ the two transformations _g_ and _h_ and then letting the composite transformation _act_ on an object _x_ . It is also customary to interchange _g_ ( _x_ ) and _g ◦ x_ where both denote applying a function/action on _x_ . Therefore, we treat _g •_ ( _h • x_ ), _g ◦_ ( _h ◦ x_ ), and _g_ ( _h_ ( _x_ )) as the same and follow this convention in the rest of this paper.
417
+
418
+ **Invariance and equivariance.** A symmetry group comes with two properties, namely _invariance_ and _equivariance_ , that formalize the concept of preservation of some properties when a set _X_ is acted upon by the symmetry group _G_ . Invariance refers to the property that remains unchanged under the action of the symmetry group. Equivariance, on the other hand, expresses the compatibility between the action of the symmetry group and the property.
419
+
420
+ To define this more precisely, we need to introduce a function _f_ : _X → Y_ , where _X_ is the set under consideration and _Y_ is the co-domain representing the range of possible values associated with the property of interest. The function _f_ maps each element _x ∈ X_ to a corresponding element _y_ in the set _Y_ , indicating the property’s value for that particular element. We now define the equivariance and invariance of _f_ operating on _X_ against the group operations in _G_ .
421
+
422
+ **Definition A.3.** Let _f_ : _X → Y_ be a function where _X_ and _Y_ are two sets and _G_ be the symmetry group that acts on both sets _X_ and _Y_ .[2]
423
+
424
+ - **Invariant** : _f_ is called _G_ **-invariant** if _∀g ∈ G, ∀x ∈ X, f_ ( _g ◦ x_ ) = _f_ ( _x_ ).
425
+
426
+ - **Equivariant** : _f_ is called _G_ **-equivariant** if _∀g ∈ G, ∀x ∈ X, f_ ( _g ◦ x_ ) = _g ◦ f_ ( _x_ ).
427
+
428
+ **Self-attention layers.** Given the embeddings of all vertices _fi_ from _IG_ , we consider a sequence of embeddings by flattening _IG_ following the order of instructions in _c_ . Let this sequence of embeddings be denoted as _e_ = ( _e_ 1 _, ..., en_ ). The self-attention computation, denoted as _A_ , takes _e_ as input and produces another sequence of embeddings, denoted as ( _e[′]_ 1 _[, ..., e][′] n_[)][.]
429
+
430
+ > 1In group theory literature, this is often called the left action, but we will omit “left” as it is the only type of action we will use in this paper.
431
+
432
+ > 2We assume that _X_ and _Y_ have the same number of elements for the action of _G_ to be defined on both _X_ and _Y_ .
433
+
434
+ 13
435
+
436
+ The core operations in self-attention _A_ involve updating each embedding _ei_ through the following steps:
437
+
438
+ 1. First, it maps each embedding _ei_ to three embeddings (query, key, and value): _qi_ = _fq_ ( _ei_ ), _ki_ = _fk_ ( _ei_ ), _vi_ = _fv_ ( _ei_ ), where _fq_ , _fk_ , and _fv_ are affine transformations (i.e., fully-connected linear layers) parameterized by _wq_ , _wk_ , and _wv_ , respectively.
439
+
440
+ 2. Next, it computes the attention score _aij_ between every pair of embeddings _ei_ and _ej_ by taking the dot product between the query _qi_ of _ei_ and the key _kj_ of _ej_ : _aij_ = _qi · kj_ . The attention scores form a square matrix, where each cell _aij_ indicates the attention that _ei_ should pay to _ej_ . The attention scores are then divided by _√d_ (the dimension of the embedding vectors), scaled using the softmax function to ensure they sum up to 1: _a_ ˆ _ij_ = � _nj_ ex=1p([exp(] _aij_ ) _[a][ij]_[)][.][These two operations are] denoted by _s_ .
441
+
442
+ 3. Finally, the scaled attention score ˆ _aij_ is multiplied by _vj_ , and a vector sum is computed: _e[′] i_[=] � _nj_ =1 _[a]_[ˆ] _[ij][v][ij]_[.]
443
+
444
+ ## B PROOFS
445
+
446
+ **Lemma 1.** Let _f_ 1 and _f_ 2 be two functions that are both _G_ -equivariant and _h_ = _f_ 1 _◦ f_ 2 be the new function composed by _f_ 1 and _f_ 2. _h_ is also _G_ -equivariant.
447
+
448
+ _Proof._ For all _g ∈ G_ and any input _x_ , we have
449
+
450
+ _h_ ( _g ◦ x_ ) = ( _f_ 1 _◦ f_ 2)( _g ◦ x_ ) = _f_ 1( _f_ 2( _g ◦ x_ )) _▷_ Associativity = _f_ 1( _g ◦ f_ 2( _x_ )) _▷f_ 2 is equivariant to _g_ = _g ◦ f_ 1( _f_ 2( _x_ )) _▷f_ 1 is equivariant to _g_ = _g ◦_ ( _f_ 1 _◦ f_ 2)( _x_ ) _▷_ Associativity = _g ◦ h_ ( _x_ )
451
+
452
+ Therefore, _h_ ( _g ◦ x_ ) = _g ◦ h_ ( _x_ ), so _h_ is _G_ -equivariant.
453
+
454
+ **Lemma 2.** Let _f_ 1 and _f_ 2 be two functions where _f_ 1 is _G_ -equivariant _f_ 2 is _G_ -invariant, and _h_ = _f_ 2 _◦f_ 1 be the new function composed by applying _f_ 1 and then _f_ 2. _h_ is _G_ -invariant.
455
+
456
+ _Proof._ For all _g ∈ G_ and any input _x_ , we have
457
+
458
+ **==> picture [262 x 81] intentionally omitted <==**
459
+
460
+ **Theorem 1.** The set of automorphisms _σ ∈ Aut_ ( _IG_ ) forms a program symmetry group.
461
+
462
+ _Proof._ Consider an arbitrary _σ ∈ Aut_ ( _IG_ ). Definition 3.8 states that for all _fi ∈{f_ 1 _, ..., fn}_ , _σ_ ( _fi_ ) have the same edges as _IG_ before _σ_ was applied. As _σ_ is a permutation and there is also a bijective mapping between _fi_ and _ci_ , i.e., _fi_ always interprets _ci_ , we have _σ_ ( _fi_ ) = _fi_ ( _σ◦ci, ini_ ). Definition 3.8 also states that _σ_ ( _fi_ ) is connected with the same edges. Therefore, the output of _σ_ ( _fi_ ) = _outi_ . We thus have _fi_ ( _σ ◦ ci, ini_ ) = _outi_ = _fi_ ( _ci, ini_ ) _, ∀σ ∈ Aut_ ( _IG_ ) and _∀fi ∈{f_ 1 _, ..., fn}_ . Therefore, all _σ ∈ Aut_ ( _IG_ ) are semantics-preserving program symmetries, according to Definition 3.6. Moreover, it is well known in the literature that the automorphisms of any graph form a group by satisfying group axioms (Definition A.1) (Biggs et al., 1993; West et al., 2001). Therefore, _Aut_ ( _IG_ ) forms a group of program symmetries, according to Definition 3.7: _Aut_ ( _IG_ ) _∈ G_ .
463
+
464
+ 14
465
+
466
+ **Permutation matrix.** Let _π_ be a symmetry in the permutation group that permutes input embeddings _e ∈_ R _[d][×][n]_ to the self-attention layer. Applying _π_ is done by _e_ with a permutation matrix _pπ ∈ {_ 0 _,_ 1 _}[n][×][n]_ (Knuth, 1970). _pπ_ is an orthogonal binary matrix with a single 1 in each column and row, and 0s elsewhere. Right-multiplying _e_ with _pπ_ permutes columns, and left-multiplying _e[T]_ with _p[T] π_ permutes rows.
467
+
468
+ **Theorem 2.** The biased self-attention layer, _GA_ ( _e_ ) = _wve ·_ ( _s_ ( _wke[T] · wqe_ ) + _dIG_ ), is _Aut_ ( _IG_ )- equivariant.
469
+
470
+ _Proof._
471
+
472
+ **==> picture [187 x 27] intentionally omitted <==**
473
+
474
+ _σ_ ( _·_ ) denotes applying the permutation matrix _pσ_ . As we have _σ_ ( _dIG_ ) = _dIG_ (the first property of _dIG_ ):
475
+
476
+ **==> picture [195 x 29] intentionally omitted <==**
477
+
478
+ Softmax _s_ is permutation equivariant, and _dIG · pσ_ = _pσ · dIG_ (the second property of _dIG_ ):
479
+
480
+ = _wve_ ( _pσp[T] σ_[)] _[ ·][ s]_[((] _[w][k][e]_[)] _[T][·][ w][q][e]_[)] _[ ·][ p][σ]_[+] _[ w][v][e][ ·][ d][IG][·][ p][σ]_ = _wve ·_ (( _s_ ( _wke_ ) _[T] · wqe_ ) + _dIG_ ) _· pσ_ = _σ_ ( _GA_ ( _e_ ))
481
+
482
+ **Lemma 3.** The biased self-attention layer computing the embedding _e[′] i_[=] _[GA]_[(] _[e][i]_[)][is] _[Aut]_[(] _[IG]_[)][-] invariant.
483
+
484
+ _Proof._
485
+
486
+ **==> picture [178 x 28] intentionally omitted <==**
487
+
488
+ _di_ is a column vector, so permuting the row of _di_ is achieved by _p[T] σ[d][i]_[(see §][3.4][):]
489
+
490
+ **==> picture [215 x 45] intentionally omitted <==**
491
+
492
+ _pσ_ is an orthogonal matrix (see §3.4):
493
+
494
+ **==> picture [133 x 26] intentionally omitted <==**
495
+
496
+ **Lemma 4.** The distance matrix _d_ of PDG remains invariant under the action of _σ ∈ Aut_ ( _PDG_ ).
497
+
498
+ > _Proof._ We need to show that the shortest path _pσ_ ( _i_ ) _σ_ ( _j_ ) from _σ_ ( _Tij_ ) to _σ_ ( _Vi_ ) remains the same as _pij_ (the same applies to _nσ_ ( _i_ ) _σ_ ( _j_ )). Without loss of generality, we focus on proving _pσ_ ( _i_ ) _σ_ ( _j_ ) = _pij_ .
499
+
500
+ Assume there exists a shortest path _P_ = ( _Tij, ..., Vi_ ). Let _P[′]_ = ( _σ_ ( _Tij_ ) _, ..., σ_ ( _Vi_ )) be the corresponding shortest path in _σ_ ( _PDG_ ) under the automorphism _σ_ . We need to demonstrate two properties.
501
+
502
+ First, _P[′]_ is a valid path from _σ_ ( _Tij_ ) to _σ_ ( _Vi_ ). Since _P_ is a valid path, _Tij_ is adjacent to its next node in _P_ (denoted as _Vm_ ), and this holds for every pair of neighboring nodes until _Vi_ . As _σ_ is an
503
+
504
+ 15
505
+
506
+ automorphism, the same adjacency relationship holds for _P[′]_ , where _σ_ ( _Tij_ ) is adjacent to _σ_ ( _Vm_ ) and so on, until _σ_ ( _Vi_ ). Hence, _P[′]_ is a valid path from _σ_ ( _Tij_ ) to _σ_ ( _Vi_ ) in PDG.
507
+
508
+ Second, we aim to show that _|P |_ = _|P[′] |_ , meaning _pσ_ ( _i_ ) _σ_ ( _j_ ) = _pij_ . Suppose, for contradiction, that _pσ_ ( _i_ ) _σ_ ( _j_ ) = _pij_ . Let’s consider the case where _pσ_ ( _i_ ) _σ_ ( _j_ ) _< pij_ . This implies that the length of the path _P[′]_ = ( _σ_ ( _Tij_ ) _, σ_ ( _Vm_ ) _, ..., σ_ ( _Vn_ ) _, σ_ ( _Vi_ )) is shorter than _pij_ .
509
+
510
+ Now, let’s apply _σ[−]_[1] to each node in _P[′]_ , resulting in _σ[−]_[1] ( _P[′]_ ). Since _σ[−]_[1] is also in _Aut_ ( _PDG_ ) and _σ[−]_[1] ( _σ_ ( _V_ )) = _V_ (Definition A.1), each pair of adjacent nodes in _P[′]_ , after applying _σ[−]_[1] , remains adjacent. Furthermore, the path formed by these adjacent nodes has a length of _pσ_ ( _i_ ) _σ_ ( _j_ ), connecting _Tij_ and _Vi_ in the original PDG.
511
+
512
+ Therefore, we obtain a path in PDG connecting _Tij_ and _Vi_ that is shorter than _pij_ , contradicting the fact that _pij_ is the shortest path in PDG between _Tij_ and _Vi_ . Thus, we reject the assumption that _pσ_ ( _i_ ) _σ_ ( _j_ ) _< pij_ .
513
+
514
+ Similarly, we can prove that _pσ_ ( _i_ ) _σ_ ( _j_ ) _> pij_ is also false by demonstrating its contradiction with the fact that _pσ_ ( _i_ ) _σ_ ( _j_ ) is the shortest path in _σ_ ( _PDG_ ).
515
+
516
+ Hence, we conclude that _pσ_ ( _i_ ) _σ_ ( _j_ ) = _pij_ , and as a result, the positive distance matrix _dp_ remains invariant under the action of _σ ∈ Aut_ ( _PDG_ ).
517
+
518
+ By following the same steps, we can prove that _nσ_ ( _i_ ) _σ_ ( _j_ ) = _nij_ , demonstrating the invariance of the negative distance matrix _dn_ under the action of _σ ∈ Aut_ ( _PDG_ ).
519
+
520
+ Therefore, the distance matrix _d_ remains invariant.
521
+
522
+ **Lemma 5.** The distance matrix _d_ of _PDG_ commutes with permutation matrix _pσ_ of the automorphism _σ ∈ Aut_ ( _PDG_ ): _d · pσ_ = _pσ · d_ .
523
+
524
+ _Proof._ According to Lemma 4, we have:
525
+
526
+ **==> picture [258 x 42] intentionally omitted <==**
527
+
528
+ **Lemma 6.** Standard self-attention layer _A_ is equivariant to the group of all permutations of input sequences.
529
+
530
+ _Proof._ Based on the operations performed by the self-attention layer and the permutation matrix, we can show the equivariance property as follows (Ji et al., 2019):
531
+
532
+ _A_ ( _π · e_ )
533
+
534
+ **==> picture [135 x 13] intentionally omitted <==**
535
+
536
+ **==> picture [284 x 60] intentionally omitted <==**
537
+
538
+ = _π_ ( _A_ ( _e_ ))
539
+
540
+ ## C SYMC IMPLEMENTATION DETAILS
541
+
542
+ **Input sequences to self-attention.** The Transformer self-attention layer takes an input sequence of embeddings _e_ generated by the embedding layer _Emb_ . It consists of four input sequences: the
543
+
544
+ 16
545
+
546
+ instruction sequence _c_ , per-instruction positional embeddings, and node centrality, denoted as _xc_ , _xpos_ , _xind_ , and _xoutd_ , respectively. For example, given the instruction sequence a=a+1;b=a, _xc_ represents the tokenized sequence as (a,=,a,+,1,b,=,a). _xpos_ assigns positions such that each new instruction/statement begins with position 1 of its first token and increases by 1 for each subsequent token within the instruction.
547
+
548
+ The centrality of each instruction is encoded by the in-degree and out-degree of the corresponding node in PDG. For each token in _ci_ , we annotate it with its in-degree (number of incoming edges) and out-degree (number of outgoing edges). For instance, in the case of a=a+1;b=a, the in-degree sequence _xind_ is (0 _,_ 0 _,_ 0 _,_ 0 _,_ 0 _,_ 1 _,_ 1 _,_ 1), and the out-degree sequence _xoutd_ is (1 _,_ 1 _,_ 1 _,_ 1 _,_ 1 _,_ 0 _,_ 0 _,_ 0).
549
+
550
+ We embed the four sequences independently using the embedding layers _Embc_ , _Embpos_ , _Embind_ , and _Emboutd_ . The final input embedding sequences _Emb_ ( _x_ ) are obtained by summing the embedded sequences for each token: _Emb_ ( _x_ ) = _Embc_ ( _xc_ ) + _Embpos_ ( _xpos_ ) + _Embind_ ( _xind_ ) + _Emboutd_ ( _xoutd_ ). We have the following lemma:
551
+
552
+ **Lemma 7.** The sum of the input embedding tokens sequences is _Aut_ ( _PDG_ )-equivariant: _Emb_ ( _σ ◦ x_ ) = _σ ◦ Emb_ ( _x_ ).
553
+
554
+ Group axiom of inclusion specifies that composing the _Aut_ ( _PDG_ )-equivariant embedding layers with _Aut_ ( _PDG_ )-equivariant MHA layers results in an _Aut_ ( _PDG_ )-equivariant representation learning component _r_ in our implementation.
555
+
556
+ ## D DETAILED EXPERIMENT SETUP
557
+
558
+ ## D.1 IMPLEMENTATION DETAILS
559
+
560
+ We implement SYMC in 40,162 lines of code using Fairseq (Ott et al., 2019) PyTorch (Paszke et al., 2019). To compute PDG for x86 assembly code, we utilize Ghidra to lift the assembly code into P-Code, an intermediate representation used by Ghidra, to track implicit data and control flow via FLAGS register. To compute PDG for Java functions, we employ JavaParser on Java ASTs to analyze control and data dependencies. We conduct all the experiments on three Linux servers with Ubuntu 20.04 LTS, each featuring an AMD EPYC 7502 processor, 128 virtual cores, and 256GB RAM, with 12 Nvidia RTX 3090 GPUs in total.
561
+
562
+ **Datasets.** We use the Java dataset collected by Allamanis et al. (2016) to evaluate the function name prediction. The dataset includes 11 Java projects, such as Hadoop, Gradle, etc., totaling 707K methods and 5.6M statements. We fix Hadoop as our test set and use the other projects for training, to ensure the two sets do not overlap. For binary analysis, we collect and compile 27 open-source projects such as OpenSSL, which contains approximately 1.13M functions and 137.6M instructions.
563
+
564
+ ## D.2 EXPERIMENT CONFIGURATIONS
565
+
566
+ **Hyperparameters.** We use SYMC with 8 attention layers, 12 attention heads, and a maximum input length of 512. For training, we use 10 epochs, a batch size of 64, and 14K/6K training/testing samples (strictly non-overlapping) unless stated otherwise. We employ 16-bit weight parameters for SYMC to optimize for memory efficiency.
567
+
568
+ **Evaluation metrics.** For most analysis tasks (§5), we use _F1 score_ , the harmonic mean of precision and recall. For function similarity detection, we use Area Under Curve (AUC) of ROC curve, as it handles continuous similarity scores and varying thresholds for determining function similarity. We note that AUC-ROC might not be the most reliable metric (Arp et al., 2022), but we choose it primarily for comparing to the baselines whose results are measured in AUC-ROC (Li et al., 2021).
569
+
570
+ ## E MORE DETAILED EXPERIMENTS
571
+
572
+ **Unseen optimizations.** We vary the compiler optimizations in training and evaluation and include reference experiments where the training and evaluation share the same optimization options (marked in gray). For function similarity detection, training on O0-O1 means the function pair has one function compiled with O0 and the other with O1. In the case of evaluating on unseen optimizations, the
573
+
574
+ 17
575
+
576
+ **==> picture [384 x 137] intentionally omitted <==**
577
+
578
+ **----- Start of picture text -----**<br>
579
+ SymC Palmtree PalmTree-O PalmTree-N<br>1.0<br>0.8<br>0.6<br>0.4<br>0.2<br>O2-O3 Seen opts O1-O3 Seen opts O1-O2 Seen opts O0-O3 Seen opts O0-O2 Seen opts O1-O0 Seen opts<br>(a) Train O0-O1 (b) Train O0-O2 (c) Train O0-O3 (d) Train O1-O2 (e) Train O1-O3 (f) Train O2-O3<br>0.75 0.75 0.75 0.75<br>0.50 0.50 0.50 0.50<br>0.25 0.25 0.25 0.25<br>0.00 0.00 0.00 0.00<br>O0 O1 O2 O3 O0 O1 O2 O3 O0 O1 O2 O3 O0 O1 O2 O3<br>(g) Train O0 (h) Train O1 (i) Train O2 (j) Train O3<br>AUC<br>F1 F1 F1 F1<br>**----- End of picture text -----**<br>
580
+
581
+ Figure 5: Unseen optimization evaluation. The upper row, i.e., (a)-(f), shows the results on function similarity detection. The lower row, i.e., (g)-(j), are results on function signature prediction. We also include the evaluation on seen optimizations (marked in gray).
582
+
583
+ **==> picture [386 x 146] intentionally omitted <==**
584
+
585
+ **----- Start of picture text -----**<br>
586
+ SymC Palmtree PalmTree-O PalmTree-N<br>1.0<br>0.8<br>0.6<br>0.4<br>sub cff bcf ind spl sub cff bcf ind spl sub cff bcf ind spl sub cff bcf ind spl sub cff bcf ind spl<br>(a) Train sub (b) Train cff (c) Train bcf (d) Train ind (e) Train spl<br>1.0<br>0.5<br>sub cff bcf ind spl sub cff bcf ind spl sub cff bcf ind spl sub cff bcf ind spl sub cff bcf ind spl<br>(f) Train sub (g) Train cff (h) Train bcf (i) Train ind (j) Train spl<br>AUC<br>F1<br>**----- End of picture text -----**<br>
587
+
588
+ Figure 6: Unseen obfuscations evaluation. Similar to Figure 5, the upper row, i.e., (a)-(e), shows the results on function similarity detection. The lower row, i.e., (f)-(j), are results on function signature prediction. We also include the evaluation on seen optimizations (marked in gray).
589
+
590
+ Figure 5 shows that SYMC outperforms PalmTree by 31% when evaluated on unseen optimizations. SYMC experiences a performance drop (e.g., by 28.6%) when not trained on O0 but tested on those compiled with O0. We believe this drop is caused by the extensive optimizations already enabled at the O1 (e.g., GCC employs 47 optimizations to aggressively reduce execution time and code size). The shift in distribution between O1 and O0 is much more pronounced than between O2 and O1, indicated by a KL divergence of 1.56 from O1 to O0 compared to 0.06 (96.2% lower) from O3 to O2. Nevertheless, when evaluated on seen optimizations, SYMC outperforms PalmTree by 28.1% on average.
591
+
592
+ **Unseen obfuscations.** We compare SYMC to baselines on generalization to unseen obfuscations. Figure 6 shows that SYMC outperforms PalmTree (on average) on unseen and seen obfuscations by 33.3% and 36.6%, respectively. Similar to the observations in evaluating unseen optimizations, while the obfuscations are not directly related to instruction permutations (i.e., automorphisms in _Aut_ ( _PDG_ )), SYMC maintains its superior performance.
593
+
594
+ **Unseen lengths.** Besides the code transformations, we look into SYMC’s generalization to _longer_ sequences than those seen in training, a popular task for evaluating model generalizability (Gordon et al., 2019). We divide samples into four length bins (bin1 to bin4) based on their distribution in the dataset (§5). The bins are non-overlapping and increase in length. For example, we used bins
595
+
596
+ 18
597
+
598
+ **==> picture [392 x 87] intentionally omitted <==**
599
+
600
+ **----- Start of picture text -----**<br>
601
+ SymC Palmtree PalmTree-O PalmTree-N<br>1.0<br>0.75 0.75<br>0.5 0.50 0.50<br>0.25 0.25<br>0.0 0.00 0.00<br>bin1- bin1- bin1- bin2- bin2- bin3- bin1- bin1- bin1- bin2- bin2- bin3- bin1- bin1- bin1- bin2- bin2- bin3-<br>bin2 bin3 bin4 bin3 bin4 bin4 bin2 bin3 bin4 bin3 bin4 bin4 bin2 bin3 bin4 bin3 bin4 bin4<br>(a) Function similarity (b) Function signature (c) Memory region<br>AUC F1 F1<br>**----- End of picture text -----**<br>
602
+
603
+ Figure 7: Evaluation on unseen samples with longer lengths. bin1-bin4 denotes training on samples with lengths in bin1 and testing on those in bin4.
604
+
605
+ [0-10], [1-20], [21-50], and [51-500] for function similarity detection. Figure 7 demonstrates that SYMC maintains strong generalization to longer sequences, outperforming PalmTree by 41.8%.
606
+
607
+ 19
608
+
open_review/iclr2024_8802.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8802",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Local-Forward: Towards Biological Plausibility in Deep Reinforcement Learning",
6
+ "abstract": "A lasting critique of deep learning as a model for biological intelligence and learning is the biological implausibility of backpropagation.\nBackpropagation requires caching local outputs and propagating a global error via derivatives, neither of which are known to be implemented by biological neurons.\nIn reinforcement learning, building more biologically plausible agents would allow us to better model human cognition and social behavior, and improve computational efficiency.\nWe propose Local-Forward, a new temporal-difference learning algorithm (and associated architecture) that trains neural networks to predict Q-values.\nRather than backpropagating error derivates, we rely on updates that are local to each layer of the architecture and additionally use forward connections in time to pass information from upper layers to lower layers via activations. Our approach builds on the recently proposed Forward-Forward algorithm, as well as recurrence and attention in neural architectures. \nThis approach no longer suffer the aforementioned contradictions with biology.\nFurthermore, as a proof-of-concept, we train reinforcement learning agents with Local-Forward to solve control tasks in the MinAtar environments, and show that our method's potential warrants further investigation because it opens avenues for more computational efficient training.",
7
+ "rebuttal": "Thanks for the response! We have updated the manuscript, and included more experiments on 4 new RL environments, Cart Pole, Mountain Car, Lunar Lander, and Acrobot. We chose these environments because they were used to evaluate another recent biologically-inspired algorithm for deep Q-learning, Active Neural Generative Coding (Ororbia and Mali, 2022). We also added experiments on MNIST and CIFAR-10, following Reviewer AyQt's suggestion. We're very glad to report that LF performs well on all of the new experiments. Please check out our new Appendix C and Appendix D, and hope this helps quell your remaining concerns!\n\nDear Reviewers,\n\nWe uploaded a new version of our manuscript. Following each reviewer’s advice, the major changes are as follows:\n\n- We added new experimental results for 4 additional environments, Cart Pole, Mountain Car, Lunar Lander, and Acrobot, in Appendix C. We selected these environments because they were used to evaluate another recent biologically-inspired learning algorithm for deep RL, Active Neural Generative Coding (Ororbia and Mali, 2022). We show that LF achieves strong performance in all 4 environments. (Reviewer AyQt, Reviewer MymM)\n- We added new experimental results on MNIST [...]\n\nHey again Reviewer AyQt,\n\nJust wanted to give you an update re: the additional experiments we promised to run-- they're done and in the updated manuscript :)\n\nIn Appendix C we added new experiments on 4 new RL environments, Cart Pole, Mountain Car, Lunar Lander, and Acrobot to further show the applicability of our algorithm across different RL environments, and indirectly compare LF's performance against ANGC.\nIn Appendix D we added results on MNIST and CIFAR-10. LF's performance across all these tasks look strong!\n\nWe chose Cart Pole, Mountain Car, Lunar Lander, and Acrobot as our new environ [...]\n\n- **Computational cost of LF compared to DQN.**\nThe computational efficiency gains of LF over DQN come from two main sources: increased potential for parallelization, and decreased data movement costs.\nFor DQNs (and backpropagation in general), because the error of each lower layer is dependent on higher layers, the updates must be computed sequentially layer-by-layer.\nIn contrast, since LF computes losses and updates locally (using a global signal), the layers of LF are not dependent on each other, which allows the learning to be parallelized across the layers.\nFuthermore, DQNs suffers from t [...]\n\n- **The reward signal is used globally, despite the claim that we do not propagate loss signal between cells.**\nThe reviewer is correct-- however, sending the reward globally is actually intended, and is biologically motivated by known processes from reward-based learning in the striatum (as discussed in our response to the biological insights question).\nAlthough global propagation of loss/error signals is not biologically plausible, broadcasting a reward signal globally is plausible (Li and Jasanoff, 2020).\n\n We understand this can likely be a common point of confusion. To improve clarity, w [...]\n\nWe thank the reviewer for their comments and suggestions.\n\nWe particularly appreciate that the reviewer gave detailed, constructive feedback to help us improve our work, while acknowledging the future potential of our approach.\n\nWe are currently working on additional experiments that compare LF's performance against ANGC, and evaluate LF's performance on MNIST and CIFAR-10 to further support its robustness across tasks.\n\nIn the meantime, we want to address the other concerns and questions the reviewer raised:\n\n- **Biological insights beyond just \"it can solve MinAtar.\"**\nThanks for raising thi [...]\n\n- We have a two-part answer regarding **Weakness 3**, i.e. by conducting our experiments on MinAtar, we only cover 5 basic tasks.\nFirst, while solving MinAtar might not be challenging for more established deep RL algorithms, in our experience they are not certainly not basic tasks for a novel algorithm that does not utilize backpropagation.\nFor example, Active Neural Generative Coding (Ororbia and Mali, 2022), another recently developed biologically-inspired deep Q-learning algorithm, is evaluated on four simpler environments, but their work is nonetheless a very insightful contribution that p [...]\n\nWe thank the reviewer for their comments and suggestions. \n\nUnfortunately, we believe there are some significant misunderstandings, particularly regarding the novelty of our algorithm and our contributions, that may have affected the reviewer’s judgment. This likely reflects that our paper does not present these aspects of our work sufficiently clearly. Thus, we have adjusted Sections 1, 2 and 3 of our upcoming updated manuscript accordingly to better communicate them, but we also want to first provide a more direct response here.\n\n- We believe the reviewer misinterpreted our work as just an [...]\n\nRegarding your question: this is indeed an interesting and surprising observation— intuitively, it seems that a multi-layer network without an information channel from upper to lower layers should not perform well, as the upper layers cannot provide any feedback to the lower layers.\nWe can’t claim any credit for the discovery of this unexpected behavior; it was first raised by Hinton (2022).\nHinton showed that, for the MNIST classification task, the lower layers of a multi-layer network trained without any downward connections can nonetheless learn useful features for upper layers, and thus ac [...]\n\nWe thank the reviewer for their comments and suggestions.\n\nWe particularly appreciate that the reviewer took extra time to give specific, actionable feedback. We agree with the weaknesses, and addressed each concern in our upcoming updated manuscript to improve it. Specifically:\n\n- We modulated our claim in the first bullet point of the contributions; it now reads “We propose an alternative to backpropagation for reinforcement learning that suffers less contradictions with known biology.\"\n- We standardized \n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 6,
10
+ 3,
11
+ 6
12
+ ],
13
+ "score_mean": 5.0,
14
+ "score_variance": 3,
15
+ "score_spread": 3,
16
+ "score_min": 3,
17
+ "score_max": 6,
18
+ "decision": "Reject",
19
+ "rebuttal_validity_ground_truth": false,
20
+ "meta_review": "This submission proposes \"Local-Forward,\" an new temporal-difference learning algorithm for prediction Q-values. This algorithm attempts to replace the biologically-implausible backpropagation algorithm with a method that utilizes local updates and forward connections, drawing inspiration from the Forward-Forward algorithm and integrating aspects of recurrence and attention in neural architectures. This is an important topic, and the paper went through major updates during the rebuttal.\n\nHowever, despite the authors' efforts to clarify, the core novelty of the proposed Local-Forward algorithm remains ambiguous. Reviewers pointed out that it appears to be a variant of the existing Forward-Forward algorithm applied to reinforcement learning tasks, and the authors' response, while detailed, has not fully addressed these concerns. The scope and depth of the experiments conducted to validate the proposed algorithm are limited. Although the authors have expanded their experimental setup in response to reviewer feedback, the additional experiments still do not comprehensively demonstrate the algorithm's effectiveness or superiority over existing methods. While the paper aims to address the biological implausibility of backpropagation, it does not convincingly establish the biological plausibility of its own approach. See reviewer comments below for full details of these points.",
21
+ "forum_id": "fjRM5ozPv9",
22
+ "primary_area": "reinforcement learning",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_eRt9",
27
+ "review_id": "CDSCPXM76g",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 3,
31
+ "presentation": 4,
32
+ "contribution": 3,
33
+ "confidence": 2
34
+ },
35
+ "review_text_chars": 2204,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 759370,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_MymM",
43
+ "review_id": "2AujE5TCoC",
44
+ "scores": {
45
+ "rating": 3,
46
+ "soundness": 2,
47
+ "presentation": 3,
48
+ "contribution": 2,
49
+ "confidence": 4
50
+ },
51
+ "review_text_chars": 1636,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 2400366,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_AyQt",
59
+ "review_id": "JQ8oKtf4VJ",
60
+ "scores": {
61
+ "rating": 6,
62
+ "soundness": 3,
63
+ "presentation": 3,
64
+ "contribution": 3,
65
+ "confidence": 4
66
+ },
67
+ "review_text_chars": 4009,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 3450730,
70
+ "post_rebuttal_text_signal": true,
71
+ "score_mentions_in_text": [
72
+ {
73
+ "from": 3,
74
+ "to": 6
75
+ }
76
+ ]
77
+ }
78
+ ],
79
+ "any_review_edit_detected": true,
80
+ "any_post_rebuttal_text_signal": true,
81
+ "review_score_dimensions": [
82
+ "rating",
83
+ "soundness",
84
+ "presentation",
85
+ "contribution",
86
+ "confidence"
87
+ ]
88
+ }
open_review/iclr2024_8802.md ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## - LOCAL-FORWARD: TOWARDS BIOLOGICAL PLAUSIBIL ITY IN DEEP REINFORCEMENT LEARNING
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ A lasting critique of deep learning as a model for biological intelligence and learning is the biological implausibility of backpropagation. Backpropagation requires caching local outputs and propagating a global error via derivatives, neither of which are known to be implemented by biological neurons. In reinforcement learning, building more biologically plausible agents would allow us to better model human cognition and social behavior, and improve computational efficiency. We propose Local-Forward, a new temporal-difference learning algorithm (and associated architecture) that trains neural networks to predict Q-values. Rather than backpropagating error derivatives, we rely on updates that are local to each layer of the architecture and additionally use forward connections in time to pass information from upper layers to lower layers via activations. Our approach builds on the recently proposed Forward-Forward algorithm, as well as recurrence and attention in neural architectures. This approach no longer suffer the aforementioned contradictions with biology. Furthermore, as a proof-of-concept, we train reinforcement learning agents with Local-Forward to solve control tasks in the MinAtar environments, and show that our method’s potential warrants further investigation because it opens avenues for more computational efficient training.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Computer science and neuroscience have long had a reciprocal and mutually beneficial relationship. Indeed, artificial neural networks were inspired by biologically neural networks and foundational RL algorithms have close analogues to neurological processes [31]. Although artificial neural networks share many similarities to biological neural networks, they also differ in many potentially important ways. One such difference is how training occurs. Biological neural networks are trained through activation differences [18]. Instead, backpropagation [29] has been the gold standard technique for training artificial neural networks. Yet, backpropagation computes derivatives of the model prediction errors via automatic differentiation to update the model parameters and requires backwards connections in the computational graph, which contradicts known biology.
14
+
15
+ A recent proposal introduces a more biologically-plausible alternative to training artificial neural networks – the Forward-Forward algorithm [13]. In training algorithm, each layer of a neural network is greedily trained to separate positive and negative data using only the activations of that layer. This local, layer-wise loss still enables layers to learn useful representations for subsequent layers; Forward-Forward achieves comparable performance to backpropagation at training a fully-connected network on MNIST [8] and CIFAR-10 [17].
16
+
17
+ We propose a novel algorithm, Local-Forward, which builds on the Forward-Forward method and applies it to reinforcement learning [34]. Because Forward-Forward computes local updates rather than error derivatives (as would be the case in backpropagation), the approach has several potential advantages. First, it may more readily model human cognition. This has implications for areas of reinforcement learning; for instance, it allows us to better model interactions between humans and MARL-agent based models. Second, humans are able to solve many tasks that remain out of reach of artificial neural networks. Hence, biological plausibility has the potential to uncover new techniques for training and deploying reinforcement learning agents. Third, limitations of backpropagation make it computationally-expensive to scale training to increasingly larger models, or take advantage of more efficient neuromorphic hardware [15]. An algorithm like Forward-Forward may lead to significantly
18
+
19
+ 1
20
+
21
+ **==> picture [342 x 153] intentionally omitted <==**
22
+
23
+ Figure 1: Network architecture of a 3-layer Local-Forward network. _h_[[] _t[l]_[]][represents the activations of] layer _l_ at time _t_ , and _st_ the input state. The blocks are Local-Forward cells, whose inner workings are shown in Figure 2. Unlike backpropagation, loss signals do not propagate across layers or timesteps; each layer computes its own loss. To relay information, upper layers send their activations to lower layers in the next timestep. For example, red shows all active connections at _t_ = 1.
24
+
25
+ more efficient computational graphs for training larger models. As reinforcement learning can be very compute intense, this is highly desirable.
26
+
27
+ Local-Forward builds on two ideas from Forward-Forward to design a novel architecture and training algorithm for deep Q-learning. The first is the local losses to replace the backpropagation of a global error, and the second is the forward[1] connections in time for sending information to lower layers; hence, the name Local-Forward. Figure 1 outlines the architecture of a Local-Forward network, unfolded in time. The structure of the network is similar to a recurrent network, except the forward connections are downwards, and each layer is a Local-Forward cell (see Figure 2), which contains additional components for computing the local Q-prediction and TD loss.
28
+
29
+ To test the capabilities of Local-Forward, we evaluate it in the MinAtar testbed [38], which are miniaturized implementations of Atari games, and compare its performance against a Deep Q Network (DQN) [24] trained via backpropagation. The MinAtar environments reflects many of the challenges faced in deep RL [4], while remaining sufficiently tractable that a simpler architecture like a fully-connected double DQN can reach good performance, making it ideal for exploring an alternative to the well-established backpropagation. Our results in Figure 3 show that Local-Forward achieves close performance to DQN in 4 of the 5 environments, and outperforms the DQN baseline in one of the environments. To further demonstrate that our algorithm is applicable across environments, we also performed experiments on several classic RL control environments, as well as MNIST and CIFAR-10, and show the results in Appendix C and Appendix D.
30
+
31
+ To summarize our core contributions:
32
+
33
+ - We propose an alternative to backpropagation for reinforcement learning that suffer less contradictions with known biology.
34
+
35
+ - We propose a new architecture and training scheme for Q-learning that builds upon ForwardForward. Our algorithm trains a neural network that minimizes TD error using only local updates, with no gradients propagating between layers. To send information to lower layers, upper layers utilize connections that send activations forward in time.
36
+
37
+ - We empirically show that Local-Forward achieves comparable performance with a similarsized DQN in our experiments on the MinAtar environments. We further show that the forward connections are critical to performance. Our proof of concept demonstrate the learning potential of our Local-Forward approach and architecture.
38
+
39
+ 1"Forward" and "backward" are widely used both to describe direction in time and in the order of layers. This can be confusing. For the remainder of this paper, we use "forward/backward" when describing time, and "upper/lower" when describing position among layers.
40
+
41
+ 2
42
+
43
+ ## 2 BACKGROUND
44
+
45
+ ## 2.1 TEMPORAL DIFFERENCE LEARNING
46
+
47
+ Formally, we consider a standard discounted infinite horizon Markov Decision Process (MDP) setting with states _S_ , actions _A_ , a transition kernel _p_ ( _s[′] |s, a_ ), a reward function _r_ : _S × A →_ R and a discount factor _γ ∈_ [0 _,_ 1]. The goal of learning is to obtain a policy _π_ ( _a|s_ ) that maximizes the discounted future sum of rewards. The value function _Q_ : _S × A →_ R measures how valuable a given action _a ∈A_ is in a given state _s ∈S_ , and can be used to directly compute a policy. It is defined via a recursive formula _Q_ ( _s, a_ ) = _r_ ( _s, a_ ) + _γ_[�] _s[′][ p]_[(] _[s][′][|][s, a]_[)][ �] _a[′][ π]_[(] _[a][′][|][s][′]_[)] _[Q]_[(] _[s][′][, a][′]_[)][ which] means classic supervised learning methods are insufficient to directly estimate it.
48
+
49
+ Temporal difference learning (TD learning) methods are a well established family of approaches that aim to solve the problem of estimating the recursively defined Q function [33]. In their most basic form, they can be implemented as lookup tables, where an estimate of the Q function is kept for each state-action pair. When experience in the form of _s, a, r, s[′]_ tuples becomes available from interaction with the MDP, the Q function estimates are updated using the TD error _δ_ ( _s, a, s[′]_ ) = _r_ ( _s, a_ ) + _γ_[�] _a[′][ π]_[(] _[a][′][|][s][′]_[)] _[Q]_[(] _[s][′][, a][′]_[)] _[ −][Q]_[(] _[s, a]_[)][.][The update rule is] _[ Q][k]_[+1][(] _[s, a]_[)] _[ ←][Q][k]_[(] _[s, a]_[) +] _[ α][k][δ]_[(] _[s, a, s][′]_[)][.]
50
+
51
+ In many practical applications, especially real-world interaction like those the human brain is capable of dealing with, a tabular representation of the Q values for all distinct state-action pairs is computationally infeasible. In these cases, function approximation, for example via linear regression or neural networks, is necessary to obtain an estimate of the Q function. These methods, called Fitted Q Iteration [1] or Deep Q Learning [23], use the squared temporal difference error as a regression loss _L_ ( _s, a, s[′]_ ) = _δ_ ( _s, a, s[′]_ )[2] and update a parametric Q function approximation via gradient descent. To prevent the double sampling bias and other instabilities, only _Q_ ( _s, a_ ) is updated and the next states value is estimated with an independent copy _Q_[¯] that is not updated. This is commonly called the bootstrapped Q loss and can be written down as:
52
+
53
+ **==> picture [248 x 21] intentionally omitted <==**
54
+
55
+ We are particularly interested in exploring methods to progress the biological plausibility of TD learning algorithms, because TD learning is widely studied as an explanatory model in neuroscience for biological learning [32; 6]. Empirical evidence suggests that the phasic activity of dopamine neurons in the midbrain correlates with prediction errors, which can be formalized via TD, and provides a global learning signal for synaptic modification [10].
56
+
57
+ ## 2.2 FORWARD-FORWARD LEARNING
58
+
59
+ The Forward-Forward (FF) algorithm [13] is a greedy multi-layer learning algorithm that replaces the forward and backward passes of backpropagation with two identical forward passes, positive and negative. These passes differ only in the data fed through the network and the objective they optimize. For a positive pass, the update increases the goodness _g_ of that layer. In the case of a negative pass, the update decreases goodness. While Hinton [13] proposes several measures of goodness, the de facto measure used is the sum of each squared hidden activation _hi_ of the layer minus a threshold _θ_ , i.e. _g_ =[�] _i[h] i_[2] _[−][θ]_[.][The positive data are real examples while the negative data is ‘fake.’][One way to] generate the fake data is by masking and overlaying real examples. For the MNIST dataset, this could be combining the top half of a 7 with the bottom of a 6. The goal of the model is to correctly classify an input as either positive (real) or negative (fake). To optimize each layer’s weights, FF minimizes the binary cross-entropy loss between the sigmoid of the goodness _σ_ ( _g_ ) and the ground truth. Each of the positive and negative pass performs a local update on every layer. Whereas backpropagation is a global algorithm that requires the entire network to be updated at once, the FF is a local algorithm that updates each layer independently through the use of layer-wise local losses. For a feed-forward architecture, one glaring issue with this approach is that representations are learned one layer at a time with no way for later layers to influence earlier ones. One way to address this is to use a multi-layer recurrent architecture, where for each layer _ℓ_ in the network, the input is determined by output of the layers above _ℓ_ + 1 and below _ℓ −_ 1 at the previous time step _t −_ 1. This allows the network to learn representations in a greedy fashion, but also allows for top-to-bottom information flow throughout the network.
60
+
61
+ 3
62
+
63
+ **==> picture [397 x 141] intentionally omitted <==**
64
+
65
+ Figure 2: Inner workings of our proposed Local-Forward cell (i.e., hidden layer). _h_[[] _t[l]_[]][is the activations] of the cell _l_ at time _t_ , and _Q_[ˆ][[] _t[l]_[]][is the Q-value prediction.][We compute the cell’s activations] _[ h]_[[] _t[l]_[]][using] a ReLU weight layer, then use an attention-like mechanism to compute _Q_[ˆ][[] _t[l]_[]][.][Specifically, we obtain] _Q_ ˆ _t_[[] _[l]_[]][by having the cell’s][ tanh][ weight layers, one for each action, compute attention weights that are] then applied to _h_[[] _t[l]_[]][.][Each cell computes its own error.]
66
+
67
+ ## 3 METHOD
68
+
69
+ The core purpose of the method is to obtain a TD-learning algorithm that works via purely local updates; we do not propagate any loss signals between layers of the network. To achieve this, the network is composed of individual layers that each solve the TD regression problem individually. We refer to each of these layers as a _cell_ . The cells are connected via their activations, which they provide as inputs to the next cell (i.e., layer). The whole architecture is summarized in Figure 1.
70
+
71
+ ## 3.1 CELL INTERNALS
72
+
73
+ Our network architecture is designed around individual cells which perform local computations with the squared TD loss. Unlike FF, which separates positive from negative data during training, a binary classification task, predicting the Q-value is a regression task and requires more precision. Inside the Local-Forward cells, we use an attention-like mechanism [2] that learns a weighted sum of the layer’s hidden activations to predict the Q-value. The hidden activations are passed to other cells, but the attention weights and Q-value are withheld.
74
+
75
+ The concept of a cell is reminiscent of the design of a recurrent neural network. In our case, there is a single cell per layer – so we may use the terms interchangeably for clarity of exposition. The vital difference is that no loss information is propagated between cells via backpropagation, i.e. there is no backpropagation in time, and the same activations are passed to the cell (i.e., hidden layer) above, which happens in the same timestep, and the layer below, at the next timestep. In the absence of backpropagation, these activations provide a pathway for upper cells to communicate information to lower cells. We discuss in more detail how these connections operate in Section 3.2.
76
+
77
+ The cell design is presented in Figure 2. Recall that each cell corresponds to a ‘layer’ in a typical network architecture. Each cell is mechanistically identical and takes in two inputs: the hidden activations of the cell below at the current timestep (or the observation if at the lowest cell), and the hidden activations of the cell above at the previous timestep. They produce two identical outputs, sent to the cell above immediately, and the cell below at the next time step. At the start of an episode, the activations from the previous timestep are zero. The top cell only receives one input and produces one output. Our design currently only admits one-dimensional representations. Hence, we leave extensions to convolutional 2D and 3D networks to future work.
78
+
79
+ We introduce an attention mechanism [2] to compute the Q-value prediction. Each cell first computes its hidden activation, _h_[[] _t[l]_[]][,][using][the][layer][above’s][hidden][activations][from][the][previous][timestep,] _ht_[[] _[l] −_[+1]] 1[, and the layer below’s hidden activations at the current timestep,] _[ h] t_[[] _[l][−]_[1]] . Specifically, it passes
80
+
81
+ 4
82
+
83
+ the concatenation of _h_[[] _t[l] −_[+1]] 1[and] _[ h] t_[[] _[l][−]_[1]] through a ReLU weight layer (shown in Figure 2) to get _h_[[] _t[l]_[]][.] The ReLU weight layer multiplies the concatenated input [ _h_[[] _t[l][−]_[1]] _, h_[[] _t[l] −_[+1]] 1[]][ by its learned weight matrix] _W_ in[[] _[l]_[]][, then applies the][ ReLU][ nonlinearity function.][Next, the cell passes] _[ h]_[[] _t[l]_[]][through the][ tanh][ weight] layers, each corresponding to an action _a_ , which multiplies _h_[[] _t[l]_[]][by its learned weight matrix] _[ W]_[ [] query _[l]_[]][,] then applies the tanh function. The output of the tanh layers plays a role akin to attention weights, although they do not have to sum to 1. Finally, the cell takes the inner product between the output of the tanh layers, tanh( _W_ query[[] _[l]_[]] _[·][ h]_[[] _t[l]_[]][)][, and the hidden activations] _[ h]_[[] _t[l]_[]][, to compute the cell’s Q-value] prediction _Q_[ˆ][[] _[l]_[]] ( _st, a_ ). This structure is heavily inspired by the successful attention architecture [2], and allows each cell to attend to the incoming information dynamically per action.
84
+
85
+ Again, recall that each cell corresponds to a layer of our neural network. Each cell reuses its internal weights over time, meaning for instance that the matrix _W_ in[[1]][is used at each timestep in the first cell.] However, across cells, weight matrices are independent, meaning _W_ in[[1]][=] _[ W]_[ [2]] in[.]
86
+
87
+ To summarize, the full computation performed by the cell is:
88
+
89
+ **==> picture [152 x 59] intentionally omitted <==**
90
+
91
+ ## 3.2 NETWORK CONNECTIONS
92
+
93
+ As shown in Figure 1, each cell passes its state to the cell _l_ + 1 above at the current timestep _t_ , and to the cell _l −_ 1 below in the next timestep _t_ + 1. The information flow is strictly uni-directional to account for the causal sequence of RL environments. This is necessary as interacting with the environment happens sequentially, meaning future information will not be available when acting.
94
+
95
+ Although we do not backpropagate gradients across cells, information does flow from upper layers to lower layers via the temporal connection. The upper layers use the connections to communicate with lower layers via activations, which is more biologically plausible [25]. Our results in Section 3 suggest that these connections can greatly increase network performance in the absence of backpropagation.
96
+
97
+ ## 3.3 LEARNING ALGORITHM
98
+
99
+ We formally describe our learning algorithm in Algorithm 1.
100
+
101
+ Each cell is updated using the Double Q-learning algorithm [36]. This is a simple and robust extension to the Q-learning algorithm [23] presented in Section 2. In Double Q-learning, the maximization problem defined to find the optimal next state action is solved over the online network, but the evaluation of that action uses a separate target network. This alleviates overestimation problems commonly plaguing deep Q-learning, as different networks are used to estimate and evaluate the optimal action.
102
+
103
+ The loss itself needs not change to be adaptable to our setup. The target network is produced, as in double DQN implementations, by replicating the proposed network structure per cell and periodically copying the learned parameters. Different from standard deep Q-learning however, each layer of the network computes its own local loss and update using a global reward signal. Specifically, the reward is broadcasted to all cells, and each cell computes their own Q-value prediction, TD-target, and TD-loss for learning. Globally broadcasting the reward signal to enable local learning is biologically motivated, imitating reward-learning processes in the striatum, which globally broadcasts reward signals via dopamine release that induces local updates [19] (see Appendix E for more details). During inference, the network uses the average Q-values across the layers to produce a final prediction. This can also be interpreted as a bagging method, in which several weaker regression models work jointly to compute a prediction.
104
+
105
+ During training, we use a standard replay buffer which stores every transition observed from the environment. We replay sequences of short length, similar to how other recurrent architectures are trained, and compute the local updates for each cell sequentially according to the network graph.
106
+
107
+ 5
108
+
109
+ **Algorithm 1** Local-Forward Q-Learning
110
+
111
+ Initialize replay memory _D_ to capacity _N_ Initialize action-value functions _Q_[[1]] _, . . . , Q_[[] _[L]_[]] with random weights _θ_[[1]] _, . . . , θ_[[] _[L]_[]] Initialize target function _Q_[ˆ][[1]] _, . . . , Q_[ˆ][[] _[L]_[]] with weights _θ_[[] _[i]_[]] _[′]_ = _θ_[[] _[i]_[]] for every _i ∈{_ 1 _, . . . , L}_ **for** episode 1, _M_ **do** Initialize _s_ 1 = initial state **for** _t_ = 1 _, T_ **do** With probability _ε_ select a random action _at_ 1 _L_ otherwise select _at ∈_ arg max _a L_ � _l_ =1 _[Q]_[[] _[l]_[]][(] _[s][t][, a]_[;] _[ θ]_[[] _[l]_[]][)] Execute action _at_ in emulator and observe reward _rt_ +1 and next state _st_ +1 Store experience ( _st, at, rt_ +1 _, st_ +1) in _D_ Sample minibatch of _K_ -sized episodic sub-trajectories ( _sj−K, aj−K, rj−K_ +1 _, sj−K_ +1) _, . . . ,_ ( _sj, aj, rj_ +1 _, sj_ +1) from _D_ with uniform randomness Replay states _sj−K, . . . , sj−_ 1 through online network to obtain layer activations _h_[[1]] _j−_ 1 _[, . . . , h]_[[] _j[L] −_[]] 1 Set current layer input _x ← sj_ **for** layer _l_ = 1 _, . . . , L_ **do** _rj_ +1 if episode terminates at step _j_ + 1 Set TD target _Yj_[[] _[l]_[]] = � _rj_ +1 + _γ_ max _a Q_[ˆ][[] _[l]_[]][ �] _sj_ +1 _, Q_[[] _[l]_[]] ( _sj_ +1 _, a_ ; _θ_[[] _[l]_[]] ); _θ_[[] _[l]_[]] _[′]_[�] otherwise Set prediction _yj ← Q_[[] _[l]_[]] ( _st, aj_ ; _θ_[[] _[l]_[]] ) using _x_ and last activations _h_[[] _t[l][−]_[1]] and _h_[[] _t[l] −_[+1]] 1 Perform a gradient descent step on ( _Yj_[[] _[l]_[]] _− yj_ )[2] with respect to the layer parameters _θ_[[] _[l]_[]] Set input for next layer _x ← h_[[] _j[ℓ]_[]][(] _[x]_[)] **end for** Every _C_ steps reset _θ_[[] _[i]_[]] _[′]_ = _θ_[[] _[i]_[]] for every _i ∈{_ 1 _, . . . , L}_ **end for end for**
112
+
113
+ To use the network for environment interaction, we simply keep the recurrent state for each cell and run the computation again, choosing the maximum action according to the aggregated Q function at each timestep. We also found it valuable to use _ϵ_ -greedy exploration to obtain more diverse data.
114
+
115
+ ## 4 EXPERIMENTS
116
+
117
+ As our main purpose is to demonstrate the potential of a novel architecture and learning algorithm, rather than achieve state-of-the-art performance, we opt for a simple implementation with few extensions. Our experiments are designed to support our claim that Local-Forward architecture and algorithm is a promising alternative to backpropagation – and addresses the latter’s biological implausibility. In particular, we empirically show that Local-Forward cells are able to learn meaningful representations by optimizing their local TD error. This setup is similar to the evaluation presented by Hinton [13]. However, we do not use a convolutional network, and the only extension we employ is Double Q-learning [36] to improve learning stability.
118
+
119
+ **Environments.** We run our experiments in the MinAtar [38] environment suite. MinAtar is an simplified implementation of 5 Atari 2600 games: Seaquest, Breakout, Asterix, Freeway, and Space Invaders. We use version 1 for all environments. The input frame size is 10 _×_ 10, and the _n_ different objects in each game are placed on separate frames, resulting in a 10 _×_ 10 _× n_ input observation. All tasks have discrete action spaces with up to 6 actions.
120
+
121
+ We select this set of environments because they reflect challenges in solving control tasks with highdimensional observations [4], where neural networks are widely adopted, while still remaining simple enough that convolutional layers are not critical. Although the DQN baselines published by [38]
122
+
123
+ 6
124
+
125
+ **==> picture [136 x 112] intentionally omitted <==**
126
+
127
+ **==> picture [136 x 112] intentionally omitted <==**
128
+
129
+ **==> picture [135 x 112] intentionally omitted <==**
130
+
131
+ **==> picture [135 x 112] intentionally omitted <==**
132
+
133
+ **==> picture [135 x 109] intentionally omitted <==**
134
+
135
+ Figure 3: Episodic returns of Local-Forward, DQN, Local-Forward without forward connections, and single layer Local-Forward cells on the MinAtar environments. Lines show the mean episode reward over 10 seeds and the shaded area conforms to 3 standard errors of the mean.
136
+
137
+ are obtained using a convolutional neural network (CNN), a larger DQN with only fully-connected layers can solve all tasks with comparable or stronger performance.
138
+
139
+ **DQN baseline.** We compare our results against a fully-connected DQN to make performance comparisons more direct and informative. As the original baselines by Young & Tian [38] used a CNN, for fairness of comparison, we replaced the CNN with fully-connected layers, and tuned hyper-parameters for the new architecture. We find that the new architecture is consistently as good or better than the one presented by Young & Tian [38]. In particular, we use a double DQN with 3 hidden layers of 1024, 512, and 512 hidden units with ReLU activations. This baseline achieves strong performance and has a similar number of trainable parameters as our networks.
140
+
141
+ **Network architecture and hyperparameters.** We use a 3 hidden layer network with forward activation connections. The cell output sizes are 400, 200 and 200. Because we have additional connections within cells, and from upper cells to lower cells, this yields a similar number of trainable parameters as the DQN (see Appendix B). To study the performance effects of the forward connections to lower layers, we also run experiments using the same network without these connections.
142
+
143
+ We train agents in each environment for 5 million time steps, with a data-to-update ratio of 4. We use a learning rate of 10 _[−]_[4] , Adam optimization with a warmup scheduler and annealing, an exploration fraction of 0.1, and _ϵ_ -greedy exploration that anneals from 1.0 to 0.01. For more details, see Appendix A. We use the same network and hyperparameters for all 5 environments to test the robustness of our architecture and learning algorithm across similar environments.
144
+
145
+ ## 5 RESULTS
146
+
147
+ We present the results of Local-Forward on MinAtar environments in Figure 3, and compare its performance against DQN, Local-Forward without the forward connections to lower layers, and a single layer Local-Forward cell.
148
+
149
+ **Comparison against DQN baseline.** We find that the Local-Forward algorithm is able to learn stable policies reliably in all test environments. Our agent achieves comparable performance to DQN on MinAtar’s Breakout, Asterix and Freeway, slightly surpassing DQN’s performance on Asterix and
150
+
151
+ 7
152
+
153
+ Freeway, while DQN shows stronger performance in Seaquest and Space Invaders. Our findings here are slightly surprising as our DQN baseline strongly outperforms the results presented by Young & Tian [38], which leads us to believe that the exact network architecture and hyper-parameter tuning method might be important to consider for future experiments with this benchmark suite.
154
+
155
+ However, it is promising that Local-Forward matches or outperforms benchmark DQN MinAtar results presented by both Young & Tian [38] and [4], which leads us to believe that the method can be a viable alternative approach to backpropagation in deep reinforcement learning if further explored.
156
+
157
+ **Forward connections to lower layers.** To further measure the performance impact of the forward connections in time, we compared the temporal forward version of the network with the performance of a 3-layer Local network using only upward connections and no forward connections. All other hyper-parameters are the same as the recurrent 3-layer Local-Forward network. This results in a moderate drop in performance in SpaceInvaders and Breakout, but devastating drops in Seaquest and Asterix. This strongly suggests that the information channels from the upper to lower layers is vital for performance for many tasks. On this same note, Local-Forward’s ability to achieve similar performance to DQN when the forward connections are added suggest that forward connections may be an effective replacement for backpropagation in certain environments.
158
+
159
+ In Seaquest, where the performance gap is most apparent, the agent’s struggle may be attributed to the failure of learning the resurfacing mechanism, which traps it at a local minima. In this environment, the agent must regularly resurface while carrying a diver to replenish oxygen. In the short term, the agent can acquire more reward if it prioritized attacking enemies, rather than managing oxygen, but if it runs out of oxygen the episode ends. We observed that the Local-Forward agent without forward connections and the single layer agent both struggled to manage oxygen, often resurfacing randomly or without first acquiring a diver. In contrast, the Local-Forward agent with the forward connections learns to manage their oxygen more optimally, and often sacrifice short-term rewards to maintain higher oxygen. In fact, during some trials the Local-Forward agent became ultraconservative with oxygen, which led to the agent surviving on average over 1500 timesteps per episode over several thousand episodes before it changed strategy. Interestingly, this same behavior was not observed in DQN agents, whose average episode lengths are consistently under 800. This suggests that Local-Forward has the potential to learn completely different policies from DQN.
160
+
161
+ Similarly, in Asterix, we observed that the agent without forward connections struggles to adapt to increased difficulties as the game progresses and the enemies increase. As training progresses, the agent’s performance decreases as it unsuccessfully tries to find a strategy for later stages of the game.
162
+
163
+ However, in Freeway the forward connections seem to have minimal impact on the Local-Forward agent’s performance. This is likely a result of the relative simplicity of the environment, and its fixed-episode length format. Unlike the other environments, the episode length of Freeway is fixed at 2500 timesteps, and agents receive reward each time they successfully cross a road during the episode. Once the agent nears an episodic return of 60, it cannot further increase performance, because there is no time to earn more reward even with a near optimal policy. This is reflected in the steep increases in returns in the early phase of learning, followed by rapid flattening. Therefore, both the DQN and Local-Forward agent has no room to pull ahead in performance from the others.
164
+
165
+ **Single layer performance.** Another important question about the presented architecture is whether the majority of the learning is accomplished by the lowest cell which is directly supplied with the state. In that case, the inner attention mechanism of the cell can function like a shallow, two layer fully-connected network, which can perform well in simpler RL environments.
166
+
167
+ Our ablation study of a single layered cell shows that it is insufficient to achieve strong performance on any of the benchmarking tasks. In all environments, including the simpler Freeway, there are notable gaps between the performance of the single layered cell and the 3-layer Local-Forward network, showing that the multi-layer architecture with forward connections provide crucial performance benefits.
168
+
169
+ Additionally, like the Local-Forward network without forward connection, the single layer cell also struggles at Seaquest and Asterix, while the Local-Forward network with the connections thrive. This also provides circumstantial evidence to support the hypothesis that both the multi-layered architecture and the forward connections are essential, and that the forward connections can convey meaningful information to lower layers directly via activations for coordinating learning.
170
+
171
+ 8
172
+
173
+ ## 6 LIMITATIONS
174
+
175
+ We make progress towards biologically plausible deep RL by replacing backpropagation with localonly losses and forward connections in time. The latter allow us to pass information to lower layers. However, our model does not capture all aspects of biological neural networks.
176
+
177
+ For example, biological neural networks have backward connections that allow for hierarchical predictive coding and the updating of weights through the comparison of pre- and post- synaptic weights [5]. The additional loss function that captures this comparison minimizes the difference between predicted and actual activations. Instead, the model we propose analyzes local losses based on TD errors alone. Additional work will be required to consider other aspects of biological cognition, such as Hebbian learning [12]. Doing so may affect local losses. For instance, a tension between the Hebbian (contrastive) loss and error driven loss could arise within different components of the architecture, which would make it difficult to scale to larger models. Careful consideration will thus be required as to the choice of specific error that each component is sensitive to.
178
+
179
+ While we do not propagate any loss signal between cells, within each cell we use an attention-like mechanism [2] to compute the Q-value predictions. This attention-like mechanism is trained via backpropagation, albeit we only propagate through one layer: the loss signal for the ReLU weight layer is propagated through the tanh weight layer. Given that the architecture of this mechanism is very simple, it is likely possible to replace backpropagation as the training algorithm for this mechanism with a more biologically plausible alternative, such as Difference Target Propagation [9] or Equilibrium Propagation [30]. We plan to explore this direction in future work.
180
+
181
+ We present this work as an alternative pathway into finding learning architectures and algorithms. In this sense, the paper serves a both an investigation into components that are closer to biological structures, as well as a proof-of-concept that shows this learning paradigm can perform at least as well as established algorithms as DQN. We do not claim state-of-the-art performance over more recent algorithms, as this is a radically departure from established algorithms and more time would be needed to match the performance of algorithms like Rainbow or MuZero. But we believe that our results show that this alternative is feasible and promising.
182
+
183
+ ## 7 RELATED WORK
184
+
185
+ While many early RL algorithms are strongly inspired by neuroscience [37; 7], the machine learning literature has since diverged from these roots and focused strongly on combining reinforcement learning with modern neural networks to produce competitive algorithms [22; 21; 11] for benchmark suits like the Arcade Learning Environment [3] or the DeepMind Control Suite [35].
186
+
187
+ Biologically inspired learning algorithms seek to reconnect machine learning with neurobiology. Similar to our work, [28] proposes an alternative to backpropagation for deep Q-learning that is more biologically plausible, based on the Neural Generative Coding framework [27]. Other related approaches for more plausible deep learning include Feedback Alignment [20], which addresses the weight transport problem of backpropagation [20], target propagation [18], which generates local errors, and SoftHebb [16], which uses Hebbian learning.
188
+
189
+ ## 8 CONCLUSION
190
+
191
+ We proposed Local-Forward, a deep Q-learning algorithm and architecture that alleviates several contradictions between deep RL and biological learning, particularly due to the biological implausibility of backpropagation. Each Local-Forward cell computes its own local TD error, based on the difference between its prediction and the TD target. The TD target is provided to all cells; in parts of the brain this could be achieved by a global signal via dopamine neurons. To send information to lower layers, upper layers send their activations forward in time to the layer below, hence the name Local-Forward. We empirically showed that Local-Forward can learn control tasks in the MinAtar environments, and even surpasses a similar-sized DQN in performance in 2 environments. Thus, we believe it warrants further investigation. We outline some areas for investigating potential improvements in our limitations.
192
+
193
+ 9
194
+
195
+ ## REFERENCES
196
+
197
+ - [1] András Antos, Csaba Szepesvári, and Rémi Munos. Learning near-optimal policies with bellman-residual minimization based fitted policy iteration and a single sample path. _Machine Learning_ , 71:89–129, 2008.
198
+
199
+ - [2] Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. _arXiv preprint arXiv:1409.0473_ , 2014.
200
+
201
+ - [3] M. G. Bellemare, Y. Naddaf, J. Veness, and M. Bowling. The arcade learning environment: An evaluation platform for general agents. _Journal of Artificial Intelligence Research_ , 47:253–279, jun 2013.
202
+
203
+ - [4] Johan Samir Obando Ceron and Pablo Samuel Castro. Revisiting rainbow: Promoting more insightful and inclusive deep reinforcement learning research. In _International Conference on Machine Learning_ , pp. 1373–1383. PMLR, 2021.
204
+
205
+ - [5] Chun-Chuan Chen, RN Henson, Klaas E Stephan, James M Kilner, and Karl J Friston. Forward and backward connections in the brain: a dcm study of functional asymmetries. _Neuroimage_ , 45(2):453–462, 2009.
206
+
207
+ - [6] Will Dabney, Zeb Kurth-Nelson, Naoshige Uchida, Clara Kwon Starkweather, Demis Hassabis, Rémi Munos, and Matthew Botvinick. A distributional code for value in dopamine-based reinforcement learning. _Nature_ , 577(7792):671–675, 2020.
208
+
209
+ - [7] Peter Dayan. Improving generalization for temporal difference learning: The successor representation. _Neural computation_ , 5(4):613–624, 1993.
210
+
211
+ - [8] Li Deng. The mnist database of handwritten digit images for machine learning research. _IEEE Signal Processing Magazine_ , 29(6):141–142, 2012.
212
+
213
+ - [9] Maxence M Ernoult, Fabrice Normandin, Abhinav Moudgil, Sean Spinney, Eugene Belilovsky, Irina Rish, Blake Richards, and Yoshua Bengio. Towards scaling difference target propagation by learning backprop targets. In _International Conference on Machine Learning_ , pp. 5968–5987. PMLR, 2022.
214
+
215
+ - [10] Paul W Glimcher. Understanding dopamine and reinforcement learning: the dopamine reward prediction error hypothesis. _Proceedings of the National Academy of Sciences_ , 108 (supplement_3):15647–15654, 2011.
216
+
217
+ - [11] Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Offpolicy maximum entropy deep reinforcement learning with a stochastic actor. In _International Conference on Machine Learning_ , 2018.
218
+
219
+ - [12] Donald Olding Hebb. _The organization of behavior: A neuropsychological theory_ . Psychology press, 2005.
220
+
221
+ - [13] Geoffrey Hinton. The forward-forward algorithm: Some preliminary investigations. _arXiv preprint arXiv:2212.13345_ , 2022.
222
+
223
+ - [14] Shengyi Huang, Rousslan Fernand Julien Dossa, Chang Ye, Jeff Braga, Dipam Chakraborty, Kinal Mehta, and João G.M. Araújo. Cleanrl: High-quality single-file implementations of deep reinforcement learning algorithms. _Journal of Machine Learning Research_ , 23(274):1–18, 2022. URL [URL removed]
224
+
225
+ - [15] Dmitry Ivanov, Aleksandr Chezhegov, Mikhail Kiselev, Andrey Grunin, and Denis Larionov. Neuromorphic artificial intelligence systems. _Frontiers in Neuroscience_ , 16:1513, 2022.
226
+
227
+ - [16] Adrien Journé, Hector Garcia Rodriguez, Qinghai Guo, and Timoleon Moraitis. Hebbian deep learning without feedback. _arXiv preprint arXiv:2209.11883_ , 2022.
228
+
229
+ - [17] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
230
+
231
+ 10
232
+
233
+ - [18] Dong-Hyun Lee, Saizheng Zhang, Asja Fischer, and Yoshua Bengio. Difference target propagation. In _Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2015, Porto, Portugal, September 7-11, 2015, Proceedings, Part I 15_ , pp. 498–515. Springer, 2015.
234
+
235
+ - [19] Nan Li and Alan Jasanoff. Local and global consequences of reward-evoked striatal dopamine release. _Nature_ , 580(7802):239–244, 2020.
236
+
237
+ - [20] Timothy P Lillicrap, Daniel Cownden, Douglas B Tweed, and Colin J Akerman. Random synaptic feedback weights support error backpropagation for deep learning. _Nature communications_ , 7(1):13276, 2016.
238
+
239
+ - [21] Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. _International Conference on Learning Representations_ , 2016.
240
+
241
+ - [22] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing atari with deep reinforcement learning. In _NeurIPS Deep Learning Workshop_ . 2013.
242
+
243
+ - [23] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing atari with deep reinforcement learning. _arXiv preprint arXiv:1312.5602_ , 2013.
244
+
245
+ - [24] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. _nature_ , 518(7540):529–533, 2015.
246
+
247
+ - [25] Randall C O’Reilly. Biologically plausible error-driven learning using local activation differences: The generalized recirculation algorithm. _Neural computation_ , 8(5):895–938, 1996.
248
+
249
+ - [26] Randall C O’Reilly, Yuko Munakata, Michael J Frank, Thomas E Hazy, et al. _Computational cognitive neuroscience_ , volume 1124. PediaPress Mainz, 2012.
250
+
251
+ - [27] Alexander Ororbia and Daniel Kifer. The neural coding framework for learning generative models. _Nature communications_ , 13(1):2064, 2022.
252
+
253
+ - [28] Alexander G Ororbia and Ankur Mali. Backprop-free reinforcement learning with active neural generative coding. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 36, pp. 29–37, 2022.
254
+
255
+ - [29] David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations by back-propagating errors. _Nature_ , 323(6088):533–536, 1986.
256
+
257
+ - [30] Benjamin Scellier and Yoshua Bengio. Equilibrium propagation: Bridging the gap between energy-based models and backpropagation. _Frontiers in computational neuroscience_ , 11:24, 2017.
258
+
259
+ - [31] Wolfram Schultz, Peter Dayan, and P Read Montague. A neural substrate of prediction and reward. _Science_ , 275(5306):1593–1599, 1997.
260
+
261
+ - [32] Clara Kwon Starkweather and Naoshige Uchida. Dopamine signals as temporal difference errors: recent advances. _Current Opinion in Neurobiology_ , 67:95–105, 2021.
262
+
263
+ - [33] Richard S Sutton. Learning to predict by the methods of temporal differences. _Machine learning_ , 3:9–44, 1988.
264
+
265
+ - [34] Richard S. Sutton and Andrew G. Barto. _Reinforcement Learning: An Introduction_ . A Bradford Book, Cambridge, MA, USA, 2018.
266
+
267
+ - [35] Saran Tunyasuvunakool, Alistair Muldal, Yotam Doron, Siqi Liu, Steven Bohez, Josh Merel, Tom Erez, Timothy Lillicrap, Nicolas Heess, and Yuval Tassa. dm_control: Software and tasks for continuous control. _Software Impacts_ , 6, 2020.
268
+
269
+ 11
270
+
271
+ - [36] Hado Van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double q-learning. In _Proceedings of the AAAI conference on artificial intelligence_ , volume 30, 2016.
272
+
273
+ - [37] Christopher JCH Watkins and Peter Dayan. Q-learning. _Machine learning_ , 8(3-4), 1992.
274
+
275
+ - [38] Kenny Young and Tian Tian. Minatar: An atari-inspired testbed for thorough and reproducible reinforcement learning experiments. _arXiv preprint arXiv:1903.03176_ , 2019.
276
+
277
+ 12
278
+
279
+ ## A MODEL HYPERPARAMETERS
280
+
281
+ We show the hyperparameters of the Local Forward networks and DQN used in our MinAtar experiments.
282
+
283
+ **Hyperparameter Local Forward DQN** Learning rate 10 _[−]_[4] 10 _[−]_[4] Exploration fraction 0.1 0.1 Final epsilon at end of exploration 0.01 0.01 Loss function Mean squared error Mean squared error Max gradient norm 1.0 1.0 Batch size 512 512 Gamma 0.99 0.99 Training frequency 4 4 Replay buffer size 5 _×_ 10[6] 5 _×_ 10[6] Target network update frequency 1000 1000
284
+
285
+ We also use a learning rate scheduler for both networks, which linearly increase learning rate to 10 _[−]_[4] in 500000 steps, then cosine decay until 3 _×_ 10 _[−]_[5] over remaining training steps. These hyperparameters were jointly tuned and shared by both the baseline DQN and Local-Forward network.
286
+
287
+ ## B NUMBER OF TRAINABLE PARAMETERS
288
+
289
+ In Section 4, we stated that we used a 3-layer Local-Forward network with output sizes 400, 200 and 200 respectively, and that we chose these sizes to yield a similar number of trainable parameters as the DQN with 1024, 512 and 512 units for fairer comparison. Here we provide the detailed calculations.
290
+
291
+ Since each MinAtar environment differs slightly in number of input channels and size of action space, the the number of parameters also vary slightly across environments. Assuming an environment with 4 input channels and 3 actions, the number of trainable parameters for the DQN is 10 _×_ 10 _×_ 4 (input size) _×_ 1024 (first layer weights) +1024 (first layer biases) +1024 _×_ 512 (second layer weights, etc.) +512 + 512 _×_ 512 + 512 + 512 _×_ 3 (actions) +3 = 1 _,_ 199 _,_ 619.
292
+
293
+ The number of trainable parameters for the Local-Forward (LF) network is (10 _×_ 10 _×_ 4 + 200) (input size + size of hidden activations of second layer from last time step) _×_ 400 (first layer LF cell ReLU weight layer weights) +400 (first layer LF cell ReLU weight layer biases) +3 _×_ 400 _×_ 400 (first layer LF cell tanh weight layer weights) +3 _×_ 400 (first layer LF cell tanh weight layer biases) +(400 + 200) (first layer output size + size of hidden activations of third layer from last time step) _×_ 200 (second layer LF cell ReLU weight layer weights, etc.) +200 + 3 _×_ 200 _×_ 200 + 3 _×_ 400 + 200 _×_ 200 + 200 + 3 _×_ 200 _×_ 200 + 3 _×_ 200 = 1 _,_ 123 _,_ 200 _._
294
+
295
+ ## C EXPERIMENTS ON CLASSIC CONTROL ENVIRONMENTS
296
+
297
+ Beyond the MinAtar testbed, we also evaluate Local-Forward on 4 classic control environments: Cart Pole (also known as inverted pendulum), Mountain Car, Lunar Lander, and Acrobot, and compare its performance against DQN. We show our results in Figure 4.
298
+
299
+ The main purpose of these experiments is to further support Local-Forward’s robustness across different RL environments, and indirectly compare its performance against Active Neural Generative Coding (ANGC) [28], another biologically-inspired deep RL algorithm that provides a more plausible alternative to backpropagation. [28] evaluates ANGC in 4 environments: Cart Pole, Mountain Car, Lunar Lander, and a custom robot-arm-reaching environment. As [28] has yet to publicly release the code for their ANGC agent, we are unable to directly evaluate ANGC on the MinAtar testbed to compare performance; thus, we instead evaluate Local-Forward on ANGC’s environments.
300
+
301
+ In addition, we implement 2 DQNs with different hyperparameters as baselines for comparison: first is CleanRL’s reference DQN for classic control problems [14], and second is the DQN tuned by [28] for comparison against their ANGC agent, which we refer to as ANGC’s DQN. The CleanRL DQN
302
+
303
+ 13
304
+
305
+ **==> picture [151 x 117] intentionally omitted <==**
306
+
307
+ **==> picture [151 x 118] intentionally omitted <==**
308
+
309
+ **==> picture [151 x 119] intentionally omitted <==**
310
+
311
+ **==> picture [151 x 118] intentionally omitted <==**
312
+
313
+ Figure 4: Episodic returns of Local-Forward, CleanRL’s DQN, and ANGC’s DQN. Lines show the mean episode reward over 10 seeds and the shaded area conforms to 3 standard errors of the mean.
314
+
315
+ provides a well-established, publicly-vetted baseline, whereas ANGC’s DQN serves as a reference point for us to indirectly compare Local-Forward’s performance with ANGC.
316
+
317
+ To better demonstrate Local-Forward’s robustness across environments, we use the same set of hyperparameters for each of the environments. Specifically, we use a 2-layer Local-Forward network, with output sizes 128 and 96, a fixed learning rate of 2 _._ 5 _e[−]_[4] with Adam optimization, an exploration fraction of 0.2, and final epsilon of 0.05. All other hyperparameters are the same as our network for MinAtar, shown in Appendix A. As neither CleanRL nor ANGC’s DQN uses a learning rate scheduler, we also removed ours for better comparison. CleanRL’s DQN is a 2-layer network with 120 and 84 units; the same DQN is used for all 4 environments. ANGC uses different 2-layer DQNs for each of their environments, which they tuned for environment-specific performance. Their Cart Pole DQN has 256, 256 hidden units; Mountain Car has 256, 192, and Lunar Lander 512, 384. For Acrobot, we used the same hyperparameters as the Cart Pole DQN, given the similarity of the environments, which worked well. For more hyperparameter details, we refer the reader to [14] and [28]; both works present excellent detail.
318
+
319
+ We made two adjustments when reproducing CleanRL and ANGC’s DQNs. First, since LocalForward utilizes double Q-learning to improve its learning stability, for better comparison, we also enhanced both DQNs with double Q-learning, given that it is a simple enhancement without additional computational costs. Second, specific to ANGC’s Cart Pole DQN, we found that the agent’s learning has very high variance with the given hyperparameters, and the agent does not consistently achieve high performance. To counter this, we decreased the learning rate from the provided 5 _e[−]_[4] to 2 _._ 5 _e[−]_[4] , and increased the target network update frequency (referred to as _C_ in [28]) from 128 to 500, which is CleanRL’s value. This improved both the agent’s stability and average return.
320
+
321
+ Our results in Figure 4 show that Local-Forward achieves strong performance across all 4 tasks, learning more stably and achieving higher average episodic return than the DQNs in all environments. Most notably, in comparison to DQN, Local-Forward more consistently reaches the maximum 500 return in Cart Pole, and achieves significantly higher return in Mountain Car. It also surpasses DQN’s performance slightly in both Lunar Lander and Acrobot. These results suggest that Local-Forward is highly competitive against ANGC in these tasks.
322
+
323
+ We are in contact with the authors of [28], and look forward to performing more direct comparisons between Local-Forward and ANGC once their code is publicly released. As ANGC and Local-
324
+
325
+ 14
326
+
327
+ |**Dataset**|**Hidden activations**|**Layer 1**|**Layer 2**|**Layer 3**|**Layer 4**|
328
+ |---|---|---|---|---|---|
329
+ |MNIST|500|0.9848|0.9862|0.9865|0.9867|
330
+ |MNIST|1000|0.9834|0.9860|0.9866|0.9870|
331
+ |MNIST|2000|0.9834|0.9862|0.9878|0.9874|
332
+ |CIFAR-10|500|0.4715|0.5234|0.5394|0.5501|
333
+ |CIFAR-10|1000|0.4750|0.5358|0.5496|0.5588|
334
+ |CIFAR-10|2000|0.4841|0.5440|0.5610|0.5725|
335
+
336
+ Table 1: Test accuracy of each layer of 4-layer Local-Forward networks trained on MNIST and CIFAR-10. Each layer has the same number of hidden activations; for example, the first row refers to a Local-Forward network with layers of 500, 500, 500, and 500 activations. Since each layer makes its own prediction, we can easily see how performance increases per layer.
337
+
338
+ Forward learn with different signals, they are not competing approaches, and may possibly be integrated to achieve greater performance– we also look forward to exploring this potential.
339
+
340
+ ## D EXPERIMENTS ON MNIST AND CIFAR-10
341
+
342
+ To further investigate the generalizability of Local-Forward across different learning tasks, we also evaluate Local-Forward on two supervised learning datasets, MNIST and CIFAR-10, and present our results here. Q-learning is a regression problem; to adapt our architecture to solve these classification problems, we simply change the loss function to cross entropy, and make each of the tanh weight layers correspond to a class, instead of an action. Using a 4-layer Local-Forward network with output sizes 2000, 2000, 2000 and 2000, we achieved 98.74% test accuracy on MNIST, and 57.25% test accuracy on CIFAR-10. These results are in line with the results achieved by Forward Forward in [13].
343
+
344
+ We show our results with different sized networks in Table 1. As each layer in the network makes its own prediction, we additionally show the test accuracy of every layer. Remarkably, for almost every network size, the test accuracy steadily increases per layer. Like our experiments in RL, this supports that Local-Forward cells can learn to coordinate with each other for better performance without the need to backpropagate error signals across layers.
345
+
346
+ For clarity, we want to note that these experiments are performed simply to add another perspective to evaluate the robustness of Local-Forward’s learning across tasks. Local-Forward is intentionally designed for Q-learning, rather than supervised learning, as it imitates biological processes of reward-based learning.
347
+
348
+ ## E BIOLOGICAL INSPIRATION OF LOCAL-FORWARD
349
+
350
+ Here we elaborate on the connections between neurobiology and Local-Forward. Local-Forward is heavily biologically inspired. We saw a potential connection between the design principles of Forward-Forward (FF) [13] and biological reward-based learning via striatic dopamine release; Local-Forward is our attempt to synthesize the two to improve deep Q-learning.
351
+
352
+ FF provides an alternative to backpropagation that is more biologically plausible and computationally efficient, because it does not suffer from weight transport [20] or update locking [28]. Like LocalForward, FF globally broadcasts the target to each layer of the network, which each computes their own local loss and updates. However, FF does not provide a biologically plausible explanation on how the target signal can be globally broadcasted in the brain. Interestingly, recent research in neuroscience by [19] found that in the striatum, dopamine release can be a global signal that induces local changes to reward stimulation, providing a potential answer in the case of reward-based learning. Additionally, biological reward-based learning has close ties with TD-learning, which is used as an explanatory model for dopamine-induced synaptic modifications in the striatum [32]. The alignment between FF’s principle of globally-induced local learning, and evidence of biological
353
+
354
+ 15
355
+
356
+ globally-induced local modifications for reward-based learning in the brain, is the central biological insight that motivated us to develop Local-Forward as a Q-learning algorithm.
357
+
358
+ To be clear, we do not believe that Local-Forward plausibly represents the complete reward-learning process in the striatum. Unlike backpropagation, the brain likely utilizes multiple types of learning in conjunction, both supervised and unsupervised, using local and global signals [26]. Local-Forward only models one type of learning, i.e. error-driven learning using global reward signals to induce local updates. Other biologically plausible algorithms, such as ANGC [28], may provide explanations to other types of biological learning. Indeed, aspects of Hebbian learning or active inference are likely critical to achieving a full biologically plausible, efficient, and powerful learning system. In that light, we examine Local-Forward here not to replace other methods, but to demonstrate that this one principle alone is sufficient to be able to solve some complex RL tasks nearly as well as backprop. We believe that a key to achieving general, human-like intelligence will be the integration of these different learning methods and learning signals; this is an exciting direction we aim to explore in future work.
359
+
360
+ 16
361
+
open_review/iclr2024_8804.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8804",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "ArchLock: Locking DNN Transferability at the Architecture Level with a Zero-Cost Binary Predictor",
6
+ "abstract": "Deep neural network (DNN) models, despite their impressive performance, are vulnerable to exploitation by attackers who attempt to transfer them to other tasks for their own benefit. Current defense strategies mainly address this vulnerability at the model parameter level, leaving the potential of architectural-level defense largely unexplored. This paper, for the first time, addresses the issue of model protection by reducing transferability at the architecture level. Specifically, we present a novel neural architecture search (NAS)-enabled algorithm that employs zero-cost proxies and evolutionary search, to explore model architectures with low transferability. Our method, namely ArchLock, aims to achieve high performance on the source task, while degrading the performance on potential target tasks, i.e., locking the transferability of a DNN model. To achieve efficient cross-task search without accurately knowing the training data owned by the attackers, we utilize zero-cost proxies to speed up architecture evaluation and simulate potential target task embeddings to assist cross-task search with a binary performance predictor. Extensive experiments on NAS-Bench-201 and TransNAS-Bench-101 demonstrate that ArchLock reduces transferability by up to 30% and 50%, respectively, with negligible performance degradation on source tasks (<2%). The code is available at https://github.com/Tongzhou0101/ArchLock.",
7
+ "rebuttal": "We look forward to your reply before the rebuttal period ends tomorrow. Thanks!\n\nThanks for your reply.\n\n**[For issue 1]**\n\nWe used image generation and diffusion models as examples to address your question, \"Why even release its parameters to begin with?\" and to provide a better understanding. However, the vulnerability is general and not limited to generative tasks. Also, like all other work conducted on NAS Benchmarks, the objective is to provide a fair comparison. Your current concern seems centered on the existing NAS Benchmarks being less meaningful (or are you questioning the practical significance of NAS?). However, it's crucial to note that constructing NAS benchm [...]\n\nWe would appreciate confirmation that we have adequately addressed all your concerns. Thank you once again for your time.\n\n**[Measurement and Overfitting]**\n\nThe reported numbers in Tables 1 and 2 are indeed derived from the benchmark to ensure a fair comparison by avoiding the influence of hyperparameter tuning.\n\nRegarding the zero-cost predictor, we would like to emphasize that it is not trained on the same set of datasets. Instead, it is meta-trained on ImageNet, as explicitly mentioned in Section 4.3. This intentional separation from the datasets used for the main evaluation mitigates concerns about overfitting, as the predictor is exposed to a diverse range of data during meta-training. We believe this design [...]\n\nThanks for your valuable comments. We would like to address your concerns one by one. \n\n**[Details of S/TU/TK]**\n\nFor S (source-only search scheme), it indeed follows the common NAS search scheme and does not consider the target task during its search process. Specifically, instead of using Eq. (5), its fitness score can simply be $f=-\\\\mathcal{S}_{rank}$, where higher ranks correspond to lower values, resulting in a higher fitness score.\n\nMoreover, Algorithm 1 indeed encapsulates the cross-task search process for both TU and TK, while the difference between them can be better understood with [...]\n\nThanks for pointing out these references; we will cite these works in the proper place in the final version.\n\n**[Training details]**\n\nThe training process of our binary predictor has been provided in Section 4.3. Specifically, the predictor is constructed using a four-layer multi-layer perceptron (MLP). We also conducted experiments with various designs, including different architecture parameters and optimizers. Some of the experiment records are presented in the table below. The selected design, highlighted in bold, achieved an accuracy of 87% with a training cost of approximately 5 GPU hour [...]\n\n### Address Weaknesses\n**[Task Definition]**\n\nIn our work, we did not consider adding more 32x32 images into CIFAR-10 (e.g., via augmentation) for classification as constituting a new task. In the supervised learning setting, a task is defined by both its domain space (data distribution, e.g., CIFAR-10 vs. ImageNet) and its label space (e.g., classification with different classes, classification vs. object detection). Therefore, a task is considered a new task when either its domain space is different or its label space is different.\n\n**[Evaluation and Performance]**\n\nWe would like to emphasiz [...]\n\n### Any remaining concerns?\nWe are looking forward to your feedback and wondering if any concerns remain.\n\n### Kind Request\nConsidering you are the **sole reviewer who has provided a negative rating**, we value your feedback and would like to ensure that all your concerns are addressed. We sincerely appreciate your acknowledgment that our work is interesting. **Our work represents a pioneering effort in providing a defense against unauthorized transfer at the architectural level, and the compelling results obtained underscore the effectiveness of our approach.** We kindly request your reconsideration of the rating, taking into account the clarification and context provided.\n\n### Looking forward to your response\nWe would like to emphasize the practical significance of our contribution to the field. The problem we tackled holds substantial practical relevance, and our motivation is thoroughly justified. We understand the importance of a fair evaluation and believe that the current rating may underestimate the true value of our work. We hope that you can consider raising the rating score based on the information we provided.\n\n### Motivation\nThanks for your question and valuable input. However, we think there is a **misunderstanding about our work** and we would like to clarify below.\n\nOur objective is **not to degrade NN performance on new tasks** as you stated in Summary. Instead, our focus is to find model architectures that perform well on their intended tasks while exhibiting low transferability, or degraded performance, on unauthorized target tasks.\n\n**[Motivation]**\n\nThe motivation for our approach **stems from ethical considerations and the potential misuse of machine learning models**, as highlighted in rec [...]\n\n### To All Reviewers\nAs the rebuttal period is drawing to a close, we sincerely hope that we have adequately addressed all your concerns. We would greatly appreciate your confirmation in this regard. Furthermore, if you choose to maintain your current ratings after we provide additional information or clarification, we kindly request justification for your decision. Your time and consideration are highly valued. Thank you.",
8
+ "initial_scores": [
9
+ 6,
10
+ 8,
11
+ 3
12
+ ],
13
+ "score_mean": 5.67,
14
+ "score_variance": 6.33,
15
+ "score_spread": 5,
16
+ "score_min": 3,
17
+ "score_max": 8,
18
+ "decision": "Accept (poster)",
19
+ "rebuttal_validity_ground_truth": true,
20
+ "meta_review": "This paper proposes a new formulation of finding a neural architecture that is strong on one task but transfers poorly to others.\nThis problem setting was criticized as unintuitive by Reviewer boEZ, since it is unclear in which circumstances this would be a desideratum of a vision model. The reviewers gave as an example that a diffusion model should not be good at generating hateful memes, which convinced the reviewer as a strong example. While there are no experiments on diffusion models, this is a good justification why the formulation might be useful in the future. \nThe method is fairly standard meta-learning. The results are not stellar, with even the most positive reviewer stating that 2% higher errors on CIFAR-10 are too much. One issue in NAS research has been reproducibility, and while some code is contained in the supplementary material zip file, this is not mentioned in the paper or appendix. I strongly ecourage the authors to make this code available to the public; I would like to emphasize that this is crucial to lay a foundation for follow-up work. The fact that the paper is based on top of standard implementations of ZC proxies and benchmarks in NASlib speaks in favour of reproducibility.\nThe most positive review was rather high-level and asked the authors to cite two additional papers by the same authors (also, at first glance these are not the most immediately related works out there; I would advise against giving into this request); this cannot be held agains",
21
+ "forum_id": "e2YOVTenU9",
22
+ "primary_area": "societal considerations including fairness, safety, privacy",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_ySE1",
27
+ "review_id": "VKtwvyoThI",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 4,
31
+ "presentation": 2,
32
+ "contribution": 3,
33
+ "confidence": 4
34
+ },
35
+ "review_text_chars": 2427,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 377716,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_umc9",
43
+ "review_id": "PD4dX4zhRs",
44
+ "scores": {
45
+ "rating": 8,
46
+ "soundness": 3,
47
+ "presentation": 3,
48
+ "contribution": 3,
49
+ "confidence": 4
50
+ },
51
+ "review_text_chars": 1154,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 2390543,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_boEZ",
59
+ "review_id": "aKawfMQhnD",
60
+ "scores": {
61
+ "rating": 3,
62
+ "soundness": 2,
63
+ "presentation": 3,
64
+ "contribution": 2,
65
+ "confidence": 5
66
+ },
67
+ "review_text_chars": 1610,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 948072,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8804.md ADDED
@@ -0,0 +1,441 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## ARCHLOCK: LOCKING DNN TRANSFERABILITY AT - THE ARCHITECTURE LEVEL WITH A ZERO-COST BI NARY PREDICTOR
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Deep neural network (DNN) models, despite their impressive performance, are vulnerable to exploitation by attackers who attempt to transfer them to other tasks for their own benefit. Current defense strategies mainly address this vulnerability at the model parameter level, leaving the potential of architectural-level defense largely unexplored. This paper, for the first time, addresses the issue of model protection by reducing transferability at the architecture level. Specifically, we present a novel neural architecture search (NAS)-enabled algorithm that employs zero-cost proxies and evolutionary search, to explore model architectures with low transferability. Our method, namely ArchLock, aims to achieve high performance on the source task, while degrading the performance on potential target tasks, i.e., locking the transferability of a DNN model. To achieve efficient cross-task search without accurately knowing the training data owned by the attackers, we utilize zero-cost proxies to speed up architecture evaluation and simulate potential target task embeddings to assist cross-task search with a binary performance predictor. Extensive experiments on NAS-Bench-201 and TransNAS-Bench-101 demonstrate that ArchLock reduces transferability by up to 30% and 50%, respectively, with negligible performance degradation on source tasks (<2%). The code is available at [URL removed]
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ It is a common practice today to transfer a pre-trained deep neural network (DNN) from one application domain to another one, as demonstrated in Guo et al. (2019); Jiang et al. (2022). These advantages, however, also provide an incentive for attackers to illicitly exploit well-trained models by transferring them to their desired tasks, resulting in a violation of model owners’ rights. To mitigate the vulnerability of unauthorized model transfer, prior work restricts model usage by introducing a training strategy to optimize the weights Wang et al. (2022). Nonetheless, such a weight-level modification cannot be preserved once attackers fine-tune this model to the domain of interest with enough training data, since they will further adjust the model weights to improve the transferability.
14
+
15
+ In contrast, we focus on achieving protection at the architecture level, recognizing that the neural architecture fundamentally determines the model accuracy Zoph & Le (2017) and hence plays a critical role in model transferability Kornblith et al. (2019); Zhou et al. (2021). Despite the critical significance of architectural considerations in model transferability, previous mitigation efforts have largely overlooked this aspect. Therefore, our work seeks to bridge this gap by addressing the question: **how to mitigate the risk of unauthorized transfer by reducing transferability at the architecture level?** In particular, we expect the DNN to perform well on the source task while showing limited transferability to other tasks.
16
+
17
+ Although our proposed defense philosophy is intuitive, manually designing an architecture with low transferability is challenging, due to the large design space and requirements for domain knowledge of architecture characteristics associated with transferability. Consequently, neural network search (NAS) is envisioned as a promising solution due to its effectiveness in architecture design Liu et al. (2018b); Real et al. (2019); Zhou et al. (2022). Even so, how to utilize NAS to reduce DNN
18
+
19
+ 1
20
+
21
+ transferability for model protection has remained an open problem. Indeed, it is significantly more challenging than improving DNN transferability Ding et al. (2022); Pasunuru & Bansal (2019), since the target task for the latter is well-specified but not for our case. Therefore, in addition to the common challenges faced by existing NAS algorithms, i.e., how to efficiently evaluate the performance of architecture in the search space, we have to address additional challenges, including **(a)** how to determine and simulate the potential target task if it is not specified; **(b)** how to address performance evaluation for the simulated task; and **(c)** how to preserve the performance on the source task but degrade performance on the target task.
22
+
23
+ In this paper, we formulate the transferability reduction problem as a cross-task search NAS problem and propose a novel algorithm, called ArchLock. Specifically, for challenge **(a)** , we simulate the target task by generating its task embedding based on the source task with a specified similarity, since the target task should be similar to the source task, so as to benefit (i.e., obtain the performance gain) from transfer learning (Sec. 3.1). For challenge **(b)** , we meta-train a binary predictor with zero-cost proxies to indicate the relative performance, which can achieve efficient architecture evaluation and generalize to unseen tasks (Sec. 3.2). Last, we design a cross-task search algorithm using evolutionary search with a rank-based fitness score to guide the search (Sec. 3.3). Overall, our contributions can be summarized as follows:
24
+
25
+ _•_ This work is the first to mitigate unauthorized transfer at the architecture level, where the searched architecture excels on the source task but exhibits degraded performance on the target task, regardless of the amount of data available to the attacker.
26
+
27
+ _•_ We develop a binary predictor using multiple zero-cost proxies to accelerate NAS. The predictor incorporates task characteristics as an additional input, enabling efficient architecture evaluation and generalization to unseen tasks, thus assisting in cross-task search with a rank-based fitness score.
28
+
29
+ _•_ Through extensive experiments on NAS-Bench-201 and TransNAS-Bench-101, we demonstrate that ArchLock can reduce transferability by up to about 30% and 50%, respectively, while maintaining negligible performance degradation on the source task (<2%).
30
+
31
+ ## 2 RELATED WORK
32
+
33
+ ## 2.1 EFFECT OF ARCHITECTURE ON MODEL TRANSFERABILITY
34
+
35
+ Previous works have demonstrated that the architecture design affects the model transferability Zhou et al. (2021); Kornblith et al. (2019). For example, Zhou _et al_ . demonstrate that the Transformer-based architectures can be better transferred to 13 tasks than ConvNets Zhou et al. (2021). Besides, Zoph _et al_ . search well-performed cells only on CIFAR-10 and transfer them to ImageNet with good performance. However, Dong & Yang (2020) shows that directly transferring an optimal architecture from a source task to a target task might not always yield good performance, since the rank correlation of architecture performances on different tasks is not perfectly positive. This work suggests that a single-task search cannot ensure that the top-1 architecture on the source task also has the best performance on the target task. Therefore, some cross-task search NAS algorithms are proposed. For example, Ding et al. (2022) builds a predictor for each task, then accumulates the gradient from these predictors to guide the architecture search. Besides, Pasunuru & Bansal (2019) utilizes a controller to obtain a joint reward to achieve a multi-task search.
36
+
37
+ However, these existing cross-task NAS algorithms aim to find the architecture performing well on several specified tasks. In sharp contrast, our proposed design only expects generating model architectures that perform well on the source task with reduced transferability to uncertain target tasks, which raises challenges including achieving efficient architecture performance evaluation and estimating performance on unseen tasks.
38
+
39
+ ## 2.2 ACCELERATION FOR ARCHITECTURE EVALUATION
40
+
41
+ Evaluating an architecture performance by training it until convergence is computationally expensive. To overcome this limitation, some works design the performance predictors to accelerate NAS, which are usually built as regression models that are trained using architecture encodings and their corresponding validation performances (e.g., accuracy for classification problems) Liu et al. (2018a);
42
+
43
+ 2
44
+
45
+ Shi et al. (2020). However, collecting these training data is also expensive and the predictor may not have a high correlation between the predicted result with the actual performance White et al. (2021). As an improvement, Dudziak _et al_ . propose a predictor using the binary relationship to rank architectures, which requires fewer training samples but has a higher correlation Dudziak et al. (2020).
46
+
47
+ In contrast to the above methods that still require training architectures, several theoretical metrics have been proposed recently that can measure the performance of an architecture at the initialization stage Lee et al. (2019a); Mellor et al. (2021); Lin et al. (2021), thus greatly reducing the computation burden in NAS. Since the computation cost of such a metric is negligible (e.g., less than 5 seconds Krishnakumar et al. (2022)), they are used as zero-cost proxies (ZCPs) in previous NAS works Chen et al.. However, a single ZCP cannot provide accurate rank or generalize well among various tasks Chen et al.; Abdelfattah et al. (2021). Therefore, Krishnakumar et al. (2022) incorporates 13 proxies into the surrogate models used by NAS algorithms, showing up to 42% performance improvement. However, we leverage ZCPs in a different way, with details in Sec. 3.2.
48
+
49
+ ## 2.3 NAS PREDICTORS WITH META-LEARNING
50
+
51
+ Given that explicitly measuring the performance of architectures on simulated target tasks is impossible, we draw inspiration from the following works to leverage meta-learning in training our proposed predictor. In particular, recent NAS algorithms adopt meta-learning to improve its generalizability on other novel tasks Elsken et al. (2020); Lee et al. (2021a;b). For example, MetaNAS optimizes both the meta-architecture and the meta-weights during meta-training, allowing adaptation to unseen tasks during testing Elsken et al. (2020). Besides, Lee _et al_ . propose MetaD2A to meta-train a performance predictor on the ImageNet classification task to accelerate the search Lee et al. (2021a), which generalizes well on other classification tasks and reduces the search cost from O(N) to O(1) for multi-task search. Therefore, we also adopt meta-learning in our predictor design, thus being able to estimate the architecture performance on simulated tasks. Moreover, we extend the applicability of the meta-trained predictor beyond the classification task.
52
+
53
+ ## 3 OUR PROPOSED FRAMEWORK: ARCHLOCK
54
+
55
+ Our goal is to utilize NAS to find an architecture that can mitigate unauthorized transferability. Specifically, except for achieving the optimal performance on the single task as conventional NAS, we expect the searched architecture can restrain the model usage to the source task, i.e., perform well on the source task, but hard to transfer to the target task with good performance. To this end, we propose ArchLock, which learns the cross-task performance of architectures via an evolutionary search. Specifically, ArchLock uses a rank-based fitness score to guide the search. Further, we introduce a binary predictor using zero-cost proxies to rank the architectures in ArchLock, where the pairwise relationship will be task-dependent, thus we can simulate the potential task embedding to evaluate the architecture performance on uncertain tasks.
56
+
57
+ **Problem Formulation:** Conventional NAS algorithms focus on finding an optimal architecture that achieves high performance on a single task (denoted as _S_ ), while satisfying the hardware constraints, e.g., memory consumption and/or inference latency Zoph & Le (2017); Chen et al., which can be formulated as a bi-level optimization problem:
58
+
59
+ **==> picture [371 x 19] intentionally omitted <==**
60
+
61
+ where ( _XS[tr][, Y] S[tr]_[)][and][(] _[X] S[val][, Y] S[val]_ ) are the training data and validation data of _S_ , respectively, and _LS_ is the loss function of _S_ . We use _A_ to denote the search space and _fa_ to represent the network associated with the architecture _a_ , where _a_ is an architecture candidate in _A_ and _W_ is the corresponding weights trained for _S_ .
62
+
63
+ However, in order to mitigate the vulnerability of unauthorized transfer, we have to consider the architecture performance on potential target tasks, which is denoted as _Ti_ . Similarly, this problem can be formulated as a bi-level optimization problem, but we aim to minimize the performance of the network on _Ti_ , while maximizing its performance on _S_ , i.e., the specific source task. The optimal
64
+
65
+ 3
66
+
67
+ architecture _a[∗]_ can be found by solving:
68
+
69
+ **==> picture [351 x 47] intentionally omitted <==**
70
+
71
+ where ( _XTi, YTi_ ) is the labeled pair from the task _Ti_ and constraints in Eq. (1) still apply. Also, _β_ controls the balance between performance maximization on the source task and minimization on the target task. Especially, when _β_ equals 0, Eq. (2) will be degraded to Eq. (1), thus we can get the performance of NAS without the security concern of transferability reduction as the baseline.
72
+
73
+ However, solving Eq. (2) faces three challenging problems: 1) how to simulate the task domain if it is unknown; 2) how to efficiently measure the architecture performance and let it generalize to unseen tasks as well, and 3) how to achieve cross-task search. We tackle these challenges in Sec. 3.1, Sec. 3.2, and Sec. 3.3, respectively.
74
+
75
+ ## 3.1 TASK EMBEDDING
76
+
77
+ It is worth noting that fully protecting the model by reducing the model transferability to _all_ potential target tasks is practically infeasible, i.e., one could not pre-know the tasks or applications of interest to the adversary, which is also not our target in this work. This is also true for other types of defenses, e.g., adversarial training can only robustify the DNN model subject to an input perturbation bound Wang et al. (2019). Here, we expect the transferability to some tasks can degrade so that we can defend against partial potential attacks.
78
+
79
+ In general, simulating the potential target tasks by generating their actual dataset can be difficult if not impossible, since we need to know exactly the attacker’s tasks. To address this challenge, we aim to manipulate the feature space directly to save the computational cost of dataset generalization, i.e., generate the possible target task embedding. The bright side is that the target task in general is close to the source task in order to benefit from transfer learning. In this case, we can simulate some potential target tasks during the search to assist cross-task search when the target task is unknown.
80
+
81
+ To capture the characteristics of a task as an embedding vector, we leverage the Fisher Information matrix (FIM) similar to Achille et al. (2019) and Huang et al. (2022), which can be expressed by:
82
+
83
+ **==> picture [326 x 14] intentionally omitted <==**
84
+
85
+ where _p_ ˆ is the empirical distribution defined by the dataset including the input _X_ and the label _Y_ . Specifically, the modern DNN model can be seen as two parts: a feature extractor and a taskdependent head, e.g., a classifier for the classification task. Here, we use ResNet-50 pre-trained on ImageNet as the feature extractor and train the head for any given task. After training, we compute the FIM for the feature extractor with the same approximation in Achille et al. (2019) to represent the task as a fixed dimensional vector **z** .
86
+
87
+ With the source task embedding **z** _S_ obtained using the above method, we can simulate the task embedding **z** _Ti_ of potential target tasks _Ti_ . Here we use the cosine similarity for measurement, where the value is between [0,1] and the larger value indicates higher similarity. Therefore, given **z** _S_ and desired cosine similarity _d_ , we can generate **z** _Ti_ following :
88
+
89
+ **==> picture [283 x 11] intentionally omitted <==**
90
+
91
+ where _ei_ is orthogonal to **z** _S_ and can be obtained via Gram–Schmidt process. The derivation of Eq. (8) is shown in Appendix A. Besides, the orthogonal vector will vary for different **z** _Ti_ .
92
+
93
+ The advantage of using such a method is that we can simulate possible target tasks without explicitly generating the samples, and the latent space manipulation is more representative. With the simulated task embedding, we expect that they can represent or approach some real target tasks. Since we do not have the ground truth label for the simulated task, we cannot estimate the architecture performance using supervised learning. Instead, we use the task embedding as an input of the predictor introduced below, where the predictor will be meta-trained to be generalized to the unseen task embedding.
94
+
95
+ 4
96
+
97
+ ## 3.2 ZERO-COST BINARY PREDICTOR
98
+
99
+ One challenge we face in developing ArchLock is estimating the architecture’s performance on unseen tasks. Inspired by the success of meta-learning in generalizing models to unseen tasks Finn et al. (2017); Lee et al. (2021a), we propose to train a predictor that can adapt to simulated tasks following the procedure in MetaD2A Lee et al. (2021a). However, unlike the predictor in MetaD2A that uses validation performance as the label for meta-training, we use zero-cost metrics as proxies to measure architecture performance at initialization, thus avoiding architecture training and saving computational costs.
100
+
101
+ While various zero-cost proxies have been used in NAS to accelerate the search process, relying on a single proxy as a measure of architecture’s performance is unreliable White et al. (2021). The searched architecture may not perform well, and the zero-cost proxy (ZCP) itself may not generalize to other tasks. To address this, we incorporate multiple data-dependent ZCPs to obtain a more accurate estimation, including _fisher_ , _flops_ , _grad-norm_ , _grasp_ , _jacov_ , _nwot_ , and _snip_ , as summarized in Krishnakumar et al. (2022). These proxies provide complementary information about the characteristics of an architecture’s performance. The details of these proxies and the rationale for their selection are discussed in Appendix B.
102
+
103
+ Our objective is to obtain architecture rankings rather than precise performance values. Therefore, we propose a binary predictor _P_ that learns pairwise relations between two architectures instead of predicting ordinal regression. Such a design can improve the overall ranking accuracy of the predictor since learning a relative performance for two architectures will be easier than predicting accurate rankings for multiple architectures. More importantly, we incorporate task characteristics into the predictor using task embedding, so it can be used in the cross-task search to efficiently measure the architecture performance given different task embeddings.
104
+
105
+ Overall, the inference process of the proposed predictor is shown in Fig. 1. The graph encoder converts Graph Task Embedding the directed acyclic graph of the architecture cell into Encoder an adjacency matrix, which is then flattened into a Arch. 𝑎! vector. As for the binary predictor, it is built with a Arch. Embedding Binary multi-layer perceptron with a softmax activation funcPredictor tion and takes the concatenated architecture encoding pair and the pre-computed task embedding as inputs. GraphEncoder (𝑝!, 𝑝") During training, the ground-truth label is calculated Concatenation based on the ZCPs proxies using an ensemble method. Arch. 𝑎" Specifically, the label is set to 1 if more proxies indiFigure 1: The inference process of our procate that the first architecture outperforms the second posed predictor, where the inputs include the in an architecture pair. The design and training details are described in Sec. 4.3. During inference, the embedding of a pair of architectures along predictor outputs two logits _p_ 1 and _p_ 2. If _p_ 1 _> p_ 2, it with the pre-computed task embedding. _p_ 1 indicates architecture _a_ 1 outperforms _a_ 2 on the task > _p_ 2 indicates that indicates that _a_ 1 outperforms outperforms _a_ 2 for the for the associated with task embedding _z_ . In summary, the given task. proposed predictor has the following properties: (1) It is scalable to any size of the architecture pool when combined with the sorting algorithm; (2) It uses zero-cost proxies as supervision, eliminating the need to train several architectures from scratch and reducing training costs; (3) It incorporates multiple ZCPs to obtain complementary information, mitigating the bias introduced by a single proxy; (4) It takes both architecture and task embeddings into account, leveraging meta-learning for training and enabling generalization to unseen tasks.
106
+
107
+ Figure 1: The inference process of our proposed predictor, where the inputs include the embedding of a pair of architectures along with the pre-computed task embedding. _p_ 1 > _p_ 2 indicates that indicates that _a_ 1 outperforms outperforms _a_ 2 for the for the given task.
108
+
109
+ ## 3.3 CROSS-TASK EVOLUTIONARY SEARCH
110
+
111
+ In ArchLock, we utilize evolutionary search due to its computational efficiency compared to RL-based NAS Zoph & Le (2017). Also, unlike pruning-based approaches Chen et al., its mutation mechanism can help avoid local minima, allowing for a more thorough exploration of the solution space.
112
+
113
+ The core algorithm of cross-task search in ArchLock is shown in Alg. 1. To achieve the transferability reduction via a cross-task search, we use the meta-trained predictor along with a sorting algorithm, i.e., topological sorting in this case, to rank the performance of architectures for _S_ and _Ti_ , denoted as BPwSort in Alg. 1. In particular, we incorporate the rankings for all _Ti_ as one using majority voting,
114
+
115
+ 5
116
+
117
+ denoted as _Trank_ . We can then use the rankings of architecture on _S_ and _T_ to design a fitness score as guidance for the cross-task search. The rank-based fitness score f is designed as:
118
+
119
+ f = _Trank − λ ∗Srank,_ (5)
120
+
121
+ where _Srank_ denotes the architecture rankings on _S_ and we set _λ_ to 2 to assign the source task higher weight. In this case, we are able to find an architecture that satisfies Eq. 2, i.e., the performance will be degraded on the target task while being well on the source task compared to the conventional NAS. The functions BPwSort and UpdateHistory are shown in Appendix C.
122
+
123
+ ## 4 EXPERIMENTS
124
+
125
+ We evaluate ArchLock on two state-of-the-art NAS benchmarks: NAS-Bench-201 (NB-201) Dong & Yang (2020) and TransNAS-Bench-101 (TNB-101) Duan et al. (2021). These are the only two accessible options that consist of multiple tasks. Performance evaluation is based on the validation performance provided by the benchmarks for fair comparison. We compare three search schemes: one is source-only search and the other two are cross-task search, with details described in Sec. 4.2.
126
+
127
+ ## 4.1 SEARCH SPACE AND TASKS
128
+
129
+ **NAS-Bench-201** is a popular NAS benchmark dataset with cell-based search space. Each cell has 4 nodes and 6 edges, where each edge represents an operation selected from 5 options, i.e., zeroize, skip connection, 1 _×_ 1 convolution, 3 _×_ 3 convolution, and 3 _×_ 3 average pooling. It includes over 15,000 neural network architectures across three image classification tasks, including CIFAR-10, CIFAR-100, and ImageNet16-120 (i.e., 16 _×_ 16 input size with 120 classes).
130
+
131
+ **TransNAS-Bench-101** is proposed to facilitate the cross-task NAS by including the architecture performance across 7 different tasks on the same dataset, including scene classification ( **SC** ), object classification ( **OC** ), room layout ( **RL** ), jigsaw ( **JS** ), semantic segmentation ( **SS** ), surface normal ( **SN** ), and autoencoding( **AE** ), where the labels for each task collected from Taskonomy Za-
132
+
133
+ ||**Algorithm 1**Cross-task Search in ArchLock<br>**Require**: Predictor_P_, Task embeddings**z**_S_,**z**_Ti_<br>**Parameters**: Population size_n_, Sample size_m_, History<br>size_k_<br>1: _popu ←∅, history ←∅_<br>2: **procedure**NEWEPOCH(_epoch, P,_**z**_S,_**z**_Ti_)<br>3:<br>**if**_epoch < n_**then**<br>4:<br>_arch ←_Randomly sample from search space|
134
+ |---|---|
135
+ ||5:<br>_popu_.append(_arch_)<br>6:<br>UpdateHistory(_history, arch, k, P,_**z**_S,_**z**_Ti_)<br>7:<br>**else**<br>8:<br>_Srank, Trank ←_BPwSort(_popu, P,_**z**_S,_**z**_Ti_)<br>9:<br>Calculate f for_arch ∈popu_(Eq.(5))<br>10:<br>_samples ←_Randomly sample_m_from_popu_|
136
+ ||11:<br>_parent ←arch_with highest f in_samples_|
137
+ ||12:<br>_child ←_Mutate(_parent_)|
138
+ ||13:<br>_popu_.popleft()|
139
+ ||14:<br>_popu_.append(_child_);|
140
+ ||15:<br>UpdateHistory(_history, child, k, P,_**z**_S,_**z**_Ti_)<br>16:<br>**end if**|
141
+ ||17: **end procedure**|
142
+ ||18: _a∗←arch_with highest f in_history_|
143
+
144
+ mir et al. (2018). It provides two types of search space, i.e., macro-based and cell-based, where we experiment on the latter with more than 4k architectures. Each cell consists of 4 nodes and 6 edges, where the operations for each edge include zeroize, skip connection, 1 _×_ 1 convolution, and 3 _×_ 3 convolution.
145
+
146
+ ## 4.2 DIFFERENT SEARCH SCHEMES
147
+
148
+ **ArchLock-S** : This is a source-only search scheme, which only conducts ArchLock on the source task _S_ , i.e., setting _β_ in Eq. (2) to 0. After getting the architecture, we will evaluate how it performs when trained on the target task. It is a baseline as the comparison with cross-task search schemes.
149
+
150
+ **ArchLock-TU** : It conducts cross-task NAS in the case that the target task is unknown (TU). We use simulated tasks with embedding generated based on the method introduced in Sec. 3.1. We measure the performance of the searched architecture on the target task, which is unseen during the search.
151
+
152
+ **ArchLock-TK** : It conducts cross-task NAS in the case that the target task is known (TK), where the objective follows Eq. (2) with only one _T_ obtained from the certain target task.
153
+
154
+ 6
155
+
156
+ Table 1: The transferability of searched architecture on NB-201 with different search schemes. We report both the Top-1 validation accuracy, i.e., _Acc. (%)_ , and rank percentile, i.e., _Pct. (%)_ to evaluate the performance of architectures. We use _APT_ to denote the average rank percentile on target tasks.
157
+
158
+ |Source / Target<br>Method|CIFAR-10|CIFAR-100|ImageNet-16-120<br>_APT_<br>Acc.<br>_Pct._|
159
+ |---|---|---|---|
160
+ ||Acc.<br>_Pct._|Acc.<br>_Pct._||
161
+ |CIFAR-10<br>ArchLock-S<br>ArchLock-TU<br>ArchLock-TK|91.40<br>99.99|72.96<br>99.95<br>70.24<br>95.81<br>68.67<br>82.78|46.77<br>99.94<br>99.95<br>44.11<br>95.44<br>95.62<br>41.80<br>84.07<br>**83.37**|
162
+ ||90.41<br>97.93|||
163
+ ||90.55<br>98.56|||
164
+ |CIFAR-100<br>ArchLock-S<br>ArchLock-TU<br>ArchLock-TK|91.18<br>99.91<br>89.69<br>93.45<br>89.07<br>84.47|73.25<br>99.99|46.5<br>99.84<br>99.88<br>41.47<br>82.11<br>87.78<br>37.27<br>54.84<br>**68.65**|
165
+ |||71.18<br>98.98||
166
+ |||71.23<br>99.07||
167
+ |ImageNet-16-120<br>ArchLock-S<br>ArchLock-TU<br>ArchLock-TK|91.23<br>99.94<br>89.53<br>91.95<br>88.73<br>76.59|72.74<br>99.92<br>69.16<br>87.60<br>67.69<br>72.72|47.27<br>99.99<br>99.93<br>45.22<br>98.52<br>89.77<br>45.58<br>99.25<br>**74.65**|
168
+
169
+ ## 4.3 EXPERIMENTAL SETUP
170
+
171
+ **Meta-trained predictor** : we build a binary predictor using a multi-layer perceptron with four layers. To train the predictor, we use ImageNet to build our training set as Lee et al. (2021a). Specifically, the training set includes architecture pairs randomly sampled from Nas-Bench-201, the task embedding of the tasks associated with the sub-set of ImageNet, and the binary label decided by the values of ZPCs. Specifically, if the majority of ZPCs indicate the first architecture outperforms the second, then the label is 1; otherwise, the label would be 0. Following the same meta-training procedure as Lee et al. (2021a), our predictor can generalize to unseen tasks, where the task similarity will affect the performance of the meta-trained predictor as discussed in Sec. 5.2. Our experiments are conducted with the PyTorch framework using NASLib library Ruchte et al. (2020).
172
+
173
+ **Simulated task embeddings:** For the following experiments, we simulate 10 task embeddings _Ti_ , where the cosine similarity of _S_ and _Ti_ is set to 0.9. These settings will be the same unless specified otherwise, and we will discuss how they affect the search if the values are changed in Sec. 5.2.
174
+
175
+ **Measurement:** For classification tasks, we use top-1 validation accuracy as a metric to measure the performance. Besides, we also use rank percentile, denoted as _Pct._ , to measure how a candidate performs among all architectures in the search space, since the architecture ranking matters in NAS. For example, if _Pct._ of an architecture is 90%, it means that this architecture performs better than 90% of all architectures in the search space. In order to measure the performance of three search schemes, we also introduce the average rank percentile on target tasks, denoted as _APT_ , which takes the _Pct._ on all tasks except the one same as the source task.
176
+
177
+ ## 4.4 RESULTS ON NAS-BENCH-201
178
+
179
+ We apply three search schemes on the NB-201 benchmark with 3 datasets and take the average of results from several runs for each experiment as reported in Tab. 1. From this table, we can see that ArchLock-S can achieve high performance (with _Pct._ >99%) on target tasks, even though it only searches on the source task, which indicates the searched architectures in this case are more vulnerable to unauthorized transfer. The reason is that the correlation on each task pair over architectures in NB-201 is high, with details shown in Appendix D.
180
+
181
+ However, if we change the search scheme to ArchLock-TU, the _APT_ will have an obvious drop, with up to 12% when CIFAR-100 is the source task, while the _Pct._ on the source task does not drop much, i.e., < 2%. The rationale for employing _Pct._ as a descriptor of performance lies in the insufficiency of accuracy alone to fully represent the architectural performance across the entire search space. Specifically, since the architecture performance does not follow the uniform distribution in the search space, i.e., a small accuracy drop will significantly change the architecture ranking, making the result no longer attractive to attackers. Moreover, ArchLock-TK shows the highest _APT_ drop since we can directly use the specified target task in cross-task search, achieving the maximal transferability reduction. Also, it can preserve the performance of the source task, which is close to the source-only search ArchLock-S.
182
+
183
+ 7
184
+
185
+ Table 2: The transferability of searched architecture on TNB-101 with different search schemes. We use _APT_ to denote the average rank percentile on target tasks.
186
+
187
+ |Source / Target|Method|**SC**|**OC**|**RL**|**JS**|**SS**|**SN**|**AE**|_APT_|
188
+ |---|---|---|---|---|---|---|---|---|---|
189
+ ||ArchLock-S|99.99|99.83|59.91|89.71|75.88|99.32|95.97|86.77|
190
+ |**SC**|ArchLock-TU|98.96|66.36|59.17|67.37|75.89|67.47|44.96|63.53|
191
+ ||ArchLock-TK|99.73|39.48|34.03|40.43|46.67|54.49|30.19|**40.88**|
192
+ ||ArchLock-S|89.21|99.93|73.61|63.87|69.92|82.10|26.76|67.58|
193
+ |**OC**|ArchLock-TU|76.94|97.10|73.77|41.41|63.10|62.33|63.21|63.46|
194
+ ||ArchLock-TK|47.96|99.65|59.91|38.95|42.04|35.24|26.76|**41.81**|
195
+ ||ArchLock-S|98.47|94.85|99.78|83.26|74.34|99.85|77.02|87.97|
196
+ |**RL**|ArchLock-TU|49.38|67.91|97.74|60.54|46.55|64.02|49.62|56.34|
197
+ ||ArchLock-TK|37.76|40.56|99.75|39.49|32.08|45.46|22.95|**36.38**|
198
+ ||ArchLock-S|97.98|97.77|65.04|99.68|87.82|97.58|72.31|86.42|
199
+ |**JS**|ArchLock-TU|67.51|61.06|76.90|98.52|67.54|53.17|37.38|60.59|
200
+ ||ArchLock-TK|35.46|31.91|42.46|99.58|54.24|32.08|19.67|**35.97**|
201
+ ||ArchLock-S|81.81|61.65|36.91|97.35|99.87|63.40|28.03|61.53|
202
+ |**SS**|ArchLock-TU|68.72|38.43|34.59|47.48|98.47|85.06|19.21|48.91|
203
+ ||ArchLock-TK|40.84|30.98|30.07|30.42|99.34|46.36|11.33|**31.67**|
204
+ ||ArchLock-S|97.02|97.13|79.05|73.19|76.17|99.97|81.49|84.00|
205
+ |**SN**|ArchLock-TU|67.95|54.89|56.14|50.95|70.45|98.44|52.44|58.80|
206
+ ||ArchLock-TK|38.95|33.17|31.00|37.74|43.45|99.61|15.21|**33.25**|
207
+ ||ArchLock-S|37.37|62.37|84.92|55.26|34.89|74.40|99.83|58.22|
208
+ |**AE**|ArchLock-TU|36.33|48.29|54.81|50.08|31.89|46.84|98.08|44.71|
209
+ ||ArchLock-TK|31.13|47.95|56.13|45.36|30.39|29.58|99.74|**40.09**|
210
+
211
+ ## 4.5 RESULTS ON TRANS-NAS-101
212
+
213
+ The performances of three search schemes on TNB-101 are shown in Tab. 2, where the architecture performance is reported as the average of multiple runs for each source-target pair. From Tab. 2, we can find that two cross-task search schemes, i.e., ArchLock-TU and ArchLock-TK, can still maintain good performance on the source task as the source-only search ArchLock-S, while the performance on the target tasks drops drastically. Besides, since the correlation of some task pairs over architectures in TNB-101 is low (see Appendix E), e.g., architecture with good performance on **OC** could be bad on **AE** , the _APT_ is relatively low for ArchLock-S compared it on NB-201. The intuition is that the target task could benefit more if the source task does the same kind of vision task.
214
+
215
+ **==> picture [322 x 103] intentionally omitted <==**
216
+
217
+ **----- Start of picture text -----**<br>
218
+ 100<br>90<br>80<br>70<br>60<br>50<br>40<br>30<br>20<br>10<br>SC OC RL JS SS SN AE SC OC RL JS SS SN AE SC OC RL JS SS SN AE<br>Target Target Target<br>Source<br>Rank Percentile (%)<br>AE SN SS JS RL OC SC AE SN SS JS RL OC SC AE SN SS JS RL OC SC<br>**----- End of picture text -----**<br>
219
+
220
+ Figure 2: From left to right: ArchLock-S, ArchLock-TU, ArchLock-TK. The darker color indicates higher transferability reduction.
221
+
222
+ Although the _APT_ of ArchLock-S is relatively low, we can still enhance the transferability reduction via cross-task search, where the results in Fig. 2 can show the performance difference among three search schemes. For example, when transferring **SS** to **SC** , ArchLock-S finds an architecture with _Pct._ of 81.81%, while ArchLock-TU and ArchLock-TK reduce the transferability even lower with _Pct._ of 68.72% and 40.48%, respectively. Besides, each heatmap reflects the asymmetric characteristics of transferability, i.e., transferring one task to another is different from the otherwise (e.g., 65.04% for **JS** to **RL** while 83.26% for **RL** to **JS** in ArchLock-S).
223
+
224
+ ## 5 DISCUSSION
225
+
226
+ ## 5.1 NAS ALGORITHMS
227
+
228
+ We compare ArchLock with SOTA source-only NAS algorithms on TNB-101, with **SC** denoting the source task and others representing the target tasks. The results are shown in Tab. 3. Note that even in this case the average Spearman rank correlation of all source-target task pairs is just _∼_ 0 _._ 7, our
229
+
230
+ 8
231
+
232
+ Table 3: Comparison among ArchLock and SOTA source-only NAS, including RS Bergstra & Bengio (2012), REA Real et al. (2019), BONAS Shi et al. (2020) and weakNAS Wu et al. (2021). The results are reported using the percentile (%) of architecture performance in the TNB-101 search space.
233
+
234
+ ||Source-only|Cross-task<br>ArchLock-TU<br>ArchLock-TK|
235
+ |---|---|---|
236
+ ||RS<br>REA<br>BONAS<br>weakNAS<br>ArchLock-S||
237
+ |Source<br>SC<br>Target<br>OC<br>RL<br>JS<br>SS<br>SN<br>AE|99.68<br>99.85<br>99.34<br>99.71<br>99.99|98.96<br>99.73|
238
+ ||83.30<br>78.83<br>75.39<br>95.87<br>99.83<br>60.86<br>62.30<br>63.31<br>76.95<br>59.91<br>78.78<br>84.72<br>64.82<br>76.95<br>89.71<br>88.72<br>76.90<br>84.79<br>72.61<br>75.88<br>97.00<br>77.34<br>86.79<br>98.14<br>99.32<br>67.02<br>49.53<br>65.48<br>75.88<br>95.97|66.36<br>39.48<br>59.17<br>34.03<br>67.34<br>40.43<br>75.89<br>46.67<br>67.47<br>54.49<br>44.96<br>30.19|
239
+ |_APT_|79.28<br>71.60<br>73.43<br>82.73<br>86.87|**63.54**<br>**40.88**|
240
+
241
+ cross-task search schemes ArchLock-TU and ArchLock-TK can further reduce the _APT_ to 63.54% and 40.88%, where _APT_ for source-only NAS can be as high as over 80%. It demonstrates the effectiveness of the proposed cross-task search in mitigating unauthorized transfer.
242
+
243
+ ## 5.2 SIMULATED TARGET TASK EMBEDDING
244
+
245
+ The simulated target task embedding plays an important role in ArchLock-TU. We experiment on NB-201 with CIFAR-100 as the source task and the other two as target tasks for investigation.
246
+
247
+ **The number of embeddings.** We experiment with different numbers of embeddings, i.e., 5, 10, and 15, respectively. From the results shown in Fig. 3, we can notice the gain in transferability reduction as the number of embeddings increases, i.e., the architecture performance does not change much on the source task but is degraded more on the target task with more simulated target task embeddings involved. The reason could be that the cross-task search covers more possible target tasks, which increases the possibility of the actual target task being included.
248
+
249
+ |Num = 5 Num = 10 Num = 15<br>Num = 5 Num = 10 Num~~=~~15<br>CIFAR-100<br>CIFAR-10 ImageNet-16-120<br>100 -<br>80 -<br>60 -<br>40 -<br>20 -<br>0 -<br>Rank Percentile (%)<br>Figure 3: ArchLock-TU with various<br>numbers of simulated embeddings.<br>Table 4: The performance of ArchLock-TU with v<br>similarities of simulated task embeddings. The resul<br>reported in terms of the rank percentile (%) of the archit<br>performance in NB-201 search space.<br>Similarity_d_<br>Source<br>Target<br>CIFAR-100<br>CIFAR-10<br>ImageNet-16-120<br>0.3<br>99.07<br>94.34<br>97.56<br>0.5<br>98.89<br>95.82<br>92.59<br>0.9<br>98.98<br>**93.45**<br>**82.11**|Num = 5 Num = 10 Num = 15<br>Num = 5 Num = 10 Num~~=~~15<br>CIFAR-100<br>CIFAR-10 ImageNet-16-120<br>100 -<br>80 -<br>60 -<br>40 -<br>20 -<br>0 -<br>Rank Percentile (%)<br>Figure 3: ArchLock-TU with various<br>numbers of simulated embeddings.<br>Table 4: The performance of ArchLock-TU with v<br>similarities of simulated task embeddings. The resul<br>reported in terms of the rank percentile (%) of the archit<br>performance in NB-201 search space.<br>Similarity_d_<br>Source<br>Target<br>CIFAR-100<br>CIFAR-10<br>ImageNet-16-120<br>0.3<br>99.07<br>94.34<br>97.56<br>0.5<br>98.89<br>95.82<br>92.59<br>0.9<br>98.98<br>**93.45**<br>**82.11**|Num = 5 Num = 10 Num = 15<br>Num = 5 Num = 10 Num~~=~~15<br>CIFAR-100<br>CIFAR-10 ImageNet-16-120<br>100 -<br>80 -<br>60 -<br>40 -<br>20 -<br>0 -<br>Rank Percentile (%)<br>Figure 3: ArchLock-TU with various<br>numbers of simulated embeddings.<br>Table 4: The performance of ArchLock-TU with v<br>similarities of simulated task embeddings. The resul<br>reported in terms of the rank percentile (%) of the archit<br>performance in NB-201 search space.<br>Similarity_d_<br>Source<br>Target<br>CIFAR-100<br>CIFAR-10<br>ImageNet-16-120<br>0.3<br>99.07<br>94.34<br>97.56<br>0.5<br>98.89<br>95.82<br>92.59<br>0.9<br>98.98<br>**93.45**<br>**82.11**|Num = 5 Num = 10 Num = 15<br>Num = 5 Num = 10 Num~~=~~15<br>CIFAR-100<br>CIFAR-10 ImageNet-16-120<br>100 -<br>80 -<br>60 -<br>40 -<br>20 -<br>0 -<br>Rank Percentile (%)<br>Figure 3: ArchLock-TU with various<br>numbers of simulated embeddings.<br>Table 4: The performance of ArchLock-TU with v<br>similarities of simulated task embeddings. The resul<br>reported in terms of the rank percentile (%) of the archit<br>performance in NB-201 search space.<br>Similarity_d_<br>Source<br>Target<br>CIFAR-100<br>CIFAR-10<br>ImageNet-16-120<br>0.3<br>99.07<br>94.34<br>97.56<br>0.5<br>98.89<br>95.82<br>92.59<br>0.9<br>98.98<br>**93.45**<br>**82.11**|
250
+ |---|---|---|---|
251
+ ||Similarity_d_|Source|Target<br>CIFAR-10<br>ImageNet-16-120|
252
+ |||CIFAR-100||
253
+ ||0.3<br>0.5<br>0.9|99.07|94.34<br>97.56<br>95.82<br>92.59<br>**93.45**<br>**82.11**|
254
+ |||98.89||
255
+ |||98.98||
256
+ |||||
257
+
258
+ Table 4: The performance of ArchLock-TU with various similarities of simulated task embeddings. The results are reported in terms of the rank percentile (%) of the architecture performance in NB-201 search space.
259
+
260
+ **The similarity of embeddings.** We explore various cosine similarities between the source task embedding and the simulated target embedding, using _d_ values of 0.3, 0.5, and 0.9 (see Eq. 8). In Table 4, we find that ArchLock-TU exhibits higher transferability reduction as similarity increases from 0.3 to 0.9 (97.56% vs 82.11% for ImageNet-16-120). This is likely because simulating lowsimilarity tasks provides less informative guidance, potentially leading to a search towards less similar target tasks resulting in a lower transferability reduction for the actual target task.
261
+
262
+ ## 6 CONCLUSION
263
+
264
+ This paper presents ArchLock, a cross-task NAS framework aimed at mitigating unauthorized DNN transfer. Our framework focuses on finding an architecture that performs well on the source task but exhibits degraded performance when transferred to a similar target task. To achieve this objective efficiently, we introduce a binary predictor that utilizes 7 zero-cost proxies to save computational costs. Additionally, we simulate the target task embeddings as an input of the predictor. By leveraging metalearning, this predictor can be generalized to unseen tasks, thereby assisting cross-task search with a rank-based fitness score. Extensive experiments conducted on NAS-Bench-201 and TransNAS-Bench101 demonstrate the superiority of our proposed cross-task search schemes, namely ArchLock-TU and ArchLock-TK in transferability reduction compared to state-of-the-art source-only NAS methods.
265
+
266
+ 9
267
+
268
+ ## REFERENCES
269
+
270
+ Mohamed S Abdelfattah, Abhinav Mehrotra, Łukasz Dudziak, and Nicholas Donald Lane. Zero-cost proxies for lightweight nas. In _International Conference on Learning Representations_ , 2021.
271
+
272
+ - Alessandro Achille, Michael Lam, Rahul Tewari, Avinash Ravichandran, Subhransu Maji, Charless C Fowlkes, Stefano Soatto, and Pietro Perona. Task2vec: Task embedding for meta-learning. In _Proceedings of the IEEE/CVF international conference on computer vision_ , pp. 6430–6439, 2019.
273
+
274
+ - James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. _Journal of machine learning research_ , 13(2), 2012.
275
+
276
+ - Wuyang Chen, Xinyu Gong, and Zhangyang Wang. Neural architecture search on imagenet in four gpu hours: A theoretically inspired perspective. In _International Conference on Learning Representations_ .
277
+
278
+ - Mingyu Ding, Yuqi Huo, Haoyu Lu, Linjie Yang, Zhe Wang, Zhiwu Lu, Jingdong Wang, and Ping Luo. Learning versatile neural architectures by propagating network codes. In _International Conference on Learning Representations_ , 2022.
279
+
280
+ - Xuanyi Dong and Yi Yang. Nas-bench-201: Extending the scope of reproducible neural architecture search. In _International Conference on Learning Representations (ICLR)_ , 2020. URL https: //openreview.net/forum?id=HJxyZkBKDr.
281
+
282
+ - Yawen Duan, Xin Chen, Hang Xu, Zewei Chen, Xiaodan Liang, Tong Zhang, and Zhenguo Li. Transnas-bench-101: Improving transferability and generalizability of cross-task neural architecture search. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 5251–5260, 2021.
283
+
284
+ - Lukasz Dudziak, Thomas Chau, Mohamed Abdelfattah, Royson Lee, Hyeji Kim, and Nicholas Lane. Brp-nas: Prediction-based nas using gcns. _Advances in Neural Information Processing Systems_ , 33:10480–10490, 2020.
285
+
286
+ - Thomas Elsken, Benedikt Staffler, Jan Hendrik Metzen, and Frank Hutter. Meta-learning of neural architectures for few-shot learning. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 12365–12375, 2020.
287
+
288
+ - Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In _International conference on machine learning_ , pp. 1126–1135. PMLR, 2017.
289
+
290
+ - Yunhui Guo, Honghui Shi, Abhishek Kumar, Kristen Grauman, Tajana Rosing, and Rogerio Feris. Spottune: transfer learning through adaptive fine-tuning. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 4805–4814, 2019.
291
+
292
+ - Minbin Huang, Zhijian Huang, Changlin Li, Xin Chen, Hang Xu, Zhenguo Li, and Xiaodan Liang. Arch-graph: Acyclic architecture relation predictor for task-transferable neural architecture search. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 11881–11891, 2022.
293
+
294
+ - Junguang Jiang, Yang Shu, Jianmin Wang, and Mingsheng Long. Transferability in deep learning: A survey. _arXiv preprint arXiv:2201.05867_ , 2022.
295
+
296
+ - Simon Kornblith, Jonathon Shlens, and Quoc V Le. Do better imagenet models transfer better? In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 2661–2671, 2019.
297
+
298
+ 10
299
+
300
+ - Arjun Krishnakumar, Colin White, Arber Zela, Renbo Tu, Mahmoud Safari, and Frank Hutter. Nasbench-suite-zero: Accelerating research on zero cost proxies. In _Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track_ , 2022.
301
+
302
+ - Hayeon Lee, Eunyoung Hyung, and Sung Ju Hwang. Rapid neural architecture search by learning to generate graphs from datasets. In _International Conference on Learning Representations_ , 2021a.
303
+
304
+ - Hayeon Lee, Sewoong Lee, Song Chong, and Sung Ju Hwang. Hardware-adaptive efficient latency prediction for nas via meta-learning. _Advances in Neural Information Processing Systems_ , 34: 27016–27028, 2021b.
305
+
306
+ - Jaehoon Lee, Lechao Xiao, Samuel Schoenholz, Yasaman Bahri, Roman Novak, Jascha SohlDickstein, and Jeffrey Pennington. Wide neural networks of any depth evolve as linear models under gradient descent. _Advances in neural information processing systems_ , 32, 2019a.
307
+
308
+ - Namhoon Lee, Thalaiyasingam Ajanthan, and Philip Torr. Snip: Single-shot network pruning based on connection sensitivity. In _International Conference on Learning Representations_ , 2019b.
309
+
310
+ - Ming Lin, Pichao Wang, Zhenhong Sun, Hesen Chen, Xiuyu Sun, Qi Qian, Hao Li, and Rong Jin. Zen-nas: A zero-shot nas for high-performance image recognition. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 347–356, 2021.
311
+
312
+ - Chenxi Liu, Barret Zoph, Maxim Neumann, Jonathon Shlens, Wei Hua, Li-Jia Li, Li Fei-Fei, Alan Yuille, Jonathan Huang, and Kevin Murphy. Progressive neural architecture search. In _Proceedings of the European conference on computer vision (ECCV)_ , pp. 19–34, 2018a.
313
+
314
+ - Hanxiao Liu, Karen Simonyan, and Yiming Yang. Darts: Differentiable architecture search. _arXiv preprint arXiv:1806.09055_ , 2018b.
315
+
316
+ - Vasco Lopes, Saeid Alirezazadeh, and Luís A Alexandre. Epe-nas: Efficient performance estimation without training for neural architecture search. In _Artificial Neural Networks and Machine Learning– ICANN 2021: 30th International Conference on Artificial Neural Networks, Bratislava, Slovakia, September 14–17, 2021, Proceedings, Part V_ , pp. 552–563. Springer, 2021.
317
+
318
+ - Joe Mellor, Jack Turner, Amos Storkey, and Elliot J Crowley. Neural architecture search without training. In _International Conference on Machine Learning_ , pp. 7588–7598. PMLR, 2021.
319
+
320
+ - Xuefei Ning, Changcheng Tang, Wenshuo Li, Zixuan Zhou, Shuang Liang, Huazhong Yang, and Yu Wang. Evaluating efficient performance estimators of neural architectures. _Advances in Neural Information Processing Systems_ , 34:12265–12277, 2021.
321
+
322
+ - Ramakanth Pasunuru and Mohit Bansal. Continual and multi-task architecture search. In _Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics_ , pp. 1911–1922, 2019.
323
+
324
+ - Esteban Real, Alok Aggarwal, Yanping Huang, and Quoc V Le. Regularized evolution for image classifier architecture search. In _Proceedings of the aaai conference on artificial intelligence_ , volume 33, pp. 4780–4789, 2019.
325
+
326
+ - Michael Ruchte, Arber Zela, Julien Siems, Josif Grabocka, and Frank Hutter. Naslib: A modular and flexible neural architecture search library. [URL removed] 2020.
327
+
328
+ - Han Shi, Renjie Pi, Hang Xu, Zhenguo Li, James Kwok, and Tong Zhang. Bridging the gap between sample-based and one-shot neural architecture search with bonas. _Advances in Neural Information Processing Systems_ , 33:1808–1819, 2020.
329
+
330
+ - Jack Turner, Elliot J Crowley, Michael O’Boyle, Amos Storkey, and Gavin Gray. Blockswap: Fisher-guided block substitution for network compression on a budget. 2020.
331
+
332
+ - Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. In _International Conference on Learning Representations_ , 2020.
333
+
334
+ - Lixu Wang, Shichao Xu, Ruiqi Xu, Xiao Wang, and Qi Zhu. Non-transferable learning: A new approach for model ownership verification and applicability authorization. In _International Conference on Learning Representations (ICLR)_ , 2022.
335
+
336
+ 11
337
+
338
+ - Yisen Wang, Xingjun Ma, James Bailey, Jinfeng Yi, Bowen Zhou, and Quanquan Gu. On the convergence and robustness of adversarial training. In _International Conference on Machine Learning_ , pp. 6586–6595. PMLR, 2019.
339
+
340
+ - Colin White, Arber Zela, Robin Ru, Yang Liu, and Frank Hutter. How powerful are performance predictors in neural architecture search? _Advances in Neural Information Processing Systems_ , 34: 28454–28469, 2021.
341
+
342
+ - Junru Wu, Xiyang Dai, Dongdong Chen, Yinpeng Chen, Mengchen Liu, Ye Yu, Zhangyang Wang, Zicheng Liu, Mei Chen, and Lu Yuan. Stronger nas with weaker predictors. _Advances in Neural Information Processing Systems_ , 34:28904–28918, 2021.
343
+
344
+ - Amir R Zamir, Alexander Sax, William Shen, Leonidas J Guibas, Jitendra Malik, and Silvio Savarese. Taskonomy: Disentangling task transfer learning. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 3712–3722, 2018.
345
+
346
+ - Hong-Yu Zhou, Chixiang Lu, Sibei Yang, and Yizhou Yu. Convnets vs. transformers: Whose visual representations are more transferable? In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 2230–2238, 2021.
347
+
348
+ - Tong Zhou, Shaolei Ren, and Xiaolin Xu. Obfunas: A neural architecture search-based dnn obfuscation approach. In _Proceedings of the 41st IEEE/ACM International Conference on Computer-Aided Design_ , pp. 1–9, 2022.
349
+
350
+ - Barret Zoph and Quoc V Le. Neural architecture search with reinforcement learning. _5th International Conference on Learning Representations (ICLR)_ , 2017.
351
+
352
+ 12
353
+
354
+ ## A DERIVATION IN TASK EMBEDDING
355
+
356
+ Given the source task embedding **z** _S_ , we first generate a vector _ei_ that is orthogonal to **z** _S_ , which can be obtained via Gram–Schmidt process.
357
+
358
+ To satisfy the desired cosine similarity _d_ , i.e.,
359
+
360
+ **==> picture [257 x 11] intentionally omitted <==**
361
+
362
+ where we use _Scos_ to denote cosine similarity and _θ_ is corresponding angle. Here we set the norm of the target task embedding the same as **z** _S_ , so we will have:
363
+
364
+ **==> picture [276 x 11] intentionally omitted <==**
365
+
366
+ According to Eq. (6), we also have _θ_ = arccos( _d_ ). Therefore. Eq. (7) can be expressed as:
367
+
368
+ **==> picture [283 x 11] intentionally omitted <==**
369
+
370
+ ## B DETAILS OF ZERO-PROXY
371
+
372
+ In ArchLock, we utilize zero-cost proxies (ZCPs) obtained from the NAS-Bench-Suite-Zero tool Ruchte et al. (2020). This tool assesses the performance of various ZCPs, and we specifically focus on data-dependent ZCPs since we believe that architectural performance could vary depending on the data involved. The data-dependent ZCPs consider data/tasks to compute scores but do not update the gradient for weight optimization.
373
+
374
+ The NAS-Bench-Suite-Zero tool provides a total of 9 data-dependent ZCPs. We select 7 out of these 9, namely fisher Turner et al. (2020), flops Ning et al. (2021), grad-norm Abdelfattah et al. (2021), grasp Wang et al. (2020), jacov Mellor et al. (2021), nwot Mellor et al. (2021), and snip Lee et al. (2019b). Two ZCPs, namely epe-nas Lopes et al. (2021) and plain Ning et al. (2021), are excluded from our selection.
375
+
376
+ We exclude epe-nas because it is designed specifically for the classification task. As for plain, it exhibits the lowest Spearman rank correlation coefficient with validation accuracies among the 9 ZCPs. Furthermore, extensive experiments conducted in Krishnakumar et al. (2022) demonstrate that including more than 6-8 ZCPs only leads to marginal improvements. Therefore, we consider the inclusion of 7 ZCPs to be sufficient for our purposes.
377
+
378
+ The technique of each ZCP is briefly described below:
379
+
380
+ - fisher: It computes the sum of gradients of the activations in the network.
381
+
382
+ - flops: It measures the number of floating-point operations (flops) required to process an input through the network. It provides an estimate of computational complexity.
383
+
384
+ - grad-norm: It calculates the sum of Euclidean norms of gradients.
385
+
386
+ - grasp: It approximates the change in gradient norm.
387
+
388
+ - jacov: It measures the covariance of prediction Jacobian matrices across a minibatch of data. It captures the relationship between predictions and their gradients.
389
+
390
+ - nwot: It examines the overlap of activations between data in a mini-batch for an untrained network.
391
+
392
+ - :snip: It estimates the change in the loss function.
393
+
394
+ It is important to note that while not all of these metrics were initially introduced as ZCPs, they have been later utilized in the field of NAS to assess architecture performance without the need for extensive training. These metrics have been demonstrated effective in providing reliable estimations of performance.
395
+
396
+ 13
397
+
398
+ C IMPLEMENTATION OF FUNCTIONS IN CROSS-TASK SEARCH
399
+
400
+ ## **Algorithm 2** Binary Predictor with Sorting Algorithm
401
+
402
+ 1: **function** BPWSORT( _popu, P,_ **z** _S ,_ **z** _Ti_ )
403
+
404
+ 2: Zero-initialize matrix _comps_ and _compt_ of shape [ _len_ ( _popu_ ) _, len_ ( _popu_ )] 3: **for** _a, b ∈ range_ ( _len_ ( _popu_ )) with _b > a_ **do** 4: Encode _archa, archb → arch_ pair_ 5: _pa, pb ← P_ ( _arch_ pair,_ **z** _S_ ) 6: **if** _pa > pb_ **then** 7: _comp_ s_ [ _a, b_ ] _←_ 1 8: **else** 9: _comp_ s_ [ _b, a_ ] _←_ 1 10: **end if** 11: **for** each **z** _Ti_ **do** 12: _pa, pb ← P_ ( _arch_ pair,_ **z** _Ti_ ) 13: **if** _pa > pb_ **then** 14: _comp_ t_ [ _a, b_ ] += 1 15: **else** 16: _comp_ t_ [ _b, a_ ] += 1 17: **end if** 18: **end for** 19: **end for** 20: _sums ←_ Sum _comps_ along dimension 0 21: _Srank ←_ Get the index of elements of _sums_ in descending order 22: _sumt ←_ Sum _compt_ along dimension 0 23: _Trank ←_ Get the index of elements of _sumt_ in descending order 24: **return** _Srank, Trank_
405
+
406
+ 25: **end function**
407
+
408
+ **Algorithm 3** Update History in cross-task search
409
+
410
+ 1: **procedure** UPDATEHISTORY( _history, arch, P,_ **z** _S ,_ **z** _Ti_ ) 2: _history_ .append( _arch_ ) 3: **if** _len_ ( _history_ ) _> k_ **then** 4: _Srank, Trank ←_ BPwSort( _history, P,_ **z** _S ,_ **z** _Ti_ ) 5: Calculate fitness score f for each _arch ∈ history_ 6: _history ←_ top- _k arch_ s with highest f in _history_ 7: **end if**
411
+
412
+ 8: **end procedure**
413
+
414
+ ## D NAS-BENCH-201
415
+
416
+ The performance of different task pairs in NAS-Bench-201 can be observed in Fig. 4. From the figure, it is evident that there is a relatively high correlation between CIFAR-10 and CIFAR-100, indicating that architectures that perform well on CIFAR-10 tend to also perform well on CIFAR-100. However, the correlation between CIFAR-100 and ImageNet-16-120 is lower. Indeed, the absence of a perfect positive correlation between task pairs in NAS-Bench-201 suggests that the architectural choices yielding optimal performance on one task may not translate to the best performance on another task. This observation indicates that there is room for exploration and development of secure architectures that can effectively defend against malicious transfer attacks.
417
+
418
+ 14
419
+
420
+ **==> picture [302 x 290] intentionally omitted <==**
421
+
422
+ **----- Start of picture text -----**<br>
423
+ CIFAR-10 CIFAR-100 ImageNet-16-120<br>ImageNet-16-120 CIFAR-100 CIFAR-10<br>**----- End of picture text -----**<br>
424
+
425
+ Figure 4: The correlation of each task pair in NAS-Bench-201.
426
+
427
+ ## E TRANSNAS-BENCH-101
428
+
429
+ The correlation of each task pair in TransNAS-Bench-101 is shown in Fig. 5, where Acc. denotes accuracy and Neg. denotes negative. Here we use the negative loss for RL to be consistent with other metrics, i.e., the higher value indicates better performance. Compared to NAS-Bench-101, the task pair in this benchmark shows a relatively lower correlation, which indicates the transferability of an architecture varies when the task changes. By leveraging the understanding that architectures may perform differently across various tasks, we can focus on designing models that only excel in their source tasks but also possess robustness and resilience against unauthorized transfer. This opens up opportunities for research and innovation in creating architectures that prioritize security and can withstand attempts to extract and transfer their knowledge maliciously.
430
+
431
+ 15
432
+
433
+ **==> picture [392 x 329] intentionally omitted <==**
434
+
435
+ **----- Start of picture text -----**<br>
436
+ SC (Acc. %) OC (Acc. %) RL (Neg. Loss) JS (Acc. %) SS (Acc. %) SN (SSIM) AE (SSIM)<br>SC (Acc. %)<br>OC (Acc. %)<br>RL (Neg. Loss)<br>AE (SSIM) SN (SSIM) SS (Acc. %) JS (Acc. %)<br>**----- End of picture text -----**<br>
437
+
438
+ Figure 5: The correlation of each task pair in TransNAS-Bench-101.
439
+
440
+ 16
441
+
open_review/iclr2024_8805.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8805",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "A Quadratic Synchronization Rule for Distributed Deep Learning",
6
+ "abstract": "In distributed deep learning with data parallelism, synchronizing gradients at each training step can cause a huge communication overhead, especially when many nodes work together to train large models.\n Local gradient methods, such as Local SGD, address this issue by allowing workers to compute locally for $H$ steps without synchronizing with others, hence reducing communication frequency.\n While $H$ has been viewed as a hyperparameter to trade optimization efficiency for communication cost, recent research indicates that setting a proper $H$ value can lead to generalization improvement. Yet, selecting a proper $H$ is elusive. This work proposes a theory-grounded method for determining $H$, named the Quadratic Synchronization Rule (QSR), which recommends dynamically setting $H$ in proportion to $\\frac{1}{\\eta^2}$ as the learning rate $\\eta$ decays over time.\n Extensive ImageNet experiments on ResNet and ViT show that local gradient methods with QSR consistently improve the test accuracy over other synchronization strategies. Compared to the standard data parallel training, QSR enables Local AdamW to cut the training time on 16 or 64 GPUs down from 26.7 to 20.2 hours or from 8.6 to 5.5 hours and, at the same time, achieves 1.16% or 0.84% higher top-1 validation accuracy.",
7
+ "rebuttal": "### Note on major revisions\nWe sincerely thank all reviewers for their helpful feedback! Following the reviewers’ suggestions, we have made the revisions listed below:\n- In Table 1, we reported the validation accuracy and train loss averaged over 3 runs, along with the standard deviation.\n- We added Figure 5 to visualize the $H$ schedule for QSR.\n- In Appendix B, we presented the pseudocode for standard data parallel methods. \n- In Appendix E, we added a proof outline and two preliminary Lemmas. We also enhanced the proof for Lemma E.2 and Theorem 3.1 with more details.\n- In Appendix F, we presented the details for communication time measurement. \n- In Appendix G, we explored the scaling $H\\sim \\eta^{-3}$.\n- In Appendix H, we presented experiments on a slightly modified Stochastic Weight Averaging in Parallel (SWAP) algorithm.\n\n### Response to Reviewer duf3\nWe sincerely thank the reviewer for the positive and insightful feedback on our paper. We are glad the reviewer found the proposed synchronization rule effective and supported by solid theoretical analysis and comprehensive experiments.\n\nWe thank the reviewer again for the review and appreciation of our paper.\n\n### Response to Reviewer tFqJ (1/2)\nWe sincerely thank the reviewer for acknowledging our experimental results as promising and our theory as intuitive. Below we address the reviewer’s concerns and questions one by one.\n\n**Concern 1**: No confidence intervals in experiments.\n\n**A**: We have repeated our main experiments and updated Table 1. We are unable to repeat all experiments due to high training costs (~20 hours for a single run on 16 NVIDIA GeForce RTX 3090 GPUs), but the improvement is consistent across different settings (Tables 2 and 3, Figures 2 and 3).\n\n**Concern 2**: No visualizati [...]\n\n### Response to Reviewer tFqJ (2/2)\n**Question**: A network speed of 25Gbps is used for the experiments. Would your algorithm still help in HPC settings where fast communications can happen over 100 Gbps Infiniband ?\n\n**A**: The communication time is expected to be 1/4 of that reported in Table 4 as the bandwidth is increased to 4 times. However, we do not know the exact speedup for our experiments over 100 Gbps Infiniband since we do not have access to such a network. \n\nWe thank the reviewer again for the helpful feedback. We hope that we have addressed the key concerns of the reviewer. If s [...]\n\n### Response to Reviewer u85z\nWe sincerely thank the reviewer for the positive and constructive feedback. Below we address the reviewer’s questions.\n\n**Q1**: How does QSR perform in NLP tasks with transformer architectures?\n\n**A**: Thank you for your suggestion on exploring QSR on NLP tasks. As discussed in Section 5, local gradient methods may have the potential to improve the transferability from pretraining to downstream tasks in NLP. However, given that the large-scale experiments on vision tasks are already costly and time-consuming (~20 hours for a single run), we leave the exploration o [...]\n\n### Response to Reviewer ydD5 (Clarification of Misunderstandings)\nWe sincerely thank the reviewer for the time and effort in reviewing our paper. However, in the first place, we would like to respectfully point out the misunderstandings the reviewer may have regarding our paper.\n\n**M1: The reviewer confuses optimization with generalization, leading to a misunderstanding of (1) how QSR works and (2) our theoretical results.**\n\n1. The reviewer summarizes one of our strengths as “The concept presented is intuitive—convergence can be improved by dynamically tuning H the number of steps of local u [...]\n\n### Response to Reviewer ydD5 (Concerns & Questions, 1/3)\nWe believe many of the reviewer’s concerns are due to the above misunderstandings, and we hope the above clarification can help the reviewer understand our paper better. In the following, we address the reviewer’s other concerns and questions.\n\n**W1 (1)**: The motivation for finding 'H’ given a learning rate schedule is questionable. Solely determining H given the learning rate schedule, yet without asking about what the optimal learning rate is, is a less valuable question. What the optimal dynamic learning rate schedule is under a giv [...]\n\n### Response to Reviewer ydD5 (Concerns & Questions, 2/3)\n**W4**: The theoretical analysis and proof overlap too much with previous work [1].\n\n**A**: We respectfully disagree with the above comments. The analysis in [1] cannot handle the case where $H \\sim \\eta^{-2}]$, but our theoretical result can. Specifically, their analysis depends on the condition $H\\eta=O(1)$, and many bounds therein explode as $H\\eta \\to \\infty$, e.g., Theorem 3.3, Lemmas I.14 and I.16. In the context of QSR, where $H\\eta=\\frac{\\alpha^2}{\\eta}$ goes to infinity as $\\eta$ approaches $0$, the condition $H\\eta=O(1)$ is vi [...]\n\n### Response to Reviewer ydD5 (Concerns & Questions, 3/3)\n**Q2**: The proof provided for Lemma E.2 appears to be too succinct. Furthermore, in Lemma E.2, it is stated that 'we can apply the Itô-Taylor expansion from Lemma B.7 of Malladi et al. (2022) to derive (16), (17), and (18).' Is there a typo in this reference to equations? I suspect you meant to refer to equations (11), (12), and (13). Also, could you please elucidate how you derived equations (11), (12), and (13)?\n\n**A**: We thank the reviewer for pointing out the typo; we have corrected it in the updated version. As stated in the proo [...]\n\n### Response to Reviewer ydD5 (References)\n[1] Xinran Gu, Kaifeng Lyu, Longbo Huang, and Sanjeev Arora. Why (and when) does local SGD generalize better than SGD? In The Eleventh International Conference on Learning Representations, 2023.\n\n[2] 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, pp. 10012–10022, 2021.\n\n[3] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Fe\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 8,
10
+ 6,
11
+ 5,
12
+ 8
13
+ ],
14
+ "score_mean": 6.75,
15
+ "score_variance": 2.25,
16
+ "score_spread": 3,
17
+ "score_min": 5,
18
+ "score_max": 8,
19
+ "decision": "Accept (poster)",
20
+ "rebuttal_validity_ground_truth": true,
21
+ "meta_review": "The paper proposes a new rule for choose how often local gradient descent should communicate. The rule is supported both by simulations, showing improved generalization with fewer communications, as well as by some theory. The theory here seems to be based on setting parameters to make a certain \"slow SDE\" approximation work. The results are interesting and the general consensus of the reviewers favors publication.",
22
+ "forum_id": "yroyhkhWS6",
23
+ "primary_area": "optimization",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_u85z",
28
+ "review_id": "pxzpK4TCH8",
29
+ "scores": {
30
+ "rating": 8,
31
+ "soundness": 3,
32
+ "presentation": 3,
33
+ "contribution": 3,
34
+ "confidence": 3
35
+ },
36
+ "review_text_chars": 1792,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 771991,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_tFqJ",
44
+ "review_id": "sa2zG2B1uy",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 3,
48
+ "presentation": 2,
49
+ "contribution": 3,
50
+ "confidence": 3
51
+ },
52
+ "review_text_chars": 4201,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 1881436,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_ydD5",
60
+ "review_id": "48q2Cv7Jka",
61
+ "scores": {
62
+ "rating": 5,
63
+ "soundness": 2,
64
+ "presentation": 2,
65
+ "contribution": 2,
66
+ "confidence": 4
67
+ },
68
+ "review_text_chars": 6600,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 2003037,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_duf3",
76
+ "review_id": "yZ1HLLU2YC",
77
+ "scores": {
78
+ "rating": 8,
79
+ "soundness": 3,
80
+ "presentation": 3,
81
+ "contribution": 3,
82
+ "confidence": 2
83
+ },
84
+ "review_text_chars": 943,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 907688,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8805.md ADDED
The diff for this file is too large to render. See raw diff
 
open_review/iclr2024_8809.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8809",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "SKILL-MIX: a Flexible and Expandable Family of Evaluations for AI Models",
6
+ "abstract": "With LLMs shifting their role from statistical modeling of language to serving as general-purpose AI agents, how should LLM evaluations change? Arguably, a key ability of an AI agent is to flexibly combine, as needed, the basic skills it has learned. The capability to combine skills plays an important role in (human) pedagogy and also in a paper on emergence phenomena (Arora & Goyal, 2023).\n\nThis work introduces SKILL-MIX, a new evaluation to measure ability to combine skills. Using a list of $N$ skills the evaluator repeatedly picks random subsets of $k$ skills and asks the LLM to produce text combining that subset of skills. Since the number of subsets grows like $N^k$, for even modest $k$ this evaluation will, with high probability, require the LLM to produce text significantly different from any text in the training set. \nThe paper develops a methodology for (a) designing and administering such an evaluation, and (b) automatic grading (plus spot-checking by humans) of the results using GPT-4 as well as the open LLaMA-2 70B model. \n\nAdministering a version of SKILL-MIX to popular chatbots gave results that, while generally in line with prior expectations, contained surprises. Sizeable differences exist among model capabilities that are not captured by their ranking on popular LLM leaderboards (\"cramming for the leaderboard\"). Furthermore, simple probability calculations indicate that GPT-4's reasonable performance on $k=5$ is suggestive of going beyond \"stochastic parrot\" behavior (Bender et al., 2021), i.e., it combines skills in ways that it had not seen during training.\n\nWe sketch how the methodology can lead to a SKILL-MIX based eco-system of open evaluations for AI capabilities of future models. We maintain a leaderboard of SKILL-MIX at [https://skill-mix.github.io](https://skill-mix.github.io).",
7
+ "rebuttal": "**Below, we address the other concerns brought up.**\n\n> One minor issue is that I don’t think the models picked necessarily need to be instruction-finetuned as regular, non-instruction finetuned language models are still able to follow instructions in the prompt. In fact, given that some recent work has demonstrated that instruction-finetuning on smaller models reduces their ability to produce as diverse of a response distribution, it could artificially hurt the performance of the selected open-source models in evaluation due to the selected topics occurring with a Google n-gram probability of ~1e-6 and them likely being fine-tuned on a much smaller dataset that may not include the selected topics/skills.\n\nWe agree that the instruction following can work reasonably for many tasks in the base models. But Skill-Mix is more complicated. Despite multiple attempts we were unable to get any reasonable performance on non-instruction tuned models, especially small 7B models. We would welcome any suggestions (e.g., prompting strategies)! \n\n> What is the variance among the automatically graded scores? It is stated that human variance is higher than the automatic ones, but neither seem to be presented anywhere.\n\nThe standard deviation of GPT-4 grading is 0.050 (averaged across all points), which is much smaller than 0.261, the standard deviation of human grading as reported in Appendix B. The standard deviation of LLaMA-2 grading is 0.105, meaning it is noisier than GPT-4, but still much more stable than human grading. \n\n> The analysis of Skill-Mix vs other benchmarks could be more comprehensive — it would be interesting to see correlation scores against other benchmarks to see how skill-mix differs overall wrt individual LLM rankings.\n\nWe agree with the reviewers that this would be ideal. However, none of the benchmarks have included all the models we tested, making it hard to compute the correlation. We find the ordering of the GPT family and the LLaMA family on Skill-Mix to be consistent with the ordering on other benchmarks. For ordering including newer models, we have pointed out all noticeable inversions in the paper. \n\n\n> Writing + Clarity + Motivation:\n\nWe thank the reviewer for their constructive comments, and have made appropriate changes in the revision (e.g., bolding on the best performing model; for this point in particular, we also include figures in the appendix to help visually assess how well models perform against each other for each metric). \n\nWe apologize for the confusion with respect to the motivation, please see our general response, **Q3**.\n\n> Can the authors explain the derivation of the high probability statement for O(TlogT + NlogN) ? Intuitively, it’s quite surprising given “random prompts” to expose these low-probability skills and their topics.\n\nWe apologize for the confusion. Here we are referring to a dataset that follows Skill-Mix, that is, the random prompts are sampled by uniformly picking $k$ skills out of $N$ total skills, and 1 topic out of $T$ total topics. Thus, each prompt reveals $k$ random skills and 1 random topic. By basic probability calculations, $O(T\\log T+N\\log N)$ random prompts should reveal all $N$ skills and $T$ topics with high probability even when $k=2$.\n\n> Intro: Why is a specific opinion from Hinton used as motivation for desiderata for the authors’ benchmark? \n\nWe apologize for the confusion and have revised wording to following: “(d) capable of producing novel text generations corresponding to a mix of skills and a topic that it did not see in the training corpus.” The ``stochastic parrots’’ question (Bender et al., 2021)” has of course been debated for a few years. We cited the more recent (Hinton & Ng’23) conversation because Hinton emphasized that disagreements about this issue among experts is hindering a full discussion of AI safety. We would be happy to cite other sources if the reviewer has suggestions!\n\n> Tables: some sort of bolding on the best performing across each category for each k would be really helpful\n\nWe thank the reviewer for pointing this out, and in our revision, we have included bolded numbers in Tables wherever appropriate!\n\n**We thank the reviewer for the helpful and insightful comments! Please see our general response above and our responses to the reviewer’s main concern below:**\n\n\n> Skill picking: Section 3.1 (and the appendix) describe how the authors pick the skills by hand based on textbooks on logical reasoning, rhetoric, and theory of mind. But what is the justification for using these types of skills? For example, i’m sure there are many skills not related to any of those topics which still require some sort of intelligent capability to combine meaningfully. The authors should explain this better.\n\nWe ap [...]\n\n**We thank the reviewer for the helpful and insightful comments! Please see our general response above and our responses to the reviewer’s main concerns below:**\n\n> I'd love to get some suggestion on how this framework can be extended beyond language to Vision - Language Models.\n\nWe sketch an example of how to extend Skill-Mix to evaluate vision-language models below:\n\n- The set of skills can include both vision skills (e.g., object recognition, object generation, 3D reconstruction, spatial relation between objects) and language/reasoning skills (e.g., description of the scene, object interact [...]\n\nWe thank the reviewer for the helpful and insightful comments! Please see our general response above and our responses to the reviewer’s main concerns below:\n\n> lack of IRB or ethics approval\n\nWe thank the reviewer for bringing up this point. The human graders were carrying out research too and we understand IRB is not required in such cases. The final version will fully explain this status. \n\n> the paper doesn't make it clear … how these 7 desiderata are related to the 3 pressing issues with current evaluation methods.\n\nPlease see our response to all reviews, **Q1**. \n\n> no reason to believe [...]\n\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 6,
10
+ 8,
11
+ 5
12
+ ],
13
+ "score_mean": 6.33,
14
+ "score_variance": 2.33,
15
+ "score_spread": 3,
16
+ "score_min": 5,
17
+ "score_max": 8,
18
+ "decision": "Accept (poster)",
19
+ "rebuttal_validity_ground_truth": true,
20
+ "meta_review": "The basic idea here is to evaluate LLMs with a mostly-secret set of \"skills\" that can be recombined. The recombination means that we get a very large set of potential tests, making it very impractical to train on the test set even if it was available. The paper is well reasoned and interesting throughout.\n\nThe results are very interesting and might be worth the price of admission, I mean acceptance, on their own. They constitute fairly strong evidence that we are seeing Goodhart's law in action, where the benchmarks have been using as optimization targets to overall detrimental effect. Not releasing all of the skills publicly is a somewhat controversial decision, but there's a good motivation.",
21
+ "forum_id": "Jf5gplvglq",
22
+ "primary_area": "datasets and benchmarks",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_YRGK",
27
+ "review_id": "n3zYtCsa5g",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 2,
31
+ "presentation": 3,
32
+ "contribution": 2,
33
+ "confidence": 3
34
+ },
35
+ "review_text_chars": 5634,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 1527869,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_NFpe",
43
+ "review_id": "5wo8VwaXg4",
44
+ "scores": {
45
+ "rating": 8,
46
+ "soundness": 4,
47
+ "presentation": 4,
48
+ "contribution": 3,
49
+ "confidence": 4
50
+ },
51
+ "review_text_chars": 2433,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 905214,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_VgUg",
59
+ "review_id": "5MBDIMQC2q",
60
+ "scores": {
61
+ "rating": 5,
62
+ "soundness": 3,
63
+ "presentation": 2,
64
+ "contribution": 3,
65
+ "confidence": 3
66
+ },
67
+ "review_text_chars": 5208,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 1445762,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8809.md ADDED
The diff for this file is too large to render. See raw diff
 
open_review/iclr2024_8811.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8811",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Nuisance-Robust Weighting Network for End-to-End Causal Effect Estimation",
6
+ "abstract": "We combine the two major approaches to causal inference: the conventional statistical approach based on weighting and the end-to-end learning with adversarial networks.\nCausal inference concerns the expected loss in a distribution different from the training distribution due to intervening on the input variables.\nRecently, the representation balancing approach with neural networks has repeatedly demonstrated superior performance for complex problems, owing to its end-to-end modeling by adversarial formulation.\nHowever, some recent work has shown that the limitation lies in the unrealistic theoretical assumption of the invertibility of the representation extractor.\nThis inherent difficulty stems from the fact that the representation-level discrepancy in representation balancing accounts only for the uncertainty of the later layers than the representation, i.e., the hypothesis layers and the loss.\nTherefore, we shed light once again on the conventional weighting-based approach, retaining the spirit of end-to-end learning.\nMost conventional statistical methods are based on inverse probability weighting using propensity scores, which involves nuisance estimation of propensity as an intermediate step.\nThey often suffer from inaccurate estimation of the propensity scores and instability due to large weights.\nOne might be tempted to jointly optimize the nuisance and the target, though it may lead to an optimistic evaluation, e.g., avoiding noisy instances by weighting less when noise levels are heterogeneous.\nIn this paper, we propose a simple method that amalgamates the strengths of both approaches: adversarial joint optimization of the nuisance and the target.\nOur formulation follows the pessimistic evaluation principle in offline reinforcement learning, which brings provable robustness to the estimation uncertainty of the nuisance and the instability due to extreme weights.\nOur method performed consistently well under challenging settings with heterogeneous noise. Our code is available online: https://anonymous.4open.science/r/NuNet-002A .",
7
+ "rebuttal": "## Q3. it is not complete and certain phrases are not defined \"uncertainty does not differ\" and \"not taking care\". Which uncertainty?\n\nIn our revised manuscript, we wrote\n\n> Although $f_0$ and $f_1$ are also nuisance parameters, the uncertainty of them do not differ among the target parameter space, thus we need not take care.\n> Excluding the error correction term in (8), a disturbance ($\\Delta f_0, \\Delta f_1$) can be absorbed by translation $\\tau \\leftarrow \\tau + \\Delta f_1 - \\Delta f_0$.\n\nThe uncertainty we meant was the one that is induced to the target loss $L$ by $f_0,f_1$.\nThe pessimistic (worst-case) loss surface leads to a different solution from the original (non-pessimistic) loss only when the uncertainty (confidence interval in $L$) differs among the hypotheses (if not, it would be meaningless as $\\arg \\min_h \\max_{c \\in [-1,1]} L(h) + c = \\arg \\min_h L(h)$).\nSimilarly, the essential part of the loss would be like following.\nConsider a scalar case and let $t = f_1 - f_0$ be the target. Then, \n$$\\arg \\min_\\tau \\max_{\\Delta t \\in [-1, 1]} (t + \\Delta t - \\tau)^2 = \\arg \\min_\\tau (t - \\tau)^2$$\ndue to the convexity and isotropy of $(t - \\tau)^2$ on $\\tau$.\nIt does not exactly reproduce the situation in our setting, but we do not consider disturbing $f_0$ and $f_1$ meaningful for essentially the same reason.\n\nThe other reason is that unlike propensity scores, where it makes sense (in the sense of equation (3)) to avoid extreme weights at the expense of accuracy for $p(t|x)$, there is no positive advantage to moving them significantly from the pre-trained $f_1, f_0$.\nPlease also refer to the response for Q3 of Reviewer S5uy.\n\n## Additional results\n\nWe additionally compared SNet3 with reweighting with the same hyperparameter setting as SNet3.\n\n* Additive noise setting\n| Method | N=500 | 1000 | 2000 | 5000 | 10000 | 20000 |\n|------------|-------------------|-------------------|-------------------|-------------------|-------------------|-------------------|\n|SNet3\t| 13.10 ±0.65 \t| 7.73 ± 0.34 \t| 3.85 ± 0.11 \t| 1.54 ± 0.05 \t| 0.99 ± 0.02 \t| 0.62 ± 0.01 |\n|SNet3 w/ reweighting\t| 61.47 ± 2.78 | 63.13 ± 2.32\t| 63.79 ± 2.27\t| 69.28 ± 1.30\t| 72.20 ± 1.82\t| 74.67 ± 1.89 |\n|DRNet |16.56 ± 0.75 |11.58 ± 0.66 | 3.91 ± 0.14 | 1.45 ± 0.04 | 1.14 ± 0.11 | 0.66 ± 0.03 |\n|NuNet (proposed) |15.78 ± 0.69 |11.43 ± 0.48 | 4.02 ± 0.09 | 1.52 ± 0.07 | 0.86 ± 0.01 | 0.54 ± 0.01 |\n\n* Multiplicative noise setting\n| Method | N=500 | 1000 | 2000 | 5000 | 10000 | 20000 |\n|------------|-------------------|-------------------|-------------------|-------------------|-------------------|-------------------|\n|SNet3\t|17.83 ± 0.94\t| 15.44 ± 0.65\t| 11.12 ± 0.36\t| 5.71 ± 0.25\t| 3.61 ± 0.14\t| 2.46 ± 0.09 |\n|SNet3 w/ reweighting\t| 60.87 ± 2.58\t| 61.92 ± 2.04\t| 64.04 ± 1.93 \t| 67.63 ± 0.80\t| 70.63 ± 1.73 |\t74.21 ± 1.60 |\n|DRNet |19.96 ± 1.01 |15.34 ± 0.75 | 9.93 ± 0.40 | 4.80 ± 0.21 | 3.20 ± 0.24 | 1.83 ± 0.10 |\n|NuNet (proposed) |19.96 ± 1.20 |15.54 ± 0.57 | 9.83 ± 0.45 | 4.67 ± 0.32 | 2.44 ± 0.09 | 1.50 ± 0.06 |\n\nWe hope our response clears your concerns.\n\n## W1. related work missing\n\n> * (Shi et al., 2019) Adapting Neural Networks for the Estimation of Treatment Effects, https://arxiv.org/abs/1906.02120\n> * (Chernozhukov et al., 2022) RieszNet and ForestRiesz: Automatic Debiased Machine Learning with Neural Nets and Random Forests https://arxiv.org/abs/2110.03031\n\nWe have added (Shi et al., 2019) in our revision as you mentioned.\nThe other one (Chernozhukov et al., 2022) is a similar approach based on Neyman orthogonality and (cooperative) joint optimization.\nThese approaches share the same difficulties when considering their application to our [...]\n\nWe hope this message finds you well. We are writing to follow up on the rebuttal we submitted. We are keen to know if our rebuttal has adequately addressed your concerns.\n\nIf our response has been satisfactory, we would greatly appreciate it if you could update the review status accordingly. If there are any further questions or additional clarification needed, please feel free to let us know. We welcome any additional feedback that can help improve our work.\n\n## Q5. I suspect that there might be possible overlap violations in the simulated data. I could imagine that the proposed method offers some advantages in dealing with overlap violations\n\nThank you for presenting a suggestive hypothesis for overlap violation.\nThis seems to have substantially in common with our hypothesis.\nIn a literal sense, our data generation process satisfies the overlap assumption (Appendix C1).\nOn the other hand, it may be very close to that (as is the case with real data), and the true density ratio (and thus the true weight) is to be very large.\nIn this situation, as no [...]\n\nDear reviewer KLj8, many thanks for your positive feedback and for concerning the empirical comparison.\n\n## Q1. Considerable difference between the results of NuNet and SNet (best performing) pertaining to PEHE on the additive noise dataset.\n\nCompared to SNet, our base model DRNet is also outpaced in the AN setting (NuNet generally outperforms DRNet).\nSNet has a special network architecture designed for CATE estimation (shared representation for $f$s and $\\mu$), which may serve as an effective inductive bias.\nThe exploration of architecture is an important aspect that is orthogonal to our consi [...]\n\nDear reviewer S5uy, we appreciate your detailed feedback. We understand the concerns and hope to address them below.\n\n## Q1. The proposed method already uses the Neyman orthogonal loss of the DR learner which makes the adversarial approach of optimizing for a pessimistic propensity scor\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 5,
10
+ 5,
11
+ 8
12
+ ],
13
+ "score_mean": 6.0,
14
+ "score_variance": 3,
15
+ "score_spread": 3,
16
+ "score_min": 5,
17
+ "score_max": 8,
18
+ "decision": "Reject",
19
+ "rebuttal_validity_ground_truth": null,
20
+ "meta_review": "This paper tries to push weighting schemes to improve them relative to representation balancing approaches for causal inference. While the question was seen as interesting to reviewers and CATE estimation an important question, the main issue was how this work fits in with the relatively large literature on CATE estimation that considers nuisance functions. Both of the negative reviewers updated their reviews after the author response and updated pdf, one raised their score. Yet after the update, there were still questions about where the proposed approach would have value with respect to existing work. See the post rebuttal from (reviewer S5uy).\n\nI asked the positive reviewer if they felt strongly. They said the agree with the two more negative reviewers major concerns, so did not care to adhere to the initial positive evaluation.",
21
+ "forum_id": "TC9r8gsaoh",
22
+ "primary_area": "causal reasoning",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_DQuR",
27
+ "review_id": "2rnYTzlmLv",
28
+ "scores": {
29
+ "rating": 5,
30
+ "soundness": 3,
31
+ "presentation": 2,
32
+ "contribution": 2,
33
+ "confidence": 3
34
+ },
35
+ "review_text_chars": 2806,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 182,
38
+ "post_rebuttal_text_signal": true,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_S5uy",
43
+ "review_id": "WVO73ovz82",
44
+ "scores": {
45
+ "rating": 5,
46
+ "soundness": 2,
47
+ "presentation": 3,
48
+ "contribution": 2,
49
+ "confidence": 4
50
+ },
51
+ "review_text_chars": 5587,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 1620770,
54
+ "post_rebuttal_text_signal": true,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_KLj8",
59
+ "review_id": "fO5tgl1BP7",
60
+ "scores": {
61
+ "rating": 8,
62
+ "soundness": 3,
63
+ "presentation": 3,
64
+ "contribution": 4,
65
+ "confidence": 2
66
+ },
67
+ "review_text_chars": 2379,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 564253,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": true,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8811.md ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## NUISANCE-ROBUST WEIGHTING NETWORK - FOR END TO-END CAUSAL EFFECT ESTIMATION
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ We combine the two major approaches to causal inference: the conventional statistical approach based on weighting and the end-to-end learning with adversarial networks. Causal inference concerns the expected loss in a distribution different from the training distribution due to intervening on the input variables. Recently, the representation balancing approach with neural networks has repeatedly demonstrated superior performance for complex problems, owing to its end-toend modeling by adversarial formulation. However, some recent work has shown that the limitation lies in the unrealistic theoretical assumption of the invertibility of the representation extractor. This inherent difficulty stems from the fact that the representation-level discrepancy in representation balancing accounts only for the uncertainty of the later layers than the representation, i.e., the hypothesis layers and the loss. Therefore, we shed light once again on the conventional weightingbased approach, retaining the spirit of end-to-end learning. Most conventional statistical methods are based on inverse probability weighting using propensity scores, which involves nuisance estimation of propensity as an intermediate step. They often suffer from inaccurate estimation of the propensity scores and instability due to large weights. One might be tempted to jointly optimize the nuisance and the target, though it may lead to an optimistic evaluation, e.g., avoiding noisy instances by weighting less when noise levels are heterogeneous. In this paper, we propose a simple method that amalgamates the strengths of both approaches: adversarial joint optimization of the nuisance and the target. Our formulation follows the pessimistic evaluation principle in offline reinforcement learning, which brings provable robustness to the estimation uncertainty of the nuisance and the instability due to extreme weights. Our method performed consistently well under challenging settings with heterogeneous noise. Our code is available online: [URL removed]
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Causal inference enables us to assess a treatment action’s impact on the decision-making process under uncertainty. Its application originated in the policy-making field (LaLonde, 1986) including healthcare (Sanchez et al., 2022). Recently, the focus was expanded to individualized decisionmaking such as precision medicine (Sanchez et al., 2022), recommendation (Schnabel et al., 2016; Bonner and Vasile, 2018), and advertisement (Sun et al., 2015; Wang et al., 2015) with the help of advanced machine learning-based methods.
14
+
15
+ That is, we need accurate predictions of both potential outcomes with and without the treatment to take its difference since the supervision of the actual effect itself is never given. With observational data, where the action is not assigned completely at random but selected by past decision-makers, the model should generalize not only to the factual data distribution but also to the biasedly missing counterfactual outcome of the action that was not selected. This is called the fundamental problem of causal inference (Shalit et al., 2017).
16
+
17
+ Conventional statistical methods for causal inference deal with this action selection bias by matching extraction or importance sampling at the input feature level (Rosenbaum and Rubin, 1983). Among others, inverse probability weighting using propensity scores (IPW) (Austin, 2011) is a represen-
18
+
19
+ 1
20
+
21
+ tative and versatile approach. The IPW method first learns the policy of the past decision makers (propensity) and then trains a target model with weights of the inverse of propensities, i.e., an estimate of the rarity of the observed action. This two-step estimation strategy defines the fundamental limitation of the weighting approach. The problems are twofold: 1) the overall accuracy depends on the precision of the propensity score estimation at the first stage, and 2) even if the propensity score was precise, the weights could be assigned skewed toward a small fraction of the whole training sample, resulting in high estimation variance (Kang et al., 2007). The overall accuracy can only be guaranteed asymptotically, limiting its applicability to modern non-asymptotic situations such as high dimensional models as DNNs for capturing complex heterogeneity or complex action spaces.
22
+
23
+ Various countermeasures have been tried to alleviate this problem, such as doubly robust (DR) methods (Kang et al., 2007; Kennedy, 2020; Dudík et al., 2014) and double machine learning (Chernozhukov et al., 2018; Nie and Wager, 2021), which are clever combinations of outcome prediction models and only weighting its residuals using estimated propensity. Nevertheless, the IPWbased approach’s limitation is the instability of the two-step procedure in non-asymptotic situations. Its large estimation variance is problematic in cases of high dimensional covariates or cases where the propensity score is close to 0 or 1 and thus the effective sample size is limited (Athey et al., 2018).
24
+
25
+ As in various other advancement with deep neural networks (DNN) has gained substantial attention in causal inference literature (Li and Zhu, 2022). One of the notable advancements made when Shalit et al. (2017) and Johansson et al. (2016) introduced DNN to causal inference was representation-level balancing through distribution discrepancy measures. The representation extracted from the input covariates is encouraged to be _balanced_ , i.e., independent of the action, by measuring and minimizing the discrepancy between the representation distributions conditioned on the action. While the gold standard of causal inference is randomized controlled trials (RCTs), which are costly in many real-world scenarios, this technique allows the construction of hypotheses on a balanced representation space that would virtually mimic RCTs. The performance of representation balancing is guaranteed by a generalization error upper-bound (Shalit et al., 2017) in a non-asymptotic manner. This results in an end-to-end training procedure, free from the concerns in the intermediate estimation problem.
26
+
27
+ However, an unrealistic assumption in its theoretical guarantees has been highlighted in several recent studies (Johansson et al., 2019; Zhao et al., 2019; Wu et al., 2020). When the representation becomes degenerate and not invertible, the difference in errors arising from varying input distributions is overlooked. Such oversight stems from the inherent challenge of not addressing uncertainty within the representation extractor The representation discrepancy upper-bounds error only from the uncertainty in the later layers than the representation, i.e., the hypothesis layers and the loss.
28
+
29
+ **Contribution** We elevate the conventional two-step weighted estimation with the spirit of endto-end adversarial training rather than representation-level balancing at risk of bias. We define the worst-case loss with respect to the nuisance model uncertainty inspired by the pessimism principle in offline reinforcement learning. Our adversarial loss simultaneously accounts for the true propensity’s uncertainty and the statistical instability due to weighting. We apply our framework to the doubly robust learner (Kennedy, 2020), an extension of IPW. The proposed method performed consistently well on datasets with heterogeneous noise, including real-world datasets, in which nonadversarial losses tend to be too optimistic.
30
+
31
+ ## 2 PROBLEM SETTING
32
+
33
+ We consider a standard causal inference framework. We have observational data _D_ = _{_ ( _x_[(] _[n]_[)] _, a_[(] _[n]_[)] _, y_[(] _[n]_[)] ) _}_ consisting of i.i.d. instances of _d_ -dimensional background feature _x_[(] _[n]_[)] _∈X ⊂_ R _[d]_ , a treatment action _a_[(] _[n]_[)] _∈A_ = _{_ 0 _,_ 1 _}_ , and a continuous or binary outcome _y_[(] _[n]_[)] _∈Y_ , where _n_ is the sample instance index. In the Neyman-Rubin potential outcome framework (Rubin, 2005), the potential outcomes of both factual and counterfactual actions are expressed as random variables _{Ya}a∈{_ 0 _,_ 1 _}_ , of which only the factual outcome is observed � _y_[(] _[n]_[)] = _ya_ ( _n_ ) � and the counterfactual one _y_ 1 _−a_ ( _n_ ) is missing.
34
+
35
+ 2
36
+
37
+ Our goal is to learn a potential outcome function _f_ : _X × A →Y_ to estimate the causal effect ˆ _τ_ ( _x_ ) := _f_[ˆ] ( _x, a_ = 1) _− f_[ˆ] ( _x, a_ = 0) under the given background feature _x_ , or to learn ˆ _τ_ directly. The estimated effect _τ_ ˆ( _x_ ) is expected to approximate the true individualized causal effect defined as the conditional average treatment effect (CATE).
38
+
39
+ **==> picture [88 x 11] intentionally omitted <==**
40
+
41
+ A typical metric for the estimation accuracy is the MSE of _τ_ ( _x_ ), also known as the precision in estimating heterogeneous effects (PEHE).
42
+
43
+ **==> picture [140 x 19] intentionally omitted <==**
44
+
45
+ As a condition for consistent learnability of the CATE, we follow the standard set of assumptions in the potential outcome framework (Imbens and Rubin, 2015).
46
+
47
+ - _Y_[(] _[n]_[)] _⊥⊥ A_[(] _[n][′]_[)] _∀n ̸_ = _n[′]_ (Stable Unit Treatment Value Assumption)
48
+
49
+ - ( _Y_ 0 _, Y_ 1) _⊥⊥ A | X_ (unconfoundedness)
50
+
51
+ - 0 _< µ_ ( _a|x_ ) _<_ 1 _∀x, a_ (overlap)
52
+
53
+ ## 3 RELATED WORK
54
+
55
+ **Inverse probability weighting with propensity scores (IPW) and its extension** IPW is a wellknown and universal approach to various causal inference problems, where the density is balanced by weighting using estimated propensity scores. The extended approach called orthogonal statistical learning including the DR-Learner (Kennedy, 2020) and the R-Learner (Nie and Wager, 2021) also exploit outcome prediction models. These methods have been shown to be robust to estimation errors for the first-stage nuisance parameter, i.e., the errors do not affect the final estimation in the first-order sense of the Taylor expansion. Nonetheless, high estimation variance is a drawback of this approach when applied to non-asymptotic situations (Athey et al., 2018). Aiming at robustness for complex DNN-based models, we therefore develop a unified framework that is based on the orthogonal method but also cares extreme weights as in (Athey et al., 2018).
56
+
57
+ **Representation balancing and decomposition** Starting with (Johansson et al., 2016; Shalit et al., 2017), a number of causal inference methods based on DNNs and representation balancing have been proposed (Li and Zhu, 2022). The representation-based methods have been demonstrated to be superior in complex problems such as nonlinear responses (Johansson et al., 2016), large actions spaces (Tanimoto et al., 2021) including continuous (Lopez et al., 2020) or structured spaces (Harada and Kashima, 2021), and so forth. These are end-to-end methods based on adversarial formulations. They virtually evaluate the worst-case with respect to the uncertainty of the model by distribution discrepancy between the representations of covariates in treated and control groups. On the other hand, representation balancing has certain limitations in an unrealistic theoretical assumption that the representation extractor should be invertible. It is shown that unobservable error terms arise when the invertibility is violated (Johansson et al., 2019; Zhao et al., 2019; Wu et al., 2020).
58
+
59
+ A solution to this problem is the representation decomposition (Hassanpour and Greiner, 2020; Wu et al., 2022; Cheng et al., 2022). They aim to identify confounding factors that affect both action selection and the outcomes and weights with only those factors. While it is an exciting approach, it is not guaranteed as a joint optimization. Joint optimization approaches have also been proposed for ATE estimation (Shi et al., 2019), though it may lead to cheating by less weighting to noisy regions especially under noise heterogeneity. Thus, we aim at a principled and versatile method without representation extraction while incorporating the advantages of end-to-end modeling by adversarial formulation.
60
+
61
+ **Distributionally robust optimization** A similar framework aims at robust training concerning the deviation between the empirical and test distributions (Rahimian and Mehrotra, 2019). This approach and ours both account for distributional uncertainties and care for the worst possible cases in each setting. On the other hand, they do not suppose a significant difference between the training and test distributions but deal only with small perturbations. As a result, they do not face the main
62
+
63
+ 3
64
+
65
+ problem that motivates this study, namely, extreme weighting by inverse probability. The uncertainty we seek to address appears in the density ratio of the test distribution to the training distribution, which can be roughly estimated from the association between background features and actual actions taken, but remains uncertain. Thus, although the problem and the approaches are similar, there is a significant difference from our setting.
66
+
67
+ **Pessimism in reinforcement learning** Recent efforts in offline reinforcement learning revealed the benefit of pessimism on the candidate assessment (Rashidinejad et al., 2021; Buckman et al., 2021). In reinforcement learning, we consider modeling the cumulative expected reward in the long run as the Q function for assessing each action at each time step. The Q function is supposed to be maximized with respect to action _a_ during the inference phase. If the estimation error on an action is optimistic, i.e., if the Q value is overestimated, the action is likely to be selected over other better candidates. Therefore, conservative modeling of Q-function is preferable (Kumar et al., 2020), i.e., training a model to estimate below the true value when uncertain. The provable benefit of pessimism has been revealed in recent years (Buckman et al., 2021).
68
+
69
+ Our strategy also goes along with this direction. Q function and then optimizes it, we estimate the weighted loss and then optimize. We apply this pessimism principle to weighted estimation in causal inference; that is, our method pessimistically estimates the weighted loss with respect to the uncertainty of the weights.
70
+
71
+ ## 4 NUISANCE-ROBUST WEIGHTING NETWORK
72
+
73
+ ## 4.1 ADVERSARIAL REFORMULATION OF PLUG-IN NUISANCE
74
+
75
+ same principle. Most conventional causal inference methods employ a plug-in estimation approach: 1) estimate the nuisance propensity model _µ_ ˆ with its empirical evidence _E_[ˆ] (e.g., the cross entropy loss with the action as the label) and 2) plug it into the target empirical risk _L_[ˆ] (e.g., the MSE related to the CATE estimator _τ_ ˆ _θ_ )
76
+
77
+ **==> picture [295 x 20] intentionally omitted <==**
78
+
79
+ as a substitute for the true propensity _L_ ˆ is discussed in Section 4.2. _µ[∗]_ = arg min _µ E_ ( _µ_ ). The specific form of the empirical loss
80
+
81
+ The accuracy of the nuisance _µ_ does not ultimately matter. Thus, it could be suboptimal to estimate and fix _µ_ ˆ without considering the subsequent estimation of the target parameter _θ_[ˆ] . we establish an error bound for any _µ_ , in which we utilize _E_[ˆ] as auxiliary evidence. Here, analogous to the effectiveness analysis of pessimism in offline reinforcement learning (Buckman et al., 2021), the sub-optimality compared to the true best parameter _θ[∗]_ := arg min _θ L_ ( _θ_ ; _µ[∗]_ ) can be decomposed into optimistic/underestimation side and pessimistic/overestimation side.
82
+
83
+ **Theorem 4.1** (Adaptation from Theorem 1 in (Buckman et al., 2021)) **.** _For any space_ Θ _, true population loss L_ ( _·_ ; _µ[∗]_ ) _, and proxy objective J_[ˆ] ( _·_ ) _,_
84
+
85
+ **==> picture [355 x 21] intentionally omitted <==**
86
+
87
+ _where θ_[ˆ] = arg min _θ∈_ Θ _J_[ˆ] ( _θ_ ) _and θ[∗]_ = arg min _θ∈_ Θ _L_ ( _θ_ ; _µ[∗]_ ) _._
88
+
89
+ _Proof._ It follows from the definition of _θ_[ˆ] and _θ[∗]_ . Details are given in Appendix A.
90
+
91
+ This analysis illustrates the asymmetry in the meaning of the estimation errors on the optimistic ( _J_[ˆ] ( _θ_ ) _< L_ ( _θ_ ; _µ[∗]_ )) and pessimistic sides of the loss function ( _J_[ˆ] ( _θ_ ) _> L_ ( _θ_ ; _µ[∗]_ )). The first term (2) corresponds to the estimation error on the pessimistic side and is infimum with respect to _θ_ , so it is sufficient if it is small for one _θ_ . On the other hand, the optimistic error in the second term should be uniformly small for all _θ_ . Unlike the pessimistic side, the optimistic error even for a single candidate can mislead the entire estimation process. This fact leads to the pessimism principle: “Be pessimistic
92
+
93
+ 4
94
+
95
+ when uncertain.” Following this principle, we focus on the optimistic error, i.e., the second term in (2), and enforce it to be bounded for all _θ ∈_ Θ.
96
+
97
+ Here, it would be instructive to see what optimism would result when we use the weighted risk as objective _J_[ˆ] ( _θ_ ) = _L_[ˆ] ( _θ_ ; _µ_ ) with a false propensity score _µ_ . The error is decomposed as follows.
98
+
99
+ **==> picture [324 x 27] intentionally omitted <==**
100
+
101
+ the objective function with respect to _µ_ . Therefore, we define an uncertainty set _U_ such that _µ[∗]_ is included and take the worst case among them.
102
+
103
+ **==> picture [272 x 25] intentionally omitted <==**
104
+
105
+ On the other hand, weights biased toward some samples for the pessimistic evaluation would decrease the effective sample size (Swaminathan and Joachims, 2015; Tanimoto et al., 2022). Thus we have to care about the statistical stability under _µ_ , which appears as (b) in (3). Swaminathan and Joachims (2015) proposed a pessimistic evaluation of logged bandits under true values of _µ_ , and Tanimoto et al. (2022) analyzed the sample complexity of linear class with weighted loss, both of which imply that we can majorize this term using the mean square of the weights. Though it depends on the class Θ, we now assume there exists a majorizer _R_ ( _µ_ ) _≥_ (b) _,_ and let a stability constrained set _R_ as
106
+
107
+ **==> picture [246 x 11] intentionally omitted <==**
108
+
109
+ **==> picture [247 x 18] intentionally omitted <==**
110
+
111
+ where _U R_ as (5). Our loss upper-bounds the optimistic evaluation error.
112
+
113
+ **Theorem 4.2** (Uniform bound with the pessimistic objective) **.** _Suppose we have a model class_ Θ _and a loss L such that a stability constrained set R as_ (5) _can be defined with R so that L_[ˆ] ( _θ_ ; _µ_ ) _− L_ ( _θ_ ; _µ_ ) _≤ R_ ( _µ_ ) _for all θ ∈_ Θ _. Let the objective J_[ˆ] _defined as_ (6) _with sufficiently large parameters c and C so that µ[∗] ∈U ∩R, i.e., E_[ˆ] ( _µ[∗]_ ) _≤_ min _µ′ E_[ˆ] ( _µ[′]_ ) + _c and R_ ( _µ[∗]_ ) _≤ C. Then for all θ ∈_ Θ _we have_
114
+
115
+ **==> picture [90 x 13] intentionally omitted <==**
116
+
117
+ _Proof. U , R_ and _R_ . Details can be found in Appendix Appendix A.
118
+
119
+ Note that the nuisance uncertainty tolerance _c_ does not appear in this optimistic error upper bound. Being too pessimistic with large _c_ will lead to a large pessimistic-side error in (2). Therefore, _U_ should be as small as possible while containing _µ[∗]_ .
120
+
121
+ ## 4.2 NUISANCE-ROBUST TRANSFORMED OUTCOME REGRESSION NETWORK
122
+
123
+ Under the aforementioned approach, next, we will discuss the application of our nuisance-robust loss to specific estimation methods. Among two-step methods of the form (1), a simple but clever method to directly estimate CATE is the transformed outcome regression (Athey and Imbens, 2016). This method estimates the target CATE without estimating each potential outcome. Based on pretrained and fixed _µ_ ˆ, the transformed outcome _z_ is defined as follows.
124
+
125
+ **==> picture [283 x 28] intentionally omitted <==**
126
+
127
+ The transformed outcome is equivalent to CATE in expectation supposed that ˆ _µ_ is accurate: E[ _z|x_ ] = ˆ _τ_ ( _x_ ) = E[ _Y_ 1 _− Y_ 0 _|x_ ] (see Appendix B for detail). Therefore, at the population level, the model _τθ_
128
+
129
+ 5
130
+
131
+ that minimizes MSE with respect to _z_ is consistent with that of minimizing PEHE. And, unlike CATE, _z_ can be calculated from observed values, since the unobserved potential outcome _y_ 1 _−a_ would be multiplied by 0 and eliminated. We call this approach transformed outcome regression with propensity weighting (PW), or PWNet in short.
132
+
133
+ While we do not suffer from estimation errors in potential outcomes, _z_ in PWNet (7) has a large variance in general. Therefore, we can also utilize pre-trained potential outcome models _f_[ˆ] _a_ ( _x_ ) _≃_ E[ _Ya|x_ ] to reduce the variance in the transformed outcome. Kennedy (2020) proposed using the plug-in CATE estimate _f_[ˆ] 1( _x_[(] _[n]_[)] ) _− f_[ˆ] 0( _x_[(] _[n]_[)] ) with residual adjusted with weights. Despite being a plug-in method, the estimation error of these models ( _f_ 1 _, f_ 0) does not necessarily ruin the later step. If either ( _f_ 1 _, f_ 0) or _µ_ is accurate, _z_ works as an accurate target, which is called the double robustness (Kennedy, 2020). This method is called the doubly robust learner or DRNet.
134
+
135
+ Taking DRNet as a baseline plug-in method, we formulate our proposed method nuisance-robust transformed outcome regression, NuNet. Our transformed outcome _zµ_ with mutable nuisance _µ_ is
136
+
137
+ **==> picture [364 x 28] intentionally omitted <==**
138
+
139
+ We start with a pre-trained nuisance _µ_ 0 and randomly initialized parameter _θ_ and perform adversarial 2 optimization of them as in (6) with the MSE _L_[ˆ] ( _θ_ ; _µ_ ) = _N_ 1 � _n zµ_[(] _[n]_[)] _− τθ_ ( _x_[(] _[n]_[)] ) _._ While DRNet � � uses pre-trained and fixed nuisance models _f_[ˆ] 1 _, f_[ˆ] 0 _,_ and ˆ _µ_ for training ˆ _τθ_ , we utilize pre-trained _µ_ 0 for initialization but update simultaneously with _θ_ . Although _f_ 0 and _f_ 1 are also nuisance parameters, the uncertainty of them do not differ among the target parameter space, thus we need not take care. Excluding the error correction term in (8), a disturbance (∆ _f_ 0 _,_ ∆ _f_ 1) can be absorbed by translation _τ ← τ_ + ∆ _f_ 1 _−_ ∆ _f_ 0.
140
+
141
+ ## 4.3 IMPLEMENTATION OF CONSTRAINTS FOR GRADIENT-BASED UPDATE
142
+
143
+ We defined the evidence level _E_[ˆ] ( _µ_ ) and the statistical stability _R_ ( _µ_ ) as constraints in Section 4.1. Typical constraint implementation is as regularization term such as _α_ max _{_ 0 _, E_[ˆ] ( _µ_ ) _− E_[ˆ] ( _µ_ 0) _− c},_ where _µ_ 0 is the pre-trained and fixed propensity model. However, since _−L_[ˆ] ( _θ_ ; _µ_ ) is not convex with respect to _µ_ , the regularization cannot reproduce the constrained optimization within _U_ . _µ_ would diverge to extreme values to increase _L_[ˆ] ( _θ_ ; _µ_ ) with no regard for the increase in the regularization term. Therefore, for _E_[ˆ] , we employ a (simplified version of) augmented Lagrangian method (Bertsekas, 2014). We use the regularization term _αk_ max _{_ 0 _, E_[ˆ] ( _µ_ ) _− E_[ˆ] ( _µ_ 0) _− c},_ where _αk_ = _α_ 0 _γ[k]_ with the training epoch _k_ . Note that the hyperparameters _α_ 0 and _γ_ are for optimization and could be tuned only by the training data. The only statistical hyperparameter here is the tolerance _c_ , which is to be selected by validation.
144
+
145
+ For the statistical stability _R_ , we employ squared weights simply as a regularization term. Let _wµ_[(] _[n]_[)] = _µ_ ( _ax_[(][(] _[n][n]_[)][)] )[+] 1 _−_ 1 _−µ_ ( _ax_[(][(] _[n][n]_[)][)] )[the][weight][under][the][nuisance][function] _[µ]_[.][Finally,][our][adversarial] objective at the _k_ -th iteration is the following.
146
+
147
+ **==> picture [389 x 37] intentionally omitted <==**
148
+
149
+ In each iteration, we minimize _J_[ˆ] ( _θ, µ_ ) with respect to _θ_ and maximize with respect to _µ_ . Overall, our loss controls the optimistic side error due to the uncertainty of _µ_ (3-a) by maximizing the first term with respect to _µ_ under the likelihood constraint in the second term, while simultaneously controlling the optimistic side error of the weighted empirical loss (3-b) by flattening the weight with the third term. The whole algorithm is summarized in Algorithm 1 and Figure 1 illustrates the architecture.
150
+
151
+ 6
152
+
153
+ **Algorithm 1** Nuisance-Robust Transformed Outcome Regression Network (NuNet)
154
+
155
+ **Input:** Training data _D_ = _{_ ( _x_[(] _[n]_[)] _, a_[(] _[n]_[)] _, y_[(] _[n]_[)] ) _}n_ , hyperparameters _α_ 0 _, γ, β, c_ , validation ratio _r_ **Output:** Trained network parameter _θ_ and validation error
156
+
157
+ 1: Train _f_ ˆ _a ← f_ arg min1 _, f_ 0 _, µ_ by an arbitrary supervised learning method, e.g.: _fa N_ 1 � _n_ : _a_[(] _[n]_[)] = _a_[(] _[y]_[(] _[n]_[)] _[ −][f][a]_[(] _[x]_[(] _[n]_[)][))][2][for each] _[ a][ ∈{]_[0] _[,]_[ 1] _[}]_[,] _µ_ 0 _←_ arg min _µ − N_[1] � _n[a]_[(] _[n]_[)][ log] _[ µ]_[(] _[x]_[(] _[n]_[)][) + (1] _[ −][a]_[(] _[n]_[)][) log(1] _[ −][µ]_[(] _[x]_[(] _[n]_[)][))] 2: Split train and validation _D_ tr _, D_ val by the ratio _r_
158
+
159
+ 3: _k ←_ 0
160
+
161
+ - 4: **while** Convergence criteria is not met **do**
162
+
163
+ 5: **for** each sub-sampled mini-batch from _D_ tr **do**
164
+
165
+ 6: Update parameters with objective (9) and step sizes _ηθ, ηµ_ from optimizes: 7: _θk_ +1 _← θk − ηθ∇θJ_[ˆ] ( _θ, µ_ )
166
+
167
+ 8: _µk_ +1 _← µk_ + _ηµ∇µJ_[ˆ] ( _θ, µ_ )
168
+
169
+ 9: _αk_ +1 _← γαk_ 10: _k ← k_ + 1 11: Check convergence criterion with validation error _N_ 1val � _n∈D_ val[(] _[z] µ_[(] _[n]_ 0[)] _[−][τ] θ_[(] _[x]_[(] _[n]_[)][))][2]
170
+
171
+ - 12: **return** _θ_ and the last validation error for model selection
172
+
173
+ **==> picture [200 x 108] intentionally omitted <==**
174
+
175
+ **----- Start of picture text -----**<br>
176
+ y<br>τθ τ L ( θ ; μ )<br>x Gradient Reversal Layer<br>z<br>μ<br>μ R ( μ )<br>f 1, f 0<br>a max{0, E ( μ ) − E ( μ 0) − c }<br>**----- End of picture text -----**<br>
177
+
178
+ Figure 1: The architecture of NuNet. The nuisance function _µ_ is trained to maximize the empirical loss _L_[ˆ] ( _θ_ ; _µ_ ) while minimizing the other terms. This adversarial formulation can be expressed as joint minimization with the gradient reversal layer.
179
+
180
+ ## 5 EXPERIMENT
181
+
182
+ ## 5.1 SETTINGS
183
+
184
+ **Synthetic data generation** We followed the setup of (Curth and van der Schaar, 2021b) for synthetic data generation processes and model hyperparameters, except for our noise heterogeneous setting. We generated _d_ = 25 dimensional multivariate normal covariates including 5 confounding factors that affect outcome and treatment selection, 5 outcome-related factors, and 5 purely CATErelated factors. The true outcome and CATE models were nonlinear. Other details are described in Appendix C.
185
+
186
+ In addition to the original additive noise (AN) setting _y_ = _y_ true + _ε_ , we also tested on the multiplicative noise (MN) setting _y_ = _y_ true(1 + _ε_ ) _,_ where _ε_ is drawn from a normal distribution with its average noise level was adjusted to the one in AN. Most causal inference literature uses synthetic data or semi-synthetic data where only covariates are real and synthesizes outcomes with additive noise, which do not reflect the heterogeneity of the real environment. Noise heterogeneity is critical since the optimistic-side error will likely emerge, and naive joint optimization suffers. We therefore set this up as a simple data generation model with heterogeneous noise.
187
+
188
+ **Real-world dataset** Most well-established semi-synthetic datasets have real-world covariates and synthesized outcomes and do not reproduce up to noise heterogeneity, while the Twins dataset from (Almond et al., 2005) had both potential outcomes recorded. The first-year mortality of twins born at low birth weights was treated as potential outcomes for the heavier and lighter-born twins, respectively, and weighted subsampling was performed to reproduce the missing counterfactuals. The test
189
+
190
+ 7
191
+
192
+ Table 1: PEHE on additive noise dataset (mean _±_ standard error on 10 runs). The best results are shown in bold, and comparable results are italicized and underlined.
193
+
194
+ |Method|N=500<br>1000<br>2000<br>5000<br>10000<br>20000|
195
+ |---|---|
196
+ |TNet<br>TARNet<br>CFR<br>SNet3<br>SNet<br>PWNet<br>DRNet|18.55_±_0.88<br>13.89_±_1.10<br>5.02_±_0.14<br>1.96_±_0.06<br>1.22_±_0.03<br>0.88_±_0.02<br>18.21_±_1.12<br>8.77_±_0.35<br>4.28_±_0.19<br>1.74_±_0.06<br>1.06_±_0.02<br>0.76_±_0.03<br>17.90_±_1.18<br>8.77_±_0.35<br>4.28_±_0.19<br>1.71_±_0.05<br>1.05_±_0.02<br>0.76_±_0.03<br>**13.10**_±_**0.65**<br>_7.73 ± 0.34_<br>3.85_±_0.11<br>1.54_±_0.05<br>0.99_±_0.02<br>0.62_±_0.01<br>_14.14 ± 0.57_<br>**7.17**_±_**0.29**<br>**3.39**_±_**0.11**<br>**1.26**_±_**0.03**<br>**0.74**_±_**0.02**<br>**0.43**_±_**0.01**<br>18.46_±_0.82<br>13.03_±_0.54<br>15.97_±_0.68<br>20.99_±_1.25<br>25.31_±_2.32<br>19.21_±_1.36<br>16.56_±_0.75<br>11.58_±_0.66<br>3.91_±_0.14<br>1.45_±_0.04<br>1.14_±_0.11<br>0.66_±_0.03|
197
+ |NuNet|15.78_±_0.69<br>11.43_±_0.48<br>4.02_±_0.09<br>1.52_±_0.07<br>0.86_±_0.01<br>0.54_±_0.01|
198
+
199
+ target is the difference between the noisy potential outcomes _τ_[(] _[n]_[)] = _y_ 1[(] _[n]_[)] _− y_ 0[(] _[n]_[)] instead of CATE E[ _τ_[(] _[n]_[)] _|x_ ]. We followed (Curth and van der Schaar, 2021a) for sampling strategy and other details.
200
+
201
+ Also, the Jobs dataset from (LaLonde, 1986) has a randomized test set based on an experimental job training program and an observational training set. Although we do not have both potential outcomes, we can substitute the CATE in PEHE with the transformed outcome since the true propensity is known as constant in the randomized test set, as proposed in (Curth et al., 2021). A detailed justification for this evaluation can be found in Appendix B. Most popular semi-synthetic datasets used in causal inference evaluation have generated outcomes and do not reproduce noise heterogeneity in real situations. That is why we used these datasets with real outcomes.
202
+
203
+ **Baseline methods** We compared several representative methods for causal inference with DNN. TNet was a simple plug-in method that estimates each potential outcome with separate two networks and then outputs the difference between their predictions. SNet and SNet3 were decomposed representation-based methods that shared representation extractors for outcome and propensity estimation layers. They have three kinds of extractors, namely, outcome-only, propensityonly, and shared representation for confounders. SNet3 was a modified version, not using weighting in (Curth and van der Schaar, 2021b), of what was originally proposed as DR-CFR (Hassanpour and Greiner, 2019) and DeR-CFR (Wu et al., 2022) for simultaneous optimization of the weights and the outcome model. SNet was an even more flexible architecture than SNet3 that had shared and independent extractors for each potential outcome, proposed in (Curth and van der Schaar, 2021b). PWNet and DRNet were DNN implementations of transformed outcome methods (Athey and Imbens, 2016; Kennedy, 2020), in which networks in the first step were independent for each potential outcome and propensity. In the second step, a single CATE network was trained. Our proposed NuNet is based on DRNet architecture.
204
+
205
+ **Hyparparameters and model selection** We set the candidates of the hyperparameters as _α_ 0 _∈ {_ 1 _,_ 10 _}_ , _γ ∈{_ 1 _._ 01 _,_ 1 _._ 03 _,_ 1 _._ 05 _}_ , and _β ∈{_ 10 _,_ 100 _,_ 300 _}_ . For the experiment with Twins, we fixed them as _α_ 0 = 10 _, γ_ = 1 _._ 03 _, β_ = 100 _._ The tolerance was fixed at _c_ = 0 _._ 03. Model selection, including early stopping, was performed on the evidence measure of each method with 30% of the training data held out for validation. That is, for transformed outcome methods, we evaluated the MSE with respect to the transformed outcome _z_ in each method. For our proposed NuNet, we used the pre-trained and fixed transformed outcome for validation, just as in DRNet.
206
+
207
+ ## 5.2 RESULTS
208
+
209
+ **AN setting** The results are shown in Table 1. Our proposed NuNet outperformed or was at least comparable to, DRNet, the baseline plug-in method of NuNet. On the other hand, representationbased methods (SNet3 and SNet) outperformed the transformed outcome methods (PWNet, DRNet, and NuNet). The shared representation extractor of the confounding factors could be an effective inductive bias, especially with small sample sizes. SNet is overall more accurate than SNet3 since it can also share parameters for components common to both potential outcomes.
210
+
211
+ **MN setting** Table 2 shows the results in PEHE. Our proposed method outperformed other baselines when the sample size was relatively sufficient. Unlike the AN setting, the multiplicative (heterogeneous) noise setting tends to be optimistic. The pessimistic evaluation with more emphasis on
212
+
213
+ 8
214
+
215
+ Table 2: PEHE on multiplicative noise dataset
216
+
217
+ |Method|N=500|1000|2000<br>5000<br>10000<br>20000|2000<br>5000<br>10000<br>20000|2000<br>5000<br>10000<br>20000|
218
+ |---|---|---|---|---|---|
219
+ |TNet<br>TARNet<br>CFR<br>SNet3<br>SNet<br>PWNet<br>DRNet|22.03_±_1.23<br>20.75_±_0.99<br>20.30_±_1.05<br>**17.83**_±_**0.94**<br>_18.44 ± 0.86_<br>_18.97 ± 0.90_<br>19.96_±_1.01|17.59_±_0.89<br>**13.06**_±_**0.53**<br>**13.06**_±_**0.53**<br>15.44_±_0.65<br>15.73_±_0.58<br>_13.14 ± 0.54_<br>15.34_±_0.75|11.97_±_0.40<br>5.93_±_0.16<br>3.76_±_0.08<br>2.52_±_0.11<br>_10.25 ± 0.36_<br>5.27_±_0.18<br>3.17_±_0.08<br>2.10_±_0.09<br>_10.10 ± 0.32_<br>5.22_±_0.18<br>3.16_±_0.08<br>2.07_±_0.09<br>11.12_±_0.36<br>5.71_±_0.25<br>3.61_±_0.14<br>2.46_±_0.09<br>11.22_±_0.33<br>5.47_±_0.17<br>3.12_±_0.08<br>2.01_±_0.07<br>15.95_±_0.64<br>21.08_±_1.22<br>25.63_±_2.31<br>20.92_±_2.09<br>_9.93 ± 0.40_<br>_4.80 ± 0.21_<br>3.20_±_0.24<br>1.83_±_0.10|||
220
+ |NuNet|_19.96 ± 1.20_|15.54_±_0.57||**9.83**_±_**0.45**|**4.67**_±_**0.32**<br>**2.44**_±_**0.09**<br>**1.50**_±_**0.06**|
221
+
222
+ Table 3: MSE for noisy CATE on real-world datasets (mean _±_ standard error on 5 runs).
223
+
224
+ |ble 3: MSE for noisyC|ATE on real|-world datas|ets(mean_±_|standard error on 5 ru|
225
+ |---|---|---|---|---|
226
+ |Method<br>N=500<br>TNet<br>0.354_±_.004<br>TARNet<br>0.336_±_.003<br>CFR<br>**0.322**_±_**.001**<br>SNet3<br>0.331_±_.002<br>SNet<br>0.333_±_.002<br>PWNet<br>0.330_±_.001<br>DRNet<br>0.340_±_.002<br>NuNet<br>0.326_±_.002|1000|Twins<br>2000|5000|Jobs<br>11400<br>N=2570|
227
+ ||0.350_±_.002<br>0.336_±_.002<br>_0.324 ± .002_<br>0.330_±_.002<br>0.331_±_.002<br>0.327_±_.001<br>0.338_±_.001|0.329_±_.001<br>0.326_±_.001<br>_0.323 ± .002_<br>_0.322 ± .001_<br>_0.323 ± .001_<br>0.324_±_.001<br>_0.322 ± .001_|0.324_±_.002<br>_0.320 ± .001_<br>_0.321 ± .001_<br>**0.319**_±_**.001**<br>_0.320 ± .001_<br>_0.322 ± .002_<br>0.323_±_.001|0.322_±_.001<br>9.42_±_.12<br>_0.321 ± .001_<br>9.33_±_.02<br>_0.321 ± .001_<br>9.33_±_.02<br>_0.320 ± .001_<br>9.38_±_.06<br>_0.320 ± .001_<br>9.36_±_.06<br>0.323_±_.001<br>8.82_±_.03<br>0.323_±_.001<br>9.10_±_.02|
228
+ ||**0.323**_±_**.002**|**0.320**_±_**.001**|_0.321 ± .001_|**0.319**_±_**.001**<br>**8.62**_±_**.06**|
229
+
230
+ hard instances would be a reasonable explanation for the superiority of the proposed method. Even though representation decomposition should also be useful in the MN setting since the data generation model was the same as the AN setting except for noise, the weighting approach was superior to the representation decomposition method without weighting. Combining representation decomposition and weighting is a promising future direction. Simultaneous optimization is required and our approach based on plug-in (multi-step) baseline methods cannot be simply applied.
231
+
232
+ **Real-world datasets** Experiments on Twins data also showed the superiority of NuNet in most cases as in Table 3. Note that the test target _τ_[(] _[n]_[)] is noisy, and the value contains the noise variance. In the small sample cases as _N_ = 500, the methods with fixed outcome models (TNet and DRNet) underperformed compared to the methods without outcome models or shared representations. NuNet based on DRNet should suffer the same disadvantage, though it still showed superior performance to those baseline methods. Table 3 also showed the results on Jobs data, which exhibits similar trends. Although the accuracy of PWNet is relatively high, probably due to the low dimensionality of _d_ = 8, the proposed DRNet-based method still outperformed other baseline methods. Note that the evaluation metric for Jobs, the MSE with respect to the transformed outcome, also contains constant noise.
233
+
234
+ ## 6 CONCLUSION
235
+
236
+ We proposed NuNet to unify the two steps of nuisance estimation and target estimation in a single step based on the pessimism principle. We have empirically demonstrated that existing methods not based on weighting and methods based on weighting with a two-step strategy tend to be optimistic, and the proposed method exhibited superior performances, especially in noise heterogeneity. To the best of our knowledge, our approach is the first attempt at a principled solution based on pessimism, and it sheds light on the approach for making various multi-step inference methods end-to-end.
237
+
238
+ **Limitation and future work** Our framework has wide potential applications to plug-in methods, not only the proposed method. On the other hand, it cannot be applied to methods that are originally formulated as joint optimization of models and weights, such as representation decomposition. Such models that have representation shared by the model and weights often exhibit effective inductive bias, which is another aspect of the combination of the weighting approach and DNNs. Deriving a pessimism-based theoretical framework for such methods and investigating principled learning methods would be a promising future direction for versatile causal inference methods.
239
+
240
+ 9
241
+
242
+ ## REFERENCES
243
+
244
+ - D. Almond, K. Y. Chay, and D. S. Lee. The costs of low birth weight. _The Quarterly Journal of Economics_ , 120(3):1031–1083, 2005.
245
+
246
+ - S. Athey and G. Imbens. Recursive partitioning for heterogeneous causal effects. _Proceedings of the National Academy of Sciences_ , 113(27):7353–7360, 2016.
247
+
248
+ - S. Athey, G. W. Imbens, and S. Wager. Approximate residual balancing. _Journal of the Royal Statistical Society. Series B (Statistical Methodology)_ , 80(4):597–623, 2018.
249
+
250
+ - P. C. Austin. An introduction to propensity score methods for reducing the effects of confounding in observational studies. _Multivariate Behavioral Research_ , 46(3):399–424, 2011.
251
+
252
+ - D. P. Bertsekas. _Constrained optimization and Lagrange multiplier methods_ . Academic press, 2014.
253
+
254
+ - S. Bonner and F. Vasile. Causal embeddings for recommendation. In _ACM conference on recommender systems (RecSys)_ , pages 104–112, 2018.
255
+
256
+ - J. Buckman, C. Gelada, and M. G. Bellemare. optimization. In _International Conference on Learning Representations (ICLR)_ , 2021.
257
+
258
+ - M. Cheng, X. Liao, Q. Liu, B. Ma, J. Xu, and B. Zheng. Learning disentangled representations for counterfactual regression via mutual information minimization. In _Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval_ , pages 1802–1806, 2022.
259
+
260
+ - V. Chernozhukov, D. Chetverikov, M. Demirer, E. C. Hansen, W. Newey, and J. Robins. Double/debiased machine learning for treatment and structural parameters. _The Econometrics Journal_ , 21(1):C1–C68, 2018.
261
+
262
+ - A. Curth and M. van der Schaar. On inductive biases for heterogeneous treatment effect estimation. _Advances in Neural Information Processing Systems (NeurIPS)_ , 34:15883–15894, 2021a.
263
+
264
+ - A. Curth and M. van der Schaar. Nonparametric estimation of heterogeneous treatment effects: From theory to learning algorithms. In _International Conference on Artificial Intelligence and Statistics (AISTATS)_ , pages 1810–1818. PMLR, 2021b.
265
+
266
+ - A. Curth, D. Svensson, J. Weatherall, and M. van der Schaar. Really doing great at estimating cate? a critical look at ml benchmarking practices in treatment effect estimation. In _NeurIPS Datasets and Benchmarks_ , 2021.
267
+
268
+ - M. Dudík, D. Erhan, J. Langford, and L. Li. Doubly robust policy evaluation and optimization. _Statistical Science_ , 29(4):485–511, 2014.
269
+
270
+ - S. Harada and H. Kashima. Graphite: Estimating individual effects of graph-structured treatments. In _ACM International Conference on Information & Knowledge Management (CIKM)_ , pages 659– 668, 2021.
271
+
272
+ - N. Hassanpour and R. Greiner. Counterfactual regression with importance sampling weights. In _International Joint Conference on Artificial Intelligence (IJCAI)_ , pages 5880–5887, 2019.
273
+
274
+ - N. Hassanpour and R. Greiner. Learning disentangled representations for counterfactual regression. In _International Conference on Learning Representations (ICLR)_ , 2020.
275
+
276
+ - G. W. Imbens and D. B. Rubin. _Causal inference in statistics, social, and biomedical sciences_ . Cambridge University Press, 2015.
277
+
278
+ - F. D. Johansson, U. Shalit, and D. Sontag. Learning representations for counterfactual inference. In _International Conference on Machine Learning (ICML)_ , pages 3020–3029, 2016.
279
+
280
+ - F. D. Johansson, D. Sontag, and R. Ranganath. Support and invertibility in domain-invariant representations. In _International Conference on Artificial Intelligence and Statistics (AISTATS)_ , pages 527–536, 2019.
281
+
282
+ 10
283
+
284
+ - J. D. Kang, J. L. Schafer, et al. Demystifying double robustness: A comparison of alternative strategies for estimating a population mean from incomplete data. _Statistical Science_ , 22(4):523– 539, 2007.
285
+
286
+ - E. H. Kennedy. Towards optimal doubly robust estimation of heterogeneous causal effects. _arXiv preprint arXiv:2004.14497_ , 2020.
287
+
288
+ - A. Kumar, A. Zhou, G. Tucker, and S. Levine. Conservative Q-learning for reinforcement learning. In _Advances in Neural Information Processing Systems (NeurIPS)_ , volume 33, pages 1179–1191, 2020.
289
+
290
+ - R. J. LaLonde. Evaluating the econometric evaluations of training programs with experimental data. _The American economic review_ , pages 604–620, 1986.
291
+
292
+ - Z. Li and Z. Zhu. A survey of deep causal model. _arXiv preprint arXiv:2209.08860_ , 2022.
293
+
294
+ - R. Lopez, C. Li, X. Yan, J. Xiong, M. Jordan, Y. Qi, and L. Song. Cost-effective incentive allocation via structured counterfactual inference. In _AAAI Conference on Artificial Intelligence (AAAI)_ , volume 34, pages 4997–5004, 2020.
295
+
296
+ - X. Nie and S. Wager. Quasi-oracle estimation of heterogeneous treatment effects. _Biometrika_ , 108 (2):299–319, 2021.
297
+
298
+ - H. Rahimian and S. Mehrotra. Distributionally robust optimization: A review. _arXiv preprint arXiv:1908.05659_ , 2019.
299
+
300
+ - P. Rashidinejad, B. Zhu, C. Ma, J. Jiao, and S. Russell. Bridging reinforcement learning and imitation learning: A tale of pessimism. _Advances in Neural Information Processing Systems (NeurIPS)_ , 34, 2021.
301
+
302
+ - P. R. Rosenbaum and D. B. Rubin. The central role of the propensity score in observational studies for causal effects. _Biometrika_ , 70(1):41–55, 1983.
303
+
304
+ - D. B. Rubin. Causal inference using potential outcomes: Design, modeling, decisions. _Journal of the American Statistical Association_ , 100(469):322–331, 2005.
305
+
306
+ - P. Sanchez, J. P. Voisey, T. Xia, H. I. Watson, A. Q. O’Neil, and S. A. Tsaftaris. Causal machine learning for healthcare and precision medicine. _Royal Society Open Science_ , 9(8):220638, 2022.
307
+
308
+ - T. Schnabel, A. Swaminathan, A. Singh, N. Chandak, and T. Joachims. Recommendations as treatments: Debiasing learning and evaluation. In _international conference on machine learning_ , pages 1670–1679. PMLR, 2016.
309
+
310
+ - U. Shalit, F. D. Johansson, and D. Sontag. Estimating individual treatment effect: generalization bounds and algorithms. In _International Conference on Machine Learning (ICML)_ , pages 3076– 3085, 2017.
311
+
312
+ - C. Shi, D. Blei, and V. Veitch. Adapting neural networks for the estimation of treatment effects. _Advances in neural information processing systems_ , 32, 2019.
313
+
314
+ - W. Sun, P. Wang, D. Yin, J. Yang, and Y. Chang. Causal inference via sparse additive models with application to online advertising. In _Twenty-Ninth AAAI Conference on Artificial Intelligence_ , 2015.
315
+
316
+ - A. Swaminathan and T. Joachims. Counterfactual risk minimization: Learning from logged bandit feedback. In _International Conference on Machine Learning (ICML)_ , pages 814–823. PMLR, 2015.
317
+
318
+ - A. Tanimoto, T. Sakai, T. Takenouchi, and H. Kashima. Regret minimization for causal inference on large treatment space. In _International Conference on Artificial Intelligence and Statistics (AISTATS)_ , pages 946–954, 2021.
319
+
320
+ - A. Tanimoto, S. Yamada, T. Takenouchi, M. Sugiyama, and H. Kashima. Improving imbalanced classification using near-miss instances. _Expert Systems with Applications_ , 201:117130, 2022.
321
+
322
+ 11
323
+
324
+ - P. Wang, W. Sun, D. Yin, J. Yang, and Y. Chang. Robust tree-based causal inference for complex ad effectiveness analysis. _Proceedings of the Eighth ACM International Conference on Web Search and Data Mining_ , 2015.
325
+
326
+ - A. Wu, J. Yuan, K. Kuang, B. Li, R. Wu, Q. Zhu, Y. T. Zhuang, and F. Wu. Learning decomposed representations for treatment effect estimation. _IEEE Transactions on Knowledge and Data Engineering_ , 2022.
327
+
328
+ - X. Wu, Y. Guo, J. Chen, Y. Liang, S. Jha, and P. Chalasani. Representation bayesian risk decompositions and multi-source domain adaptation. _arXiv preprint arXiv:2004.10390_ , 2020.
329
+
330
+ - H. Zhao, R. T. Des Combes, K. Zhang, and G. Gordon. On learning invariant representations for domain adaptation. In _International Conference on Machine Learning (ICML)_ , pages 7523–7532. PMLR, 2019.
331
+
332
+ 12
333
+
open_review/iclr2024_8813.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8813",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Pessimistic Nonlinear Least-Squares Value Iteration for Offline Reinforcement Learning",
6
+ "abstract": "Offline reinforcement learning (RL), where the agent aims to learn the optimal policy based on the data collected by a behavior policy, has attracted increasing attention in recent years. While offline RL with linear function approximation has been extensively studied with optimal results achieved under certain assumptions, many works shift their interest to offline RL with non-linear function approximation.\nHowever, limited works on offline RL with non-linear function approximation have instance-dependent regret guarantees.\n In this paper, we propose an oracle-efficient algorithm, dubbed Pessimistic Nonlinear Least-Square Value Iteration (PNLSVI), for offline RL with non-linear function approximation. Our algorithmic design comprises three innovative components: (1) a variance-based weighted regression scheme that can be applied to a wide range of function classes, (2) a subroutine for variance estimation, and (3) a planning phase that utilizes a pessimistic value iteration approach. Our algorithm enjoys a regret bound that has a tight dependency on the function class complexity and achieves minimax optimal instance-dependent regret when specialized to linear function approximation. Our work extends the previous instance-dependent results within simpler function classes, such as linear and differentiable function to a more general framework. To the best of our knowledge, this is the first statistically optimal algorithm for nonlinear offline RL.",
7
+ "rebuttal": "### Follow up with Reviewer 38or\nDear Reviewer 38or,\n\nWe greatly appreciate your valuable feedback and are reaching out to see whether there have been any remaining questions that you have. If our response and revision have addressed your questions and concerns, we kindly request you to re-evaluate our work. Thank you!\n\n### Gentle Reminder\nDear Reviewer 38or\n\nAs the deadline for the author-reviewer discussion is fast approaching, we would like to kindly inquire whether our response and revision have adequately addressed your questions and concerns. We really appreciate your feedback.\n\n### Response to Reviewer 38or\nThank you for your valuable feedback. We address your questions point-by-point.\n\n**Q1**: How valuable is it to prove an instance-dependent bound when we have to impose a uniform coverage assumption? Which part of the proof requires uniform data coverage while partial data coverage does not work?\n\n**A1**: In this work, we aim to achieve an optimal dependency on the complexity of the function class. For this purpose, we utilize the technique of reference-advantage decomposition to overcome the challenge posed by the additional error from uniform convergence over the [...]\n\n### Response to Reviewer Fsc5\nThank you for your positive feedback. We address your questions as follows.\n\n**Q1**: The work is overall incremental. The key techniques are largely known, either from online RL or offline RL. I can see that there are technical barriers in directly extending them to the problem of offline RL with general function approximation, but such extensions are mostly not too difficult.\n\n**A1**: We agree with the reviewer that the extension of RL with linear function approximation to general function approximation is in general not too difficult given so many recent develop [...]\n\n### Response to Reviewer FxDp\nThank you for your strong support. We will address your questions as follows.\n\n**Q1**: In section 3, I think you went a bit too far with the abuse of notation when defining Bellman operators. Is $f$ a function of the state or the state and action? How can you define the relationship between the Q and the V function of a fixed policy by Bellman's optimality operator?\n\n**A1**: Thank you for your suggestion. We have defined $f(s) = \\max_{a}f(s,a)$ and added a footnote to clarify the two slightly abused notations $f(s)$ and $f(s,a)$. \n\nFor the Bellman operator, we hav [...]\n\n### Response to Reviewer KfKk\nThank you for your positive feedback. We address your questions point-by-point.\n\n**Q1**: How to computationally efficiently obtain the condition for the second bullet point in 4.3?\n\n**A1**: In Appendix C, we actually discuss how to efficiently compute the optimization problem $\\max\\{ |f_1(z_h)-f_2(z_h)|, f_1,f_2 \\in \\mathcal F_h: \\sum_{k \\in [K] } \\frac{(f_1(z_h^k)- f_2(z_h^k))^2}{(\\hat \\sigma_h(s_h^k,a_h^k))^2} \\leq (\\beta_h)^2\\}$. With the definition of the D^2 divergence, for any $f_1,f_2 \\in \\mathcal F_h $ satisfying $\\sum_{k \\in [K]}\\frac{1}{(\\hat\\sigma_h(z_ [...]\n\n### Thank you\nThank you for your support! We are very happy that our response has clarified your questions.",
8
+ "initial_scores": [
9
+ 8,
10
+ 6,
11
+ 6,
12
+ 5
13
+ ],
14
+ "score_mean": 6.25,
15
+ "score_variance": 1.58,
16
+ "score_spread": 3,
17
+ "score_min": 5,
18
+ "score_max": 8,
19
+ "decision": "Accept (poster)",
20
+ "rebuttal_validity_ground_truth": true,
21
+ "meta_review": "The paper examines the incorporation of pessimism for non-linear function approximation, under an assumption of uniform coverage. It improve upon prior art in terms of dependency on the function complexity and matches the lower bound when applied to the linear setting. The framework allows for instance-dependent results. The result is interesting, although fairly incremental. A lower bound for the general case is not presented,",
22
+ "forum_id": "4kLVvIh8cp",
23
+ "primary_area": "reinforcement learning",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_FxDp",
28
+ "review_id": "57QlmYvLUo",
29
+ "scores": {
30
+ "rating": 8,
31
+ "soundness": 4,
32
+ "presentation": 3,
33
+ "contribution": 3,
34
+ "confidence": 3
35
+ },
36
+ "review_text_chars": 2773,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 442094,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_KfKk",
44
+ "review_id": "gDkpfOnz29",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 3,
48
+ "presentation": 2,
49
+ "contribution": 2,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 2207,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 819647,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_Fsc5",
60
+ "review_id": "hXEPIE1fb7",
61
+ "scores": {
62
+ "rating": 6,
63
+ "soundness": 3,
64
+ "presentation": 4,
65
+ "contribution": 3,
66
+ "confidence": 3
67
+ },
68
+ "review_text_chars": 1504,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 832244,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_38or",
76
+ "review_id": "9dAZvKIrYg",
77
+ "scores": {
78
+ "rating": 5,
79
+ "soundness": 2,
80
+ "presentation": 3,
81
+ "contribution": 2,
82
+ "confidence": 3
83
+ },
84
+ "review_text_chars": 1978,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 936766,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8813.md ADDED
@@ -0,0 +1,959 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## - PESSIMISTIC NONLINEAR LEAST-SQUARES VALUE IT ERATION FOR OFFLINE REINFORCEMENT LEARNING
2
+
3
+ Authors withheld for review
4
+
5
+ ## ABSTRACT
6
+
7
+ Offline reinforcement learning (RL), where the agent aims to learn the optimal policy based on the data collected by a behavior policy, has attracted increasing attention in recent years. While offline RL with linear function approximation has been extensively studied with optimal results achieved under certain assumptions, many works shift their interest to offline RL with non-linear function approximation. However, limited works on offline RL with non-linear function approximation have instance-dependent regret guarantees. In this paper, we propose an oracle-efficient algorithm, dubbed Pessimistic Nonlinear Least-Square Value Iteration (PNLSVI), for offline RL with non-linear function approximation. Our algorithmic design comprises three innovative components: (1) a variance-based weighted regression scheme that can be applied to a wide range of function classes, (2) a subroutine for variance estimation, and (3) a planning phase that utilizes a pessimistic value iteration approach. Our algorithm enjoys a regret bound that has a tight dependency on the function class complexity and achieves minimax optimal instance-dependent regret when specialized to linear function approximation. Our work extends the previous instance-dependent results within simpler function classes, such as linear and differentiable function to a more general framework.
8
+
9
+ ## 1 INTRODUCTION
10
+
11
+ Offline reinforcement learning (RL), also known as batch RL, is a learning paradigm where an agent learns to make decisions based on a set of pre-collected data, instead of interacting with the environment in real-time like online RL. The goal of offline RL is to learn a policy that performs well in a given task, based on historical data that was collected from an unknown environment. Recent years have witnessed significant progress in developing offline RL algorithms that can leverage large amounts of data to learn effective policies. These algorithms often incorporate powerful function approximation techniques, such as deep neural networks, to generalize across large state-action spaces. They have achieved excellent performances in a wide range of domains, including the games of Go and chess (Silver et al., 2017; Schrittwieser et al., 2020), robotics (Gu et al., 2017; Levine et al., 2018), and control systems (Degrave et al., 2022).
12
+
13
+ Several works have studied the theoretical guarantees of offline tabular RL and proved near-optimal sample complexities in this setting (Xie et al., 2021b; Shi et al., 2022; Li et al., 2022). However, these algorithms cannot handle real-world applications with large state and action spaces. Consequently, a significant body of research has devoted to offline RL with function approximation. For example, (Jin et al., 2021b) proposed the first efficient algorithm for offline RL with linear MDPs, employing the principle of pessimism. Subsequently, numerous works have presented a range of algorithms for offline RL with linear function approximation, as seen in Zanette et al. (2021); Min et al. (2021); Yin et al. (2022a); Xiong et al. (2023); Nguyen-Tang et al. (2023). Among them, some works have instance-dependent (a.k.a., problem-dependent) upper bound (Jin et al., 2021b; Yin et al., 2022a; Xiong et al., 2023; Nguyen-Tang et al., 2023), which matches the worst-case result when dealing with the “hard instance” and performs better in easy cases. To address the complexities of working with more complex function classes, recent research has shifted the focus towards offline reinforcement learning (RL) with general function approximation (Chen & Jiang, 2019; Xie et al., 2021a). Utilizing the principle of pessimism first used in Jin et al. (2021b), Xie et al. (2021a) enforced pessimism at the initial state over the set of functions consistent with the Bellman equations. Their algorithm requires solving an optimization problem over all the potential policies and corresponding version space, which includes all functions with lower Bellman-error. To overcome this limitation, Xie et al. (2021a) proposed a practical algorithm which
14
+
15
+ 1
16
+
17
+ has a poor dependency on the function class complexity. Later, Cheng et al. (2022) proposed an adversarially trained actor critic method based upon the concept of relative pessimism. Their result is not statistically optimal and was later improved by Zhu et al. (2023). Both algorithms’ implementation relies on a no-regret policy optimization oracle. Another line of works, such as (Zhan et al., 2022; Ozdaglar et al., 2023; Rashidinejad et al., 2021), sought to solve the offline RL problem through a linear programming formulation, which requires some additional convexity assumptions on the policy class. However, most of these works only have worst-case regret guarantee. The only exception is Yin et al. (2022b), which studies the general differentiable function class and proposed an LSVI-type algorithm. For more general function classes, how to get instance-dependent characterizations is still an open problem. Therefore, a natural question arises:
18
+
19
+ _Can we design a computationally tractable algorithm that is statistically efficient with respect to the complexity of nonlinear function class and has an instance-dependent regret bound?_
20
+
21
+ We give an affirmative answer to the above question in this work. Our contributions are listed as follows:
22
+
23
+ - We propose a pessimism-based algorithm Pessimistic Nonlinear Least-Square Value Iteration (PNLSVI) designed for nonlinear function approximation, which strictly generalizes the existing pessimism-based algorithms for both linear and differentiable function approximation (Xiong et al., 2023; Yin et al., 2022b). Our algorithm is oracle-efficient, i.e., it is computationally efficient when there exists an efficient regression oracle and bonus oracle for the function class (e.g., generalized linear function class). The bonus oracle can also be reduced to a finite number of calls to the regression oracle.
24
+
25
+ - We introduce a new type of _D_[2] -divergence to quantify the uncertainty of an offline dataset, which naturally extends the role of the elliptical norm seen in the linear setting and the _D_[2] -divergence in Gentile et al. (2022); Agarwal et al. (2023); Ye et al. (2023) for online RL. We prove an instancedependent regret bound characterized by this new _D_[2] -divergence. Our regret bound has a tight dependence on complexity of the function class, i.e., _O_[�] ( _[√]_ log _N_ ) with _N_ being the cardinality of the underlying function class, which improves the _O_[�] (log _N_ ) dependence[1] in (Yin et al., 2022b) and resolves the open problem raised in their paper.
26
+
27
+ **Notation:** In this work, we use lowercase letters to denote scalars and use lower and uppercase boldface letters to denote vectors and matrices respectively. For a vector **x** _∈_ R _[d]_ and matrix **Σ** _∈_ R _[d][×][d]_ , we denote by _∥_ **x** _∥_ 2 the Euclidean norm and _∥_ **x** _∥_ **Σ** = _√_ **x** _[⊤]_ **Σx** . For two sequences _{an}_ and _{bn}_ , we write _an_ = _O_ ( _bn_ ) if there exists an absolute constant _C_ such that _an ≤ Cbn_ , and we write _an_ = Ω( _bn_ ) if there exists an absolute constant _C_ such that _an ≥ Cbn_ . We use _O_[�] ( _·_ ) and Ω([�] _·_ ) to further hide the logarithmic factors. For any _a ≤ b ∈_ R, _x ∈_ R, let [ _x_ ][ _a,b_ ] denote the truncate function _a ·_ 1( _x ≤ a_ ) + _x ·_ 1( _a ≤ x ≤ b_ ) + _b ·_ 1( _b ≤ x_ ), where 1( _·_ ) is the indicator function. For a positive integer _n_ , we use [ _n_ ] = _{_ 1 _,_ 2 _, .., n}_ to denote the set of integers from 1 to _n_ .
28
+
29
+ 2 RELATED WORK **RL with function approximation.** As one of the simplest function approximation classes, linear representation in RL has been extensively studied in recent years (Jiang et al., 2017; Dann et al., 2018; Yang & Wang, 2019; Jin et al., 2020; Wang et al., 2020c; Du et al., 2019; Sun et al., 2019; Zanette et al., 2020a;b; Weisz et al., 2021; Yang & Wang, 2020; Modi et al., 2020; Ayoub et al., 2020; Zhou et al., 2021; He et al., 2021; Zhong et al., 2022). Several assumptions on the linear structure of the underlying MDPs have been made in these works, ranging from the _linear MDP_ assumption (Yang & Wang, 2019; Jin et al., 2020; Hu et al., 2022; He et al., 2022; Agarwal et al., 2023) to the _low Bellman-rank_ assumption (Jiang et al., 2017) and the _low inherent Bellman error_ assumption (Zanette et al., 2020b). Extending the previous theoretical guarantees to more general problem classes, RL with nonlinear function classes has garnered increased attention in recent years (Wang et al., 2020b; Jin et al., 2021a; Foster et al., 2021; Du et al., 2021; Agarwal & Zhang, 2022; Agarwal et al., 2023). Various complexity measures of function classes have been studied including Bellman rank (Jiang et al., 2017), Bellman-Eluder dimension (Jin et al., 2021a), Decision-Estimation Coefficient (Foster et al., 2021) and generalized Eluder dimension (Agarwal et al., 2023). Among these works, the setting in our paper is most related to Agarwal et al. (2023) where _D_[2] -divergence (Gentile et al., 2022) was introduced in RL to indicate the uncertainty of a sample with respect to a particular sample batch.
30
+
31
+ > 1In (Yin et al., 2022b), they denote by _d_ the complexity of the underlying function class, which is essentially log _N_ using our notation.
32
+
33
+ 2
34
+
35
+ **Offline tabular RL.** There is a line of works integrating the principle of pessimism to develop statistically efficient algorithms for offline tabular RL setting (Rashidinejad et al., 2021; Yin & Wang, 2021; Xie et al., 2021b; Shi et al., 2022; Li et al., 2022). More specifically, Xie et al. (2021b) utilized the variance of transition noise and proposed a nearly optimal algorithm based on pessimism and Bernstein-type bonus. Subsequently, Li et al. (2022) proposed a model-based approach that achieves minimax-optimal sample complexity without burn-in cost for tabular MDPs. Shi et al. (2022) also contributed by proposing the first nearly minimax-optimal model-free offline RL algorithm. **Offline RL with linear function approximation.** Jin et al. (2021b) presented the initial theoretical results on offline linear MDPs. They introduced a pessimism-principled algorithmic framework for offline RL and proposed an algorithm based on LSVI (Jin et al., 2020). Min et al. (2021) subsequently considered offline policy evaluation (OPE) in linear MDPs, assuming independence between data samples across time steps to obtain tighter confidence sets and proposed an algorithm with optimal _d_ dependence. Yin et al. (2022a) took one step further and considered the policy optimization in linear MDPs, which implicitly requires the same independence assumption. Zanette et al. (2021) proposed an actor-critic-based algorithm that establishes pessimism principle by directly perturbing the parameter vectors in a linear function approximation framework. Recently, Xiong et al. (2023) proposed a novel uncertainty decomposition technique via a reference function, and demonstrated their algorithm matches the performance lower bound up to logarithmic factors.
36
+
37
+ **Offline RL with general function approximation.** Chen & Jiang (2019) examined the assumptions underlying value-function approximation methods and established an information-theoretic lower bound. Xie et al. (2021a) introduced the concept of Bellman-consistent pessimism, which enables sample-efficient guarantees by relying solely on the Bellman-completeness assumption. Uehara & Sun (2021) focused on model-based offline RL with function approximation under partial coverage, demonstrating that realizability in the function class and partial coverage are sufficient for policy learning. Zhan et al. (2022) proposed an algorithm that achieves polynomial sample complexity under the realizability and single-policy concentrability assumptions. Nguyen-Tang & Arora (2023) proposed a method of random perturbations and pessimism for neural function approximation. For differentiable function classes, Yin et al. (2022b) made advancements by improving the sample complexity with respect to the planing horizon _H_ . However, their result had an additional dependence on the dimension _d_ of the parameter space, whereas in linear function approximation, the dependence is typically on _√d_ . Recently, a sequence of works focus on proposing statistically optimal and practical algorithms under single concentrability assumption. Ozdaglar et al. (2023) provided a new reformulation of linear-programming. Rashidinejad et al. (2022) used the augmented Lagrangian method and proved augmented Lagrangian is enough for statistically optimal offline RL. Cheng et al. (2022) proposed an actor-critic algorithm by formulating the offline RL problem into a Stackelberg game. However, their result is not statistically optimal and Zhu et al. (2023) improved it by combining the marginalized importance sampling framework and achieved the optimal statistical rate. We leave a comparison of these works in Appendix A.
38
+
39
+ 3 PRELIMINARIES In our work, we consider the inhomogeneous episodic Markov Decision Processes (MDP), which can be denoted by a tuple of _M_ � _S, A, H, {rh}[H] h_ =1 _[,][ {]_[P] _[h][}][H] h_ =1�. In specific, _S_ is the state space, _A_ is the finite action space, _H_ is the length of each episode. For each stage _h ∈_ [ _H_ ], _rh_ : _S ×A →_ [0 _,_ 1] is the reward function[2] and P _h_ ( _s[′] |s, a_ ) is the transition probability function, which denotes the probability for state _s_ to transfer to next state _s[′]_ with current action _a_ . A policy _π_ := _{πh}[H] h_ =1[is a collection] of mappings _πh_ from a state _s ∈S_ to the simplex of action space _A_ . For simplicity, we denote the state-action pair as _z_ := ( _s, a_ ). For any policy _π_ and stage _h ∈_ [ _H_ ], we define the value function _Vh[π]_[(] _[s]_[)][ and the action-value function] _[ Q][π] h_[(] _[s, a]_[)][ as the expected cumulative rewards starting at stage] _[ h]_[,] which can be denoted as follows:
40
+
41
+ **==> picture [382 x 31] intentionally omitted <==**
42
+
43
+ where _sh′_ +1 _∼_ P _h_ ( _·|sh′, ah′_ ) denotes the observed state at stage _h[′]_ + 1. By this definition, the value function _Vh[π]_[(] _[s]_[)][and][action-value][function] _[Q][π] h_[(] _[s, a]_[)][are][bounded][in][[0] _[, H]_[]][.] In addition, we define the optimal value function _Vh[∗]_[and][the][optimal][action-value][function] _[Q][∗] h_[as]
44
+
45
+ 2While we study the deterministic reward functions for simplicity, it is not difficult to generalize our results to stochastic reward functions.
46
+
47
+ 3
48
+
49
+ _Vh[∗]_[(] _[s]_[)][=][max] _[π][ V] h[π]_[(] _[s]_[)][and] _[Q][∗] h_[(] _[s, a]_[)][=][max] _[π][ Q][π] h_[(] _[s, a]_[)][.][We][denote][the][corresponding][optimal] policy by _π[∗]_ . For any function _V_ : _S →_ R, we denote [P _hV_ ]( _s, a_ ) = E _s′∼_ P _h_ ( _·|s,a_ ) _V_ ( _s[′]_ ) and 2 [Var _hV_ ]( _s, a_ ) = [P _hV_[2] ]( _s, a_ ) _−_ �[P _hV_ ]( _s, a_ )� for simplicity. For any function _f_ : _S × A →_ R, we define _f_ ( _s_ ) = max _a f_ ( _s, a_ ). For any function _f_ : _S →_ R[3] , we define the Bellman operator _Th_ as [ _Thf_ ]( _sh, ah_ ) = E _sh_ +1 _∼_ P _h_ ( _·|sh,ah_ ) [ _rh_ ( _sh, ah_ ) + _f_ ( _sh_ +1)]. Based on this definition, for every stage _h ∈_ [ _H_ ] and policy _π_ , we have the following Bellman equation for value functions _Q[π] h_[(] _[s, a]_[)][ and] _Vh[π]_[(] _[s]_[)][, as well as the Bellman optimality equation for optimal value functions:]
50
+
51
+ _Q[π] h_[(] _[s][h][, a][h]_[) = [] _[T][h][V] h[π]_ +1[](] _[s][h][, a][h]_[)] _[,][Q][∗] h_[(] _[s][h][, a][h]_[) = [] _[T][h][V] h[∗]_ +1[](] _[s][h][, a][h]_[)] _[,]_ where _VH[π]_ +1[(] _[s]_[)][=] _[V] H[∗]_ +1[(] _[s]_[)][=][0][.][We][also][define][the][Bellman][operator][for][second][moment][as] 2[�] [ _T_ 2 _,hf_ ]( _sh, ah_ ) = E _sh_ +1 _∼_ P _h_ ( _·|sh,ah_ ) �� _rh_ ( _sh, ah_ ) + _f_ ( _sh_ +1)� . For simplicity, we omit the subscripts _h_ in the Bellman operator without causing confusion. **Offline Reinforcement Learning:** In offline RL, the agent only has access to a batch-dataset _D_ = _{s[k] h[, a][k] h[, r] h[k]_[:] _[h][∈]_[[] _[H]_[]] _[, k][∈]_[[] _[K]_[]] _[}]_[,][which][is][collected][by][a][behavior][policy] _[µ]_[,][and][the][agent] cannot interact with the environment. We also make the compliance assumption of the dataset: **Assumption 3.1.** For a dataset _D_ = _{_ ( _s[k] h[, a][k] h[, r] h[k]_[)] _[}][K,H] k,h_ =1[, let][ P] _[D]_[be the joint distribution of the data] collecting process. We say _D_ is compliant with an underlying MDP ( _S, A, H,_ P _, r_ ) if
52
+
53
+ **==> picture [242 x 30] intentionally omitted <==**
54
+
55
+ for all _r[′] ∈_ [0 _,_ 1], _s[′] ∈S_ , _h ∈_ [ _H_ ] and _k ∈_ [ _K_ ].
56
+
57
+ This assumption is common in offline RL and has also been made in Jin et al. (2021b); Zhong et al. (2022). When the dataset originates from one behavior policy, this assumption naturally holds. In this paper, we assume our dataset is generated by a single behavior policy _µ_ . In addition, for each stage _h_ , we denote the induced distribution of the state-action pair by _d[µ] h_[.]
58
+
59
+ Given the batch dataset, the goal of offline RL is finding a near-optimal policy _π_ that minimizes the suboptimality _V_ 1 _[∗]_[(] _[s]_[)] _[ −][V]_ 1 _[π]_[(] _[s]_[)][.][For simplicity, and when there’s no risk of confusion, we will use] the shorthand notation _zh[k]_[= (] _[s][k] h[, a][k] h_[)][ to denote the state-action pair in the dataset up to stage] _[ h]_[ and] episode _k_ .
60
+
61
+ **General Function Approximation:** Given a general function class _{Fh}h∈_ [ _H_ ], where each function class _Fh_ is composed of functions _fh_ : _S × A →_ [0 _, L_ ]. For simplicity, we assume _L_ = _O_ ( _H_ ) throughout the paper. We make the following assumptions on the function class. **Assumption 3.2** ( _ϵ_ -realizability under general function approximation) **.** For each stage _h ∈_ [ _H_ ], there exists a function _fh[∗][∈F][h]_[ close to the optimal value function such that] _[ ∥][f] h[ ∗][−][Q][∗] h[∥][∞][≤][ϵ]_[.]
62
+
63
+ **Assumption 3.3** ( _ϵ_ -completeness under general function approximation, Agarwal et al. 2023) **.** We assume for each stage _h ∈_ [ _H_ ], and any function _V_ : _S →_ [0 _, H_ ], there exists functions _fh, f_ 2 _,h ∈Fh_ such that
64
+
65
+ **==> picture [352 x 17] intentionally omitted <==**
66
+
67
+ In this paper, for simplicity, we assume that the function class is finite and denote its cardinality by _N_ = max _h∈_ [ _H_ ] _|Fh|_ . For infinite function classes, we can use the covering number to replace the cardinality. Note that the covering number will be reduced to the cardinality when the function class is finite.
68
+
69
+ We introduce the following definition ( _D_[2] -divergence) to quantify the disparity of a given point _z_ = ( _s, a_ ) from the historical dataset _Dh_ . It is a reflection of the uncertainty of the dataset.
70
+
71
+ **Definition 3.4.** For a function class _Fh_ consisting of functions _fh_ : _S × A →_ R and _Dh_ = _{_ ( _s[k] h[, a][k] h[, r] h[k]_[)] _[}][k][∈]_[[] _[K]_[]][as a dataset that corresponds to the observations collected up to stage] _[ h]_[ in the] MDP, we introduce the following _D_[2] -divergence:
72
+
73
+ **==> picture [342 x 46] intentionally omitted <==**
74
+
75
+ > 3In this paper, we slightly abuse notation _f_ for both _f_ ( _s_ ) and _f_ ( _s, a_ ). The context readily clarifies the intended meaning, i.e., value function or action-value function.
76
+
77
+ 4
78
+
79
+ **Remark 3.5.** This definition signifies the extent to which the behavior of functions within the function class can deviate at the point _z_ = ( _s, a_ ), based on their difference in the historical dataset. It can be viewed as the generalization of the weighted elliptical norm _∥ϕ_ ( _s, a_ ) _∥_ **Σ** _−h_ 1 in linear case, where _ϕ_ is the feature map and **Σ** _h_ is defined as[�] _k∈_ [ _K_ ] _[σ] h[−]_[2][(] _[s] h[k][, a][k] h_[)] _[ϕ]_[(] _[s][k] h[, a][k] h_[)] _[ϕ]_[(] _[s][k] h[, a][k] h_[)] _[⊤]_[+] _[ λ]_ **[I]**[.] Similar ideas have been used to define the Generalized Eluder dimension for online RL (Gentile et al., 2022; Agarwal et al., 2023; Ye et al., 2023). In these works, the summation is over a sequence up to the _k_ -th episode rather than the entire historical dataset.
80
+
81
+ **Data Coverage Assumption:** In offline RL, there exists a discrepancy between the state-action distribution generated by the behavior policy and the distribution from the learned policy. Under this situation, the distribution shift problem can cause the learned policy to perform poorly or even fail in offline RL. In this work, we consider the following data coverage assumption to control the distribution shift.
82
+
83
+ **Assumption 3.6** (Uniform Data Coverage) **.** there exists a constant _κ >_ 0, such that for any stage _h_ and functions _f_ 1 _, f_ 2 _∈Fh_ , the following inequality holds,
84
+
85
+ **==> picture [210 x 16] intentionally omitted <==**
86
+
87
+ where the state-action pair (at stage _h_ ) ( _sh, ah_ ) is stochasticly generated from the induced distribution _d[µ] h_[.]
88
+
89
+ **Remark 3.7.** Similar uniform coverage assumptions have also been considered in Wang et al. (2020a); Min et al. (2021); Yin et al. (2022a); Xiong et al. (2023); Yin et al. (2022b). Among these works, Yin et al. (2022b) is the most related to ours, proving an instance-dependent regret bound under general function approximation. Here we make a comparison with their assumption. In detail, Yin et al. (2022b) considered the differentiable function class, which is defined as follows
90
+
91
+ **==> picture [180 x 19] intentionally omitted <==**
92
+
93
+ They introduced the following coverage assumption such that for all stage _h ∈_ [ _H_ ], there exists a constant _κ_ ,
94
+
95
+ **==> picture [316 x 37] intentionally omitted <==**
96
+
97
+ We can prove that our assumption is weaker than the first assumption (*), and we do not need the second assumption (**). This suggests that the differentiable function class studied in Yin et al. (2022b) is an example covered by our general function class.
98
+
99
+ In addition, in the special case of linear function class, the coverage assumption in Yin et al. (2022b) will reduce to the following linear function coverage assumption (Wang et al., 2020a; Min et al., 2021; Yin et al., 2022a; Xiong et al., 2023).
100
+
101
+ **==> picture [196 x 15] intentionally omitted <==**
102
+
103
+ Therefore, our assumption is also weaker than the linear function coverage assumption when dealing with the linear function class. Due to space limitations, we defer a detailed comparison to Appendix B.
104
+
105
+ **Remark 3.8.** Many works such as Uehara & Sun (2021); Xie et al. (2021a); Cheng et al. (2022); Ozdaglar et al. (2023); Rashidinejad et al. (2022); Zhu et al. (2023) adopted a weaker partial coverage assumption than ours, where the _ℓ∞_ norm on the right hand is replaced with the expectation over a distribution corresponding to a single policy, typically the optimal one. Their assumption, however, generally confines their results to worst-case scenarios. It is unclear if we can still prove the instancedependent regret under their assumption. We will explore it in the future.
106
+
107
+ 4 ALGORITHM In this section, we provide a comprehensive and detailed description of our algorithm (PNLSVI), as displayed in Algorithm 1. In the sequel, we introduce the key ideas of the proposed algorithm. 4.1 PESSIMISTIC VALUE ITERATION BASED PLANNING Our algorithm operates in two distinct phases, the Variance Estimate Phase and the Pessimistic Planning Phase. At the beginning of the algorithm, the dataset is divided into two independent disjoint subsets _D, D_[s] with equal size _K_ , and each is assigned to a specific phase.
108
+
109
+ 5
110
+
111
+ **Algorithm 1** Pessimistic Nonlinear Least-Squares Value Iteration (PNLSVI)
112
+
113
+ **Require:** Input confidence parameters _β_[¯] _h_ , _βh_ and _ϵ >_ 0. 1: **Initialize** : Split the input dataset into _D_ = _{s[k] h[, a][k] h[, r] h[k][}][K,H] k,h_ =1 _[,][D]_[s][=] _[ {][s]_[¯] _[k] h[,]_[ ¯] _[a][k] h[,]_[ ¯] _[r] h[k][}][K,H] k,h_ =1[; Set the] value function _f_[�] _H_ +1( _·_ ) = _f_[q] _H_ +1( _·_ ) = 0. 2: //Constructing the variance estimator 3: **for** stage _h_ = _H, . . . ,_ 1 **do** 4: _f_ ¯ _h_ = argmin _fh∈Fh_ � _k∈_ [ _K_ ] � _fh_ (¯ _s[k] h[,]_[ ¯] _[a][k] h_[)] _[ −][r]_[¯] _h[k][−][f]_[q] _[h]_[+1][(¯] _[s][k] h_ +1[)] �2. 2[�][2] ¯ ¯ 5: _gh_ = argmin _gh∈Fh_ � _k∈_ [ _K_ ] � _gh_ (¯ _s[k] h[,]_[ ¯] _[a][k] h_[)] _[ −]_ � _rh[k]_[+] _[f]_[q] _[h]_[+1][(¯] _[s][k] h_ +1[)] � . 6:7: Calculate a bonus function _f_ q _h ←{f_ ¯ _h −_ ¯ _bh − ϵ}_ [0 _,H−h_[¯] _b_ +1] _h_ with confidence parameter; _β_[¯] _h_ , 8: Construct the variance estimator _σ_ � _h_[2][(] _[s, a]_[) = max] 1 _,_ ¯ _gh_ ( _s, a_ ) _−_ ( _f_[¯] _h_ ( _s, a_ ))[2] _− O √_ log( ~~_√_~~ _N ·NKκ b_ ) _H_[3] . � � �� 9: **end for** 10: //Pessimistic value iteration based planning 11: **for** stage _h_ = _H, . . . ,_ 1 **do** 12: _f_ � _h_ = argmin _fh∈Fh_ � _k∈_ [ _K_ ] _σ_ � _h_[2][(] _[s]_ 1 _[k] h[,a][k] h_[)] � _fh_ ( _s[k] h[, a][k] h_[)] _[ −][r] h[k][−][f]_[�] _[h]_[+1][(] _[s][k] h_ +1[)] �2 13:14: Calculate a bonus function _f_ � _h ←{f_ � _h − bh − ϵ}_ [0 _,H−h b_ +1] _h_ with bonus parameter; _βh_ ; � 15: _πh_ ( _·|s_ ) = argmax _a f_[�] _h_ ( _s, a_ ). 16: **end for** � � 17: **Output:** _π_ = _{πh}[H] h_ =1[.]
114
+
115
+ **==> picture [19 x 6] intentionally omitted <==**
116
+
117
+ The basic framework of our algorithm follows the pessimistic value iteration, which was initially introduced by Jin et al. (2021b). In details, for each stage _h ∈_ [ _H_ ], we construct the estimator value function _f_[�] _h_ by solving the following variance-weighted ridge regression (Line 13):
118
+
119
+ **==> picture [272 x 29] intentionally omitted <==**
120
+
121
+ where � _σh_[2][is the estimated variance and will be discussed in Section 4.2.][In Line 14, we subtract the] confidence bonus function _bh_ from the estimator value function _f_[�] _h_ to construct the pessimistic value function _f_[�] _h_ . With the help of the confidence bonus function _bh_ , the pessimistic value function _f_[�] _h_ is almost a lower bound for the optimal value function _fh[∗]_[.][The details of the bonus function will be] discussed in Section 4.3. Based on the pessimistic value function _f_[�] _h_ for horizon _h_ , we recursively perform the value iteration for the horizon _h −_ 1. Finally, we use the pessimistic value function _f_[�] _h_ to do planning and output the greedy policy with respect to the pessimistic value function _f_[�] _h_ (Lines 15 - 17). 4.2 VARIANCE ESTIMATOR In this phase, we provide an estimator for the variance _σ_ � _h_ in the weighted ridge regression. We construct this variance estimator with _D_[s] , thus independent of _D_ . Using a larger bonus function[¯] _bh_ , we conduct a pessimistic value iteration process similar to that discussed in Section 4.1 and obtain a more crude estimated value function _{f_[q] _h}h∈_ [ _H_ ]. According to the definition of Bellman operators _T_ and _T_ 2, the variance of the function _f_[q] _h_ +1 for each state-action pair ( _s, a_ ) can be denoted by
122
+
123
+ **==> picture [238 x 21] intentionally omitted <==**
124
+
125
+ Therefore, we need to estimate the first-order and second-order moments for _f_[q] _h_ +1. We perform nonlinear least-squares regression separately for each of these moments. Specifically, in Line 4, we conduct regression to estimate the first-order moment.
126
+
127
+ **==> picture [224 x 28] intentionally omitted <==**
128
+
129
+ 6
130
+
131
+ In Line 5, we perform regression for estimating the second-order moment.
132
+
133
+ **==> picture [244 x 32] intentionally omitted <==**
134
+
135
+ In this phase, we set the variance function to 1 for each state-action pair ( _s, a_ ). Combing these two regression results and subtracting some perturbing terms (We will discuss in Section 6.1), we create a pessimistic estimator for the variance function (Lines 7 to 8). 4.3 NONLINEAR BONUS FUNCTION As we discuss in Sections 4.1 and 4.2, following Wang et al. (2020b); Kong et al. (2021); Agarwal et al. (2023), we introduce a bonus function. This function is designed to account for the functional uncertainty, enabling us to develop a pessimistic estimate of the value function. Ideally, we hope to choose _bh_ ( _·, ·_ ) = _βhDFh_ ( _·, ·_ ; _Dh_ ; � _σh_[2][)][, where] _[ β][h]_[ is the confidence parameter and] _[ D][F] h_[(] _[·][,][ ·]_[;] _[ D][h]_[;][ �] _[σ] h_[2][)] is defined in Definition 3.4. However, the _D_[2] -divergence composes a complex function class, and its calculation involves solving a complex optimization problem. To address this issue, following Agarwal et al. (2023), we assume there exists a function class _W_ with cardinally _|W|_ = _Nb_ and can approximate the _D_[2] -divergence well. For the parameters _βh_ , _λ ≥_ 0, error parameter _ϵ ≥_ 0, taking a variance function _σh_ ( _·, ·_ ) : _S × A →_ R and _f_[�] _h ∈Fh_ as input, we can get a bonus function _bh_ ( _·, ·_ ) _∈W_ satisfying the following properties:
136
+
137
+ **==> picture [399 x 39] intentionally omitted <==**
138
+
139
+ We can implement the function class _W_ with bounded _Nb_ by extending the online subsampling framework presented in Wang et al. (2020b); Kong et al. (2021) to an offline dataset. Additionally, using Algorithm 1 of Kong et al. (2021), we can calculate the bonus function with finite calls of the oracle for solving the variance-weighted ridge regression problem. We leave a detailed discussion to Appendix C.
140
+
141
+ 5 MAIN RESULTS
142
+
143
+ In this section, we prove an instance-dependent regret bound of Algorithm 1.
144
+
145
+ log( _N ·Nb_ ) _H_[6] **Theorem 5.1.** Under Assumption 3.6, for _K ≥_ Ω[�] � _κ_[2] �, if we set the parameters
146
+
147
+ _β_ 1 _[′] ,h[, β]_ 2 _[′] ,h_[=] _[O]_[�][(] �log( _N · Nb_ ) _H_[2] ) and _βh_ = _O_[�] ( _[√]_ log _N_ ) in Algorithm 1, then with probability at least 1 _− δ_ , for any state _s ∈S_ , we have
148
+
149
+ _V_ 1 _[∗]_[(] _[s]_[)] _[ −][V]_ 1 _[π]_[�][(] _[s]_[)] _[ ≤][O]_[�][(] ~~�~~ log _N_ )[�] _[H] h_ =1[E] _[π][∗]_[�] _DFh_ ( _zh_ ; _Dh_ ; [V _hVh[∗]_ +1[](] _[·][,][ ·]_[))] _[|][s]_[1][=] _[ s]_ � _,_
150
+
151
+ where [V _hVh[∗]_ +1[](] _[s, a]_[) = max] _[{]_[1] _[,]_[ [][Var] _[h][V] h[∗]_ +1[](] _[s, a]_[)] _[}]_[ is the truncated conditional variance.] This theorem establishes an upper bound for the suboptimality of our policy � _π_ . The bound depends on the expected uncertainty, which is characterized by the weighted _D_[2] -divergence along the trajectory, marking itself as an instance-dependent result. It’s noteworthy that both the trajectory and the weight function are based on the optimal policy and the optimal value function, respectively. This bound necessitates that the dataset size _K_ is sufficiently large. Furthermore, all parameters are determined solely by the complexity of the function class, the horizon length _H_ , and the data coverage assumption constant _κ_ , regardless of the dataset’s composition.
152
+
153
+ **Remark** _O_ �( _[√]_ log _N_ **5.2.** ), which is better than that in Yin et al. (2022b), which scales asIn Theorem 5.1, the dependence on the cardinality of the _O_[�] function(log _N_ ).classThis improvedscales as dependence is due to the reference-advantage decomposition (discussed in Section 6.2), which avoids the unnecessary covering argument. Thus we resolve the open problem raised by Yin et al. (2022b), i.e., how to achieve the _O_[�] ( _[√]_ log _N_ ) dependence.
154
+
155
+ **Remark 5.3.** When specialized to linear MDPs (Jin et al., 2020), the following function class
156
+
157
+ _Fh_[lin][=] _[ {⟨]_ _**[ϕ]**_[(] _[·][,][ ·]_[)] _[,]_ _**[ θ]**[h][⟩]_[:] _**[ θ]**[h][∈]_[R] _[d][,][ ∥]_ _**[θ]**[h][∥]_[2] _[≤][B][h][}]_[ for any] _[ h][ ∈]_[[] _[H]_[]] _[,]_
158
+
159
+ suffices and satisfies the completeness assumption (Assumption 3.3). Let _Fh_[lin][(] _[ϵ]_[)][ be an] _[ ϵ]_[-net of the] linear function class _Fh_[lin][,][with][log] _[ |F] h_[lin][(] _[ϵ]_[)] _[|]_[=] _[O]_[�][(] _[d]_[)][.][The][dependency][of][the][function][class][will] reduce to _O_[�] ( _[√]_ log _N_ ) = _O_[�] ( _√d_ ). For linear function class, we can prove the following inequality: _DFh_ lin[(] _[ϵ]_[)][(] _[z]_[;] _[ D][h]_[; [][V] _[h][V] h[∗]_ +1[](] _[·][,][ ·]_[))] _[ ≤∥]_ _**[ϕ]**_[(] _[z]_[)] _[∥]_ Σ _[∗−] h_[1] _,_
160
+
161
+ 7
162
+
163
+ where Σ _[∗] h_[=][ �] _k∈_ [ _K_ ] _**[ϕ]**_[(] _[s] h[k][, a][k] h_[)] _**[ϕ]**_[(] _[s][k] h[, a][k] h_[)] _[⊤][/]_[[][V] _[h][V] h[∗]_ +1[](] _[s] h[k][, a][k] h_[) +] _[ λ]_ **[I]**[.][Therefore, our regret guarantee] in Theorem 5.1 is reduced to
164
+
165
+ **==> picture [262 x 30] intentionally omitted <==**
166
+
167
+ which matches the lower bound proved in Xiong et al. (2023). This suggests that our algorithm is optimal for linear MDPs.
168
+
169
+ 6 KEY TECHNIQUES In this section, we provide an overview of the key techniques in our algorithm design and analysis. 6.1 VARIANCE ESTIMATOR WITH NONLINEAR FUNCTION CLASS In our work, we extend the technique of variance-weighted ridge regression, first introduced in Zhou et al. (2021) for online RL, and later used by Min et al. (2021); Yin et al. (2022a;b); Xiong et al. (2023) for offline RL with linear MDPs, to general nonlinear function class _F_ . We use the following nonlinear least-squares regression to estimate the underlying value function:
170
+
171
+ **==> picture [272 x 29] intentionally omitted <==**
172
+
173
+ For this regression, it is crucial to obtain a reliable evaluation for the variance of the estimated cumulative reward _rh[k]_[+] _[f]_[�] _[h]_[+1][(] _[s][k] h_ +1[)][.][As discussed in Section 4.2, we use] _[D]_[s][ to construct a variance] estimator independent from _D_ . According to the definition of Bellman operators _T_ and _T_ 2, the variance of the function _f_[q] _h_ +1 for each state-action pair ( _s, a_ ) can be denoted by
174
+
175
+ **==> picture [238 x 21] intentionally omitted <==**
176
+
177
+ In our algorithm, we perform nonlinear least-squares regression on _D_[s] . For simplicity, we denote the empirical variance as B _h_ ( _s, a_ ) = _g_ ¯ _h_ ( _s, a_ ) _−_ � _f_ ¯ _h_ ( _s, a_ )�2, and the difference between empirical variance B _h_ ( _s, a_ ) and actual variance [Var _hf_[q] _h_ +1]( _s, a_ ) is upper bound by
178
+
179
+ ���B _h_ ( _s, a_ ) _−_ [Var _h_ q _fh_ +1]( _s, a_ )��� _≤_ ��� _g_ ¯ _h_ ( _s, a_ ) _−_ [ _T_ 2 _,h_ q _fh_ +1]( _s, a_ )��� + ����� _fh_ ( _s, a_ )�2 _−_ �[ _Thf_[q] _h_ +1]( _s, a_ )�2[�] �� _._
180
+
181
+ For these nonlinear function estimators, the following lemmas provide coarse concentration properties for the first and second order Bellman operators.
182
+
183
+ **Lemma 6.1.** For any stage _h ∈_ [ _H_ ], let _f_[q] _h_ +1( _·, ·_ ) _≤ H_ be the estimated value function constructed in Algorithm 1 Line 7. By utilizing Assumption 3.3, there exists a function _f_[¯] _h[′][∈F][h]_[, satisfying that] _|f_[¯] _h[′]_[(] _[z][h]_[)] _[ −]_[[] _[T][h]_[ q] _[f][h]_[+1][](] _[z][h]_[)] _[| ≤][ϵ]_[ holds for all state-action pair] _[ z][h]_[= (] _[s][h][, a][h]_[)][.][Then with probability at] least 1 _− δ/_ (4 _H_ ), it holds that
184
+
185
+ **==> picture [160 x 17] intentionally omitted <==**
186
+
187
+ where _β_[¯] 1 _,h_ = _O_[�] � ~~�~~ log( _N · Nb_ ) _H_ �, and _f_[¯] _h_ is the estimated function for first-moment Bellman operator (Line 4 in Algorithm 1).
188
+
189
+ **Lemma 6.2.** For any stage _h ∈_ [ _H_ ], let _f_[q] _h_ +1( _·, ·_ ) _≤ H_ be the estimated value function constructed in Algorithm 1 Line 7. By utilizing Assumption 3.3, there exists a function ¯ _gh[′][∈F][h]_[, satisfying that] _|g_ ¯ _h[′]_[(] _[z][h]_[)] _[ −]_[[] _[T]_[2] _[,h]_[ q] _[f][h]_[+1][](] _[z][h]_[)] _[| ≤][ϵ]_[ holds for all state-action pair] _[ z][h]_[= (] _[s][h][, a][h]_[)][.][Then with probability at] least 1 _− δ/_ (4 _H_ ), it holds that
190
+
191
+ **==> picture [160 x 16] intentionally omitted <==**
192
+
193
+ where _β_[¯] 2 _,h_ = _O_[�] ��log( _N · Nb_ ) _H_[2][�] , and ¯ _gh_ is the estimated function for second-moment Bellman operator (Line 5 in Algorithm 1).
194
+
195
+ Notice that all of the previous analysis focuses on the estimated function _f_[q] _h_ +1. By leveraging an induction procedure similar to existing works in the linear case (Jin et al., 2021b), we can control the distance between the estimated function _f_[q] _h_ +1 and the optimal value function _fh[∗]_ +1[.][In details, with high]
196
+
197
+ 8
198
+
199
+ probability, for all stage _h ∈_ [ _H_ ], the distance is upper bounded by _O_[�] � ~~�~~ log( _N · Nb_ ) _H_[3] _/√Kκ_ �. This result allows us to further bound the difference between [Var _hf_[q] _h_ +1]( _s, a_ ) and [Var _hfh[∗]_ +1[](] _[s, a]_[)][.] Therefore, the concentration properties in Lemmas 6.1 and 6.2 enable us to add some perturbation terms and construct a variance estimator, which satisfies the following property:
200
+
201
+ **==> picture [347 x 26] intentionally omitted <==**
202
+
203
+ where [V _hVh[∗]_ +1[](] _[s, a]_[) = max] _[{]_[1] _[,]_[ [][Var] _[h][V] h[∗]_ +1[](] _[s, a]_[)] _[}]_[ is the truncated conditional variance.] 6.2 REFERENCE-ADVANTAGE DECOMPOSITION To obtain the optimal dependency on the function class complexity, we need to tackle the challenge of additional error from uniform concentration over the whole function class _Fh_ . To address this problem, we utilize the so-called reference-advantage decomposition technique, which was used by (Xiong et al., 2023) to achieve the optimal regret for offline RL with linear function approximation. We generalize this technique to nonlinear function approximation. We provide detailed insights into this approach as follows:
204
+
205
+ **==> picture [380 x 63] intentionally omitted <==**
206
+
207
+ We decompose the Bellman error into two parts: the Reference uncertainty and the Advantage uncertainty. For the first term, the optimal value function _fh[∗]_ +1[is fixed and not related to the pre-] collected dataset, which circumvents additional uniform concentration over the whole function class and avoids any dependence on the function class complexity. For the second term, it is worth noticing that the distance between the estimated function _f_[�] _h_ +1 and the optimal value function _fh[∗]_[decreases] with the speed of _O_ (1 _/√Kκ_ ). Though, we still need to maintain the uniform convergence guarantee, the Advantage uncertainty is dominated by the Reference uncertainty when the number of episodes _K_ is large enough. Such an analysis approach has been first studied in the online RL setting (Azar et al., 2017; Zhang et al., 2021; Hu et al., 2022; He et al., 2022; Agarwal et al., 2023) and later in the offline environment by Xiong et al. (2023). Previous works, such as Yin et al. (2022b), didn’t adapt the reference-advantage decomposition analysis to their nonlinear function class, resulting in a parameter space dependence that scales with _d_ , instead of the optimal _√d_ . By integrating these results, we can prove a variance-weighted concentration inequality for Bellman operators.
208
+
209
+ **Lemma** � **6.3.** For each stage _h ∈_ [ _H_ ], assuming the variance estimator _σ_ � _h_ satisfies (6.1), let _fh_ +1( _·, ·_ ) _≤ H_ be the estimated value function constructed in Algorithm 1 Line 14. Then with 2 probability at least 1 _− δ/_ (4 _H_ ), it holds that[�] _k∈_ [ _K_ ] ( _σ_ � _h_ (1 _zh[k]_[))][2] �[ _Thf_[�] _h_ +1]( _zh[k]_[)] _[ −][f]_[�] _[h]_[(] _[z] h[k]_[)] � _≤_ ( _βh_ )[2] _,_ where _βh_ = _O_[�] ( _[√]_ log _N_ ) and _f_[�] _h_ is the estimated function from the weighted ridge regression (Line 12 in Algorithm 1).
210
+
211
+ After controlling the Bellman error, with a similar argument to Jin et al. (2021b), we obtain the following lemma, which provides an upper bound for the regret.
212
+
213
+ � **Lemma 6.4** (Regret Decomposition Property) **.** If [ _Th_ � _fh_ +1]( _z_ ) _− fh_ ( _z_ ) _≤ bh_ ( _z_ ) holds for all stage ��� ��� _h ∈_ [ _H_ ] and state-action pair _z_ = ( _s, a_ ) _∈S × A_ , then the suboptimality of the output policy � _π_ in Algorithm 1 can be bounded as
214
+
215
+ _V_ 1 _[∗]_[(] _[s]_[)] _[ −][V]_ 1 _[π]_[�][(] _[s]_[)] _[ ≤]_[2][�] _[H] h_ =1[E] _[π][∗]_[[] _[b][h]_[ (] _[s][h][, a][h]_[)] _[ |][ s]_[1][=] _[ s]_[]] _[ .]_ Here, the expectation E _π∗_ is with respect to the trajectory induced by _π[∗]_ in the underlying MDP. Combining the results in Lemmas 6.3 and 6.4, we have proved Theorem 5.1.
216
+
217
+ 7 CONCLUSION AND FUTURE WORK
218
+
219
+ In this paper, we present Pessimistic Nonlinear Least-Square Value Iteration (PNLSVI), an oracleefficient algorithm for offline RL with non-linear function approximation. Our result matches the lower bound proved in Xiong et al. (2023) when specialized to linear function approximation. We notice that our uniform coverage assumption can sometimes be strong in practice. In our future work, we plan to relax this assumption by devising algorithms for nonlinear function classes under a partial coverage assumption.
220
+
221
+ 9
222
+
223
+ REFERENCES
224
+
225
+ - Alekh Agarwal and Tong Zhang. Model-based rl with optimistic posterior sampling: Structural conditions and sample complexity. _arXiv preprint arXiv:2206.07659_ , 2022.
226
+
227
+ - Alekh Agarwal, Yujia Jin, and Tong Zhang. Vo _q_ l: Towards optimal regret in model-free rl with nonlinear function approximation. In _The Thirty Sixth Annual Conference on Learning Theory_ , pp. 987–1063. PMLR, 2023.
228
+
229
+ - Alex Ayoub, Zeyu Jia, Csaba Szepesvari, Mengdi Wang, and Lin Yang. Model-based reinforcement learning with value-targeted regression. In _International Conference on Machine Learning_ , pp. 463–474. PMLR, 2020.
230
+
231
+ - Mohammad Gheshlaghi Azar, Ian Osband, and Remi´ Munos. Minimax regret bounds for reinforcement learning. In _International Conference on Machine Learning_ , pp. 263–272. PMLR, 2017.
232
+
233
+ - ´
234
+
235
+ - Nicolo Cesa-Bianchi and Gabor Lugosi. _Prediction, learning, and games_ . Cambridge university press, 2006.
236
+
237
+ - Jinglin Chen and Nan Jiang. Information-theoretic considerations in batch reinforcement learning. In _International Conference on Machine Learning_ , pp. 1042–1051. PMLR, 2019.
238
+
239
+ - Ching-An Cheng, Tengyang Xie, Nan Jiang, and Alekh Agarwal. Adversarially trained actor critic for offline reinforcement learning. In _International Conference on Machine Learning_ , pp. 3852–3878. PMLR, 2022.
240
+
241
+ - Christoph Dann, Nan Jiang, Akshay Krishnamurthy, Alekh Agarwal, John Langford, and Robert E Schapire. On oracle-efficient pac rl with rich observations. _Advances in neural information processing systems_ , 31, 2018.
242
+
243
+ - Jonas Degrave, Federico Felici, Jonas Buchli, Michael Neunert, Brendan Tracey, Francesco Carpanese, Timo Ewalds, Roland Hafner, Abbas Abdolmaleki, Diego de Las Casas, et al. Magnetic control of tokamak plasmas through deep reinforcement learning. _Nature_ , 602(7897):414–419, 2022.
244
+
245
+ - Simon Du, Sham Kakade, Jason Lee, Shachar Lovett, Gaurav Mahajan, Wen Sun, and Ruosong Wang. Bilinear classes: A structural framework for provable generalization in rl. In _International Conference on Machine Learning_ , pp. 2826–2836. PMLR, 2021.
246
+
247
+ Simon S Du, Sham M Kakade, Ruosong Wang, and Lin F Yang. Is a good representation sufficient for sample efficient reinforcement learning? _arXiv preprint arXiv:1910.03016_ , 2019.
248
+
249
+ - Dylan Foster, Alekh Agarwal, Miroslav Dud´ık, Haipeng Luo, and Robert Schapire. Practical contextual bandits with regression oracles. In _International Conference on Machine Learning_ , pp. 1539–1548. PMLR, 2018.
250
+
251
+ - Dylan J Foster, Sham M Kakade, Jian Qian, and Alexander Rakhlin. The statistical complexity of interactive decision making. _arXiv preprint arXiv:2112.13487_ , 2021.
252
+
253
+ - Claudio Gentile, Zhilei Wang, and Tong Zhang. Achieving minimax rates in pool-based batch active learning. In _International Conference on Machine Learning_ , pp. 7339–7367. PMLR, 2022.
254
+
255
+ - Shixiang Gu, Ethan Holly, Timothy Lillicrap, and Sergey Levine. Deep reinforcement learning for robotic manipulation with asynchronous off-policy updates. In _2017 IEEE international conference on robotics and automation (ICRA)_ , pp. 3389–3396. IEEE, 2017.
256
+
257
+ - Jiafan He, Dongruo Zhou, and Quanquan Gu. Logarithmic regret for reinforcement learning with linear function approximation. In _International Conference on Machine Learning_ , pp. 4171–4180. PMLR, 2021.
258
+
259
+ 10
260
+
261
+ Jiafan He, Heyang Zhao, Dongruo Zhou, and Quanquan Gu. Nearly minimax optimal reinforcement learning for linear markov decision processes. _arXiv preprint arXiv:2212.06132_ , 2022.
262
+
263
+ - Pihe Hu, Yu Chen, and Longbo Huang. Nearly minimax optimal reinforcement learning with linear function approximation. In _International Conference on Machine Learning_ , pp. 8971–9019. PMLR, 2022.
264
+
265
+ - Nan Jiang, Akshay Krishnamurthy, Alekh Agarwal, John Langford, and Robert E Schapire. Contextual decision processes with low bellman rank are pac-learnable. In _International Conference on Machine Learning_ , pp. 1704–1713. PMLR, 2017.
266
+
267
+ - Chi Jin, Zhuoran Yang, Zhaoran Wang, and Michael I Jordan. Provably efficient reinforcement learning with linear function approximation. In _Conference on Learning Theory_ , pp. 2137–2143. PMLR, 2020.
268
+
269
+ - Chi Jin, Qinghua Liu, and Sobhan Miryoosefi. Bellman eluder dimension: New rich classes of rl problems, and sample-efficient algorithms. _Advances in neural information processing systems_ , 34:13406–13418, 2021a.
270
+
271
+ - Ying Jin, Zhuoran Yang, and Zhaoran Wang. Is pessimism provably efficient for offline rl? In _International Conference on Machine Learning_ , pp. 5084–5096. PMLR, 2021b.
272
+
273
+ - Dingwen Kong, Ruslan Salakhutdinov, Ruosong Wang, and Lin F Yang. Online sub-sampling for reinforcement learning with general function approximation. _arXiv preprint arXiv:2106.07203_ , 2021.
274
+
275
+ - Akshay Krishnamurthy, Alekh Agarwal, Tzu-Kuo Huang, Hal Daume III, and John Langford.´ Active learning for cost-sensitive classification. In _International Conference on Machine Learning_ , pp. 1915–1924. PMLR, 2017.
276
+
277
+ - Sergey Levine, Peter Pastor, Alex Krizhevsky, Julian Ibarz, and Deirdre Quillen. Learning handeye coordination for robotic grasping with deep learning and large-scale data collection. _The International journal of robotics research_ , 37(4-5):421–436, 2018.
278
+
279
+ Gen Li, Laixi Shi, Yuxin Chen, Yuejie Chi, and Yuting Wei. Settling the sample complexity of model-based offline reinforcement learning. _arXiv preprint arXiv:2204.05275_ , 2022.
280
+
281
+ - Yifei Min, Tianhao Wang, Dongruo Zhou, and Quanquan Gu. Variance-aware off-policy evaluation with linear function approximation. _Advances in neural information processing systems_ , 34: 7598–7610, 2021.
282
+
283
+ - Aditya Modi, Nan Jiang, Ambuj Tewari, and Satinder Singh. Sample complexity of reinforcement learning using linearly combined model ensembles. In _International Conference on Artificial Intelligence and Statistics_ , pp. 2010–2020. PMLR, 2020.
284
+
285
+ - Thanh Nguyen-Tang and Raman Arora. Viper: Provably efficient algorithm for offline rl with neural function approximation. In _The Eleventh International Conference on Learning Representations_ , 2023.
286
+
287
+ - Thanh Nguyen-Tang, Ming Yin, Sunil Gupta, Svetha Venkatesh, and Raman Arora. On instancedependent bounds for offline reinforcement learning with linear function approximation. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 37, pp. 9310–9318, 2023.
288
+
289
+ - Asuman E Ozdaglar, Sarath Pattathil, Jiawei Zhang, and Kaiqing Zhang. Revisiting the linearprogramming framework for offline rl with general function approximation. In _International Conference on Machine Learning_ , pp. 26769–26791. PMLR, 2023.
290
+
291
+ - Paria Rashidinejad, Banghua Zhu, Cong Ma, Jiantao Jiao, and Stuart Russell. Bridging offline reinforcement learning and imitation learning: A tale of pessimism. _Advances in Neural Information Processing Systems_ , 34:11702–11716, 2021.
292
+
293
+ - Paria Rashidinejad, Hanlin Zhu, Kunhe Yang, Stuart Russell, and Jiantao Jiao. Optimal conservative offline rl with general function approximation via augmented lagrangian. In _The Eleventh International Conference on Learning Representations_ , 2022.
294
+
295
+ 11
296
+
297
+ - Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, et al. Mastering atari, go, chess and shogi by planning with a learned model. _Nature_ , 588(7839):604–609, 2020.
298
+
299
+ - Laixi Shi, Gen Li, Yuting Wei, Yuxin Chen, and Yuejie Chi. Pessimistic q-learning for offline reinforcement learning: Towards optimal sample complexity. In _International Conference on Machine Learning_ , pp. 19967–20025. PMLR, 2022.
300
+
301
+ - David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. _nature_ , 550(7676):354–359, 2017.
302
+
303
+ - Wen Sun, Nan Jiang, Akshay Krishnamurthy, Alekh Agarwal, and John Langford. Model-based rl in contextual decision processes: Pac bounds and exponential improvements over model-free approaches. In _Conference on learning theory_ , pp. 2898–2933. PMLR, 2019.
304
+
305
+ - Masatoshi Uehara and Wen Sun. Pessimistic model-based offline reinforcement learning under partial coverage. In _International Conference on Learning Representations_ , 2021.
306
+
307
+ - Ruosong Wang, Dean P Foster, and Sham M Kakade. What are the statistical limits of offline rl with linear function approximation? _arXiv preprint arXiv:2010.11895_ , 2020a.
308
+
309
+ - Ruosong Wang, Russ R Salakhutdinov, and Lin Yang. Reinforcement learning with general value function approximation: Provably efficient approach via bounded eluder dimension. _Advances in Neural Information Processing Systems_ , 33:6123–6135, 2020b.
310
+
311
+ - Yining Wang, Ruosong Wang, Simon Shaolei Du, and Akshay Krishnamurthy. Optimism in reinforcement learning with generalized linear function approximation. In _International Conference on Learning Representations_ , 2020c.
312
+
313
+ - Gellert Weisz, Philip Amortila, and Csaba Szepesv´ ari.´ Exponential lower bounds for planning in mdps with linearly-realizable optimal action-value functions. In _Algorithmic Learning Theory_ , pp. 1237–1264. PMLR, 2021.
314
+
315
+ - Tengyang Xie, Ching-An Cheng, Nan Jiang, Paul Mineiro, and Alekh Agarwal. Bellman-consistent pessimism for offline reinforcement learning. _Advances in neural information processing systems_ , 34:6683–6694, 2021a.
316
+
317
+ - Tengyang Xie, Nan Jiang, Huan Wang, Caiming Xiong, and Yu Bai. Policy finetuning: Bridging sample-efficient offline and online reinforcement learning. _Advances in neural information processing systems_ , 34:27395–27407, 2021b.
318
+
319
+ - Wei Xiong, Han Zhong, Chengshuai Shi, Cong Shen, Liwei Wang, and Tong Zhang. Nearly minimax optimal offline reinforcement learning with linear function approximation: Single-agent mdp and markov game. In _International Conference on Learning Representations (ICLR)_ , 2023.
320
+
321
+ - Lin Yang and Mengdi Wang. Sample-optimal parametric q-learning using linearly additive features. In _International Conference on Machine Learning_ , pp. 6995–7004, 2019.
322
+
323
+ - Lin Yang and Mengdi Wang. Reinforcement learning in feature space: Matrix bandit, kernels, and regret bound. In _International Conference on Machine Learning_ , pp. 10746–10756. PMLR, 2020.
324
+
325
+ - Chenlu Ye, Wei Xiong, Quanquan Gu, and Tong Zhang. Corruption-robust algorithms with uncertainty weighting for nonlinear contextual bandits and markov decision processes. In _International Conference on Machine Learning_ , pp. 39834–39863. PMLR, 2023.
326
+
327
+ - Ming Yin and Yu-Xiang Wang. Towards instance-optimal offline reinforcement learning with pessimism. _Advances in neural information processing systems_ , 34:4065–4078, 2021.
328
+
329
+ - Ming Yin, Yaqi Duan, Mengdi Wang, and Yu-Xiang Wang. Near-optimal offline reinforcement learning with linear representation: Leveraging variance information with pessimism. _arXiv preprint arXiv:2203.05804_ , 2022a.
330
+
331
+ 12
332
+
333
+ Ming Yin, Mengdi Wang, and Yu-Xiang Wang. Offline reinforcement learning with differentiable function approximation is provably efficient. In _The Eleventh International Conference on Learning Representations_ , 2022b.
334
+
335
+ - Andrea Zanette, David Brandfonbrener, Emma Brunskill, Matteo Pirotta, and Alessandro Lazaric. Frequentist regret bounds for randomized least-squares value iteration. In _International Conference on Artificial Intelligence and Statistics_ , pp. 1954–1964. PMLR, 2020a.
336
+
337
+ - Andrea Zanette, Alessandro Lazaric, Mykel Kochenderfer, and Emma Brunskill. Learning near optimal policies with low inherent bellman error. In _International Conference on Machine Learning_ , pp. 10978–10989. PMLR, 2020b.
338
+
339
+ - Andrea Zanette, Martin J Wainwright, and Emma Brunskill. Provable benefits of actor-critic methods for offline reinforcement learning. _Advances in neural information processing systems_ , 34:13626– 13640, 2021.
340
+
341
+ - Wenhao Zhan, Baihe Huang, Audrey Huang, Nan Jiang, and Jason Lee. Offline reinforcement learning with realizability and single-policy concentrability. In _Conference on Learning Theory_ , pp. 2730–2775. PMLR, 2022.
342
+
343
+ - Zihan Zhang, Xiangyang Ji, and Simon Du. Is reinforcement learning more difficult than bandits? a near-optimal algorithm escaping the curse of horizon. In _Conference on Learning Theory_ , pp. 4528–4531. PMLR, 2021.
344
+
345
+ - Han Zhong, Wei Xiong, Jiyuan Tan, Liwei Wang, Tong Zhang, Zhaoran Wang, and Zhuoran Yang. Pessimistic minimax value iteration: Provably efficient equilibrium learning from offline datasets. In _International Conference on Machine Learning_ , pp. 27117–27142. PMLR, 2022.
346
+
347
+ - Dongruo Zhou, Quanquan Gu, and Csaba Szepesvari. Nearly minimax optimal reinforcement learning for linear mixture markov decision processes. In _Conference on Learning Theory_ , pp. 4532–4576. PMLR, 2021.
348
+
349
+ - Hanlin Zhu, Paria Rashidinejad, and Jiantao Jiao. Importance weighted actor-critic for optimal conservative offline reinforcement learning. _arXiv preprint arXiv:2301.12714_ , 2023.
350
+
351
+ 13
352
+
353
+ ## A COMPARISON OF OFFLINE RL ALGORITHMS
354
+
355
+ In this section, we make a comparison between different offline RL algorithms, concerning their algorithm type, function approximation class, data coverage assumption, used oracles, and regret type. In the upper part are the algorithms with worst-case regret, while in the lower part are those with instance-dependent regret.
356
+
357
+ Table 1: Comparison of offline RL algorithms in terms of algorithm type, function classes, data coverage assumption, types of oracle and regret-type.
358
+
359
+ |Algorithm|Algorithm Type|Function|Data Coverage|Types of Oracle|Regret Type|
360
+ |---|---|---|---|---|---|
361
+ |||Classes||||
362
+ |Xie et al. (2021a)|Bellman-|General|Partial|Optimization on|Worst-case|
363
+ ||consistent|||Policy and||
364
+ ||Pessimism|||Function Class||
365
+ |CPPO-TV|MLE|General|Partial|Optimization on|Worst-case|
366
+ |Uehara & Sun||||Policy and||
367
+ |(2021)||||Hypothesis Class||
368
+ |CORAL|Augmented|General|Partial|Optimization on|Worst-case|
369
+ |Rashidinejad|Lagrangian with|||Policy and||
370
+ |et al. (2022)|MIS|||Function Class||
371
+ |Reformulated LP|Linear Program|General|Partial|Linear|Worst-case|
372
+ |Ozdaglar et al.||||Programming||
373
+ |(2023)||||||
374
+ |ATAC Cheng|Actor Critic|General|Partial|No-regret Policy|Worst-case|
375
+ |et al. (2022)||||Optimization and||
376
+ |||||Optimization on||
377
+ |||||the Function||
378
+ |||||Class||
379
+ |A-Crab Zhu et al.|Actor Critic|General|Partial|No-regret Policy|Worst-case|
380
+ |(2023)||||Optimization and||
381
+ |||||Optimization on||
382
+ |||||the Function||
383
+ |||||Class||
384
+ |LinPEVI-ADV+|LSVI-type|Linear|Uniform|/|Instance-|
385
+ |Xiong et al.|||||dependent|
386
+ |(2023)||||||
387
+ |PFQL Yin et al.|LSVI-type|Differentible|Uniform|Gradient Oracle|Instance-|
388
+ |(2022b)||||and Optimization|dependent|
389
+ |||||on the Function||
390
+ |||||Class||
391
+ |PNLSVI (Our|LSVI-type|General|Uniform|Regression|Instance-|
392
+ |work)||||Oracle|dependent|
393
+
394
+ B COMPARISON OF DATA COVERAGE ASSUMPTIONS In Yin et al. (2022b), they studied the general differentiable function class, where the function class can be denoted by
395
+
396
+ **==> picture [182 x 19] intentionally omitted <==**
397
+
398
+ In this definition, Ψ is a compact subset, and _**ϕ**_ ( _·, ·_ ) : _X × A →_ Ψ _⊆_ R _[m]_ is a feature map. The parameter space Θ is a compact subset Θ _⊆_ R _[d]_ . The function _f_ : R _[d] ×_ R _[m] →_ R satisfies the following smoothness conditions:
399
+
400
+ - For any vector _**ϕ** ∈_ R _[m]_ , _f_ ( _**θ** ,_ _**ϕ**_ ) is third-time differentiable with respect to the parameter _**θ**_ .
401
+
402
+ - Functions _f, ∂_ _**θ** f, ∂_ _**θ**_[2] _,_ _**θ**[f, ∂]_ _**θ**_[3] _,_ _**θ** ,_ _**θ**[f]_[are jointly continuous for][ (] _**[θ]**[,]_ _**[ ϕ]**_[)][.]
403
+
404
+ Under this definition, Yin et al. (2022b) introduce the following coverage assumption (Assumption 2.3) such that for all stage _h ∈_ [ _H_ ], there exists a constant _κ_ ,
405
+
406
+ **==> picture [310 x 37] intentionally omitted <==**
407
+
408
+ It is worth noting that our assumption 3.6 is weaker than this assumption. For any compact sets Θ _,_ Ψ and continuous function _f_ , there always exist a constant _κ_ 0 _>_ 0 such that _f_ is _κ_ 0-Lipschitz with respect to the parameter _**θ**_ ,i.e:
409
+
410
+ - _|f_ ( _**θ**_ 1 _,_ _**ϕ**_ ) _− f_ ( _**θ**_ 2 _,_ _**ϕ**_ ) _| ≤ κ_ 0 _∥_ _**θ**_ 1 _−_ _**θ**_ 2 _∥_ 2 _, ∀_ _**θ**_ 1 _,_ _**θ**_ 2 _∈_ Θ _,_ _**ϕ** ∈_ Ψ _._
411
+
412
+ 14
413
+
414
+ Therefore, the coverage assumption in Yin et al. (2022b) implies that
415
+
416
+ **==> picture [376 x 45] intentionally omitted <==**
417
+
418
+ Our assumption can be reduced to their first assumption (*). We do not need the second assumption (**). In addition, for the linear function class, the coverage assumption in Yin et al. (2022b) will reduce to the following linear function coverage assumption(Wang et al., 2020a; Min et al., 2021; Yin et al., 2022a; Xiong et al., 2023).
419
+
420
+ **==> picture [200 x 13] intentionally omitted <==**
421
+
422
+ Therefore, our assumption is also weaker than the linear function coverage assumption when dealing with the linear function class.
423
+
424
+ C DISCUSSION ON THE CALCULATION OF THE BONUS FUNCTION To obtain the bonus function satisfying the required properties, we need to consider the constraint optimization problem
425
+
426
+ **==> picture [357 x 37] intentionally omitted <==**
427
+
428
+ We utilize the online subsampling framework presented in Wang et al. (2020b); Kong et al. (2021) to an offline dataset. Additionally, we generalize the idea of Kong et al. (2021) to the weighted problem. Using the shorthand expression
429
+
430
+ **==> picture [136 x 30] intentionally omitted <==**
431
+
432
+ we aim to estimate the solution of the following constraint optimization problem.
433
+
434
+ **==> picture [309 x 20] intentionally omitted <==**
435
+
436
+ **Algorithm 2** Binary Search
437
+
438
+ 1: **Input:** Dataset _Dh_ = _{s[k] h[, a][k] h[, r] h[k][}][K] k_ =1[, objective] _[ z]_[= (] _[s, a]_[)][,] _[ β][h]_[, precision] _[ α]_ 2: _G ←Fh −Fh_ 3: Define _R_ ( _g, w_ ) := _∥g∥_[2] _σ_ � _h,Dh_[+] _[w]_ 2[(] _[g]_[(] _[s, a]_[)] _[ −]_[2(] _[L]_[ + 1))][2][,] _[ ∀][g][∈G]_ 4: _wL ←_ 0, _wH ← βh/_ ( _α_ ( _L_ + 1)) 5: _gL ←_ 0, _zL ←_ 0 6: _gH ←_ argmin _g∈G R_ ( _g, wH_ ), _zH ← gH_ ( _s, a_ ) 7: ∆ _← αβ/_ (8( _L_ + 1)[3] ) 10:8:9: **while** _wg_ �� _←← |_ � _z_ argmin _H_ ( _w−H z_ + _Lg w|∈G > αL R_ ) _/_ (2 _g,_ and _w_ �) _|_ , _w_ � _zH←−g_ � _w_ ( _s, aL| >_ ) ∆ **do** 12:11: **if** _∥wgH∥_[2] _σ_ � _←h,Dw, zh_ � _[> β] H[h] ←_ **[ then]** _z_ � 13: **else** 14: _wL ← w, z_ � _L ← z_ � 15: **end if** 16: **end while** 17: **Output:** _zH_
439
+
440
+ The binary search algorithm is similar to Kong et al. (2021), which utilizes the oracle for varianceweighted ridge regression in Lines 6 and 10. It reduces the computational complexity of the constrained optimization problem given by (C.1), limiting it to a finite number of calls to the regression oracle. If the function class _Fh_ is convex, the binary search algorithm can solve the optimization problem (C.1) up to a precision of _α_ with _O_ (log(1 _/α_ )) calls of the regression oracle. We summarize the result in the following theorem. If _Fh_ is not convex, the method of Krishnamurthy et al. (2017) can solve the problem with _O_ (1 _/α_ ) calls of the regression oracle.
441
+
442
+ 15
443
+
444
+ **Theorem C.1.** Assume the optimal solution of the optimization problem (C.1) is _g[∗]_ = _f_ 1 _[∗][−][f]_ 2 _[ ∗]_[and] the function class _Fh_ is convex and closed under pointwise convergence, then Algorithm 2 terminate after _O_ (log(1 _/α_ )) calls of the regression oracle and the returned values satisfy
445
+
446
+ **==> picture [86 x 11] intentionally omitted <==**
447
+
448
+ _Proof of Theorem C.1._ Easy to see _G_ = _Fh −Fh_ is also convex. We then follow the proof of Theorem 1 of Foster et al. (2018).
449
+
450
+ To see the solution of optimization problem C.1 satisfies the condition of the bonus function, we recall the definition of the _D_[2] -divergence
451
+
452
+ **==> picture [386 x 70] intentionally omitted <==**
453
+
454
+ D ANALYSIS OF THE VARIANCE ESTIMATOR In this section, our main objective is to prove that our variance estimators are close to the truncated variance of the optimal value function [V _hVh[∗]_ +1[](] _[s, a]_[)][.][The following lemmas are helpful in the proof] of Lemma D.4. To start with, we need an upper bound of the _D_[2] -divergence for a large dataset. **Lemma D.1.** Let _Dh_ be the dataset satisfying Assumption 3.6. When the size of data set satisfies _K ≥_ Ω[�] � lo _κ_ g[2] _N_ �, with probability at least 1 _− δ_ , for each state-action pair _z_ , we have
455
+
456
+ **==> picture [128 x 25] intentionally omitted <==**
457
+
458
+ Lemma 6.1 and Lemma 6.2 show the confidence radius for the first and second-order Bellman error, which is essential in our proof. Here we restate them with more accurate parameter choices.
459
+
460
+ **Lemma D.2** (Restatement of Lemma 6.1) **.** For any stage _h ∈_ [ _H_ ], let _f_[q] _h_ +1( _·, ·_ ) _≤ H_ be the estimated value function constructed in Algorithm 1 Line 7. _f_ ¯ _h[′][∈F][h]_[, satisfying that] _[ |][f]_[ ¯] _h[ ′]_[(] _[z][h]_[)] _[ −]_[[] _[T][h]_[ q] _[f][h]_[+1][](] _[z][h]_[)] By utilizing Assumption 3.3, there exists a function _[| ≤][ϵ]_[ holds for all state-action pair] _[ z][h]_[= (] _[s][h][, a][h]_[)][.] Then with probability at least 1 _− δ/_ (4 _H_ ), it holds that
461
+
462
+ **==> picture [150 x 26] intentionally omitted <==**
463
+
464
+ where _β_[¯] 1 _,h_ = _O_[�] � ~~�~~ log( _N · Nb_ ) _H_ �, and _f_[¯] _h_ is the estimated function for first-moment Bellman operator (Line 4 in Algorithm 1).
465
+
466
+ **Lemma D.3** (Restatement of Lemma 6.1) **.** For any stage _h ∈_ [ _H_ ], let _f_[q] _h_ +1( _·, ·_ ) _≤ H_ be the estimated value function constructed in Algorithm 1 Line 7. By utilizing Assumption 3.3, there exists a function _g_ ¯ _h[′][∈F][h]_[, satisfying that] _[ |][g]_[¯] _h[′]_[(] _[z][h]_[)] _[ −]_[[] _[T]_[2] _[,h]_[ q] _[f][h]_[+1][](] _[z][h]_[)] _[| ≤][ϵ]_[ holds for all state-action pair] _[ z][h]_[= (] _[s][h][, a][h]_[)][.] Then with probability at least 1 _− δ/_ (4 _H_ ), it holds that
467
+
468
+ **==> picture [150 x 26] intentionally omitted <==**
469
+
470
+ where _β_[¯] 2 _,h_ = _O_[�] ��log( _N · Nb_ ) _H_[2][�] , and ¯ _gh_ is the estimated function for second-moment Bellman operator (Line 5 in Algorithm 1).
471
+
472
+ Recall the definition of the variance estimator.
473
+
474
+ **==> picture [244 x 64] intentionally omitted <==**
475
+
476
+ 16
477
+
478
+ The variance estimator is defined as:
479
+
480
+ **==> picture [298 x 31] intentionally omitted <==**
481
+
482
+ We can prove the following lemma:
483
+
484
+ **Lemma D.4.** with probability at least 1 _− δ/_ 2, for any _h ∈_ [ _H_ ], the variance estimator designed above satisfies:
485
+
486
+ **==> picture [298 x 31] intentionally omitted <==**
487
+
488
+ _Proof of Lemma D.4._ We write B _h_ ( _s, a_ ) = _g_ ¯ _h_ ( _s, a_ ) _−_ � _f_ ¯ _h_ ( _s, a_ )�2. We first bound the difference between B _h_ ( _s, a_ ) and [Var _hf_[q] _h_ +1]( _s, a_ ). By the definition of conditional variance, we have B _h_ ( _s, a_ ) _−_ [Var _h_ q _fh_ +1]( _s, a_ ) _≤ g_ ¯ _h_ ( _s, a_ ) _−_ [ _T_ 2 _,h_ q _fh_ +1]( _s, a_ ) + � _f_ ¯ _h_ ( _s, a_ )�2 _−_ �[ _Thf_[q] _h_ +1]( _s, a_ )�2[�] _,_ ��� ��� ��� ��� ��� �� where we use our definition of Bellman operators. By Assumption 3.3, there exists _f_[¯] _h[′][∈F][h]_[,][ ¯] _[g] h[′][∈F][h]_[,] such that for all ( _s, a_ )
489
+
490
+ **==> picture [267 x 32] intentionally omitted <==**
491
+
492
+ Then by Lemma D.2, with probability at least 1 _− δ/_ (4 _H_[2] ), the following inequality holds
493
+
494
+ **==> picture [274 x 26] intentionally omitted <==**
495
+
496
+ Similarly, for the second-order term, using Lemma D.3, with probability at least 1 _− δ/_ (4 _H_[2] ), the following inequality holds
497
+
498
+ **==> picture [274 x 26] intentionally omitted <==**
499
+
500
+ After taking a union bound, with probability at least 1 _− δ/_ (2 _H_ ), (D.3) and (D.4) hold for all _h ∈_ [ _H_ ] simultaneously. Consequently, we focus on this high probability event and prove that
501
+
502
+ **==> picture [349 x 185] intentionally omitted <==**
503
+
504
+ **==> picture [166 x 48] intentionally omitted <==**
505
+
506
+ 17
507
+
508
+ where the first inequality holds due to the completeness assumption. The second inequality holds due to (D.3) and (D.4). The third inequality holds due to Definition 3.4 . The last inequality holds due to Lemma D.1. Therefore, we have
509
+
510
+ **==> picture [319 x 31] intentionally omitted <==**
511
+
512
+ q To further bound the difference between �Var _hf_[q] _h_ +1�( _s, a_ ) and [Var _hVh[∗]_ +1[](] _[s, a]_[)][, we prove] �� _fh_ +1 _− √_ log( _N·Nb_ ) _H_[3] _Vh[∗]_ +1�� _∞[≤][O]_[�] ~~_√_~~ _Kκ_ by induction. � � At horizon _H_ + 1, _f_[q] _H_ +1 = _VH[∗]_ +1[= 0][, the inequality holds naturally.][At horizon] _[ H]_[, we have]
513
+
514
+ **==> picture [216 x 93] intentionally omitted <==**
515
+
516
+ where the first inequality holds due to the triangle inequality. The second inequality holds due to (D.1). The third inequality holds due to the property of the bonus function[¯] _bH_ and (D.3). The last equality holds due to our definition of _f_[q] _H_ in Algorithm 1 Line 7. Therefore, _VH[∗]_[(] _[s]_[)] _[ ≥][f]_[q] _[H]_[(] _[s]_[)][ for all] _s ∈S_ .
517
+
518
+ We denote the policy derived from _f_[q] _H_ by q _πH_ , i.e. _π_ q _H_ ( _s_ ) = argmax _a f_[q] _H_ ( _s, a_ ) and then we have
519
+
520
+ **==> picture [341 x 126] intentionally omitted <==**
521
+
522
+ where the first inequality holds because the policy q _πH_ takes the action which maximizes _f_[q] _H_ . The second inequality holds due to (D.1) and (D.3). For the last inequality, we use the choice of _bH_ such that for all _z ∈S × A_ with constant 0 _< C < ∞_
523
+
524
+ **==> picture [219 x 19] intentionally omitted <==**
525
+
526
+ Therefore, we have max _z_[¯] _bH_ ( _z_ ) _≤ O_ � _√_ log ~~_√_~~ ( _N ·NKκ b_ ) _H_ , which uses Lemma D.1 and _βH_ = _O_ ���log( _N · Nb_ ) _H_ �. � �
527
+
528
+ Next, we prove by induction. Let _Rh_ = _O_[�] _√_ log ~~_√_~~ ( _N ·NKκ b_ ) _H ·_ ( _H − h_ + 1). We define the induction � � assumption as follows:q Suppose with the probability of 1 _− δh_ +1, the event _Eh_ +1 = _{_ 0 _≤ Vh[∗]_ +1[(] _[s]_[)] _[ −] fh_ +1( _s_ ) _≤ Rh_ +1 _}_ holds. Then we want to prove that with the probability of 1 _− δh_ ( _δh_ will be determined later), the event _Eh_ = _{_ 0 _≤ Vh[∗]_[(] _[s]_[)] _[ −][f]_[q] _[h]_[(] _[s]_[)] _[ ≤][R][h][}]_[ holds.] Conditioned on the event _Eh_ +1, using similar argument to stage _H_ , we have
529
+
530
+ **==> picture [109 x 28] intentionally omitted <==**
531
+
532
+ 18
533
+
534
+ **==> picture [166 x 67] intentionally omitted <==**
535
+
536
+ where the first inequality holds due to _Eh_ +1. The second inequality holds due to the triangle inequality. The third inequality holds due to (D.1). The fourth inequality holds due to the property of the bonus function[¯] _bh_ and (D.3). The last equality holds due to our definition of _f_[q] _h_ in Algorithm 1 Line 7. Therefore, _Vh[∗]_[(] _[·]_[)] _[ ≥][f]_[q] _[h]_[(] _[·]_[)][.]
537
+
538
+ On the other hand, similar to the case at horizon _H_ , we denote the policy derived from _f_[q] _h_ by q _πh_ , i.e. q _πh_ ( _s_ ) = argmax _a f_[q] _h_ ( _s, a_ ). Taking a union bound over the event in Lemma D.1 and _Eh_ +1, we have with probability at least 1 _− δh_ +1 _− δ/_ (2 _H_[2] ),
539
+
540
+ **==> picture [326 x 164] intentionally omitted <==**
541
+
542
+ where the first inequality holds because the policy q _πH_ takes the action which maximizes _f_[q] _H_ . The second inequality holds due to (D.1) and (D.3). The third inequality holds due to Lemma D.1. The last inequality holds due to the induction assumption. Therefore, we can choose _δh_ = ( _H − h_ + 1) _δ/_ (2 _H_[2] ) _≤ δ/_ 2 _H_ . Taking a union bound over all _h ∈_ [ _H_ ], we prove that with probability at least 1 _− δ/_ 2, the following inequality holds for all _h ∈_ [ _H_ ] simultaneously
543
+
544
+ **==> picture [305 x 31] intentionally omitted <==**
545
+
546
+ Conditioned on this event, we can further bound the difference between [Var _hf_[q] _h_ +1]( _s, a_ ) and [Var _hVh[∗]_ +1[](] _[s, a]_[)][.]
547
+
548
+ **==> picture [382 x 110] intentionally omitted <==**
549
+
550
+ where the first inequality holds due to the triangle inequality. The second inequality holds due to _Vh[∗]_ +1 _[,][f]_[q] _[h]_[+1] _[≤][H]_[.][The last inequality holds due to][ (D.6)][.][Therefore, for any][ (] _[s, a]_[)] _[ ∈S × A]_[, we have]
551
+
552
+ **==> picture [312 x 42] intentionally omitted <==**
553
+
554
+ 19
555
+
556
+ **==> picture [117 x 31] intentionally omitted <==**
557
+
558
+ Thus, for any ( _s, a_ ) _∈S × A_ , we have
559
+
560
+ **==> picture [232 x 31] intentionally omitted <==**
561
+
562
+ where the first inequality holds due to the triangle inequality. The second inequality holds due to (D.5) and (D.7). Finally, using the fact that the function max _{_ 1 _, ·}_ is increasing and nonexpansive, we complete the proof of Lemma D.4, which is
563
+
564
+ **==> picture [298 x 31] intentionally omitted <==**
565
+
566
+ E PROOF OF LEMMAS IN SECTION D E.1 PROOF OF LEMMA D.1
567
+
568
+ _Proof of Lemma D.1._ From the definition of _D_[2] divergence (Definition 3.4), we have
569
+
570
+ **==> picture [320 x 31] intentionally omitted <==**
571
+
572
+ By the Hoeffding’s inequality (Lemma I.3), with probability at least 1 _− δ/_ ( _N_[2] ), we have
573
+
574
+ 2 � � _f_ 1( _zh[k]_[)] _[ −][f]_[2][(] _[z] h[k]_[)] � _− K_ E _µ,h_ �( _f_ 1( _zh_ ) _− f_ 2( _zh_ ))[2][�] _≥−_ 2 ~~�~~ 2 _K_ log( _N_[2] _/δ_ ) _· ∥f_ 1 _− f_ 2 _∥_[2] _∞[.] k∈_ [ _K_ ]
575
+
576
+ Hence, after taking a union bound, we have with probability at least 1 _− δ_ , for all _f_ 1 _, f_ 2 _∈Fh_ ,
577
+
578
+ 2 � � _f_ 1( _zh[k]_[)] _[ −][f]_[2][(] _[z] h[k]_[)] � _≥ K_ E _µ,h_ �( _f_ 1( _zh_ ) _− f_ 2( _zh_ ))[2][�] _−_ 2�2 _K_ log( _N_[2] _/δ_ ) _· ∥f_ 1 _− f_ 2 _∥_[2] _∞ k∈_ [ _K_ ] _≥ K · κ∥f_ 1 _− f_ 2 _∥_[2] _∞[−]_[2] �2 _K_ log( _N_[2] _/δ_ ) _· ∥f_ 1 _− f_ 2 _∥_[2] _∞[,]_ (E.2) where the second inequality holds due to Assumption 3.6. Substituting (E.2) into (E.1), when the size of dataset _K ≥_ Ω[�] � lo _κ_ g[2] _N_ �, we have
579
+
580
+ **==> picture [266 x 26] intentionally omitted <==**
581
+
582
+ E.2 PROOF OF LEMMA D.2 In the proof of Lemma D.2, we need to prove the following concentration inequality. **Lemma E.1.** Based on the dataset _D[′]_ = _{s_ ¯ _[k] h[,]_[ ¯] _[a][k] h[,]_[ ¯] _[r] h[k][}][K,H] k,h_ =1[, we define the filtration] ¯ ¯ _Hh[k]_[=] _[ σ]_ � _s_[1] 1 _[,]_[ ¯] _[a]_[1] 1 _[,]_[ ¯] _[r]_ 1[1] _[,]_[ ¯] _[s]_[1] 2 _[, . . . ,]_[ ¯] _[r] H_[1] _[,]_[ ¯] _[s]_[1] _H_ +1[; ¯] _[s]_ 1[2] _[,]_[ ¯] _[a]_[2] 1 _[,]_[ ¯] _[r]_ 1[2] _[,]_[ ¯] _[s]_[2] 2 _[, . . . ,]_[ ¯] _[r] H_[2] _[,]_[ ¯] _[s]_[2] _H_ +1[;] _[ . . . ,]_[ ¯] _[s]_ 1 _[k][,]_[ ¯] _[a][k]_ 1 _[,]_[ ¯] _[r]_ 1 _[k][,]_[ ¯] _[s][k]_ 2 _[, . . . ,]_[ ¯] _[r] h[k][,]_[ ¯] _[s][k] h_ +1� _._ For any fixed functions _f, f[′]_ : _S →_ [0 _, H_ ], we make the following definitions:
583
+
584
+ **==> picture [178 x 30] intentionally omitted <==**
585
+
586
+ Then with probability at least 1 _− δ/_ (4 _H_[2] _N_[2] _Nb_[2][)][, the following inequality holds,]
587
+
588
+ **==> picture [340 x 60] intentionally omitted <==**
589
+
590
+ 20
591
+
592
+ _Proof of Lemma D.2._ Let ( _β_[¯] 1 _,h_ )[2] = (48 _H_[2] + 10) _i_[2] ( _δ_ ) + 16 _KHϵ_ . We define the event _E_[¯] 1 _,h_ := ¯ 2 2[�] �� _k∈_ [ _K_ ] � _fh ′_[(¯] _[z] h[k]_[)] _[ −][f]_[¯] _[h]_[(¯] _[z] h[k]_[)] � _>_ (¯ _β_ 1 _,h_ ) . We have the following inequality:
593
+
594
+ **==> picture [360 x 216] intentionally omitted <==**
595
+
596
+ where the first inequality holds due to our choice of _f_[¯] _h_ , i.e.,
597
+
598
+ **==> picture [224 x 28] intentionally omitted <==**
599
+
600
+ Next, we will use Lemma E.1. For any fixed _h_ , let _f_ = _f_[¯] _h ∈Fh_ , _f[′]_ = _f_[q] _h_ +1 = _{f_[¯] _− ϵ}_ [0 _,H−h_ +1], where _f_[¯] = _f_[¯] _h −_[¯] _bh ∈Fh −W_ . Following the construction in Lemma E.1, we define
601
+
602
+ **==> picture [232 x 30] intentionally omitted <==**
603
+
604
+ Due to the result of Lemma E.1, taking a union bound on the function class, with probability at least 1 _− δ/_ (4 _H_[2] ), the following inequality holds,
605
+
606
+ **==> picture [354 x 243] intentionally omitted <==**
607
+
608
+ Therefore, with probability at least 1 _− δ/_ (4 _H_[2] ), we have
609
+
610
+ 21
611
+
612
+ **==> picture [351 x 32] intentionally omitted <==**
613
+
614
+ where the first and third inequalities hold because of the completeness assumption. The second inequality holds due to (E.4). The last equality holds due to the choice of
615
+
616
+ **==> picture [262 x 19] intentionally omitted <==**
617
+
618
+ However, conditioned on the event _E_[¯] 1 _,h_ , we have
619
+
620
+ **==> picture [230 x 88] intentionally omitted <==**
621
+
622
+ where the first inequality holds due to (E.3). The second inequality holds due to _E_[¯] 1 _,h_ . This is contradictory with (E.7). Thus, we have P[ _E_[¯] 1 _,h_ ] _≤ δ/_ (4 _H_[2] ) and complete the proof of Lemma D.2.
623
+
624
+ E.3 PROOF OF LEMMA D.3 To prove this lemma, we need a lemma similar to Lemma E.1
625
+
626
+ **Lemma E.2.** On dataset _D[′]_ = _{s_ ¯ _[k] h[,]_[ ¯] _[a][k] h[,]_[ ¯] _[r] h[k][}][K,H] k,h_ =1[, we define the filtration]
627
+
628
+ _H_ ¯ _h[k]_[=] _[ σ]_[(¯] _[s]_ 1[1] _[,]_[ ¯] _[a]_ 1[1] _[,]_[ ¯] _[r]_ 1[1] _[,]_[ ¯] _[s]_ 2[1] _[, . . . ,]_[ ¯] _[r] H_[1] _[,]_[ ¯] _[s] H_[1] +1[; ¯] _[s]_ 1[2] _[,]_[ ¯] _[a]_ 1[2] _[,]_[ ¯] _[r]_ 1[2] _[,]_[ ¯] _[s]_ 2[2] _[, . . . ,]_[ ¯] _[r] H_[2] _[,]_[ ¯] _[s] H_[2] +1[;] _[ . . . ,]_[ ¯] _[s]_ 1 _[k][,]_[ ¯] _[a]_ 1 _[k][,]_[ ¯] _[r]_ 1 _[k][,]_[ ¯] _[s]_ 2 _[k][, . . . ,]_[ ¯] _[r] h[k][,]_[ ¯] _[s] h[k]_ +1[)] _[.]_ For any fixed function _f, f[′]_ : _S →_ [0 _, H_ ], we make the following definitions:
629
+
630
+ **==> picture [236 x 32] intentionally omitted <==**
631
+
632
+ Then with probability at least 1 _− δ/_ (4 _H_[2] _N_[2] _Nb_[2][)][, the following inequality holds,]
633
+
634
+ **==> picture [345 x 62] intentionally omitted <==**
635
+
636
+ **==> picture [398 x 192] intentionally omitted <==**
637
+
638
+ 22
639
+
640
+ **==> picture [372 x 57] intentionally omitted <==**
641
+
642
+ where the first inequality holds due to our choice of ¯ _gh_ , i.e.
643
+
644
+ **==> picture [236 x 29] intentionally omitted <==**
645
+
646
+ ¯ Next, we will use Lemma E.2. For any fixed _h_ , let _f_ = _gh ∈Fh_ , _f[′]_ = _f_[q] _h_ +1 = _{f_[¯] _− ϵ}_ [0 _,H−h_ +1], where _f_[¯] = _f_[¯] _h −_[¯] _bh ∈Fh −W_ . Following the construction in Lemma E.2, we define
647
+
648
+ **==> picture [252 x 32] intentionally omitted <==**
649
+
650
+ Due to the result of Lemma E.2, taking a union bound on the function, with probability at least 1 _− δ/_ (4 _H_[2] ), the following inequality holds,
651
+
652
+ **==> picture [346 x 34] intentionally omitted <==**
653
+
654
+ Therefore, with probability at least 1 _− δ/_ (4 _H_[2] ), we have
655
+
656
+ **==> picture [363 x 214] intentionally omitted <==**
657
+
658
+ where the first and third inequalities hold due to the Bellman completeness assumption. The second inequality holds due to (E.9). The last inequality holds due to the choice of
659
+
660
+ **==> picture [264 x 13] intentionally omitted <==**
661
+
662
+ However, conditioned on the event _E_[¯] 2 _,h_ , we have
663
+
664
+ **==> picture [242 x 88] intentionally omitted <==**
665
+
666
+ where the first inequality holds due to (E.8). The last inequality holds due to _E_[¯] 2 _,h_ . It is contradictory with (E.10). Thus, we have P[ _E_[¯] 2 _,h_ ] _≤ δ/_ (4 _H_[2] ) and complete the proof of Lemma D.3.
667
+
668
+ 23
669
+
670
+ ## F PROOF OF THEOREM 5.1
671
+
672
+ In this section, we prove Theorem 5.1. The proof idea is similar to that of Section D. To start with, we prove that our data coverage assumption (Assumption 3.6) can lead to an upper bound of the weighted _D_[2] -divergence for a large dataset.
673
+
674
+ **Lemma F.1.** Let _Dh_ be a dataset satisfying Assumption 3.6. When the size of data set satisfies _K ≥_ Ω[�] � lo _κ_ g[2] _N_ �, � _σh ≤ H_ , with probability at least 1 _− δ_ , for each state-action pair _z_ , we have
675
+
676
+ **==> picture [132 x 25] intentionally omitted <==**
677
+
678
+ With Lemma D.4, we can prove a variance-weighted version of concentration inequality.
679
+
680
+ **Lemma F.2** (Restatement of Lemma 6.3) **.** Suppose the variance function � _σh_ satisfies the inequality in Lemma D.4. at stage _h ∈_ [ _H_ ], the estimated value function _f_[�] _h_ +1 in Algorithm 1 is bounded by _H_ . According to Assumption 3.3, there exists some function _f_[¯] _h ∈Fh_ , such that _|f_[¯] _h_ ( _zh_ ) _−_ [ _Thf_[�] _h_ +1]( _z_ ) _| ≤ ϵ_ for all _zh_ = ( _sh, ah_ ). Then with probability at least 1 _− δ/_ 2, the following inequality holds for all stage _h ∈_ [ _H_ ] simultaneously,
681
+
682
+ **==> picture [192 x 28] intentionally omitted <==**
683
+
684
+ With these lemmas, we can start the proof of Theorem 5.1.
685
+
686
+ _Proof of Theorem 5.1._ For any state-action pair _z_ = ( _s, a_ ) _∈S × A_ , we have
687
+
688
+ **==> picture [272 x 48] intentionally omitted <==**
689
+
690
+ where we bound _I_ 1 with the Bellman completeness assumption. For the second term, we use the property of the bonus function and Lemma F.2. Using Lemma I.2, we have
691
+
692
+ **==> picture [336 x 136] intentionally omitted <==**
693
+
694
+ where the first inequality holds due to Lemma I.2. The second inequality holds due to the property of the bonus function
695
+
696
+ **==> picture [214 x 14] intentionally omitted <==**
697
+
698
+ The third inequality holds due to our choice of _βh_ = _O_[�] � _√_ log _N_ �. The last inequality holds due to Lemma D.4 and the fact that _D_[2] -divergence is increasing with respect to the variance function. We complete the proof of Theorem 5.1.
699
+
700
+ ## G PROOF OF THE LEMMAS IN SECTION F
701
+
702
+ G.1 PROOF OF LEMMA F.1
703
+
704
+ _Proof of Lemma F.1._ From the definition of _D_[2] divergence, we have
705
+
706
+ **==> picture [342 x 31] intentionally omitted <==**
707
+
708
+ 24
709
+
710
+ By the Hoeffding’s inequality (Lemma I.3), with probability at least 1 _− δ/_ ( _N_[2] ),
711
+
712
+ 2 � � _f_ 1( _zh[k]_[)] _[ −][f]_[2][(] _[z] h[k]_[)] � _− K_ E _µ,h_ �( _f_ 1( _zh_ ) _− f_ 2( _zh_ ))[2][�] _≥−_ 2�2 _K_ log( _N_[2] _/δ_ ) _· ∥f_ 1 _− f_ 2 _∥_[2] _∞[.] k∈_ [ _K_ ]
713
+
714
+ Hence, after taking a union bound, we have with probability at least 1 _− δ_ , for all _f_ 1 _, f_ 2 _∈Fh_ ,
715
+
716
+ **==> picture [359 x 77] intentionally omitted <==**
717
+
718
+ where the last inequality holds due to Assumption 3.6. Substituting (G.2) into (G.1), when _K ≥_ Ω� � log _κN_ �, we have
719
+
720
+ **==> picture [276 x 27] intentionally omitted <==**
721
+
722
+ G.2 PROOF OF LEMMA F.2 In this section, we assume the high probability event in Lemma D.4 holds,i.e., the following inequality holds:
723
+
724
+ **==> picture [348 x 30] intentionally omitted <==**
725
+
726
+ To prove Lemma F.2, we need the following lemmas.
727
+
728
+ **Lemma G.1.** Based on the dataset _D_ = _{s[k] h[, a][k] h[, r] h[k][}][K,H] k,h_ =1[,][we][define][the][filtration] _[H] h[k]_[=] _σ_ ( _s_[1] 1 _[, a]_[1] 1 _[, r]_ 1[1] _[, s]_[1] 2 _[, . . . , r] H_[1] _[, s]_[1] _H_ +1[;] _[ x]_ 1[2] _[, a]_[2] 1 _[, r]_ 1[2] _[, s]_[2] 2 _[, . . . , r] H_[2] _[, s]_[2] _H_ +1[;] _[ · · ·][ s]_ 1 _[k][, a][k]_ 1 _[, r]_ 1 _[k][, s][k]_ 2 _[, . . . , r] h[k][, s][k] h_ +1[)][.] For any fixed function _f, f[′]_ : _S →∈_ [0 _, L_ ], we define the following random variables:
729
+
730
+ **==> picture [186 x 42] intentionally omitted <==**
731
+
732
+ As the variance function � _σh_ satisfies (G.3), with probability at least 1 _− δ/_ (4 _H_[2] _N_[2] ), the following inequality holds,
733
+
734
+ **==> picture [248 x 64] intentionally omitted <==**
735
+
736
+ where _v_ ( _δ_ ) = �2 log _[H][N]_[(][2 lo][g(][18] _[LT]_[)+] _δ_[2][)(][lo][g(][18] _[L]_[)+][2][)] .
737
+
738
+ _K,H_ **Lemma G.2.** Based on the dataset _D_ = � _s[k] h[, a][k] h[, r] h[k]_ � _k,h_ =1[, we define the following filtration] _[ H] h[k]_[=] _σ_ � _s_[1] 1 _[, a]_ 1[1] _[, r]_ 1[1] _[, s]_[1] 2 _[, . . . , r] H_[1] _[, s]_[1] _H_ +1[;] _[ x]_ 1[2] _[, a]_[2] 1 _[, r]_ 1[2] _[, s]_ 2[2] _[, . . . , r] H_[2] _[, s]_[2] _H_ +1[;] _[ · · ·][ s]_ 1 _[k][, a][k]_ 1 _[, r]_ 1 _[k][, s][k]_ 2 _[, . . . , r] h[k][, s] h[k]_ +1�. For any fixed functions _f, f_[�] : _S →_ [0 _, L_ ] and _f[′]_ : _S →_ [0 _, H_ ], we define the following random variables
739
+
740
+ **==> picture [286 x 42] intentionally omitted <==**
741
+
742
+ 25
743
+
744
+ As the variance function � _σh_ satisfies (G.3), with probability at least 1 _− δ/_ (4 _H_[2] _N_[3] _Nb_ ), the following inequality holds,
745
+
746
+ **==> picture [358 x 60] intentionally omitted <==**
747
+
748
+ where _ι_ ( _δ_ ) = ~~�~~ 3 log _[H]_[(] _[N·N][b]_[)(][2 lo][g(][18] _[LT] δ_[)+][2][)(][lo][g(][18] _[L]_[)+][2][)] . With these lemmas, we can start the proof of Lemma F.2.
749
+
750
+ **==> picture [399 x 35] intentionally omitted <==**
751
+
752
+ **==> picture [403 x 223] intentionally omitted <==**
753
+
754
+ where the first inequality holds due to our choice of _f_[�] _h_ in Algorithm 1 Line 12,
755
+
756
+ **==> picture [264 x 29] intentionally omitted <==**
757
+
758
+ We prove this lemma by induction. At horizon _H_ , we first use Lemma G.1. Let _f_ = _f_[�] _H ∈FH_ , _f[′]_ = _f_[¯] _H ∈FH_ . We define
759
+
760
+ **==> picture [192 x 42] intentionally omitted <==**
761
+
762
+ Taking a union bound over the function class, with probability at least 1 _− δ/_ (4 _H_[2] ), the following inequality holds,
763
+
764
+ **==> picture [382 x 64] intentionally omitted <==**
765
+
766
+ 26
767
+
768
+ Then we use Lemma G.2. Let _f_ = _f_[�] _H ∈FH_ , _f_[�] = _f_[¯] _H ∈FH_ , _f[′]_ = _f_[�] _H_ +1 = 0. We define:
769
+
770
+ **==> picture [276 x 42] intentionally omitted <==**
771
+
772
+ Taking a union bound over the function class, with probability at least 1 _− δ/_ (4 _H_[2] ), we have
773
+
774
+ **==> picture [397 x 78] intentionally omitted <==**
775
+
776
+ Combining (G.5) and (G.6), we have with probability at least 1 _− δ/_ (2 _H_[2] ), the following inequality holds:
777
+
778
+ **==> picture [391 x 224] intentionally omitted <==**
779
+
780
+ where the first inequality holds due to the complete assumption. The second inequality holds due to (G.5) and (G.6). The last inequality holds due to the fact _f_[�] _H_ +1 = _VH[∗]_ +1[=][0][ and our choice of] _βH_ ,i.e.,
781
+
782
+ **==> picture [297 x 164] intentionally omitted <==**
783
+
784
+ However, conditioned on the event _EH_ , we have
785
+
786
+ where the first inequality holds due to (G.4). The second inequality holds due to _EH_ . It contradicts with (G.7). Therefore, we prove that P[ _EH_ ] _≥_ 1 _− δ/_ 2 _H_[2] .
787
+
788
+ 27
789
+
790
+ Suppose the event _EH_ holds, we can prove the following result.
791
+
792
+ **==> picture [216 x 106] intentionally omitted <==**
793
+
794
+ where the first inequality holds due to the triangle inequality. The second inequality holds due to the completeness assumption. The third inequality holds due to the property of the bonus function and
795
+
796
+ **==> picture [192 x 28] intentionally omitted <==**
797
+
798
+ by Lemma F.2. Therefore, _VH[∗]_[(] _[s]_[)] _[ ≥][f]_[�] _[H]_[(] _[s]_[)][ for all] _[ s][ ∈S]_[.] We also have
799
+
800
+ **==> picture [341 x 126] intentionally omitted <==**
801
+
802
+ where the first inequality holds due to the policy _π_ � _H_ takes the action which maximizes _f_[�] _H_ . The second inequality holds due to the Bellman completeness assumption. The last inequality holds due to the property of the bonus function
803
+
804
+ **==> picture [399 x 46] intentionally omitted <==**
805
+
806
+ We define another event _Eh_[ind] for induction.
807
+
808
+ **==> picture [180 x 13] intentionally omitted <==**
809
+
810
+ The above analysis shows that _EH ⊆EH_[ind][and][ P][[] _[E][H]_[]] _[ ≥]_[1] _[ −]_[2] _[δ][H]_[.][Moreover,][ P][[] _[E] H_[ind][]] _[ ≥]_[1] _[ −]_[2] _[δ][H]_ We conduct the induction in the following way. At stage _h_ , if P[ _Eh_ +1] _≥_ 1 _−_ 2 _δh_ +1 and P[ _Eh_[ind] +1[]] _[ ≥]_ 1 _−_ 2 _δh_ +1, we prove that P[ _Eh_ ] _≥_ 1 _−_ 2 _δh_ and P[ _Eh_[ind][]] _[ ≥]_[1] _[ −]_[2] _[δ][h]_[.] Suppose at stage _h_ , P[ _Eh_ +1] _≥_ 1 _−_ 2 _δh_ +1 and P[ _Eh_[ind] +1[]] _[ ≥]_[1] _[ −]_[2] _[δ][h]_[+1][.][We first use Lemma G.1.][Let] _f_ = _f_[�] _h ∈Fh_ , _f[′]_ = _f_[¯] _h ∈Fh_ . We define
811
+
812
+ **==> picture [180 x 43] intentionally omitted <==**
813
+
814
+ After taking a union bound, we have with probability at least 1 _− δ/_ (4 _H_[2] ), the following inequality holds,
815
+
816
+ **==> picture [286 x 30] intentionally omitted <==**
817
+
818
+ 28
819
+
820
+ **==> picture [208 x 32] intentionally omitted <==**
821
+
822
+ **==> picture [399 x 74] intentionally omitted <==**
823
+
824
+ After taking a union bound, we have with probability at least 1 _− δ/_ (4 _H_[2] ), we have
825
+
826
+ **==> picture [385 x 75] intentionally omitted <==**
827
+
828
+ Let _Uh_ be the event that (G.8) and (G.9) holds simultaneously. On the event _Uh ∩Eh_[ind] +1[,][which] satisfies P[ _Uh ∩Eh_[ind] +1[]] _[ ≥]_[1] _[ −]_[2] _[δ][h]_[+1] _[ −]_[2] _[δ/H]_[2][= 1] _[ −]_[2] _[δ][h]_[, we have]
829
+
830
+ **==> picture [415 x 223] intentionally omitted <==**
831
+
832
+ where the first inequality holds due to the completeness assumption. The second inequality holds due to (G.8) and (G.9). The last inequality holds due to the event _Eh_[ind] +1[and][the][choice][of] _[K][≥]_ � _ι_ ( _δ_ )[2] _H_[6] Ω � _κ_ �.
833
+
834
+ However, on the event of _Eh_[c][, we have]
835
+
836
+ **==> picture [274 x 97] intentionally omitted <==**
837
+
838
+ where the first inequality holds due to (G.4). The second inequality holds due to event _Eh_[c][.][However,] this contradicts with (G.10). We conclude that _Uh ∩Eh_[ind] +1 _[⊆E][h]_[, thus][ P][[] _[E][h]_[]] _[ ≥]_[1] _[ −]_[2] _[δ][h]_[.]
839
+
840
+ 29
841
+
842
+ Next we prove P[ _Eh_[ind][]] _[ ≥]_[1] _[ −]_[2] _[δ][h]_[.][Suppose the event] _[ U][h][ ∩E] h_[ind] +1[holds, the above conclusion shows] that
843
+
844
+ **==> picture [192 x 29] intentionally omitted <==**
845
+
846
+ We can prove the following result.
847
+
848
+ **==> picture [202 x 96] intentionally omitted <==**
849
+
850
+ where the first inequality hold due to the event _Eh_[ind][.][The second inequality holds due to the triangle] inequality. The third inequality holds due to the completeness assumption. The last inequality holds due to the property of the bonus function and
851
+
852
+ **==> picture [192 x 29] intentionally omitted <==**
853
+
854
+ Therefore, _Vh[∗]_[(] _[s]_[)] _[ ≥][f]_[�] _[h]_[(] _[s]_[)][ for all] _[ s][ ∈S]_[.] We also have
855
+
856
+ **==> picture [326 x 126] intentionally omitted <==**
857
+
858
+ where the first inequality holds due to the policy � _πh_ takes the action which maximizes _f_[�] _h_ . The second inequality holds due to the Bellman completeness assumption. The second inequality holds due to the property of the bonus function
859
+
860
+ **==> picture [210 x 14] intentionally omitted <==**
861
+
862
+ and Lemma F.1. The last inequality holds due to the induction assumption. Therefore, we have _Uh ∩Eh_[ind] +1 _[⊆E] h_[ind] and P[ _Eh_[ind][]] _[ ≥]_[1] _[ −]_[2] _[δ][h]_[.][Thus we complete the proof of induction.] Finally, taking the union bound of all the _Eh_ , we get the result that with probability at least 1 _− δ/_ 2, the event _∪[H] h_ =1 _[E][h]_[ holds, i.e for any] _[ h][ ∈]_[[] _[H]_[]][ simultaneously, we have]
863
+
864
+ **==> picture [192 x 29] intentionally omitted <==**
865
+
866
+ Therefore, we complete the proof of Lemma F.2.
867
+
868
+ H PROOF OF LEMMAS IN SECTION E AND G
869
+
870
+ H.1 PROOF OF LEMMA E.1
871
+
872
+ _Proof of Lemma E.1._ We use Lemma I.1, with the following conditions:
873
+
874
+ _D_ ¯ _h[k]_[[] _[f, f][ ′]_[]][ is adapted to the filtration] _[H]_[¯] _h[k]_[and][ E] � _D_ ¯ _hk_[[] _[f, f][ ′]_[]] _[ |][H]_[¯] _h[k][−]_[1] � = 0 _._
875
+
876
+ 30
877
+
878
+ �� _D_ ¯ _hk_[[] _[f, f][ ′]_[]] �� _≤_ 2 �� _η_ ¯ _hk_ �� max _z |f_ ( _z_ ) _−_ [ _Thf[′]_ ]( _z_ ) _| ≤_ 4 _H_[2] = _M._ � E �� _D_ ¯ _hk_[[] _[f, f][ ′]_[]] �2[�] �� _z_ ¯ _hk_ � = � E �4 � _η_ ¯ _h[k]_[[] _[f][ ′]_[]] �2[�] �� _z_ ¯ _hk_ �� _f_ (¯ _zh[k]_[)] _[ −]_[[] _[T][h][f][ ′]_[](¯] _[z] h[k]_[)] �2 _≤_ (4 _HK_ )2 = _V_ 2 _. k∈_ [ _K_ ] _k∈_ [ _K_ ]
879
+
880
+ On the other hand,
881
+
882
+ **==> picture [383 x 167] intentionally omitted <==**
883
+
884
+ We complete the proof of Lemma E.1.
885
+
886
+ H.2 PROOF OF LEMMA E.2 _Proof of Lemma E.2._ We use Lemma I.1, with the following conditions:
887
+
888
+ **==> picture [396 x 63] intentionally omitted <==**
889
+
890
+ On the other hand,
891
+
892
+ **==> picture [315 x 57] intentionally omitted <==**
893
+
894
+ Then using Lemma I.1 with _v_ = 1, _m_ = 1, we have:
895
+
896
+ **==> picture [371 x 84] intentionally omitted <==**
897
+
898
+ We complete the proof of Lemma E.2.
899
+
900
+ H.3 PROOF OF LEMMA G.1 _Proof of Lemma G.1._ We use Lemma I.1, with the following conditions:
901
+
902
+ **==> picture [286 x 67] intentionally omitted <==**
903
+
904
+ 31
905
+
906
+ On the other hand,
907
+
908
+ **==> picture [283 x 63] intentionally omitted <==**
909
+
910
+ where the last inequality holds because of the inequality in Lemma D.4:
911
+
912
+ **==> picture [310 x 115] intentionally omitted <==**
913
+
914
+ **==> picture [334 x 153] intentionally omitted <==**
915
+
916
+ The second inequality holds because of the definition of _D_[2] divergence (Definition 3.4). The third inequality holds due to Lemma F.1. The last inequality holds because of the choice of _K ≥_ � _v_[2] ( _δ_ ) _H_[4] Ω � _κ_ �.
917
+
918
+ Then using Lemma I.1 with _v_ = 1, _m_ = 1, we have
919
+
920
+ **==> picture [401 x 135] intentionally omitted <==**
921
+
922
+ We complete the proof of Lemma G.1.
923
+
924
+ H.4 PROOF OF LEMMA G.2 _Proof of Lemma G.2._ ∆ _[k] h_[[] _[f,][f, f]_[�] _[ ′]_[]][ is adapted to the filtration] _[ H] h[k]_[and][ E] ∆ _[k] h_[[] _[f,][f, f]_[�] _[ ′]_[]] _[ | H] h[k][−]_[1] = 0. � � We also have
925
+
926
+ **==> picture [305 x 37] intentionally omitted <==**
927
+
928
+ 32
929
+
930
+ **==> picture [186 x 31] intentionally omitted <==**
931
+
932
+ Moreover, for any _k ∈_ [ _K_ ],
933
+
934
+ **==> picture [396 x 153] intentionally omitted <==**
935
+
936
+ The second inequality holds because of the definition of _D_[2] divergence (Definition 3.4). The third inequality holds due to Lemma F.1. The last inequality holds because of the choice of _K ≥_ � _ι_[2] ( _δ_ ) _H_[4] Ω � _κ_ �. Then using Lemma I.1 with _v_ = 1, _m_ = 1 _/_ log _Nb_ , with probability at least 1 _− δ/_ (4 _H_[2] _N_[3] _Nb_ ), we have
937
+
938
+ **==> picture [372 x 137] intentionally omitted <==**
939
+
940
+ We complete the proof of Lemma G.2.
941
+
942
+ **==> picture [398 x 116] intentionally omitted <==**
943
+
944
+ **Lemma I.2** (Regret Decomposition Property, Jin et al. 2021b) **.** Suppose the following inequality holds,
945
+
946
+ **==> picture [330 x 32] intentionally omitted <==**
947
+
948
+ **==> picture [208 x 31] intentionally omitted <==**
949
+
950
+ Here E _π∗_ is with respect to the trajectory induced by _π[∗]_ in the underlying MDP.
951
+
952
+ 33
953
+
954
+ **Lemma I.3** (Azuma-Hoeffding inequality, Cesa-Bianchi & Lugosi 2006) **.** Let _{xi}[n] i_ =1[be a martin-] gale difference sequence with respect to a filtration _{Gi}_ satisfying _|xi| ≤ M_ for some constant _M_ , _xi_ is _Gi_ +1-measurable, E[ _xi|Gi_ ] = 0. Then for any 0 _< δ <_ 1, with probability at least 1 _− δ_ , we have
955
+
956
+ **==> picture [110 x 29] intentionally omitted <==**
957
+
958
+ 34
959
+
open_review/iclr2024_8818.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8818",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Towards Better Evaluation of GNN Expressiveness with BREC Dataset",
6
+ "abstract": "Research on the theoretical expressiveness of Graph Neural Networks (GNNs) has developed rapidly, and many methods have been proposed to enhance the expressiveness. However, unifying all kinds of models into one framework is untractable, making it hard to measure and compare their expressiveness quantitatively. In contrast to theoretical analysis, another way to measure expressiveness is by evaluating model performance on certain datasets containing 1-WL-indistinguishable graphs. Previous datasets specifically designed for this purpose, however, face problems with difficulty (any model surpassing 1-WL has nearly 100\\% accuracy), granularity (models tend to be either 100\\% correct or near random guess), and scale (only several essentially different graphs in each dataset). To address these limitations, we propose a new expressiveness dataset, **BREC**, including 400 pairs of non-isomorphic graphs carefully selected from four primary categories (Basic, Regular, Extension, and CFI). These graphs have higher difficulty (up to 4-WL-indistinguishable), finer granularity (can compare models between 1-WL and 3-WL), and a larger scale (400 pairs or extend to 319600 pairs or even more). Further, we synthetically test 23 models with higher-than-1-WL expressiveness on our BREC dataset. Our experiment gives the first thorough measurement of the expressiveness of those state-of-the-art beyond-1-WL GNN models and reveals the gap between theoretical and practical expressiveness. We expect this dataset to serve as a benchmark for testing the expressiveness of future GNNs. Dataset and evaluation codes are released at: https://github.com/brec-iclr2024/brec-iclr2024.",
7
+ "rebuttal": "### Acknowledging Your Feedback: Offering a Deeper Look into Our Work (Part 1/2)\nWe sincerely appreciate your thoughtful comments and the time you invested in evaluating our work. Your feedback is invaluable, and we are grateful for the positive aspects you highlighted, including the improved Table 2 and the thoroughness of our response. We also acknowledge your concerns about the perceived challenges and effort in generating our expressiveness dataset, especially compared to the effort of human labeling in standard benchmark papers. We would like to provide further insight into the extensive effort involved in creating the graphs in our dataset, which is highly challenging and nontrivial.\n\nConcretely, for Extension Graphs, we implemented four distinct extension methods within our framework: the k-WL hierarchy, k-hop subgraph, counting substructure, and node marking. These methods were uniformly integrated into the WL framework, and we systematically applied them in iterative tests on graphs that met specific criteria. Additionally, we introduced a sub-sampling approach to lower testing burden and balance different types of graphs. To further enhance difficulty, we incorporated dedicated examples featuring the use of virtual nodes and large cycles. In the case of CFI Graphs, we pioneered the implementation of CFI Graphs generation and rigorously tested them using k-WL algorithms. Our work on regular graphs also extended beyond conventional benchmarks by not only a wider search for rare regular graphs (please refer to Appendix L) but also by introducing new sub-categories like the 4-vertex condition graph. Additionally, we implemented theoretical upperbound algorithms for certain models, such as the distance-WL algorithm for Graphormer, and incorporated various graph representation techniques, including incidence graphs and hamming codes, because some rare regular graphs do not provide graph compositions but generation methods with other representations.\n\nWe have made our implemented algorithms publicly available at https://github.com/brec-iclr2024/brec-iclr2024/tree/main/Non-GNNs and https://github.com/brec-iclr2024/brec-iclr2024/tree/main/dataset_generation. We would like to especially highlight our contribution to implementing CFI graphs. As pointed out by reviewer Bpfn, \"The authors are the first to implement CFI graphs that enable any k-WL tests.\" Our implementation enables generating CFI graphs meeting **arbitrary k-WL test difficulty** and using **arbitrary backbone graphs**. This is not only superficially beneficial for GNN expressiveness comparison right now, but also provides a profound contribution to the broader research community, including the graph theory community, as CFI graphs are an essential category for studying the graph isomorphism problem but have never been implemented before due to their implementation challenges. CFI graphs are crafted initially with backbone graphs, necessitating the determination of an appropriate separator size. Subsequently, the original nodes, along with their combinations, undergo expansion, resulting in a multitude of nodes. The creation of new edges is facilitated by leveraging information from the original edges and incorporating cardinal parity considerations. The final two non-isomorphic graphs are generated with additional twist operations. These operations maintain an underlying similarity while introducing nuanced differences between the graphs, which make them distinguishable by some k+1-WL test but not by k-WL. Furthermore, the complexity of the generated graphs is rigorously validated through the application of high-order WL algorithms, which we also implemented ourselves for arbitrary k for the first time. In addition, the involved operations in the implementation are generally different from standard graph operators, and thus are missing from existing graph libraries, which forced us to implement these graph operators one by one ourselves too (see https://github.com/brec-iclr2024/brec-iclr2024/blob/main/dataset_generation/utils.py for the util functions we implemented). All these challenges demonstrate the nontrivial effort in generating our dataset. Overall, the CFI graphs quickly grow very large, and we automate this process for arbitrary k and arbitrary backbone graphs, which can emancipate researchers from composing them by hand. This involves not only nontrivial intellectual effort but also facilitates future research on graph isomorphism testing, graph theory, and GNN expressivity.\n\n### Acknowledging Your Feedback: Offering a Deeper Look into Our Work (Part 2/2)\nWe hope this detailed explanation underscores the tremendous effort we have spent in the dataset generation, as well as the technical challenges we have overcome and the valuable contributions that distinguish our work from other expressiveness benchmarks. Finally, we would like to highlight the difference between human-labeled datasets and synthesized datasets (such as our BREC). Although the former one takes great effort in manual labeling, the data samples are usually easy to collect. In contrast, the latter on [...]\n\n### Grateful for Reviewers’ comments and a Gentle Reminder\nWe hope this letter finds you well. Firstly, we want to express our sincere gratitude for your time and expertise in reviewing our work. Your insightful feedback has been invaluable in improving the quality of our research. We highly appreciate your attention to detail and thoughtful evaluation.\n\nWe would like to kindly remind you about our response to your previous comments and concerns. We have carefully considered and addressed them in our response and corresponding code repository. Specifically, we have dedicated a discussion to el [...]\n\n### Gratitude for Your Feedback and a Slight Clarification\nThank you ever so much for your thoughtful acknowledgment of our paper. We are sincerely grateful for the time and effort you dedicated to reviewing our work.\n\nWhile addressing your comments,\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 6,
10
+ 6,
11
+ 5
12
+ ],
13
+ "score_mean": 5.67,
14
+ "score_variance": 0.33,
15
+ "score_spread": 1,
16
+ "score_min": 5,
17
+ "score_max": 6,
18
+ "decision": "Reject",
19
+ "rebuttal_validity_ground_truth": null,
20
+ "meta_review": "This paper proposed BREC, a new expressiveness dataset to benchmark GNN Expressiveness. Reviewers found this paper to be interesting and useful, but have concerns related to novelty and the significance of the contribution.",
21
+ "forum_id": "aqqE1yS3RY",
22
+ "primary_area": "learning on graphs and other geometries & topologies",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_ZHhj",
27
+ "review_id": "Q93WQJmDOH",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 3,
31
+ "presentation": 2,
32
+ "contribution": 2,
33
+ "confidence": 2
34
+ },
35
+ "review_text_chars": 1514,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 818110,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_Bpfn",
43
+ "review_id": "CiD727rsCB",
44
+ "scores": {
45
+ "rating": 6,
46
+ "soundness": 3,
47
+ "presentation": 3,
48
+ "contribution": 3,
49
+ "confidence": 3
50
+ },
51
+ "review_text_chars": 1495,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 898367,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_D7WE",
59
+ "review_id": "C9h7GayYLq",
60
+ "scores": {
61
+ "rating": 5,
62
+ "soundness": 3,
63
+ "presentation": 3,
64
+ "contribution": 1,
65
+ "confidence": 4
66
+ },
67
+ "review_text_chars": 2119,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 2305307,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8818.md ADDED
@@ -0,0 +1,607 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## TOWARDS BETTER EVALUATION OF GNN EXPRESSIVENESS WITH BREC DATASET
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Research on the theoretical expressiveness of Graph Neural Networks (GNNs) has developed rapidly, and many methods have been proposed to enhance the expressiveness. However, unifying all kinds of models into one framework is untractable, making it hard to measure and compare their expressiveness quantitatively. In contrast to theoretical analysis, another way to measure expressiveness is by evaluating model performance on certain datasets containing 1-WL-indistinguishable graphs. Previous datasets specifically designed for this purpose, however, face problems with difficulty (any model surpassing 1-WL has nearly 100% accuracy), granularity (models tend to be either 100% correct or near random guess), and scale (only several essentially different graphs in each dataset). To address these limitations, we propose a new expressiveness dataset, **BREC** , including 400 pairs of non-isomorphic graphs carefully selected from four primary categories (Basic, Regular, Extension, and CFI). These graphs have higher difficulty (up to 4- WL-indistinguishable), finer granularity (can compare models between 1-WL and 3-WL), and a larger scale (400 pairs or extend to 319600 pairs or even more). Further, we synthetically test 23 models with higher-than-1-WL expressiveness on our BREC dataset. Our experiment gives the first thorough measurement of the expressiveness of those state-of-the-art beyond-1-WL GNN models and reveals the gap between theoretical and practical expressiveness. We expect this dataset to serve as a benchmark for testing the expressiveness of future GNNs. Dataset and evaluation codes are released at: [URL removed]
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ GNNs have been extensively utilized in bioinformatics, recommender systems, social networks, and others, yielding remarkable outcomes (Duvenaud et al., 2015; Barab´asi et al., 2011; Fan et al., 2019; Wang et al., 2018b; Berg et al., 2017; Zhou et al., 2020). Despite impressive empirical achievements, related investigations have revealed that GNNs exhibit limited abilities to distinguish some similar but non-isomorphic graphs. In practical situations, the inability to recognize specific structures, such as benzene rings (6-member rings), may cause misleading learning results. Xu et al. (2019); Morris et al. (2019) established a connection between the expressiveness of message-passing neural networks (MPNNs) and the WL test for graph isomorphism testing, demonstrating that MPNN’s upper bound is 1-WL. Numerous subsequent studies have proposed GNN variants with enhanced expressiveness (Bevilacqua et al., 2022; Cotta et al., 2021; You et al., 2021; Zhang & Li, 2021).
14
+
15
+ Given the multitude of models employing different approaches, such as feature injection, equivariance maintenance, and subgraph extraction, a unified framework that can theoretically compare the expressive power among various variants is highly desirable. In this regard, several attempts have been made under the _k_ -WL architecture. Maron et al. (2019b) propose the concept of _k_ -order invariant/equivariant graph networks, which unify linear layers while preserving permutation invariance/equivariance. Additionally, Frasca et al. (2022) unify recent subgraph GNNs and establish that their expressiveness upper bound is 3-WL. Zhang et al. (2023a) further construct a comprehensive expressiveness hierarchy for subgraph GNNs. Nonetheless, the magnitude of the gaps remains unknown. Furthermore, there exist methods that are difficult to categorize within the _k_ -WL hierarchy. For instance, Papp & Wattenhofer (2022) propose four extensions of GNNs, each of which cannot strictly compare with the other. Similarly, Feng et al. (2022) propose a GNN that is partially stronger than 3-WL yet fails to distinguish many 3-WL-distinguishable graphs. In a different ap-
16
+
17
+ 1
18
+
19
+ proach, Huang et al. (2023) propose evaluating expressiveness by enumerating specific significant substructures, such as 6-cycles. Zhang et al. (2023b) introduces biconnectivity as a measurement.
20
+
21
+ Without a unified theoretical characterization of expressiveness, employing expressiveness datasets for testing proves valuable. Notably, three expressiveness datasets, EXP, CSL, and SR25, have been introduced by Abboud et al. (2021); Murphy et al. (2019); Balcilar et al. (2021) and have found widespread usage in recent studies. However, these datasets exhibit notable limitations. Firstly, they lack sufficient difficulty. The EXP and CSL datasets solely consist of examples where 1-WL fails, and most recent GNN variants have achieved perfect accuracy on these datasets. Secondly, the granularity of these datasets is too coarse, which means that graphs in these datasets are generated using a single method, resulting in a uniform level of discrimination difficulty. Consequently, the performance of GNN variants often falls either at random guessing (completely indistinguishable) or 100% (completely distinguishable), thereby hindering the provision of a nuanced measure of expressiveness. Lastly, these datasets suffer from small sizes, typically comprising only a few substantially different graphs, raising concerns of incomplete measurement.
22
+
23
+ To overcome the limitations of previous datasets, we propose BREC, including 400 pairs of nonisomorphic graphs in 4 major categories: Basic, Regular, Extension, and CFI graphs. Compared to previous datasets, BREC has a greater difficulty (up to 4-WL-indistinguishable), finer granularity (can compare models between 1-WL and 3-WL), and larger scale (800 non-isomorphic graphs organized as 400 pairs or extend to 319600 pairs or even more), addressing previous ones’ shortcomings.
24
+
25
+ Due to the increased size and diversity of the dataset, the traditional classification task may not be suitable for training-based evaluation methods that rely on generalization ability. Thus, we propose a novel evaluation procedure based on directly comparing the discrepancies between model outputs to test pure practical expressiveness. Acknowledging the impact of numerical precision owning to tiny differences between graph pairs, we propose reliable paired comparisons building upon a statistical method (Fisher, 1992; Johnson & Wichern, 2007), which offers a precise error bound. Experiments verify that the evaluation procedure aligns well with known theoretical results.
26
+
27
+ Finally, we comprehensively compared 23 representative beyond-1-WL models on BREC. Our experiments first give a **reliable empirical comparison** of state-of-the-art GNNs’ expressiveness. The currently most thorough investigation is a good start for gaining deeper insights into various schemes to enhance GNNs’ expressiveness. On BREC, GNN accuracies range from 41.5% to 70.2%, with I[2] -GNN (Huang et al., 2023) performing the best. The 70.2% highest accuracy also implies that the dataset is **far from saturation** . We expect BREC can serve as a benchmark for testing future GNNs’ expressiveness. Our dataset is included in [URL removed]
28
+
29
+ ## 2 LIMITATIONS OF EXISTING DATASETS
30
+
31
+ **Preliminary.** We utilize the notation _{}_ to represent sets and _{{}}_ to represent multisets. The cardinality of a (multi)set S is denoted as _|_ S _|_ . The index set is denoted as [ _n_ ] = 1 _, . . . , n_ . A graph is denoted as _G_ = (V( _G_ ) _,_ E( _G_ )), where V( _G_ ) represents the set of _nodes_ or _vertices_ and E( _G_ ) represents the set of _edges_ . Without loss of generality, we assume _|_ V( _G_ ) _|_ = _n_ and V( _G_ ) = [ _n_ ].
32
+
33
+ The permutation or reindexing of _G_ is denoted as _G[π]_ = (V( _G[π]_ ) _,_ E( _G[π]_ )) with the permutation function _π_ : [ _n_ ] _→_ [ _n_ ], s.t. ( _u, v_ ) _∈_ E( _G_ ) _⇐⇒_ ( _π_ ( _u_ ) _, π_ ( _v_ )) _∈_ E( _G[π]_ ). Here node and edge features are excluded from definitions for briefness. Additional discussions can be found in Appendix B.
34
+
35
+ **Graph Isomorphism (GI) Problem.** Two graphs _G_ and _H_ are considered isomorphic (denoted as _G ≃H_ ) if _∃ ϕ_ (a bijection mapping) :V( _G_ ) _→_ V( _H_ ) s.t. ( _u, v_ ) _∈_ E( _G_ ) iff. ( _ϕ_ ( _u_ ) _, ϕ_ ( _v_ )) _∈_ E( _H_ ). GI is essential in expressiveness. Only if GNN successfully distinguishes two non-isomorphic graphs can they be assigned different labels. Some researchers (Chen et al., 2019; Geerts & Reutter, 2022) indicate the equivalence between GI and function approximation, underscoring the importance of GI. However, we currently do not have polynomial-time algorithms for solving the GI problem. A naive solution involves iterating all _n_ ! permutations to test whether such a bijection exists.
36
+
37
+ **Weisfeiler-Lehman algorithm (WL).** WL is a well-known isomorphism test relying on color refinement (Weisfeiler & Leman, 1968). In each iteration, WL assigns a state (or color) to each node by aggregating information from its neighboring nodes’ states. This process continues until convergence, resulting in a multiset of node states representing the final graph representation. While WL
38
+
39
+ 2
40
+
41
+ **==> picture [372 x 60] intentionally omitted <==**
42
+
43
+ **==> picture [357 x 10] intentionally omitted <==**
44
+
45
+ **----- Start of picture text -----**<br>
46
+ (a) EXP dataset core pair sample (b) CSL graph( m = 10 , r = 2 / 3) (c) SR25 dataset sample<br>**----- End of picture text -----**<br>
47
+
48
+ Figure 1: Sample graphs in previous datasets
49
+
50
+ Table 1: Dataset statistics
51
+
52
+ ||||Table|1: Dataset statistics||
53
+ |---|---|---|---|---|---|
54
+ |Dataset|# Graphs|# Core graphsa|# Nodes|Distinguishing diffculty|Evaluation metrics|
55
+ |EXP|1200|6|33-73|1-WL-indistinguishable|2-way classifcation|
56
+ |CSL|150|10|41|1-WL-indistinguishable|10-way classifcation|
57
+ |SR25|15|15|25|3-WL-indistinguishable|15-way classifcation|
58
+ |**BREC**|800|**800**|**10-198**|**1-WL to 4-WL-indistinguishable**|Reliable Paired Comparisons|
59
+
60
+ > a Core graphs represent graphs that actually serve to measure expressiveness.
61
+
62
+ effectively identifies most non-isomorphic graphs, it may fail in certain simple graphs, leading to the development of extended versions. One such extension is _k_ -WL, which treats each _k_ -tuple of nodes as a unit for aggregating information. Another slightly different method (Cai et al., 1989) is also referred to as _k_ -WL. To avoid confusion, we follow Morris et al. (2019) to call the former _k_ -WL and the latter _k_ -FWL. Further information can be found in Appendix C.
63
+
64
+ Given the significance of GI and WL, several expressiveness datasets have been introduced, with the following three being the most frequently utilized. We selected a pair of graphs from each dataset, illustrated in Figure 1. Detailed statistics for these datasets are presented in Table 1.
65
+
66
+ **EXP Dataset.** This dataset is generated pairwise. Each graph in a pair includes two disconnected components, the core component and planar component, where the former are two 1-WLindistinguishable counterexamples while the latter are identical and only for adding noise. The two graphs are labeled 0/1 based on whether their core component satisfies the SAT condition for a binary classification problem. Although it is formally consistent with general datasets, the insufficient difficulty and number of different core components ( **only three substantially different pairs** ) results in most recent GNNs achieving nearly 100% accuracy, making detailed comparisons unavailable.
67
+
68
+ **CSL Dataset.** This dataset consists of Circulant Skip Links (CSL) graphs, which are 1-WLindistinguishable 4-degree regular graphs. Ten distinct CSL graphs with 41 nodes are generated first. Each of the ten distinct CSL graphs is treated as a separate class, and the task is to train a 10-way classification model. Then, each graph is reindexed 14 times, resulting in the final dataset with 150 graphs. Because of the relatively low difficulty and their fixed structure (only **ten essentially different graphs with the same number of nodes and degree** ), many recent expressive GNN models achieve close to 100% accuracy. More details about CSL graphs are in Appendix D.
69
+
70
+ **SR25 Dataset.** This dataset consists of 15 3-WL-indistinguishable Strongly Regular Graphs (SR) with parameter srg(25,12,5,6)[1] . In practice, SR25 is transformed into a 15-way classification problem for mapping each graph into a different class where the training and test graphs overlap. Most methods obtain 6.67% (1/15) accuracy due to 3-WL’s high expressiveness. However, some methods partially surpassing 3-WL achieve 100% accuracy easily since each graph has the same parameters.
71
+
72
+ These three datasets have limitations regarding difficulty, granularity, and scale. In terms of difficulty, they are all bounded by 3-WL, failing to evaluate models (partly) beyond 3-WL (Feng et al., 2022). In terms of granularity, the graphs are generated in one way with repetive parameters, which easily leads to a 0/1 step function of model performance and cannot measure subtle differences between models. In terms of scale, the number of substantially different graphs in the datasets is small, and the test results may be incomplete to reflect expressiveness measurement.
73
+
74
+ ## 3 BREC: A NEW DATASET FOR EXPRESSIVENESS
75
+
76
+ We propose a new expressiveness dataset, BREC, to address the limitations regarding difficulty, granularity, and scale. It consists of four major categories of graphs: Basic, Regular, Extension, and CFI. Basic graphs include relatively simple 1-WL-indistinguishable graphs. Regular graphs include
77
+
78
+ > 1Strongly regular graphs can be described by four parameters. More details can be found in Appendix A
79
+
80
+ 3
81
+
82
+ **==> picture [361 x 132] intentionally omitted <==**
83
+
84
+ **==> picture [330 x 23] intentionally omitted <==**
85
+
86
+ **----- Start of picture text -----**<br>
87
+ (a) Basic (b) Regular (c) Strongly regular (d) Extension (e) CFI<br>Figure 2: BREC dataset samples<br>**----- End of picture text -----**<br>
88
+
89
+ four types of subcategorized regular graphs. Extension graphs include special graphs that arise when comparing four kinds of GNN extensions (Papp & Wattenhofer, 2022). CFI graphs include graphs generated by CFI methods[2] (Cai et al., 1989) with high difficulty. Some samples are shown in Fig 2.
90
+
91
+ ## 3.1 DATASET COMPOSITION
92
+
93
+ BREC includes 800 non-isomorphic graphs arranged in a pairwise manner to construct 400 pairs, with detailed composition as follows: (For detailed generation process, please refer to Appendix L)
94
+
95
+ **Basic Graphs.** Basic graphs consist of 60 pairs of 10-node graphs. These graphs are collected from an exhaustive search and intentionally designed to be non-regular. Although they are 1- WL-indistinguishable, most can be distinguished by expressive GNN variants. Basic graphs can also be regarded as an augmentation of the EXP dataset, as they both employ non-regular 1-WLindistinguishable graphs. Nevertheless, Basic graphs offer a greater abundance of instances and more intricate graph patterns. The relatively small size also facilitates visualization and analysis.
96
+
97
+ **Regular Graphs.** Regular graphs consist of 140 pairs of regular graphs, including 50 pairs of simple regular graphs, 50 pairs of strongly regular graphs, 20 pairs of 4-vertex condition graphs, and 20 pairs of distance regular graphs. A regular graph refers to a graph where all nodes possess the same degree. Regular graphs are 1-WL-indistinguishable, and some studies delve into the analysis of GNN expressiveness from this perspective (Li et al., 2020; Zhang & Li, 2021). We denote regular graphs without any special properties as simple regular graphs. When exploring more intricate regular graphs, the concept of strongly regular graphs (where 3-WL fails) is often introduced. They further require that the number of neighboring nodes shared by any two nodes depends solely on their connectivity. Notable examples of strongly regular graphs include the 4 _×_ 4-Rook’s graph and the Shrikhande graph (Fig 2(c)). Additionally, the 4 _×_ 4-Rook’s graph satisfies the 4-vertex condition property, which signifies that the number of connected edges between the common neighbors of any two nodes is solely determined by their connectivity (Brouwer et al., 2023). It is worth mentioning that the diameter of a connected strongly regular graph is always 2 (Brouwer et al., 2012b). A more challenging type of graph known as the distance regular graphs (Brouwer et al., 2012a) is proposed aiming for extending the diameter. By expanding upon the existing subdivisions of regular graphs, this section widens the range of difficulty and complexity. Moreover, unlike the previous datasets, regular graphs are not limited to sharing identical parameters for all graphs within each category, greatly enhancing diversity. More details about regular graphs can be found in Appendix A.
98
+
99
+ **Extension Graphs.** Extension graphs consist of 100 pairs of graphs inspired by Papp & Wattenhofer (2022). They proposed 4 types of theoretical GNN extensions: _k_ -WL hierarchy-based, substructurecounting-based, _k_ -hop-subgraph-based, and marking-based without strict comparison relationship. Leveraging the insights from theoretical analysis and some empirically derived findings, we generated 100 pairs of graphs between 1-WL and 3-WL distinguishing difficulty to improve granularity. Note that we are the first to realize the algorithms and generate counterexamples on a large scale.
100
+
101
+ **CFI Graphs.** CFI graphs consist of 100 pairs of graphs inspired by Cai et al. (1989). They developed a method to generate graphs distinguishable by _k_ -WL but not by ( _k −_ 1)-WL for any _k_ . We are the
102
+
103
+ > 2CFI is short for Cai-Furer-Immerman algorithm, which can generate counterexample graphs for any k-WL.
104
+
105
+ 4
106
+
107
+ **==> picture [372 x 109] intentionally omitted <==**
108
+
109
+ **----- Start of picture text -----**<br>
110
+ Comparison<br>results<br>Isomorphic flag<br>𝑮𝑮 Network 1Siamese 𝒇𝒇(𝑮𝑮) procedureMajor Generating comparison resultsof external paired 𝟏𝟏 group Calculating 𝑻𝑻𝟐𝟐𝒕𝒕𝑻 𝒕𝒕 Outputting results by comparing 𝑻𝑻𝑻𝟐𝟐𝒕𝒕𝑻𝑻 𝒕𝒕𝑻 and 𝑻 𝑻𝑻 = 𝑻𝑻𝟐𝟐𝒕𝒕𝑻 𝒕𝒕 > 𝑻 𝑻 𝑻 𝑻 𝑻𝑻<br>Same weights Contrastive loss 𝑻 𝐦𝑻 Setting 𝑻𝐦𝐦 𝑻𝑻𝑻 [𝟐𝟐] 𝑻𝑻= Reliability flag = True GNN can distinguish 𝑮𝑮 Isomorphic flag = and 𝑯𝑯 only when<br>𝑯𝑯 Network 2Siamese 𝒇𝒇(𝑯𝑯) Reliability check Generating comparison resultsof inner paired 𝟏𝟏 group Calculating 𝑻𝑻𝟐𝟐𝑻 𝑻𝑻𝒓 𝒓 𝑻𝑻𝒓𝒓𝒕𝒕𝒓𝒓 Outputting results by comparing 𝑻𝑻𝟐𝟐𝑻𝑻 𝑻𝑻𝒓𝑻𝒓 𝑻𝑻𝑻𝒓𝒓𝒕𝒕𝒓𝒓𝑻 and 𝑻𝑻 Reliability flag= 𝑻𝑻𝟐𝟐𝑻 𝑻𝑻𝒓 𝒓 𝑻𝑻𝒓𝒓𝒕𝒕𝒓𝒓 <<br>𝑻 𝑻 𝑻 𝑻 𝑻𝑻<br>(a) Training Framework (b) RPC Pipeline<br>**----- End of picture text -----**<br>
111
+
112
+ Figure 3: Evaluation Method
113
+
114
+ first to implement it and create 100 pairs of graphs spanning up to 4-WL-indistinguishable, even surpassing the current research’s upper bounds. Specifically, 60 pairs are solely distinguishable by 3-WL, 20 are solely distinguishable by 4-WL, and 20 are even 4-WL-indistinguishable. As the most challenging part, it pushes the upper limit of difficulty even higher. Furthermore, the graph sizes in this section are larger than other parts (up to 198 nodes). This aspect intensifies the challenge of the dataset, demanding a model’s ability to process graphs with heterogeneous sizes effectively.
115
+
116
+ ## 3.2 ADVANTAGES
117
+
118
+ **Difficulty.** The CFI graphs raise difficulty to 4-WL-indistinguishable. The newly involved 4-vertex condition and distance regular graphs also pose greater challenges regarding higher regularity.
119
+
120
+ **Granularity.** The different classes of graphs in BREC exhibit varying difficulty levels, each contributing to the dataset in distinct ways. Basic graphs contain fundamental 1-WL-indistinguishable graphs, similar to the EXP dataset, as a starting point for comparison. Regular graphs extend the CSL and SR25 datasets. The major components of regular graphs are simple regular graphs and strongly regular graphs, where 1-WL and 3-WL fail, respectively. Including 4-vertex condition graphs and distance regular graphs further elevates the complexity. Extension graphs bridge the gap between 1-WL and 3-WL, offering a finer-grained comparison for evaluating models beyond 1-WL. CFI graphs span the spectrum of difficulty from 1-WL to 4-WL-indistinguishable. By comprehensive graph composition, BREC explores the boundaries of graph pattern distinguishability.
121
+
122
+ **Scale.** While previous datasets relied on only a few essentially different graphs, BREC utilizes a collection of 800 different graphs organized as 400 pairs. This significant increase in the number of graphs greatly enhances the diversity. The larger graph set in BREC also contributes to a more varied distribution of graph statistics. In contrast, previous datasets such as CSL and SR25 only have the same number of nodes and degrees across all graphs. For detailed statistics of BREC, please refer to Appendix E. BREC can also be easily further scaled up to 319600 pairs by iterating over all possible compare combinations, or even more by adding more graphs as it is a small sample of what we have done in the generation process (Appendix L). However, we deliberately did not scale it to facilitate a lower testing burden and balance the distribution of graphs with different difficulties. The experiments also verify that the current size is enough to find subtle differences between models.
123
+
124
+ ## 4 RPC: A NEW EVALUATION METHOD
125
+
126
+ This section introduces a novel training framework and evaluation method for BREC. Unlike previous datasets, BREC departs from the conventional classification setting, where each graph is assigned a label, a classification model is trained, and the accuracy on test graphs serves as the measure of expressiveness. The labeling schemes used in previous datasets like semantic labels based on SAT conditions in EXP, or distinct labels for essentially different graphs in CSL and SR25, do not apply to BREC. There are two primary reasons. First, BREC aims to enrich the diversity of graphs, which precludes using a semantic label tied to SAT conditions, as it would significantly limit the range of possible graphs. Second, assigning a distinct label to each graph in BREC would result in an 800-class classification problem, where performance could be influenced by factors other than expressiveness. Our core idea is to measure models’ practical ”separating power” directly. Thus BREC is organized in pairs, where each pair is individually tested to determine whether a GNN can distinguish them. By adopting a pairwise evaluation method, BREC provides a more focused measure of models’ expressiveness, aligning to assess distinguishing ability.
127
+
128
+ 5
129
+
130
+ Nevertheless, how can we say a pair of graphs is successfully distinguished? Previous researchers tend to set a small threshold (like 1E-4) manually. If the embedding distance between them is larger than the threshold, the GNN is considered can distinguish them. This setting may satisfy previous datasets’ requirements due to the relatively simple construction. However, it lacks **reliability** on numerical precision with more complex graphs where tiny differences may even overlap with numerical fluctuations. In order to yield dependable outcomes, we propose an evaluation method measuring both **external difference** and **internal fluctuations** . Furthermore, we introduce a training framework for pairwise data, employing the siamese network design (Koch et al., 2015) and contrastive loss (Hadsell et al., 2006; Wang et al., 2018a). The pipeline is depicted in Fig 3(a).
131
+
132
+ ## 4.1 TRAINING FRAMEWORK
133
+
134
+ We adhere to the siamese network design (Koch et al., 2015) to train a model to distinguish each pair of graphs. The central component consists of two identical models maintaining identical parameters. For a pair of graphs inputted, it outputs a pair of embeddings. Subsequently, the difference between them is assessed using cosine similarity. The loss function is formulated as follows:
135
+
136
+ **==> picture [291 x 24] intentionally omitted <==**
137
+
138
+ where the GNN model _f_ : _{G} →_ R _[d]_ , _G_ and _H_ are two graphs, and _γ_ is a margin hyperparameter (set to 0 in our experiments). The loss function aims to promote the cosine similarity value lower than _γ_ , thereby encouraging a greater separation between the two graph embeddings.
139
+
140
+ The training process **yields several benefits** for the models. Firstly, it helps the GNN to achieve its theoretical expressiveness. The GNN expressiveness analysis focuses primarily on the network’s structure without imposing any constraints on its parameters, which means it is exploring the expressiveness of **a group of functions** . If a model with particular parameters can distinguish a pair of graphs, the model’s design and structure are considered possessing sufficient expressiveness. However, it is impractical to iterate all possible parameter combinations to test the real upper bound. Hence, training can **realize searching** in the function space, enabling models to achieve better practical expressiveness. Furthermore, training aids components to **possess specific properties** , such as injectivity and universal approximation, which are vital for attaining theoretical expressiveness. These properties require specific parameter configurations, but randomly initialized parameters may not satisfy. Moreover, through training, model-distinguishable pairs are **more easily discriminated** from model-indistinguishable pairs, which helps reducing the false negative rate caused by numerical precision. The difference between model-distinguishable pairs’ embeddings is further magnified in the pairwise contrastive training process. However, the difference for model-indistinguishable pairs caused by numerical precision remains unaffected mainly. The framework is shown in Fig 3(a).
141
+
142
+ ## 4.2 EVALUATION METHOD
143
+
144
+ We evaluate models by comparing the outputs of two non-isomorphic graphs. If we notice a significant difference between the outputs, we conclude that the GNN can distinguish the pair of graphs. However, setting a suitable threshold can be challenging. A large threshold may yield false negatives, which means the model can distinguish the pair, but the observed difference falls short of the threshold. Conversely, a small threshold may yield false positives, which means the model cannot distinguish the pair, but fluctuating errors cause the difference to exceed the threshold.
145
+
146
+ To address the issue of fluctuating errors, we draw inspiration from Paired Comparisons (Fisher, 1992). It involves comparing two groups of results instead of a single pair. The influence of random errors is mitigated by repeatedly generating results and comparing the two groups of results. Building upon it, we introduce a method called **R** eliable **P** aired **C** omparison (RPC) to verify whether a GNN genuinely produces distinct outputs for a pair of graphs. The pipeline is depicted in Fig 3(b).
147
+
148
+ RPC consists of two main components: Major procedure and Reliability check. The Major procedure is conducted on a pair of non-isomorphic graphs to measure their dissimilarity. In contrast, the Reliability check is conducted on graph automorphisms to capture internal fluctuations.
149
+
150
+ **Major procedure.** Given two non-isomorphic graphs _G, H_ , we create _q_ copies of each by random permutation (still isomorphic to original graph) to generate two groups of graphs, denoted as:
151
+
152
+ **==> picture [231 x 11] intentionally omitted <==**
153
+
154
+ 6
155
+
156
+ **==> picture [397 x 26] intentionally omitted <==**
157
+
158
+ **Assumption 4.1** _**d** i are independent N_ ( _**µ** ,_ **Σ** ) _random vectors._
159
+
160
+ The above assumption is based on a more basic assumption that _f_ ( _Gi_ ) _, f_ ( _Hi_ ) follow Gaussian distributions, which presumes that random permutation only introduces Gaussian noise to the result.
161
+
162
+ If the GNN cannot distinguish _G_ and _H_ , the mean difference should satisfy _**µ**_ = **0** . To check whether the equation holds, we can conduct an _α_ -level Hotelling’s T-square test, comparing the hypotheses _H_ 0 : _**µ**_ = **0** against _H_ 1 : _**µ** ̸_ = **0** . The _T_[2] -statistic for _**µ**_ is calculated as follows:
163
+
164
+ **==> picture [261 x 12] intentionally omitted <==**
165
+
166
+ where
167
+
168
+ **==> picture [301 x 29] intentionally omitted <==**
169
+
170
+ Hotelling’s T-square test proves that _T_[2] is distributed as an[(] _[q] q[−] −_[1] _d_[)] _[d][F][d,q][−][d]_[random][variable,][where] _Fd,q−d_ represents _F_ -distribution with degree of freedom _d, q − d_ (Hotelling, 1992). The theorem establishes a connection between the unknown parameter _**µ**_ and a definite distribution _Fd,q−d_ , allowing us to confirm the confidence interval of _**µ**_ by testing the distribution fit. To test the hypothesis _H_ 0 : _**µ**_ = **0** , we substitute _**µ**_ = **0** into Equation (4), obtaining _T_ test[2][=] _[q]_ _**d**_ ~~_T_~~ _**S** −_ 1 _**d**_ . Then an _α_ -level test of _H_ 0 : _**µ**_ = **0** versus _H_ 1 : _**µ** ̸_ = **0** accepts _H_ 0 (the GNN cannot distinguish the pair) if:
171
+
172
+ **==> picture [282 x 25] intentionally omitted <==**
173
+
174
+ where _Fd,q−d_ ( _α_ ) is the upper (100 _α_ )th percentile of the _F_ -distribution _Fd,q−d_ (Fisher, 1950) with _d_ and _q − d_ degrees of freedom. Similarly, we reject _H_ 0 (the GNN can distinguish the pair) if
175
+
176
+ **==> picture [282 x 24] intentionally omitted <==**
177
+
178
+ **Reliability check.** With an appropriate choice of _α_ , the Major procedure provides a dependable confidence interval for assessing the distinguishability. However, manually selected _α_ based on heuristics may not be optimal. Furthermore, computational precisions can introduce distribution shifts in assumed Gaussian fluctuations. To address this issue, we introduce the Reliability check. It bridges external differences between two graphs and internal fluctuations within a single graph.
179
+
180
+ WLOG, we replace _H_ by permutation of _G_ , i.e., _G[π]_ . We can then obtain the internal fluctuations within _G_ by comparing it with _G[π]_ , and the external difference between _G_ and _H_ by comparing _G_ and _H_ . We utilize the same step as Major procedure on _G_ and _G[π]_ , calculating the _T_[2] -statistics as:
181
+
182
+ **==> picture [246 x 16] intentionally omitted <==**
183
+
184
+ **==> picture [382 x 28] intentionally omitted <==**
185
+
186
+ Recalling that _G_ and _G[π]_ are isomorphic, the GNN should not distinguish between them, implying that _**µ**_ = **0** . Therefore, the test is considered reliable only if _T_ reliability[2] _[<]_[(] ( _[q] q[−] −_[1] _d_[)] ) _[d][F][d,q][−][d]_[(] _[α]_[)][.][Combin-] ing the reliability and distinguishability results, we get the complete RPC (Fig 3(b)) as follows:
187
+
188
+ For each pair of graphs _G_ and _H_ , we first calculate the threshold value, denoted as Threshold = ( _q−_ 1) _d_ ( _q−d_ ) _[F][d,q][−][d]_[(] _[α]_[)][.][Next,][we][conduct][the][Major][procedure][on] _[G]_[and] _[H]_[for][distinguishability][and] perform the Reliability check on _G_ and _G[π]_ for Reliability. Only when the _T_[2] -statistic from the Major procedure, denoted as _T_ test[2][,][and][the] _[T]_[ 2][-statistic][from][the][Reliability][check,][denoted][as] _[T]_[ 2] reliability[,] satisfying _T_ reliability[2] _[<]_[ Threshold] _[ < T]_ test[ 2][, do we conclude that the GNN can distinguishing] _[ G]_[and] _[ H]_[.]
189
+
190
+ We further propose **R** eliable **A** daptive **P** aired **C** omparisons (RAPC), aiming to adaptively adjust the threshold and provide an upper bound for false positive rates. In practice, we use **RPC** due to its less computational time and satisfactory performance. For more details, please refer to Appendix F.
191
+
192
+ 7
193
+
194
+ Table 2: Pair distinguishing accuracies on BREC
195
+
196
+ |Type<br>Model|Basic Graphs (60)<br>Number<br>Accuracy|Regular Graphs (140)|Extension Graphs (100)|CFI Graphs (100)|Total (400)|
197
+ |---|---|---|---|---|---|
198
+ |||Number<br>Accuracy|Number<br>Accuracy|Number<br>Accuracy|Number<br>Accuracy|
199
+ |Non-GNNs<br>3-WL<br>SPD-WL<br>_S_3<br>_S_4<br>_N_1<br>_N_2<br>_M_1|60<br>100%<br>16<br>26.7%<br>52<br>86.7%<br>60<br>100%<br>60<br>100%<br>60<br>100%<br>60<br>100%|50<br>35.7%<br>14<br>11.7%<br>48<br>34.3%<br>99<br>70.7%<br>99<br>85%<br>138<br>98.6%<br>50<br>35.7%|100<br>100%<br>41<br>41%<br>5<br>5%<br>84<br>84%<br>93<br>93%<br>100<br>100%<br>100<br>100%|60<br>60.0%<br>12<br>12%<br>0<br>0%<br>0<br>0%<br>0<br>0%<br>0<br>0%<br>41<br>41%|270<br>67.5%<br>83<br>20.8%<br>105<br>26.2%<br>243<br>60.8%<br>252<br>63%<br>298<br>74.5%<br>251<br>62.8%|
200
+ |Subgraph GNNs<br>NGNN<br>DE+NGNN<br>DS-GNN<br>DSS-GNN<br>SUN<br>SSWL<br>~~P~~<br>GNN-AK<br>KP-GNN<br>I2-GNN|59<br>98.3%<br>60<br>100%<br>58<br>96.7%<br>58<br>96.7%<br>60<br>100%<br>60<br>100%<br>60<br>100%<br>60<br>100%<br>60<br>100%|48<br>34.3%<br>50<br>35.7%<br>48<br>34.3%<br>48<br>34.3%<br>50<br>35.7%<br>50<br>35.7%<br>50<br>35.7%<br>106<br>75.7%<br>100<br>71.4%|59<br>59%<br>100<br>100%<br>100<br>100%<br>100<br>100%<br>100<br>100%<br>100<br>100%<br>97<br>97%<br>98<br>98%<br>100<br>100%|0<br>0%<br>21<br>21%<br>16<br>16%<br>15<br>15%<br>13<br>13%<br>38<br>38%<br>15<br>15%<br>11<br>11%<br>21<br>21%|166<br>41.5%<br>231<br>57.8%<br>222<br>55.5%<br>221<br>55.2%<br>223<br>55.8%<br>248<br>62%<br>222<br>55.5%<br>275<br>68.8%<br>281<br>70.2%|
201
+ |k-WL GNNs<br>PPGN<br>_δ_-k-LGNN<br>KC-SetGNN|60<br>100%<br>60<br>100%<br>60<br>100%|50<br>35.7%<br>50<br>35.7%<br>50<br>35.7%|100<br>100%<br>100<br>100%<br>100<br>100%|23<br>23%<br>6<br>6%<br>1<br>1%|233<br>58.2%<br>216<br>54%<br>211<br>52.8%|
202
+ |Substructure GNNs<br>GSN|60<br>100%|99<br>70.7%|95<br>95%|0<br>0%|254<br>63.5%|
203
+ |Random GNNs<br>DropGNN<br>OSAN|52<br>86.7%<br>56<br>93.3%|41<br>29.3%<br>8<br>5.7%|82<br>82%<br>79<br>79%|2<br>2%<br>5<br>5%|177<br>44.2%<br>148<br>37%|
204
+ |Transformer GNNs<br>Graphormer|16<br>26.7%|12<br>8.6%|41<br>41%|10<br>10%|79<br>19.8%|
205
+
206
+ ## 5 EXPERIMENT
207
+
208
+ In this section, we evaluate the expressiveness of 23 representative models using our BREC dataset.
209
+
210
+ **Model selection.** We evaluate six categories of methods: non-GNN methods, subgraph-based GNNs, _k_ -WL-hierarchy-based GNNs, substructure-based GNNs, transformer-based GNNs, and random GNNs. Our primary focus will be on the first three categories. We implement four types of non-GNN baselines based on Papp & Wattenhofer (2022); Ying et al. (2021), including WL test (3-WL and SPD-WL), counting substructures ( _S_ 3 and _S_ 4), neighborhood up to a certain radius ( _N_ 1 and _N_ 2), and marking ( _M_ 1). We implemented them by adding additional features during the WL test update or using heterogeneous message passing. It is important to note that they are more theoretically significant than practical since they may require exhaustive enumeration or exact isomorphism encoding of various substructures. We additionally included 16 state-of-the-art GNNs, including NGNN (Zhang & Li, 2021), DE+NGNN (Li et al., 2020), DS/DSS-GNN (Bevilacqua et al., 2022), SUN (Frasca et al., 2022), SSWL ~~P~~ (Zhang et al., 2023a), GNN-AK (Zhao et al., 2022a), KP-GNN (Feng et al., 2022), I[2] -GNN (Huang et al., 2023), PPGN (Maron et al., 2019a), _δ_ -k-LGNN (Morris et al., 2020), KC-SetGNN (Zhao et al., 2022b), GSN (Bouritsas et al., 2022), DropGNN (Papp et al., 2021), OSAN (Qian et al., 2022), and Graphormer (Ying et al., 2021).
211
+
212
+ Table 2 presents the primary results. _N_ 2 achieves the highest accuracy among non-GNNs, and I[2] - GNN achieves the highest among GNNs. We provide a detailed analysis of each method’s accuracy across various graphs. The findings generally indicate that practical expressiveness aligns closely with theoretical expectations. Nevertheless, there are still some situations where a gap between theory and practice persists. Detailed experiment settings are included in Appendix K.
213
+
214
+ **Non-GNN baselines.** 3-WL successfully distinguishes all Basic graphs, Extension graphs, simple regular graphs and 60 CFI graphs as expected. _S_ 3, _S_ 4, _N_ 1, and _N_ 2 demonstrate excellent performance on small-radius graphs such as Basic, Regular, and Extension graphs. However, due to their limited receptive fields, they struggle to distinguish large-radius graphs like CFI graphs. Noting that the expressiveness of _S_ 3 and _S_ 4 is bounded by _N_ 1 and _N_ 2, respectively, as analyzed by Papp & Wattenhofer (2022). Conversely, _M_ 1 is implemented by heterogeneous message passing, which makes it unaffected by large graph diameters, thus maintaining its performance across different graphs. SPDWL is another 1-WL extension operated on a complete graph with shortest path distances as edge features. It may degrade to 1-WL on low-radius graphs, causing its relatively poor performance.
215
+
216
+ **Subgraph-based GNNs.** Regarding subgraph-based models, they can generally distinguish almost all Basic graphs, simple regular graphs and Extension graphs. However, an exception lies with NGNN, which performs poorly in Extension graphs due to its simplicial node selection policy and lack of node labeling. Two other exceptions are KP-GNN and I[2] -GNN, both exhibiting exceptional performance in Regular graphs. KP-GNN can differentiate a substantial number of strongly regular
217
+
218
+ 8
219
+
220
+ graphs and 4-vertex condition graphs, surpassing the 3-WL partially. And I[2] -GNN surpasses the limitations of 3-WL partially through its enhanced cycle-counting power. An influential aspect that impacts the performance is the subgraph radius. Approaches incorporating appropriate encoding functions are expected to yield superior performance as the subgraph radius increases. However, in practice, enlarging the radius may result in the smoothness of information, wherein the receptive field expands, encompassing some irrelevant or noisy information. Hence, we treat the subgraph radius as a hyperparameter, fine-tuning it for each model, and present the best results in Table 2. Please refer to Appendix G for further details regarding the radius selection.
221
+
222
+ When comparing various subgraph GNNs, KP-GNN can discriminate part of the strongly regular graphs by peripheral subgraphs. Additionally, distance encoding in DE+NGNN and I[2] -GNN enables better discrimination among different hops within a given subgraph radius, particularly in larger subgraph radii. As for DS-GNN, DSS-GNN, GNN-AK, SUN and SSWL ~~P~~ , they employ similar aggregation schemes with slight variations in their operations. These models exhibit comparable performance, with SSWL ~~P~~ outperforming others, which aligns with expectations that SSWL ~~P~~ achieves the most expressiveness with least components (Zhang et al., 2023a).
223
+
224
+ _k_ **-WL hierarchy-based GNNs.** For the _k_ -WL-hierarchy-based models, we adopt two implemented approaches: high-order simulation and local-WL simulation. PPGN serves as the representative work for the former, while _δ_ -k-LGNN and KCSet-GNN as the latter. PPGN aligns its performance with 3-WL across all graphs except for CFI graphs. For CFI graphs with large radii, more WL iterations (layers of GNNs) are required. However, employing many layers may lead to over-smoothing, resulting in a gap between theoretical expectations and actual performance. Nonetheless, PPGN still surpasses most GNNs in CFI graphs due to global _k_ -WL’s global receptive field. For _δ_ -k-LGNN, we set _k_ = 2, while for KCSet-GNN, we set _k_ = 3 _, c_ = 2 to simulate local 3-WL, adhering to the original configuration. By comparing the output results with relatively small diameters, we observed that local WL matches the performance of general _k_ -WL. However, local WL exhibits lower performance for CFI graphs with larger radii due to insufficient receptive fields.
225
+
226
+ **Substructure-based GNNs** For substructure-based GNNs, we select GSN, which incorporates substructure isomorphism counting as features. The best result obtained for GSN-e is reported when setting _k_ = 4. For further exploration of policy and size, please refer to Appendix I.
227
+
228
+ **Random GNNs** Random GNNs are unsuitable for GI problems since even identical graphs can yield different outcomes due to inherent randomness. However, the RPC can quantify fluctuations in the randomization process, thereby enabling testing for random GNNs. We test DropGNN and OSAN. For more details regarding the crucial factor of random samples, please refer to Appendix J.
229
+
230
+ **Transformer-based GNNs** For transformer-based GNNs, we select Graphormer, which is anticipated to possess a level of expressiveness with SPD-WL. The experimental results verify that.
231
+
232
+ ## 6 CONCLUSION AND FUTURE WORK
233
+
234
+ This paper proposes a new dataset, BREC, for GNN expressiveness measurement. BREC addresses the limitations of previous datasets, including difficulty, granularity, and scale, by incorporating 400 pairs of diverse graphs in four categories. A new evaluation method is proposed for principled expressiveness evaluation. Finally, a thorough comparison of 23 baselines on BREC is conducted. The experiment highlights a gap between theoretical and practical expressiveness. Additionally, the algorithms implemented in practice for the first time offer valuable tools for future research.
235
+
236
+ Apart from the expressiveness comparison based on GI, there are various other metrics for GNN expressiveness evaluation, such as substructure counting, diameter counting, and biconnectivity checking. However, it’s worth noting that these tests are often conducted on datasets not specifically designed for expressiveness (Huang et al., 2023; Zhao et al., 2022a; Chen et al., 2020), which can lead to biased results caused by spurious correlations. In other words, certain methods may struggle to identify a particular substructure, but they can capture another property that correlates with substructures, resulting in false high performance. This problem can be alleviated in BREC because of the difficulty. We reveal the data generation process of BREC in Appendix L, hoping that researchers can utilize them in more tasks. We also hope the test of practical expressiveness will aid researchers in exploring its effects on performance in real datasets and other domains.
237
+
238
+ 9
239
+
240
+ ## 7 REPRODUCIBILITY
241
+
242
+ The datasets and evaluation codes are released at [URL removed] The GitHub repository provides the complete dataset and test methods, as well as the first implementation of the traditional algorithm for further use by researchers. In addition to complete and customizable testing via the GitHub repository, users can install the Pypi package for easier and faster testing. We commit to maintaining this dataset for the long term.
243
+
244
+ ## REFERENCES
245
+
246
+ - Ralph Abboud, Ismail[˙][˙] Ilkan Ceylan, Martin Grohe, and Thomas Lukasiewicz. The surprising power of graph neural networks with random node initialization. In Zhi-Hua Zhou (ed.), Proceedings of the Thirtieth International Joint Conference on Artifcial Intelligence, IJCAI 2021, Virtual Event / Montreal, Canada, 19-27 August 2021, pp. 2112–2118. ijcai.org, 2021. doi: 10.24963/ijcai.2021/ 291. URL [URL removed]
247
+
248
+ L´aszl´o Babai and Ludik Kucera. Canonical labelling of graphs in linear average time. In 20th Annual Symposium on Foundations of Computer Science (sfcs 1979), pp. 39–46. IEEE, 1979.
249
+
250
+ - Muhammet Balcilar, Pierre H´eroux, Benoit Gauzere, Pascal Vasseur, S´ebastien Adam, and Paul Honeine. Breaking the limits of message passing graph neural networks. In International Conference on Machine Learning, pp. 599–608. PMLR, 2021.
251
+
252
+ - Albert-L´aszl´o Barab´asi, Natali Gulbahce, and Joseph Loscalzo. Network medicine: a network-based approach to human disease. Nature reviews genetics, 12(1):56–68, 2011.
253
+
254
+ - Rianne van den Berg, Thomas N Kipf, and Max Welling. Graph convolutional matrix completion. arXiv preprint arXiv:1706.02263, 2017.
255
+
256
+ - Beatrice Bevilacqua, Fabrizio Frasca, Derek Lim, Balasubramaniam Srinivasan, Chen Cai, Gopinath Balamurugan, Michael M. Bronstein, and Haggai Maron. Equivariant subgraph aggregation networks. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net, 2022. URL [URL removed] net/forum?id=dFbKQaRk15w.
257
+
258
+ - Giorgos Bouritsas, Fabrizio Frasca, Stefanos Zafeiriou, and Michael M Bronstein. Improving graph neural network expressivity via subgraph isomorphism counting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(1):657–668, 2022.
259
+
260
+ - A. E. Brouwer, F. Ihringer, and W. M. Kantor. Strongly regular graphs satisfying the 4-vertex condition. Combinatorica, 43(2):257–276, apr 2023. doi: 10.1007/s00493-023-00005-y. URL [URL removed]
261
+
262
+ - Andries E Brouwer, Willem H Haemers, Andries E Brouwer, and Willem H Haemers. Distance-regular graphs. Springer, 2012a.
263
+
264
+ - Andries E Brouwer, Willem H Haemers, Andries E Brouwer, and Willem H Haemers. Strongly regular graphs. Spectra of graphs, pp. 115–149, 2012b.
265
+
266
+ - J.-Y. Cai, M. Furer, and N. Immerman. An optimal lower bound on the number of variables for graph identification. In 30th Annual Symposium on Foundations of Computer Science, pp. 612–617, 1989. doi: 10.1109/SFCS.1989.63543.
267
+
268
+ - Zhengdao Chen, Soledad Villar, Lei Chen, and Joan Bruna. On the equivalence between graph isomorphism testing and function approximation with gnns. Advances in neural information processing systems, 32, 2019.
269
+
270
+ - Zhengdao Chen, Lei Chen, Soledad Villar, and Joan Bruna. Can graph neural networks count substructures? Advances in neural information processing systems, 33:10383–10395, 2020.
271
+
272
+ - Leonardo Cotta, Christopher Morris, and Bruno Ribeiro. Reconstruction for powerful graph representations. Advances in Neural Information Processing Systems, 34:1713–1726, 2021.
273
+
274
+ 10
275
+
276
+ David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Al´an Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. Advances in neural information processing systems, 28, 2015.
277
+
278
+ - Wenqi Fan, Yao Ma, Qing Li, Yuan He, Eric Zhao, Jiliang Tang, and Dawei Yin. Graph neural networks for social recommendation. In The world wide web conference, pp. 417–426, 2019.
279
+
280
+ - Jiarui Feng, Yixin Chen, Fuhai Li, Anindya Sarkar, and Muhan Zhang. How powerful are k-hop message passing graph neural networks. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL [URL removed]
281
+
282
+ - Ronald Aylmer Fisher. Contributions to mathematical statistics. 1950.
283
+
284
+ Ronald Aylmer Fisher. Statistical methods for research workers. Springer, 1992.
285
+
286
+ - Fabrizio Frasca, Beatrice Bevilacqua, Michael Bronstein, and Haggai Maron. Understanding and extending subgraph gnns by rethinking their symmetries. Advances in Neural Information Processing Systems, 35:31376–31390, 2022.
287
+
288
+ - Floris Geerts and Juan L. Reutter. Expressiveness and approximation properties of graph neural networks. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net, 2022. URL [URL removed] net/forum?id=wIzUeM3TAU.
289
+
290
+ - Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 2, pp. 1735–1742. IEEE, 2006.
291
+
292
+ - Harold Hotelling. The generalization of student’s ratio. In Breakthroughs in statistics: Foundations and basic theory, pp. 54–65. Springer, 1992.
293
+
294
+ - Ningyuan Teresa Huang and Soledad Villar. A short tutorial on the weisfeiler-lehman test and its variants. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8533–8537. IEEE, 2021.
295
+
296
+ - Yinan Huang, Xingang Peng, Jianzhu Ma, and Muhan Zhang. Boosting the cycle counting power of graph neural networks with i$ˆ2$-gnns. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net, 2023. URL [URL removed]
297
+
298
+ - Richard A. Johnson and Dean W. Wichern. Applied multivariate statistical analysis. Pearson Prentice Hall, Upper Saddle River, N.J, 6th ed edition, 2007. ISBN 978-0-13-187715-3. OCLC: ocm70867129.
299
+
300
+ - Gregory Koch, Richard Zemel, Ruslan Salakhutdinov, et al. Siamese neural networks for one-shot image recognition. In ICML deep learning workshop, volume 2. Lille, 2015.
301
+
302
+ - Pan Li, Yanbang Wang, Hongwei Wang, and Jure Leskovec. Distance encoding: Design provably more powerful neural networks for graph representation learning. Advances in Neural Information Processing Systems, 33:4465–4478, 2020.
303
+
304
+ - Haggai Maron, Heli Ben-Hamu, Hadar Serviansky, and Yaron Lipman. Provably powerful graph networks. Advances in neural information processing systems, 32, 2019a.
305
+
306
+ - Haggai Maron, Heli Ben-Hamu, Nadav Shamir, and Yaron Lipman. Invariant and equivariant graph networks. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019b. URL [URL removed] net/forum?id=Syx72jC9tm.
307
+
308
+ - Christopher Morris, Martin Ritzert, Matthias Fey, William L Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and leman go neural: Higher-order graph neural networks. In Proceedings of the AAAI conference on artifcial intelligence, volume 33, pp. 4602–4609, 2019.
309
+
310
+ 11
311
+
312
+ - Christopher Morris, Gaurav Rattan, and Petra Mutzel. Weisfeiler and leman go sparse: Towards scalable higher-order graph embeddings. Advances in Neural Information Processing Systems, 33:21824–21840, 2020.
313
+
314
+ - Ryan Murphy, Balasubramaniam Srinivasan, Vinayak Rao, and Bruno Ribeiro. Relational pooling for graph representations. In International Conference on Machine Learning, pp. 4663–4673. PMLR, 2019.
315
+
316
+ - P´al Andr´as Papp and Roger Wattenhofer. A theoretical comparison of graph neural network extensions. In International Conference on Machine Learning, pp. 17323–17345. PMLR, 2022.
317
+
318
+ - P´al Andr´as Papp, Karolis Martinkus, Lukas Faber, and Roger Wattenhofer. Dropgnn: Random dropouts increase the expressiveness of graph neural networks. Advances in Neural Information Processing Systems, 34:21997–22009, 2021.
319
+
320
+ - Chendi Qian, Gaurav Rattan, Floris Geerts, Mathias Niepert, and Christopher Morris. Ordered subgraph aggregation networks. Advances in Neural Information Processing Systems, 35:21030– 21045, 2022.
321
+
322
+ - Ryoma Sato. A survey on the expressive power of graph neural networks. arXiv preprint arXiv:2003.04078, 2020.
323
+
324
+ - Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao Zhou, Zhifeng Li, and Wei Liu. Cosface: Large margin cosine loss for deep face recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5265–5274, 2018a.
325
+
326
+ - Hongwei Wang, Fuzheng Zhang, Jialin Wang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo. Ripplenet: Propagating user preferences on the knowledge graph for recommender systems. In Proceedings of the 27th ACM international conference on information and knowledge management, pp. 417–426, 2018b.
327
+
328
+ - Boris Weisfeiler and Andrei Leman. The reduction of a graph to canonical form and the algebra which appears therein. nti, Series, 2(9):12–16, 1968.
329
+
330
+ - Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019, Conference Track Proceedings. OpenReview.net, 2019. URL [URL removed]
331
+
332
+ - Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. Do transformers really perform badly for graph representation? Advances in Neural Information Processing Systems, 34:28877–28888, 2021.
333
+
334
+ - Jiaxuan You, Jonathan M Gomes-Selman, Rex Ying, and Jure Leskovec. Identity-aware graph neural networks. In Proceedings of the AAAI conference on artifcial intelligence, volume 35, pp. 10737–10745, 2021.
335
+
336
+ - Bohang Zhang, Guhao Feng, Yiheng Du, Di He, and Liwei Wang. A complete expressiveness hierarchy for subgraph GNNs via subgraph weisfeiler-lehman tests. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 41019–41077. PMLR, 23–29 Jul 2023a. URL [URL removed]
337
+
338
+ - Bohang Zhang, Shengjie Luo, Liwei Wang, and Di He. Rethinking the expressive power of gnns via graph biconnectivity. In The Eleventh International Conference on Learning Representations, 2023b.
339
+
340
+ - Muhan Zhang and Pan Li. Nested graph neural networks. Advances in Neural Information Processing Systems, 34:15734–15747, 2021.
341
+
342
+ - Lingxiao Zhao, Wei Jin, Leman Akoglu, and Neil Shah. From stars to subgraphs: Uplifting any GNN with local structure awareness. In International Conference on Learning Representations, 2022a. URL [URL removed]
343
+
344
+ 12
345
+
346
+ Lingxiao Zhao, Neil Shah, and Leman Akoglu. A practical, progressively-expressive gnn. Advances in Neural Information Processing Systems, 35:34106–34120, 2022b.
347
+
348
+ - Jie Zhou, Ganqu Cui, Shengding Hu, Zhengyan Zhang, Cheng Yang, Zhiyuan Liu, Lifeng Wang, Changcheng Li, and Maosong Sun. Graph neural networks: A review of methods and applications. AI open, 1:57–81, 2020.
349
+
350
+ ## A DETAILS ON REGULAR GRAPHS
351
+
352
+ In this section, we introduce the relationship between four types of regular graphs. The inclusion relations of them are shown in Figure 4, but their difficulty relations and inclusion relations are not consistent.
353
+
354
+ **==> picture [199 x 113] intentionally omitted <==**
355
+
356
+ **----- Start of picture text -----**<br>
357
+ 4-Vertex Condition Graph<br>Strongly Regular Graph<br>Distance Regular Graph<br>Regular Graph<br>**----- End of picture text -----**<br>
358
+
359
+ Figure 4: Regular graphs relationship
360
+
361
+ A graph is deemed a regular graph when all of its vertices possess an identical degree. If a regular graph, with _v_ vertices and degree _k_ , satisfies the additional conditions wherein any two adjacent vertices share _λ_ common neighbors, and any two non-adjacent vertices share _µ_ common neighbors, it is categorized as a strongly regular graph. Hence, it can be represented as srg( _v, k, λ, µ_ ), denoting its four associated parameters.
362
+
363
+ Regular graphs and strongly regular graphs find wide application in expressiveness analysis. The difficulty of strongly regular graphs surpasses that of general regular graphs due to the imposition of additional requirements. Notably, the simplest strongly regular graphs with identical parameters (srg(16 _,_ 6 _,_ 2 _,_ 2)) are exemplified by the Shrikhande graph and the 4 _×_ 4-Rook’s graph, as depicted in Figure 2(c).
364
+
365
+ Both 4-vertex condition graphs and distance regular graphs introduce heightened complexities, albeit in opposing directions. A 4-vertex condition graph is a strongly regular graph with an additional property that mandates the determination of the number of edges between the common neighbors of two vertices based on their connectivity. Conversely, distance regular graphs expand upon the definition of strongly regular graphs by specifying that for any two vertices _v_ and _w_ , the count of vertices at a distance _j_ from _v_ and at a distance _k_ from _w_ relies solely on _j_ , _k_ , and the distance between _v_ and _w_ . Notably, a distance regular graph with a radius of 2 is equivalent to a strongly regular graph.
366
+
367
+ The 4-vertex condition graph has yet to be explored in previous research endeavors. Similarly, instances of distance regular graphs are relatively scarce and analyzing them through examples proves to be challenging. To encourage further research in these domains, we have incorporated them into BREC.
368
+
369
+ ## B NODE FEATURES
370
+
371
+ In this section, we present the concept of node features and edge features in graphs.
372
+
373
+ We commence by providing the definition of graphs using an adjacency matrix representation. Consider a graph where the node features are represented by a _dn_ -dimensional vector, and the edge features are represented by a _de_ -dimensional vector. This graph can be denoted as _G_ = ( **V** ( _G_ ) _,_ **E** ( _G_ )), where **V** ( _G_ ) _∈_ R _[n][×][d][n]_ represents the node features, and **E** ( _G_ ) _∈_ R _[n][×][n][×]_[(] _[d][e]_[+1)] represents the edge
374
+
375
+ 13
376
+
377
+ features, with _n_ being the number of nodes in the graph. The adjacency matrix of the graph is denoted as **A** ( _G_ ) _∈_ R _[n][×][n]_ = _E_ ( _G_ ): _,_ : _,_ ( _de_ +1), where **A** ( _G_ ) _i,j_ = 1 if ( _i, j_ ) _∈_ E( _G_ ) (i.e., if nodes _i_ and _j_ are connected by an edge), otherwise _A_ ( _G_ ) _i,j_ = 0. The feature of node _i_ is represented by _V_ ( _G_ ) _i,_ :, and the feature of edge ( _i, j_ ) is represented by _E_ ( _G_ ) _i,j,_ 1: _de_ . The permutation (or reindexing) of _G_ is denoted as _G[π]_ = ( **V** ( _G_ ) _,_ **E** ( _G_ )) with permutation _π_ : [ _n_ ] _→_ [ _n_ ], such that _V_ ( _G_ ) _i,_ : = _V_ ( _G_ ) _π_ ( _i_ ) _,_ : and _E_ ( _G_ ) _i,j,_ : = _E_ ( _G_ ) _π_ ( _i_ ) _,π_ ( _j_ ) _,_ :.
378
+
379
+ Next, we explore the utilization of features. It is evident that incorporating node features during initialization and edge features during message passing can enhance the performance of GNNs, given appropriate hyperparameters and training. However, we should consider whether features can truly represent graph structures or provide additional expressiveness. Let us categorize features into two types.
380
+
381
+ The first type involves fully utilizing the original features, such as distances to other nodes or spectral embeddings. While using these features can aid GNNs in solving Graph Isomorphism (GI) problems, this type of feature requires a dedicated design to effectively utilize them. For instance, if we aim to recognize a 6-cycle in a graph, we can manually identify the cycle and assign distinct features to each node within the cycle. In this way, the GNN can recognize the cycle by aggregating the six distinctive features. However, the injecting strategy influences expressiveness and requires further analysis. Utilizing distance can also enhance expressiveness but also need a suitable design (like subgraph distance encoding and SPD-WL).
382
+
383
+ The second type entails incorporating additional features, such as manually selected node identifiers. it is important to note that this improvement stems from reduced difficulty rather than increased expressiveness. For instance, given a pair of non-isomorphic graphs with high similarity, we can manually find the components causing the distinguishing difficulty and assign identifiers to help models overcome them. However, this process is generally unavailable in practice.
384
+
385
+ In summary, we can conclude that features have the potential to introduce expressiveness, but this should be accomplished through model design rather than relying solely on the dataset. In the case of BREC, a dataset created specifically for testing expressiveness, we do not include additional meaningful features. Instead, we employ the same vector for all node features and edge features and adhere to specific model settings to incorporate graph-specific features, such as the distance between nodes in distance encoding based models.
386
+
387
+ ## C WL ALGORITHM
388
+
389
+ This section briefly introduces the WL algorithm and two high-order variants.
390
+
391
+ The 1-WL algorithm, short for ”1-Weisfeiler-Lehman,” is an initial version of the WL algorithm. It serves as a graph isomorphism algorithm and can be employed to generate a distinctive label for each graph.
392
+
393
+ In the 1-WL algorithm, every node in the graph maintains a state or color, which undergoes refinement during each iteration by incorporating information from the states of its neighboring nodes. As the algorithm progresses, the graph representation evolves into a multiset of node states, ultimately converging to a final representation.
394
+
395
+ To circumvent these examples, researchers have devised a technique to augment each node in the 1-WL test, resulting in the development of the _k_ -WL test (Babai & Kucera, 1979; **?** ). The _k_ - dimensional Weisfeiler-Lehman test expands the scope of the test to consider colorings of k-tuples of nodes instead of individual nodes. This extension allows for a more comprehensive analysis of graph structures and assists in overcoming the limitations posed by certain examples.
396
+
397
+ In addition to the _k_ -WL test, Cai et al. (1989) proposed an alternative WL test algorithm that also extends to _k_ -tuples. This variant is commonly referred to as the _k_ -FWL ( _k_ -folklore-WL) test. The _k_ -FWL test differs from the _k_ -WL test in terms of how neighbors are defined and the order in which aggregation is performed on tuples and multisets.
398
+
399
+ There are three notable results associated with these tests:
400
+
401
+ 1 1-WL = 2-WL
402
+
403
+ 14
404
+
405
+ **==> picture [384 x 106] intentionally omitted <==**
406
+
407
+ **----- Start of picture text -----**<br>
408
+ 350 140 350<br>300 120 300<br>250 100 250<br>200 80 200<br>150 60 150<br>100 40 100<br>50 20 50<br>0 2 4 6 8 10 12 14 16 18 0 0 200 400 600 800 1000 0 2 4 6 8 10 12 14 16 18<br>#Diameter #Edges #Diameter<br>(a) #Nodes Distribution (b) #Edges Distribution (c) Diameter Distribution<br>Frequency Frequency Frequency<br>**----- End of picture text -----**<br>
409
+
410
+ Figure 5: BREC Statistics
411
+
412
+ **==> picture [278 x 153] intentionally omitted <==**
413
+
414
+ **----- Start of picture text -----**<br>
415
+ Manually setting<br>𝑻 𝑻 𝑻 𝑻 𝑻𝑻<br>Outputting results Isomorphic flag<br>procedureMajor Generating comparison resultsof external paired 𝟏𝟏 group 𝑻𝑻 Calculating [𝟐𝟐] -statistics by comparing 𝑻𝑻𝑻𝟐𝟐𝒕𝒕𝑻𝑻 𝒕𝒕𝑻 and 𝑻 𝑻𝑻 = 𝑻𝑻𝟐𝟐𝒕𝒕𝑻 𝒕𝒕 > 𝑻 𝑻 𝑻 𝑻 𝑻𝑻<br>confidence Adaptive Generatingof inner paired 𝟐𝟐𝑷𝑷 groups 𝟐𝟐𝑷𝑷 Calculating groups of 𝑻 𝑻 Setting 𝑻 𝑻 𝑻𝑻= GNN can distinguish 𝑮𝑮 and 𝑯𝑯 only when<br>interval comparison results 𝑻𝑻𝟐𝟐𝒓𝒓,𝒋𝒋 𝐦 𝐦𝐦 𝑻𝑻𝟐𝟐𝒓𝒓,𝒋𝒋 Reliability flag = True Isomorphic flag =<br>Outputting results<br>Reliability Generating 𝟏𝟏 group Calculating by comparing<br>check comparison resultsof inner paired 𝑻𝑻𝟐𝟐𝑻 𝑻𝑻𝒓 𝒓 𝑻𝑻𝒓𝒓𝒕𝒕𝒓𝒓 𝑻𝑻𝟐𝟐𝑻𝑻 𝑻𝑻𝒓𝑻𝒓 𝑻𝑻𝑻𝒓𝒓𝒕𝒕𝒓𝒓𝑻 and 𝑻𝑻 Reliability flag= 𝑻𝑻𝟐𝟐𝑻 𝑻𝑻𝒓 𝒓 𝑻𝑻𝒓𝒓𝒕𝒕𝒓𝒓 <<br>𝑻 𝑻 𝑻 𝑻 𝑻𝑻<br>**----- End of picture text -----**<br>
416
+
417
+ Figure 6: RAPC pipeline.
418
+
419
+ 2 _k_ -WL ¿ ( _k −_ 1)-WL, ( _k >_ 2)
420
+
421
+ 3 ( _k −_ 1)-FWL = _k_ -WL
422
+
423
+ More details can be found in Sato (2020); Huang & Villar (2021).
424
+
425
+ ## D CIRCULANT SKIP LINKS (CSL) GRAPHS
426
+
427
+ A CSL graph is defined as follows: Let _r_ and _m_ be co-prime natural numbers with _r < m −_ 1. _G_ ( _m, r_ ) = (V _,_ E) is an undirected 4-regular graph with V = [ _m_ ], where the edges form a cycle and include skip links. Specifically, for the cycle, ( _j, j_ + 1) _∈_ E for _j ∈_ [ _m −_ 1], and ( _m,_ 1) _∈_ E. For the skip links, the sequence is recursively defined as _s_ 1 = 1, _si_ +1 = ( _si_ + _r_ ) mod _m_ + 1, and ( _si, si_ +1) _∈_ E for any _i ∈_ N. Two Sample graphs with _m_ = 10 _, r_ = 2 _or_ 3 are shown in Fig 1(b).
428
+
429
+ In the CSL dataset, 10 CSL graphs with _m_ = 41 and _r_ = 2 _,_ 3 _,_ 4 _,_ 5 _,_ 6 _,_ 9 _,_ 11 _,_ 12 _,_ 13 _,_ 16 are generated. Thus resulting in 10 non-isomorphic but 1-WL-indistinguishable graphs.
430
+
431
+ ## E BREC STATISTICS
432
+
433
+ Here we give some statistics of the BREC dataset, shown in Figure 5.
434
+
435
+ ## F RAPC: A RELIABLE AND ADAPTIVE EVALUATION METHOD
436
+
437
+ In this section, we propose RAPC with an additional stage called adaptive confidence interval based on RPC. Though RPC performs excellently in experiments with a general theoretical guarantee in reliability, with manually setting _α_ . We still want to make the procedure more automated. In addition, we found that the inner fluctuations of each pair, i.e. _T_ reliability[2][,][vary][from][pairs.][This] means some graph outputs are more stable than others, and their threshold can be larger than others. However, it is impossible to manually set the confidence interval ( _α_ ) for all pairs, thus, we propose
438
+
439
+ 15
440
+
441
+ an adaptive confidence interval method to solve this problem. The key idea is to set the threshold according to minimum internal fluctuations.
442
+
443
+ Given a pair of non-isomorphic graphs _G_ and _H_ to be tested. For simplicity, we rename _G_ as _G_ 1, _H_ as _G_ 2. For each graph ( _G_ 1 and _G_ 2), we generate _p_ groups of graphs, with each group containing 2 _q_ graphs, represented by:
444
+
445
+ **==> picture [264 x 11] intentionally omitted <==**
446
+
447
+ Similarly, we can calculate _T_[2] -statistics for each group (2 _p_ groups in total):
448
+
449
+ **==> picture [274 x 16] intentionally omitted <==**
450
+
451
+ where
452
+
453
+ **==> picture [357 x 64] intentionally omitted <==**
454
+
455
+ Similar to major procedure, we can conduct an _α_ -level test of _H_ 0 : _δ_ = **0** versus _H_ 1 : _δ_ = **0** , it should always accept _H_ 0(the GNN cannot distinguish them) since the 2 _q_ graphs in each group are essentially the same. And _T_[2] -statistics should satisfy the:
456
+
457
+ **==> picture [288 x 25] intentionally omitted <==**
458
+
459
+ If the GNN can distinguish the pair, _T_ test[2][in major procedure and] _[ T]_[ 2] _i,j_[in adaptive confidence interval] should satisfy the:
460
+
461
+ **==> picture [305 x 25] intentionally omitted <==**
462
+
463
+ Thus we set the adaptive confidence interval as Threshold = Max _i∈{_ 1 _,_ 2 _}, p∈{_ 1 _,...,P }{Ti,p_[2] _[}]_[. Then we] conduct Major Procedure and Reliability Check based on Threshold similar to RPC. The pipeline is shown in Fig 6.
464
+
465
+ In our analysis of the current evaluation method, we take into account the probabilities of false positives and false negatives. Typically, achieving extremely low levels of both probabilities simultaneously is challenging, and there is often a trade-off between them. However, since false positives can undermine the reliability of the methods, we prioritize establishing stringent bounds for this type of error. On the other hand, false negatives are explained in a more intuitive manner, acknowledging their presence but placing greater emphasis on minimizing false positives.
466
+
467
+ Regarding false positives, we give the following theorem.
468
+
469
+ **Theorem F.1** _The false positive rate with adaptive confidence interval is_
470
+
471
+ **==> picture [18 x 13] intentionally omitted <==**
472
+
473
+ **Proof F.1** _We first define false positives more formally. False positives mean the GNN f cannot distinguish G and H, but we reject H_ 0 _and accept H_ 1 _. f cannot distinguish G and H means f_ ( _G_ ) = _f_ ( _H_ ) = _f_ ( _G[π]_ ) _∼N_ ( _**µ** G,_ **Σ** _G_ ) _. Since_ _**d** i in major procedure and_ _**d** i,j,k in adaptive confidence interval are derived from paired comparison by same function outputs, i.e., from f_ ( _G_ ) _and f_ ( _H_ ) _, and from f_ ( _G_ ) _and f_ ( _G[π]_ ) _, respectively._ _**d** i and_ _**d** i,j,k should follow the same distribution, leading that Ttest_[2] _[and][ T]_[ 2] _i,j[are independently random variables following the same distribution.][Thus][ P]_[(] _[T]_[ 2] _test[>] T_[2][1] _[Then we can calculate the probability of false positives as] i,j_[) =] 2 _[.]_
474
+
475
+ **==> picture [346 x 21] intentionally omitted <==**
476
+
477
+ _Thus we proof theorem F.1._
478
+
479
+ Regarding false negatives, we propose the following explanation. A small threshold can decrease the false negative rate. Thus without compromising the rest of the theoretical analysis, we give the minimum value of the threshold. Equation 13 introduces a minimum threshold restriction. We obtain the threshold strictly based on it by taking the maximum value, which is the theoretical minimum threshold that minimizes the false negative rate.
480
+
481
+ 16
482
+
483
+ Table 3: A general theoretical expressiveness upper bound of subgraph with radius _k_
484
+
485
+ |Radius|1|2|3|4|5|6|7|8|9|10|
486
+ |---|---|---|---|---|---|---|---|---|---|---|
487
+ |#Accurate on BREC|252|298|300|327|326|385|398|398|399|400|
488
+
489
+ Table 4: The performance of 3-WL with different iteration times
490
+
491
+ |Iterations|1|2|3|4|5|
492
+ |---|---|---|---|---|---|
493
+ |#Accurate on BREC|193|209|217|264|270|
494
+
495
+ ## G SUBGRAPH GNNS
496
+
497
+ In this section, we discuss settings for subgraph GNN models. The most important setting is the subgraph radius. As discussed before, a larger radius can capture more structural information, increasing the model’s expressiveness. However, it will include more invalid information, making reaching the theoretical upper bound harder. Thus we need to find a balance between the two.
498
+
499
+ To achieve this, we first explore the maximum structural information that can be obtained under a given radius. Following Papp & Wattenhofer (2022), we implement _Nk_ method, which embeds the isomorphic type of _k_ -hop subgraph when initializing. This method is only available in the theoretical analysis as one can not solve the GI problem by manually giving graph isomorphic type. We mainly use it as a general expressiveness upper bound of subgraph GNNs. The performance of _Nk_ on BREC is shown in Table 3. Actually, _N_ 3 already successfully distinguishes all graphs except for CFI graphs. _k_ = 6 is an important threshold as _Nk_ outperforms 3-WL (expressiveness upper bound for most subgraph GNNs (Frasca et al., 2022; Zhang et al., 2023a)) in all types of graphs. An interesting discovery is that increasing the radius does not always lead to expressiveness increasing as expected. This is caused by the fact that we only encode the exact _k_ -hop subgraph instead of 1 to _k_ -hop subgraphs. This phenomenon is similar to subgraph GNNs, revealing the advantages of using distance encoding.
500
+
501
+ We then test the subgraph GNNs’ radii by increasing them until reaching the best performance, which is expected to be a perfect balance. For some methods, radius= 6 is the best selection, which is consistent with the theory. The exceptions are NGNN, NGNN+DE, KPGNN, I[2] -GNN and SSWL ~~P~~ . NGNN directly uses an inner GNN to calculate subgraph representation, whose expressiveness is restricted by the inner GNN. As the subgraph radius increases, though the subgraph contains information, the simple inner GNN can hardly give a correct representation. That’s why radius= 1 is the best setting for NGNN. NGNN+DE and I[2] -GNN add distance encodings, making the subgraph with a large radius can always clearly extract a subgraph with a small radius. Therefore, a large radius= 8 is available. KPGNN utilizes a similar setting by incorporating distance to subgraph representation, and radius= 8 is also the best setting. KPGNN can also use graph diffusion to replace the shortest path distance. Though graph diffusion outperforms some graphs, the shortest path distance is generally a better solution. Previous findings reveal the advantages of using distance, which we hope can be more widely used in further research. SSWL ~~P~~ achieves better expressiveness with theoretical minimum components, making more information available.
502
+
503
+ ## H _k_ -WL HIERARCHY GNNS
504
+
505
+ In this section, we discuss settings for _k_ -WL hierarchy GNN models. _k_ -WL algorithm requires a converged tuple embedding distribution for GI. However, _k_ -WL hierarchy GNNs do not have the definition of converging. It will output the final embeddings after a specific number of layers, i.e., the iteration times of _k_ -WL. Thus we need to give a suitable number of layers where the _k_ -WL converged after the number of iteration times. In theory, increasing the number of layers always leads to a non-decreasing expressiveness, since the converged distribution will not change furthermore. However, more layers may cause over-smoothing, leading to worse performance in practice.
506
+
507
+ 17
508
+
509
+ Table 5: Substructure-based model performance on BREC
510
+
511
+ |Model|Basic Graphs (60)<br>Number<br>Accuracy|Regular Graphs (140)|Extension Graphs (100)|CFI Graphs (100)|Total (400)|
512
+ |---|---|---|---|---|---|
513
+ |||Number<br>Accuracy|Number<br>Accuracy|Number<br>Accuracy|Number<br>Accuracy|
514
+ |_S_3<br>_S_4|52<br>86.7%<br>60<br>100%|48<br>34.3%<br>99<br>70.7%|5<br>5%<br>84<br>84%|0<br>0%<br>0<br>0%|105<br>26.2%<br>243<br>60.8%|
515
+ |GSN-v(k=3)<br>GSN-v(k=4)<br>GSN-e(k=3)<br>GSN|52<br>86.7%<br>60<br>100%<br>59<br>98.3%<br>60<br>100%|48<br>34.3%<br>99<br>70.7%<br>48<br>34.3%<br>99<br>70.7%|5<br>5%<br>84<br>84%<br>52<br>52%<br>95<br>95%|0<br>0%<br>0<br>0%<br>0<br>0%<br>0<br>0%|105<br>26.2%<br>243<br>60.8%<br>159<br>39.8%<br>254<br>63.5%|
516
+
517
+ Table 6: The performance of DropGNN with different sample numbers
518
+
519
+ |#Samples|100|200|400|800|1200|1600|
520
+ |---|---|---|---|---|---|---|
521
+ |#Accurate on BREC|177|222|242|253|260|OOM|
522
+
523
+ To keep a balance, we utilize similar methods for subgraph GNNs. We first analyze the iteration times of 3-WL, shown in Table 4. One can see 6 iteration times are enough for all types of graphs. Then we increase the layers of _k_ -WL GNNs until reaching the best performance. We finally set 5 layers for PPGN, 4 layers for KCSet-GNN and 6 layers for _δ_ -k-LGNN.
524
+
525
+ ## I SUBSTRUCTURE-BASED GNNS
526
+
527
+ In this section, we discuss the performance of substructure-based GNN models. Specifically, we focus on the GSN (Graph Substructure Network) model proposed by Bouritsas et al. (2022), which offers a straightforward neural network implementation, denoted as GSN-v, of the _Sk_ substructure. Additionally, we introduce GSN-e, a slightly stronger version of GSN-v that incorporates features on edges instead of just nodes.
528
+
529
+ Experimental results presented in Table 5 demonstrate that GSN-v achieves a perfect match with the performance of _Sk_ . Furthermore, GSN-e outperforms GSN-v, indicating superior performance when edge features are included.
530
+
531
+ ## J RANDOM GNNS
532
+
533
+ In this section, we delve into the settings for random GNNs. Random GNNs leverage samples from graphs using specific strategies, and both the number of samples and the sampling strategies have an impact on performance.
534
+
535
+ For DropGNN, the sampling strategy revolves around a relatively straightforward approach of deleting nodes. As for the number of samples, it is recommended to set it to the average number of nodes in the dataset. In our reported results, we set the number of samples to 100, which aligns with the average number of nodes. The ablation study results on the number of samples can be found in Table 6.
536
+
537
+ Another approach, OSAN, proposes a data-driven method that achieves similar performance with fewer samples. This is achieved by training the model to select diverse samples. However, it requires an additional training framework and may not necessarily lead to improved performance. In our case, we select the edge-deleting strategy and set the number of samples to 20.
538
+
539
+ ## K EXPERIMENT SETTINGS
540
+
541
+ All experiments were performed on a machine equipped with an Intel Core i9-10980XE CPU, an NVIDIA RTX4090 graphics card, and 256GB of RAM.
542
+
543
+ 18
544
+
545
+ Table 7: Model Hyperparameters
546
+
547
+ |Model|Radius|Layers|Inner dim|Learning rate|Weight decay|Batch size|Epoch|Early stop threshold|
548
+ |---|---|---|---|---|---|---|---|---|
549
+ |NGNN|1|6|16|1_e −_4|1_e −_5|32|20|0.01|
550
+ |DE+NGNN|8|6|128|1_e −_4|1_e −_5|32|30|0.01|
551
+ |DS-GNN|6|10|32|1_e −_4|1_e −_5|32|30|0|
552
+ |DSS-GNN|6|9|32|1_e −_4|1_e −_4|32|20|0.01|
553
+ |SUN|6|9|32|1_e −_4|1_e −_4|32|20|0.01|
554
+ |SSWL<br>P|8|8|64|1_e −_5|1_e −_5|8|20|0.1|
555
+ |GNN-AK|6|4|32|1_e −_4|1_e −_4|32|10|0.1|
556
+ |KP-GNN|8|8|32|1_e −_4|1_e −_4|32|20|0.3|
557
+ |I2GNN|8|5|32|1_e −_5|1_e −_4|16|20|0.2|
558
+ |PPGN|/|5|32|1_e −_4|1_e −_4|32|20|0.2|
559
+ |_δ_-k-LGNN|/|6|16|1_e −_4|1_e −_4|16|20|0.2|
560
+ |KC-SetGNN|/|4|64|1_e −_4|1_e −_4|16|15|0.3|
561
+ |GSN|/|4|64|1_e −_4|1_e −_5|16|20|0.1|
562
+ |DropGNN|/|10|16|1_e −_3|1_e −_5|16|100|0|
563
+ |OSAN|/|8|64|1_e −_3|1_e −_5|16|40|0|
564
+ |Graphormer|/|12|80|2_e −_5|0|16|100|0|
565
+
566
+ **RPC settings.** For non-GNN methods, the output results are uniquely determined, and as such, this part of the experiment does not require RPC. It is worth noting that most non-GNN baselines involve running graph isomorphism testing software on subgraphs, and they mainly serve as theoretical references in our evaluation.
567
+
568
+ Regarding GNNs, we employ RPC with _q_ = 32 and _d_ = 16 to evaluate their performance. Considering a confidence level of _α_ = 0 _._ 95, which is a typical setting in statistics, the threshold should be set to[(] ( _[q] q[−] −_[1] _d_[)] ) _[d][F][d,q][−][d]_[(] _[α]_[) = 31] _[F]_[16] _[,]_[16][(0] _[.]_[95) = 72] _[.]_[34][.]
569
+
570
+ To ensure robustness, we repeat all evaluation methods ten times using different seeds selected from the set _{_ 100 _,_ 200 _, . . . ,_ 1000 _}_ . We consider the final results reliable only if the model passes the Reliability check for all graphs with any seed, meaning that the quantification of the output embedding distance between isomorphic pairs is always smaller than the threshold. The reported results are selected as the best results rather than the average, as we aim to explore the upper bound of expressiveness.
571
+
572
+ **Training settings.** We employ a Siamese network design and utilize the cosine similarity loss function. Another commonly used loss function is contrastive loss (Hadsell et al., 2006), which directly calculates the difference between two outputs. However, we opt for cosine similarity loss due to its advantage of measuring output difference under the same scale through normalization. This approach prevents model outputs from being excessively amplified, which could otherwise magnify minor precision errors and treat them as differentiated results of the model.
573
+
574
+ We use the Adam optimizer with a learning rate searched from _{_ 1 _e −_ 3 _,_ 1 _e −_ 4 _,_ 1 _e −_ 5 _}_ , weight decay selected from _{_ 1 _e −_ 3 _,_ 1 _e −_ 4 _,_ 1 _e −_ 5 _}_ , and batch size chosen from _{_ 8 _,_ 16 _,_ 32 _}_ . Graphormer, on the other hand, follows the original training settings on ZINC.
575
+
576
+ We incorporate an early stopping strategy, which halts training when the loss reaches a small value. While for random GNNs, we do not utilize early stopping. The maximum number of epochs is typically set to around 20 since the model can often distinguish a pair relatively quickly.
577
+
578
+ **Model hyperparameters.** The most crucial hyperparameters related to expressiveness, such as the subgraph radius for subgraph GNNs and the number of layers for _k_ -WL hierarchy GNNs, are determined through theoretical analysis, as outlined in Appendix G and H. These hyperparameters have a direct impact on the expressiveness of the models.
579
+
580
+ Other hyperparameters also implicitly influence expressiveness. We generally adopt the same settings as previous expressiveness datasets, with two exceptions: inner embedding dimension and batch normalization.
581
+
582
+ The inner embedding dimension reflects the model’s capacity. For smaller and simpler expressiveness datasets used in the past, a small embedding dimension has been sufficient. However, the
583
+
584
+ 19
585
+
586
+ appropriate embedding dimension for BREC is unknown, so we generally conduct a search within the range of 16 _,_ 32 _,_ 64 _,_ 128.
587
+
588
+ Additionally, we utilize batch normalization for all models, even though it may not have been used in all previous models. Batch normalization helps control the outputs within a suitable range, which can be beneficial for distinguishing graph pairs.
589
+
590
+ The detailed hyperparameter settings for each method are provided in Table 7.
591
+
592
+ ## L GRAPH GENERATION
593
+
594
+ In this section, we provide an overview of how the graphs in the BREC dataset were generated.
595
+
596
+ **Basic graphs.** This category consists of 60 pairs of graphs, each containing 10 nodes. To generate these graphs, the 1-WL algorithm was applied to all 11.7 million graphs with 10 nodes, resulting in a hash value for each graph. Among these graphs, 83,074 happened to have identical hash values as others. From this set, 60 pairs of graphs were randomly selected.
597
+
598
+ **Regular graphs.** This category includes 140 pairs of regular graphs. For the 50 simple regular graphs, the search was conducted for regular graphs with 6 to 10 nodes, and 50 pairs of regular graphs with the same parameters were randomly selected. For the 50 strongly regular graphs, the number of nodes ranged from 16 to 35. The graphs were obtained from sources such as [URL removed] es/srgraphs.php and [URL removed] bdm/data/graphs.html. For the 20 4-vertex condition graphs, a search was conducted on [URL removed] and the simplest 20 pairs of 4-vertex condition graphs with the same parameters were selected. For the 20 distance regular graphs, a search was performed on [URL removed] and the simplest 20 pairs of distance regular graphs with the same parameters were chosen.
599
+
600
+ **Extension graphs.** This category consists of 100 pairs of graphs based on comparing results between GNN extensions. The _S_ 3, _S_ 4, and _N_ 1 algorithms were applied to all 1-WL-indistinguishable graphs with 10 nodes. This yielded 4,612 _S_ 3-indistinguishable graphs, 1,132 _N_ 1-indistinguishable graphs, and 136 _S_ 4-indistinguishable graphs. From these sets, 60 pairs of _S_ 3-indistinguishable graphs, 20 pairs of _N_ 1-indistinguishable graphs, and 10 pairs of _S_ 4-indistinguishable graphs were randomly selected. Care was taken to ensure that no graphs were repeated. Additionally, 10 pairs of graphs were added using a virtual node strategy, including 5 pairs obtained by adding a virtual node to a 10-node regular graph and 5 pairs based on _C_ 2 _l_ and _Cl,l_ as described in Papp & Wattenhofer (2022).
601
+
602
+ **CFI graphs.** This category consists of 100 pairs of graphs generated based on the CFI methods proposed by Cai et al. (1989). All CFI graphs with backbones ranging from 3 to 7-node graphs were generated. From this set, 60 pairs of 1-WL-indistinguishable graphs, 20 pairs of 3-WLindistinguishable graphs, and 20 pairs of 4-WL-indistinguishable graphs were randomly selected.
603
+
604
+ These different categories of graphs provide a diverse range of graph structures and properties for evaluating the expressiveness of GNN models.
605
+
606
+ 20
607
+
open_review/iclr2024_8825.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8825",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "MoAT: Multi-Modal Augmented Time Series Forecasting",
6
+ "abstract": "Time series forecasting plays a pivotal role in various domains, facilitating optimized resource allocation and strategic decision-making. However, the scarcity of training samples often hinders the accuracy of the forecasting task. To address this, we explore the potential of leveraging information from different modalities that are commonly associated with time series data. In this paper, we introduce MoAT, a novel multi-modal augmented time series forecasting approach that strategically integrates both feature-wise and sample-wise augmentation methods to enrich multi-modal representation learning. It further enhances prediction accuracy through joint trend-seasonal decomposition across all modalities and fuses the information for the final prediction. Extensive experiments show that MoAT outperforms state-of-the-art methods, resulting in a substantial reduction in mean squared error ranging from 6.5% to 71.7%, which demonstrates the effectiveness and robustness in addressing the limitations imposed by data scarcity. The datasets and code are available at https://anonymous.4open.science/r/MoAT-201E.",
7
+ "rebuttal": "### Text Decomposition (Common Response)\nWe acknowledge the feedback from the reviewers concerning the trend-seasonal decomposition of text data. In response to this feedback, we have made modifications to MoAT to enhance the clarity and effectiveness of text decomposition. Specifically, we modified the text aggregation function as:\n\n$\\text{Softmax}(\\text{tanh}(d_{ta:tb}W + b) p_{ta:tb})d_{ta:tb}$\n\nwhere $p_{ta:tb}$ is the time series patch embedding spanning from time ta to tb. Instead of utilizing a global query vector, we now incorporate the corresponding time series patch. This alteration allows for text aggregation based on the semantics of the time series. Notably, as the time series patch varies between trend and seasonal time series, texts are aggregated differently based on these distinctions. Our experimental results after the modification are as follows:\n\n| | Fuel | Metal | Bitcoin | Stock-Index | Covid | Stock-Tech |\n|------------|-------|-------|---------|-------------|-------|------------|\n| Previous | 0.0816| 0.0257| 0.0494 | 0.8134 | 0.1727| 0.1176 |\n| New | 0.0818| 0.0255| 0.0496 | 0.8131 | 0.1734| 0.1176 |\n\nOur experimental results indicate that the performance following this modification shows marginal changes from the attention pooling function. The ranks in Table 1 remain the same.\n\n### Dear Reviewer Moxw: Thank you for the reviews\nWe are grateful for the time and effort you have invested in offering constructive feedback.\n\n### Dear Reviewer kpLg: Thank you for the review\nWe appreciate your thoughtful comments. Here, we have attempted to respond to your concerns as outlined below.\n\n### Dear Reviewer roN3: Thank you for the review\nWe appreciate your thoughtful comments, and we have made an effort to address them below.\n\n### Dear Reviewer uJCG: Thank you for the review.\nWe appreciate your time and efforts in providing insightful comments. Below, we tried our best to address your concerns.\n\n### Response to the weakness and questions\n**C1. Text already contains a wealth of information, so using patching is unreasonable here.**\n\nAs the reviewer commented, text provides sufficient information at each timestep while time-series data does not. However, we would like to emphasize the necessity of patching texts in our architecture. Specifically, we aggregate text embeddings within corresponding time intervals as the time series patches. This alignment is particularly crucial for feature-wise augmentation, where we concatenate temporally aligned time series and text patches as input for [...]\n\n### Response to the weakness and questions\n**C1. It requires further clarification why the proposed textual decomposition components map to the trend and seasonality aspects of the time-series data.**\n\nWe acknowledge the reviewer's comment and modified the attention pooling function for texts by using time series patches as query vectors during the attention computation for text aggregation. From the modification, texts are aggregated differently based on the seasonal and trend time sereis patches. For more details, please refer to the common response above.\n\n**C2. The paper focuses on short-t [...]\n\n### Responses to the weakness\n**C1. This paper is mostly applied and combines several existing techniques, e.g., patch-wise embedding and pattern decomposition. The authors are expected to better position this work by clarifying the technical novelty, contribution, or new insights.**\n\nWe would like to emphasize the technical contributions and novel insights our work brings to both the multi-modal and time-series domains as follows:\n\n- We have reformulated existing augmentation techniques within the multi-modal domain, categorizing them into sample-wise (modality-specific) and feature-wise (mod [...]\n\n### Responses to the weakness and questions #1\n**C1. Lack of experiments assessing whether the model performs well with scarce data.**\n\nWe would like to highlight that it is common in real-world scenarios to encounter time series datasets with a limited number of data samples or lengths, like the datasets collected for this study. Thus, our experimental results demonstrate the effectiveness of MoAT, in scenarios where datasets exhibit scarce time series information.\n\n**C2. Lack of details in the caption of the T-SNE decomposition between time series and texts.**\n\nWe apologize for the lack of c [...]\n\n### Responses to the weakness and questions #2\n**C9. Is the forecasting in Figure 5 autoregressive?**\n\nThe experiments are conducted in an autoregressive manner, as correctly mentioned by the reviewer.\n\n**C10. The motivation for offline prediction synthesis discusses improved parameter efficiency, but parameter efficiency is not discussed in the rest of the paper. Why is modularity desirable in this setting?**\n\nOur intention was not to claim that modularity is desirable in our setting but rather to mention its importance in the referred paper. We apologize for any confusion caused and will mak [...]\n\n### Thank you for the reviews\nWe deeply appreciate the valuable time and effort invested by the reviewers in thoroughly assessing our work. Their insightful feedback and comments have been instrumental in shaping and improving our research.",
8
+ "initial_scores": [
9
+ 5,
10
+ 5,
11
+ 5,
12
+ 5
13
+ ],
14
+ "score_mean": 5.0,
15
+ "score_variance": 0,
16
+ "score_spread": 0,
17
+ "score_min": 5,
18
+ "score_max": 5,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "This paper studies a new application of time series forecasting by augmenting with text data. Paper received negative reviews initially, while the rebuttal did not convince the reviewers sufficiently. In a nutshell, the introduction of the new dataset is useful, while it is well motivated from an application perspective to include other modalities to enhance time series forecasting tasks. However, the concerns still held by the reviewers after rebuttal are well grounded. The paper is insufficient in technical contribution and empirical insights. The benefit from the text modality is not pronounced. The performance benefit mainly comes from combining well-established methods such as patchify and decomposition.",
22
+ "forum_id": "uRXxnoqDHH",
23
+ "primary_area": "representation learning for computer vision, audio, language, and other modalities",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_uJCG",
28
+ "review_id": "ZwaSqIt9LR",
29
+ "scores": {
30
+ "rating": 5,
31
+ "soundness": 2,
32
+ "presentation": 2,
33
+ "contribution": 2,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 2571,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 1666910,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_Moxw",
44
+ "review_id": "tcG39ZCsCx",
45
+ "scores": {
46
+ "rating": 5,
47
+ "soundness": 2,
48
+ "presentation": 3,
49
+ "contribution": 2,
50
+ "confidence": 3
51
+ },
52
+ "review_text_chars": 3746,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 866783,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_kpLg",
60
+ "review_id": "WoWrJQ57mE",
61
+ "scores": {
62
+ "rating": 5,
63
+ "soundness": 2,
64
+ "presentation": 3,
65
+ "contribution": 3,
66
+ "confidence": 4
67
+ },
68
+ "review_text_chars": 1830,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 1278393,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": [
73
+ {
74
+ "from": 96,
75
+ "to": 712
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "reviewer": "Reviewer_roN3",
81
+ "review_id": "scYQdxMqhi",
82
+ "scores": {
83
+ "rating": 5,
84
+ "soundness": 2,
85
+ "presentation": 3,
86
+ "contribution": 3,
87
+ "confidence": 4
88
+ },
89
+ "review_text_chars": 3342,
90
+ "edit_detected": true,
91
+ "edit_delta_seconds": 1939581,
92
+ "post_rebuttal_text_signal": false,
93
+ "score_mentions_in_text": []
94
+ }
95
+ ],
96
+ "any_review_edit_detected": true,
97
+ "any_post_rebuttal_text_signal": false,
98
+ "review_score_dimensions": [
99
+ "rating",
100
+ "soundness",
101
+ "presentation",
102
+ "contribution",
103
+ "confidence"
104
+ ]
105
+ }
open_review/iclr2024_8825.md ADDED
@@ -0,0 +1,527 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## MOAT: MULTI-MODAL AUGMENTED TIME SERIES FORECASTING
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Time series forecasting plays a pivotal role in various domains, facilitating optimized resource allocation and strategic decision-making. However, the scarcity of training samples often hinders the accuracy of the forecasting task. To address this, we explore the potential of leveraging information from different modalities that are commonly associated with time series data. In this paper, we introduce MoAT, a novel multi-modal augmented time series forecasting approach that strategically integrates both feature-wise and sample-wise augmentation methods to enrich multi-modal representation learning. It further enhances prediction accuracy through joint trend-seasonal decomposition across all modalities and fuses the information for the final prediction. Extensive experiments show that MoAT outperforms state-of-the-art methods, resulting in a substantial reduction in mean squared error ranging from 6.5% to 71.7%, which demonstrates the effectiveness and robustness in addressing the limitations imposed by data scarcity. The datasets and code are available at [URL removed] r/MoAT-201E.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Time series forecasting is a fundamental task with widespread applications across various domains, including finance, healthcare, energy management, and environmental monitoring (Sawhney et al., 2020; Chou & Tran, 2018; Ong et al., 2016). Accurate time series forecasting is essential for making informed decisions, optimizing resource allocation, and enhancing strategic planning. Notable progress has been achieved by various time series forecasting models (Wu et al., 2021; Zhou et al., 2022b; Nie et al., 2022; Zhang & Yan, 2022) following recent advancements in deep learning. However, in numerous scenarios, time-series data suffer from a scarcity of training samples, posing significant challenges in predicting future trends (Zhou et al., 2022c). Recall the COVID-19 outbreak, where accurate predictions of confirmed cases, fatalities, and recoveries were crucial in public health responses and resource allocation. Nevertheless, due to the limited amount of data available at the time, it was extremely challenging to make reliable predictions about future epidemic occurrences solely from time-series data, despite its critical importance (Gothai et al., 2021).
14
+
15
+ To address this limitation, leveraging the information from other modalities that associated with time series data emerges as a potential solution. For example, within the healthcare domain, clinical notes have been used to enhance the accuracy of predicting patient mortality (Deznabi et al., 2021; Yang et al., 2021). In the financial domain, leveraging text data from social media has proven to be effective in enhancing the accuracy of predicting individual stock movements (Du & Tanaka-Ishii, 2020; 2022; Sawhney et al., 2020). Another motivative example is evident in Fig. 1 which provides a visual representation of how distinct data modalities can shed light on similar dynamics. We can observe two prominent drops in the time series data marked as 1 and 2 in Fig. 1a, which correspond to significant changes in the similarity of text embeddings depicted in Fig. 1b. Expanding the scope of the training dataset becomes possible when taking into account both data sources, as shown in a 2D space in Fig. 1c. These findings suggest the potential of using text data to enhance the precision of time series forecasting.
16
+
17
+ The aforementioned studies that aid the time-series modeling by exploiting knowledge from other modalities, mostly from text data, can be formulated as data augmentation which is widely used to improve the model performance by enlarging the distribution covered by training dataset (Qin et al.,
18
+
19
+ 1
20
+
21
+ **==> picture [376 x 121] intentionally omitted <==**
22
+
23
+ **----- Start of picture text -----**<br>
24
+ ① ①<br>②<br>②<br>(a) Visualization of stock price time (b) Similarity heatmap of financial (c) Visualization of the aug-<br>series data news embedding mented training data<br>**----- End of picture text -----**<br>
25
+
26
+ Figure 1: (a) Visualization of the Stock-Index dataset’s time series data used in this study; (b) Corresponding similarity heatmap of financial news embedding, and (c) Visualization of the augmented training dataset. In the time series plot (a), there are two noticeable drops indicated by circled 1 and 2, which coincide with significant changes in text embedding similarity shown in (b). While these two data modalities are synchronized in time, they offer distinct information, as illustrated in a 2D space using t-SNE (c), thereby expanding the coverage of the training dataset.
27
+
28
+ **==> picture [394 x 114] intentionally omitted <==**
29
+
30
+ **----- Start of picture text -----**<br>
31
+ Trend Part<br>Global energy<br>consumption is …<br>Time Series<br>Seasonal Part<br>Major Oil-Producing Nations Predictions<br>Announce Supply Cut, Fuel<br>Prices Expected to Rise<br>Text Winter heating oil<br>demand is …<br>$ !"#<br>���<br>Decoder<br>% !"#<br>𝐖<br>Cross-Modal Fusion<br>Trend-Seasonal Decomposition<br>Multi-Modal Augmented Encoder Decoder<br>**----- End of picture text -----**<br>
32
+
33
+ Figure 2: The architecture of MoAT. Time series and text data are jointly decomposed into trend and seasonal components. These components are fed to the multi-modal augmented encoder which incorporates both sample-wise and feature-wise multi-modal data augmentation. The resulting outputs are decoded using component-specific decoders. Finally, the predictions for trend and seasonality are combined through a cross-modal fusion scheme to generate the final predictions.
34
+
35
+ 2020; Zhou et al., 2022a; Baltruˇsaitis et al., 2018). Data augmentation can be approached from two distinct angles, each offering unique benefits. The first method involves sample-wise augmentation, treating samples originating from different modalities as additional training examples (Xing et al., 2019; Pahde et al., 2021; Lin et al., 2023). The second method integrates supplementary information from diverse modalities into each individual sample (Sun et al., 2019; Guo et al., 2020; Zheng et al., 2021; Shi et al., 2021). Each approach improves model performance and robustness in its distinct way. This motivates us to strategically integrate both augmentation techniques, allowing us to leverage the unique advantages offered by both augmentation approaches.
36
+
37
+ Notably, the aforementioned studies utilizing text data for time series tasks have primarily concentrated on classification tasks (e.g., predicting whether a patient will survive or not, or the trend of stock movements). In this work, we present MoAT, a general multi-modal augmented framework designed to enhance forecasting accuracy by integrating information from various sources. Illustrated in Fig. 2, our approach comprises three main components: multi-modal augmentation, cross-modal fusion, and trend-seasonal decomposition. The augmentation encoder integrates both sample-wise and feature-wise multi-modal data augmentation techniques to enhance the quality and diversity of the training data. The resulting outputs are decoded using component-specific decoders. MoAT then facilitates the fusion of decoded representations from different modalities, enabling a more comprehensive understanding of the underlying processes governing time series behavior. To further enhance its capabilities, MoAT incorporates a joint trend-seasonal decomposition module, which generates distinct embedding to capture trend and seasonal dynamics from both time series and text information. Through extensive experiments, MoAT demonstrates substantial improvements, achieving a 6.5%-71.7% reduction in mean square error (MSE). In summary, this paper makes the following contributions:
38
+
39
+ - We introduce MoAT, a multi-modal augmented time series forecasting framework that addresses data scarcity issues by employing both sample-wise and feature-wise multi-modal augmentation and cross-modal fusion to enhance training data quality and diversity.
40
+
41
+ 2
42
+
43
+ - MoAT further enhances forecasting accuracy through joint trend-seasonal decomposition module, which extracts distinct embedding to capture trend and seasonal patterns from both time series and text information.
44
+
45
+ - Extensive experiments on six multi-modal datasets confirm the effectiveness and robustness of our proposed model. Furthermore, we release all compiled multi-modal time series datasets[1] to facilitate further research in this domain.
46
+
47
+ ## 2 RELATED WORK
48
+
49
+ **Time series forecasting.** Given its significant importance, time series forecasting has been extensively researched over a long period. In its early stages, classical deep learning methods were commonly applied. For example, TCN (Lea et al., 2017) uses CNN, and DeepAR (Salinas et al., 2020) utilizes RNN to capture temporal dependencies within time series. In addition, LSTnet (Lai et al., 2018) integrates both CNN and RNN in its approach. Recently, inspired by the success of Transformers (Vaswani et al., 2017) in various domains, including natural language processing (NLP) (Devlin et al., 2019), computer vision (CV) (Dosovitskiy et al., 2020), and speech processing (Dong et al., 2018), they have been actively used for time series forecasting. Informer (Zhou et al., 2021) is based on an efficient ProbSparse self-attention for capturing cross-time dependencies. Autoformer (Wu et al., 2021) uses time series decomposition and auto-correlation to forecast time series. FEDformer (Zhou et al., 2022b) uses Fourier or wavelet transforms to apply attention in the frequency domain. Despite these advancements, comparative evaluations have shown that these methods can be outperformed by DLinear (Zeng et al., 2023), a very simple linear model, shedding light on the limitations of Transformer-based time series forecasting models. However, this claim is contradicted by recent patch-level (or segment-level) Transformer models. Inspired by the effectiveness of patching in NLP (Devlin et al., 2019) and CV (Dosovitskiy et al., 2020; Bao et al., 2021), PatchTST (Nie et al., 2022) and Crossformer (Zhang & Yan, 2022) employ time series patches as the input for the Transformer encoder. Utilizing time series patching allows the model to capture temporal dependencies beyond individual data points, facilitating a comprehensive understanding of time series patterns and leading to more accurate forecasting.
50
+
51
+ **Multi-modal data augmentation.** Data augmentation is widely used to improve the model performance by enlarging the distribution covered by training data. An extensive literature on uni-modal data augmentation exists across diverse domains including images (Shorten & Khoshgoftaar, 2019), texts (Feng et al., 2021), and time series Wen et al. (2021). Here, we summarize the augmentation methods applied to multi-modal datasets, which aggregate data from multiple distinct sources. One approach involves incorporating additional training samples from different modalities, which is especially beneficial when the specific modality of interest has limited available data. This can be achieved by simply using samples from other modalities as extra training data (Lin et al., 2023; Pahde et al., 2021), or by generating synthetic training samples through transformations from multiple sources (Hao et al., 2023). An alternative and orthogonal approach is to enrich the information within each sample by integrating additional data from different modalities. A simple and direct method is to concatenate features from multiple modalities and feed them collectively into the Transformer encoder, allowing for cross-modal learning (Sun et al., 2019; Zheng et al., 2021; Shi et al., 2021). In summary,
52
+
53
+ - **Sample-wise augmentation** in multi-modal data treats samples originating from different modalities as additional samples to train the model (Xing et al., 2019; Pahde et al., 2021; Lin et al., 2023). This approach is particularly advantageous when different modalities contribute complementary information, each capturing unique aspects of the underlying concept. For example, incorporating samples from text data can assist in clarifying the decision boundary of the image classifier.
54
+
55
+ - **Feature-wise augmentation** integrates additional information from different modalities into each sample (Sun et al., 2019; Guo et al., 2020; Zheng et al., 2021; Shi et al., 2021). Enriching each sample by incorporating features from diverse sources enables the model to understand complex relationships and patterns within the data, leading to more accurate predictions or classifications. For example, concatenating text features with image features can assist in adjusting the weights of the image classifier.
56
+
57
+ > 1[URL removed]
58
+
59
+ 3
60
+
61
+ **Multi-modal for time series.** Additional information, mostly in textual data, has been leveraged to solve time series tasks, primarily within specific domains. For example, within the healthcare domain, clinical notes have been used to enhance the accuracy of predicting patient mortality (Deznabi et al., 2021; Yang et al., 2021) or to optimize the management of patients’ ICU stays (Khadanga et al., 2019). In the financial domain, leveraging text data from social media has proven to be effective in enhancing the accuracy of predicting individual stock movements (Du & Tanaka-Ishii, 2020; 2022; Sawhney et al., 2020). Importantly, previous studies that utilize text data for time series tasks have primarily concentrated on classification tasks (e.g., predicting whether a patient will survive or not, or whether the stock price will increase or decrease the following day), differing from our specific focus on forecasting. In this work, we propose MoAT, a general time series forecasting model that integrates text information to enhance prediction accuracy.
62
+
63
+ ## 3 PROPOSED METHOD
64
+
65
+ We propose MoAT, a multi-modal time series forecasting model that leverages information from different modalities to improve the accuracy of the forecasting task, as illustrated in Fig. 2.
66
+
67
+ ## 3.1 PROBLEM STATEMENT
68
+
69
+ The problem of multivariate time series forecasting is defined as predicting the future _T_ steps of time-series values **X** = ( _xL_ +1 _, ..., xL_ + _T_ ) _∈_ R _[T][ ×][C]_ , based on the past _L_ steps of time series data **Y** = ( _x_ 1 _, ..., xL_ ) _∈_ R _[L][×][C]_ , where _C_ represents the dimension or the number of channels of the time series data. At each historical time step _t_ = 1 _, ..., L_ , there is a set _Dt_ = _{Dt,_ 1 _, ..., Dt,|Dt|}_ of data available from other modalities, which has the potential to improve forecasting accuracy.
70
+
71
+ ## 3.2 MOAT: MULTI-MODAL AUGMENTED TIME SERIES FORECASTING
72
+
73
+ Here, we describe our framework for time-series forecasting using text data as an example. This approach can readily be expanded to include other modalities such as image and audio data.
74
+
75
+ **Patch-wise embedding.** Beyond point-wise, analyzing time series data at the segment level provides richer insights for understanding its underlying dynamic patterns. For example, when examining stock price movements, it becomes crucial to analyze how prices change over time, rather than focusing on the individual price on a specific day. The effectiveness of patching time series data has been well-demonstrated, particularly in transformer-based forecasting models (Nie et al., 2022; Zhang & Yan, 2022), and thus MoAT also adopts this approach. In our approach, we represent both time series and text as an identical number of patches, as described below.
76
+
77
+ To patch **time series** _**x**_[(] _[i]_[)] = ( _x_[(] 1 _[i]_[)] _[, ..., x]_[(] _L[i]_[)][)] _[∈]_[R] _[L]_[of][the] _[i]_[-th][channel,][we][segment][it][into][multiple] (non-)overlapping patches. Precisely, given the patch length _P_ and the stride _S_ , we segment _**x**_[(] _[i]_[)] into _N_ patches, each of length _P_ , denoted as **p**[(] _[i]_[)] = ( **p**[(] 1 _[i]_[)] _[, ...,]_ **[ p]**[(] _N[i]_[)][)] _[ ∈]_[R] _[N][×][P]_[where two consecutive] patches share _S_ values. Here, the number _N_ of patches is _⌊[L][−] S[P][⌋]_[+ 2][ if we pad the last value of the] time series _S_ times before patching. Then, we map these patches into a _d_ -dimensional latent space using a learnable linear projection **W** time _∈_ R _[P][ ×][d]_ , i.e., **z**[(] time _[i]_[)][=] **[ p]**[(] _[i]_[)] **[W]**[time] _[∈]_[R] _[N][×][d]_[.]
78
+
79
+ To patch **text data** , we require a different approach due to the variability in the number of texts and their unordered nature at each timestep. Specifically, we are given a sequence _D_ = ( _D_ 1 _, ..., DL_ ) of sets of documents, where at each timestep _t_ , we have a set _Dt_ = _{Dt,_ 1 _, ..., Dt,|Dt|}_ of an arbitrary number of texts. Firstly, we use the pretrained language model (denoted as “PLM” below) to represent each text _Dt,j_ as a _d[′]_ -dimensional embedding vector, i.e., _**d** t,j_ = PLM( _Dt,j_ ) _∈_ R _[d][′]_ . This yields an embedding matrix _**d** t_ = [ _**d** t,_ 1 _, ...,_ _**d** t,|Dt|_ ] _∈_ R _[|D][t][|×][d][′]_ of texts at each timestep _t_ .
80
+
81
+ Following the segmentation approach similar to that of the time series, we segment text data into multiple patches, each spanning _P_ timesteps. To represent a text patch covering the time span from _ta_ to _tb_ , where _tb − ta_ + 1 = _P_ , our goal is to aggregate text embeddings within this interval into a single embedding. To this end, we collect text embeddings spanning from _ta_ to _tb_ , _**d** ta_ : _tb_ = _**d** ta ⊕· · · ⊕_ _**d** tb ∈_ R _[|D][ta]_[:] _[tb][|×][d][′]_ , where _⊕_ is the vertical concatenation operation. Since various documents may hold different degrees of significance, we apply attentive pooling to aggregate their
82
+
83
+ 4
84
+
85
+ **==> picture [396 x 114] intentionally omitted <==**
86
+
87
+ **----- Start of picture text -----**<br>
88
+ ℝ [!#] 𝑧̂!"#$,&' 𝑧̂!$(!,&' 𝑧̃!"#$,&' 𝑧̃!$(!,&' 𝑧̂!"#$,)' 𝑧̂!$(!,)' 𝑧̃!"#$,)' 𝑧̃!$(!,)' Prediction Synthesis<br>Flatten (Offline)<br>① ② Multi-Modal Augmented Encoder ③ ④ ⑤ ⑥ 𝜆! … 𝜆" … 𝜆#<br>ℝ [!×#] … …<br>Patching<br>Global energy … Winter heating … Cross-Fusion<br>Trend Part Seasonal Part<br>Sample-wise Augmentation Feature-wise Augmentation Trend Part Predictions ℝ [$] Seasonal Part Predictions ℝ [$]<br>(a) Multi-modal augmented encoder (b) Cross-modal fusion and offline synthesis<br>**----- End of picture text -----**<br>
89
+
90
+ Figure 3: Key components of MoAT. (a) The multi-modal augmented encoder is utilized across six distinct input patches, labeled 1 to 6, which are obtained by augmenting multi-modal inputs either in a sample-wise or feature-wise manner. Note that inputs 1 to 6 are processed independently with the shared encoder. (b) Using the eight different representations derived from trend and seasonal components, MoAT generates multiple predictions through cross-fusion. These predictions are then aggregated to generate the final prediction using an offline synthesis approach.
91
+
92
+ embeddings while assigning varying weights as follows:
93
+
94
+ **==> picture [308 x 19] intentionally omitted <==**
95
+
96
+ where **W**[(] _[i]_[)] _∈_ R _[d][′][×][d]_ , _**b**_[(] _[i]_[)] _∈_ R _[d]_ , and **V**[(] _[i]_[)] _∈_ R _[d][×][d]_ are learnable weights specific to the _i_ -th channel. It is important to note that we utilize channel-specific parameters when applying attention, which enables us to generate text patches that are unique to each channel. Consider financial markets as an example, where the importance and relevance of documents can vary for different stocks or companies. After mapping the patches into a _d_ -dimensional latent space using a trainable linear projection **W** text _∈_ R _[d][′][×][d]_ , we obtain embeddings of text patches **z**[(] text _[i]_[)] _[∈]_[R] _[N][×][d]_[of the] _[ i]_[-th channel.] These patch embeddings temporally align with the time series patches, **z**[(] time _[i]_[)][.]
97
+
98
+ **Multi-modal augmented encoder.** Now that we have obtained patch embeddings, **z**[(] time _[i]_[)][for][time] series and **z**[(] text _[i]_[)][for][text][data,][in][the] _[i]_[-th][channel,][we][proceed][to][feed][them][into][the][shared][encoder] illustrated in Fig. 3a. In this step, we leverage multi-modal data augmentation strategies from two distinct angles, each providing unique benefits, all with a common goal of forecasting time series.
99
+
100
+ Commonly, we introduce modality-specific learnable positional embeddings **W** time[pos] _[∈]_[R] _[N][×][d]_[and] **W** text[pos] _[∈]_[R] _[N][×][d]_[for time series and text, respectively.][In addition, we employ a vanilla Transformer] encoder (denoted as “Encoder” below) equipped with multi-head attention. The encoder yields patch representations equivalent to the number of input patches, and we assume that these representations are then flattened into a single embedding vector.
101
+
102
+ To employ the **sample-wise augmentation** , we use embeddings from the two modalities as independent training samples. Specifically, we pass them separately to the shared encoder, preventing any explicit interactions between patches across modalities:
103
+
104
+ **z** ˆtime[(] _[i]_[)][=][ Encoder] **z**[(] time _[i]_[)][+] **[ W]** time[pos] _∈_ R _[Nd]_ and **z** ˆ[(] text _[i]_[)][=][ Encoder] **z**[(] text _[i]_[)][+] **[ W]** text[pos] _∈_ R _[Nd]_ (2) � � � � As a result, the encoder processes twice the number of training samples, enriching diversity within the training data, which potentially improves generalization and robustness in the model. We refer to these embeddings as _single-modal_ representations as they originate from individual modalities.
105
+
106
+ To employ the **feature-wise augmentation** , we feed the encoder with the concatenated embeddings derived from time series and text, allowing cross-modal interactions across modalities:
107
+
108
+ **==> picture [317 x 19] intentionally omitted <==**
109
+
110
+ where _∥_ is the concatenation operator. Note that, since the input comprises of 2 _N_ patches, the output ˆ **z**[(] joint _[i]_[)][is the concatenation of][ 2] _[N]_[patches.][We subsequently split it into two halves to obtain] **z** ˜[(] time _[i]_[)] _[∈]_[R] _[Nd]_[ and][ ˜] **[z]** text[(] _[i]_[)] _[∈]_[R] _[Nd]_[, i.e.,][ ˆ] **[z]**[(] joint _[i]_[)][= ˜] **[z]**[(] time _[i]_[)] _[∥]_ **[z]**[˜] text[(] _[i]_[)][.][We refer to these embeddings as] _[ cross-modal]_ representations as they result from joint interactions across patches from different modalities.
111
+
112
+ _**Remarks.**_ Our multi-modal augmented encoder yields two distinct types of representations, singlemodal (i.e., modality-specific) and cross-modal (i.e., modality-fused), each contributing unique information. While most existing works tend to utilize either one of these aspects (Lin et al., 2023;
113
+
114
+ 5
115
+
116
+ Shi et al., 2021), MoAT leverages both perspectives of the multi-modal data, which strategically broadens its learning spectrum. In addition, the usefulness of these representations may vary across datasets, and in the subsequent descriptions, we describe how MoAT adaptively utilizes them to achieve accurate time series forecasting.
117
+
118
+ **Joint trend-seasonal decomposition.** This technique is one of the most valuable techniques for improving the predictability of raw time series data (Cleveland et al., 1990; Hamilton, 2020). Notably, recent forecasting models have incorporated time series decomposition into their frameworks due to its effectiveness (Wu et al., 2021; Zhou et al., 2022b; Zeng et al., 2023). Specifically, the seasonaltrend decomposition employs a moving average kernel on the input time series to extract the _trendcyclic_ component of the data. Then, the _seasonal_ component is derived as the difference between the original input time series and the extracted trend component. Inspired by its effectiveness, we enhance the method by employing time series decomposition.
119
+
120
+ To decompose **time series** , we use the seasonal-trend decomposition to yield trend part _**x**_[(] T _[i]_[)] and seasonal part _**x**_[(] S _[i]_[)][, each of which explain different aspects of the time series.][From each component,] we compute patch embeddings **z**[(] time,T _[i]_[)][and] **[ z]**[(] time,S _[i]_[)][using the aforementioned approach.] To decompose **text data** , we employ two distinct and independent sets of attention parameters, _θ_ T[(] _[i]_[)] = _{_ **W** T[(] _[i]_[)] _[,]_ _**[ b]**_[(] T _[i]_[)] _[,]_ **[ V]** T[(] _[i]_[)] _[}]_[and] _[θ]_ S[(] _[i]_[)] = _{_ **W** S[(] _[i]_[)] _[,]_ _**[ b]**_[(] S _[i]_[)] _[,]_ **[ V]** S[(] _[i]_[)] _[}]_[in][Eq.][6][to][obtain][aggregated][text][em-] beddings for trend and seasonal components, respectively. This allows us to derive distinguished embeddings for capturing trend and seasonal dynamics from text information, highlighting documents differently. From each set of text embeddings, we derive two distinct sets of text patches, **z**[(] text,T _[i]_[)][and] **[ z]**[(] text,S _[i]_[)][, representing trend-related and seasonal-related text information, respectively.] Once we obtain two sets of patch embeddings, **z**[(] time,M _[i]_[)][and] **[ z]**[(] text,M _[i]_[)][, for each component M] _[∈{]_[T] _[,]_[ S] _[}]_[,] we utilize the shared multi-modal augmented encoder described above. As shown in Fig. 3a, we feed time series and text patches from each component independently into the shared encoder, resulting in the following two sets, **Z**[(] T _[i]_[)][and] **[ Z]**[(] S _[i]_[)][, of representations:]
121
+
122
+ ˆ ˆ **Z**[(] T _[i]_[)] = _{_ **z**[(] time,T _[i]_[)] _[,]_[ ˆ] **[z]** text,T[(] _[i]_[)] _[,]_[ ˜] **[z]**[(] time,T _[i]_[)] _[,]_[ ˜] **[z]** text,T[(] _[i]_[)] _[}]_ and **Z**[(] S _[i]_[)] = _{_ **z**[(] time,S _[i]_[)] _[,]_[ ˆ] **[z]**[(] text,S _[i]_[)] _[,]_[ ˜] **[z]**[(] time,S _[i]_[)] _[,]_[ ˜] **[z]**[(] text,S _[i]_[)] _[}]_ (4) These representations originate from either single-modal or cross-modal inputs, granting us four unique information for both trend and seasonal components. This notably enriches the variety of training samples that the decoder can utilize to predict future time series.
123
+
124
+ **Multi-modal cross fusion.** Since we have decomposed the data into its trend and seasonal components, the next step involves recombining them to generate predictions. While a straightforward approach would be combining corresponding representations from **Z**[(] T _[i]_[)] and **Z**[(] S _[i]_[)] (e.g., combining **z** ˆ[(] time,T _[i]_[)][and][ ˆ] **[z]** time,S[(] _[i]_[)][or][ ˜] **[z]**[(] text,T _[i]_[)][and][ ˜] **[z]** text,S[(] _[i]_[)][) to yield four predictions, we propose to use a richer strategy.] Instead of limiting the combinations to the corresponding pairs, we propose to aggregate all possible combinations of representations from **Z**[(] T _[i]_[)][and] **[ Z]**[(] S _[i]_[)] as shown in Fig. 3b. Thus, we minimize:
125
+
126
+ **==> picture [314 x 32] intentionally omitted <==**
127
+
128
+ where **W** dec[T] _[∈]_[R] _[Nd][×][T]_[and] **[ W]** dec[S] _[∈]_[R] _[Nd][×][T]_[are the single-layer linear decoders for the trend and] seasonal representations, respectively. The overall loss _L_ is computed by the average of the _C_ individual losses from the _C_ channels, i.e., _L_ = _C_ 1 � _L_[(1)] + _..._ + _L_[(] _[C]_[)][�] . This approach yields a total of 16 different combinations, each contributing to a distinguished prediction. Predicting from a wider range of representation combinations allows us to unravel a comprehensive understanding of the interplay between the trend and seasonal components. _**Discussion 1: How is multi-modality fused?**_ To improve forecasting accuracy by integrating various modalities, it is essential to effectively fuse the information acquired from these sources. Initially, an _implicit fusion_ of time series and text occurs in Eq. 3 by jointly passing patches from both modalities to the shared Transformer encoder, enabling cross-modal interactions among them. Cross-fusion, on the other hand, is an _explicit fusion_ approach aimed at facilitating interactions between these modalities. By systematically combining all feasible pairs from **Z**[(] T _[i]_[)] and **Z**[(] S _[i]_[)] to make predictions, this approach explicitly considers all potential cross-modal fusions.
129
+
130
+ 6
131
+
132
+ Table 1: Time series forecasting accuracy (in terms of MSE) in six real-world datasets. With effective integration of text information, MoAT provides the most accurate predictions for future time series. The best results are in **bold** and the second best are underlined. The average improvements (%) and ranks are reported on the right.
133
+
134
+ |Method|Fuel|Metal|Bitcoin|Stock-Index|Covid|Stock-Tech|Improv.<br>Rank|
135
+ |---|---|---|---|---|---|---|---|
136
+ |LightTS<br>DLinear<br>Autoformer<br>FEDformer<br>Pyraformer<br>Crossformer<br>PatchTST|0.1930 _±_0.0828<br>0.1916 _±_0.0346<br>0.1599 _±_0.0266<br>0.1088 _±_0.0151<br>0.1366 _±_0.0289<br>0.0962 _±_0.0049<br>0.0913 _±_0.0055|0.1829 _±_0.2065<br>0.0757 _±_0.0462<br>0.0529 _±_0.0084<br>0.0488 _±_0.0041<br>0.2494 _±_0.0590<br>0.1110 _±_0.0344<br>0.0278 _±_0.0005|0.3109 _±_0.2528<br>0.0822 _±_0.0213<br>0.0757 _±_0.0038<br>0.0743 _±_0.0068<br>1.3467 _±_0.1913<br>0.4256 _±_0.0398<br>0.0527 _±_0.0017|1.6765 _±_0.6564<br>0.8250 _±_0.0542<br>**0.7856** _±_**0.0408**<br>0.8004 _±_0.0375<br>0.9558 _±_0.3773<br>1.5374 _±_0.3410<br>0.8612 _±_0.0315|0.4504 _±_0.1746<br>0.2513 _±_0.1221<br>0.2597 _±_0.0213<br>0.2366 _±_0.0179<br>1.5176 _±_0.2595<br>0.5700 _±_0.0912<br>0.1774 _±_0.0077|1.0780 _±_1.3709<br>0.3546 _±_0.1006<br>0.2115 _±_0.0314<br>0.1369 _±_0.0074<br>11.0625 _±_1.5610<br>7.0709 _±_1.0786<br>0.1215 _±_0.0026|71.67<br>9.66<br>43.81<br>7.33<br>34.92<br>6.00<br>24.22<br>4.50<br>71.46<br>9.83<br>65.92<br>8.83<br>6.46<br>3.33|
137
+ |MM-Linear<br>MM-LSTM<br>MM-TST|0.1127 _±_0.0212<br>0.1947 _±_0.0014<br>0.0902 _±_0.0023|0.0504 _±_0.0045<br>0.0607 _±_0.0004<br>0.0285 _±_0.0009|0.0525 _±_0.0050<br>0.0628 _±_0.0014<br>0.0522 _±_0.0018|1.5321 _±_0.3410<br>0.8571 _±_0.0252<br>0.8919 _±_0.0322|0.1906 _±_0.0129<br>0.1943 _±_0.0088<br>0.1804 _±_0.0162|0.2680 _±_0.1163<br>32.48<br>5.66<br>0.1665 _±_0.0017<br>30.45<br>6.33<br>0.1201 _±_0.0025<br>6.65<br>3.16||
138
+ |**MoAT**|**0.0816** _±_**0.0016**|**0.0257** _±_**0.0004**|**0.0494** _±_**0.0006**|0.8134 _±_0.0959|**0.1727** _±_**0.0020**|**0.1176** _±_**0.0019**<br>-<br>**1.33**||
139
+
140
+ _**Discussion 2: Why independent predictions?**_ In our loss function (Eq. 5), we compute the loss for each of the 16 independent predictions, which are then summed to compute the final loss _L_[(] _[i]_[)] . An intuitively different approach would be to aggregate the representations themselves and forecast time series as a united prediction. However, our choice of the objective exploits a larger number of training samples, enabling the model to effectively capture a diverse set of input patterns. Information from different modalities may provide complementary insights (Xing et al., 2019; Mu et al., 2020; Wortsman et al., 2022), and thus utilizing each prediction independently could lead to a more comprehensive understanding of the underlying dynamics.
141
+
142
+ **Prediction synthesis.** In the inference phase, our primary objective is to generate a singular, definitive prediction from a set of multiple predictions generated by MoAT. While simply taking the mean of the 16 predictions appears as a straightforward approach, the reliability and accuracy of each prediction can vary across datasets, depending on the quality of the input modalities. Thus, instead, we implement a simple offline linear aggregation module consisting of 16 weight parameters _λ_ 1 _, · · · , λ_ 16, along with an intercept _b_ , that assign varying weights to the predictions, as shown in Fig. 3b. Note that this synthesis module is trained offline, separately from the main module (e.g., encoder and decoder), and thus gradients are not shared.
143
+
144
+ _**Discussion 3: Why offline synthesis?**_ One might hypothesize that jointly learning _λ_ 1 _, · · · λ_ 16 along with the main module in an end-to-end manner could yield better results. However, in such a case, the model serves two roles: (1) accurately forecasting time series and (2) synthesizing predictions by learning their weights based on their importance. We disentangle the model’s two functionalities by training the synthesis module offline. This allows MoAT to dedicate itself to generating accurate forecasts, while the offline module learns the weights associated with the generated predictions. The disentanglement of functionalities has been proven to enhance the modularity and efficiency of multi-modal models (Liang et al., 2022).
145
+
146
+ ## 4 EXPERIMENTS
147
+
148
+ In this section, we evaluate MoAT by answering the following questions: **Q1. Accuracy:** Does MoAT accurately forecast time series? **Q2. Effectiveness:** Does each component of MoAT improve the performance? and **Q3. Versatility:** Does MoAT perform well in other settings as well? Supplementary results can be found in Appendix D.
149
+
150
+ ## 4.1 SETTINGS
151
+
152
+ We first share the experimental settings where the experiments are conducted.
153
+
154
+ **Datasets.** We evaluate the performance of MoAT across six multi-modal datasets: Fuel, Gold, Stock-Index, Stock-Tech, Bitcoin, and Covid. These datasets, which will be made publicly available, consist of multivariate time series data ranging from daily to monthly resolution. Additionally, each dataset is accompanied by a collection of documents associated with each timestep. For more detailed descriptions of each dataset (e.g., statistics and preprocessing steps), refer to Appendix B.1.
155
+
156
+ **Baselines.** To evaluate our proposed method, we compare it with both uni-modal and multimodal time series forecasting methods. As for uni-modal baselines, we consider linear models,
157
+
158
+ 7
159
+
160
+ Table 2: The effects of (1) incorporating multi-modal data, (2) employing dual multi-modal augmentation schemes, and (3) considering other design choices discussed in Section 3. All components contribute collectively to improve the performance of MoAT.
161
+
162
+ |Method|Fuel|Metal|Bitcoin|Stock-Index|Covid|Stock-Tech|Improv. (%)|
163
+ |---|---|---|---|---|---|---|---|
164
+ |MoATtime<br>MoATtext|**0.0802** _±_**0.0015**<br>0.1044 _±_0.0003|0.0264 _±_0.0007<br>0.0310 _±_0.0002|0.0501 _±_0.0005<br>0.0516 _±_0.0001|1.1879 _±_0.0354<br>1.1750 _±_0.0293|0.1763 _±_0.0032<br>0.1806 _±_0.0004|0.1223 _±_0.0018<br>0.1501 _±_0.0010|6.613<br>16.696|
165
+ |MoATsample<br>MoATfeature|0.0814 _±_0.0016<br>0.0819 _±_0.0018|**0.0256** _±_**0.0008**<br>0.0262 _±_0.0013|**0.0491** _±_**0.0005**<br>0.0496 _±_0.0007|0.8405 _±_0.0269<br>0.8383 _±_0.0302|0.1748 _±_0.0026<br>0.1756 _±_0.0031|0.1191 _±_0.0023<br>0.1200 _±_0.0035|0.724<br>1.532|
166
+ |MoATw.o.JD<br>MoATw.o.CF<br>MoATw.o.IP<br>MoATw.o.OS|0.0823 _±_0.0013<br>0.0853 _±_0.0013<br>0.0855 _±_0.0018<br>0.0898 _±_0.0027|0.0261 _±_0.0010<br>0.0290 _±_0.0005<br>0.0260 _±_0.0013<br>0.0258 _±_0.0008|0.0501 _±_0.0005<br>0.0513 _±_0.0004<br>0.0539 _±_0.0016<br>0.0548 _±_0.0022|**0.7986** _±_**0.0614**<br>0.8565 _±_0.0840<br>0.8555 _±_0.0745<br>0.8196 _±_0.0709|0.1754 _±_0.0026<br>0.1801 _±_0.0021<br>0.1864 _±_0.0053<br>0.1833 _±_0.0046|0.1212 _±_0.0016<br>0.1263 _±_0.0023<br>**0.1165** _±_**0.0017**<br>0.1180 _±_0.0030|1.113<br>5.938<br>4.264<br>4.387|
167
+ |**MoAT**|0.0816 _±_0.0016|0.0257 _±_0.0004|0.0494 _±_0.0006|0.8134 _±_0.0959|**0.1727** _±_**0.0020**|0.1176 _±_0.0019|-|
168
+
169
+ LightTS (Zhang et al., 2022) and DLinear (Zeng et al., 2023), as well as Transformer-based models including Autoformer (Wu et al., 2021), FEDformer (Zhou et al., 2022b), Pyraformer (Liu et al., 2021), Crossformer (Zhang & Yan, 2022), and PatchTST (Nie et al., 2022). Regarding multi-modal baselines, we include MM-Linear, MM-LSTM, and MM-TST. MM-Linear and MM-TST are designed based on extensions of DLinear and PatchTST, respectively, to integrate text information for time series forecasting. MM-LSTM is developed by modifying the multi-modal time series classification method (Deznabi et al., 2021) for forecasting purposes. For more details, refer to Appendix C.
170
+
171
+ **Experimental setup.** We partitioned each dataset into train/validation/test sets with a ratio of 6:2:2. Unless otherwise stated, MoAT and its baselines predicted the immediate subsequent step (i.e., _T_ = 1) based on the preceding 8 timesteps (i.e., _L_ = 8), while MoAT can forecast over longer durations (see Appendix D). By default, we used a hidden dimension of 64 and 4 attention heads for the Transformer encoder. For more specific configuration information, refer to Appendix B.4.
172
+
173
+ ## 4.2 Q1. ACCURACY
174
+
175
+ We begin by evaluating the accuracy of MoAT in time series forecasting. As shown in Table 1, MoAT achieves a significant performance advantage over both uni-modal and multi-modal baselines. Specifically, MoAT achieves the lowest MSE across five out of six datasets, exhibiting improvements ranging from 6.455% to 71.688%, on average. This demonstrates the effectiveness of incorporating multi-modal data into the model, as well as the careful design choices incorporated into MoAT. For additional experimental results, refer to Appendix D.
176
+
177
+ ## 4.3 Q2. EFFECTIVENESS
178
+
179
+ Next, we conduct ablation studies to validate the effectiveness of the design choices made in MoAT. The results are summarized in Table 2. For further details on each variant, refer to Appendix C.3.
180
+
181
+ **Effectiveness of multi-modality.** We study the effects of incorporating multi-modal data into time series forecasting. To this end, we examine two variants of MoAT, each utilizing one of the modalities: (1) MoATtime uses only the time series modality as input, and (2) MoATtext uses only the text modality as input. As shown in Table 2, MoAT outperforms both variants, enhancing the accuracy of MoATtime by 6.613% and MoATtext by 16.696%, on average. This demonstrates that under MoAT, both the time series and text modalities contribute to accurate time series forecasting.
182
+
183
+ **Effectiveness of dual augmentation.** MoAT consists of a multi-modal augmented encoder that utilizes dual augmentation methods on the input multi-modal data. To investigate the effectiveness of the augmentation schemes, we consider two variants: (1) MoATsample augments the data in the sample space yielding single-modal representations ˆ **z** time and ˆ **z** text, and (2) MoATfeature augments the data in the feature space generating cross-modal representations ˜ **z** time and ˜ **z** text. As shown in Table 2, MoAT, which incorporates both augmentation schemes, forecasts time series more accurately than MoATsample and MoATfeature by 0.724% and 1.532%, respectively, on average. This implies that both augmentation methods are effective, and adopting both provides the best performance.
184
+
185
+ **Effectiveness of other design choices.** We conduct ablation studies to verify other design components of MoAT including the discussions outlined in Section 3. To this end, we consider four variants: (1) MoATw.o.JD (w.o. _joint decomposition_ ) forecasts without trend-seasonal decomposition, (2) MoATw.o.CF (w.o. _cross-fusion_ ) removes the cross-fusion scheme from MoAT, only com-
186
+
187
+ 8
188
+
189
+ **==> picture [396 x 102] intentionally omitted <==**
190
+
191
+ **----- Start of picture text -----**<br>
192
+ 6 4.54.0 0.110.10 MoATPatchTST 0.08<br>3.5 0.09 MM-TST<br>4 Ground-Truth 3.0 54 56 58 60 62 64 66 0.08 0.07<br>MoAT 0.07 0.06 MoAT<br>2 PatchTST 0.06 PatchTST<br>MM-TST 0.05 0.05 MM-TST<br>0 20 40 60 80 100 120 140 1 2 4 8 60 54 48 42 36 30<br>Timestep Prediction Length Train Ratio (%)<br>(a) Visualization of Bitcoin price forecasting (b) Extended forecast (c) Fewer training samples<br>Price MSE MSE<br>**----- End of picture text -----**<br>
193
+
194
+ Figure 5: (a) MoAT accurately predicts future Bitcoin price compared to the uni-modal PatchTST and multi-modal MM-TST time series forecasting models. (b) MoAT consistently outperforms its baselines for various forecasting lengths. (c) MoAT maintains superior performance over its baselines even when trained with a reduced number of training samples.
195
+
196
+ bining the corresponding representations from each component, (3) MoATw.o.IP (w.o. _independent predictions_ ) averages the representations in each component and makes a united prediction, and (4) MoATw.o.OS (w.o. _offline synthesis_ ) combines the prediction synthesis module into the main model, training its parameters in an end-to-end manner. More details about each variant can be found in Appendix C.3. As shown in Table 2, MoAT outperforms these variants, improving them by 1 _._ 113%, 5 _._ 938%, 4 _._ 264%, and 4 _._ 387%, respectively, confirming the effectiveness of each design choice.
197
+
198
+ We conduct a visual analysis of the distributions of representations obtained by MoAT using the Bitcoin dataset. Fig. 4 illustrates the dis𝑧̂!"#$,&' , 𝑧̂!$(!,&' , 𝑧̃!"#$,&' , 𝑧̃!$(!,&' tributiontationsof the test(Eq.ofset,4)eightinacrossadistinct2Dthespacetimestepsrepresen-using 𝑧̂𝑧̂!"#$,)!"#$,&' ' , 𝑧̂+ 𝑧̂!$(!,)' !$(!,&' , 𝑧̃!"#$,)+ 𝑧̃' !"#$,&', 𝑧̃!$(!,)' + 𝑧̃!$(!,&' /4 t-SNE (Van der Maaten & Hinton, 𝑧̂!"#$,)' + 𝑧̂!$(!,)' + 𝑧̃!"#$,)' + 𝑧̃!$(!,)' /4 2008). It is evident that these eight independent representations cover a broader space compared to the united Figure 4: Augmentation space of MoAT. Multi-modal data representation obtained by averaging. augmentation expands the representation space, leading to This observation provides insight into why MoAT outperforms its variant, more accurate forecasting of temporal dynamics. MoATw.o.IP, which aggregates the representations for making a single prediction. Furthermore, it is noteworthy that the representations originating from the trend and seasonal components are clearly distinguishable, implying their complementary roles in making predictions.
199
+
200
+ ## 4.4 Q3. VERSATILITY
201
+
202
+ We evaluate MoAT across different settings. In Fig. 5, we illustrate our results using the Bitcoin dataset as a case study. As shown in Fig. 5a, MoAT provides more accurate predictions of future Bitcoin prices compared to its strongest uni-modal and multi-modal competitors, PatchTST and MM-TST. In addition, as seen in Fig. 5b, MoAT consistently exhibits superior performance compared to its baselines when forecasting over longer future timesteps, specifically 2, 4, and 8 timesteps ahead. Moreover, Fig. 5c shows that MoAT maintains its superiority over its baselines even when trained with a reduced number of training samples, demonstrating the robustness and adaptability of MoAT across varying data availability scenarios. These results emphasize MoAT as a reliable choice for accurate time series forecasting in diverse settings.
203
+
204
+ ## 5 CONCLUSIONS
205
+
206
+ This paper presents MoAT, a novel multi-modal augmented approach for time series forecasting aimed at overcoming data scarcity challenges. MoAT efficiently integrates information from various sources, including textual data, by combining both sample-wise and feature-wise multi-modal augmentation and fusion. Additionally, it enhances prediction accuracy through trend-seasonal decomposition using both data modalities. Extensive experiments conclusively demonstrate that MoAT surpasses existing methods, confirming its effectiveness and robustness in addressing data scarcity issues within the realm of time series forecasting.
207
+
208
+ 9
209
+
210
+ ## REFERENCES
211
+
212
+ - Tadas Baltruˇsaitis, Chaitanya Ahuja, and Louis-Philippe Morency. Multimodal machine learning: A survey and taxonomy. _IEEE transactions on pattern analysis and machine intelligence_ , 41(2): 423–443, 2018.
213
+
214
+ - Hangbo Bao, Li Dong, Songhao Piao, and Furu Wei. Beit: Bert pre-training of image transformers. In _International Conference on Learning Representations_ , 2021.
215
+
216
+ - Jui-Sheng Chou and Duc-Son Tran. Forecasting energy consumption time series using machine learning techniques based on usage patterns of residential householders. _Energy_ , 165:709–726, 2018.
217
+
218
+ - Robert B Cleveland, William S Cleveland, Jean E McRae, and Irma Terpenning. Stl: A seasonaltrend decomposition. _J. Off. Stat_ , 6(1):3–73, 1990.
219
+
220
+ - Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In _Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL-HLT)_ , 2019.
221
+
222
+ - Iman Deznabi, Mohit Iyyer, and Madalina Fiterau. Predicting in-hospital mortality by combining clinical notes with time-series data. In _Findings of the association for computational linguistics: ACL-IJCNLP 2021_ , 2021.
223
+
224
+ - Linhao Dong, Shuang Xu, and Bo Xu. Speech-transformer: a no-recurrence sequence-to-sequence model for speech recognition. In _IEEE international conference on acoustics, speech and signal processing (ICASSP)_ , 2018.
225
+
226
+ - Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In _International Conference on Learning Representations_ , 2020.
227
+
228
+ - Xin Du and Kumiko Tanaka-Ishii. Stock embeddings acquired from news articles and price history, and an application to portfolio optimization. In _Proceedings of the 58th annual meeting of the association for computational linguistics_ , 2020.
229
+
230
+ - Xin Du and Kumiko Tanaka-Ishii. Stock portfolio selection balancing variance and tail risk via stock vector representation acquired from price data and texts. _Knowledge-Based Systems_ , 249:108917, 2022.
231
+
232
+ - Steven Y Feng, Varun Gangal, Jason Wei, Sarath Chandar, Soroush Vosoughi, Teruko Mitamura, and Eduard Hovy. A survey of data augmentation approaches for nlp. In _Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021_ , 2021.
233
+
234
+ - E Gothai, R Thamilselvan, RR Rajalaxmi, RM Sadana, A Ragavi, and R Sakthivel. Prediction of covid-19 growth and trend using machine learning approach. _Materials Today: Proceedings_ , 2021.
235
+
236
+ - Daya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng, Duyu Tang, Shujie Liu, Long Zhou, Nan Duan, Alexey Svyatkovskiy, Shengyu Fu, et al. Graphcodebert: Pre-training code representations with data flow. _arXiv preprint arXiv:2009.08366_ , 2020.
237
+
238
+ James D Hamilton. _Time series analysis_ . Princeton university press, 2020.
239
+
240
+ - Xiaoshuai Hao, Yi Zhu, Srikar Appalaraju, Aston Zhang, Wanqian Zhang, Bo Li, and Mu Li. Mixgen: A new multi-modal data augmentation. In _Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision_ , 2023.
241
+
242
+ - Swaraj Khadanga, Karan Aggarwal, Shafiq Joty, and Jaideep Srivastava. Using clinical notes with time series data for icu management. In _Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)_ , 2019.
243
+
244
+ 10
245
+
246
+ Guokun Lai, Wei-Cheng Chang, Yiming Yang, and Hanxiao Liu. Modeling long-and short-term temporal patterns with deep neural networks. In _The 41st international ACM SIGIR conference on research & development in information retrieval_ , 2018.
247
+
248
+ Colin Lea, Michael D Flynn, Rene Vidal, Austin Reiter, and Gregory D Hager. Temporal convolutional networks for action segmentation and detection. In _proceedings of the IEEE Conference on Computer Vision and Pattern Recognition_ , 2017.
249
+
250
+ - Sheng Liang, Mengjie Zhao, and Hinrich Sch¨utze. Modular and parameter-efficient multimodal fusion with prompting. In _Findings of the Association for Computational Linguistics: ACL 2022_ , 2022.
251
+
252
+ - Zhiqiu Lin, Samuel Yu, Zhiyi Kuang, Deepak Pathak, and Deva Ramanan. Multimodality helps unimodality: Cross-modal few-shot learning with multimodal models. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , 2023.
253
+
254
+ - Shizhan Liu, Hang Yu, Cong Liao, Jianguo Li, Weiyao Lin, Alex X Liu, and Schahram Dustdar. Pyraformer: Low-complexity pyramidal attention for long-range time series modeling and forecasting. In _International conference on learning representations_ , 2021.
255
+
256
+ - Jesse Mu, Percy Liang, and Noah Goodman. Shaping visual representations with language for few-shot classification. In _Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics_ , 2020.
257
+
258
+ - Yuqi Nie, Nam H Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. In _The Eleventh International Conference on Learning Representations_ , 2022.
259
+
260
+ - Bun Theang Ong, Komei Sugiura, and Koji Zettsu. Dynamically pre-trained deep recurrent neural networks using environmental monitoring data for predicting pm 2.5. _Neural Computing and Applications_ , 27:1553–1566, 2016.
261
+
262
+ - Frederik Pahde, Mihai Puscas, Tassilo Klein, and Moin Nabi. Multimodal prototypical networks for few-shot learning. In _Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision_ , 2021.
263
+
264
+ - F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. _Journal of Machine Learning Research_ , 12:2825–2830, 2011.
265
+
266
+ - Tiexin Qin, Wenbin Li, Yinghuan Shi, and Yang Gao. Diversity helps: Unsupervised few-shot learning via distribution shift-based data augmentation. _arXiv preprint arXiv:2004.05805_ , 2020.
267
+
268
+ - David Salinas, Valentin Flunkert, Jan Gasthaus, and Tim Januschowski. Deepar: Probabilistic forecasting with autoregressive recurrent networks. _International Journal of Forecasting_ , 36(3):1181– 1191, 2020.
269
+
270
+ - Ramit Sawhney, Shivam Agarwal, Arnav Wadhwa, and Rajiv Shah. Deep attentive learning for stock movement prediction from social media text and company correlations. In _Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)_ , 2020.
271
+
272
+ - Bowen Shi, Wei-Ning Hsu, Kushal Lakhotia, and Abdelrahman Mohamed. Learning audio-visual speech representation by masked multimodal cluster prediction. In _International Conference on Learning Representations_ , 2021.
273
+
274
+ - Connor Shorten and Taghi M Khoshgoftaar. A survey on image data augmentation for deep learning. _Journal of big data_ , 6(1):1–48, 2019.
275
+
276
+ - Chen Sun, Austin Myers, Carl Vondrick, Kevin Murphy, and Cordelia Schmid. Videobert: A joint model for video and language representation learning. In _Proceedings of the IEEE/CVF international conference on computer vision_ , 2019.
277
+
278
+ 11
279
+
280
+ Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. _Journal of machine learning research_ , 9(11), 2008.
281
+
282
+ - Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. _Advances in neural information processing systems_ , 30, 2017.
283
+
284
+ - Qingsong Wen, Liang Sun, Fan Yang, Xiaomin Song, Jingkun Gao, Xue Wang, and Huan Xu. Time series data augmentation for deep learning: A survey. In _Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence_ , 2021.
285
+
286
+ - Mitchell Wortsman, Gabriel Ilharco, Jong Wook Kim, Mike Li, Simon Kornblith, Rebecca Roelofs, Raphael Gontijo Lopes, Hannaneh Hajishirzi, Ali Farhadi, Hongseok Namkoong, et al. Robust fine-tuning of zero-shot models. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , 2022.
287
+
288
+ - Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. _Advances in Neural Information Processing Systems_ , 34:22419–22430, 2021.
289
+
290
+ - Chen Xing, Negar Rostamzadeh, Boris Oreshkin, and Pedro O O Pinheiro. Adaptive cross-modal few-shot learning. _Advances in Neural Information Processing Systems_ , 32, 2019.
291
+
292
+ - Haiyang Yang, Li Kuang, and FengQiang Xia. Multimodal temporal-clinical note network for mortality prediction. _Journal of Biomedical Semantics_ , 12(1):1–14, 2021.
293
+
294
+ - Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series forecasting? In _Proceedings of the AAAI conference on artificial intelligence_ , 2023.
295
+
296
+ - Tianping Zhang, Yizhuo Zhang, Wei Cao, Jiang Bian, Xiaohan Yi, Shun Zheng, and Jian Li. Less is more: Fast multivariate time series forecasting with light sampling-oriented mlp structures. _arXiv preprint arXiv:2207.01186_ , 2022.
297
+
298
+ - Yunhao Zhang and Junchi Yan. Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In _The Eleventh International Conference on Learning Representations_ , 2022.
299
+
300
+ - Renjie Zheng, Junkun Chen, Mingbo Ma, and Liang Huang. Fused acoustic and text encoding for multimodal bilingual pretraining and speech translation. In _International Conference on Machine Learning_ , 2021.
301
+
302
+ - Yi Zheng, Qi Liu, Enhong Chen, Yong Ge, and J Leon Zhao. Time series classification using multichannels deep convolutional neural networks. In _International conference on web-age information management_ , 2014.
303
+
304
+ - Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. Informer: Beyond efficient transformer for long sequence time-series forecasting. In _Proceedings of the AAAI conference on artificial intelligence_ , 2021.
305
+
306
+ - Jing Zhou, Yanan Zheng, Jie Tang, Li Jian, and Zhilin Yang. Flipda: Effective and robust data augmentation for few-shot learning. In _Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics_ , 2022a.
307
+
308
+ - Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting. In _International Conference on Machine Learning_ , 2022b.
309
+
310
+ - Xiaofeng Zhou, Naiju Zhai, Shuai Li, and Haibo Shi. Time series prediction method of industrial process with limited data based on transfer learning. _IEEE Transactions on Industrial Informatics_ , 2022c.
311
+
312
+ 12
313
+
314
+ **==> picture [254 x 128] intentionally omitted <==**
315
+
316
+ **----- Start of picture text -----**<br>
317
+ Trend Part ℝ [!] Seasonal Part ℝ [!] Trend Part ℝ [!×$][!] Seasonal Part ℝ [!×$][!]<br>Global energy … Winter heating …<br>Moving Average Remainder 𝜽𝐓𝒊 : Trend-Specific 𝜽𝐒𝒊 : Seasonal-Specific<br>Attention Pooling Attention Pooling<br>Major Oil-Producing Nations<br>Announce Supply Cut, Fuel<br>Prices Expected to Rise<br>Time Series ℝ [!] Text ℝ [!×∗×$][!]<br>**----- End of picture text -----**<br>
318
+
319
+ Figure 6: Trend-seasonal decomposition of time series and text data. For time series, MoAT applies the standard decomposition method, utilizing the moving average kernel and the residual component from the input time series. For text data, MoAT utilizes distinct attention parameters to aggregate text embeddings, allowing for varied emphasis on documents.
320
+
321
+ ## A FURTHER DETAILS OF MOAT
322
+
323
+ In this section, we provide additional details of the architecture of MoAT.
324
+
325
+ **Instance Normalization.** We employ the instance normalization scheme for the input time series, a choice inspired by its proven effectiveness in PatchTST (Nie et al., 2022). This involves computing the mean _mi_ and standard deviation _σi_ for the input time series _**x**_[(] _[i]_[)] of the _i_ -th channel. Subsequently, we normalize the time series using these values, i.e., ( _**x**_[(] _[i]_[)] _− mi_ ) _/σi_ . After obtainint the prediction _**y**_ ˆ[(] _[i]_[)] , we reverse this process through de-normalization using _σi_ ˆ _**y**_[(] _[i]_[)] + _mi_ . MoAT takes an additional step to account for the temporal locality within the time series. Specifically, instead of using the mean value _mi_ , it opts for ( _mi_ + _**x**_[(] _L[i]_[)][)] _[/]_[2][,][which is the average between the mean value] and the last value of the input time series _**x**_[(] _[i]_[)] . This adjustment enables the method to better capture the temporal locality during the forecasting process.
326
+
327
+ **Channel Independence.** Building upon previous studies such as CNN (Zheng et al., 2014), DLinear (Zeng et al., 2023), and PatchTST Nie et al. (2022), we incorporate the concept of channelindependence within the MoAT framework. In this approach, instead of mixing information across channels, we consider each channel as an independent data sample that shares the projection weight parameters and Transformer encoder weights. Thus, each input time series sample is considered a univariate time series along with its corresponding specialized text embeddings. We plan to explore channel-dependent version of MoAT in our future work.
328
+
329
+ **Trend-Seasonal Decomposition.** As described in Section 3, we adopt trend-seasonal decomposition of both time series and text in MoAT, as illustrated in Fig. 6.
330
+
331
+ For **time series** , we use the standard trend-seasonal decomposition method. This involves utilizing the moving average kernel on the input time series _**x**_[(] _[i]_[)] to extract the trend component _**x**_[(] T _[i]_[)][,][while] the residual becomes the seasonal component _**x**_[(] S _[i]_[)][.][Thus,] _**[ x]**_[(] _[i]_[)][=] _**[ x]**_[(] T _[i]_[)][+] _**[ x]**_[(] S _[i]_[)] holds.
332
+
333
+ For **text data** , we introduce two independent sets of attention parameters _θ_ T[(] _[i]_[)] = _{_ **W** T[(] _[i]_[)] _[,]_ _**[ b]**_[(] T _[i]_[)] _[,]_ **[ V]** T[(] _[i]_[)] _[}]_ and _θ_ S[(] _[i]_[)] = _{_ **W** S[(] _[i]_[)] _[,]_ _**[ b]**_[(] S _[i]_[)] _[,]_ **[ V]** S[(] _[i]_[)] _[}]_[ to extract trend-related and seasonal-related text information, respec-] tively. More precisely, given a set of text embeddings _**d** ta_ : _tb ∈_ R _[|D][ta]_[:] _[tb][|×][d][′]_ ranging from _ta_ to _tb_ , we apply attention pooling using _θ_ M[(] _[i]_[)][to aggregate the embeddings as follows:]
334
+
335
+ **==> picture [295 x 19] intentionally omitted <==**
336
+
337
+ for each component M _∈{_ T _,_ S _}_ . By using distinct sets of attention parameters, MoAT can selectively emphasize documents to extract information pertaining to trend and seasonal dynamics.
338
+
339
+ 13
340
+
341
+ ## B EXPERIMENTAL DETAILS
342
+
343
+ In this section, we share more detailed information about the experimental settings.
344
+
345
+ ## B.1 DATASETS
346
+
347
+ In this subsection, we detail our preprocessing methods for the multi-modal datasets employed in our experiments. To the best of our knowledge, currently, there is no benchmark time series dataset accompanied by textual information for each timestep. Thus, we collected and processed the raw datasets, and they will be released to the public.
348
+
349
+ **Fuel** is a monthly dataset consisting of gas[2] and oil[3] prices, spanning from January 2000 to September 2022. For each month, we extracted news articles from The New York Times[4] that contain relevant keywords _{brent crude, crude oil, energy policy, gas demand, gas market, gasoline price, natural gas, oil demand, oil market, oil price, OPEC}_ , as suggested by ChatGPT.
350
+
351
+ **Metal** is a monthly dataset consisting of gold[5] and silver[6] prices, spanning from January 2000 to August 2022. For each month, we extracted news articles from The New York Times that contain relevant keywords _{coinage, COMEX, currency strength, exchange market, exchange rate, Fort Knox, gold and silver, gold coin, gold industry, gold market, gold mining, gold price, gold reserves, gold silver, gold standard, hedging, inflation, karat, LBMA, mining output, precious metal, quantitative easing, recession, safe-heaven asset, silver coins, silver industry, silver institute, silver market, silver price, sterling silver, supply chain disruptions, world gold council}_ , as suggested by ChatGPT.
352
+
353
+ **Stock-Index** is a monthly dataset consisting of the commodity price index[7] ranges from March 2010 to Feburary 2022. The news articles related to each month are gathered from _S&P Global Commodity Insights_ .
354
+
355
+ **Stock-Tech** is a weekly dataset of Microsoft (MSFT) and Apple (AAPL) stock prices ranging from December 1, 2006 to November 30, 2016. For each week, we aggregated news articles featuring these two companies retrieved from The New York Times API[8] .
356
+
357
+ **Bitcoin** is a daily dataset consisting of Bitcoin (BTC), Ethereum (ETH), Tether (USDT), and Binance Coin (BNB) prices[9] , spanning from November 13, 2017 to November 23, 2019. For each day, we filtered tweets about Bitcoins[10] that received at least 100 likes and 50 retweets.
358
+
359
+ **Covid** is a daily dataset consisting of the number of confirmed COVID-19 cases in 10 countries: China, the United States, Italy, Singapore, South Korea, Georgia, Japan, Canada, Russia, and Australia[11] , spanning from January 22, 2020 to July 27, 2020. For each day, we used news content that is related to Coronavirus which was aggregated, analyzed, and enriched by AYLIEN using the AYLIEN’s News Intelligence Platform. Among a large number of articles, we filtered 20 articles per day based on the number of times the articles were shared on social media platforms including Facebook, LinkedIn, Reddit, and Google Plus.
360
+
361
+ ## B.2 HYPERPARAMETER SEARCH
362
+
363
+ We report the hyperparameter search space for each method, including MoAT. By default, a hidden dimension of 64 is used, and if needed, dropout with a probability of 0.2 is applied. We search for the optimal learning rate from _{_ 0 _._ 00005 _,_ 0 _._ 0001 _}_ and weight decay from _{_ 0 _._ 0001 _,_ 0 _._ 001 _}_ .
364
+
365
+ In the case of attention-based models (Autoformer, FEDformer, Pyraformer, Crossformer, PatchTST, MM-TST, and MoAT), we use 2 attention layers and explore the number of attention
366
+
367
+ > 2 [URL removed]
368
+
369
+ > 3 [URL removed] 4 [URL removed]
370
+
371
+ > 5 [URL removed]
372
+
373
+ > 6 [URL removed]
374
+
375
+ > 7 [URL removed]
376
+
377
+ > 8 [URL removed]
378
+
379
+ > 9 [URL removed]
380
+
381
+ > 10 [URL removed]
382
+
383
+ > 11 [URL removed]
384
+
385
+ 14
386
+
387
+ Table 3: Summary of dataset statistics, including time series and text data. “Timesteps” refers to the time series length, “# of Channels” indicates the number of channels in the time series, and “Resolution” denotes the temporal granularity. “Min,” “Max,” and “Avg” represent the minimum, maximum, and average number of texts at each timestep, respectively.
388
+
389
+ |Dataset|Time Series<br>Timesteps<br># of Channels<br>Resolution|Text<br>Min.<br>Max<br>Avg.|
390
+ |---|---|---|
391
+ |Fuel<br>Metal<br>Stock-Index<br>Stock-Tech<br>Bitcoin<br>Covid|273<br>2<br>Month<br>272<br>2<br>Month<br>144<br>10<br>Month<br>522<br>2<br>Week<br>741<br>4<br>Day<br>188<br>10<br>Day|1<br>117<br>21.758<br>3<br>187<br>34.033<br>12<br>518<br>289.611<br>1<br>10<br>7.019<br>2<br>369<br>53.896<br>20<br>20<br>20.000|
392
+
393
+ heads from _{_ 4 _,_ 16 _}_ . For models utilizing time series decomposition (Autoformer, FEDformer, and MoAT), we search for the moving average for obtaining the trend component from _{_ 3 _,_ 5 _}_ . In patchbased methods (PatchTST, Crossformer, MM-TST, and MoAT), we used the patch length _P_ = 4 and stride _S_ = 2.
394
+
395
+ We determined the best configuration that resulted in the highest accuracy (i.e., lowest MSE) in the validation set. Using this identified hyperparameter setting, we report the average performance along with its standard deviation, calculated across performance from 10 random seeds.
396
+
397
+ ## B.3 IMPLEMENTATION DETAILS
398
+
399
+ **Base Implementation.** We developed MoAT and its variants based on the open source implementation for time series forecasting[12] . We used the Ridge regression provided by scikit-learn (Pedregosa et al., 2011) for the prediction synthesis module of MoAT.
400
+
401
+ **Channel Independence.** Following PatchTST, we employ a channel-independent approach for time series forecasting by considering each input time series as a univariate time series. Given a batch of _B_ samples sized _B × C × L_ , where _C_ is the number of channels and _L_ is the number of past observable timesteps, we reshape the input as ( _B · C_ ) _× L_ so that each channel within the batch is treated independently. After segmenting each univariate time series into _N_ patches, the input is reshaped to ( _B · C_ ) _× N × d_ , which can be readily utilized by any standard Transformer architecture.
402
+
403
+ **Pretrained Language Model.** To generate embeddings for each text, we used the pretrained language model. Specifically, we used the sentence transformer provided by Hugging Face with the pretrained model named all-mpnet-base-v2[13] , which is trained on a 1B sentence pairs dataset using contrastive loss.
404
+
405
+ ## B.4 TRAINING DETAILS
406
+
407
+ **Data Split.** For each dataset, we split the time series and text data based on their temporal order into train, validation, and test sets using a 6:2:2 ratio. Following Zhou et al. (2021), the entire time series data is normalized using the mean and standard deviation of the training set.
408
+
409
+ **Training Epochs.** The total number of training epochs is set to 200. But, if the validation loss fails to decrease for 10 consecutive epochs, we stop the training process early. For the Steel dataset, we limit the training to just 1 epoch due to its small size.
410
+
411
+ **Offline Prediction Synthesis.** Our offline prediction synthesis module is trained separately from the main forecasting model. We utilize a Ridge regression approach, incorporating 16 weight parameters and an intercept for aggregating the 16 predictions from the decoder. During each training epoch, a Ridge regression is trained from scratch using the training set. Then, the model’s learned parameters are utilized to evaluate validation and test sets.
412
+
413
+ > 12 [URL removed]
414
+
415
+ > 13 [URL removed]
416
+
417
+ 15
418
+
419
+ ## C BASELINES AND VARIANTS
420
+
421
+ In this section, we describe the baseline methods that are compared with MoAT in Section 4. Each method is either uni-modal or multi-modal models.
422
+
423
+ ## C.1 UNI-MODAL BASELINE METHODS
424
+
425
+ We first describe the uni-modal baselines we used to evaluate MoAT in Section 4.
426
+
427
+ **LightTS** (Zhang et al., 2022) is a simple MLP-based time series forecasting model. Specifically, it utilizes MLP-based structures to effectively capture two significant patterns, short-term and longterm temporal dependencies within the time series.
428
+
429
+ **DLinear** (Zeng et al., 2023) is a recent non-Transformer model that argues that the Transformerbased models have difficulty in capturing ordering information within the time series. It consists of two distinct linear layers which are independently applied to the trend and seasonal components of the input time series. The resulting outputs are then summed to generate the final prediction.
430
+
431
+ **Autoformer** (Wu et al., 2021) is a Transformer-based method that incorporates time series decomposition, inspired by classical time series analysis methods. In addition, it integrates an auto-correlation mechanism, which replaces the conventional self-attention layer within the Transformer.
432
+
433
+ **FEDformer** (Zhou et al., 2022b) is a Transformer-based method that also uses a time series decomposition scheme. Motivated by the fact that time series tend to have sparse representations, it is based on a frequency-enhanced Transformer, which offers linear complexity to the length of the input time series.
434
+
435
+ **Pyraformer** (Liu et al., 2021) is a Transformer-based method incorporating a pyramidal attention module. Specifically, the module consists of inter-scale connections that summarize features at various resolutions and intra-scale connections that capture temporal dependencies across diverse ranges. Moreover, it scales linearly to the length of the input time series.
436
+
437
+ **Crossformer** (Zhang & Yan, 2022) is a Transformer-based method that utilizes cross-dimension dependency for time series forecasting. Specifically, it segments the input time series into patches and trains a module that captures cross-time and cross-dimension dependencies among them.
438
+
439
+ **PatchTST** (Nie et al., 2022) is a Transformer-based method that adopts an independent learning approach for each channel using a shared encoder. This model demonstrates that Transformers are effective when the input time series is segmented into patches at the subseries level.
440
+
441
+ ## C.2 MULTI-MODAL BASELINE METHODS
442
+
443
+ In this subsection, we describe MM-Linear, MM-LSTM, and MM-TST, baseline models designed to compare against MoAT. MM-Linear and MM-TST extend DLinear (Zeng et al., 2023) and PatchTST (Nie et al., 2022), respectively to integrate multi-modal data within their framework. MMLSTM is an adapted version of a time series classification method (Deznabi et al., 2021), designed for mortality prediction within the healthcare domain.
444
+
445
+ Commonly, these models are given with a time series _**x**_[(] _[i]_[)] = ( _x_[(] 1 _[i]_[)] _[,][ · · ·][, x]_[(] _L[i]_[)][)] _[∈]_[R] _[L]_[of][the] _[i]_[-] th channel and a set of texts _Dt_ = _{Dt,_ 1 _, · · · , Dt,|Dt|}_ at each timestep _t_ = 1 _, · · · , L_ . Using the pretrained language model, each set of texts is represented as a set of text embeddings _**d** t_ = _{_ _**d** t,_ 1 _, · · · ,_ _**d** t,|D,t|} ∈_ R _[|D][t][|×][d][′]_ where _**d** t,j_ = PLM( _Dt,j_ ) _∈_ R _[d][′]_ .
446
+
447
+ **MM-Linear** is a multi-modal method that extends DLinear, a simple linear method for time series forecasting. The input time series _**x**_[(] _[i]_[)] is decomposed into the trend part _**x**_[(] T _[i]_[)] and the seasonal part _**x**_[(] S _[i]_[)] from the seasonal-trend decomposition. For the text data, the method applies attention pooling (Eq. 6) to each set of texts at each timestep _t_ to derive a single aggregated text embedding _**z**_ text[(] _[i]_[)] _,t_[.] Then, these text embeddings are averaged to obtain _**z**_ text[(] _[i]_[)][= (] _**[z]**_ text[(] _[i]_[)] _,_ 1[+] _[ · · ·]_[ +] _**[ z]**_ text[(] _[i]_[)] _,L_[)] _[/L][ ∈]_[R] _[d][′]_[, which] represents the general textual information associated with the _i_ -th channel. Finally, it concatenates time series and text embeddings, _**x**_[(] T _[i]_[)] _∥_ _**z**_ text[(] _[i]_[)] _[∈]_[R] _[L]_[+] _[d][′]_[and] _**[x]**_[(] S _[i]_[)] _∥_ _**z**_ text[(] _[i]_[)] _[∈]_[R] _[L]_[+] _[d][′]_[,][which][represent] the multi-modal embeddings of the trend and seasonal dynamics, respectively. Following this, two
448
+
449
+ 16
450
+
451
+ independent one-layer linear layers are individually applied to each component and summed to derive the final prediction, consistent with the original DLinear.
452
+
453
+ **MM-LSTM** is inspired by the time series classification model for patients’ mortality prediction. It employs LSTM to capture the temporal dependencies within the time series _**x**_ , resulting in _**z**_ time = LSTM( _**x**_ ) _∈_ R _[d][′′]_ . For text data, it averages all the text embeddings at timestep _t_ = 1 _, · · · , L_ to obtain _**z**_ text _∈_ R _[d][′]_ . Upon concatenating _**z**_ time and _**z**_ text to yield _**z** ∈_ R _[d][′]_[+] _[d][′′]_ , an independent onelayer linear layer is applied for each channel to generate a unique prediction for each channel. To ensure forecasting stability, the input time series is normalized with zero mean and unit standard deviation, and they are added back to the output prediction.
454
+
455
+ **MM-TST** is an extension of the Transformer-based time series forecasting model, PatchTST. In line with the original PatchTST, it produces patch-wise time series embeddings **z**[(] time _[i]_[)] _[∈]_[R] _[N][×][d]_[.][In] addition, it computes patch-wise text embeddings **z**[(] text _[i]_[)] _[∈]_[R] _[N][×][d]_[,][employing][the][same][approach][as] in MoAT. Next, temporally aligned patches from the two modalities are concatenated, forming a 2 _d_ -dimensional patch at each timestep. Following this, a single linear-layer decoder is employed on the flattened output patches to predict _T_ future timesteps.
456
+
457
+ ## C.3 VARIANTS OF MOAT
458
+
459
+ We provide the details of the variants of MoAT that are used to evaluate the effectiveness of the design components of MoAT in Section 4.3.
460
+
461
+ **Effectiveness of multi-modality.** To assess the effectiveness of integrating multi-modal datasets, we examine two variants of MoAT. The first, MoATtime exclusively utilizes the time series modality and incorporates trend-seasonal decomposition. On the other hand, MoATtext mainly relies on the text modality to forecast time series. Given the challenge of accurately predicting one modality using another, MoATtext leverages hints from time series data normalization described in Appendix A. That is, the generated prediction is de-normalized by the mean, the last value, and the standard deviation of the input time series. As these variants operate as single-modal methods, neither multi-modal augmentation nor cross-fusion can be applied.
462
+
463
+ **Effectiveness of dual augmentation.** To evaluate the effectiveness of the multi-modal data augmentation schemes, we explore two variants, MoATsample and MoATfeature. These variants integrate both time series and text data in their approach. First, MoATsample employs sample-wise augmentation **z** ˜time toandgenerate ˜ **z** text. In each variant, two representations are generated for each trend and seasonal com- ˆ **z** time and ˆ **z** text. Second, MoATfeature utilizes feature-wise augmentation to generate ponent, resulting in four predictions from cross-fusion. In contrast, MoAT generates 16 predictions by considering more representations for the trends and seasonal components by incorporating both augmentation schemes.
464
+
465
+ **Effectiveness of other design choices.** To validate the effectiveness of the key design choices discussed in Section 3, we examine three variants of MoAT: MoATw.o.CF, MoATw.o.IP, and MoATw.o.OS.
466
+
467
+ - **MoATw.o.JD** removes the trend-seasonal decomposition module from MoAT. Consequently, it generates four representations instead of eight, and the cross-fusion scheme is removed as well.
468
+
469
+ - **MoATw.o.CF** removes the cross-fusion scheme utilized in MoAT. That is, instead of considering all 16 combinations of aggregations of representations from **Z**[(] T _[i]_[)] and **Z**[(] S _[i]_[)][, it only aggregates the] corresponding representations. Specifically, it aggregates **z** ˆ[(] time,T _[i]_[)][&] **[z]**[ˆ][(] time,S _[i]_[)][,] **[z]**[ˆ][(] text,T _[i]_[)][&] **[z]**[ˆ][(] text,S _[i]_[)][,] **[z]**[˜][(] time,T _[i]_[)] & ˜ **z**[(] time,S _[i]_[)][, and][ ˜] **[z]** text,T[(] _[i]_[)][&][ ˜] **[z]**[(] text,S _[i]_[)][, resulting in four predictions.]
470
+
471
+ **==> picture [396 x 54] intentionally omitted <==**
472
+
473
+ Using these unified representations of both trend and seasonal components, it generates a singular, united prediction by summing them:
474
+
475
+ **==> picture [162 x 21] intentionally omitted <==**
476
+
477
+ 17
478
+
479
+ Table 4: Time series forecasting accuracy (in terms of MSE) in six real-world datasets for a prediction length of _T_ = 2. The best results are in **bold** and the second best are underlined. The average improvements (%) and ranks are reported on the right. MoAT performs the best on average.
480
+
481
+ |Method|Fuel|Metal|Bitcoin|Stock-Index|Covid|Stock-Tech|Improv.<br>Rank|
482
+ |---|---|---|---|---|---|---|---|
483
+ |LightTS<br>DLinear<br>Autoformer<br>FEDformer<br>Pyraformer<br>Crossformer<br>PatchTST|0.1707 _±_0.0318<br>0.2335 _±_0.0390<br>0.1948 _±_0.0220<br>0.1464 _±_0.0055<br>0.1783 _±_0.0229<br>0.1330 _±_0.0042<br>0.1375 _±_0.0056|0.1609 _±_0.1045<br>0.0870 _±_0.0262<br>0.0669 _±_0.0066<br>0.0579 _±_0.0027<br>0.2918 _±_0.1485<br>0.1686 _±_0.1029<br>0.0410 _±_0.0013|0.1853 _±_0.0943<br>0.0911 _±_0.0199<br>0.0957 _±_0.0055<br>0.0897 _±_0.0091<br>1.4690 _±_0.2101<br>0.5108 _±_0.0511<br>0.0624 _±_0.0010|1.6850 _±_0.3808<br>**0.8116** _±_**0.0500**<br>0.8549 _±_0.0181<br>0.8487 _±_0.0181<br>1.3141 _±_0.5165<br>1.6567 _±_0.3210<br>0.8666 _±_0.0178|0.4022 _±_0.1285<br>0.2783 _±_0.0950<br>0.2672 _±_0.0175<br>0.2438 _±_0.0126<br>1.6353 _±_0.2116<br>0.5584 _±_0.0371<br>**0.1966** _±_**0.0087**|0.7412 _±_0.3926<br>0.4051 _±_0.0919<br>0.2905 _±_0.242<br>0.1808 _±_0.0059<br>11.8653 _±_1.4095<br>8.2583 _±_0.8155<br>0.1723 _±_0.0041|58.72<br>8.66<br>37.54<br>7.16<br>31.82<br>6.50<br>19.10<br>4.83<br>73.03<br>9.83<br>64.50<br>8.50<br>5.33<br>3.16|
484
+ |MM-Linear<br>MM-LSTM<br>MM-TST|0.1915 _±_0.0126<br>0.2174 _±_0.0128<br>0.1369 _±_0.0028|0.0547 _±_0.0096<br>0.0686 _±_0.0004<br>0.0402 _±_0.0008|0.0588 _±_0.0023<br>0.0621 _±_0.0023<br>0.0628 _±_0.0016|1.7323 _±_0.0609<br>0.8720 _±_0.0139<br>0.9076 _±_0.0573|0.2121 _±_0.0194<br>0.2170 _±_0.0013<br>0.2050 _±_0.0156|0.3559 _±_0.0774<br>29.94<br>6.00<br>0.3201 _±_0.0494<br>25.95<br>6.16<br>0.1731 _±_0.0049<br>6.59<br>3.83||
485
+ |**MoAT**|**0.1215** _±_**0.0024**|**0.0370** _±_**0.0004**|**0.0583** _±_**0.0005**|0.8319 _±_0.0496|0.2011 _±_0.0032|**0.1682** _±_**0.0020**<br>-<br>**1.33**||
486
+
487
+ It is important to note that this approach differs from MoAT’s loss function in Eq. 5, where each representation is used independently to derive the loss, and the losses are averaged instead of averaging the representations themselves.
488
+
489
+ - **MoATw.o.OS** optimizes the weight parameters _λ_ 1 _, · · · , λ_ 16 in an end-to-end fashion, concurrently with the training of the encoder and decoder. In this integrated training approach, the same optimizer is employed, enabling the model to simultaneously serve both the time series forecasting and prediction aggregating functionalities. Specifically, given the synthesized prediction **Y**[ˆ][(] _[i]_[)] using _λ_ 1 _, · · · , λ_ 16, the final loss is the sum of Eq. 5 and the MSE loss of the synthesized one:
490
+
491
+ **==> picture [306 x 31] intentionally omitted <==**
492
+
493
+ ## D ADDITIONAL EXPERIMENTAL RESULTS
494
+
495
+ In this section, we present supplementary experimental results that are not included in the main content due to space constraints.
496
+
497
+ **Varying prediction lengths.** In Section 4, we utilized a default prediction length of 1. In this section, we present the experimental results for varying prediction lengths, specifically at lengths of 2, 4, and 8. The forecasting accuracy of MoAT and its baselines when predicting future 2, 4, and 8 timesteps is depicted in Tables 4, 5, and 6, respectively. These results demonstrate that MoAT accurately predicts both short-term and longer-term future time series.
498
+
499
+ **Temporal alignment.** In Figure 7, we observe temporal similarities among representations across different timesteps in the Bitcoin dataset. It is noticeable that the similarity heatmaps for trend and seasonal representations exhibit comparable patterns, implying the temporal alignment within each trend and seasonal component. In addition, we can clearly see that heatmaps are distinguished between the two components, suggesting that each component offers unique temporal information that is potentially beneficial for accurate time series forecasting.
500
+
501
+ 18
502
+
503
+ Table 5: Time series forecasting accuracy (in terms of MSE) in six real-world datasets for a prediction length of _T_ = 4. The best results are in **bold** and the second best are underlined. The average improvements (%) and ranks are reported on the right. MoAT performs the best on average.
504
+
505
+ |Method|Fuel|Metal|Bitcoin|Stock-Index|Covid|Stock-Tech|Improv.<br>Rank|
506
+ |---|---|---|---|---|---|---|---|
507
+ |LightTS<br>DLinear<br>Autoformer<br>FEDformer<br>Pyraformer<br>Crossformer<br>PatchTST|0.1865 _±_0.0101<br>0.3001 _±_0.0310<br>0.2459 _±_0.0144<br>0.1990 _±_0.0084<br>0.2247 _±_0.0259<br>0.1998 _±_0.0059<br>0.1981 _±_0.0027|0.1833 _±_0.1259<br>0.1307 _±_0.0222<br>0.0853 _±_0.0062<br>0.0814 _±_0.0062<br>0.4750 _±_0.2248<br>0.3736 _±_0.1157<br>0.0616 _±_0.0010|0.1519 _±_0.0503<br>0.1326 _±_0.0337<br>0.1132 _±_0.0027<br>0.1085 _±_0.0068<br>1.6298 _±_0.1754<br>0.6778 _±_0.0672<br>0.0791 _±_0.0010|1.8960 _±_0.3034<br>0.9719 _±_0.0603<br>0.9969 _±_0.0270<br>1.0194 _±_0.0329<br>1.7009 _±_0.1172<br>1.6747 _±_0.1742<br>0.9279 _±_0.0236|0.4079 _±_0.0737<br>0.3465 _±_0.0499<br>0.2986 _±_0.0097<br>0.2814 _±_0.0151<br>1.7994 _±_0.2905<br>0.6559 _±_0.0431<br>**0.2427** _±_**0.0126**|1.3437 _±_1.0994<br>0.5073 _±_0.0469<br>0.4003 _±_0.0213<br>0.2805 _±_0.0261<br>13.1298 _±_1.5395<br>9.2539 _±_0.6315<br>**0.2660** _±_**0.0017**|49.80<br>8.16<br>36.95<br>7.66<br>25.36<br>6.16<br>16.16<br>5.00<br>72.98<br>10.00<br>65.48<br>9.00<br>3.33<br>2.50|
508
+ |MM-Linear<br>MM-LSTM<br>MM-TST|0.2384 _±_0.0102<br>0.2576 _±_0.0022<br>0.1973 _±_0.0040|0.0888 _±_0.0258<br>0.0855 _±_0.0006<br>0.0596 _±_0.0008|0.0743 _±_0.0022<br>0.0836 _±_0.0064<br>0.0788 _±_0.0012|1.8208 _±_0.0548<br>0.9416 _±_0.0034<br>1.0192 _±_0.0181|0.3018 _±_0.0273<br>0.2625 _±_0.0018<br>0.2709 _±_0.0169|0.5122 _±_0.0694<br>29.52<br>7.00<br>0.4312 _±_0.0015<br>20.11<br>5.50<br>0.2731 _±_0.0054<br>6.41<br>3.33||
509
+ |**MoAT**|**0.1687** _±_**0.0014**|**0.0582** _±_**0.0008**|**0.0728** _±_**0.0007**|**0.9228** _±_**0.0343**|0.2508 _±_0.0065|0.2807 _±_0.0086<br>-<br>**1.66**||
510
+
511
+ Table 6: Time series forecasting accuracy (in terms of MSE) in six real-world datasets for a prediction length of _T_ = 8. The best results are in **bold** and the second best are underlined. The average improvements (%) and ranks are reported on the right. MoAT performs the best on average.
512
+
513
+ |Method|Fuel|Metal|Bitcoin|Stock-Index|Covid|Stock-Tech|Improv.<br>Rank|
514
+ |---|---|---|---|---|---|---|---|
515
+ |LightTS<br>DLinear<br>Autoformer<br>FEDformer<br>Pyraformer<br>Crossformer<br>PatchTST|0.3006 _±_0.0118<br>0.3966 _±_0.0301<br>0.3461 _±_0.0092<br>0.3316 _±_0.0089<br>0.3068 _±_0.0201<br>0.3318 _±_0.0175<br>0.3358 _±_0.0050|0.2504 _±_0.0500<br>0.2160 _±_0.0430<br>0.1265 _±_0.0064<br>0.1100 _±_0.0000<br>0.6715 _±_0.0863<br>0.4295 _±_0.1315<br>0.0928 _±_0.0010|0.2573 _±_0.0528<br>0.2041 _±_0.0125<br>0.1398 _±_0.0051<br>0.1438 _±_0.0075<br>1.7596 _±_0.1932<br>0.7878 _±_0.0876<br>0.1072 _±_0.0006|2.0410 _±_0.1924<br>0.9518 _±_0.0393<br>1.0202 _±_0.0184<br>1.0138 _±_0.0396<br>1.3721 _±_0.4393<br>1.4830 _±_0.2267<br>0.8777 _±_0.0270|0.5448 _±_0.0416<br>0.5294 _±_0.0644<br>0.3886 _±_0.0139<br>0.3724 _±_0.0235<br>1.9689 _±_0.2832<br>0.6923 _±_0.0796<br>0.3645 _±_0.0131|2.1131 _±_0.6886<br>0.6941 _±_0.0383<br>0.5799 _±_0.0101<br>0.4907 _±_0.0533<br>14.6437 _±_1.4263<br>10.6312 _±_0.8214<br>**0.4630** _±_**0.0115**|50.09<br>8.16<br>34.04<br>8.00<br>18.22<br>6.33<br>12.70<br>4.66<br>67.71<br>9.16<br>61.33<br>9.16<br>2.84<br>3.33|
516
+ |MM-Linear<br>MM-LSTM<br>MM-TST|0.3334 _±_0.0236<br>0.3349 _±_0.0012<br>0.3273 _±_0.0033|0.1441 _±_0.0950<br>0.1287 _±_0.0006<br>0.0919 _±_0.0011|0.1850 _±_0.0550<br>0.1157 _±_0.0082<br>0.1069 _±_0.0011|1.8349 _±_0.0064<br>0.9423 _±_0.0372<br>0.9359 _±_0.0462|0.4321 _±_0.0390<br>0.3696 _±_0.0009<br>0.4107 _±_0.0167|0.6679 _±_0.0403<br>31.96<br>7.50<br>0.5770 _±_0.0150<br>13.44<br>5.00<br>0.4673 _±_0.0053<br>5.37<br>3.16||
517
+ |MoAT|**0.2740** _±_**0.0029**|**0.0867** _±_**0.0003**|**0.0994** _±_**0.0005**|**0.8741** _±_**0.0177**|**0.3644** _±_**0.0087**|0.5355 _±_0.0088<br>-<br>**1.50**||
518
+
519
+ **==> picture [396 x 184] intentionally omitted <==**
520
+
521
+ **----- Start of picture text -----**<br>
522
+ 0 1.0 0 1.0 0 1.0 0 1.0000<br>20 0.9 20 0.9 20 0.9 20 0.9975<br>40 40 40 40 0.9950<br>60 0.8 60 0.8 60 0.8 60 0.9925<br>80 0.7 80 0.7 80 0.7 80 0.9900<br>100 0.6 100 0.6 100 0.6 100 0.9875<br>120 0.5 120 0.5 120 120 0.9850<br>140 140 140 0.5 140 0.9825<br>0 20 40 60 80 100 120 140 0 20 40 60 80 100 120 140 0 20 40 60 80 100 120 140 0 20 40 60 80 100 120 140<br>Timestep Timestep Timestep Timestep<br>(a) ˆ z [(] time,T [i] [)] (b) ˆ z [(] text,T [i] [)] (c) ˜ z [(] time,T [i] [)] (d) ˜ z [(] text,T [i] [)]<br>0 1.0 0 1e 5+9.999e 1 10 0 1.0 0 1.000<br>20 20 20 0.9 20 0.995<br>40 0.8 40 9 40 0.8 40 0.990<br>60 60 60 0.7 60<br>80 0.6 80 8 80 0.6 80 0.985<br>100 0.4 100 7 100 0.5 100 0.980<br>120 120 120 0.4 120 0.975<br>140 0.2 140 6 140 0.3 140 0.970<br>0 20 40 60 80 100 120 140 0 20 40 60 80 100 120 140 0 20 40 60 80 100 120 140 0 20 40 60 80 100 120 140<br>Timestep Timestep Timestep Timestep<br>(e) ˆ z [(] time,S [i] [)] (f) ˆ z [(] text,S [i] [)] (g) ˜ z [(] time,S [i] [)] (h) ˜ z [(] text,S [i] [)]<br>Timestep Timestep Timestep Timestep<br>Timestep Timestep Timestep Timestep<br>**----- End of picture text -----**<br>
523
+
524
+ Figure 7: Pairwise cosine similarities between different timesteps for each of the eight representaˆ tions. The representations of the trend component ( **Z**[(] T _[i]_[)] = _{_ **z**[(] time,T _[i]_[)] _[,]_[ ˆ] **[z]** text,T[(] _[i]_[)] _[,]_[ ˜] **[z]**[(] time,T _[i]_[)] _[,]_[ ˜] **[z]** text,T[(] _[i]_[)] _[}]_[) and those] ˆ of the seasonal component ( **Z** S[(] _[i]_[)] = _{_ **z**[(] time,S _[i]_[)] _[,]_[ ˆ] **[z]**[(] text,S _[i]_[)] _[,]_[ ˜] **[z]**[(] time,S _[i]_[)] _[,]_[ ˜] **[z]**[(] text,S _[i]_[)] _[}]_[) exhibit distinctive temporal simi-] larities, effectively capturing specific aspects essential for accurate time series forecasting.
525
+
526
+ 19
527
+
open_review/iclr2024_8826.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8826",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Data Debugging with Shapley Importance over Machine Learning Pipelines",
6
+ "abstract": "When a machine learning (ML) model exhibits poor quality (e.g., poor accuracy or fairness), the problem can often be traced back to errors in the training data. Being able to discover the data examples that are the most likely culprits is a fundamental concern that has received a lot of attention recently. One prominent way to measure \"data importance\" with respect to model quality is the Shapley value. Unfortunately, existing methods only focus on the ML model in isolation, without considering the broader ML pipeline for data preparation and feature extraction, which appears in the majority of real-world ML code. This presents a major limitation to applying existing methods in practical settings. In this paper, we propose Datascope, a method for efficiently computing Shapley-based data importance over ML pipelines. We introduce several approximations that lead to dramatic improvements in terms of computational speed. Finally, our experimental evaluation demonstrates that our methods are capable of data error discovery that is as effective as existing Monte Carlo baselines, and in some cases even outperform them. We release our code as an open-source data debugging library available at https://github.com/easeml/datascope.",
7
+ "rebuttal": "We are grateful to the reviewers for acknowledging the novelty, significance, and potential impact of our contributions, and we deeply appreciate all their constructive feedback. We did our very best to address all the concerns raised by them through our clarifying remarks posted below and extensive color-coded modifications to our paper draft. The opportunity to enhance our paper's quality was invaluable, and we thank the reviewers for their efforts. We hope that they will find that we managed to adequately address all the concerns they raised.\n\n### Initial Comments\nWe cannot thank the reviewer enough for highlighting so many positive aspects of our work! The summary provided hits all the major points of our contributions and gives us the impression that the confidence rating that the reviewer specified might be underestimating their true competencies. We provide a few brief comments below regarding several points raised by the reviewer.\n\n(W1) **Format: Appendix is not cut from the main paper. The PDF provided for the main paper is this 34-page document**\n\nWe apologize if the reviewer was inconvenienced by the large document. Our deci [...]\n\n### Initial Comments - Part 1\nWe sincerely thank the reviewer for the appreciation they expressed for the problem we are trying to address, the novelty of our solution, as well as our attempt at a rigorous theoretical treatment and a thorough experimental evaluation. We also greatly appreciate the reviewer's constructive feedback. We provide our best attempt at addressing some concerns that were raised in the comments below (we apologize for the length) and in various edits we made to our paper draft (found in the revised version, marked with purple). Finally, in case the reviewer feels that t [...]\n\n### Initial Comments - Part 1\nWe express sincere gratitude to the reviewer for providing valuable feedback. The reviewer raised several interesting points which we address below. We also provide corresponding changes made in the paper draft itself (marked in orange). We hope that the reviewer will consider updating their review score in case they find our comments and edits satisfying. Finally, we apologize for the length of our comments, but we were aiming to bring as much clarity as we could when responding to all the excellent points raised by the reviewer.\n\n(W1) **The framework depends on [...]\n\n### Initial Comments - Part 1\nWe are deeply thankful to the reviewer for their insightful feedback and we are grateful for their appreciation of our figures and experiments!\n\nWe made our best effort to integrate their feedback which can be found in the provided revised version (changes marked in blue). Furthermore, we provide some comments below on some specific points that the reviewer thoughtfully drew our attention to. We apologize in advance for the length of our comments, but given the detailed review, we were compelled to address every single point. We sincerely hope that the reviewer fi [...]\n\n### Initial Comments - Part 2\n(continued)\n\n(W3) **What kind of correctness guarantee can be obtained by approximately evaluating Shapley values with KNN surrogate models?**\n\nThis is an excellent point that, to the best of our knowledge, targets a key shortcoming of the current state of the art. Unfortunately, we are not aware of any existing work that tries to explore theoretical *correctness guarantees* for computing the Shapley value using KNN surrogate models. There is prior work that addresses the original problem of KNN-based Shapley values without data preprocessing pipelines which is fo [...]\n\n### Initial Comments - Part 2\n(continued)\n\n(W3) **On inverting the pipeline manually as a baseline approach / on the significance of a method that captures data preprocessing**\n\nIt looks like this point has several related but distinct questions raised so we would like to address them separately.\n\n* **How do the baselines handle data preprocessing pipelines?** - The scenario we present in the paper always assumes importance being computed for raw data (i.e. before preprocessing; we argue below why this scenario is significant). To make existing baselines (e.g. Truncated Monte Carlo) handle thi [...]\n\n### Initial Comments - Part 2\n(continued)\n\n(W6) **The intuitions behind modified KNN and quality metrics in section 4.1 are unclear**\n\nWe understand this comment to mean that the KNN model and additive quality metrics are introduced too abruptly without explaining why we are introducing them in the first place. We add a brief motivational paragraph at the beginning of section 4.1 (marked in blue).\n\n(W7) **It would be good, if possible, to describe counting oracles in a more intuitive way**\n\nWe apologize for the density of section 4.2. Our goal was to introduce key building blocks of our method [...]\n\n### Initial Comments - Part 3\n(continued)\n\n(Q2) **Are modified KNN and quality metrics based on previous work or something new that the authors propose?**\n\nFirstly, just to clarify, the KNN model defined in section 4.1 is actually the vanilla KNN model. When we refer to that definition as \"specific\", we simply mean that it is slightly \"alternative\" because we split it into components that allow us to construct the counting oracle later on. Secondly, even though we are not specifically aware that someone else was using the definitions in the exact form defined in our paper, we would not count t [...]",
8
+ "initial_scores": [
9
+ 6,
10
+ 6,
11
+ 8,
12
+ 8
13
+ ],
14
+ "score_mean": 7.0,
15
+ "score_variance": 1.33,
16
+ "score_spread": 2,
17
+ "score_min": 6,
18
+ "score_max": 8,
19
+ "decision": "Accept (poster)",
20
+ "rebuttal_validity_ground_truth": true,
21
+ "meta_review": "This paper proposes a novel data debugging framework to identify influential training examples in a machine learning pipeline (including data preprocessing) via efficient Shapley value computation.\n\n**STRENGTHS**\n\n(1) The paper is thorough in introducing the new problem setting and motivating the significance of this problem.\n\n(2) The proposed approach is technically sound with time complexity analysis.\n\n(3) An extensive empirical evaluation is conducted to assess the performance of the proposed approach.\n\n\n**WEAKNESSES**\n\n(1) There were a fair number of questions/concerns regarding the clarity of presentation and some additional experiments. However, the authors have done a good job with addressing these concerns in great detail in their rebuttal as well as revising their paper to incorporate them.\n\n(2) In the related work, there isn't much mention of Shapley value-based works in the context of data valuation which is highly related to data importance in this work. The authors can consider the following references (and the references therein) and discuss whether such works can be used within their pipeline:\n\nProbably Approximate Shapley Fairness with Applications in Machine Learning. AAAI 2023.\n\nData Valuation in Machine Learning: \"Ingredients\", Strategies, and Open Challenges. IJCAI 2022.\n\nhttps://github.com/daviddao/awesome-data-valuation\n\nThe authors are strongly encouraged to address the above concerns and the reviewers' in their revised paper.",
22
+ "forum_id": "qxGXjWxabq",
23
+ "primary_area": "infrastructure, software libraries, hardware, etc.",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_V8Vh",
28
+ "review_id": "HkYQb3vZP0",
29
+ "scores": {
30
+ "rating": 6,
31
+ "soundness": 2,
32
+ "presentation": 2,
33
+ "contribution": 3,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 3314,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 3028999,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_guJp",
44
+ "review_id": "09tJ3FvZlV",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 4,
48
+ "presentation": 3,
49
+ "contribution": 3,
50
+ "confidence": 3
51
+ },
52
+ "review_text_chars": 3157,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 1033802,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_bts9",
60
+ "review_id": "zUWXq24jUV",
61
+ "scores": {
62
+ "rating": 8,
63
+ "soundness": 3,
64
+ "presentation": 3,
65
+ "contribution": 3,
66
+ "confidence": 2
67
+ },
68
+ "review_text_chars": 2224,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 1108372,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_5GXy",
76
+ "review_id": "bOZoIZYSZh",
77
+ "scores": {
78
+ "rating": 8,
79
+ "soundness": 3,
80
+ "presentation": 3,
81
+ "contribution": 3,
82
+ "confidence": 3
83
+ },
84
+ "review_text_chars": 2710,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 2531548,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8826.md ADDED
The diff for this file is too large to render. See raw diff
 
open_review/iclr2024_8829.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8829",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Meta-VBO: Utilizing Prior Tasks in Optimizing Risk Measures with Gaussian Processes",
6
+ "abstract": "Research on optimizing the risk measure of a blackbox function using Gaussian processes, especially Bayesian optimization (BO) of risk measures, has become increasingly important due to the inevitable presence of uncontrollable variables in real-world applications. Nevertheless, existing works on BO of risk measures start the optimization from scratch for every new task without considering the results of prior tasks. In contrast, its vanilla BO counterpart has received a thorough investigation on utilizing prior tasks to speed up the current task through the body of works on meta-BO which, however, have not considered risk measures. To bridge this gap, this paper presents the first algorithm for meta-BO of risk measures (i.e., value-at-risk (VaR) and the conditional VaR), namely meta-VBO, by introducing a novel adjustment to the upper confidence bound acquisition function. Our proposed algorithm exhibits two desirable properties: (i) invariance to scaling and vertical shifting of the blackbox function and (ii) robustness to prior harmful tasks. We provide a theoretical performance guarantee for our algorithm and empirically demonstrate its performance using several synthetic function benchmarks and real-world objective functions.",
7
+ "rebuttal": "### Appreciating Your Reviews and Humbly Ask For Feedback\nDear Reviewer,\n\nWe just want to express our appreciation for your assessment of both our paper and our rebuttal. If time allows during the remaining author-reviewer discussion period, we would appreciate your feedback on whether our response has sufficiently addressed your concerns about our paper. Thank you once more for your valuable insights and suggestions during the rebuttal process.\n\nKind regards,\n\nAuthors\n\n### Appreciating Your Reviews and Humbly Ask For Feedback\nDear Reviewer,\n\nDuring the remaining hours of the author-reviewer discussion period, it would be great if you could inform us whether our response has addressed your concerns regarding our paper. Your dedication to reviewing our work despite your busy schedule is genuinely appreciated. Lastly, we just want to say thank you for your evaluation of both our paper and our rebuttal.\n\nKind regards,\n\nAuthors\n\n### Response to Reviewer 25FF's Questions\nWe greatly appreciate your recognition of our innovative development of the no-regret query set and the careful consideration of the quality of knowledge from prior tasks to the current task.\n\nIn the following paragraphs, we would like to address your questions and concerns.\n\n> 1. The key contribution seems to be the introduction of the idea of a no-regret-query set (NQS). Maybe I missed it, but it feels like it is more generally applicable than the exact problem being considered in this work. If not, perhaps it would be beneficial to know what makes N [...]\n\n### Response to Reviewer 25FF's Questions (continued)\n> 5. If \\lambda goes near 0, then \\eta can go near infinity and the regret guarantee becomes vacuous. This results in two important hyper-parameters of the problem: \\eta and \\lambda, that would essentially control exploration-exploitation. While 3.3 gives one recommendation, how sensitive are the practical results to the choice of their values?\n\n We would like to thank the reviewer for the insightful question. While $\\eta$ can go near infinity when $\\lambda$ goes near $0$, from equation (7), note that the LHS is bounded from below by $\\mi [...]\n\n### Response to Reviewer 4GcU's Comments\nWe would like to thank you for acknowledging the quality of our writing, the motivation, the thorough literature review, and the elegance of the no-regret query set. We also value your acknowledgement of the importance of the priority assignment, the theoretical results, and the numerical experiments.\n\nWe provide the following clarifications to address your concerns and question.\n\n> + the distribution of Z is supposed to be known. Is it a parameterized distribution that is fitted in practice?\n\n We adopt this assumption from previous works on BO of risk [...]\n\n### Response to Reviewer 4GcU's Comments (continued)\n> Minor comments:\n> + titles of subsection 2.2 and Section 3 are the same.\n\n We have revised the titles of Subsection 2.2 and Section 3 to be 'Meta-BO of Risk Measures' and 'Our Proposed Solution to Meta-BO of Risk Measures', respectively.\n \n> + In my opinion, there is a lack of details about the transfer knowledge from previous tasks in the settings. For a reader who is not familiar with meta learning, it would have been helpful to know precisely (in the settings) what is the \"knowledge\" you extract from a previous task. In your case, thi [...]\n\n### Response to Reviewer 4GcU's Questions\n> 1. It seems that the construction of NQS basically relies on the upper and lower confidence bounds of the risk measure $\\rho_f$ in eq (3). In ordinary BO, the UCB and LCB of the unknown objective function f are the direct equivalence of these confidence bounds for risk measure when the goal is optimized f. Then, an NQS for ordinary meta-BO could be constructed in the same way and could incur a similar regret guarantee. Could the author comment on this extension of NQS in classic meta-BO?\n \nThis is a very insightful observation! As outlined by the r [...]\n\n### Response to Reviewer 4GcU's Weaknesses\nWe appreciate your acknowledgment of our novel development of NQS, the interpretability and motivation of our proposed algorithm. In addressing your inquiries, we would like to offer the following clarifications.\n\n> 1. It is unclear why $\\lambda$ and $\\eta$ are proposed to trade off the goals of NQS explicitly. The algorithm, by default, sets $\\lambda = 0$ and $\\eta = 1$ as discussed following the theorem 3.7.\n\n To assist readers in grasping the essence of our technical approach, we begin by presenting it in a way that starts with basic conceptual i [...]\n\n### Thank You for Your Continued Positive Support\nWe are delighted that the our responses have addressed your questions, and we appreciate your continued positive support for our paper.\nOnce again, thank you for the time and effort you invested in reviewing our paper and our response.\n\n### Thank You for Your Feedback and Review of Our Paper\nThank you for your timely response and for reviewing our paper. \nWe sincerely value the time and effort you dedicated to this extensive process.\n\n### Thank You for Your Valuable Feedback\nDear Reviewer,\n\nWe sincerely appreciate your prompt response and the increased score which hold great significance for us. We highly appreciate the commitment you have shown in carefully examining all the feedback and assessing our paper.\n\nKind regards,\n\nAuthors",
8
+ "initial_scores": [
9
+ 6,
10
+ 6,
11
+ 8
12
+ ],
13
+ "score_mean": 6.67,
14
+ "score_variance": 1.33,
15
+ "score_spread": 2,
16
+ "score_min": 6,
17
+ "score_max": 8,
18
+ "decision": "Accept (poster)",
19
+ "rebuttal_validity_ground_truth": true,
20
+ "meta_review": "All reviewers agree that this is a decent contribution to the literature on Bayesian optimization and shows how to incoprorate prior knowledge when optimizing risk scores. The paper offers new methodological insights.",
21
+ "forum_id": "ElykcDu5YK",
22
+ "primary_area": "probabilistic methods (Bayesian methods, variational inference, sampling, UQ, etc.)",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_25FF",
27
+ "review_id": "zUqeWBmkvp",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 3,
31
+ "presentation": 3,
32
+ "contribution": 3,
33
+ "confidence": 3
34
+ },
35
+ "review_text_chars": 3330,
36
+ "edit_detected": false,
37
+ "edit_delta_seconds": 0,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_4GcU",
43
+ "review_id": "oab7v9Aldt",
44
+ "scores": {
45
+ "rating": 6,
46
+ "soundness": 2,
47
+ "presentation": 1,
48
+ "contribution": 2,
49
+ "confidence": 3
50
+ },
51
+ "review_text_chars": 2191,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 1893189,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_ZY9Q",
59
+ "review_id": "Mc84O9N0ND",
60
+ "scores": {
61
+ "rating": 8,
62
+ "soundness": 4,
63
+ "presentation": 4,
64
+ "contribution": 3,
65
+ "confidence": 4
66
+ },
67
+ "review_text_chars": 4429,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 1306858,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8829.md ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## META-VBO: UTILIZING PRIOR TASKS IN OPTIMIZING RISK MEASURES WITH GAUSSIAN PROCESSES
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Research on optimizing the risk measure of a blackbox function using Gaussian processes, especially _Bayesian optimization_ (BO) of risk measures, has become increasingly important due to the inevitable presence of uncontrollable variables in real-world applications. Nevertheless, existing works on BO of risk measures start the optimization from scratch for every new task without considering the results of prior tasks. In contrast, its vanilla BO counterpart has received a thorough investigation on utilizing prior tasks to speed up the current task through the body of works on _meta-BO_ which, however, have not considered risk measures. To bridge this gap, this paper presents the first algorithm for _meta-BO of risk measures_ (i.e., _value-at-risk_ (VaR) and the _conditional VaR_ ), namely meta-VBO, by introducing a novel adjustment to the upper confidence bound acquisition function. Our proposed algorithm exhibits two desirable properties: (i) invariance to scaling and vertical shifting of the blackbox function and (ii) robustness to prior harmful tasks. We provide a theoretical performance guarantee for our algorithm and empirically demonstrate its performance using several synthetic function benchmarks and real-world objective functions.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Real world optimization problems, such as maximizing the performance of a manufacturing line, the crop yield of a farm, and the performance of _machine learning_ (ML) models, often face with the challenge of dealing with blackbox objective functions (i.e., without closed-form expressions, convexity, or derivatives) and time-consuming or expensive noisy zeroth-order evaluations (Snoek et al., 2012; Nguyen et al., 2021b). These issues have attracted significant attention, particularly on the _Bayesian optimization_ (BO) framework (Srinivas et al., 2010; Snoek et al., 2012; Shahriari et al., 2015; Hernández-Lobato et al., 2014; Wang and Jegelka, 2017; Garnett, 2022). Recently, there has been an increasing interest in _BO of risk measures_ , driven by the need to address practical aspects related to uncontrollable variables referred to as _environmental random variables_ (Cakmak et al., 2020), e.g., random errors in sensors of the manufacturing line, weather conditions in farms (Nguyen et al., 2021b;a), and random perturbation in training data of ML models (Bogunovic et al., 2018). BO of risk measure algorithms specifically search for the controllable _decision variables_ (e.g., applied torque, input force, nutrient amounts, and ML model hyperparameters) that optimize a _risk measure_ of the blackbox function where the risk is induced by the environmental random variables. Risk measures investigated in existing works include the worst-case value (Bogunovic et al., 2018), _valueat-risk_ (VaR) and _conditional VaR_ (CVaR) (Cakmak et al., 2020; Nguyen et al., 2021b;a; Picheny et al., 2022), probability threshold robustness (Iwazaki et al., 2021a), and the variance (Iwazaki et al., 2021b; Makarova et al., 2021).
14
+
15
+ While there is an extensive research on BO of risk measures, using learning experiences from _prior tasks_ to accelerate the optimization of the _current task_ has not been explored. In contrast, this approach has been shown to effectively reduce the number of costly observations required by the _vanilla BO_ counterpart through numerous works on _meta-BO_ . These works encompass a wide spectrum of methodologies, ranging from those that involve the transfer of the probabilistic models from prior tasks to the current one (Swersky et al., 2013), to more nuanced approaches centered on transferring the optimization result (Feurer et al., 2018; Wistuba et al., 2016; 2018; Perrone et al.,
16
+
17
+ 1
18
+
19
+ 2019; Ramachandran et al., 2019; Volpp et al., 2020; Dai et al., 2022). Although the former category, such as the multi-task _Gaussian processes_ (GP) (Swersky et al., 2013), is well-defined, it often suffers from computational challenges as discussed by Dai et al. (2022) and is not specifically tailored to the goal of optimization - the blackbox function’s maximizer. In contrast, the latter category, which attracts the majority of research attention, presents greater challenges and lacks a clearly defined framework. For example, Feurer et al. (2018) transfers the ranking of function evaluations. Perrone et al. (2019) narrows down the search space. Ramachandran et al. (2019) considers the distribution of the optima. Dai et al. (2022) considers a weighted average of the acquisition functions.
20
+
21
+ In this paper, we focus on the challenge of transferring the optimization outcome. Specifically, we pioneer the first solution to the _meta-BO of risk measure_ problem, namely _meta-VBO_ . Our work accounts for the risk introduced by the environmental random variables - a crucial aspect not addressed in any existing meta-BO works. We focus on two well-known risk measures: _value-atrisk_ (VaR) and _conditional VaR_ (CVaR) (Cakmak et al., 2020; Torossian et al., 2020). Moreover, our solution also extends to the adversarially robust BO (Bogunovic et al., 2018) and applies to the meta-BO problem. We assume that the distribution of the environmental random variables is given, e.g., by estimating from historical data or domain knowledge. Additionally, we assume that during the optimization, noisy evaluations of the blackbox function can be acquired (queried) at any realizations of the environmental random variables. In the above examples, this can be achieved running simulations of manufacturing lines with controlled random errors or growing indoor plants in a laboratory environment where weather conditions are regulated. After the optimization is completed, we recommend implementing the best decision variable in the real-world environment where the environmental random variables are beyond our control.[1] These assumptions are commonly made in several BO works with risk measures (Cakmak et al., 2020; Nguyen et al., 2021b;a).
22
+
23
+ Under the above settings, there are several major challenges in addressing meta-BO of risk measures. **First** , the choice of the information to be transferred from _prior tasks_ to the _current task_ should be tailored to the optimization goal of determining the optima’s locations. Since they are invariant under scaling and vertical-shifting (i.e., increasing or decreasing the function by a constant) of the blackbox function, it is crucial to ensure that the proposed meta-BO of risk measure solution maintains this invariance. Hence, it rules out the use of the function gap (i.e., the maximum difference between function evaluations) in the theoretical study of Dai et al. (2022) as a similarity measure between tasks. **Second** , as the number of prior tasks grows, the possibility of encountering a task that hampers the current optimization task arises (Feurer et al., 2018; Dai et al., 2022). Thus, it is essential to be resilient against such prior harmful tasks.
24
+
25
+ Moreover, one cannot easily extend existing meta-BO solutions to address the BO problem with risk measures. While the posterior belief of the blackbox function follows a GP in the vanilla BO, many risk measures including VaR and CVaR do not follow any well-known stochastic process. Hence, it is challenging to adopt approaches based on the Gaussian posterior distribution in the works of Ramachandran et al. (2019) and Dai et al. (2022). Furthermore, risk measures are not directly observed. They are only estimated from noisy evaluations of the blackbox function. As a result, although Feurer et al. (2018) is able to discover and assign low weights to prior harmful tasks by proposing a ranking loss function, extending this loss function to tackle risk measures is not immediately obvious. Last, there are not any existing meta-BO works that possess both theoretical performance guarantees and robustness against scaling and vertical-shifting of the blackbox function and prior harmful tasks.
26
+
27
+ To address the above problems, we introduce a new perspective in constructing our solution, namely _meta-VBO_ . Specifically, while the classic _Gaussian process - upper confidence bound_ (GP-UCB) algorithm (Srinivas et al., 2010) offers only one option of the input query at each BO iteration, we pursue a different approach of construcing a _versatile query set_ (V-set) in Sec. 3.1. Interestingly, we can obtain a no-regret algorithm by selecting any input in this set as the input query (Theorem 3.2). To the best of our knowledge, this characteristic has not been introduced in any BO algorithm. On one hand, it implies that by restricting the choice of the input query to V-set, the algorithm is no-regret regardless of prior harmful tasks. On the other hand, the flexibility in choosing the input query from a set (as opposed to one option in GP-UCB) allows us to transfer information from prior tasks to the current task by assigning different preferences/priorities to inputs in V-set (Sec. 3.2). Essentially, inputs that are likely to be local (or global) maximizers of many prior tasks are assigned high priorities.
28
+
29
+ > 1The notion of the best decision variable is discussed in Sec. 3.3.
30
+
31
+ 2
32
+
33
+ The size of V-set can be tuned via two hyperparameters, which allows a trade-off between the amount of information to be incorporated from prior tasks and the cumulative regret bound of the current ask. This reflects the intuition that without knowing the similarity between prior tasks and the current task, utilizing more information from prior tasks may not benefit the current task. We justify the selected hyperparameters in the experiments based on the incurred regret. Furthermore, V-set is adaptively updated as observations are accumulated from one iteration to the next. This naturally adjusts the effect of prior tasks on the current task as discussed in Remark 3.4, ensuring meta-VBO’s robustness to prior harmful tasks. In Sec. 3.3, we propose a strategy to recommend an input that approximates the optimal solution at each iteration such that its instantaneous regret diminishes towards zero as the iteration progresses (Theorem 3.7). Last, we empirically evaluate the performance of meta-VBO in optimizing VaR and CVaR of several synthetic and real-world objective functions in Sec. 4.
34
+
35
+ ## 2 PRELIMINARY
36
+
37
+ ## 2.1 BO OF RISK MEASURES
38
+
39
+ We are interested in maximizing a blackbox objective function _f_ (e.g., the performance of a system) that depends on both the _decision variable_ **x** _∈X_ and the _environmental variable_ **z** _∈Z_ , where _X_ and _Z_ are bounded subsets of R _[d]_ and R _[d][′]_ , respectively. We assume that _X_ and _Z_ are discrete for simplicity, though the results can be extended to continuous domains (Srinivas et al., 2010; Chowdhury and Gopalan, 2017). Furthermore, in the real-world environment, **x** is controllable while **z** (e.g., weather conditions and random errors) is not. Hence, the environmental variable is represented as a random variable, denoted as **Z** . We assume that the distribution of **Z** is known, e.g., by estimating from historical data or domain knowledge. These settings are adopted from the existing works of Cakmak et al. (2020); Nguyen et al. (2021b;a).
40
+
41
+ Due to the randomness in **Z** , evaluating the blackbox function at a particular value of **x** can result in a high value under one realization of **Z** but leading to a low value under another realization of **Z** . In other words, the evaluation of _f_ at **x** is a random variable, denoted as _f_ ( **x** _,_ **Z** ), whose randomness is induced by **Z** . Therefore, to determine the “optimal” design variable **x** _∗_ , one cannot directly compare the function evaluations at different values of **x** . An alternative approach is to consider a risk measure of the distribution of _f_ ( **x** _,_ **Z** ) which accounts for the probability (or the risk) that _f_ ( **x** _,_ **Z** ) suffers from poor realizations. In this paper, we examine two risk measures for _f_ ( **x** _,_ **Z** ): _value-at-risk_ (VaR), denoted as _vf_ ( **x** ; _α_ ), and _conditional VaR_ (CVaR), denoted as _cf_ ( **x** ; _α_ ). Here, _α ∈_ (0 _,_ 1) represents a known _risk level_ . VaR and CVaR are defined as follows:
42
+
43
+ **==> picture [369 x 24] intentionally omitted <==**
44
+
45
+ While _vf_ ( **x** ; _α_ ) can be viewed as 100 _α_ %-percentile of _f_ ( **x** _,_ **Z** ) (i.e., the event that _f_ ( **x** _,_ **Z** ) suffers from realizations lower than _vf_ ( **x** ; _α_ ) happens with a probability of at most _α_ ), _cf_ ( **x** ; _α_ ) is the expected value of _f_ ( **x** _,_ **Z** ) in the worst 100 _α_ % of cases. To avoid unnecessary repetition, we unify the notations of both VaR and CVaR as _ρf_ ( **x** ; _α_ ). The notations _vf_ ( **x** ; _α_ ) and _cf_ ( **x** ; _α_ ) are only used when VaR and CVaR require distinct treatments.
46
+
47
+ Given the risk measure _ρf_ ( **x** ; _α_ ) and the distribution of **Z** , the _BO of risk measure_ problem aims to search for the maximizer **x** _∗_ ≜ arg max **x** _∈X ρf_ ( **x** ; _α_ ) (Cakmak et al., 2020). Since _f_ is unknown, determining this maximizer typically involves iteratively observing noisy evaluations _y_ ( **x** _t,_ **z** _t_ ) ≜ _f_ ( **x** _t,_ **z** _t_ )+ _ϵ_ ( **x** _t,_ **z** _t_ ) for iteration _t ≥_ 1 where _ϵ_ ( **x** _t,_ **z** _t_ ) _∼N_ (0 _, σn_[2][)][ are i.i.d. Gaus-] sian noises.[2] Furthermore, it is often expensive to obtain these evaluations (e.g., requiring running expensive simulations). Thus, the crux of the problem lies in devising a selection strategy of the _input query_ ( **x** _t,_ **z** _t_ ) at iteration _t_ , considering observations in the previous _t −_ 1 iterations, denoted as **yD** _t_ ≜ ( _y_ ( **x** _t′,_ **z** _t′_ )) _[t] t[−][′]_ =1[1][where] **[ D]** _[t]_[≜][((] **[x]** _[t][′][,]_ **[ z]** _[t][′]_[))] _[t] t[−][′]_ =1[1][, to quickly discover] **[ x]** _[∗]_[.]
48
+
49
+ We model _f_ with a _Gaussian process_ (GP) (Rasmussen and Williams, 2006). Specifically, we use a constant GP prior mean function _µ_ 0 and a squared exponential kernel _k_ ( **x** _,_ **z** ) _,_ ( **x** _′,_ **z** _′_ ) ≜ cov[ _f_ ( **x** _,_ **z** ) _, f_ ( **x** _[′] ,_ **z** _[′]_ )] = _σs_[2][exp][(] _[−]_[0] _[.]_[5(] **[x]** _[−]_ **[x]** _[′]_[)] _[⊤]_[Λ] _[−] x_[2][(] **[x]** _[−]_ **[x]** _[′]_[)] _[−]_[0] _[.]_[5(] **[z]** _[−]_ **[z]** _[′]_[)] _[⊤]_[Λ] _[−] z_[2][(] **[z]** _[−]_ **[z]** _[′]_[))][ where][ Λ] _[x]_[≜]
50
+
51
+ > 2 We adopt the settings outlined in previous works of Cakmak et al. (2020); Nguyen et al. (2021a) such that **z** is controllable during the optimization (discussed in Sec. 1).
52
+
53
+ 3
54
+
55
+ diag( _l_ 1 _, . . . , ld_ ), Λ _z_ ≜ diag( _ld_ +1 _, . . . , ld_ + _d′_ ), and _σs_[2][are the lengthscales and the signal variance,] respectively. Given **yD** _t_ , the posterior belief of _f_ ( **x** _,_ **z** ) is a Gaussian distribution with the following mean and variance
56
+
57
+ **==> picture [385 x 14] intentionally omitted <==**
58
+
59
+ where Λ **D** _t_ ≜ � **KD** _t,_ **D** _t_ + _σn_[2] **[I]** � _−_ 1, **K** is the covariance matrix, and **I** is the identity matrix. The performance of a BO algorithm is often analyzed through the _cumulative regret_ , denoted as _RT_ ≜[�] _[T] t_ =1 _[r]_[(] **[x]** _[t]_[)][ where] _[ r]_[(] **[x]** _[t]_[)][ ≜] _[ρ][f]_[(] **[x]** _[∗]_[;] _[ α]_[)] _[ −][ρ][f]_[(] **[x]** _[t]_[;] _[ α]_[)][ is the] _[ instantaneous regret]_[ at the input] query **x** _t_ . The algorithm is _no-regret_ if its cumulative regret is sublinear, i.e., lim _T →∞ RT /T →_ 0. In such a case, the _simple regret ST_ ≜ min _t_ =1 _,...,T r_ ( **x** _t_ ) _≤ RT /T_ approaches 0. This suggests that one should recommend the best observed input so far as the outcome of the optimization, e.g., in the vanilla BO problem with a small noise. Unfortunately, in BO of risk measures, _ρf_ ( **x** _t_ ; _α_ ) is unobserved due to the unobserved _f_ ( **x** _t,_ **z** ) for ( **x** _t,_ **z** ) _∈/_ **D** _t_ . This prevents us from determining the best observed input. Therefore, we will design a recommendation strategy such that the instantaneous regret _r_ ( **x** _[⋆] t_[)][ at the recommended input] **[ x]** _[⋆] t_[approaches zero as] _[ t][ →∞]_[in Sec. 3.3.]
60
+
61
+ ## 2.2 META-BO OF RISK MEASURES
62
+
63
+ Unlike existing works on BO of risk measures, our approach in this paper considers a set _T_ of prior tasks. Let _f_ : _X × Z →_ R denote the blackbox function of the _current task_ and _fτ_ : _X × Z →_ R denote the blackbox function in a prior task _τ ∈T_ . Furthermore, to facilitate later theoretical analysis, we follow the works of Chowdhury and Gopalan (2017) to assume that all blackbox functions belong to the _reproducing kernel Hilbert space_ (RKHS) associated with the kernel _k_ and a bounded RKHS norm, i.e., _∥f ∥k ≤ B_ and _∀τ ∈T , ∥fτ ∥k ≤ B_ . The optimization result of a� prior task _τ ∈T_ includes the GP posterior mean and variance of _fτ_ , denoted as _µτ_ : _X × Z →_ R and � _στ_[2][:] _[X][× Z][→]_[R][+][, respectively.][Meta-BO of the risk measure] _[ ρ]_[ aims to utilize][ (] _[µ]_[�] _[τ][,]_[ �] _[σ] τ_[2][)] _[τ][∈T]_ to improve the optimization of _ρf_ . However, the similarity between _f_ and _fτ_ (hence, between _ρf_ and _ρfτ_ ) is unknown for all _τ ∈T_ . In particular, if _ρfτ_ differs from _ρf_ , naively utilizing _µ_ � _τ ,_ � _στ_[2][to] optimize _ρf_ can deteriorate the optimization of _ρf_ .
64
+
65
+ Under the assumption that blackbox functions belong to the RKHS space with a norm bounded by _B_ , we first revisit the well-known confidence bound of _f_ ( **x** _,_ **z** ) from the work of Chowdhury and Gopalan (2017). Let _γt_ denote the maximum information gain about _f_ that can be obtained from any set of _t −_ 1 observations. Choosing _δ ∈_ (0 _,_ 1), _βt_ = ( _B_ + _σn_ �2( _γt_ + 1 + log 1 _/δ_ ))[2] , then the event that _∀t ≥_ 1 _, ∀_ **x** _∈X , ∀_ **z** _∈Z, lt_ ( **x** _,_ **z** ) _≤ f_ ( **x** _,_ **z** ) _≤ ut_ ( **x** _,_ **z** ) holds with probability _≥_ 1 _− δ_ where the lower and upper confidence bounds are defined as
66
+
67
+ _lt_ ( **x** _,_ **z** ) ≜ _µt_ ( **x** _,_ **z** ) _− βt_[1] _[/]_[2] _σt_ ( **x** _,_ **z** ) and _ut_ ( **x** _,_ **z** ) ≜ _µt_ ( **x** _,_ **z** ) + _βt_[1] _[/]_[2] _σt_ ( **x** _,_ **z** ) _,_ resp. (2) Leveraging on the above confidence bounds _lt_ and _ut_ , Nguyen et al. (2021b;a) propose the following confidence interval of the risk measure _ρf_ ( **x** ; _α_ ) (applicable to both VaR and CVaR): with probability _≥_ 1 _− δ_ ,
68
+
69
+ _∀t ≥_ 1 _, ∀_ **x** _∈X , ρf_ ( **x** ; _α_ ) _∈_ [ _ρlt_ ( **x** ; _α_ ) _, ρut_ ( **x** ; _α_ )] _._ (3)
70
+
71
+ where _lt_ and _ut_ are defined in equation (2) and _ρf_ , _ρlt_ , _ρut_ can be replaced by _vf_ , _vlt_ , and _vut_ for VaR or by _cf_ , _clt_ , _cut_ for CVaR in equation (1). For a prior task _τ ∈T_ , we denote the confidence interval ofbelief ( _µ_ � _τ , f_ � _σττ_[2] ([)] **x**[ of] _,_ **z** _[ f]_ ) _[τ]_ as[and the index of the last optimization iteration of task] [[�] _lτ_ ( **x** _,_ **z** ) _,_ � _uτ_ ( **x** _,_ **z** )] which is defined in equation (2) using the GP posterior _[ τ]_[.][Then, the confidence] interval of the risk measure _ρfτ_ ( **x** ; _α_ ) of prior task _τ_ is [ _ρ_ � _lτ_ ( **x** ; _α_ ) _, ρu_ � _τ_ ( **x** ; _α_ )].
72
+
73
+ ## 3 OUR PROPOSED SOLUTION TO META-BO OF RISK MEASURES
74
+
75
+ Typically, at each iteration of the GP-UCB algorithm (Srinivas et al., 2010), there is only one option to select the input query from (assuming a unique maximizer of the GP-UCB acquisition function). Hence, in order to incorporate the information from prior tasks, the existing RM-GP-UCB (Dai et al., 2022) takes a weighted average of the GP-UCB acquisition functions of the current task and prior tasks. However, these weights depend on the maximum difference between _f_ and _fτ_ evaluations,
76
+
77
+ 4
78
+
79
+ **==> picture [377 x 93] intentionally omitted <==**
80
+
81
+ **----- Start of picture text -----**<br>
82
+ ρut (x [+] t [;][ α][)] max max<br>x [′] ∈Vt [ρ][b][l][τ][ (][x][′][;][ α][)] x [′] ∈Vt [ρ][b][l][τ][ (][x][′][;][ α][)]<br>ρlt (x [−] t [;][ α][)] x [−] t x [+] t x1 ρρblubττ ( (xx; α; α) ) ρρblubτ (τ (xx; α; α) )<br>x2 Pτ |Vt Pτ |Vt<br>x0 x3 Vt Vt<br>(a) (b) (c)<br>**----- End of picture text -----**<br>
83
+
84
+ Figure 1: **(a)** Plot of _Vt_ = _{_ **x** 0 _,_ **x**[+] _t[,]_ **[ x]**[2] _[}]_[ with] _[ λ]_[ = 0][ and] _[ η]_[= 1][.][The dashed line shows the confidence] interval of _ρf_ ( **x** _∗_ ; _α_ ). While **x** _[−] t_[and] **[ x]**[1][violate UC,] **[ x]**[3][violates OC.] **[ (b)]**[ Plot of an informative prior] task _τ_ where _Vt \ Pτ |Vt_ = _∅_ . **(c)** Plot of an uninformative prior task _τ_ where _Pτ |Vt_ = _Vt_ .
85
+
86
+ known as the _function gap_ , at observed inputs. Defining such a gap notion for risk measures is not obvious. Moreover, the function gap is susceptible to function transformations such as scaling and vertical-shifting. Last, in order to achieve theoretical performance guarantee, RM-GP-UCB requires the weights of prior tasks to decay to zero.
87
+
88
+ In contrast, our meta-VBO approach tackles the problem from a different perspective that not only exhibits robustness against scaling and vertical-shifting transformations but also eliminates the explicit need for diminishing the effect of prior tasks via weight decay. Specifically, in the next section, we offer multiple choices of the input query in the form of a _versatile query set_ (V-set), denoted as _Vt_ (depending on iteration _t_ ), such that any input query sequence in the Cartesian product[�] _[T] t_ =1 _[V][t]_ incurs a sublinear cumulative regret,
89
+
90
+ **==> picture [323 x 30] intentionally omitted <==**
91
+
92
+ The flexibility of choosing any input query **x** _t ∈Vt_ grants us the opportunity to incorporate information from prior tasks into the current optimization task as elaborated in Sec. 3.2.
93
+
94
+ ## 3.1 VERSATILE QUERY SET
95
+
96
+ Intuitively, the _versatile query set_ (V-set) _Vt_ should **(C1)** _contain those inputs that are likely to be the maximizer of ρf_ . Furthermore, we would like to avoid over-exploitation at inputs with well-estimated risk measures where gathering observations leads to a minimal progress towards discovering **x** _∗_ . This is done by introducing another criterion **(C2)** to _exclude inputs with well-estimated risk measures from Vt_ . These two key criteria (C1) and (C2) are formulated as follows.
97
+
98
+ **(C1)** To determine whether an input is likely to be the maximizer of _ρf_ , we obtain the following confidence interval of _ρf_ ( **x** _∗_ ; _α_ ) in App. A. With probability _≥_ 1 _− δ_ ,
99
+
100
+ **==> picture [294 x 13] intentionally omitted <==**
101
+
102
+ where **x** _[−] t_[≜][arg max] **x** _∈X[ρ][l] t_[(] **[x]**[;] _[ α]_[)][and] **[x]**[+] _t_[≜][arg max] **x** _∈X[ρ][u] t_[(] **[x]**[;] _[ α]_[)][.][It][is][noted][that] **[x]**[+] _t_[is][the] input query at iteration _t_ in V-UCB (Nguyen et al., 2021b) and CV-UCB (Nguyen et al., 2021a). For an input **x** _[′]_ to be the maximizer **x** _∗_ of _ρf_ (i.e., the above condition (C1)), the confidence interval of its risk measure _ρf_ ( **x** _[′]_ ; _α_ ) should overlap with that of the maximum risk measure _ρf_ ( **x** _∗_ ; _α_ ), i.e., _ρut_ ( **x** _[′]_ ; _α_ ) _≥ ρlt_ ( **x** _[−] t_[;] _[ α]_[)][ from equation (3) and equation (5).][Hence, we propose to formulate] (C1) as the following _overlapping condition_ (OC): For an input **x** _[′]_ to be in _Vt_ , _ρut_ ( **x** _[′]_ ; _α_ ) _≥ ρlt_ ( **x** _[−] t_[;] _[ α]_[) +] _[ λ]_ � _ρut_ ( **x**[+] _t_[;] _[ α]_[)] _[ −][ρ][l] t_[(] **[x]** _t[−]_[;] _[ α]_[)] � for _λ ∈_ [0 _,_ 1] _._ (6)
103
+
104
+ As _λ →_ 1, _ρut_ ( **x** _[′]_ ; _α_ ) _→ ρut_ ( **x**[+] _t_[;] _[ α]_[)][, i.e., the overlap between the confidence interval of] _[ ρ][f]_[(] **[x]** _[′]_[;] _[ α]_[)] and that of _ρf_ ( **x** _∗_ ; _α_ ) at iteration _t_ increases. When _λ_ = 1, the set of inputs satisfying OC reduce to only the input query **x**[+] _t_[of V-UCB (Nguyen et al., 2021b) or CV-UCB (Nguyen et al., 2021a).]
105
+
106
+ **(C2)** We would like to exclude inputs with well-estimated risk measures by ensuring that the uncertainty of their risk measures is relatively high compared to that of the maximum risk measure _ρf_ ( **x** _∗_ ; _α_ ). Specifically, we propose to formulate (C2) as the following _uncertainty condition_
107
+
108
+ 5
109
+
110
+ (UC): For an input **x** _[′]_ to be in _Vt_ ,
111
+
112
+ **==> picture [352 x 33] intentionally omitted <==**
113
+
114
+ If _η >_ 1 _/λ_ , OC implies UC since _ρlt_ ( **x** _[−] t_[;] _[ α]_[)] _[≥][ρ][l] t_[(] **[x]**[;] _[ α]_[)] _[∀]_ **[x]** _[∈X]_[(from][the][definition][of] **[x]** _[−] t_[).] Hence, we are only interested in UC when _η ≤_ 1 _/λ_ as specified in equation (7).
115
+
116
+ To sum up, we define V-set _Vt_ as the set of inputs **x** _∈X_ that satisfy both OC in equation (6) and UC in equation (7) (illustrated in Fig. 1a). The conditions of _λ ≤_ 1 and _η ���_ 1 ensure _Vt_ is always non-empty which follows from the following Lemma 3.1 (proved in App. B). **Lemma 3.1.** _For all t ≥_ 1 _, Vt contains_ **x**[+] _t[.]_
117
+
118
+ We note that the size of _Vt_ is non-decreasing when _λ_ decreases or _η_ increases. Specifically, _λ_ = 1 implies _η_ = 1 (since _η ∈_ [1 _,_ 1 _/λ_ ]) and OC implies UC. In this case, _Vt_ = _{_ **x**[+] _t[}]_[ (assuming] _[ ρ][u] t_[has a] unique maximizer), i.e., _Vt_ reduces to the UCB-typed input query such as those in V-UCB (Nguyen et al., 2021b) and CV-UCB (Nguyen et al., 2021a). There is not any flexibility in choosing **x** _t_ from _Vt_ = _{_ **x**[+] _t[}]_[, which prevents us from incorporating the information of prior tasks into the current] task. However, when _λ <_ 1 and _η ∈_ [1 _,_ 1 _/λ_ ], _Vt_ contains other inputs than the popular input query **x**[+] _t_ of UCB-typed algorithms. This is a trade-off between prior tasks (existing knowledge) and the current task (new knowledge). When _λ_ = 1 ( _Vt_ = _{_ **x**[+] _t[}]_[), we utilize only observations from the current] task. Conversely, decreasing _λ_ (increasing _|Vt|_ ) promotes the exploitation/utilization of prior tasks to select an input query in _Vt_ . This _task-specific_ trade-off is distinct from the conventional ( _functionevaluation-specific_ ) exploration-exploitation trade-off associated with estimating the maximizer in V-UCB (Nguyen et al., 2021b) and CV-UCB (Nguyen et al., 2021a) (pertaining to a particular task).
119
+
120
+ Given the selected **x** _t ∈Vt_ , we adopt the choice of **z** _t_ in the existing works of Nguyen et al. (2021b;a). In particular, if the risk measure is VaR, then **z** _t_ is selected as a _lacing value_ (LV) w.r.t. **x** _t_ , _lt_ , _ut_ , and _α_ .[3] If the risk measure is CVaR, we first find the risk level _αt_ ≜ arg max _α′∈_ (0 _,α_ ] _vut_ ( **x** _t_ ; _α[′]_ ) _− vlt_ ( **x** _t_ ; _α[′]_ ). Then, **z** _t_ is selected as an LV w.r.t. **x** _t_ , _lt_ , _ut_ , and _αt_ .
121
+
122
+ Interestingly, given the above choice of **z** _t_ , any choice of **x** _t_ in our proposed _Vt_ results in a sublinear cumulative regret as shown in the following Theorem 3.2 (proved in App. D). In other words, we achieve the goal of constructing _Vt_ that satisfies equation (4).
123
+
124
+ **Theorem 3.2.** _Given the selection of_ **x** _t as any input in Vt and the selection of_ **z** _t from the works of Nguyen et al. (2021b;a), the algorithm achieves a sublinear cumulative regret:_
125
+
126
+ **==> picture [287 x 13] intentionally omitted <==**
127
+
128
+ _holds with probability ≥_ 1 _− δ where C_ 1 ≜ 8 _/_ log(1+ _σn[−]_[2][)] _[;][ γ][T][,][ β][T][,][ δ][ are defined in equation (2);][ λ] and η are defined in equation (6) and equation (7), respectively._
129
+
130
+ Given the flexibility of choosing **x** _t_ in _Vt_ , we are now able to transfer the information from prior tasks to the current task by assigning different priorities to inputs in _Vt_ .
131
+
132
+ 3.2 ASSIGNING PRIORITY TO INPUTS IN VERSATILE QUERY SET _Vt_
133
+
134
+ Since selecting any input query **x** _t ∈Vt_ results in a no-regret algorithm (Theorem 3.2), we would like to exploit the results of prior tasks to assign varying degrees of importance (i.e., _priorities_ ) to inputs in _Vt_ . To be robust to scaling and vertical-shifting of the blackbox function, the priority is based on the location of the maximizer rather than the estimated risk measure value. Besides, to provide more opportunities for transferring information between tasks, we consider the case that the global maximizer of the current task is the local maximizer of a prior task. Hence, we assign higher priorities to inputs that have a higher chance of being a local maximizer (restricted to _Vt_ ) of prior tasks. For this reason, we propose the notion of _the probable local maximizer set_ , denoted as _Pτ |Vt_ , which contains inputs that are probably a local maximizer restricted to _Vt_ of _ρfτ_ :
135
+
136
+ **==> picture [299 x 17] intentionally omitted <==**
137
+
138
+ > 3 Lacing values **z** LV w.r.t. **x** , _lt_ , _ut_ , and _α_ satisfy _lt_ ( **x** _,_ **z** LV) _≤ vlt_ ( **x** ; _α_ ) _≤ vut_ ( **x** ; _α_ ) _≤ ut_ ( **x** _,_ **z** LV) (Nguyen et al., 2021b).
139
+
140
+ 6
141
+
142
+ An alternative assumption is that the global maximizer of the current task is close to that of a prior task, then we can consider _the probable global maximizer set_ , defined as _Pτ |X_ ≜ _{_ **x** _∈X| ρu_ � _τ_ ( **x** ; _α_ ) _≥_ max **x** _′∈X ρ_ � _lτ_ ( **x** _[′]_ ; _α_ ) _}_ . Since using _Pτ |X_ does not substantially change the implementation of metaVBO in comparison to using _Pτ |Vt_ , we only focus on the probable local maximizer set _Pτ |Vt_ in this paper. Figs. 1b and 1c show the set _Pτ |Vt_ of inputs **x** _∈Vt_ such that _ρu_ � _τ_ ( **x** ; _α_ ) is above the dash-dotted line representing max **x** _′∈Vt ρ_ � _lτ_ ( **x** _[′]_ ; _α_ )). Essentially, we transfer the information about the _local maximizer_ restricted to _Vt_ of prior tasks to the current task. This is an unexplored direction in the current meta-BO literature.
143
+
144
+ Given the probable local maximizer set _Pτ |Vt_ , the priority of an input **x** _∈Vt_ , denoted as _πt_ ( **x** ), is measured by the number of the probable local maximizer sets that **x** belongs to, i.e.,
145
+
146
+ **==> picture [248 x 23] intentionally omitted <==**
147
+
148
+ The higher _πt_ ( **x** ) is, the more likely that **x** is in the probable local maximizer set of a prior task. Hence, we select the input query **x** _t_ as
149
+
150
+ **==> picture [351 x 18] intentionally omitted <==**
151
+
152
+ _Remark_ 3.3 (Prior harmful tasks) _._ The local maximizers of _ρfτ_ in a prior harmful task restricted to _Vt_ are different from that of _ρf_ of the current task. Contrary to the intuition suggesting that prior harmful tasks may bias meta-VBO away from the desirable maximizer **x** _∗_ , Theorem 3.2 asserts that our algorithm maintains a sublinear cumulative regret by constraining the choice of **x** _t_ to the _Vt_ . However, one could reasonably anticipate a potential reduction in the convergence rate, as empirically shown in Sec. 4, due to the influence of prior harmful tasks.
153
+
154
+ _Remark_ 3.4 (Informativeness of a prior task) _._ If _πt_ ( **x** ) is constant for all **x** _∈Vt_ , it results in _Vt,_ max = _Vt_ and **x** _t_ = **x**[+] _t_[.][This happens when there are not any prior tasks or when the BO results of prior] tasks are _uninformative_ in the local region _Vt_ , i.e., _Pτ |Vt_ = _Vt ∀τ ∈T_ . As **x** _t_ = **x**[+] _t_[in these cases,] our meta-VBO algorithm reduces to V-UCB (Nguyen et al., 2021b) or CV-UCB (Nguyen et al., 2021a). Fig. 1c illustrates an iteration _t_ where prior task _τ_ is uninformative as _Vt_ = _Pτ |Vt_ , while Fig. 1b shows the case that _τ_ is an informative task. It is noted that the informativeness of a prior task w.r.t. the current task depends on _Vt_ , hence, the iteration _t_ . A prior task may be informative when we have not gathered many observations on the current task ( _Vt_ is large such that _Pτ |Vt_ is a strict subset of _Vt_ ), but it may become uninformative when many observations are acquired ( _Vt_ is small such that _Pτ |Vt_ = _Vt_ ). When a prior task is uninformative, it does not influence the optimization of the current task in our meta-VBO algorithm (from the definition of _πt_ ( **x** ) in equation (39)). Hence, the effect of a prior task on the current task is adaptively controlled by _Vt_ as illustrated in Appendix I.1. This approach contrasts with that of Dai et al. (2022) that explicitly requires a schedule of the weight decay based on the function gap.
155
+
156
+ _Remark_ 3.5 (Scaling and vertical-shifting of the blackbox functions) _._ Our proposed meta-VBO depends on _Vt_ and _Pτ |Vt_ . These sets rely on comparing risk measures at different inputs which remains unchanged under scaling or vertical-shifting of the blackbox function. Hence, our algorithm is robust to these transformations.
157
+
158
+ _Remark_ 3.6 (Meta-VBO for vanilla BO and adversarially robust BO) _._ As our proposed meta-VBO depends on the upper and lower confidence bounds of function evaluations, it is sufficiently general to address the vanilla meta-BO problem (see Appendix F). Its potential applicability to the metalearning of other UCB-typed algorithms remains an area for future exploration. Furthermore, since adversarially robust BO is a special case of BO of VaR _α →_ 0[+] (Nguyen et al., 2021b), our proposed meta-VBO directly applies to adversarially robust BO (see App. G).
159
+
160
+ ## 3.3 DECISION VARIABLE RECOMMENDATION STRATEGY
161
+
162
+ At iteration _t_ , we propose to recommend **x** _[⋆] t_[≜] **[x]** _[−] ζ_ ( _t_ )[where] _[ ζ]_[(] _[t]_[)][≜][arg max] _[t][′][∈{]_[1] _[,...,t][}][ρ][l] t[′]_[(] **[x]** _t[−][′]_[ ;] _[ α]_[)][.] We prove that its instantaneous regret approaches zero in App. E.
163
+
164
+ **Theorem 3.7.** _Let ζ_ ( _t_ ) ≜ arg max _t′∈{_ 1 _,...,t} ρlt′_ ( **x** _[−] t[′]_[ ;] _[ α]_[)] _[, then, by recommending]_ **[ x]** _t[⋆]_[=] **[x]** _[−] ζ_ ( _t_ ) _[, the] instantaneous regret at_ **x** _[⋆] t[is bounded:][ r]_[(] **[x]** _[⋆] t_[)] _[ ≤][η]_ � _C_ 1 _βtγt/t with probability ≥_ 1 _−δ where η, C_ 1 _, βt, and γt are defined in Theorem 3.2._
165
+
166
+ 7
167
+
168
+ As sublinear bounds of _γt_ are established for common kernels such as the SE kernel in the work of Srinivas et al. (2010), the instantaneous regret at **x** _[⋆] t_[≜] **[x]** _[−] ζ_ ( _t_ )[approaches zero as] _[ t][ →∞]_[.][Further-] more, we should choose _η_ = 1 to minimize the upper confidence bound of _r_ ( **x** _[⋆] t_[)][ in Theorem 3.7.] Given _η_ = 1, we choose _λ ∈_ [0 _,_ 1] to trade off between the flexibility in choosing **x** _t_ (i.e., the size of V-set) and the upper confidence bound of the cumulative regret _RT_ at the input queries in Theorem 3.2. In the experiments, as we want to exploit the solutions of prior tasks, we maximize the size of V-set by setting _λ_ = 0. In this case, the upper confidence bound of _RT_ is two times that of V-UCB (Nguyen et al., 2021b) and CV-UCB (Nguyen et al., 2021a): _RT ≤_ 2 _[√] C_ 1 _TβT γT_ .
169
+
170
+ ## 4 EXPERIMENTS
171
+
172
+ Given the absence of prior research on meta-BO of risk measures, we compare the performance of our proposed algorithm under different sets of prior tasks to that of V-UCB (Nguyen et al., 2021b) which is equivalent to our proposed algorithm when there are not any prior tasks, i.e., _T_ = _∅_ . Recall that our emphasis in this paper is on transferring the optimization results, rather than transferring the surrogate model, as discussed in Sec. 1. Therefore, we exclusively focus on independent GPs. They are also more practical due to their lower computational overhead, while still enabling us to provide fair comparisons to empirically demonstrate our advantage over V-UCB.[4] Our goal is to empirically verify whether our proposed algorithm is (i) able to exploit the information from prior informative tasks to improve its converge rate in comparison to V-UCB even if harmful tasks exist in _T_ and (ii) robust to prior harmful tasks even if there are not any useful tasks in _T_ . To achieve this, we design different sets of prior tasks: _T_ useful-pos-scale (i.e., positive scaling of the blackbox function of the current task: _fτ_ ( **x** _,_ **z** ) = _af_ ( **x** _,_ **z** ) for _a >_ 0), _T_ useful-vshift (i.e., vertical-shifting _fτ_ ( **x** _,_ **z** ) = _f_ ( **x** _,_ **z** ) + _b_ for _b ∈_ R), _T_ harmful-neg-scale (i.e., negative scaling _fτ_ ( **x** _,_ **z** ) = _−f_ ( **x** _,_ **z** )), and _T_ harmful-hshift (i.e., horizontal-shifting _fτ_ ( **x** _,_ **z** ) = _f_ ( **x** + _ξ,_ **z** ) for _ξ ∈_ R _[d]_ ). Additionally, _T_ all is the union of the above 4 sets. We note that _T_ harmful-neg-scale contains the most harmful task as the function evaluations are negated. On the other hand, horizontal-shifting along the **x** dimensions in _T_ harmful-hshift moves the location of the maximizers away from that of the current task. As explained in Sec. 3.3, we set _λ_ = 0 and _η_ = 1. We present additional experimental results of meta-BO for CVaR in App. I.
173
+
174
+ The experiments are performed on 6 synthetic functions: a Gaussian curve, the Branin-Hoo, the Goldstein-Price, the six-hump camel, the Hartmann-3D, and the Hartmann-6D (obtained from [URL removed]); and using 2 real-world datasets: the yacht hydrodynamics dataset (Dua and Graff, 2017) and a portfolio optimization dataset (obtained from the existing works of Cakmak et al. (2020); Nguyen et al. (2021a)). In the first 4 experiments, both the dimensions of **x** and **z** are set to _d_ = _d[′]_ = 1. In the Hartmann-3D experiment, _d_ = 2 and _d[′]_ = 1, while in the Hartmann-6D experiment, _d_ = 5 and _d[′]_ = 1. In the yacht hydrodynamics experiment, the optimization problem is to minimize VaR of the residuary resistance per unit weight of displacement of a yacht by controlling the its 5-dimensional hull geometry coefficients. The environmental random variable is the 1-dimensional Froude number. The blackbox function is generated by fitting a GP to the yacht hydrodynamics dataset (Dua and Graff, 2017). In the portfolio optimization experiment, we follow the work of (Cakmak et al., 2020) to optimize a portfolio by controlling _d_ = 3 decision variables subject to the randomness in the bid-ask spread and the borrow cost (i.e., _d[′]_ = 2). The blackbox function is generated by fitting a GP to the simulated portfolio dataset. The risk level is set at _α_ = 0 _._ 1 for all experiments.
175
+
176
+ The average and the standard error of _r_ ( **x** _[⋆] t_[)][ (in Sec. 3.3) over][ 30][ random repetitions are shown in] Fig. 2. It is noted that the curves of useful-pos-scale, useful-vshift, and all overlap each other in Figs. 2a, 2e, and 2g. In these figures, we observe that when _T_ contains only prior useful tasks in _T_ useful-pos-scale and _T_ useful-vshift, our proposed meta-VBO outperforms V-UCB which does not utilize any prior tasks. Notably, even when _T_ contains both harmful and useful tasks in _T_ all, meta-VBO still outperforms V-UCB. In the extreme case when _T_ contains only harmful tasks in _T_ harmful-neg-scale and _T_ harmful-hshift, meta-VBO does not outperform V-UCB, but it still converges to a low-regret solution. In Fig. 2f, meta-VBO given the set _T_ harmful-neg-scale performs poorly probably due to the large input space and the function surface of the Hartmann-6D. We can 4When computation cost are affordable, one may combine a method that transfers the surrogate model with our algorithm by simply replacing independent GPs with a multitask GP because our algorithm only relies on upper and lower confidence bounds that are readily obtainable from a multitask GP model.
177
+
178
+ 8
179
+
180
+ **==> picture [385 x 181] intentionally omitted <==**
181
+
182
+ **----- Start of picture text -----**<br>
183
+ V-UCB Useful-pos-scale Useful-vshift Harmful-neg-scale Harmful-hshift All<br>1.2<br>0.5 2.0 1.0 6<br>0.4<br>1.5 0.8<br>0.3 4<br>1.0 0.6<br>0.2<br>0.1 0.5 0.40.2 2<br>0.0 0.0 0<br>0 10 20 30 40 50 60 0 5 10 15 20 25 30 0 5 10 15 20 25 30 0 5 10 15 20 25 30<br>(a) (b) (c) (d)<br>1.50 0.30 0.6 4<br>1.25 0.25 0.5<br>3<br>1.00 0.20 0.4<br>0.75 0.15 0.3 2<br>0.50 0.10 0.2 1<br>0.25<br>0.05 0.1<br>0.00 0<br>0 10 20 30 40 50 0 10 20 30 40 50 60 0 10 20 30 40 0 10 20 30 40 50<br>(e) (f) (g) (h)<br>**----- End of picture text -----**<br>
184
+
185
+ Figure 2: Plots of the regret at the recommended input against the BO iteration in experiments with (a) a Gaussian curve, (b) the Branin-Hoo function, (c) the Goldstein-Price function, (d) the six-hump camel function, (e) the Hartmann-3D function, (f) the Hartmann-6D function, (g) the yacht hydrodynamics dataset, and (h) the portfolio optimization dataset.
186
+
187
+ **==> picture [393 x 68] intentionally omitted <==**
188
+
189
+ **----- Start of picture text -----**<br>
190
+ 47.0% 13.2%9.3% 49.3% 8.2%7.5% 51.9% 6.9%3.1% 50.8% 3.1%1.5% Previous taskHarmful-hshiftHarmful-neg-scale<br>Useful-pos-scale<br>30.5% 35.1% 38.2% 44.6% Useful-vshift<br>t =5 t =20 t =30 t =40<br>**----- End of picture text -----**<br>
191
+
192
+ Figure 3: Percentage of prior tasks whose probable local maximizer sets contain the input query (grouped by the transformation) at different BO iterations in the experiment with the Gaussian curve and the set _Tall_ of prior tasks. The percentage is computed over 30 repeated experiments.
193
+
194
+ also observe the percentage of prior tasks whose probable maximizer sets _Pτ |Vt_ containing **x** _t_ in Fig. 3. It shows that as we gather more observations, the percentage of harmful tasks whose _Pτ |Vt_ contains **x** _t_ reduces.
195
+
196
+ ## 5 CONCLUSION
197
+
198
+ In this paper, we propose meta-VBO which is the first algorithm for meta-BO of risk measures by proposing a new concept of V-set and leveraging prior tasks to prioritize inputs in this set. Our algorithm offers a theoretical performance guarantee even when prior tasks are harmful. Furthermore, we propose a recommendation strategy that suggests an input as the result of the optimization, with a proof of its instantaneous regret approaching zero. The empirical performance of the proposed solution is demonstrated through several synthetic function benchmarks and real-world objective functions. In the future, we would like to study our meta-VBO approach to perform meta-learning for other BO variants such as federated BO (Dai et al., 2020), preferential BO (González et al., 2017; Nguyen et al., 2021c), BO for finding Nash equilibria (Tay et al., 2023), and BO with unknown constraints (Nguyen et al., 2023).
199
+
200
+ ## REPRODUCIBILITY STATEMENT
201
+
202
+ To ensure the reproducibility of both the theoretical and experimental results in our paper, we have clearly elaborated on our assumptions, the proofs of the theoretical results, and provided the implementation of the experiments. In particular, our main assumptions are stated in the third paragraph in Sec. 1 and the first paragraph in Sec. 3. The details proofs of our theoretical results are shown in Appendices A, B, D, E, and G.
203
+
204
+ 9
205
+
206
+ ## REFERENCES
207
+
208
+ - I. Bogunovic, J. Scarlett, S. Jegelka, and V. Cevher. Adversarially robust optimization with Gaussian processes. In _Proc. NeurIPS_ , pages 5760–5770, 2018.
209
+
210
+ - S. Cakmak, R. Astudillo, P. I. Frazier, and E. Zhou. Bayesian optimization of risk measures. In _Proc. NeurIPS_ , 2020.
211
+
212
+ - S. R. Chowdhury and A. Gopalan. On kernelized multi-armed bandits. In _Proc. ICML_ , pages 844–853, 2017.
213
+
214
+ - Z. Dai, B. K. H. Low, and P. Jaillet. Federated Bayesian optimization via Thompson sampling. In _Proc. NeurIPS_ , pages 9687–9699, 2020.
215
+
216
+ - Z. Dai, Y. Chen, H. Yu, B. K. H. Low, and P. Jaillet. On provably robust meta-Bayesian optimization. In _Proc. UAI_ , pages 475–485, 2022.
217
+
218
+ - Dheeru Dua and Casey Graff. UCI machine learning repository, 2017. URL [URL removed] ics.uci.edu/ml.
219
+
220
+ - M. Feurer, B. Letham, and E. Bakshy. Scalable meta-learning for Bayesian optimization using ranking-weighted Gaussian process ensembles. In _AutoML Workshop at ICML_ , volume 7, 2018.
221
+
222
+ - Roman Garnett. _Bayesian Optimization_ . Cambridge University Press, 2022. in preparation.
223
+
224
+ - J. González, Z. Dai, A. Damianou, and N. D. Lawrence. Preferential Bayesian optimization. In _Proc. ICML_ , pages 1282–1291, 2017.
225
+
226
+ - J. M. Hernández-Lobato, M. W. Hoffman, and Z. Ghahramani. Predictive entropy search for efficient global optimization of black-box functions. In _Proc. NIPS_ , pages 918–926, 2014.
227
+
228
+ - S. Iwazaki, Y. Inatsu, and I. Takeuchi. Bayesian quadrature optimization for probability threshold robustness measure. _Neural Computation_ , 33(12):3413–3466, 2021a.
229
+
230
+ - S. Iwazaki, Y. Inatsu, and I. Takeuchi. Mean-variance analysis in Bayesian optimization under uncertainty. In _Proc. AISTAT_ , pages 973–981, 2021b.
231
+
232
+ - A. Makarova, I. Usmanova, I. Bogunovic, and A. Krause. Risk-averse heteroscedastic Bayesian optimization. In _Proc. NeurIPS_ , pages 17235–17245, 2021.
233
+
234
+ - Q. P. Nguyen, Z. Dai, B. K. H. Low, and P. Jaillet. Optimizing conditional value-at-risk of black-box functions. In _Proc. NeurIPS_ , pages 4170–4180, 2021a.
235
+
236
+ - Q. P. Nguyen, Z. Dai, B. K. H. Low, and P. Jaillet. Value-at-risk optimization with Gaussian processes. In _Proc. ICML_ , pages 8063–8072, 2021b.
237
+
238
+ - Q. P. Nguyen, S. Tay, B. K. H. Low, and P. Jaillet. Top-k ranking Bayesian optimization. In _Proc. AAAI_ , volume 35, pages 9135–9143, 2021c.
239
+
240
+ - Q. P. Nguyen, W. T. R. Chew, L. Song, B. K. H. Low, and P. Jaillet. Optimistic Bayesian optimization with unknown constraints. In _Proc. ICLR_ , 2023.
241
+
242
+ - V. Perrone, H. Shen, M. W. Seeger, C. Archambeau, and R. Jenatton. Learning search spaces for Bayesian optimization: Another view of hyperparameter transfer learning. In _Proc. NeurIPS_ , volume 32, 2019.
243
+
244
+ 10
245
+
246
+ - V. Picheny, H. Moss, L. Torossian, and N. Durrande. Bayesian quantile and expectile optimisation. In _Proc. UAI_ , 2022.
247
+
248
+ - A. Ramachandran, S. Gupta, S. Rana, and S. Venkatesh. Information-theoretic transfer learning framework for Bayesian optimisation. In _Proc. ECML/PKDD_ , pages 827–842, 2019.
249
+
250
+ - C. E. Rasmussen and C. K. I. Williams. _Gaussian processes for machine learning_ . MIT Press, 2006.
251
+
252
+ - B. Shahriari, K. Swersky, Z. Wang, R. Adams, and N. de Freitas. Taking the human out of the loop: A review of Bayesian optimization. _Proceedings of the IEEE_ , 104(1):148–175, 2015.
253
+
254
+ - J. Snoek, H. Larochelle, and R. Adams. Practical Bayesian optimization of machine learning algorithms. In _Proc. NIPS_ , pages 2951–2959, 2012.
255
+
256
+ - N. Srinivas, A. Krause, S. Kakade, and M. Seeger. Gaussian process optimization in the bandit setting: No regret and experimental design. In _Proc. ICML_ , pages 1015–1022, 2010.
257
+
258
+ - K. Swersky, J. Snoek, and R. P. Adams. Multi-task Bayesian optimization. In _Proc. NeurIPS_ , volume 26, 2013.
259
+
260
+ - S. S. Tay, Q. P. Nguyen, C. S. Foo, and B. K. H. Low. No-regret sample-efficient Bayesian optimization for finding Nash equilibria with unknown utilities. In _Proc. AISTATS_ , pages 3591–3619, 2023.
261
+
262
+ - L. Torossian, V. Picheny, and N. Durrande. Bayesian quantile and expectile optimisation. _arXiv preprint arXiv:2001.04833_ , 2020.
263
+
264
+ - M. Volpp, L. P. Fröhlich, K. Fischer, A. Doerr, S. Falkner, F. Hutter, and C. Daniel. Meta-learning acquisition functions for transfer learning in Bayesian optimization. In _Proc. ICLR_ , 2020.
265
+
266
+ - Z. Wang and S. Jegelka. Max-value entropy search for efficient Bayesian optimization. In _Proc. ICML_ , pages 3627–3635, 2017.
267
+
268
+ - M. Wistuba, N. Schilling, and L. Schmidt-Thieme. Two-stage transfer surrogate model for automatic hyperparameter optimization. In _Proc. ECML/PKDD_ , pages 199–214, 2016.
269
+
270
+ - M. Wistuba, N. Schilling, and L. Schmidt-Thieme. Scalable Gaussian process-based transfer surrogates for hyperparameter optimization. _Machine Learning_ , 107(1):43–78, 2018.
271
+
272
+ 11
273
+
open_review/iclr2024_8832.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8832",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "VMFTransformer: An Angle-Preserving and Auto-Scaling Machine for Multi-horizon Probabilistic Forecasting",
6
+ "abstract": "Time series forecasting has historically been a key area of academic research and industrial applications. As deep learning develops, the major research methodologies of time series forecasting can be divided into two categories, i.e., iterative and direct methods. In the iterative methods, since a small amount of error is produced at each time step, the recursive structure can potentially lead to large error accumulations over longer forecasting horizons. Although the direct methods can avoid this puzzle involved in the iterative methods, it faces abuse of conditional independence among time points. This impractical assumption can also lead to biased models. To solve these challenges, we propose a direct approach for multi-horizon probabilistic forecasting, which can effectively characterize the dependence across future horizons. Specifically, we consider the multi-horizon target as a random vector. The direction of the vector embodies the temporal dependence, and the length of the vector measures the overall scale across each horizon. Therefore, we respectively apply the von Mises-Fisher (VMF) distribution and the truncated normal distribution to characterize the angle and the magnitude of the target vector in our model. We evaluate the performance of our framework on three benchmarks. Extensive results demonstrate the superiority of our framework over six state-of-the-art methods and show the remarkable versatility and extensibility for different time series forecasting tasks.",
7
+ "rebuttal": "### General response to all reviewers (part 1)\nWe deeply appreciate the reviewers taking the time to provide thoughtful feedback on our work. We are grateful that most reviewers saw the potential for this research to make a meaningful contribution. Carefully considering each comment, we have revised the paper to address the concerns raised. Our detailed responses below explain how we have enhanced the manuscript.\n\nIn particular, this revised draft incorporates extensive additional experiments, now encompassing the latest baseline models across varying and longer horizons. Every key result includes the mean and standard deviation to quantify uncertainty. \n\n\n\n| Horizon = 24 | | MAE| | | MSE | |\n| :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | \n|**Model** | Electricity | Solar | Traffic | Electricity | Solar | Traffic|\n|DeepAR | 0.0167 $\\pm$ 0.0004 | 0.2619 $\\pm$0.0030 | $\\underline{0.1667}$$\\pm$0.0086 | 0.0187$\\pm$0.0009 | 0.3243$\\pm$0.0091 | 0.2042$\\pm$0.0069 |\n|SimpleFeedForward | 0.0152 $\\pm$ 0.0007 | 0.3023 $\\pm$0.0026 | 0.2751 $\\pm$0.0028 | 0.0113$\\pm$0.0019 | 0.4213$\\pm$0.0101 | 0.3775$\\pm$0.0022 |\n|TFT | 0.0251 $\\pm$ 0.0010 | 0.2748 $\\pm$0.0064 | 0.2164 $\\pm$0.0069 | 0.0363$\\pm$0.0027 | 0.3189$\\pm$0.0056 | 0.2912$\\pm$0.0093 |\n|Transformer | 0.0138 $\\pm$ 0.0022 | 0.3031 $\\pm$0.0060 | 0.1796 $\\pm$0.0091 | 0.0144$\\pm$0.0006 | 0.4502$\\pm$0.0156 | 0.2050$\\pm$0.0031 |\n|Autoformer | 0.1236 $\\pm$ 0.0856 | 0.2106 $\\pm$0.0138 | 0.2612 $\\pm$0.0084 | 0.0252$\\pm$0.0899 | 0.1684$\\pm$0.0684 | $\\underline{0.1541}$$\\pm$0.0443 |\n|PatchTST | $\\underline{0.0610}$ $\\pm$ 0.0024 | **0.1938** $\\pm$0.0109 | 0.2746 $\\pm$0.0145 | $\\underline{0.0081}$$\\pm$0.0008 | **0.0936**$\\pm$0.0092 | 0.2251$\\pm$0.0050 |\n|Informer | 0.0844 $\\pm$ 0.0095 | 0.2607 $\\pm$0.0172 | 0.4620 $\\pm$0.0194 | 0.0144$\\pm$0.0226 | 0.1823$\\pm$0.0072 | 0.6446$\\pm$0.0074 |\n|DLinear | 0.1069 $\\pm$0.0004 | 0.2110 $\\pm$0.005 | 0.2317 $\\pm$0.0055 | 0.0309$\\pm$0.0003| 0.1336$\\pm$0.001 |0.2720$\\pm$0.0027|\n|**VMFTransformer** | **0.0116** $\\pm$0.0015 | $\\underline{0.2092}$ $\\pm$0.0074 |**0.1567** $\\pm$0.0008 |**0.0077**$\\pm$0.0147|$\\underline{0.1333}$$\\pm$0.0308 |**0.1185**$\\pm$0.0012|\n\n\n| Horizon = 168 | | MAE| | | MSE | |\n| :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | \n|**Model** | Electricity | Solar | Traffic | Electricity | Solar | Traffic|\n|DeepAR | 0.0224 $\\pm$ 0.0029 | 0.3076 $\\pm$0.0246 | 0.1712$\\pm$0.0088 | 0.0300$\\pm$0.0081 | 0.3806$\\pm$0.0400 | 0.2115$\\pm$0.0104 |\n|SimpleFeedForward | 0.0210 $\\pm$ 0.0004 | 0.3228 $\\pm$ 0.0058 | 0.2590 $\\pm$0.0037 | 0.0281$\\pm$0.0012 | 0.4122$\\pm$0.0196 | 0.2901$\\pm$0.0043 |\n|TFT | 0.0286 $\\pm$ 0.0016 | 0.3335 $\\pm$ 0.0039 | 0.1670 $\\pm$0.0053 | 0.0468$\\pm$0.0070 | 0.5125$\\pm$0.038 | 0.1952$\\pm$0.0070 |\n|Transformer | $\\underline{0.0198}$ $\\pm$ 0.0093 | 0.3463 $\\pm$ 0.0120 | 0.1918 $\\pm$0.0117 | 0.0295$\\pm$0.0121 | 0.4903$\\pm$0.0243 | 0.2081$\\pm$0.0234 |\n|Autoformer | 0.1197 $\\pm$ 0.0183 | 0.2784 $\\pm$ 0.0215 | 0.2231 $\\pm$0.0144 | 0.0241$\\pm$0.0078 | 0.1843$\\pm$0.0254 | 0.1746$\\pm$0.0622 |\n|PatchTST | 0.0957 $\\pm$ 0.0021 | **0.1836** $\\pm$ 0.0009 | **0.0898** $\\pm$0.0022 | **0.0169**$\\pm$0.0007 | **0.0942**$\\pm$0.0037 | **0.0179**$\\pm$0.0075 |\n|Informer | 0.1460 $\\pm$ 0.0230 | 0.2274 $\\pm$ 0.0079 | 0.5549 $\\pm$0.0024 | 0.0335$\\pm$0.0047 | 0.1616$\\pm$0.0137 | 0.8068$\\pm$0.0021 |\n|DLinear | 0.1559 $\\pm$ 0.0016 | $\\underline{0.2129}$ $\\pm$0.0026 | 0.2633 $\\pm$0.0085 | 0.0595$\\pm$0.0002 | $\\underline{0.1250}$$\\pm$0.0084 | 0.3096$\\pm$0.0022 |\n|**VMFTransformer** | **0.0128** $\\pm$0.0157 | 0.2136 $\\pm$0.0005 | $\\underline{0.1567}$ $\\pm$0.0019 |$\\underline{0.0204}$$\\pm$0.0373| 0.1390$\\pm$0.0017 |$\\underline{0.1185}$$\\pm$0.0029|\n\n### General response to all reviewers (part 2)\n| Horizon = 720 | | MAE| | | MSE | |\n| :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | \n|**Model** | Electricity | Solar | Traffic | Electricity | Solar | Traffic|\n|DeepAR | 0.0323 $\\pm$ 0.0067 | 0.2220 $\\pm$0.0059 | 0.2958$\\pm$0.0359 | 0.0897$\\pm$0.0301 | $\\underline{0.2004}$$\\pm$0.0002 | 0.4112$\\pm$0.0399 |\n|SimpleFeedForward | 0.0239 $\\pm$0.0006 [...]\n\n### General response to all reviewers (part 3)\n| Horizon = 168 | | q-50-loss| | | q-90-loss | |\n| :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | \n|**Model** | Electricity | Solar | Traffic | Electricity | Solar | Traffic|\n|DeepAR | 0.1463 $\\pm$0.0061 | 0.5613 $\\pm$0.0039 |0.1553$\\pm$0.0081 |0.0862$\\pm$0.0109|0.2349$\\pm$0.0162 |**0.1012**$\\pm$0.0018 |\n|SimpleFeedForward | 0.1\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 5,
10
+ 5,
11
+ 5,
12
+ 6
13
+ ],
14
+ "score_mean": 5.25,
15
+ "score_variance": 0.25,
16
+ "score_spread": 1,
17
+ "score_min": 5,
18
+ "score_max": 6,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "The reviewers raised multiple concerns, notably the experimental setups. After the rebuttal, the reviewers acknowledge that there is still room for improvement, and I agree with their expertise. Nevertheless, the angle and scaling idea is interesting, and the authors are encouraged to continue working towards this direction.",
22
+ "forum_id": "UK7Hs7f0So",
23
+ "primary_area": "general machine learning (i.e., none of the above)",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_7TJV",
28
+ "review_id": "HIfCdP2HZs",
29
+ "scores": {
30
+ "rating": 5,
31
+ "soundness": 2,
32
+ "presentation": 3,
33
+ "contribution": 3,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 2487,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 208569,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_2Tuf",
44
+ "review_id": "gpw2M5Wwj7",
45
+ "scores": {
46
+ "rating": 5,
47
+ "soundness": 3,
48
+ "presentation": 3,
49
+ "contribution": 2,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 2512,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 2445284,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_s4Yt",
60
+ "review_id": "3ojdDMe5t0",
61
+ "scores": {
62
+ "rating": 5,
63
+ "soundness": 2,
64
+ "presentation": 2,
65
+ "contribution": 2,
66
+ "confidence": 5
67
+ },
68
+ "review_text_chars": 4284,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 888972,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_Abqw",
76
+ "review_id": "2yYYYEc16k",
77
+ "scores": {
78
+ "rating": 6,
79
+ "soundness": 3,
80
+ "presentation": 2,
81
+ "contribution": 3,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 2085,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 2724723,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8832.md ADDED
@@ -0,0 +1,426 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## VMFTRANSFORMER: AN ANGLE-PRESERVING AND - AUTO-SCALING MACHINE FOR MULTI HORIZON PROBABILISTIC FORECASTING
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Time series forecasting has historically been a key area of academic research and industrial applications. As deep learning develops, the major research methodologies of time series forecasting can be divided into two categories, i.e., iterative and direct methods. In the iterative methods, since a small amount of error is produced at each time step, the recursive structure can potentially lead to large error accumulations over longer forecasting horizons. Although the direct methods can avoid this puzzle involved in the iterative methods, it faces abuse of conditional independence among time points. This impractical assumption can also lead to biased models. To solve these challenges, we propose a direct approach for multihorizon probabilistic forecasting, which can effectively characterize the dependence across future horizons. Specifically, we consider the multi-horizon target as a random vector. The direction of the vector embodies the temporal dependence, and the length of the vector measures the overall scale across each horizon. Therefore, we respectively apply the von Mises-Fisher (VMF) distribution and the truncated normal distribution to characterize the angle and the magnitude of the target vector in our model. We evaluate the performance of our framework on three benchmarks. Extensive results demonstrate the superiority of our framework over six state-of-the-art methods and show the remarkable versatility and extensibility for different time series forecasting tasks.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Time series forecasting has historically been a key area of academic research and industrial applications, such as climate modeling (Mudelsee, 2019), biological sciences (Stoffer & Ombao, 2012), medicine (Topol, 2019), detail decision making (B¨ose et al., 2017), and finance (Andersen et al., 2005). The common requirement of time series forecasting is measuring the uncertainty of the output by predicting its probability distribution, which is termed “probabilistic forecasting”. In addition, the practical use of probabilistic forecasting generally requires forecasting more than one step, i.e., multi-horizon forecasting. For example, in retail, multi-horizon probabilistic forecasting is used for optimal inventory management, staff scheduling, and topology planning (Simchi-Levi et al., 2008); in finance, it is used to prevent sudden flow abnormalities (Balb´as et al., 2005). Modern machine learning methods have been proposed for multi-horizon probabilistic forecasting, which can be divided into iterative and direct methods as follows.
14
+
15
+ Iterative approaches typically make use of autoregressive deep learning architectures, which produce multi-horizon forecasts by recursively feeding samples of the target into future time steps. Iterative approaches generally make use of the “chain rule” in the training stage, which decomposes _p_ ( **y** _T_ +1: _T_ + _H |_ **y** 0: _T ,_ **x** ) as[�] _[T] t_ =[ +] _T[H]_ +1 _[p]_[(] _[y][t][|]_ **[y]**[0:] _[t][−]_[1] _[,]_ **[ x]**[)][(Sutskever][et][al.,][2014),][where] **[y]**[0:] _[T]_[=] ( _y_ 0 _, y_ 1 _, . . . , yT_ ) _[T]_ denotes a slice of the time series and **x** represents some external features. Due to the chain rule, iterative approaches transform the estimation of _p_ ( **y** _T_ +1: _T_ + _H |_ **y** 0: _T ,_ **x** ) into a onestep-ahead prediction in the training stage and feed the prediction of _yt−_ 1 back as ground truth to forecast _yt_ . However, as pointed out in (Bengio et al., 2015; Lamb et al., 2016; Wen et al., 2017), the discrepancy between actual data and estimates during prediction can lead to error accumulation. Since a small amount of error is produced at each time step, the recursive structure of iterative methods can potentially lead to large error accumulations over long forecasting horizons. Therefore, the
16
+
17
+ 1
18
+
19
+ iterative approaches are less robust and might lead to a biased model (Chevillon, 2007; Taieb & Atiya, 2016).
20
+
21
+ For the direct methods (Wen et al., 2017; Lim et al., 2021; Fan et al., 2019), they can alleviate the above-mentioned issues involved in iterative methods, which can directly forecast all targets by using all available inputs. They typically use sequence-to-sequence architecture, a type of network structure mapping sequences directly to sequences. These methods commonly choose the quantile loss function as the training objective. They try to jointly minimize the quantile loss at each future horizon, where a decoder structure propagates encoded historical information and processes external features that can be acquired in advance. However, minimizing a loss function at each horizon, which is equivalent to transforming _p_ ( **y** _T_ +1: _T_ + _H |_ **y** 0: _T ,_ **x** ) into[�] _[H] h_ =1 _[p]_[(] _[y][T]_[ +] _[h][|]_ **[y]**[0:] _[T][ ,]_ **[ x]**[)][, is] somewhat abuse of conditional independence. The discrepancy between _p_ ( **y** _T_ +1: _T_ + _H |_ **y** 0: _T ,_ **x** ) and � _Hh_ =1 _[p]_[(] _[y][T]_[ +] _[h][|]_ **[y]**[0:] _[T][ ,]_ **[ x]** _[, h]_[)][ can also lead to biased models.]
22
+
23
+ Taking all the aforementioned challenges into account, we propose a direct approach for multihorizon probabilistic forecasting which can effectively capture the characteristics of the dependence across future horizons. We consider the multi-horizon target **y** _T_ +1: _T_ + _H_ as a random vector in an _H_ - dimension vector space. When there exists a certain dependence mechanism among _yT_ + _h_ (1 _≤ h ≤ H_ ), **y** _T_ +1: _T_ + _H_ is likely to be distributed around a specific direction. The direction of **y** _T_ +1: _T_ + _H_ 1 can be defined by the cosine of its angles relative to the orthonormal basis _{eh}[H] h_ =1 of the vector space, which is an _H_ -dimension unit-vector defined as
24
+
25
+ **==> picture [186 x 27] intentionally omitted <==**
26
+
27
+ _H_ where _⟨, ⟩_ denotes the inner product and _||_ **y** _T_ +1: _T_ + _H ||_ 2 = �� _h_ =1 _[y] T_[2] + _h_[denotes][the][Euclidean] norm of **y** _T_ +1: _T_ + _H_ . Therefore, we apply the von Mises-Fisher (VMF) distribution, which is a probability distribution on the surface of a unit-sphere, to characterize the distribution of the direction of **y** _T_ +1: _T_ + _H_ . Once the direction of **y** _T_ +1: _T_ + _H_ is learned, and suppose _||_ **y** _T_ +1: _T_ + _H ||_ 2 is given, the forecast can be made by multiplying _||_ **y** _T_ +1: _T_ + _H ||_ 2 with its direction. Hence, we normalize **y** _T_ +1: _T_ + _H_ by dividing its length and adopt a prior distribution on _||_ **y** _T_ +1: _T_ + _H ||_ 2 to obtain a complete tractable likelihood function. Recall that the direction of **y** _T_ +1: _T_ + _H_ is defined via angles, and its length is determined by the scale of each _yT_ + _h_ , the similarity measurement of the attention module involved in our model is correspondingly modified, which is capable of evaluating the joint similarity between angles and scales, namely the “Angle&Scale” similarity. The key features of our method are to preserve the temporal dependence, or as we explained before, the angles of **y** _T_ +1: _T_ + _H_ , and automatically project _||_ **y** _T_ +1: _T_ + _H ||_ 2 to each _yT_ + _h_ to estimate its scale. We summarize these features as “angle-preserving” and “auto-scaling”, where auto-scaling is important for handling data with different magnitudes (Salinas et al., 2019). One remaining challenge is optimizing the likelihood function due to the Bessel function, an essential part of VMF distribution and commonly leading to underflow problems(Kumar & Tsvetkov, 2018). Without the sacrifice of accuracy, we estimate and alternatively optimize the upper bound of the Bessel function.
28
+
29
+ Our contributions are three folds: (1) We propose a probabilistic forecasting model (VMFTransformer) based on Transformer and VMF distribution, which captures the temporal dependence of multi-horizon targets. We also demonstrate our model’s performance is state-of-the-art on realworld datasets; (2) We design a novel similarity measurement termed “Angle&Scale” similarity for the attention module; (3) We present a more efficient optimization method for the Bessel function in the VMF distribution without the sacrifice of accuracy.
30
+
31
+ ## 2 RELATED WORK
32
+
33
+ **Time Series Forecasting.** Recent time series forecasting models based on deep learning (e.g., recurrent and convolutional neural networks) (Salinas et al., 2019; Rangapuram et al., 2018; Wen et al., 2017) provide a data-driven manner to deal with time series forecasting tasks and achieve great accuracy in most application fields. Due to complex dependencies over time of recurrent networks and the limits of convolutional filters, these methods have difficulties in modeling long-term and complex relations in the time series data.
34
+
35
+ > 1 _eh_ = (0 _, . . . ,_ 1 _, . . . ,_ 0), the _h_ -th element is 1 while the rest are 0.
36
+
37
+ 2
38
+
39
+ **==> picture [219 x 137] intentionally omitted <==**
40
+
41
+ Figure 1: Illustration of how a multi-horizon target can be viewed as a high-dimensional random vector and how the VMF distribution is applied to describe its distribution. As shown in Figure 1.a, the example shows when performing a 3-step forecasting, the target can be packed together into a 3-dimensional vector ( _yt, yt_ +1 _, yt_ +2) where its direction is a unit-vector, i.e. (cos _α,_ cos _β,_ cos _γ_ ), determined by its angles relative to the orthonormal basis _{e_ 1 _, e_ 2 _, e_ 3 _}_ in Figure 1.b. When there exists dependency among _yt_ , _yt_ +1, and _yt_ +2, the random vector ( _yt, yt_ +1 _, yt_ +2) is likely to be distributed around a certain direction, described by the VMF distribution for random vectors on unit-sphere in Figure 1.c. The scale or length of ( _yt, yt_ +1 _, yt_ +2) is equivalent to sphere radius, whose distribution is described by the Truncated Normal Distribution in Figure 1.c. A forecast can be made by multiplying a direction generated from the estimated VMF distribution with a length generated from the estimated Truncated Normal Distribution.
42
+
43
+ Recently, Transformers (Vaswani et al., 2017) based on self-attention mechanism (Fan et al., 2019) show promising performance in time series forecasting (Li et al., 2020; Wu et al., 2021; Zhou et al., 2021; Kitaev et al., 2020). Considering the dependencies of each time point in a sequence, Transformer-based methods (Li et al., 2020) are proposed by assigning different importance to the different time points. Progresses have been made in reducing the computation complexity of the self-attention and enhancing the capacity of information extraction of the Encoder-Decoder structure(Zhou et al., 2021; Wu et al., 2021; Kitaev et al., 2020). In addition, Matrix factorization methods (Yu et al., 2016) and Bayesian methods that share information via hierarchical priors (Chapados, 2014) are used to learn multiple related time series by leveraging hierarchical structure (Hyndman et al., 2011). Despite the empirically extraordinary performance, these iterative and direct methods are all still facing the mentioned challenges in Introduction.
44
+
45
+ **von Mises-Fisher (VMF) distribution.** The von Mises Fisher Distribution (VMF) is an important isotropic distribution for directional data that have direction as well as magnitude, such as gene expression data, wind current directions, or measurements taken from compasses (Dhillon & Sra, 2003). The von Mises–Fisher distribution is a probability distribution on directions in R _[p]_ . It can be regarded as a distribution on the ( _p−_ 1)-sphere of unit radius, which is on the surface of the D-ball of unit radius. If _p_ = 2, the distribution reduces to the von Mises distribution on the circle. Recently, it has been successfully used in numerous machine learning tasks, such as unsupervised learning (Banerjee et al., 2005; Gopal & Yang, 2014), supervised learning (Scott et al., 2021), contrastive learning (Wang & Isola, 2020), natural language processing (Kumar & Tsvetkov, 2018), computer vision (Hasnat et al., 2017; Zhang et al., 2021), and so on. Our work is the first to introduce the von Mises-Fisher distribution to the time series forecasting task.
46
+
47
+ ## 3 METHODOLOGY
48
+
49
+ The core idea of this work is to consider a multi-horizon target as a vector in a high-dimensional space, where its direction or angle relative to the orthonormal basis characterizes the dependence structure, and its length is determined by the scale of the targets at each horizon. Therefore, performing probabilistic forecasting requires first evaluating the probability distribution of directions. For this purpose, we appeal to the VMF distribution. Recall that the VMF distribution only applies to vectors distributed on a unit sphere; we, therefore, adopt a probability distribution on the length of the vector representing the multi-horizon target. We choose the truncated normal distribution for vector length, which turns out to be a prior distribution. We visualize this idea in Figure 1.
50
+
51
+ 3
52
+
53
+ The rest of this section is organized into four subsections. We first derive the objective function for model training and introduce the attention module to suit our proposed objective function. We then propose a training trick to increase the stability of gradient descent while presenting a random sampling method for performing probabilistic forecasts.
54
+
55
+ ## 3.1 OBJECTIVE FUNCTION
56
+
57
+ This section derives the log-likelihood function for maximum likelihood estimation (MLE) at the training stage.
58
+
59
+ **VMF Distribution** . The VMF distribution is a probability distribution on the surface of a unitsphere. For a _d_ dimensional random unit vector **y** = ( _y_ 1 _, . . . , yd_ ) _[T]_ ( _||_ **y** _||_ 2 = 1), the probability density function of VMF distribution is defined as
60
+
61
+ **==> picture [272 x 12] intentionally omitted <==**
62
+
63
+ where _**µ**_ denotes the mean direction ( _||_ _**µ** ||_ 2 = 1), and _κ_ denotes the concentration parameter. In other words, _**µ**_ locates the most likely direction of **y** = ( _y_ 1 _, . . . , yd_ ) _[T]_ , and _κ_ controls the divergence of **y** = ( _y_ 1 _, . . . , yd_ ) _[T]_ from _**µ**_ . The greater the value of _κ_ , the stronger concentration of **y** = ( _y_ 1 _, . . . , yd_ ) _[T]_ around _**µ**_ . The normalization constant _Cd_ ( _κ_ ) in Equation equation 1 is defined as
64
+
65
+ **==> picture [116 x 27] intentionally omitted <==**
66
+
67
+ where _Id/_ 2 _−_ 1( _κ_ )[2] is the modified Bessel function of the first kind. **Conditional Density Function** . Let _σ_ denote the length of the multi-horizon target, i.e. _||_ **y** _T_ +1: _T_ + _H ||_ 2 = _σ_ , based on Equation equation 1, we define the conditional probability density function of **y** _T_ +1: _T_ + _H_ as
68
+
69
+ **==> picture [320 x 20] intentionally omitted <==**
70
+
71
+ **Prior on** _**σ**_ . We introduce a prior distribution on the scale parameter _σ_ to make Equation equation 2 tractable. For explicitness, we choose the truncated normal distribution (Burkardt, 2014). The truncated normal distribution is an extension of the normal distribution, which compress the range of a random variable from ( _−∞,_ + _∞_ ) into an open interval ( _a, b_ ) ( _−∞≤ a < b ≤_ + _∞_ ). A truncated normal distribution is determined by four parameters _m, γ, a, b_ . The parameters _m, γ_ denote the location and shape parameters, respectively, while _a, b_ denote the lower and upper bound of the random variable. In our case, _a_ = 0 and _b_ = + _∞_ . Technically,
72
+
73
+ **==> picture [278 x 40] intentionally omitted <==**
74
+
75
+ where Φ( _·_ ) denotes the cumulative distribution function of the standard normal distribution. **Likelihood Function** . Let _T_ denote the set of all forecast times selected for generating training data, and _I_ denote the set of indices of time series, the _H_ -horizon targets at time _t_ ( _t ∈T_ ) of the _i_ -th time series ( _i ∈I_ ) is then **y** _t[i]_ +1: _t_ + _H_[,][where] **[ y]** _a[i]_ : _b_[=][(] _[y] a[i][, y] a[i]_ +1 _[, . . . , y] b[i]_[)] _[T]_[denotes a slice of the] _i_ -th time series. Combining Equation equation 2 and equation 3, we can obtain the joint probability of the target set _**Y**_ = _{_ **y** _t[i]_ +1: _t_ + _H_[:] _[ t][ ∈T][ , i][ ∈I}]_[, which is]
76
+
77
+ **==> picture [356 x 63] intentionally omitted <==**
78
+
79
+ where Ω= _{{_ _**µ[i] t**[, κ][i] t[, m][i] t[, γ] t[i][}]_[ :] _[ t][ ∈T][ , i][ ∈I}]_[, and] _[ σ] t[i]_[=] _[ ||]_ **[y]** _t[i]_ +1: _t_ + _H[||]_[2][.]
80
+
81
+ > 2 _In_ ( _z_ ) is defined as ( _z/_ 2) _n_[�] + _k_ =0 _∞ k_ !Γ(( _zn/_ 2+) _k_[2] +1) _[k]_[, where][ Γ(] _[·]_[)][ is the Gamma function.]
82
+
83
+ 4
84
+
85
+ Let Θ denote the parameters of a neural network, and _**µ** , κ, m, γ_ be functions of the network output given Θ, the history **y** 0: _[i] t_[,][and][external][features] **[x]** _[i]_[.][Based][on][Equation][equation][4,][the][likelihood] function of the model parameters Θ, is derived as follows:
86
+
87
+ **==> picture [364 x 45] intentionally omitted <==**
88
+
89
+ **Objective Function for MLE.** The log-likelihood function is obtained by taking the logarithm of Equation equation 6 as
90
+
91
+ **==> picture [463 x 61] intentionally omitted <==**
92
+
93
+ where _Cl_ represents the constant term. The training object is to maximize Equation equation 6 with respect to Θ, or equivalently, minimize the inverse _−l_ (Θ).
94
+
95
+ ## 3.2 MODEL
96
+
97
+ **Transformer.** The seq2seq architecture is based on the Transformer (Li et al., 2020; Vaswani et al., 2017). The Transformer adopts an encoder-decoder structure and captures both long- and short-term dependencies via the multi-head self-attention mechanism.
98
+
99
+ **Model Output.** Let **h** denote the output of the decoder. We apply a fully-connected layer to **h** to obtain _**µ**_ .
100
+
101
+ _**µ**_ = _**Wµ**_ **h** + **b** _**µ** ._
102
+
103
+ For _κ, m, γ_ , we apply a fully-connected layer with soft-plus activation to ensure positivity. Specifically,
104
+
105
+ _κ_ = log(1 + exp( **w** _κ_ **h** + _bκ_ )) _, m_ = log(1 + exp( **w** _m_ **h** + _bm_ )) _, γ_ = log(1 + exp( **w** _γ_ **h** + _bγ_ )) _._
106
+
107
+ **Self-Attention.** A self-attention function is to map a query and a set of key-value pairs to an output, where the query, keys, values, and output are all vectors (Vaswani et al., 2017). In order to compute the attention function on a set of queries simultaneously, all queries are usually packed into a query matrix _**Q**_ . The keys and values are also packed into matrices _**K**_ and _**V**_ respectively(Vaswani et al., 2017).
108
+
109
+ The conventional attention function measures the similarities between queries and keys, which are row vectors of _**Q**_ and _**K**_ respectively, by a ‘dot-product’ operation and feeds the similarities into a softmax function to normalize the similarities summing to 1 (Vaswani et al., 2017). Afterward, the output of the attention function is computed as the weighted average of the values, where the weights are the outputs of the softmax function. We adopt the multi-head convolutional self-attention mechanism, which has effectively enhanced awareness of local context, e.g. local shapes of time series(Li et al., 2020).
110
+
111
+ We modify the similarity measurement between queries and keys to better suit our objective function. We measure the similarity between a query vector and a key vector by computing the cosine of the angle between them and multiplying it with the difference between the length. For the rest of this article, we refer to this similarity measurement as the “Angle&Scale” similarity. The softmax function is then applied to obtain the weights of the values. Technically, for each time series _i_ , let
112
+
113
+ **z** _t_ +1: _t_ + _H_ = [ _yt ◦_ **x** _[T] t_ +1 _[◦][. . .][ ◦]_ **[x]** _[T] t_ + _H_[]] _[T][∈]_[R] _[H][∗][d]_[+1] _[,]_ _**[Z]**[t]_[= [] **[z]**[1:] _[H][, . . . ,]_ **[ z]** _[t]_[+1:] _[t]_[+] _[H]_[]] _[T][∈]_[R][(] _[t]_[+1)] _[×]_[(] _[H][∗][d]_[+1)] where [ _· ◦·_ ] represents concatenation, and **x** _t ∈_ R _[d]_ represents the known inputs. The self-attention module first transforms _**Z** t_ into the query matrices _**Q**_ , key matrices _**K**_ , and value matrices _**V**_ via
114
+
115
+ > _**Q**_ = _**Z** t ∗_ _**W**[Q]_ = [ **q** 0 _, . . . ,_ **q** _t_ ] _[T] ∈_ R[(] _[t]_[+1)] _[×][d][k] ,_ _**K**_ = _**Z** t ∗_ _**W**[K]_ = [ **k** 0 _, . . . ,_ **k** _t_ ] _[T] ∈_ R[(] _[t]_[+1)] _[×][d][k] ,_ _**V**_ = _**Z** t ∗_ _**W**[V]_ = [ **v** 0 _, . . . ,_ **v** _t_ ] _[T] ∈_ R[(] _[t]_[+1)] _[×][d][v] ,_
116
+
117
+ 5
118
+
119
+ where _**W**[K] ,_ _**W**[Q]_ and _**W**[V]_ are learnable parameters, and the symbol _∗_ represents the convolution operation (Li et al., 2020). The similarity between **q** _i_ and **k** _j_ is defined as
120
+
121
+ **==> picture [303 x 25] intentionally omitted <==**
122
+
123
+ It should be noted that in Equation equation 7, the difference between _||_ **q** _i||_ 2 and _||_ **k** _j||_ 2 is passed into a Gaussian kernel with a radial parameter of 1. This operation is to ensure the difference ranging from 0 to 1, such that the magnitude of the cosine and difference would be at the same level.
124
+
125
+ Then, each row vector of the output matrices _**O**_ = [ **o** 1 _, . . . ,_ **o** _t_ ] _[T] ∈_ R _[t][×]_[(] _[d][v]_[+1)] , is defined as the normalized weighted average of the row vectors of the value matrices _**V**_ , concatenating its norm. By Equation equation 8, we formalize this definition as
126
+
127
+ **==> picture [333 x 37] intentionally omitted <==**
128
+
129
+ ## 3.3 TRAINING
130
+
131
+ The log-likelihood function is not directly differentiable because the Bessel function _Id_ ( _x_ ) cannot be written in a closed form (Kumar & Tsvetkov, 2018; Davidson et al., 2018). In addition, optimizing the Bessel function may cause an underflow problem when _d_ is large or _x_ is small (Kumar & Tsvetkov, 2018). Therefore, we alternatively optimize the upper bound of the logarithm of the Bessel function.
132
+
133
+ **Bound of Bessel Function** . We evaluate the lower and upper bounds of the logarithm of _Id_ ( _x_ ) and summarize the result in Proposition 3.1, and the provide the proof in Appendix. We also visualize the difference between the upper and lower bounds in Figure 4, which vividly illustrates the range of the approximation error.
134
+
135
+ **Proposition 3.1.** _Let Id_ ( _x_ ) _be the modified Bessel function of the first kind, and m_ = _d −⌊d⌋, then_
136
+
137
+ **==> picture [451 x 27] intentionally omitted <==**
138
+
139
+ By Proposition 4, we use the following approximation of the logarithm of the Bessel function at the training stage,
140
+
141
+ **==> picture [321 x 23] intentionally omitted <==**
142
+
143
+ ## 3.4 PREDICTION
144
+
145
+ At the prediction stage, there is no closed-form solution for computing the quantiles of **y** _T[i]_ +1: _T_ + _H_[.] We alternatively draw random samples from the probability density function of **y** _T[i]_ +1: _T_ + _H_[and] estimate each quantile empirically.
146
+
147
+ **Random sampling** . We first sample the scale parameter _σ_ according to Equation equation 3 and next, we draw a sample of **y** _T[i]_ +1: _T_ + _H_[according][to][Equation][equation][2.][Sampling] **[y]** _T[i]_ +1: _T_ + _H_ via Equation equation 2 is equivalent to first sampling a unit vector from a VMF distribution and multiplying it by _σ_ . An _H_ -dimensional random unit vector **y** subjecting to a VMF distribution with parameters _**µ** , κ_ , can be decomposed as
148
+
149
+ **==> picture [244 x 13] intentionally omitted <==**
150
+
151
+ where _**v**_ is a uniformly distributed unit tangent at _**µ**_ , and _t ∈_ [ _−_ 1 _,_ 1] subjects to
152
+
153
+ **==> picture [274 x 31] intentionally omitted <==**
154
+
155
+ Therefore, we respectively sample _t_ and _**v**_ , and construct a sample **y** by Equation equation 10. More details on the decomposition defined by Equation equation 10 can be referred to in (Mardia & Jupp, 2009).
156
+
157
+ 6
158
+
159
+ ## 4 EXPERIMENT
160
+
161
+ We analyze the approximation error of logarithm of Bessel function and evaluate the proposed methods on 3 datasets.
162
+
163
+ - 4.1 BESSEL FUNCTION APPROXIMATION ERROR
164
+
165
+ **==> picture [348 x 115] intentionally omitted <==**
166
+
167
+ Figure 2: Upper (a) and lower (b) bounds of the logarithm of Bessel Function. The difference between the upper and lower bounds is shown in (c). We evaluate the approximation error of the logarithm of the Bessel function given by Equation equation 9. We compute both the upper and lower bounds on a grid where _κ_ ranges from 1 _×_ 10 _[−]_[7] to 100, and _d_ ranges from 2 to 100. We plot the result in Figure 4. Besides, we observe that the logarithm of the Bessel function is bounded in a range of (-2093.07, 97.77) on the grid. The minimum and maximum values are achieved at ( _κ, d_ ) = (1 _×_ 10 _[−]_[10] _,_ 100) and ( _κ, d_ ) = (100 _,_ 2) respectively. Recall that the underflow problem usually appears when _d_ is large (empirically larger than 5) and _κ_ is small; in our case, we avoid this problem via the approximation. Besides, the difference between the upper and lower bounds ranges from 0 to 0 _._ 72, and on about 95.7% of all grid points, the difference is smaller than 0.3. Since the absolute approximation error is smaller than the difference, we subsequently conclude that the upper bound of the absolute approximation error is smaller than 0.3.
168
+
169
+ Table 1: Comparison of _q_ -risk of the VMFTransformer with competitive models on three public datasets. The prediction length (horizon) is set to H=24 and H=168. Best results are marked in bold (lower is better).
170
+
171
+ |(lower is better).||||||||||
172
+ |---|---|---|---|---|---|---|---|---|---|
173
+ |H=24|Electricity|||Solar energy|||Traffc|||
174
+ |Model|q=50|q=90|AVG|q=50|q=90|AVG|q=50|q=90|AVG|
175
+ |DeepAR|0.0734|0.0580|0.0657|0.4626|0.3097|0.3862|0.1526|0.1082|0.1304|
176
+ |FeedForward|0.0784|0.0433|0.0609|0.5341|0.3591|0.4466|0.2518|0.2011|0.2265|
177
+ |TFT|0.1107|0.0588|0.0848|0.4855|0.2471|0.3663|0.1981|0.1478|0.1730|
178
+ |Transformer|0.0789|0.0500|0.0645|0.5354|0.3502|0.4428|0.1644|0.1087|0.1366|
179
+ |Informer|0.1402|0.0729|0.1065|0.4722|0.2947|0.3834|0.6142|0.2947|0.4545|
180
+ |Autoformer|0.1224|0.0654|0.0939|0.2233|0.2113|0.2173|0.2157|0.1455|0.1806|
181
+ |**VMFTransformer**|**0.0722**|**0.0427**|**0.0575**|**0.2125**|**0.1371**|**0.1748**|**0.1490**|**0.0935**|**0.1213**|
182
+ |H=168|Electricity|||Solar energy|||Traffc|||
183
+ |Model|q=50|q=90|AVG|q=50|q=90|AVG|q=50|q=90|AVG|
184
+ |DeepAR|0.1464|0.0862|0.1163|0.5613|0.2349|0.3981|0.1553|**0.1013**|0.1283|
185
+ |FeedForward|0.1397|0.0730|0.1064|0.5891|0.2558|0.4224|0.2349|0.1360|0.1854|
186
+ |Transformer|0.1173|0.0670|0.0922|0.6319|0.3116|0.4717|0.1739|0.1063|0.1401|
187
+ |TFT|0.2243|0.1122|0.1682|0.6085|0.2030|0.4058|0.1514|0.1019|0.1267|
188
+ |Informer|0.1711|0.0749|0.1230|0.5434|0.2960|0.4197|0.7236|0.6800|0.7018|
189
+ |Autoformer|0.1342|0.0791|0.1066|0.2355|0.1589|0.1972|0.2559|0.1948|0.2254|
190
+ |**VMFTransformer**|**0.0840**|**0.0598**|**0.0719**|**0.2318**|**0.1473**|**0.1896**|**0.1225**|0.1099|**0.1162**|
191
+
192
+ - 4.2 REAL-WORLD DATA EXPERIMENT
193
+
194
+ ## 4.2.1 DATASET.
195
+
196
+ We evaluate the performance of VMFTransformer on three public datasets, which are electricity, solar energy, and traffic. Electricity contains hourly time series of the electricity consumption of 370 customers ranging from 2012-01-01 to 2014-08-31 (Salinas et al., 2019). Solar energy, ranging
197
+
198
+ 7
199
+
200
+ from 2006-01-01 to 2006-08-31, consists of 137 5-minute solar power time series obtained from the Monash Time Series Forecasting Repository (Godahewa et al., 2021). All solar power time series are aggregated to 1-hour granularity. Traffic, also used in (Salinas et al., 2019), contains the hourly measured occupancy rate, between 0 and 1, of 963 car lanes of San Francisco bay area freeways, ranging from 2008-01-02 to 2008-06-22. We follow the standard protocol and split all datasets into training, validation, and test sets in chronological order by the ratio of 7:1:2.
201
+
202
+ ## 4.2.2 IMPLEMENTATION DETAILS AND BASELINES.
203
+
204
+ Our method is trained using the ADAM optimizer (Kingma & Ba, 2014) with an initial learning rate of 10 _[−]_[3] . The batch size is set to 256. The training process is early stopped within five epochs. All experiments are implemented in PyTorch (Paszke et al., 2019).
205
+
206
+ We include a total number of 6 baseline methods. Specifically, we select four state-of- the-art transformer-based models: Informer (Zhou et al., 2021), Autoformer (Wu et al., 2021), Temporal Fusion Transformer (TFT) (Lim et al., 2021), the original Transformer (Vaswani et al., 2017)(Li et al., 2020), one RNN based method: DeepAR (Salinas et al., 2019), and one simple feed forward neural network.
207
+
208
+ ## 4.2.3 MAIN RESULTS.
209
+
210
+ We fix the input length as 168 and evaluate models with two prediction lengths: 24 and 168, corresponding to one-day and one-week horizons, respectively. We use three metrics, i.e., mean absolute error (MAE), mean squared error (MSE), and _q_ -risk, to evaluate the performance of different methods. The first two measure the performance for forecasting the mean value, while the last quantifies the accuracy of a quantile _q_ of the predictive distribution (Salinas et al., 2019). We set _q_ = 50 and 90 (Salinas et al., 2019).
211
+
212
+ We show in Table 1 and Table 2 that VMFTransformer achieves state-of-the-art performance. For _q_ -risk, as directed in Table 1, VMFTransformer performs best in almost every benchmark except for one, which is q=90 and H=168 on the traffic dataset (Table 1). Still, the average _q_ -risk is reduced (8.29%) by VMFTransformer relative to the second-best model (TFT). For MAE and MSE, we observe from Table 2 that VMFTransformer consistently outperforms all baselines.
213
+
214
+ Table 2: Comparison of MAE and MSE of the VMFTransformer with competitive models on three public datasets. The prediction length (horizon) is set to H=24 and H=168. The best results are marked in bold (lower is better).
215
+
216
+ |H=24|Electricity|Electricity|Electricity|Solar energy|Solar energy|Solar energy|Traffc|Traffc|Traffc|
217
+ |---|---|---|---|---|---|---|---|---|---|
218
+ |Model|MAE|MSE|AVG|MAE|MSE|AVG|MAE|MSE|AVG|
219
+ |DeepAR|0.0168|0.0188|0.0178|0.2619|0.3243|0.2931|0.1667|0.2042|0.1855|
220
+ |FeedForward|0.0153|0.0114|0.0133|0.3024|0.4213|0.3618|0.2751|0.3775|0.3263|
221
+ |TFT|0.0251|0.0363|0.0307|0.2749|0.3189|0.2969|0.2165|0.2912|0.2538|
222
+ |Transformer|0.0139|0.0144|0.0142|0.3031|0.4503|0.3767|0.1796|0.2050|0.1923|
223
+ |Informer|0.0845|0.0144|0.0494|0.2607|0.1824|0.2215|0.4620|0.6446|0.5533|
224
+ |Autoformer|0.1237|0.0253|0.0745|0.2106|0.1685|0.1895|0.2613|0.1542|0.2077|
225
+ |**VMFTransformer**|**0.0116**|**0.0078**|**0.0097**|**0.2092**|**0.1334**|**0.1713**|**0.1334**|**0.1185**|**0.1259**|
226
+ |H=168|Electricity|||Solar energy|||Traffc|||
227
+ |Model|MAE|MSE|AVG|MAE|MSE|AVG|MAE|MSE|AVG|
228
+ |DeepAR|0.0224|0.0301|0.0262|0.3077|0.3806|0.3442|0.1713|0.2115|0.1914|
229
+ |FeedForward|0.0211|0.0281|0.0246|0.3229|0.4122|0.3675|0.2590|0.2902|0.2746|
230
+ |TFT|0.0287|0.0469|0.0378|0.3336|0.5126|0.4231|0.1670|0.1952|0.1811|
231
+ |Transformer|0.0199|0.0296|0.0247|0.3464|0.4904|0.4184|0.1918|0.2081|0.2000|
232
+ |Informer|0.1461|0.0356|0.0908|0.2174|0.1562|0.1868|0.5591|0.8068|0.6829|
233
+ |Autoformer|0.1198|0.0242|0.0720|0.2785|0.1844|0.2314|0.2231|0.1747|0.1989|
234
+ |**VMFTransformer**|**0.0128**|**0.0205**|**0.0167**|**0.2136**|**0.1390**|**0.1763**|**0.1390**|**0.1185**|**0.1288**|
235
+
236
+ ## 4.2.4 ABLATION STUDIES.
237
+
238
+ We use the solar energy dataset for the ablation study.
239
+
240
+ **Sensitivity to Sampling Size.** Since the prediction is conducted by random sampling, we study
241
+
242
+ 8
243
+
244
+ Table 3: Comparison of the sensitivity of the VMFTransformer to the sampling size at the prediction step. The prediction length (horizon) is set to H=24 and H=168. Sample size (S) is set to 100, 1000, 10000, and 100000. The best results are marked in bold (lower is better). The stability of performance is measured by the average (AVG) divided by the standard deviation (STD).
245
+
246
+ |**Samplesize**|**Samplesize**|**100**|**1000**|**10000**|**100000**|**AVG**|**STD**|**STD/AVG**|
247
+ |---|---|---|---|---|---|---|---|---|
248
+ |H=24|MAE|0.2341|**0.2339**|0.2424|0.2368|0.2368|0.0040|0.0168|
249
+ ||MSE|0.1846|**0.1828**|0.1995|0.1924|0.1898|0.0077|0.0406|
250
+ ||50-loss|0.3243|**0.3238**|0.3370|0.3274|0.3281|0.0061|0.0187|
251
+ ||90-loss|**0.2435**|0.2667|0.2490|0.2823|0.2604|0.0177|0.0678|
252
+ |H=168|MAE|**0.2000**|0.2014|0.2005|0.2002|0.2005|0.0006|0.0030|
253
+ ||MSE|0.1303|0.1307|**0.1286**|0.1305|0.1300|0.0010|0.0077|
254
+ ||50-loss|**0.2830**|0.2848|0.2834|0.2833|0.2836|0.0008|0.0028|
255
+ ||90-loss|0.1733|**0.1724**|0.1749|0.1772|0.1744|0.0021|0.0118|
256
+
257
+ Table 4: Comparison of similarity measurements of attention module. The best results are in bold (lower is better).
258
+
259
+ |**Similarity**|**Similarity**|**Angle&Scale**|**Dot-product**|
260
+ |---|---|---|---|
261
+ |H=24|MAE|**0.2339**|0.2389|
262
+ ||MSE|0.1828|**0.1749**|
263
+ ||50-loss|**0.3238**|0.3317|
264
+ ||90-loss|**0.2667**|0.2707|
265
+ |H=168|MAE|**0.2014**|0.2082|
266
+ ||MSE|**0.1307**|0.1316|
267
+ ||50-loss|**0.2848**|0.2950|
268
+ ||90-loss|**0.1724**|0.2250|
269
+
270
+ if the model performance is sensitive to sampling size. The sampling size (S) is set as 100, 1000, 10000, and 100000. In table 3, we show that the performance of VMFTransformer is relatively stable, especially when the prediction length is 168 (STD/AVG _<_ 1.2%). When the prediction length is short (24), S=1000 tends to show the optimal performance. Therefore, we recommend S=1000 for practical use.
271
+
272
+ **Attention Module.** We compare Angle&Scale similarity versus the original dot-product similarity for the attention module. We set the prediction length at H=24 and H=168. Table 4 shows that the Angle&Scale similarity outperforms the dot-product similarity in most cases (7 out of 8). **Time Complexity.** Our Angle&Scale similarity requires more computation than the original dotproduct similarity. The popular Transformer-based methods such as Reformer, Informer, and Autoformer have a theoretical time complexity of _O_ ( _L_ log _L_ ), while the vanilla Transformer is _O_ ( _L_[2] ), where _L_ is the encoding length. The theoretical time complexity of our VMFTransformer is still _O_ ( _L_[2] ), which is the same as the vanilla Transformer.
273
+
274
+ ## 5 CONCLUSION
275
+
276
+ We propose a probabilistic forecasting model termed VMFTransformer, which captures the temporal dependence of multi-horizon targets. Extensive experiments demonstrate that our model’s performance is state-of-the-art on public datasets. The novel similarity measurement termed the “Angle&Scale” similarity is effective for multi-horizon time series forecasting.
277
+
278
+ ## REFERENCES
279
+
280
+ Torben G Andersen, Tim Bollerslev, Peter Christoffersen, and Francis X Diebold. Volatility forecasting, 2005.
281
+
282
+ - Alejandro Balb´as, Rosario Romera, and Esther Ruiz. An overview of probabilistic and time series models in finance. _Recent Advances in Applied Probability_ , pp. 27–63, 2005.
283
+
284
+ 9
285
+
286
+ - Arindam Banerjee, Inderjit S Dhillon, Joydeep Ghosh, Suvrit Sra, and Greg Ridgeway. Clustering on the unit hypersphere using von mises-fisher distributions. _Journal of Machine Learning Research_ , 6(9), 2005.
287
+
288
+ - Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In _Proceedings of the 28th International Conference on Neural Information Processing Systems-Volume 1_ , pp. 1171–1179, 2015.
289
+
290
+ - Joos-Hendrik B¨ose, Valentin Flunkert, Jan Gasthaus, Tim Januschowski, Dustin Lange, David Salinas, Sebastian Schelter, Matthias Seeger, and Yuyang Wang. Probabilistic demand forecasting at scale. _Proceedings of the VLDB Endowment_ , 10(12):1694–1705, 2017.
291
+
292
+ - John Burkardt. The truncated normal distribution. _Department of Scientific Computing Website, Florida State University_ , 1:35, 2014.
293
+
294
+ - Nicolas Chapados. Effective bayesian modeling of groups of related count time series. In _International conference on machine learning_ , pp. 1395–1403. PMLR, 2014.
295
+
296
+ - Guillaume Chevillon. Direct multi-step estimation and forecasting. _Journal of Economic Surveys_ , 21(4):746–785, 2007.
297
+
298
+ - Tim R Davidson, Luca Falorsi, Nicola De Cao, Thomas Kipf, and Jakub M Tomczak. Hyperspherical variational auto-encoders. _arXiv preprint arXiv:1804.00891_ , 2018.
299
+
300
+ - Inderjit S Dhillon and Suvrit Sra. Modeling data using directional distributions. Technical report, Citeseer, 2003.
301
+
302
+ - Chenyou Fan, Yuze Zhang, Yi Pan, Xiaoyue Li, Chi Zhang, Rong Yuan, Di Wu, Wensheng Wang, Jian Pei, and Heng Huang. Multi-horizon time series forecasting with temporal attention learning. In _Proceedings of the 25th ACM SIGKDD International conference on knowledge discovery & data mining_ , pp. 2527–2535, 2019.
303
+
304
+ - Rakshitha Godahewa, Christoph Bergmeir, Geoffrey I. Webb, Rob J. Hyndman, and Pablo MonteroManso. Monash time series forecasting archive. In _Neural Information Processing Systems Track on Datasets and Benchmarks_ , 2021.
305
+
306
+ Siddharth Gopal and Yiming Yang. Von mises-fisher clustering models. In _International Conference on Machine Learning_ , pp. 154–162. PMLR, 2014.
307
+
308
+ - Md Hasnat, Julien Bohn´e, Jonathan Milgram, St´ephane Gentric, Liming Chen, et al. von misesfisher mixture model-based deep learning: Application to face verification. _arXiv preprint arXiv:1706.04264_ , 2017.
309
+
310
+ - Rob J Hyndman, Roman A Ahmed, George Athanasopoulos, and Han Lin Shang. Optimal combination forecasts for hierarchical time series. _Computational statistics & data analysis_ , 55(9): 2579–2589, 2011.
311
+
312
+ - Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. _arXiv preprint arXiv:1412.6980_ , 2014.
313
+
314
+ - Nikita Kitaev, Łukasz Kaiser, and Anselm Levskaya. Reformer: The efficient transformer. _arXiv preprint arXiv:2001.04451_ , 2020.
315
+
316
+ - Sachin Kumar and Yulia Tsvetkov. Von mises-fisher loss for training sequence to sequence models with continuous outputs. In _International Conference on Learning Representations_ , 2018.
317
+
318
+ - Alex Lamb, Anirudh Goyal, Ying Zhang, Saizheng Zhang, Aaron Courville, and Yoshua Bengio. Professor forcing: A new algorithm for training recurrent networks, 2016.
319
+
320
+ - Shiyang Li, Xiaoyong Jin, Yao Xuan, Xiyou Zhou, Wenhu Chen, Yu-Xiang Wang, and Xifeng Yan. Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting, 2020.
321
+
322
+ - Bryan Lim, Sercan O[¨] Arık, Nicolas Loeff, and Tomas Pfister. Temporal fusion transformers for interpretable multi-horizon time series forecasting. _International Journal of Forecasting_ , 2021.
323
+
324
+ 10
325
+
326
+ Kanti V Mardia and Peter E Jupp. _Directional statistics_ , volume 494. John Wiley & Sons, 2009.
327
+
328
+ - Manfred Mudelsee. Trend analysis of climate time series: A review of methods. _Earth-science reviews_ , 190:310–322, 2019.
329
+
330
+ - Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, highperformance deep learning library. _Advances in neural information processing systems_ , 32, 2019.
331
+
332
+ - Syama Sundar Rangapuram, Matthias W Seeger, Jan Gasthaus, Lorenzo Stella, Yuyang Wang, and Tim Januschowski. Deep state space models for time series forecasting. _Advances in neural information processing systems_ , 31:7785–7794, 2018.
333
+
334
+ - David Salinas, Valentin Flunkert, Jan Gasthaus, and Tim Januschowski. DeepAR: Probabilistic forecasting with autoregressive recurrent networks. _International Journal of Forecasting_ , 2019. ISSN 0169-2070.
335
+
336
+ - Tyler R Scott, Andrew C Gallagher, and Michael C Mozer. von mises-fisher loss: An exploration of embedding geometries for supervised learning. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 10612–10622, 2021.
337
+
338
+ - David Simchi-Levi, Philip Kaminsky, Edith Simchi-Levi, and Ravi Shankar. _Designing and managing the supply chain: concepts, strategies and case studies_ . Tata McGraw-Hill Education, 2008.
339
+
340
+ - David S Stoffer and Hernando Ombao. Special issue on time series analysis in the biological sciences, 2012.
341
+
342
+ - Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In _Advances in neural information processing systems_ , pp. 3104–3112, 2014.
343
+
344
+ - Souhaib Ben Taieb and Amir F. Atiya. A bias and variance analysis for multistep-ahead time series forecasting. _IEEE Transactions on Neural Networks and Learning Systems_ , 27(1):62–76, 2016. doi: 10.1109/TNNLS.2015.2411629.
345
+
346
+ - Eric J Topol. High-performance medicine: the convergence of human and artificial intelligence. _Nature medicine_ , 25(1):44–56, 2019.
347
+
348
+ - Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In _NIPS_ . 2017.
349
+
350
+ - Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. In _International Conference on Machine Learning_ , pp. 9929–9939. PMLR, 2020.
351
+
352
+ - Ruofeng Wen, Kari Torkkola, Balakrishnan Narayanaswamy, and Dhruv Madeka. A multi-horizon quantile recurrent forecaster. _arXiv preprint arXiv:1711.11053_ , 2017.
353
+
354
+ - Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. _Advances in Neural Information Processing Systems_ , 34:22419–22430, 2021.
355
+
356
+ - Hsiang-Fu Yu, Nikhil Rao, and Inderjit S Dhillon. Temporal regularized matrix factorization for high-dimensional time series prediction. In _NIPS_ . 2016.
357
+
358
+ - Libby Zhang, Tim Dunn, Jesse Marshall, Bence Olveczky, and Scott Linderman. Animal pose estimation from video data with a hierarchical von mises-fisher-gaussian model. In _International Conference on Artificial Intelligence and Statistics_ , pp. 2800–2808. PMLR, 2021.
359
+
360
+ - Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. Informer: Beyond efficient transformer for long sequence time-series forecasting. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 35, pp. 11106–11115, 2021.
361
+
362
+ 11
363
+
364
+ ## 6 APPENDIX
365
+
366
+ **==> picture [375 x 230] intentionally omitted <==**
367
+
368
+ Figure 3: Learning curve of VMFTransformer on Solar, where the x-axis corresponds to learning steps and y-axis corresponds to training loss.
369
+
370
+ Table 5: Running time of different encoding length.
371
+
372
+ |Encodinglength|Time(seconds)|
373
+ |---|---|
374
+ |12|85.352|
375
+ |48|122.309|
376
+ |72|249.441|
377
+ |120|444.464|
378
+ |168|1629.578|
379
+ |240|2699.469|
380
+ |360|6767.158|
381
+
382
+ Table 6: Memory usage of different encoding length.
383
+
384
+ |: Memoryusage of|different encoding|
385
+ |---|---|
386
+ |Encodinglength|Memory (Byte)|
387
+ |12|2498048|
388
+ |48|3061248|
389
+ |72|3462656|
390
+ |120|4314624|
391
+ |168|5248512|
392
+ |240|6776320|
393
+ |360|9700864|
394
+
395
+ 12
396
+
397
+ Table 7: Comparison of similarity measurements of attention module for both VMF-Loss and MSELoss. The best results are in bold (lower is better).
398
+
399
+ ||VMF-Loss|VMF-Loss|VMF-Loss|
400
+ |---|---|---|---|
401
+ |H|Similarity|Angle&Scale|Dot-product|
402
+ |24|MAE|**0.2339**|0.2389|
403
+ ||MSE|0.1828|**0.1749**|
404
+ ||50-loss|**0.3238**|0.3317|
405
+ ||90-loss|**0.2667**|0.2707|
406
+ |168|MAE|**0.2014**|0.2389|
407
+ ||MSE|**0.1307**|0.1316|
408
+ ||50-loss|**0.2848**|0.2950|
409
+ ||90-loss|**0.1724**|0.2250|
410
+ ||MSE-Loss|||
411
+ |H|Similarity|Angle&Scale|Dot-product|
412
+ |24|MAE|0.7389|**0.7179**|
413
+ ||MSE|**0.4792**|0.5061|
414
+ ||50-loss|0.5059|**0.5010**|
415
+ ||90-loss|**0.8153**|0.8650|
416
+ |168|MAE|0.7179|0.7179|
417
+ ||MSE|0.5075|**0.5061**|
418
+ ||50-loss|0.5010|0.5010|
419
+ ||90-loss|**0.8631**|0.8685|
420
+
421
+ **==> picture [355 x 231] intentionally omitted <==**
422
+
423
+ Figure 4: Comparison of metrics corresponding to different H (the x-axis) where H ranges from 1 to 720.
424
+
425
+ 13
426
+
open_review/iclr2024_8834.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8834",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "LLMZip: Lossless Text Compression using Large Language Models",
6
+ "abstract": "We design a lossless compression algorithm for compressing English text by using the large language model LLaMA-7B as a predictor for the next token given a window of past tokens. Specifically, the proposed LLMZip algorithm uses the conditional probabilities at the output of the large language model in conjunction with Arithmetic Coding. We show that our scheme outperforms state-of-the-art text compression schemes such as BSC, ZPAQ, and paq8h. We show that it is possible to marginally improve the compression performance further by first extracting a summary from the document and compressing the text by conditioning on the summary. Finally, we investigate the compression performance of LLMZip when the summary (side information) is available both at the encoder and decoder. We show that the LLM is able to exploit the available side information to significantly improve the compression performance. As an important byproduct, we provide new estimates of an asymptotic upper bound on the entropy of English which is significantly smaller than currently available estimates in \\cite{cover1978convergent}, \\cite{lutati2023focus}.",
7
+ "rebuttal": "Dear Reviewer,\nWe appreciate your time and effort in reviewing our work. We would like to address each point you have raised in the review.\n\n> 1. The novelty of the LLMZip method seems to be limited. As mentioned in the introduction, it seems the connection between compression and prediction has been developed decades ago. Using language models for compression has also been explored before, with LSTM and/or RNN being used. Therefore, it appears that the sole contribution of this paper is the substitution of previously explored smaller language models with large language models (LLMs)\n\nPrior to our research, the compression performance of pre-trained LLMs with Arithmetic Coding had not been reported. While there have been works that utilized LSTMs (Deepzip) and Transformers (NNCPv2) for text compression, LLaMA1 and LLaMA2 significantly outperform earlier results using LSTMs and Transformers. We believe it is necessary to bring this to the attention of the ML community since this may have important consequences for the practice of compression in some scenarios. The idea of using the summary as side information is new. \n\n> 2. Only Llama2 has been used as the language model in the experiment. It is unclear how the performance of LLMZip would vary when employing LLMs of different types and sizes.\n\nWe also report the performance of using LLaMa1, which is the older model, in Table 1, and we do see an improvement in performance when LLaMa2 is used. Using LLMs out of the box for LLMzip compression can be very computationally intensive. As the experiments involve processing 1M tokens for each context size , more gpus are needed for longer durations when using larger versions. Hence we limited our focus to just the 7B version of LLaMa.\n\n> 3. LLMs usually require GPUs for execution, whereas traditional compression algorithms can run on CPUs, which are more widely accessible and easier to democratize.\n\nThis is a valid point. Yet, the article points to a significant gap and a new approach warrants dissemination. The approach may not be ready for widespread dissemination; however, it is a significant step in a new direction.\n\n> 4. The LLMZip approach presented in this paper appears to be more suitable for submission to an information theory conference or journal, such as ISIT.\n\nThe aim of this work is to disseminate this information to the ML / LLM community that LLMs can do SOTA compression. We believe it is important to disseminate this to the ML community rather than the IT community, because additional work is required from the ML community to make these practical, and this may have a significant impact on the future of compression in many scenarios. As quantization and other techniques to accelerate LLM inference become better, we believe this complexity can be a lot more manageable. There is scope to engineer better solutions.\n\n> 5. How does the performance of LLMZip vary when using aligned LLMs, e.g., Vicuna or fine-tuned Llama2? \n6. How does the performance of LLMZip vary when using LLMs with various scales, e.g., 13B or 65/70B?\n\nWe haven’t tried LLMZip with LLMs other than LLaMa1 and LLaMa2, as we believe they suffice to show that pre-trained LLMs do indeed offer substantial compression improvements.\n\n> 7. What does the end-to-end running time of LLMZip look like when compared to Zlib?\n\nThe run times for 100K tokens is 10 hrs for 512 context length and 35 mins for a context length of 32, while zlib does it in less than a second. While these are clearly not impressive run times, these are just out-of-the-box applications, with a lot of scope to be improved. It is also worth noting that 32 context length LLM still significantly outperforms Zlib compression. We do not have runtime comparisons for the other SOTA algorithms like paq8h or bsc.\n\nWe hope this addresses your concerns and we look forward to your further feedback.\n\nDear Reviewer,\n\nThank you for your valuable feedback and insightful queries regarding our work. We would like to address each point you have raised in the review.\n\n> 1. What are the baseline results mentioned in Table 1? I would suggest the authors include more introductions about the baseline methods and their performances. \n\nIn Table 1, we presented results for different encoding schemes which have been explained in sections 2.1.1, 2.1.2, and 2.1.3, and the entropy bound was presented in section 2.2. We compare our results to ZPAQ and PAQ8h in the discussion of the results (section 4.1). The [...]\n\nDear Reviewer,\n\nWe are grateful for the time and effort you have invested in reviewing our work. However, we believe the reviewer has overlooked the main contributions of the paper and the significance of the results. \n\n> 1. The concept of compressing text with pre-trained language models is not groundbreaking. The paper's attempt to innovate using the advanced LLaMa2 as an LLM seems to lack strong novelty.\n\n“Groundbreaking” is a relative term and we cannot argue with the reviewer’s view of what is groundbreaking. There are two important results in this paper that need to be disseminated to th [...]",
8
+ "initial_scores": [
9
+ 3,
10
+ 6,
11
+ 6
12
+ ],
13
+ "score_mean": 5.0,
14
+ "score_variance": 3,
15
+ "score_spread": 3,
16
+ "score_min": 3,
17
+ "score_max": 6,
18
+ "decision": "Reject",
19
+ "rebuttal_validity_ground_truth": false,
20
+ "meta_review": "This paper presents LLMZip algorithm that uses arithmetic coding and LLM to do text compression. This is not surprising as the conditional probabilities produced by the LLM can be very informative. The authors also presents a new estimate of asymptotic upper bound for English.\n\nStrength:\n1. An important application of LLM for text compression.\n2. A new estimate of asymptotic upper bound for English.\n\nWeakness:\n1. Novelty is quite limited as it is well expected that LLM can provide very accurate predictive probabilities.\n2. It is computationally very expensive to do for the purpose of text compression using large language models. Unless it is significantly better than other approaches, the impact is limited as well.",
21
+ "forum_id": "jhCzPwcVbG",
22
+ "primary_area": "general machine learning (i.e., none of the above)",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_fbKB",
27
+ "review_id": "A1Q5LpkhER",
28
+ "scores": {
29
+ "rating": 3,
30
+ "soundness": 2,
31
+ "presentation": 1,
32
+ "contribution": 1,
33
+ "confidence": 4
34
+ },
35
+ "review_text_chars": 1747,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 992204,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_1ivF",
43
+ "review_id": "orMCeKaOjX",
44
+ "scores": {
45
+ "rating": 6,
46
+ "soundness": 3,
47
+ "presentation": 3,
48
+ "contribution": 3,
49
+ "confidence": 3
50
+ },
51
+ "review_text_chars": 1273,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 1024243,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_o5QE",
59
+ "review_id": "efqsRW0UZR",
60
+ "scores": {
61
+ "rating": 6,
62
+ "soundness": 2,
63
+ "presentation": 2,
64
+ "contribution": 2,
65
+ "confidence": 3
66
+ },
67
+ "review_text_chars": 2143,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 2267628,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8834.md ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## LLMZIP: LOSSLESS TEXT COMPRESSION USING LARGE LANGUAGE MODELS
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ We design a lossless compression algorithm for compressing English text by using the large language model LLaMA2-7B as a predictor for the next token given a window of past tokens. Specifically, the proposed LLMZip algorithm uses the conditional probabilities at the output of the large language model in conjunction with Arithmetic Coding. Our algorithm outperforms state-of-the-art text compression schemes such as BSC, ZPAQ, and paq8h. We show that it is possible to marginally improve the compression performance further by first extracting a summary from the document and compressing the text by conditioning on the summary. Finally, we investigate the compression performance of LLMZip when the summary (side information) is available both at the encoder and decoder. We show that the LLM is able to exploit the available side information to significantly improve the compression performance. As an important byproduct, we provide new estimates of an asymptotic upper bound on the entropy of English which is significantly smaller than currently available estimates.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ There are close connections between learning, prediction, and compression. The success of ChatGPT has captured the fascination of the general public and brought the connection between learning and prediction to the fore. The main advance brought about by large language models such as LLaMA and GPT-4 is that they excel at predicting the next token in a text corpus, conditioned on knowing the past tokens within the context window.
14
+
15
+ The connection between prediction and compression was explored as early as 1951 by Shannon in order to estimate the entropy of the English language (Shannon (1951)). The idea that a good predictor for the _i_ th value in a time series based on the past values can be effectively converted to a good compression algorithm has played a prominent role in information theory. Many algorithms for speech, image, and video compression exploit this notion, either explicitly or implicitly. The performance of such a compression scheme depends substantially on the efficacy of the predictor and every time there is a major advance in the prediction capability, it behooves us to study its effect on the compression performance. For lossless text compression, the idea of combining a language model with arithmetic coding has been shown to be effective (MacKay (2003)). Indeed, the authors in Goyal et al. (2018) use recurrent neural networks (RNN) as predictors, and they report improved results for certain types of source. Their scheme still did not outperform state-of-the-art algorithms such as BSC and ZPAQ for text compression.
16
+
17
+ Given the recent release of large language models such as the LLaMA models Touvron et al. (2023a),Touvron et al. (2023b), this is an opportune time to study whether one can obtain better compression results and sharper estimates of the entropy of the English language. This is the main goal of this paper.
18
+
19
+ ## 1.1 CONTRIBUTIONS
20
+
21
+ We study the compression performance of using a foundational model (LLaMA2-7B) in conjunction with entropy coding for lossless text compression, and the resulting suite of compression algorithms are broadly termed as LLMZip. We refer to the combination of using a large language model for predictive modeling followed by using arithmetic coding for entropy coding as the LLM+AC algo-
22
+
23
+ 1
24
+
25
+ rithm. With the LLaMA2+AC algorithm, we obtain a compression ratio of 0.6936 bits/character on a 1MB section of the text8 dataset and a compression ratio of 0.7741 bits/character on a 200KB section of a text from a book that was released on Project Gutenberg after the release of LLaMA2 Cooke & Reed (2023). These compression ratios are significantly better than the compression ratio obtained using state-of-the-art text compressors such as BSC, ZPAQ and pq8h on the full 100MB of the text8 dataset. This paper is the first to demonstrate that excellent compression can be obtained using LLMs for compressing text that was not part of the training corpus.
26
+
27
+ We show that when the LLaMA2-7B large language model is used as the predictor, the asymptotic upper bound on the entropy is 0.692 bits/character when estimated using a 1MB section of the text8 dataset. This is smaller than earlier estimates provided in Cover & King (1978) and (Lutati et al., 2023, Table 4). The estimate of the upper bound increases to 0.77 bits/character for a 200 KB section of the text from Cooke & Reed (2023), which is still lower than the estimates in Lutati et al. (2023).
28
+
29
+ We introduce the idea of compressing text by first creating a summary and then conditioning on the summary to compress the text using the LLM+AC algorithm. We show that this provides marginal improvement to the compression ratio.
30
+
31
+ Finally, we study the compression performance of LLM+AC when side information such as a short summary of the text is present both at the encoder and decoder, and we show that the LLM is able to exploit the presence of side information to improve the compression performance significantly compared to when the side information is absent.
32
+
33
+ ## 1.2 RELATED WORK
34
+
35
+ There is a rich body of literature that combines predictive modeling with entropy coding for obtaining lossless compression MacKay (2003). In particular, the use of predictive modeling with arithmetic coding dates back to the 1980s Cleary & Witten (1984); Witten et al. (1987); Willems et al. (1995). Neural networks such as fully connected neural networks and LSTMs have been used for predictive modeling, and they have been used in conjunction with arithmetic coding for lossless text compression in Mahoney (2000); Goyal et al. (2018). Using transformers for obtaining general purpose compression was considered in Mao et al. (2022),Bellard (2021). Recently, work that appeared soon after our report[1] Del´etang et al. (2023) showed that a large language model Chinchilla can be used in conjunction with arithmetic coding to obtain similar compression performance to what is reported in this paper. They report the surprising result that a large language model trained on text data is also effective at compressing images and speech. Transformers have also been used in conjunction with arithmetic coding for compressing audio in D´efossez et al. (2022).
36
+
37
+ ## 2 PREDICTIVE MODELING AND COMPRESSION USING LLMS
38
+
39
+ Let **s** denote a sentence from the English language composed of _Nc_ letters, where each letter is assumed to be from the alphabet _S_ . We assume that we have a dictionary _X_ = [1 _, D_ ] of _D_ tokens. We first parse **s** into a sequence of _NT_ tokens denoted by **x** = _x_ 1 _, x_ 2 _, . . . , xi−_ 1 _, xi, xi_ +1 _, . . . xNT_ , where _xi ∈X_ . There is a one-to-one mapping between **s** and **x** and hence, compressing **s** is the same as compressing **x** . In this context, token _xi_ can be thought of as realizations of the random variable denoted by the upper case letter _Xi_ .
40
+
41
+ A language model with memory _M_ is a predictor that operates as follows. At epoch _i_ , it accepts tokens _xi−M , xi−M_ +1 _, . . . , xi−_ 1 and produces a probability mass function (PMF) for the next token in the sequence, conditioned on the past _M_ tokens; we denote the ensuing conditional distribution by _qi_ ( _xi_ ) := Pr( _Xi_ = _xi|xi−_ 1 _, xi−_ 2 _, . . . , xi−M_ ). The conditional PMF vector at epoch _i_ , namely **q** _i_ , is input to a lossless compression algorithm along with the actual sequence that needs to be compressed. The lossless compression algorithm produces a sequence of _Nb_ compressed bits. A schematic of this scheme is shown in Fig. 1.
42
+
43
+ The main metric of interest is the compression ratio _ρ_ defined as
44
+
45
+ **==> picture [94 x 22] intentionally omitted <==**
46
+
47
+ > 1We are not citing our own technical report due to double-blind requirements.
48
+
49
+ 2
50
+
51
+ **==> picture [370 x 104] intentionally omitted <==**
52
+
53
+ **----- Start of picture text -----**<br>
54
+ q i [= Pr(] [X][i] [=] [ j][|][x][i] i− [−][M] 1 [)] Losseless Nb bits<br>Tokens . . . , xi−M , . . . , xi− 1 LLM Compression<br>Tokenizer<br>Input sentence s with Nc characters<br>**----- End of picture text -----**<br>
55
+
56
+ Figure 1: Schematic showing the prediction at epoch _i_ .
57
+
58
+ ## 2.1 ENCODING SCHEMES
59
+
60
+ We consider three schemes for the lossless compression block in Fig. 1.
61
+
62
+ ## 2.1.1 COMPRESSING THE RANKS USING ZLIB
63
+
64
+ sorted PMF vector byFirst, the PMF vector **qq** ˜ _ii_ .:=Let[ _q γi_ (1) _i_ : _X, qi→X_ (2) _, . . . , q_ be a permutation on the integers from 1 to _i_ ( _D_ )][T] is sorted in descending order; we denote the _D_ such that
65
+
66
+ ## ˜ _qi_ ( _γi_ ( _j_ )) = _qi_ ( _j_ ) _, ∀j ∈X ._
67
+
68
+ That is, _γi_ ( _j_ ) is the rank of the token _j_ at epoch _i_ . We define the rank of the input sequence at epoch _i_ as the rank of the token _xi_ at epoch _i_ , _ri_ := _γi_ ( _xi_ ). The sequence _{ri}[N] i_ =1 _[T]_[is][compressed][by][a] lossless compression algorithm (such as zlib) to produce _Nb_ bits which are the final bit representation of the input sequence. The first scheme uses the zlib compression algorithm to encode the sequence of ranks. We refer to this scheme as LLaMA+zlib and denote the compression ratio of this scheme by _ρ_ LLM+zlib.
69
+
70
+ ## 2.1.2 TOKEN-BY-TOKEN COMPRESSION
71
+
72
+ The second scheme uses a token-by-token lossless compression scheme which uses a time-varying codebook to encode the token _xi_ at epoch _i_ . The time-varying codebook is formed using a prefixfree code designed under the assumption that _qi_ is the true token distribution. A natural choice for the prefix-free code is a Huffman code. Instead, for simplicity, we adopt a prefix-free code where the codeword for the token _xi_ is of length _li_ = _⌈_ log2 _qi_ (1 _xi_ ) _[⌉]_[.][A prefix-free code with this length for] _xi_ is guaranteed to exist since this choice of lengths satisfies the Kraft inequality Cover & Thomas (1999). The compression ratio for this scheme, denoted by _ρ_ LLM+TbyT, is given by
73
+
74
+ **==> picture [132 x 47] intentionally omitted <==**
75
+
76
+ ## 2.1.3 ARITHMETIC CODING
77
+
78
+ The above two schemes are intuitive, but their performance can be improved. A very effective way to combine the output of the LLM with a lossless compression scheme is by using arithmetic coding Rissanen & Langdon (1979); Bell et al. (1989); Cleary & Witten (1984). Arithmetic coding is well suited to accept time-varying probabilities, and we use _qi_ ( _xi_ ) as the probability of token _xi_ at epoch _i_ in the arithmetic coding scheme. Figure 2 shows a schematic of how the encoding procedure works when using Arithmetic Coding. We denote **Q** _i_ as the conditional cumulative mass function (CMF) vector at epoch _i_ , with _Qi_ ( _j_ ) =[�] _[j] k_ =1 _[q][i]_[(] _[k]_[)][.][In][Arithmetic][Coding,][an][interval] _Bi_ := [ _Bi,min, Bi,max_ ) is maintained and updated at epoch _i_ . We start with the initial condition _B_ 0 = [0 _,_ 1) and during the _i_ th epoch, we update _Bi_ according to
79
+
80
+ **==> picture [317 x 25] intentionally omitted <==**
81
+
82
+ 3
83
+
84
+ **==> picture [345 x 245] intentionally omitted <==**
85
+
86
+ Figure 2: Schematic showing the working of LLM in conjunction with an Arithmetic coder for encoding a sequence of tokens in LLMZip.
87
+
88
+ where _xi_ is the token in the input text at epoch _i_ that is to be encoded and _Qi_ (0) is set to zero _∀i_ . At the end of the token sequence, any real number _C_ that lies in the interval _BNT_ is selected and the binary representation of _C_ is selected as the compressed bit sequence corresponding to the sequence of input tokens. In the illustrative example shown in Fig. 2, the binary representations of _Bi,min_ and _Bi,max_ are shown in the figure. At the final stage the binary representations corresponding to _BNT ,min_ and _BNT ,max_ are 01100010001 and 01100010011, respectively and the final bit representation is 01100010010, which lies in _BNT_ . Note that in this example, encoding the first token fixes the first two bits of the final bit sequence, while encoding the second token fixes the next three bits.
89
+
90
+ The decoder also uses the same LLM (with the same parameters) as the encoder. Decoding begins by inputting the start token to the LLM at time _i_ = 1 and computing **Q** 1. Then, the decoded symbol _x_ 1 is given by the _j_ for which _C ∈_ [ _Q_ 1( _j −_ 1) _, Q_ 1( _j_ )). We maintain an interval _B_ 1 at the decoder and update it using equation 1 and equation 2. Then, we add _x_ 1 to the context window and proceed to compute **Q** 2. Thus, the decoder can mimic the same operations of the encoder to produce _Qi_ during epoch _i_ and determine _xi_ as the symbol _j_ for which _C ∈_ [ _Bi−_ 1 _,min_ +( _Bi−_ 1 _,max −Bi−_ 1 _,min_ ) _Qi_ ( _j −_ 1) _, Bi−_ 1 _,min_ + ( _Bi−_ 1 _,max − Bi−_ 1 _,min_ ) _Qi_ ( _j_ )). The decoder then updates _Bi_ . The decoder can also work in a streaming fashion, but we don’t discuss this further.
91
+
92
+ We refer to the compression ratio of this scheme as _ρ_ LLM+AC. It is known that arithmetic coding is nearly optimal as a compression scheme (MacKay, 2003, Page 115). Hence, the compression ratio for this scheme is expected to be
93
+
94
+ **==> picture [257 x 47] intentionally omitted <==**
95
+
96
+ Values _ρ_ LLM+zlib, _ρ_ LLM+TbyT, and _ρ_ LLM+AC provide upper bounds on _H_ ( **S** ).
97
+
98
+ ## 2.2 ENTROPY BOUNDS
99
+
100
+ This section explores entropy bounds more rigorously. Let **S** _∈S[∞]_ be a random process that represents language input. The _n_ th character in the sequence is denoted by _Sn_ , whereas the string
101
+
102
+ 4
103
+
104
+ of characters from the beginning to the _n_ th character is expressed as **S** _n_ . The tokenizer parses the input string and maps it to a sequence of tokens **X** = _X_ 1 _, X_ 2 _, . . ._ using a variable-length mapping. In this sequence, _Xi_ is the _i_ th token. The number of characters employed to generate _Xi_ depends on the realization of the random process and, as such, we introduce random variable _Bi_ to identify the number of characters contained in the _i_ th token. Motivated by practical considerations, we only admit tokenizers for which _Bi ≥_ 1 and _Bi_ is uniformly bounded, with _Bi < B < ∞_ ; these are characteristics of commonly used tokenizers. An immediate consequence of this framework is that, as the number of tokens grows unbounded _NT →∞_ , the number of characters must also approach infinity _Nc →∞_ . Formally, consider the tokenizer function _T_ : _S_[N] _→X_[N] operating on infinite symbol sequences; that is, _T_ ( **s** ) = **x** where **s** is an infinite sequence in _S[∞]_ . For natural number, _i ∈_ N, define _mi_ : _S_[N] _→_ N to be the (time) index during which the tokenizer working sequentially on an input sequence **s** outputs its _i_ th token. Specifically, suppose **s** is given, then
105
+
106
+ **==> picture [274 x 15] intentionally omitted <==**
107
+
108
+ We note that, by construction, lim _n→∞_ length ( _T_ ( **s** _n_ )) = _∞_ and, as such, _mi_ ( _·_ ) is well-defined. It may be pertinent to stress that the tokenizer function applied to truncated sequences is not necessarily injective because multiple finite input series can map to the same output. This phenomenon is a consequence of the fact that, at any point in time, a tokenizer working sequentially may be waiting for an additional symbol before it can unambiguously select the next output token, i.e., there may be instances where _T_ ( **s** _n_ ) = _T_ ( **s** _n_ +1). However, if we restrict the input series to input indices when a new token is produced, then the restricted mapping becomes injective. That is, suppose _T_ ( **s** ) = **x** , then the only (finite) series of input symbols in the restricted set for which _T_ ( **y** _n_ ) = **x** _i_ is **s** _mi_ ( **s** ). Given a fixed sequence **s** , we can express the number of characters contained in a token as
109
+
110
+ **==> picture [92 x 11] intentionally omitted <==**
111
+
112
+ with initial condition _m−_ 1 = 0. Consequently, the number of characters embedded in the first _NT_ tokens for a random input becomes _Nc_ =[�] _[N] i_ =1 _[T][B][i]_[.]
113
+
114
+ Having established these properties, we turn to the relation between _H_ ( **S** ) and _H_ ( **X** ). We make the assumption that _{Sk}[∞] k_ =1[,] _[{][B][i][}][∞] i_ =1[,][and] _[{][X][i][}][∞] i_ =1[are][stationary][and][ergodic][processes.][We][know] from the Shannon-McMillan-Breiman Theorem Cover & Thomas (1999) that
115
+
116
+ **==> picture [347 x 22] intentionally omitted <==**
117
+
118
+ Let Ω **S** be the collection of _ω ∈_ Ω for which this limit holds. In an analogous manner, the ShannonMcMillan-Breiman theorem implies
119
+
120
+ **==> picture [348 x 21] intentionally omitted <==**
121
+
122
+ Define Ω **X** as the collection of _ω ∈_ Ω for which this limit holds. Finally, by construction, we have
123
+
124
+ **==> picture [275 x 22] intentionally omitted <==**
125
+
126
+ Set Ω _B_ to be the set of _ω ∈_ Ω for which this limit holds. For any _ω ∈_ Ω **S** _∩_ Ω **X** _∩_ Ω _B_ , we deduce that
127
+
128
+ **==> picture [216 x 101] intentionally omitted <==**
129
+
130
+ The first equality follows from equation 5. The second equality is a consequence of the fact that _{li_ = _mi_ ( **S** ( _ω_ )) _|i ∈_ N _}_ is an infinite subset of the natural numbers. Since a subsequence of a convergent sequence must converge to the same limit, we immediately gather that this alternate form
131
+
132
+ 5
133
+
134
+ approaches _H_ ( **S** ). The third equality is a consequence of the equivalence between the following two events,
135
+
136
+ _{ω ∈_ Ω _|_ **X** _i_ ( _ω_ ) = **x** _i}_ = _{ω ∈_ Ω _|T_ ( **S** _mi_ ( **S** ( _ω_ ))) = **x** _i}._
137
+
138
+ This is characteristic of the tokenization process, and it is a consequence of the correspondence described above. The last step holds because we are considering an _ω ∈_ Ω _B_ . The sets Ω **S** , Ω **X** , and Ω _B_ each have probability one; this implies that their intersection also has probability one, Thus, we must conclude that
139
+
140
+ **==> picture [132 x 25] intentionally omitted <==**
141
+
142
+ As a corollary to this result, any upper bound on _H_ ( **X** ) produces an upper bound on _H_ ( **S** ). This is the property we wish to exploit.
143
+
144
+ Then, from the results of Cover & King (1978), we can see that
145
+
146
+ **==> picture [302 x 31] intentionally omitted <==**
147
+
148
+ where _qi_ ( _·_ ) is the output PMF from the language model. Therefore, an asymptotic upper bound on the entropy rate _H_ ( **S** ) is given by
149
+
150
+ **==> picture [290 x 29] intentionally omitted <==**
151
+
152
+ We refer to the expression in the right-hand side of equation 9 as the asymptotic upper bound on _H_ ( **S** ) and denote it by _Hub_ . The numerator in equation 9 represents the average number of bits required to represent the tokens **X** _NT_ , and the denominator in equation 9 is the average number of characters per token. Hence, the unit for _H_ ( **S** ) is bits/character. In Cover & King (1978), the authors offer 1.3 bits/character as an estimate of the asymptotic upper bound on _H_ ( **S** ). They also provide an extensive list of references and a discussion of the literature on estimating the entropy of English prior to 1976. Very recently, in (Lutati et al., 2023, Table 4), the performance of several language models have been evaluated on the text8 dataset using a metric called bits per character (bpc). The bpc metric in Lutati et al. (2023) is the same as the asymptotic upper bound in this paper.
153
+
154
+ It is important to emphasize that _Hub_ , _ρ_ LLaMA+zlib, _ρ_ LLaMA+TbyT, and _ρ_ LLM+AC are estimated using a finite number of tokens; the statistical properties of such estimates should be kept in mind when interpreting the results, especially since the tokens are from a very large alphabet and the language model has a large memory.
155
+
156
+ ## 3 LLM-BASED COMPRESSION WITH SIDE INFORMATION
157
+
158
+ In this section, we discuss the value of side information in the form of a summary of the text, when it is available either during compression alone, or both during compression and decoding.
159
+
160
+ ## 3.1 SUMMARY AVAILABLE AT THE ENCODER
161
+
162
+ We first consider the case where the text is compressed by conditioning on a summary, which is generated at the encoder. Let **S** denote the text to be compressed and let _g_ ( **S** ) denote a function of the text such as, for example, a summary. The joint entropy of **S** and _g_ ( **S** ) can be decomposed in two different ways,
163
+
164
+ **==> picture [323 x 25] intentionally omitted <==**
165
+
166
+ Above, equation 11 follows from equation 10 because _g_ ( _·_ ) is a deterministic function and, hence, _H_ ( _g_ ( **S** ) _|_ **S** ) = 0. Intuitively, the implication of equation 11 is that it is (nearly) optimal to compress **S** by using _H_ ( _g_ ( **S** )) bits to compress _g_ ( **S** ) and using _H_ ( **S** _|g_ ( **S** )) bits to compress **S** by conditioning on _g_ ( **S** ). An optimal universal compression algorithm may implicitly leverage these notions and, when such an algorithm is available, there is no discernible benefit to explicitly taking this two-step
167
+
168
+ 6
169
+
170
+ approach. Yet, LLM-based compressors are not necessarily universally optimal – particularly for finite context window lengths and, therefore, their gap to optimality may be different depending on whether we compress **S** with or without conditioning on _g_ ( **S** ). Although the English language is often modeled as an ergodic random process, a finite length of English text may exhibit substantial variations in its statistical properties based on the underlying context. In this case, _g_ ( **S** ) can act as the hidden context, and, hence, the two-step approach can aid in the compression of **S** .
171
+
172
+ We perform compression using the summary _g_ ( **S** ) as follows. The summary _g_ ( **S** ) is parsed into a sequence of tokens denoted by **y** . We first use LLM+AC to compress _g_ ( **S** ) and obtain _Ng_ compressed bits for the summary. Then, the LLM+AC algorithm is adapted to compress the text **S** such that at each epoch _i_ , we pass the summary tokens **y** , along with the past _M_ tokens to the LLM, to obtain PMF vectora conditional **q** ˜ _i_ PMFis then passed to the arithmetic coder, which produces a sequence of _q_ ˜ _i_ ( _xi_ ) := Pr( **X** _i_ = _xi|_ **y** _, xi−_ 1 _, xi−_ 2 _, . . . , xi−M_ ) _, ∀xi ∈X_ . The _Nb_ conditionalbits. At the decoder, the summary is first decoded and then added to the context window similar to what is done at the encoder. The compression ratio ( _ρ_ ˜) of this scheme is _ρ_ ˜ = _[N][g] N_[+] _c[N][b]_ , where _Nc_ is the number of characters in the text **s** alone.
173
+
174
+ It should be noted that compressing _g_ ( **S** ) requires an additional _Ng ≥ H_ ( _g_ ( **S** )) bits. Therefore, the gain in compressing **S** by conditioning on _g_ ( **S** ) should exceed _Ng_ bits for the two-step approach to be beneficial. In Section 4, we show that this is indeed the case in some cases.
175
+
176
+ ## 3.2 SUMMARY AVAILABLE AT BOTH THE ENCODER AND DECODER
177
+
178
+ We next consider the compression performance of LLM+AC when _g_ ( **S** ) is available as side information to both the encoder and the decoder. Since _H_ ( **S** _|g_ ( **S** )) _≤ H_ ( **S** ), we expect an improvement in the compression performance if LLM+AC can exploit the side information, . As in Sec. 3.1, the side information is added to the beginning of the context window for all _i_ . The difference from Sec. 3.1 lies in the fact that _g_ ( **S** ) does not have to be compressed since it is available at the decoder.
179
+
180
+ ## 4 RESULTS
181
+
182
+ We used the two versions of the LLaMA foundation models, which are LLaMA-7B Touvron et al. (2023a) and LLaMA2-7B Touvron et al. (2023b) as the large language models for our results. We will refer to them as LLaMA and LLaMA2, respectively.
183
+
184
+ It should be noted that the tokenizer and the model are trained on a large corpus of text which includes uppercase letters, special characters, etc. This is in contrast to many studies on estimating the entropy of English, where the input alphabet is restricted to lowercase letters such as in Shannon (1951); Cover & King (1978); Goyal et al. (2018). This makes it difficult to perform an entirely fair comparison between these models. By using a pre-trained LLM on an input consisting only of lowercase letters, we may be unfair to the LLM. We will show that LLM-based compression has excellent performance regardless of this issue.
185
+
186
+ ## 4.1 COMPRESSION PERFORMANCE WHEN USING LLAMA MODELS ON TEXT8 DATASET
187
+
188
+ In our first experiment, we used the text8 dataset available from [URL removed] dc/text8.zip to benchmark the performance of LLaMA2 with compression against other stateof-the-art results for text compression. In Goyal et al. (2018), it is mentioned that the ZPAQ algorithm obtains the best compression ratio for the text8 dataset with a compression ratio of 1.4 bits/character. In Mahoney (2011), the paq8h algorithm provides a compression ratio of 1.2 bits/character. To the best of our knowledge, this appears to be the best performance reported. Therefore, we used these two algorithms as baselines. We did not independently run the ZPAQ or paq8h algorithms; we are quoting results from the existing literature.
189
+
190
+ The performance of LLaMA2 is shown in Table 1 for various memory( _M_ ) lengths. It can be seen that using LLaMA2 with Arithmetic Coding and a memory of 511 results in a compression ratio of 0.6936 bits/character. This is substantially better than the state-of-the-art results mentioned in Goyal et al. (2018) or Mahoney (2011) and is very close to our computed upper bound. The performance with the LLaMA2+zlib algorithm and LLaMA2+TbyT compression is also better than that of the
191
+
192
+ 7
193
+
194
+ known state-of-the-art results. Table 1 also shows the upper bound in equation 9. It should be noted that the upper bound on the entropy is lower than that computed by Shannon in Shannon (1951), Cover and King in Cover & King (1978) and more recent estimates based on neural networks in Lutati et al. (2023). It can be seen that the compression performance improves with increasing _M_ .
195
+
196
+ We included the performance of LLaMA+AC in the last column, and we can observe that using LLaMA2 indeed improves the performance across all memory lengths. We also observed that the inference time scaled approximately linearly with the input memory length, i.e., batches with a memory of 511 tokens ran about 16 times slower than batches with a memory of 31 tokens.
197
+
198
+ Table 1: Compression performance of LLMZip on text8 dataset as a function of its memory ( _M_ )
199
+
200
+ |_M_|_Nc_|_Nt_|_H_ub<br>(bpc)|_ρ_LLaMA2+zlib<br>fle size (bits)|_ρ_LLaMA2+TbyT<br>(bpc)|_ρ_LLaMA2+AC<br>(bpc)|_ρ_LLaMA+AC<br>(bpc)|
201
+ |---|---|---|---|---|---|---|---|
202
+ |31|4_,_568_,_855|1_,_000_,_000|0_._8955|1_._2963|1_._0241|**0**_._**8962**|0_._9145|
203
+ |127|4_,_568_,_855|1_,_000_,_000|0_._7343|1_._1104|0_._8685|**0**_._**7352**|0_._752|
204
+ |255|4_,_568_,_855|1_,_000_,_000|0_._708|1_._0792|0_._8435|**0**_._**7089**|0_._725|
205
+ |511|4_,_568_,_855|1_,_000_,_000|0_._6927|1_._061|0_._8292|**0**_._**6936**|0_._7101|
206
+
207
+ Note that we did not run the LLaMA models on the entire 100MB of the text8 dataset due to compute limitations. Hence, the comparison with the state-of-the-art corresponds to estimates obtained from different input sizes. Also, since the text8 dataset is derived from Wikipedia on which LLaMA models were trained, it is likely that our results for the text8 dataset are optimistic. We next test on a problem for which we are certain that the LLaMA models were not trained.
208
+
209
+ ## 4.2 COMPRESSION PERFORMANCE WHEN USING LLAMA2 ON A RECENT BOOK
210
+
211
+ We study the performance of LLaMA2 on a recently released (Sep 20, 2023) book Cooke & Reed (2023) under Project Gutenberg, which appeared after LLaMA2 was published. We extracted text that corresponds to 50,000 tokens. We applied the same text pre-processing as used in the text8 dataset to clean the text from the book. The resulting text data contained only lowercase letters and space as in the text8 dataset. Table 2 shows the compression performance of the LLM on the book. It can be seen that the compression ratios and the entropy upper bound are slightly higher compared to the performance on the text8 dataset; nevertheless, the asymptotic upper bound on the entropy is lower than that of currently known models given in (Lutati et al., 2023, Table 4)). Similarly, the compression ratios of LLaMA2-based compressors are better than those of known state-of-the-art results for the text8 dataset. The compression ratio for LLaMA2 with arithmetic coding is only 0.7741 bits/character and is very close to the estimated upper bound on _H_ ( **S** ).
212
+
213
+ Table 2: Compression performance of the LLaMa2 + AC on a recently published book in Project Gutenberg Cooke & Reed (2023), as a function of its memory ( _M_ )
214
+
215
+ |_Nc_|_Nt_|_H_ub<br>(bpc)|_ρ_LLaMA2+zlib<br>(bpc)|_ρ_LLaMA2+TbyT<br>(bpc)|_ρ_LLaMA2+AC<br>(bpc)|Standalone Zlib<br>(bpc)|
216
+ |---|---|---|---|---|---|---|
217
+ |210_,_682|48_,_921|1_._0974|1_._5571|1_._2296|1_._0977|2_._55|
218
+ |210_,_682|48_,_921|0_._8544|1_._2783|0_._9941|0_._8552|2_._55|
219
+ |210_,_682|48_,_921|0_._8047|1_._2213|0_._9474|0_._8054|2_._55|
220
+ |210_,_682|48_,_921|0_._7733|1_._1826|0_._9172|0_._7741|2_._55|
221
+
222
+ To provide some insight into the comparative performance of LLaMA2 based compressors visa-vis standard text compressors, we also ran the zlib algorithm directly on the input text. The resulting compression ratio was 2.55 bits/character (shown in the last column). It is clear that the performance of LLaMA2 based compressors is substantially better than this. The zlib algorithm
223
+
224
+ 8
225
+
226
+ may not be optimized for compressing small text samples and hence, the compression ratio for the zlib algorithm and the LLaMA2+zlib will likely improve on longer texts.
227
+
228
+ ## 4.3 COMPRESSION PERFORMANCE OF LLAMA2 MODELS ON A RESEARCH PAPER BY USING A SUMMARY OF THE PAPER
229
+
230
+ In Table 3, we report the compression performance of LLaMa2 + AC on a recently published research paper Li et al. (2023) in arXiv. We evaluate six different texts as summaries which include the paper’s abstract, the first paragraph in the introduction, and four summaries of varying lengths that were generated using GPT-4. We compress the Latex source code available for the paper and do not include the abstract as part of the compression. We observe that when the summary is available as side information at both the encoder and decoder, the compression ratio ( _ρLLaMa_ 2+ _AC_ ), always improves. It’s worth noting that Summary 3 and Summary 4 offer the maximum improvements compared to others, and yet Summary 3 is roughly half the size of that of Summary 4. We further noted that Summary 3 is less compressible than Summary 2, which suggests that it is more informative. It is also worth noting that Paragraph 1 offers the least improvement, indicating the improvements are indeed due to the conditioning of a valid summary, and conditioning on just a paragraph may not yield significant improvements.
231
+
232
+ For the case when the summary is only available at the encoder, we only get a marginal improvement in the compression ratio denoted by _ρ_ ˜ _LLaMa_ 2+ _AC_ . Summary 3 offers the best compression ratio, while Summary 4 and Paragraph 1 have compression ratios worse than the no summary case.
233
+
234
+ Conditioning on summaries is much less computationally expensive than using an LLM with a larger memory _M_ . This is because the summaries are fixed text, at a fixed position and hence the corresponding keys, queries, and values can be computed once and reused for the subsequent attention mechanisms in each epoch. This is not the case when the LLM has larger _M_ , as for every stride across the text, the positional encodings change and hence the keys and values of the tokens present in previous epochs cannot be reused.
235
+
236
+ Table 3: Compression performance of LLaMa2 +AC with summary and M = 511 on a recently published paper in arXiv Li et al. (2023)
237
+
238
+ |_Type_|Summary|Summary|Summary|Text|Text|Text|_Ng_+_Nb_|_ρLLaMa_2+_AC_<br>(bpc)|˜_ρLLaMa_2+_AC_<br>(bpc)|
239
+ |---|---|---|---|---|---|---|---|---|---|
240
+ ||_Ntg_|_Ncg_|_Ng_|_Nt_|_Nc_|_Nb_||||
241
+ |No Summary|0|0|0|12578|43787|26354|26354|0_._6019|0_._6019|
242
+ |Abstract|252|1312|662|12578|43787|25596|26258|0_._5846|0_._5997|
243
+ |Summary 1|219|1095|611|12578|43787|25612|26223|0_._5849|0_._5989|
244
+ |Summary 2|473|2233|1281|12578|43787|24836|26117|0_._5672|0_._5965|
245
+ |Summary 3|428|1918|1375|12578|43787|24370|25745|0_._5566|0_._5880|
246
+ |Summary 4|945|4919|2228|12578|43787|24328|26556|0_._5556|0_._6064|
247
+ |Paragraph 1|281|1255|931|12578|43787|26190|27121|0_._5981|0_._6194|
248
+
249
+ ## 5 CONCLUSION
250
+
251
+ In this paper, we introduced a suite of lossless text compression algorithms that use an LLM (LLaMA2-7B) in conjunction with entropy coding. The LLM is used to predict the next token given a window of past tokens as memory. Our suite of algorithms outperforms state-of-the-art compression algorithms like BSC, ZPAQ and paq8h. We obtained our best result when using LLaMA2-7B with arithmetic coding and a memory of 512 tokens. We also observed that LLMs with greater memory length showed better performance. Additionally, we provided estimates of an asymptotic upper bound on the entropy of English, which are significantly smaller than those found in prior work. Finally, we showed that when using LLaMA2 + AC for compressing a document, a marginal performance improvement can be obtained by first extracting a summary of the document, and compressing the document by conditioning on this summary. We also show that when such a summary is available at both the encoder and decoder a significant performance improvement can be obtained.
252
+
253
+ 9
254
+
255
+ ## REFERENCES
256
+
257
+ - Timothy Bell, Ian H Witten, and John G Cleary. Modeling for text compression. _ACM Computing Surveys (CSUR)_ , 21(4):557–591, 1989.
258
+
259
+ Fabrice Bellard. Nncp v2: Lossless data compression with transformer. 2021. URL https: //api.semanticscholar.org/CorpusID:231917764.
260
+
261
+ John Cleary and Ian Witten. Data compression using adaptive coding and partial string matching. _IEEE transactions on Communications_ , 32(4):396–402, 1984.
262
+
263
+ - Alfred Hands Cooke and Frederick Richard Cowper Reed. _The Cambridge natural history, Vol. 03 (of 10)_ . New York: MacMillan and Co., 1895.; Project Gutenberg, Sep 20, 2023, 2023. [URL removed]
264
+
265
+ Thomas Cover and Roger King. A convergent gambling estimate of the entropy of english. _IEEE Transactions on Information Theory_ , 24(4):413–421, 1978.
266
+
267
+ Thomas M Cover and Joy A Thomas. _Elements of Information Theory_ . Wiley, New York, 1999.
268
+
269
+ - Gr´egoire Del´etang, Anian Ruoss, Paul-Ambroise Duquenne, Elliot Catt, Tim Genewein, Christopher Mattern, Jordi Grau-Moya, Li Kevin Wenliang, Matthew Aitchison, Laurent Orseau, Marcus Hutter, and Joel Veness. Language modeling is compression, 2023.
270
+
271
+ - Alexandre D´efossez, Jade Copet, Gabriel Synnaeve, and Yossi Adi. High fidelity neural audio compression, 2022.
272
+
273
+ - Mohit Goyal, Kedar Tatwawadi, Shubham Chandak, and Idoia Ochoa. Deepzip: Lossless data compression using recurrent neural networks. _arXiv preprint arXiv:1811.08162_ , 2018.
274
+
275
+ - Cheng Li, Mingyang Zhang, Qiaozhu Mei, Yaqing Wang, Spurthi Amba Hombaiah, Yi Liang, and Michael Bendersky. Teach llms to personalize – an approach inspired by writing education, 2023.
276
+
277
+ - Shahar Lutati, Itamar Zimerman, and Lior Wolf. Focus your attention (with adaptive IIR filters), 2023.
278
+
279
+ - David JC MacKay. _Information theory, inference and learning algorithms_ . Cambridge university press, 2003.
280
+
281
+ Matt Mahoney. text8 results. [URL removed] 2011.
282
+
283
+ Matthew V Mahoney. Fast text compression with neural networks. In _FLAIRS conference_ , pp. 230–234, 2000.
284
+
285
+ - Yu Mao, Yufei Cui, Tei-Wei Kuo, and Chun Jason Xue. Trace: A fast transformer-based generalpurpose lossless compressor. In _Proceedings of the ACM Web Conference 2022_ , pp. 1829–1838, 2022.
286
+
287
+ - Jorma Rissanen and Glen G Langdon. Arithmetic coding. _IBM Journal of research and development_ , 23(2):149–162, 1979.
288
+
289
+ - Claude E Shannon. Prediction and entropy of printed english. _Bell system technical journal_ , 30(1): 50–64, 1951.
290
+
291
+ - Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timoth´ee Lacroix, Baptiste Rozi`ere, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models, 2023a.
292
+
293
+ - Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee,
294
+
295
+ 10
296
+
297
+ Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. Llama 2: Open foundation and fine-tuned chat models, 2023b.
298
+
299
+ - Frans MJ Willems, Yuri M Shtarkov, and Tjalling J Tjalkens. The context-tree weighting method: Basic properties. _IEEE transactions on information theory_ , 41(3):653–664, 1995.
300
+
301
+ - Ian H Witten, Radford M Neal, and John G Cleary. Arithmetic coding for data compression. _Communications of the ACM_ , 30(6):520–540, 1987.
302
+
303
+ 11
304
+
open_review/iclr2024_8837.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8837",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "PACIA: Parameter-Efficient Adapter for Few-Shot Molecular Property Prediction",
6
+ "abstract": "Molecular property prediction (MPP) plays a crucial role in biomedical applications, but it often encounters challenges due to a scarcity of labeled data. Existing works commonly adopt gradient-based strategy to update a large amount of parameter for property-level adaptation. However, the increase of adaptive parameters can cause overfitting and lead to poor performance. Observing that graph neural network (GNN) performs well as both encoder and predictor, we propose PACIA, a parameter-efficient GNN adapter for few-shot MPP. We design a unified adapter to generate a few adaptive parameters to modulate the message passing process of GNN. We then adopt hierarchical adaptation mechanism to adapt the encoder on property-level and the predictor on molecule-level by the unified GNN adapter. Extensive results show that PACIA obtains the state-of-the-art performance in few-shot MPP problems, and our proposed hierarchical adaptation mechanism is rational and effective.",
7
+ "rebuttal": "**Q1. Lack of comparison to SOTA. In Tab. 1 and Tab. 2, the only previous works on few-shot MMP included are ADKF-IFT and PAR. The authors should compare the proposed methods with more existing SOTAs such as [a].**\n\n*Reply*. We compare PACIA with ADKF-IFT and PAR, which are recent baselines obtaining the best performance on MoleculeNet and FS-Mol respectively. We also mention MHNfs (Schimunek et al., 2023), which is not included as it uses additional reference molecules from external datasets. \nFor reference [a], could you please provide the paper title?\n\n\n**Q2. Lack of novelty. The core component is HyperNet. Based on HyperNet, the proposed PACIA makes no significant technical contribution.**\n\n*Reply*. Hypernetworks are a general concept involving neural networks that are trained to generate parameters for a main network. \nDesigning how a hypernetwork modulates the main network is a problem-specific and non-trivial challenge.\nOne cannot directly apply hypernetworks designed for other problems to a new problem. \nConsidering the few-shot MPP problem, existing works can be summarized within an encoder-predictor framework, where GNNs perform effectively, acting as both encoders and predictors. \nCorrespondingly, we have designed a unified GNN adapter that generates a few adaptive parameters. These parameters modulate the message passing process of the GNN in two key aspects: node embedding and propagation depth.\nAs a result, the encoder adapts at the property level, while the predictor adapts at the molecule level. \nOur proposed PACIA effectively addresses the few-shot MPP problem, achieving state-of-the-art performance on benchmark datasets.\nIn conclusion, PACIA contributes significantly to both the technological and empirical advancements in the field of few-shot MPP. \n\n**Q3. Poor writing. Many sentences are grammatically wrong.**\n\n*Reply*. We sincerely apologize for the grammatical issues. We have now carefully proofread the manuscript and marked the grammar corrections in the revised version.\n\n**Q4. The design in modulating propagation depth seems not fully reasonable. The design in modulating propagation depth seems not fully reasonable. According to Eqn. (8), $[p]_l$ measures the probability of the event that \"the $l$-th layer is in the model\". However, from Eqn. (7), the only constraint on $[p]_l$ is $\\sum_l [p]_l=1$. So it is likely that for some $1<i<j<L$, $[p]_i<[p]_j$. That is to say, a hidden layer (i.e., layer $j$) is more likely to be in the model than a layer before it (i.e. layer $i$), which is unreasonable.**\n\n*Reply*. This is a misunderstanding: the relative magnitude between $[p]_i$ and $[p]_j$ is independent of the order between i and j.\n\nFor any input sample $\\mathcal{X}_{\\tau,q}$, it will always go through a complete message passing procedure in a $L$-layer GNN. Afterwards, for each layer $l\\in1,2\\cdots,L$, hypernetwork takes the node embeddings after $l$-th layer (i.e., {$\\textbf{h}^l$}) as input, and generates a scalar $[p]_l$ representing how likely it can get good performance by using {$\\textbf{h}^l$} as the final node embeddings. \nDuring meta-training, $\\{[p]_l\\}$ act as differentiable combination weights in Equation (8). In this way, the hypernetwork is trained to learn the optimal mapping from {$\\textbf{h}^l$} to $[p]_l$, through gradient flow among Equation (12)-(3)-(5)-(8)-(10) or Equation (12)-(3)-(5)-(8)-(11). \nDuring meta-testing, we directly select one optimal layer $l'$ by Equation (13). Then, only {$\\textbf{h}^{l'}$} of $l'$th layer are fed to next module.\n\n**Q1. The exposition on the methodology appears somewhat nebulous, which hampers a clear comprehension of the distinct contributions of each module. Specifically, the average representation at the l-th GNN layer, as depicted in Equation (9), seems disconnected from subsequent steps. The property adaptation and molecule adaptation are not clear in the algorithm.**\n\n*Reply*. We apologize for the confusion. \nWe have revised Generating Adaptive Parameters by Hypernetwork paragraph in Section 4.1 to make it clearer. \nProperty-level adaptation is generated by Equation (9) and Equation (10), and mole [...]\n\n**Q1. Comprehensive Comparison with Baselines: Could the authors provide additional comparisons with a broader range of existing methods, especially those that have shown promising results in related domains, to strengthen the validation of PACIA’s performance?** \n\n*Reply*. Please check Q2 in global response. \n\n\n**Q2. Analysis of Hypernetworks: How do different configurations or architectures of hypernetworks affect the performance of PACIA? Are there specific settings that are more optimal for this application?**\n\n*Reply*. \nFor specific settings, please refer to Table 4 and Table 5 for hyperp [...]\n\n**Q1. The approaches of modulating node embedding and GNN depth do not have sufficient theoretical support. It is more like experimental attempts. Can the authors provide more details about why the implementation is designed as such? How does such implementation ensure the adaptor learns sufficient information?**\n\n*Reply*. Our PACIA is designed upon hypernetworks. It is proved that hypernetworks can be more expressive and can reach the same error with lower complexity (number of trainable parameters) than embedding-based methods in general [a1]. A line of amortization-based approaches (Requeim [...]\n\n### Global Response\nWe sincerely thank all reviewers for their valuable comments. We have revised the uploaded PDF, where any contents that differ from the first submission version are highlighted in blue.\n\n### Global Response Q1\n**Q1. Why use different baselines for comparison in Tables 1 and 2?**\n\n*Reply*. \nIn the submitted manuscript, \nwe adopt different baseline sets for MoleculeNet and FS-Mol as these two datasets have large discrepancy.\nAs discussed in Setting paragraphs of Section 5.1 and Section 5.2, MoleculeNet is commonly used to evaluate the performance of $2$-way $K$-shot few-shot MPP problem where bo\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 5,
10
+ 6,
11
+ 6,
12
+ 3
13
+ ],
14
+ "score_mean": 5.0,
15
+ "score_variance": 2,
16
+ "score_spread": 3,
17
+ "score_min": 3,
18
+ "score_max": 6,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "The paper introduces a novel method for few shot learning in molecule property prediction. It is an important area that requires further investigation. The labels are often scarce in chemical tasks which necessitates developing methods that can work with very few annotations. \n\nReviewers have not reached an agreement. I would like also to add that I have downweighted the review by mPeR in the final decision, as the Reviewer has not engaged in the rebuttal process, while it was necessary due to the breviety of the comments.\n\nAmong the significant concerns raised by reviewers were: (a) a lack of clarity on the exposition and motivation of the method, (b) a lack of technical novelty. There was also a concern with not including certain models, which was addressed in the discussion phase. \n\nI agree with the first concern, but I also think that this aspect has been improved during the discussion phase. Even so, the paper is still unclear at times, e.g. when the Authors claim that “molecule-level differences” are not addressed by other few shot learning methods.\n\nThe second concern was the most important in the decision. Indeed the work is a relatively straightforward adaptation of adapters/hypernetworks to the task. The performance is somewhat comparable to the next best-performing method (ADKF-IFT). From this perspective, this work might be of limited interest to the ICLR community, while might be a very valuable addition to journals less focused on novelty or topical journals in",
22
+ "forum_id": "HrTGl8AhnS",
23
+ "primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_tnxf",
28
+ "review_id": "qZG649VMCG",
29
+ "scores": {
30
+ "rating": 5,
31
+ "soundness": 3,
32
+ "presentation": 2,
33
+ "contribution": 2,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 2059,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 391850,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_WZaL",
44
+ "review_id": "DjuY3adPvy",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 3,
48
+ "presentation": 3,
49
+ "contribution": 2,
50
+ "confidence": 2
51
+ },
52
+ "review_text_chars": 1886,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 546561,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_smzw",
60
+ "review_id": "H7hKwTkajG",
61
+ "scores": {
62
+ "rating": 6,
63
+ "soundness": 3,
64
+ "presentation": 3,
65
+ "contribution": 3,
66
+ "confidence": 3
67
+ },
68
+ "review_text_chars": 2816,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 2390747,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_mPeR",
76
+ "review_id": "0UGyVcEtYg",
77
+ "scores": {
78
+ "rating": 3,
79
+ "soundness": 3,
80
+ "presentation": 2,
81
+ "contribution": 2,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 1914,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 869889,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8837.md ADDED
@@ -0,0 +1,722 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## - PACIA: PARAMETER-EFFICIENT ADAPTER FOR FEW SHOT MOLECULAR PROPERTY PREDICTION
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Molecular property prediction (MPP) plays a crucial role in biomedical applications, but it often encounters challenges due to a scarcity of labeled data. Existing works commonly adopt gradient-based strategy to update a large amount of parameter for property-level adaptation. However, the increase of adaptive parameters can cause overfitting and lead to poor performance. Observing that graph neural network (GNN) performs well as both encoder and predictor, we propose PACIA, a parameter-efficient GNN adapter for few-shot MPP. We design a unified adapter to generate a few adaptive parameters to modulate the message passing process of GNN. We then adopt hierarchical adaptation mechanism to adapt the encoder on property-level and the predictor on molecule-level by the unified GNN adapter. Extensive results show that PACIA obtains the state-of-the-art performance in few-shot MPP problems, and our proposed hierarchical adaptation mechanism is rational and effective.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Molecular property prediction (MPP) (Wieder et al., 2020) which predicts whether desired properties will be active on given molecules, can be naturally modeled as a few-shot learning problem (Waring et al., 2015; Altae-Tran et al., 2017). As wet-lab experiments to evaluate the actual properties of molecules are expensive and risky, usually only few labeled molecules are available for certain property. While recently, Graph Neural Networks (GNN) are popularly used to learn molecular representations (Xu et al., 2019; Yang et al., 2019; Xiong et al., 2019). Modeling molecules as graphs, GNN can capture inherent structural information. Hence, GNN-based methods obtain better performance than classical ones (Unterthiner et al., 2014; Ma et al., 2015), especially when they are pretrained on self-learning tasks. As for tasks with only a few labeled molecules, the performance of existing GNN-based methods is still far from desired.
14
+
15
+ Various few-shot learning (FSL) methods have been developed to handle few-shot MPP problem. The earlier work IterRefLSTM (Altae-Tran et al., 2017) builds a metric-based model upon matching network (Vinyals et al., 2016). Subsequent works mainly adopt gradient-based meta learning strategy (Finn et al., 2017) to handle the standard few-shot MPP problem, which learns parameter initialization with good generalizability across different properties and adapts parameters by gradient descent for target property. Specifically, Meta-MGNN (Guo et al., 2021) brings chemical prior knowledge in the form of molecular reconstruction loss, and optimizes all parameters by gradient descents. PAR (Wang et al., 2021) introduces attention and relation graph module to better utilize the labeled samples for property-adaptation with the awareness of target chemical property, and conducts a selective gradient-based meta learning strategy. ADKF-IFT (Chen et al., 2022) takes a gradient-based meta learning strategy with implicit function theorem to avoid computing expensive hypergradients, and builds a Gaussian Process for each task as classifier. There are also works that bring auxiliary information such as additional reference molecules from large molecule database (Schimunek et al., 2023) and auxiliary properties (Zhuang et al., 2023) to improve the performance of few-shot MPP (Schimunek et al., 2023; Zhuang et al., 2023).
16
+
17
+ There are two main problems in existing works. First, they ignore molecule-level difference. The chemical space is enormous and the representations of molecules vary in a wide range. The moleculelevel difference should be addressed in few-shot MPP when classifying the encoded molecules. When molecules are more similar to the labeled molecules in one certain class, they can be easily classified. While others exhibit comparable similarity to both categories, they will be harder to
18
+
19
+ 1
20
+
21
+ **==> picture [140 x 102] intentionally omitted <==**
22
+
23
+ **==> picture [250 x 103] intentionally omitted <==**
24
+
25
+ **==> picture [210 x 9] intentionally omitted <==**
26
+
27
+ **----- Start of picture text -----**<br>
28
+ (a) (b)<br>**----- End of picture text -----**<br>
29
+
30
+ Figure 1: Illustration of the proposed PACIA. (a), The adaptation ratio ( _[|][ada] |total[p][tive] params[p][arams] |[|]_ ) of different methods and their testing performance on 1-shot tasks of Tox21. (b), Under the encoder-predictor framework in few-shot MPP methods, PACIA use a unified GNN adapter, where hypernetwork generates adaptive parameters (marked in blue) to modulate node embeddings and propagation depths in both GNN encoder and predictor.
31
+
32
+ classify accurately. Thus, a fixed predictor can not fit all molecules even in a single task. Second, gradient-based meta learning strategy requires updating a large number of parameters to adapt to each few-shot task. This results in poor learning efficiency and is prone to overfit given insufficient labeled samples (Rajeswaran et al., 2019; Yin et al., 2020), as shown in Figure 1 (a). With more task-specific parameters, the model gets easier to overfit, which would be more severe in extreme few-shot cases. Effective adaptation should be made in a parameter-efficient way, i.e, without modulating a large amount of parameters.
33
+
34
+ In this paper, we propose **PACIA** , a **PA** rameter-effi **CI** ent **A** dapter for few-shot MPP problem. PACIA applies hierarchical adaptation consisting of property-level adaptation which aims to obtain propertyadaptive molecular representations, and molecule-level adaptation which further adjust predictor to be molecule-adaptive. The adapter is designed upon hypernetworks (Ha et al., 2017), which are neural networks learned to generate parameters of the main network. In particular, we first summarize existing works into encoder-predictor framework, where GNN performs well acting as both encoder and predictor. Then, we design a unified GNN adapter to generate a few adaptive parameters to modulate message passing process of GNN in two aspects: node embedding and propagation depth. Consequently, the encoder is adapted on property-level and the predictor is adapted on moleculelevel. During learning, the parameters of hypernetwork and the main network (including encoder and predictor) are meta-learned across tasks to capture shared knowledge. While the task-specific and molecule-specific knowledge are captured by a few adaptive parameters generated via a single forward pass of hypernetworks without taking optimization steps. In this way, the risk of overfitting is alleviated (Figure 1 (a)). Extensive results show PACIA obtains the state-of-the-art performance on benchmark few-shot MPP datasets MoleculeNet Wu et al. (2018) and FS-Mol Stanley et al. (2021). We also closely examine and validate the effectiveness of our hierarchical adaptation mechanism.
35
+
36
+ ## 2 RELATED WORKS
37
+
38
+ **Few-Shot Learning.** Few-shot learning (FSL) aims to generalize to a task with a few labeled samples (Wang et al., 2020). In terms of adaptation mechanism, existing FSL methods can be classified into three main categories: (i) gradient-based approaches (Finn et al., 2017; Grant et al., 2018) which learn the model or optimizer that can fast optimize the parameter for new task, (ii) metricbased approaches (Vinyals et al., 2016; Snell et al., 2017) which learn a model learn the embedding function and metric where correct relations can be built between samples, and (iii) amortization-based approaches (Requeima et al., 2019; Lin et al., 2021; Przewiezlikowski et al., 2022) which uses hypernetworks to map the labeled samples in the task to a few parameters to adjust the main networks to be task-specific. Recent works (Requeima et al., 2019) found that amortization-based approaches can reduce overfitting compared with gradient-based methods. They also have faster inference speed as the adapted parameters are generated by a single forward pass without taking optimization steps. Besides, the main networks can approximate various functions in addition to distance-based ones.
39
+
40
+ **Hypernetworks.** Hypernetworks (Ha et al., 2017) refer to neural networks which learn to generate parameters for another neural network. The main network learns to map some raw inputs to their desired targets, whereas another group of inputs are fed to the hypernetwork to generate parameters to adapt the main network. It has been successfully used to handle various applications like cold-
41
+
42
+ 2
43
+
44
+ start recommendation (Lin et al., 2021) and image classification (Przewiezlikowski et al., 2022) Designing appropriate hypernetworks is challenging, requiring domain knowledge to decide what information to be fed into hypernetworks, how to adapt the main network, and what is the appropriate architecture of hypernetworks. There exist hypernetworks for general GNNs. Brockschmidt (2020) builds hypernetworks taking target node as input to generate parameters to modulate weight matrix in aggregation function in message passing. And Nachmani & Wolf (2020) design a hypernetwork for node-specific message passing functions that can lead to a boost in performance. In contrast to them, we particularly consider designing parameter-efficient modulators for GNNs used in encoder-predictor framework for few-shot MPP.
45
+
46
+ ## 3 PRELIMINARIES OF FEW-SHOT MOLECULAR PROPERTY PREDICTION
47
+
48
+ ## 3.1 PROBLEM SETUP
49
+
50
+ In a few-shot MPP task _Tτ_ , each sample _Xτ,i_ is a molecular graph and its label _yτ,i ∈{_ 0 _,_ 1 _}_ records whether the molecule is inactive or active on a certain property. Only a few labeled samples are available in the task. Following earlier works (Altae-Tran et al., 2017; Stanley et al., 2021; Chen et al., 2022; Schimunek et al., 2023), we model a few-shot MPP task as a 2-way classification task _Tτ_ , where a support set _Sτ_ = _{_ ( _Xτ,s, yτ,s_ ) _}[N] s_ =1 _[τ]_[contains labeled samples from inactive/active class and a] query set _Qτ_ = _{_ ( _Xτ,q, yτ,q_ ) _}[M] q_ =1 _[τ]_[contains] _[ M][τ]_[samples whose labels are only used for evaluation.] Note that this work covers both settings including balanced support sets, i.e., _Sτ_ contains _[N]_ 2 _[τ]_[samples] per class which is consistent with the standard _N_ -way _K_ -shot FSL setting (Altae-Tran et al., 2017), and imbalanced support sets which exist in real-world applications (Stanley et al., 2021). This work aims at learning a model from a set of tasks _{Tτ }[N] j_ =1[that can generalize to new task given the support] set. Specifically, the target properties are different across tasks.
51
+
52
+ ## 3.2 ENCODER-PREDICTOR FRAMEWORK
53
+
54
+ Existing works adopt an encoder-predictor framework to solve the (few-shot) MPP problem. In the past, molecules are encoded with certain properties (fingerprint vectors (Rogers & Hahn, 2010)) and fed to deep networks for prediction (Unterthiner et al., 2014; Ma et al., 2015). While recently, GNNs are popularly taken as molecular encoders (Li et al., 2018; Yang et al., 2019; Xiong et al., 2019; Hu et al., 2019) due to their superior performance on learning from of topological data.
55
+
56
+ Given molecular graphs which are graphs of atoms connected by chemical bonds, a GNN encoder maps them to molecular representations which are vectors with fixed length. Consider a molecular graph _X_ = _{V, E}_ with node feature **h** _v_ for each atom _v ∈V_ and edge feature **b** _vu_ for each chemical bond _evu ∈E_ between atoms _v, u_ . At the _l_ th layer, GNN updates atom embedding **h** _[l] v_[of] _[ v]_[ as]
57
+
58
+ **==> picture [329 x 13] intentionally omitted <==**
59
+
60
+ where _H_ ( _v_ ) contains neighbors of _v_ . AGG( _·_ ) and UPDATE( _·_ ) are aggregation and updating functions respectively. After _L_ layers, the molecule-level representation **r** for _X_ is obtained as
61
+
62
+ **==> picture [262 x 14] intentionally omitted <==**
63
+
64
+ where READOUT( _·_ ) function aggregates all atom embeddings. The encoder gets molecular representation **r** _τ,i_ for each molecule _Xτ,i_ , which is then fed to the predictor for classification.
65
+
66
+ Then, a predictor _f_ ( _·_ ) assigns label for a query molecule _Xτ,q_ given support molecules in _Sτ_ :
67
+
68
+ **==> picture [254 x 11] intentionally omitted <==**
69
+
70
+ The specific choice of _f_ ( _·_ ) is diverse, e.g., pair-wise similarity (Altae-Tran et al., 2017), multilayer perceptron (MLP) (Guo et al., 2021; Wang et al., 2021) and Mahalanobis distance (Stanley et al., 2021). Recently Wang et al. (2021) found that learning with relation graphs can effectively compensate for the lack of supervised information. In particular, the molecular representations are refined on relation graphs such that the similar molecules cluster closer. Initialize molecular representations as the output of the encoder, i.e., **h**[0] _τ,i_[=] **[r]** _[τ,i]_[.][Denote the set of] _[ N][τ]_[+ 1][ molecules] as _Rτ,q_ = ( _Xτ,q, yτ,q_ ) _∪Sτ_ , which contains all information to make prediction for query _q_ . The relation graph works by recurrently estimating the adjacency matrix and updating the molecular
71
+
72
+ 3
73
+
74
+ representations. At the _l_ th layer, each element _a[l] ij_[in the adjacent matrix] **[ A]** _[l] τ,q_[of the relation graph is] learned to represent pair-wise similarities between any two molecules in _Rτ,q_ :
75
+
76
+ **==> picture [286 x 26] intentionally omitted <==**
77
+
78
+ Then, each molecular representation is refined as
79
+
80
+ **==> picture [263 x 21] intentionally omitted <==**
81
+
82
+ Afterprediction _L_ layers of refinement, _**y**_ ˆ _τ,q_ for query molecule **h** _[L] τ,q X_[and] _τ_ . **[ h]** _[L] τ,s_[(in place of] **[ r]** _[τ,q]_[and] **[ r]** _[τ,s]_[) are fed to][ (3)][ to obtain final]
83
+
84
+ 4 HIERARCHICAL ADAPTATION OF ENCODER-PREDICTOR FRAMEWORK To generalize across different tasks with a few labeled molecules, existing works (Wang et al., 2021; Chen et al., 2022) usually conduct property-level adaptation by gradient-based meta learning (see Appendix B). However, as discussed in Section 2, gradient-based meta learning optimizes most parameters by a limited amount of supervised information, which is slow to optimize and easy to overfit. As for molecule-level adaptation, gradient is not accessible for each query molecule in testing. Therefore, we instead turn to hypernetworks to achieve parameter-efficient adaptation.
85
+
86
+ Our proposed PACIA is shown in Figure 1, and we provide a more detailed figure in Appendix D. As both encoder and predictor introduced in Section 3.2 are based on GNN, we design a unified GNN adapter to generate a few adaptive parameters to hierarchically adapt the encoder on property-level and the predictor on molecule-level in a parameter-efficient manner. Next, we first introduce the unified GNN adapter (Section 4.1), then describe how to learn the main networks (including encoder and decoder) with the unified GNN adapter by episodic training (Section 4.2).
87
+
88
+ 4.1 A UNIFIED GNN ADAPTER
89
+
90
+ To adapt GNN’s parameter-efficiently, we design a GNN adapter to modulate the node embedding and propagation depth, which are essential in message passing process.
91
+
92
+ **Modulating Node Embedding.** Denote the node embedding at the _l_ th layer as **h** _[l]_ , which can be atom embedding in encoder or molecular embedding in relation graph predictor. We obtain adapted embedding **h**[ˆ] _[l]_ as ˆ _[[l]][[l]][[l]]_
93
+
94
+ ˆ **h** _[[l]]_ = _e_ ( **h** _[[l]] ,_ _**γ**[[l]]_ ) _,_ (6)
95
+
96
+ where _e_ ( _·_ ) is an element-wise function, and _**γ**[l]_ is adaptive parameter generated by the hypernetwork. This adapted embedding **h**[ˆ] _[l]_ is then fed to next layer of message passing.
97
+
98
+ **Modulating Propagation Depth.** Further, we manage to modulate the propagation depth, i.e., layer number _l_ of a GNN. Controlling _l_ is challenging since it is discrete. We achieve this by training a differentiable controller, which is a hypernetwork to generate a scalar _p[l]_ corresponding to each _{l}[L] l_ =1[where] _[ L]_[ is the maximum layer number.][The value of] _[ p][l]_[estimates how likely the message] passing should stop after layer _l_ . The hypernetwork is shared across all _L_ layers. Finally, as there are _L_ layers in total, the vector _**p**_ = softmax([ _p_[1] _, p_[2] _, · · · , p[L]_ ]) _,_ (7)
99
+
100
+ represents the plausibility of choosing each layer. During meta-training, _**p**_ is used as adaptive parameter to modulate GNN layers, so that gradients can be propagated to parameter in the hypernetwork to generate _p_ . Specifically, after propagation through all _L_ layers, the final embedding of each node is
101
+
102
+ **==> picture [236 x 20] intentionally omitted <==**
103
+
104
+ where [ _**p**_ ] _l_ is the _l_ th element of _**p**_ .
105
+
106
+ **Generating Adaptive Parameters by Hypernetwork.** We use hypernetworks to generate adaptive parameters _{_ _**γ**[l] , p[l] }[L] l_ =1[.][In][particular,][note][that][the][generated][adaptive][parameter][should][be] permutation-invariant to the order of input samples in _Sτ_ . Therefore, we first calculate class prototypes _**r** τ,[l]_ +[and] _**[ r]** τ,[l] −_[of active class (+) and inactive class (-) for samples in] _[ S][τ]_[by]
107
+
108
+ **==> picture [320 x 52] intentionally omitted <==**
109
+
110
+ 4
111
+
112
+ where [ _·|·_ ] means concatenating, _Sτ_[+][and] _[ S] τ[−]_[are the sets of active and inactive samples in] _[ S][τ]_[, and] _**y** τ,s_ is the one-hot encoding of label. Using _**r** τ,[l]_ +[and] _**[ r]** τ,[l] −_[allows subsequent steps to keep supervised] information while being permutation-invariant.
113
+
114
+ For property-level adaptation, we then map _**r** τ,[l]_ +[and] _**[ r]** τ,[l] −_[to] _[ {]_ _**[γ]** τ[l][, p][l] τ[}][L] l_ =1[as]
115
+
116
+ [ _**γ** τ[l][, p][l] τ_[] =][ MLP] �� _**r** τ,[l]_ + _[|]_ _**[ r]** τ,[l] −_ �� _._ (10)
117
+
118
+ As for molecule-level adaptation, information comes from both _Sτ_ and the specific query molecule _q_ . Likewise, we use class prototypes _**r** τ,[l]_ +[and] _**[ r]** τ,[l] −_[to keep permutation-invariant.][We then generate] _{_ _**γ** τ,q[l][, p][l] τ,q[}] l[L]_ =1[as]
119
+
120
+ **==> picture [301 x 21] intentionally omitted <==**
121
+
122
+ where molecule-specific information in _Xτ,q_ is considered together with _Sτ_ . Note that parameters of these MLPs in hypernetwork are meta-learned together with the encoder and predictor.
123
+
124
+ 4.2 LEARNING AND INFERENCE
125
+
126
+ - - Denote the collection of all model parameters in main network((1) (5)) and hypernetwork ((9) (11)) as **Θ** , excluding adaptive parameters. The objective is to minimize
127
+
128
+ **==> picture [318 x 22] intentionally omitted <==**
129
+
130
+ _Lτ_ is the loss in task _Tτ_ , _**y** τ,q_ is one-hot true label vector and _**y**_ ˆ _τ,q_ is prediction obtained by (3).
131
+
132
+ |**Algorithm 1**Meta-trainingin PACIA.|**Algorithm 2**Meta-testingin PACIA.|
133
+ |---|---|
134
+ |**Input:** meta-training task set**_T_** train<br>1: initialize**Θ**randomly or use a pretrained one;<br>2: **while**not done**do**<br>3:<br>**for**each task_Tτ ∈_**_T_** train **do**<br>4:<br>**for**_l ∈{_1_,_2_, · · · , L_enc_}_**do**<br>5:<br>+ generate[**_γ_**_l_<br>_τ, pl_<br>_τ_]by (10);<br>6:<br>modulate<br>atom<br>embedding<br>**h**_l_<br>_v_<br>_←_<br>_e_(**h**_l_<br>_v,_**_γ_**_l_<br>_τ_);<br>7:<br>* update atom embedding**h**_l_<br>_v_ by (1);<br>8:<br>**end for**<br>9:<br>obtain atom embedding after message pass-<br>ing **h**_L_enc<br>_v_<br>_←_<br>�_L_enc<br>_l_=1[**_p_**_τ_]_l_**h**_l_<br>_v_ and obtain<br>molecular embeddings by (2);<br>10:<br>**end for**<br>11:<br>**for**each query(_Xτ,q, yτ,q_)_∈Qτ_ **do**<br>12:<br>**for**_l ∈{_1_,_2_, · · · , L_rel_}_**do**<br>13:<br>+ generate[**_γ_**_l_<br>_τ,q, pl_<br>_τ,q_]s by (11);<br>14:<br>modulate molecular embedding **h**_l_<br>_τ,i ←_<br>_e_(**h**_l_<br>_τ,i_**_γ_**_l_<br>_τ,q_);<br>15:<br>* update molecular embedding by(4)-(5);<br>16:<br>**end for**<br>17:<br>obtain molecular embedding after message<br>passing**h**_L_rel<br>_τ,i ←_�_L_rel<br>_l_=1[**_p_**_τ,q_]_l_**h**_l_<br>_τ,i_;<br>18:<br>obtain prediction ˆ**y**_τ,q_ by (3);<br>19:<br>**end for**<br>20:<br>calculate loss by (12)<br>21:<br>update**Θ**by gradient descent;<br>22: **end while**<br>23: **return** learned**Θ**_∗_.<br>**Input:** learned**Θ**_∗_, a meta-testing task_Tτ_;<br>1: **for**each task_Tτ ∈_**_T_** train **do**<br>2:<br>**for**_l ∈{_1_,_2_, · · · , L_enc_}_**do**<br>3:<br>+ generate[**_γ_**_l_<br>_τ, pl_<br>_τ_]by (10);<br>4:<br>modulate atom embedding**h**_l_<br>_v ←e_(**h**_l_<br>_v,_**_γ_**_l_<br>_τ_);<br>5:<br>* update atom embedding**h**_l_<br>_v_ by (1);<br>6:<br>**end for**<br>7:<br>select propagation depth by (13) and obtain<br>atom embedding after message passing**h**_L_enc<br>_v_<br>_←_<br>**h**_l′_<br>_v_ ;<br>8: **end for**<br>9: *obtain molecular embedding by (2);<br>10: **for**each query(_Xτ,q, yτ,q_)_∈Qτ_ **do**<br>11:<br>**for**_l ∈{_1_,_2_, · · · , L_rel_}_**do**<br>12:<br>+ generate[**_γ_**_l_<br>_τ,q, pl_<br>_τ,q_]s by (11);<br>13:<br>modulate molecular embedding **h**_l_<br>_τ,i_<br>_←_<br>_e_(**h**_l_<br>_τ,i_**_γ_**_l_<br>_τ,q_);<br>14:<br>* update molecular embeddings by (4)-(5);<br>15:<br>**end for**<br>16:<br>select propagation depth by (13) and obtain<br>molecular embedding after message passing<br>**h**_L_rel<br>_τ,i ←_**h**_l′_<br>_τ,i_;<br>17:<br>obtain prediction ˆ**y**_τ,q_ by (3).<br>18: **end for**<br>“*” (resp. “+”) indicates the line is executed by<br>the main network (resp. hypernetwork).||
135
+ ||“*” (resp. “+”) indicates the line is executed by<br>the main network (resp. hypernetwork).|
136
+
137
+ Algorithm 1 summarizes the training procedure of PACIA. As mentioned above, our unified GNN adapter can modulate the node embedding and propagation depth simultaneously, and we cascade the adaption in encoder and predictor. During training, molecular graphs _Xτ,i_ are first processed by
138
+
139
+ 5
140
+
141
+ encoder (line 4-9). At each layer, adaptive parameters [ _**γ** τ[l][, p][l] τ_[]][ are obtained by][ (10)][ (line 5).][Then,] (6) immediately modulates all atom embeddings **h** _[l] v_[(line 6).][After] _[ L]_[enc][iterations of message passing] (1), (8) is applied before (2), to get property-adaptive molecular representations and initialize node embeddings in relation graph **h**[0] _τ,i_[=] **[ r]** _[τ,i]_[ (line 9).][Then in predictor, at each layer of GNN on relation] graph, adaptive parameters [ _**γ** τ,q[l][, p][l] τ,q_[]][ are obtained with][ (11)][ (line 13) and][ (6)][ immediately functions] (8) is applied (line 17).on all node embeddings **h** And the final prediction _[l] τ,i_[(line 14).][After] _[ L]_[rel][ iterations of message passing] **y** ˆ _τ,q_ is obtained by (3).[ (4)(5)][ and modulation,]
142
+
143
+ Algorithm 2 provides the testing procedure. The process is similar. The node embeddings are adapted by (6). The propagation depth are adapted by selecting the layer with maximal plausibility (line 7 and 16):
144
+
145
+ **==> picture [256 x 14] intentionally omitted <==**
146
+
147
+ Then, node embeddings **h** _[l][′]_ are fed forward to the classifier (3).
148
+
149
+ **Discussion.** In PACIA, model parameter **Θ** is shared across all tasks, and the adaptive parameter _{_ _**γ**[l] }[L] l_ =1[in][ (6)][ and] _[ {][p][l][}][L] l_ =1[in][ (7)][ are generated by hypernetworks.][The size of adaptive parameter] is far smaller than the main network. This realizes parameter-efficient adaptation and mitigates the risk of overfitting. Also, a pre-trained GNN can be incorporated in our method, which can provide a better starting point to obtain better performance. More discussion about comparison with existing works is provided in Appendix B.1.
150
+
151
+ ## 5 EXPERIMENTS
152
+
153
+ In this section, we evaluate the proposed PACIA for few-shot molecular property prediction problems. We run all experiments with 10 random seeds, and report the mean and standard deviations. Appendix C provides more information of datasets, baselines, and implementation details.
154
+
155
+ ## 5.1 PERFORMANCE COMPARISON ON MOLECULENET
156
+
157
+ **Setting.** We first conduct experiments on Tox21 (National Center for Advancing Translational Sciences, 2017), SIDER (Kuhn et al., 2016), MUV (Rohrer & Baumann, 2009) and ToxCast (Richard et al., 2016) from MoleculeNet (Wu et al., 2018), which are commonly used to evaluate the performance on few-shot MPP (Altae-Tran et al., 2017; Wang et al., 2021). We adopt the public data split provided by (Wang et al., 2021). The support sets are balanced, each of them contains _K_ -shot per class, where _K_ = 1 and _K_ = 10 are considered. The performance is evaluated by ROC-AUC calculated on the query set of each meta-testing task and averaged across meta-testing tasks.
158
+
159
+ **Baselines.** We compare with the following baselines: 1) single-task methods: **Random Forest** , and **GNN-ST** (Gilmer et al., 2017); 2) multi-task pretraining methods: **GNN-MT** (Corso et al., 2020; Gilmer et al., 2017); 3) self-supervised pretraining methods: **MAT** (Maziarka et al., 2020); and 4) meta-learning methods: **Siamese** (Koch et al., 2015), **ProtoNet** (Snell et al., 2017), **MAML** (Finn et al., 2017), **EGNN** (Kim et al., 2019). 5) methods proposed for few-shot MPP, including **IterRefLSTM** (Altae-Tran et al., 2017), **PAR** (Wang et al., 2021) and **ADKF-IFT** (Chen et al., 2022). Note that **MHNfs** (Schimunek et al., 2023) is not included as it uses additional reference molecules from external datasets, which leads to unfair comparison. **GS-META** (Zhuang et al., 2023) has not been compared since that approach requires multiple properties of each molecule, which would be not applicable when a molecule is accessible to only one property. Following earlier works Guo et al. (2021); Wang et al. (2021), we use GIN (Xu et al., 2019) as encoder, which is trained from scratch. We also provide results obtained with a pretrained GIN in Appendix C.3.
160
+
161
+ **Performance.** Table 1 shows the results. Results of Siamese and IterRefLSTM are copied from (Altae-Tran et al., 2017) as their codes are unavailable, and their results on ToxCast are unknown. GNN-FiLM is designed as a GNN model rather than for few-shot MPP, which explains its bad performance. TheName obtains the highest ROC-AUC scores on all cases except the 10-shot case on MUV, where ADKF-IFT outperforms the others by a large margin. This can be a special case where ADKF-IFT works very well but may not be generalizable. Moreover, depending on the number of local-update steps of ADKF-IFT, PACIA is about 5 times faster than ADKF-IFT (both meta-training and inference time is about 1/5). In terms of average performance, PACIA significantly
162
+
163
+ 6
164
+
165
+ outperforms the second-best method ADKF-IFT by 3.25%. Results in Appendix C shows that methods with pretrained encoder exhibit similar performance, where our PACIA with pretrained encoder (Pre-PACIA) performs the best. Results in Appendix C.6 shows the performance in a wider range of support set size.
166
+
167
+ Table 1: Test ROC-AUC obtained on MoleculeNet. The best results are bolded, second-best results are underlined.
168
+
169
+ |Method|Tox21<br>SIDER<br>10-shot<br>1-shot<br>10-shot<br>1-shot|Tox21<br>SIDER<br>10-shot<br>1-shot<br>10-shot<br>1-shot|MUV<br>ToxCast<br>10-shot<br>1-shot<br>10-shot<br>1-shot|MUV<br>ToxCast<br>10-shot<br>1-shot<br>10-shot<br>1-shot|
170
+ |---|---|---|---|---|
171
+ ||||||
172
+ |Random Forest|-<br>-|-<br>-|-<br>-|-<br>-|
173
+ ||||||
174
+ |GNN-ST|61_._23(0_._89)<br>55_._49(2_._31)|56_._25(1_._50)<br>52_._98(2_._12)|54_._26(3_._61)<br>51_._42(5_._11)|55_._66(1_._47)<br>51_._80(1_._99)|
175
+ ||||||
176
+ |MAT|64_._84(0_._93)<br>54_._90(1_._89)|57_._45(1_._26)<br>52_._97(3_._00)|56_._19(2_._88)<br>52_._01(4_._05)|58_._50(1_._62)<br>52_._41(2_._34)|
177
+ ||||||
178
+ |GNN-MT|69_._56(1_._10)<br>62_._08(1_._25)|60_._97(1_._02)<br>55_._39(1_._83)|66_._24(2_._40)<br>60_._78(2_._91)|65_._72(1_._19)<br>62_._38(1_._67)|
179
+ ||||||
180
+ |ProtoNet|72_._99(0_._56)<br>68_._22(0_._46)|61_._34(1_._08)<br>57_._41(0_._76)|68_._92(1_._64)<br>64_._81(1_._95)|65_._29(0_._82)<br>63_._73(1_._18)|
181
+ ||||||
182
+ |MAML|79_._59(0_._33)<br>75_._63(0_._18)|70_._49(0_._54)<br>68_._63(1_._51)|68_._38(1_._27)<br>65_._82(2_._49)|68_._43(1_._85)<br>66_._75(1_._62)|
183
+ ||||||
184
+ |Siamese|80_._40(0_._29)<br>65_._00(11_._69)|71_._10(1_._68)<br>51_._43(2_._83)|59_._96(3_._56)<br>50_._00(0_._19)|-<br>-|
185
+ ||||||
186
+ |EGNN|80_._11(0_._31)<br>75_._71(0_._21)|71_._24(0_._37)<br>66_._36(0_._29)|68_._84(1_._35)<br>62_._72(1_._97)|66_._42(0_._77)<br>63_._98(1_._20)|
187
+ |IterRefLSTM<br>81_._10(0_._10)<br>80_._97(0_._06)<br>69_._63(0_._16)<br>71_._73(0_._06)|||49_._56(2_._32)<br>48_._54(1_._48)<br>-<br>-||
188
+ ||||||
189
+ |PAR|82_._13(0_._26)<br>80_._02<br>~~(~~0_._30)|75_._15<br>~~(~~0_._35)<br>72_._33<br>~~(~~0_._47)|68_._08(2_._23)<br>65_._62(3_._49)|70_._01(0_._85)<br>68_._22<br>~~(~~1_._34)|
190
+ ||||||
191
+ |ADKF-IFT<br>82_._43<br>~~(~~0_._60)<br>77_._94(0_._91)<br>67_._72(1_._21)<br>58_._69(1_._44)|||**98****_._18**(3_._05) 67_._04<br>~~(~~4_._86)<br>72_._07<br>~~(~~0_._81)<br>67_._50(1_._23)||
192
+ ||||||
193
+ |PACIA|**84****_._25(0****_._31) 82****_._77(0****_._15)**|**82****_._40(0****_._26) 77****_._72(0****_._34)**|72_._58(2_._23)<br>**68****_._80**(4_._01)|**72****_._38(0****_._96) 69****_._89(1****_._17)**|
194
+
195
+ ## 5.2 PERFORMANCE COMPARISON ON FS-MOL
196
+
197
+ **Setting.** We also perform experiments on FS-Mol (Stanley et al., 2021), a new benchmark consisting of a large number of diverse tasks for model pretraining and a set of few-shot tasks with imbalanced classes. We adopt the public data split provided by (Stanley et al., 2021). Each support set contains 64 labeled molecules, and can be imbalanced where the number of labeled molecules from inactive and active may not be equal. All remaining molecules in the task form the query set. Following Schimunek et al. (2023), testing tasks are divided into categories with support size 16, which is close to real-world scenario. The performance is evaluated by ∆AUPRC (change in area under the precision-recall curve), averaged across meta-testing tasks.
198
+
199
+ ## **Baselines.** The set of baselines is the same with MoleculeNet’s.
200
+
201
+ Table 2: Test ∆AUPRC obtained on FS-Mol. Tasks are categorized by target protein type and the number of tasks per category is reported in brackets. The best results are bolded, second-best results are underlined.
202
+
203
+ |Method|All [157]|Kinases [125]|Hydrolases [20]|Oxidoreductases [7]|
204
+ |---|---|---|---|---|
205
+ ||||||
206
+ |Random Forest|_._092(_._007)|_._081(_._009)|_._158(_._028)|_._080(_._029)|
207
+ ||||||
208
+ |GNN-ST|_._029(_._004)|_._027(_._004)|_._040(_._018)|_._020(_._016)|
209
+ ||||||
210
+ |MAT|_._052(_._005)|_._043(_._005)|_._095(_._019)|_._062(_._024)|
211
+ ||||||
212
+ |GNN-MT|_._093(_._006)|_._093(_._006)|_._108(_._025)|_._053(_._018)|
213
+ ||||||
214
+ |MAML|_._159(_._009)|_._177(_._009)|_._105(_._024)|_._054(_._028)|
215
+ ||||||
216
+ |PAR|_._164(_._008)|_._182(_._009)|_._109(_._020)|_._039(_._008)|
217
+ ||||||
218
+ |ProtoNet|_._207(_._008)|_._215(_._009)|_._209(_._030)|_._095(_._029)|
219
+ ||||||
220
+ |EGNN|_._212(_._011)|_._224(_._010)|_._205(_._024)|_._097(_._022)|
221
+ |Siamese<br>_._223(_._010)<br>_._241(_._010)<br>_._178(_._026)<br>_._082(_._025)|||||
222
+ ||||||
223
+ |IterRefLSTM|_._234<br>~~(~~_._010)|**.251**(_._010)|_._199(_._026)|_._098(_._027)|
224
+ ||||||
225
+ |ADKF-IFT|_._234<br>~~(~~_._009)|_._248(_._020)|_._217<br>~~(~~_._017)|**.106**(_._008)|
226
+ ||||||
227
+ |PACIA|**.236**(_._008)|**.251**(_._016)|**.219**(_._029)|**.106**(_._010)|
228
+
229
+ **Performance.** Table 2 shows the results. We find that PACIA performs the best while ADKF-IFT obtains comparable performance. However, the time-efficiency of PACIA is much higher since the adaptation only needs a single forward pass. While ADKF-IFT takes multiple local-update steps (about 5 times faster in both meta-training and testing, with default numbers of local-update steps).
230
+
231
+ 7
232
+
233
+ ## 5.3 ABLATION STUDY
234
+
235
+ We consider various variants of PACIA, including (i) **fine-tuning** : use the same model structure and fine-tuning all parameters to adapt to each property without hypernetworks; (ii) **w/o P** : removing property-level adaptation, thus the GNN encoder will not be adapted by the hypernetwork for each property; and (iii) **w/o M** : removing molecule-level adaptation, that all molecules are processed by the same predictor.
236
+
237
+ **==> picture [128 x 96] intentionally omitted <==**
238
+
239
+ **==> picture [128 x 96] intentionally omitted <==**
240
+
241
+ (a) Different adaptation strategies. (b) Different modulation functions.
242
+
243
+ Figure 2: Ablation study on 10-shot tasks of Tox21.
244
+
245
+ Figure 2(a) provides performance comparison on Tox21. Observations are as follows: (i) The performance gain of PACIA over “w/o M” shows the necessity of molecule-level adaptation; (ii) The gap between PACIA and “w/o P” indicates the effect of adapting the model to be propertyspecific; (iii) One can also notice that without molecule-level adaptation, “w/o M” still obtains better performance than gradient-based baselines like PAR, which indicates the advantage of designing the amortization-based hypernetwork; and (iv) The poor performance of “fine-tuning” is possibly because of the overfitting caused by updating all parameters with only a few samples. In summary, every component of PACIA is important to obtaining good performance.
246
+
247
+ Now that the effectiveness of property-level and molecule-level adaptation are validated, we further investigate modulation functions, i.e, modulating node embedding ( **N** ), modulating propagation depth ( **D** ), modulating both ( **ND** ), for encoder and predictor. There are 3 _×_ 3 combinations whose performance is presented in Figure 2(b). We find that only modulating node embedding in encoder while only modulating propagation depth in predictor obtains the best performance. We interpret this result as the GIN encoder has highly non-linearity across layers, where truncation would lead to non-explainability and somehow perturb the black-box. While the operation of relation graph in predictor updates node embedding in a linear way (5), adapting the propagation depth is harmonious with its message passing function.
248
+
249
+ **==> picture [92 x 69] intentionally omitted <==**
250
+
251
+ **==> picture [92 x 69] intentionally omitted <==**
252
+
253
+ **==> picture [92 x 69] intentionally omitted <==**
254
+
255
+ **==> picture [92 x 69] intentionally omitted <==**
256
+
257
+ (a) Without adaptation. (b) Property-level adap(c) With relation graph. (d) Molecule-level adaptated. tated.
258
+
259
+ Figure 3: Molecular representation visualization for 10-shot case in task SR-p53 of Tox21. Pretrained GIN is used as encoder.
260
+
261
+ Figure 3 shows the t-SNE visualization (Van der Maaten & Hinton, 2008) of molecular representations learned on a 10-shot support set and a query molecule with ground truth label “active” in task SRp53 from Tox21. As shown, molecular representations obtained using pre-trained encoder without adaptation (Figure 3(a)) are mixed up, since the encoder has not been adapted to the target property of the task. Molecular representations being processed by our property-adaptive GNN encoder (Figure 3(b)) becomes more distinguishable, indicating that adapting molecular representation in property-level takes effect. Molecular representations in Figure 3(c) and Figure 3(d) form clear clusters as we encourage similar molecules to be connected during relation graph refinement by (5). The difference is that molecular representations in Figure 3(c) are refined by the best depth number for all tasks in 10-shot case, while molecular representations in Figure 3(d) are refined by 4 layers which are selected for the specific query molecule. As shown, we can conclude that our molecular-adaptive refinement layers help better separate molecules of different classes.
262
+
263
+ 8
264
+
265
+ We also have ablation study of configurations inside hypernetwork, provided in Appendix C.4.
266
+
267
+ ## 5.4 A CLOSER LOOK AT HIERARCHICAL ADAPTATION MECHANISM
268
+
269
+ **Property-level Adaptation.** Our Table 3: Comparison of property-level adaptation apparameter-efficient property-level proaches. adaptation is achieved by using hypernetworks to modulate the node PACIA PAR embeddings during message passing. Total parameters 3.28M 2.31M We compared this amortization-based Adaptive parameters 3.00K 0.38M adaptation with gradient-based adaptation in PAR which has similar main Adaptation steps - 1 2 3 4 5 network with PACIA. The results are Testing ROC-AUC 84.26 82.07 81.85 80.32 79.09 77.25 shown in Table 3. We record their Time (secs) 1.09 2.02 3.62 5.34 6.76 8.10 adaptation process, i.e., time required
270
+
271
+ to process the support set and the test performance. PAR uses the molecules in support set to take gradient steps, and updates all parameters in GNN. We record each of a maximum five steps, where we can find that it overfits easily as the performance keeps dropping with more steps. The time consumption also grows. In contrast, PACIA processes molecules in support set by hypernetwork, which is much more efficient as only one single forward pass is needed. PACIA can obtain better performance due to the reduction of adaptive parameters, which also leads to better generalization and alleviates the risk of overfitting to the few shots. Table 3 and Figure 1(a) both indicate that the underlying overfitting problem which can be mitigated by PACIA.
272
+
273
+ **Molecule-level Adaptation.** Here, we present a case study on molecule-level adaptation. More experiments on validating the design of molecule-level adaptation is in Appendix C.5. We use a 1-shot support set and 3 query molecules in task SR-p53 of Tox21. In Figure 4 (a), _x_ 1 and _x_ 0 are support molecules with different labels, _q_ 1, _q_ 2 and _q_ 3 are query molecules. As shown, classifying _q_ 1 and _q_ 3 is relatively easy and the adapted propagation depth will be 1, while classifying _q_ 2 is hard and requires 4 layers to propagate. Considering the shared substructures (function groups), _q_ 1 and _x_ 1 are visually similar, _q_ 3 and _x_ 0 are visually similar. While both _x_ 1 and _x_ 0 share substructures with _q_ 2, it is hard to tell which of them is more similar to _q_ 2. Figure 4 (a) provides the cosine similarity based on the molecule representations generated by Pre-GNN , which confirms our observation: _q_ 1 is much more similar to _x_ 1, _q_ 3 is much more similar to _x_ 0, and _q_ 2 has close similarities with the both samples. Intuitively, classifying _q_ 1 and _q_ 3 will be easier while _q_ 2 will be hard. In the dynamic propagation of PACIA, we find different layers are taken: _t[′]_ = 1 for both _q_ 1 and _q_ 3 while _t[′]_ = 4 for _q_ 2. PACIA achieves effective molecule-level adaptation by assigning more complex models for molecules that are difficult to classify.
274
+
275
+ **==> picture [396 x 66] intentionally omitted <==**
276
+
277
+ Figure 4: Illustration of molecule-level adaptation. (a), Molecular graphs of support molecules _x_ 1 _, x_ 0 and query molecules _q_ 1 _, q_ 2 _, q_ 3. (b), Cosine similarities between query molecules and support molecules, and propagation depth taken to classify each query molecule.
278
+
279
+ ## 6 CONCLUSION
280
+
281
+ We propose PACIA to handle few-shot MPP in a parameter-efficient manner. We investigate two key factors in few-shot molecular property prediction with the common encoder-predictor framework: adaptation-efficiency and molecular-level adaptation. Evidence shows that too much adaptive parameter would lead to overfitting, thus we design a parameter-efficient GNN adapter, which can modulate node embedding and propagation depth of message passing of GNN in a unified way. We also notice the importance of capturing molecule-level difference and therefore propose hierarchical adaptation mechanism, which is achieved by using unified GNN adapter in both encoder and predictor. Empirical results show that PACIA achieves the best performance on both MoleculeNet and FS-Mol.
282
+
283
+ 9
284
+
285
+ ## REFERENCES
286
+
287
+ Han Altae-Tran, Bharath Ramsundar, Aneesh S Pappu, and Vijay Pande. Low data drug discovery with one-shot learning. _ACS Central Science_ , 3(4):283–293, 2017.
288
+
289
+ - Marc Brockschmidt. GNN-FiLM: Graph neural networks with feature-wise linear modulation. In _International Conference on Machine Learning_ , pp. 1144–1152, 2020.
290
+
291
+ - Wenlin Chen, Austin Tripp, and Jose Miguel Hern´ andez-Lobato.´ Meta-learning adaptive deep kernel gaussian processes for molecular property prediction. In _International Conference on Learning Representations_ , 2022.
292
+
293
+ - Gabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Lio,` and Petar Velickoviˇ c.´ Principal neighbourhood aggregation for graph nets. _Advances in Neural Information Processing Systems_ , 33:13260–13271, 2020.
294
+
295
+ - Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In _International Conference on Machine Learning_ , pp. 1126–1135, 2017.
296
+
297
+ - Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In _International Conference on Machine Learning_ , pp. 1263–1272, 2017.
298
+
299
+ - Erin Grant, Chelsea Finn, Sergey Levine, Trevor Darrell, and Thomas Griffiths. Recasting gradientbased meta-learning as hierarchical Bayes. In _International Conference on Learning Representations_ , 2018.
300
+
301
+ - Zhichun Guo, Chuxu Zhang, Wenhao Yu, John Herr, Olaf Wiest, Meng Jiang, and Nitesh V Chawla. Few-shot graph learning for molecular property prediction. In _The Web Conference_ , pp. 2559–2567, 2021.
302
+
303
+ - David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. In _International Conference on Learning Representations_ , 2017.
304
+
305
+ - Zhenyu Hou, Xiao Liu, Yuxiao Dong, Chunjie Wang, Jie Tang, et al. GraphMAE: Self-supervised masked graph autoencoders. In _ACM SIGKDD International Conference on Knowledge Discovery & Data Mining_ , pp. 594–604, 2022.
306
+
307
+ - Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay Pande, and Jure Leskovec. Strategies for pre-training graph neural networks. In _International Conference on Learning Representations_ , 2019.
308
+
309
+ - Jongmin Kim, Taesup Kim, Sungwoong Kim, and Chang D Yoo. Edge-labeling graph neural network for few-shot learning. In _IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 11–20, 2019.
310
+
311
+ - Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In _International Conference on Learning Representations_ , 2015.
312
+
313
+ - Gregory Koch, Richard Zemel, and Ruslan Salakhutdinov. Siamese neural networks for one-shot image recognition. In _ICML Deep Learning Workshop_ , 2015.
314
+
315
+ - Michael Kuhn, Ivica Letunic, Lars Juhl Jensen, and Peer Bork. The SIDER database of drugs and side effects. _Nucleic Acids Research_ , 44(D1):D1075–D1079, 2016.
316
+
317
+ - Ruoyu Li, Sheng Wang, Feiyun Zhu, and Junzhou Huang. Adaptive graph convolutional neural networks. In _AAAI Conference on Artificial Intelligence_ , pp. 3546–3553, 2018.
318
+
319
+ - Xixun Lin, Jia Wu, Chuan Zhou, Shirui Pan, Yanan Cao, and Bin Wang. Task-adaptive neural process for user cold-start recommendation. In _The Web Conference_ , pp. 1306–1316, 2021.
320
+
321
+ - Junshui Ma, Robert P Sheridan, Andy Liaw, George E Dahl, and Vladimir Svetnik. Deep neural nets as a method for quantitative structure–activity relationships. _Journal of Chemical Information and Modeling_ , 55(2):263–274, 2015.
322
+
323
+ 10
324
+
325
+ Lukasz Maziarka, Tomasz Danel, Slawomir Mucha, Krzysztof Rataj, Jacek Tabor, and Stanislaw Jastrzebski. Molecule attention transformer. _arXiv preprint arXiv:2002.08264_ , 2020.
326
+
327
+ - David Mendez, Anna Gaulton, A Patr´ıcia Bento, Jon Chambers, Marleen De Veij, Eloy Felix,´ Mar´ıa Paula Magarinos, Juan F Mosquera, Prudence Mutowo, Michał Nowotka, et al.˜ Chembl: towards direct deposition of bioassay data. _Nucleic Acids Research_ , 47(D1):D930–D940, 2019.
328
+
329
+ - Eliya Nachmani and Lior Wolf. Molecule property prediction and classification with graph hypernetworks. _arXiv preprint arXiv:2002.00240_ , 2020.
330
+
331
+ - National Center for Advancing Translational Sciences. Tox21 challenge. [URL removed] gov/tox21/challenge/, 2017. Accessed: 2016-11-06.
332
+
333
+ - Ethan Perez, Florian Strub, Harm De Vries, Vincent Dumoulin, and Aaron Courville. FiLM: Visual reasoning with a general conditioning layer. In _AAAI Conference on Artificial Intelligence_ , pp. 3942–3951, 2018.
334
+
335
+ - Marcin Przewiezlikowski, P Przybysz, Jacek Tabor, Maciej Zieba, and Przemyslaw Spurek. HyperMAML: Few-shot adaptation of deep models with hypernetworks. _arXiv preprint arXiv:2205.15745_ , 2022.
336
+
337
+ - Aravind Rajeswaran, Chelsea Finn, Sham M Kakade, and Sergey Levine. Meta-learning with implicit gradients. In _Advances in Neural Information Processing Systems_ , pp. 113–124, 2019.
338
+
339
+ - James Requeima, Jonathan Gordon, John Bronskill, Sebastian Nowozin, and Richard E Turner. Fast and flexible multi-task classification using conditional neural adaptive processes. In _Advances in Neural Information Processing Systems_ , pp. 7957–7968, 2019.
340
+
341
+ - Ann M Richard, Richard S Judson, Keith A Houck, Christopher M Grulke, Patra Volarath, Inthirany Thillainadarajah, Chihae Yang, James Rathman, Matthew T Martin, John F Wambaugh, et al. ToxCast chemical landscape: Paving the road to 21st century toxicology. _Chemical Research in Toxicology_ , 29(8):1225–1251, 2016.
342
+
343
+ - David Rogers and Mathew Hahn. Extended-connectivity fingerprints. _Journal of Chemical Information and Modeling_ , 50(5):742–754, 2010.
344
+
345
+ - Sebastian G Rohrer and Knut Baumann. Maximum unbiased validation (MUV) data sets for virtual screening based on PubChem bioactivity data. _Journal of Chemical Information and Modeling_ , 49 (2):169–184, 2009.
346
+
347
+ - Johannes Schimunek, Philipp Seidl, Lukas Friedrich, Daniel Kuhn, Friedrich Rippmann, Sepp Hochreiter, and Gunter Klambauer.¨ Context-enriched molecule representations improve few-shot drug discovery. _arXiv preprint arXiv:2305.09481_ , 2023.
348
+
349
+ - Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. In _Advances in Neural Information Processing Systems_ , pp. 4080–4090, 2017.
350
+
351
+ - Megan Stanley, John F Bronskill, Krzysztof Maziarz, Hubert Misztela, Jessica Lanini, Marwin Segler, Nadine Schneider, and Marc Brockschmidt. FS-Mol: A few-shot learning dataset of molecules. In _Neural Information Processing Systems Track on Datasets and Benchmarks_ , 2021.
352
+
353
+ - Teague Sterling and John J Irwin. ZINC 15–ligand discovery for everyone. _Journal of Chemical Information and Modeling_ , 55(11):2324–2337, 2015.
354
+
355
+ - Thomas Unterthiner, Andreas Mayr, Gunter Klambauer,¨ Marvin Steijaert, Jorg K Wegner,¨ Hugo Ceulemans, and Sepp Hochreiter. Deep learning as an opportunity in virtual screening. In _NIPS Deep Learning Workshop_ , volume 27, pp. 1–9, 2014.
356
+
357
+ - Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-SNE. _Journal of Machine Learning Research_ , 9(11), 2008.
358
+
359
+ - Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In _Advances in Neural Information Processing Systems_ , volume 29, pp. 3630–3638, 2016.
360
+
361
+ 11
362
+
363
+ Yaqing Wang, Quanming Yao, James T Kwok, and Lionel M Ni. Generalizing from a few examples: A survey on few-shot learning. _ACM Computing Surveys_ , 53(3):1–34, 2020.
364
+
365
+ - Yaqing Wang, Abulikemu Abuduweili, Quanming Yao, and Dejing Dou. Property-aware relation networks for few-shot molecular property prediction. In _Advances in Neural Information Processing Systems_ , pp. 17441–17454, 2021.
366
+
367
+ - Michael J Waring, John Arrowsmith, Andrew R Leach, Paul D Leeson, Sam Mandrell, Robert M Owen, Garry Pairaudeau, William D Pennie, Stephen D Pickett, Jibo Wang, et al. An analysis of the attrition of drug candidates from four major pharmaceutical companies. _Nature Reviews Drug discovery_ , 14(7):475–486, 2015.
368
+
369
+ - Oliver Wieder, Stefan Kohlbacher, Melaine´ Kuenemann, Arthur Garon, Pierre Ducrot, Thomas Seidel, and Thierry Langer. A compact review of molecular property prediction with graph neural networks. _Drug Discovery Today: Technologies_ , 37:1–12, 2020.
370
+
371
+ - Shiguang Wu, Yaqing Wang, Qinghe Jing, Daxiang Dong, Dejing Dou, and Quanming Yao. ColdNAS: Search to modulate for user cold-start recommendation. In _The Web Conference_ , pp. 1021–1031, 2023.
372
+
373
+ - Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. MoleculeNet: A benchmark for molecular machine learning. _Chemical Science_ , 9(2):513–530, 2018.
374
+
375
+ - Zhaoping Xiong, Dingyan Wang, Xiaohong Liu, Feisheng Zhong, Xiaozhe Wan, Xutong Li, Zhaojun Li, Xiaomin Luo, Kaixian Chen, Hualiang Jiang, et al. Pushing the boundaries of molecular representation for drug discovery with the graph attention mechanism. _Journal of Medicinal Chemistry_ , 63(16):8749–8760, 2019.
376
+
377
+ - Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In _International Conference on Learning Representations_ , 2019.
378
+
379
+ - Minghao Xu, Hang Wang, Bingbing Ni, Hongyu Guo, and Jian Tang. Self-supervised graph-level representation learning with local and global structure. In _International Conference on Machine Learning_ , pp. 11548–11558, 2021.
380
+
381
+ - Kevin Yang, Kyle Swanson, Wengong Jin, Connor Coley, Philipp Eiden, Hua Gao, Angel GuzmanPerez, Timothy Hopper, Brian Kelley, Miriam Mathea, et al. Analyzing learned molecular representations for property prediction. _Journal of Chemical Information and Modeling_ , 59(8): 3370–3388, 2019.
382
+
383
+ - Mingzhang Yin, George Tucker, Mingyuan Zhou, Sergey Levine, and Chelsea Finn. Meta-learning without memorization. In _International Conference on Learning Representations_ , 2020.
384
+
385
+ - Zaixi Zhang, Qi Liu, Hao Wang, Chengqiang Lu, and Chee-Kong Lee. Motif-based graph selfsupervised learning for molecular property prediction. In _Advances in Neural Information Processing Systems_ , pp. 15870–15882, 2021.
386
+
387
+ - Xiang Zhuang, Qiang Zhang, Bin Wu, Keyan Ding, Yin Fang, and Huajun Chen. Graph samplingbased meta-learning for molecular property prediction. _arXiv preprint arXiv:2306.16780_ , 2023.
388
+
389
+ ## A MORE DETAILS OF PACIA
390
+
391
+ - A.1 ENCODER
392
+
393
+ **Encoder for MoleculeNet.** As the main network of the encoder, to process a molecule with GNN, each node embedding **h** _v_ represents an atom, and each edge _evu_ represents a chemical bond. Here, we use GIN (Xu et al., 2019) as the main network in encoder, which is a powerful GNN structure. In GIN, the aggregation function in (1) is specified as adding all neighbors up: and for the update function is adding the aggregated embeddings and the target node, and feeding to a MLP:
394
+
395
+ **==> picture [297 x 25] intentionally omitted <==**
396
+
397
+ 12
398
+
399
+ where _ϵ_ is a scalar parameter to distinguish the target node. To obtain the molecular representation, the readout function in (2) is specified as
400
+
401
+ **==> picture [272 x 13] intentionally omitted <==**
402
+
403
+ **Encoder for FS-Mol.** Following existing works (Chen et al., 2022; Schimunek et al., 2023), we directly adopt the PNA (Corso et al., 2020) network provided in FS-Mol benchmark (Stanley et al., 2021) as the molecular encoder.
404
+
405
+ ## A.2 PREDICTOR
406
+
407
+ The classifier needs to make prediction of the query **h**[ˆ] _τ,q_ , according to the _Nτ_ labeled support samples _{_ ( **h** _τ,s, yτ,s_ ) _| Xτ,s ∈Sτ }_ . We adopt an adaptive classifier (Requeima et al., 2019), which map the labeled samples in each class to the parameters of a linear classifier, i.e.,
408
+
409
+ **==> picture [348 x 25] intentionally omitted <==**
410
+
411
+ where _**w** ±_ has the same dimension with **h** _τ,q_ , and _b±_ is a scalar. Then the prediction is made by
412
+
413
+ **==> picture [398 x 31] intentionally omitted <==**
414
+
415
+ ## A.3 UNIFIED GNN ADAPTER
416
+
417
+ The choice of _e_ can be various (Wu et al., 2023), while in this work we adopt a simple feature-wise linear modulation (FiLM) (Perez et al., 2018) function.
418
+
419
+ ## A.4 HYPERPARAMETERS
420
+
421
+ Here we provide the detailed hyperparameter setting of PACIA.
422
+
423
+ **Hyperparameters on MoleculeNet.** The maximum layer number of the GNN _L_ enc = 5, the maximum depth of the relation graph _L_ rel = 5, During training, for each layer in GNN, we set dropout rate as 0.5 operated between the graph operation and FiLM layer. The dropout rate of MLP in (9) (10) and (11) is 0.1. For all baselines, we use Adam optimizer (Kingma & Ba, 2015) with learning rate 0.006 and the maximum episode number is 25000. In each episode, the meta-training tasks are learned one-by-one, query set size _M_ = 16. The ROC-AUC is evaluated every 10 epochs on meta-testing tasks and the best performance is reported. Table 4 shows the details of the other parts. Experiments are conducted on a 24GB NVIDIA GeForce RTX 3090 GPU, with Python 3.8.13, CUDA version 11.7, Torch version 1.10.1.
424
+
425
+ **Hyperparameters on FS-Mol.** The maximum layer number of the GNN _L_ enc = 8, the maximum depth of the relation graph _L_ rel = 5, During training, the dropout rate of MLP _L_ is 0.1. We use Adam optimizer (Kingma & Ba, 2015) with learning rate 0.0001 and the maximum episode number is 3000. In each episode, the meta-training tasks are learned with batch size 16, support set size _Nτ_ = 64, and the others are used as queries. The average precision s evaluated every 50 epochs on validation tasks and the the model with best validation performance is tested and reported. Table 5 shows the details of the other parts.
426
+
427
+ ## B ADOPTING MAML FOR PROPERTY-LEVEL ADAPTATION
428
+
429
+ Denote all model parameter as **Θ** . The model first predict samples in support set and get loss to do _**y**_ ˆ _τ,s_ local-update.is the prediction made by the main network with parameterDenote the loss for local-update as _L[S] τ_[(] **[Θ]**[)][=] **Θ**[�] . _X_ The loss for global-update is _τ,s∈Sτ_ _**[y]** τ,s[⊤]_[log][ (ˆ] _**[y]**[τ,s]_[)][,][where] calculated with samples in query set, denoted as , _L[Q] τ_[(] **[Θ]** _[′] τ_[) =][ �] _Xτ,q∈Qτ_ _**[y]** τ,q[⊤]_[log][ (ˆ] _**[y]**[τ,q]_[)][, where] _**[y]**_[ˆ] _[τ,q]_ is the prediction made by the main network with parameter **Θ** _[′] τ_[.][Then Algorithm 3 can be adopted] for meta-training, and Algorithm 4 for meta-testing.
430
+
431
+ 13
432
+
433
+ Table 4: Details of model structure for MoleculeNet.
434
+
435
+ ||Layers|Output Dimension|Output Dimension|
436
+ |---|---|---|---|
437
+ |MLPin (9)|input<br>1<br>_|Vτ,s|_<br>�<br>_v∈Xτ,s_<br>�<br>**h**_l_<br>_v |_**_y_**_τ,s_<br>�<br>, fully connected, LeakyReLU|300||
438
+ ||2_×_fully connected with with residual skip connection, 1<br>_K_ [�<br>_Xτ,s∈S_+<br>_τ_ (_·_)_|_ �<br>_Xτ,s∈S−_<br>_τ_ (_·_)]|300||
439
+ |MLPin (10)|3_×_fully connected with residual skip connection|601||
440
+ |MLPin (11)|3_×_fully connected with residual skip connection|257||
441
+ |MLP_l_<br>_G_ in (14|<br>input(1 +_ϵ_)**h**_l−_1<br>_v_<br>+**h**_l−_1<br>agg , fully connected, ReLU|600||
442
+ ||<br>fully connected|300||
443
+ |MLP_L_ in (15|<br>inputREADOUT<br>�<br>_{_**h**_T_<br>_v |v ∈Vt,i}_<br>�<br>, fully connected, LeakyReLU|128||
444
+ ||<br>fully connected|128||
445
+ |MLPin (4)|input exp(_|_**h**_l−_1<br>_τ,i −_**h**_l−_1<br>_τ,i |_), fully connected, LeakyReLU|256||
446
+ ||fully connected, LeakyReLU|128||
447
+ ||fully connected|1||
448
+ |MLPin (5)|fully connected, LeakyReLU|256||
449
+ ||fully connected, LeakyReLU|128||
450
+ |MLP_w_ in (16|<br>input<br>1<br>_K_<br>�<br>_yτ,s_=_c_ **_h_**_τ,s_, fully connected with residual skip connection, LeakyReLU|128||
451
+ ||<br>2_×_(fully connected with residual skip connection, LeakyReLU)|128||
452
+ ||fully connected|128||
453
+ |MLP_b_ in (16)|<br>input<br>1<br>_K_<br>�<br>_yτ,s_=_c_ **_h_**_τ,s_, fully connected with residual skip connection, LeakyReLU|128||
454
+ ||<br>2_×_(fully connected with residual skip connection, LeakyReLU)|128||
455
+ ||fully connected|1||
456
+ ||Table 5: Details of model structure for FS-Mol.|||
457
+ ||Layers||Output Dimension|
458
+ |MLPin (9)<br>|input<br>1<br>_|Vτ,s|_<br>�<br>_v∈Xτ,s_<br>�<br>**h**_l_<br>_v |_**_y_**_τ,s_<br>�<br>_,_, fully connected, LeakyReLU||512|
459
+ ||2_×_fully connected with with residual skip connection,[<br>1<br>_|S_+<br>_τ |_<br>�<br>_Xτ,s∈S_+<br>_τ_ (_·_)_|_<br>1<br>_|S−_<br>_τ |_<br>�<br>_Xτ,s∈S−_<br>_τ_ (_·_)]||512|
460
+ |MLPin (10)|3_×_fully connected with residual skip connection||1025|
461
+ |MLPin (11)|3_×_fully connected with residual skip connection||513|
462
+ |MLPin (4)|input exp(_|_**h**_l−_1<br>_τ,i −_**h**_l−_1<br>_τ,i |_), fully connected, LeakyReLU||256|
463
+ ||fully connected, LeakyReLU||128|
464
+ ||fully connected||1|
465
+ |MLPin (5)|fully connected, LeakyReLU||256|
466
+ ||fully connected, LeakyReLU||256|
467
+ |MLP_w_ in (16)|input<br>1<br>_|S±_<br>_τ |_<br>�<br>_yτ,s_=_c_ **_h_**_τ,s_, fully connected with residual skip connection, LeakyReLU||256|
468
+ ||2_×_(fully connected with residual skip connection, LeakyReLU)||256|
469
+ ||fully connected||256|
470
+ |MLP_b_ in (16)|input<br>1<br>_|S±_<br>_τ |_<br>�<br>_yτ,s_=_c_ **_h_**_τ,s_, fully connected with residual skip connection, LeakyReLU||256|
471
+ ||2_×_(fully connected with residual skip connection, LeakyReLU)||256|
472
+ ||fully connected||1|
473
+
474
+ ## **Algorithm 3** Meta-training with MAML
475
+
476
+ **Input:** meta-training task set _**T**_ train
477
+
478
+ - 1: initialize **Θ** randomly;
479
+
480
+ - 2: **while** not done **do**
481
+
482
+ - 3: **for** each task _Tτ ∈_ _**T**_ train **do** 4: evaluate _∇_ **Θ** _L[S] τ_[(] **[Θ]**[)][ with respect to all samples in] _[ S][τ]_[;]
483
+
484
+ - 5: compute adapted parameters with gradient descent: **Θ** _[′] τ_[=] **[ Θ]** _[ −∇]_ **[Θ]** _[L][S] τ_[(] **[Θ]**[)][;] 6: **end for**
485
+
486
+ 7: update **Θ** _←_ **Θ** _−∇_ **Θ** � _Tτ ∈_ _**T**_ train _[L] τ[Q]_[(] **[Θ]** _[′] τ_ 14[)][;] 8: **end while**
487
+
488
+ - 9: **return** learned **Θ** _[∗]_ .
489
+
490
+ ## **Algorithm 4** Meta-testing with MAML
491
+
492
+ **Input:** learned **Θ** _∗_ , a meta-testing task _Tτ_ ;
493
+
494
+ - 1: evaluate _∇_ **Θ** _L[S] τ_[(] **[Θ]**[)][ with respect to all samples in] _[ S][τ]_[;]
495
+
496
+ - 2: compute adapted parameters with gradient descent: **Θ** _[′] τ_[=] **[ Θ]** _[ −∇]_ **[Θ]** _[L][S] τ_[(] **[Θ]**[)][;] 3: make prediction _**y** τ,q_ for _Xτ,q ∈Qτ_ with adapted parameter **Θ** _[′] τ_[;]
497
+
498
+ ## B.1 COMPARISON WITH EXISTING WORKS
499
+
500
+ We compare the proposed PACIA with existing few-shot MPP approaches in Table 6. As shown, we manage to compare in perspectives of support of pre-training, property-level adaptation, moleculelevel adaptation. fast-adaptation and adaptation strategy. With the help of hypernetworks, our method not only introduces novel molecule-level adaptation, but also can adapt on property-level more effectively and efficiently.
501
+
502
+ Table 6: Comparison of the proposed PACIA with existing few-shot MPP methods.
503
+
504
+ |Method|Support<br>Pre-training|Hierarchical adaptation<br>Property-level<br>molecule-level|Hierarchical adaptation<br>Property-level<br>molecule-level|Fast<br>adaptation|Adaptation<br>Strategy|
505
+ |---|---|---|---|---|---|
506
+ |IterRefLSTM<br>_×_<br>_√_<br>_×_<br>_√_<br>Pair-wise similarity||||||
507
+ |||||||
508
+ |Meta-MGNN|_√_|_√_|_×_|_×_|Gradient|
509
+ |PAR<br>_√_<br>_√_<br>_×_<br>_×_<br>Attention+Gradient||||||
510
+ |||||||
511
+ |ADKF-IFT|_√_|_√_|_×_|_×_|Gradient+statistical learning|
512
+ |||||||
513
+ |MHNfs|_√_|_√_|_√_|_√_|Attention+pair-wise similarity|
514
+ |||||||
515
+ |GS-META|_√_|_×_|_√_|_√_|Message passing|
516
+ |PACIA<br>_√_<br>_√_<br>_√_<br>_√_<br>Hypernetwork||||||
517
+
518
+ From the perspective of hypernetwork, the usage of the hypernetwork for encoder is related to GNNFiLM (Brockschmidt, 2020), which considers a GNN as main network. It builds hypernetwork with target node as input to generate parameters of FiLM layers, to equip different nodes with different aggregation functions in the GNN. What and how to adapt are similar to ours, but it is different that the input of our hypernetwork for encoder is _Sτ_ and how we encode a set of labeled graphs.
519
+
520
+ In few-shot learning, some recent works (Requeima et al., 2019; Lin et al., 2021) use hypernetworks to process the task context to make the model task-adaptive. Their hypernetworks have similar functionality of our hypernetwork for encoder, that are used to map the support set to parameter to modulate the main network, but their main networks are convolutional neural network (CNN) and MLP respectively, there is significant difference about what to modulate. As for the usage of the hypernetwork for predictor, which is used to evaluate an unlabeled sample with a set of labeled ones to encode model architecture, did not appear in the literature.
521
+
522
+ ## C MORE DETAILS OF EXPERIMENTS
523
+
524
+ ## C.1 DATASETS
525
+
526
+ **MoleculeNet.** There are four sub-datasets for few-shot MPP: Tox21 (National Center for Advancing Translational Sciences, 2017), SIDER (Kuhn et al., 2016), MUV (Rohrer & Baumann, 2009) and ToxCast (Richard et al., 2016), which are included in MoleculeNet (Wu et al., 2018). We adopt the task splits provided by existing works(Altae-Tran et al., 2017; Wang et al., 2021). Tox21 is a collection of nuclear receptor assays related to human toxicity, containing 8014 compounds in 12 tasks, among which 9 are split for training and 3 are split for testing. SIDER collects information about side effects of marketed medicines, and it contains 1427 compounds in 21 tasks, among which 21 are split for training and 6 are split for testing. MUV contains compounds designed to be challenging for virtual screening for 17 assays, containing 93127 compounds in 17 tasks, among which 12 are split for training and 5 are split for testing. ToxCast collects compounds with toxicity labels, containing 8615 compounds in 617 tasks, among which 450 are split for training and 167 are split for testing.
527
+
528
+ 15
529
+
530
+ **FS-Mol.** FS-Mol benchmark, which contains a set of few-shot learning tasks for molecular property prediction carefully collected from ChEMBL27 (Mendez et al., 2019) by Stanley et al. (2021). Following existing works (Chen et al., 2022; Schimunek et al., 2023), we use the same 10% of all tasks which contains 233,786 unique compounds, split into training (4,938 tasks), validation (40 tasks), and test (157 tasks) sets. Each task is associated with a protein target.
531
+
532
+ ## C.2 BASELINES
533
+
534
+ We compare our method with following baselines:
535
+
536
+ - **Siamese** (Koch et al., 2015): It learns two neural networks which are symmetric on structure to identity whether the input molecule pairs are from the same class. The performance is copied from (Altae-Tran et al., 2017) due to the lack of code.
537
+
538
+ - **ProtoNet**[1] (Snell et al., 2017): It makes classification according to inner-product similarity between the target and the prototype of each class. This method is incorporated as a classifier after the GNN encoder.
539
+
540
+ - **MAML**[2] (Finn et al., 2017): It learns a parameter initialization and the model is adapted to each task via few gradient steps on the support set. We adopt this method for all parameters in a model composed of a GNN encoder and a linear classifier.
541
+
542
+ - **EGNN**[3] (Kim et al., 2019): It builds a relation graph that samples are refined, and it learns to predict edge-labels in the relation graph. This method is incorporated as the predictor after the GNN encoder.
543
+
544
+ - **GNN-FiLM** (Brockschmidt, 2020): GNN-FiLM has built hypernetwork with target node as input to generate parameters of FiLM layers, which equips different nodes with different aggregation functions in the GNN. We adopt this as encoder and a MLP as classifier and train on all samples in meta-training tasks and samples in support set of all meta-testing tasks;
545
+
546
+ - **IterRefLSTM** (Altae-Tran et al., 2017): It introduces matching networks combined with long short-term memory (LSTM) to refine the molecular representations according to the task context. The performance is copied from (Altae-Tran et al., 2017) due to the lack of code.
547
+
548
+ - **PAR**[4] (Wang et al., 2021): It introduces an attention mechanism to capture task-dependent property and an inductive relation graph between samples, and incorporates MAML to train.
549
+
550
+ - **ADKF-IFT**[5] (Wang et al., 2021): It adopt gradient-based strategy to learn the encoder where it proposes Implicit Function Theory to avoid computing the hyper-gradient. And a Gaussian Process is learned from scratch in each task as classifier.
551
+
552
+ - **Pre-GNN**[6] (Hu et al., 2019): It trains a GNN encoder on ZINC15 dataset with graph-level and node-level self-supervised tasks, and fine-tunes the pre-trained GNN on downstream tasks. We adopt the pre-trained GNN encoder and a linear classifier.
553
+
554
+ - **GraphLoG**[7] (Xu et al., 2021): It introduces hierarchical prototypes to capture the global semantic clusters. And adopts an online expectation-maximization algorithm to learn. We adopt the pretrained GNN encoder and a linear classifier.
555
+
556
+ - **MGSSL**[8] (Hu et al., 2019): It trains a GNN encoder on ZINC15 dataset with graph-level, nodelevel and motif-level self-supervised tasks, and fine-tunes the pre-trained GNN on downstream tasks. We adopt the pre-trained GNN encoder and a linear classifier.
557
+
558
+ - **GraphMAE**[9] (Hou et al., 2022): It presents a masked graph autoencoder for generative selfsupervised graph pre-training and focus on feature reconstruction with both a masking strategy and scaled cosine error. We adopt the pre-trained GNN encoder and a linear classifier.
559
+
560
+ > 1[URL removed]
561
+
562
+ > 2[URL removed]
563
+
564
+ > 3[URL removed]
565
+
566
+ > 4[URL removed]
567
+
568
+ > 5[URL removed]
569
+
570
+ > 6[URL removed]
571
+
572
+ > 7[URL removed]
573
+
574
+ > 8[URL removed]
575
+
576
+ > 9[URL removed]
577
+
578
+ 16
579
+
580
+ - **Meta-MGNN**[10] (Guo et al., 2021): It incorporates self-supervised tasks such as bond reconstruction and atom type prediction to be jointly optimized via MAML. It uses the pre-trained GNN encoder provided by (Hu et al., 2019).
581
+
582
+ - **Pre-PAR** : The same as PAR but uses the pre-trained GNN encoder provided by (Hu et al., 2019).
583
+
584
+ - **Pre-ADKF-IFT** : The same as ADKF-IFT but uses the pre-trained GNN encoder provided by (Hu et al., 2019).
585
+
586
+ ## C.3 PERFORMANCE COMPARISON WITH PRE-TRAINING
587
+
588
+ **Baselines with Pre-training.** We compare with the following baselines with (w/) pre-training: (i) Methods which fine-tune pre-train GNN encoders, including **Pre-GNN** (Hu et al., 2019), **GraphLoG** (Xu et al., 2021), **MGSSL** (Zhang et al., 2021), **GraphMAE** (Hou et al., 2022); (ii) Few-shot MPP methods incorporating pre-trained encoders provided by (Hu et al., 2019), including **Meta-MGNN** (Guo et al., 2021), **Pre-PAR** (Wang et al., 2021) and **Pre-ADKF-IFT** Chen et al. (2022). All encoders have the same structure (Hu et al., 2019) and are pre-trained on ZINC15 dataset (Sterling & Irwin, 2015). We equip our PACIA with the same pre-trained encoder, and name it as **Pre-PACIA** .
589
+
590
+ Table 7: Test ROC-AUC obtained with pre-trained GNN encoder.
591
+
592
+ |Method|Tox21<br>SIDER<br>10-shot<br>1-shot<br>10-shot<br>1-shot|Tox21<br>SIDER<br>10-shot<br>1-shot<br>10-shot<br>1-shot|MUV<br>ToxCast<br>10-shot<br>1-shot<br>10-shot<br>1-shot|MUV<br>ToxCast<br>10-shot<br>1-shot<br>10-shot<br>1-shot|
593
+ |---|---|---|---|---|
594
+ ||||||
595
+ |Pre-GNN|83_._02(0_._13)<br>82_._75(0_._09)|77_._55(0_._14)<br>67_._34(0_._30)|67_._22(2_._16)<br>65_._79(1_._68)|73_._03(0_._67)<br>71_._26(0_._85)|
596
+ ||||||
597
+ |GraphLoG|81_._61(0_._35)<br>79_._23(0_._93)|75_._18(0_._27)<br>67_._52(1_._40)|67_._83(1_._65)<br>66_._56(1_._46)|73_._92(0_._15)<br>73_._10(0_._39)|
598
+ ||||||
599
+ |MGSSL|83_._24(0_._09)<br>83_._21<br>(0_._12)|77_._87(0_._18)<br>69_._66(0_._21)|68_._58(1_._32)<br>66_._93(1_._74)|73_._51(0_._45)<br>72_._89(0_._63)|
600
+ ||||||
601
+ |GraphMAE|84_._01(0_._27)<br>81_._54(0_._18)|76_._07(0_._15)<br>67_._60(0_._38)|67_._99(1_._28)<br>67_._50<br>~~(~~2_._12)|74_._15(0_._33)<br>72_._67(0_._71)|
602
+ ||||||
603
+ |Meta-MGNN|83_._44(0_._14)<br>82_._67(0_._20)|77_._84(0_._34)<br>74_._62(0_._41)|68_._31(3_._06)<br>66_._10(3_._98)|74_._69(0_._57)<br>73_._29(0_._85)|
604
+ ||||||
605
+ |Pre-PAR|84_._95(0_._24)<br>83_._01<br>(0_._28)|78_._05<br>~~(~~0_._15)<br>75_._29<br>~~(~~0_._32)|69_._88(1_._57)<br>66_._96(2_._63)|75_._48(0_._99)<br>73_._90<br>~~(~~1_._21)|
606
+ ||||||
607
+ |Pre-ADKF-IFT<br>86_._06<br>(0_._35)<br>80_._97(0_._48)<br>70_._95(0_._60)<br>62_._16(1_._03)|||**95****_._74**(0_._37) 67_._25(3_._87)<br>**76****_._22**(0_._13)<br>71_._13(1_._15)||
608
+ ||||||
609
+ |Pre-PACIA|**86****_._40(0****_._27) 84****_._35(0****_._14)**|**83****_._97(0****_._22) 80****_._70(0****_._28)**|73_._43(1_._96)<br>**69****_._26(2****_._35)**|**76****_._22(0****_._73) 75****_._09(0****_._95)**|
610
+
611
+ **Performance with Pre-training.** Table 7 shows the results. We can see that Pre-PACIA obtains significantly better performance except the 10-shot case on MUV, surpassing the second-best method Pre-ADKF-IFT by 3.10%. MGSSL defeats the other methods which fine-tune pre-trained GNN encoders, i.e., Pre-GNN, GraphLoG, and GraphMAE. However, it still performs worse than PrePACIA equipped with Pre-GNN, which validates the necessity of designing a few-shot MPP method instead of simply fine-tuning a pre-trained GNN encoder. Moreover, comparing Pre-PACIA and PACIA in Table 1, the pre-trained encoder brings 3.05% improvement in average performance due to a better starting point of learning.
612
+
613
+ ## C.4 ABLATION STUDY OF HYPERNETWORK
614
+
615
+ For the specific settings, please refer to Table 4 and Table 5 for hyperparameters chosen on MoleculeNet and FS-Mol, where the configuration of hypernetwork is included.
616
+
617
+ For ablation studies, hereresults concerning with three aspects in hypernetwork:
618
+
619
+ ## C.4.1 EFFECT OF CONCATENATING LABEL
620
+
621
+ We show effect of concatenating label _**y** τ,s_ . Table 8 shows the testing ROC-AUC obtained on SIDER. As shown, ”w/ Label” helps keeping the label information in support set, which improves the performance.
622
+
623
+ > 10[URL removed]
624
+
625
+ 17
626
+
627
+ Table 8: Effect of concatenating label _**y** τ,s_ , testing ROC-AUC obtained on SIDER.
628
+
629
+ ||10-shot|1-shot|
630
+ |---|---|---|
631
+ ||||
632
+ |w/ Label|82_._40(0_._26)|77_._72(0_._34)|
633
+ |w/o Label<br>76_._91(0_._17)<br>74_._10(0_._41)|||
634
+
635
+ ## C.4.2 DIFFERENT WAYS OF COMBINING PROTOTYPES
636
+
637
+ We show performance with different ways of combining active prototype _**r** τ,[l]_ +[and inactive prototype] _**r** τ,[l] −_[in][Equation][(10)—(11).][Table][9][show][the][results.][As][”Concatenating”][active][and][inactive] prototypes allows MLP to capture more complex patterns, it obtains better performance on SIDER as shown in Table 9.
638
+
639
+ Table 9: Different ways of combining active prototype _**r** τ,[l]_ +[and][inactive][prototype] _**[r]** τ,[l] −_[,][testing] ROC-AUC obtained on SIDER.
640
+
641
+ ||10-shot|1-shot|
642
+ |---|---|---|
643
+ ||||
644
+ |Concatenating|82_._40(0_._26)|77_._72(0_._34)|
645
+ ||||
646
+ |Mean-Pooling|79_._67(0_._23)|75_._08(0_._29)|
647
+
648
+ ## C.4.3 EFFECT OF DIFFERENT MLP LAYERS
649
+
650
+ We show performance with different layers of MLP in hypernetwork. Table 10 shows the testing ROC-AUC obtained on SIDER. Here, we constrain that the MLPs in Equation (9)(10)(11) have the same layer number. As shown, using 3 layers reaches the best performance. Please note that although we can set different layer numbers for MLPs used in Equation (9)(10)(11) which further improves performance, setting the same layer number already obtains the state-of-the-art performance. Hence, we set layer number as 3 consistently.
651
+
652
+ Table 10: Effect of layers of MLP in hypernetwork, testing ROC-AUC obtained on SIDER.
653
+
654
+ ||1 layer|2 layer|3 layer|4 layer|
655
+ |---|---|---|---|---|
656
+ ||||||
657
+ |10-shot|79_._98(0_._35)|81_._85(0_._33)|82_._40(0_._26)|82_._43(0_._28)|
658
+ ||||||
659
+ |1-shot|75_._02(0_._40)|76_._56(0_._36)|77_._72(0_._34)|77_._59(0_._31)|
660
+
661
+ C.5 A CLOSER LOOK AT MOLECULE-LEVEL ADAPTATION
662
+
663
+ In this section, we pay a closer look at our molecule-level adaptation mechanism, proving evidence of its effectiveness.
664
+
665
+ ## C.5.1 PERFORMANCE UNDER DIFFERENT PROPAGATION DEPTH
666
+
667
+ Figure 5 compares Pre-PACIA with “w/o M” (introduced in Section 5.3) using different fixed layers of relation graph refinement on Tox21, where the maximum Depth _L_ = 5. As can be seen, Pre-PACIA equipped performs much better than “w/o M” which takes the same depth of relation graph refinement as in PAR. This validates the necessity of molecule-level adaptation.
668
+
669
+ ## C.5.2 DISTRIBUTION OF PROPAGATION DEPTH
670
+
671
+ Figure 6(a) plots the distribution of learned _l[′]_ for query molecules in meta-testing tasks for 10-shot case of Tox21. The three meta-testing tasks contain different number of query molecules in scale: 6447 in task SR-HSE, 5790 in task SR-MMP, and 6754 in task SR-p53. We can see that Pre-PACIA choose different _tl_ for query molecules in the same task. Besides, the distribution of learned _l[′]_ varies across different meta-testing tasks: molecules in task SR-MPP mainly choose smaller depth
672
+
673
+ 18
674
+
675
+ **==> picture [191 x 144] intentionally omitted <==**
676
+
677
+ **==> picture [191 x 144] intentionally omitted <==**
678
+
679
+ **==> picture [254 x 8] intentionally omitted <==**
680
+
681
+ **----- Start of picture text -----**<br>
682
+ (a) 10-shot case. (b) 1-shot case.<br>**----- End of picture text -----**<br>
683
+
684
+ Figure 5: Comparing Pre-PACIA with “w/o M” using different fixed propagation depth of relation graph on Tox21.
685
+
686
+ while molecules in the other two tasks tend to choose greater depth. This can be explained as most molecules in task SR-MPP are relatively easy to classify, which is consistent with the fact that Pre-PACIA obtains the highest ROC-AUC on SR-MPP among the three meta-testing tasks (83.75 for SR-HSE, 88.79 for SR-MPP and 86.39 for SR-p53).
687
+
688
+ Further, we pick out molecules with _l[′]_ = 1 (denote as **Group A** ) and _l[′]_ = 4 (denote as **Group B** ) as they are more extreme cases. We then apply “w/o M” with different fixed depth for Group A and Group B, and compare them with Pre-PACIA. Figure 6(b) shows the results. Different observations can be made for these two groups. Molecules in Group A have good performance with smaller depth relation graph, they can achieve higher ROC-AUC score than the average of all molecules using Pre-PACIA. These indicate they are easier to classify and it is reasonable that Pre-PACIA choose _l[′]_ = 1 for them. While molecules in Group B are harder to classify and requires _l[′]_ = 4.
689
+
690
+ **==> picture [191 x 144] intentionally omitted <==**
691
+
692
+ **==> picture [191 x 144] intentionally omitted <==**
693
+
694
+ **==> picture [300 x 10] intentionally omitted <==**
695
+
696
+ **----- Start of picture text -----**<br>
697
+ (a) Distribution of learned l [′] . (b) Performance comparison.<br>**----- End of picture text -----**<br>
698
+
699
+ Figure 6: Examine molecule-level adaptation of Pre-PACIA on 10-shot tasks of Tox21.
700
+
701
+ ## C.6 PERFORMANCE GIVEN MORE TRAINING SAMPLES
702
+
703
+ PACIA can handle general MPP problems. We conduct experiments on SIDER to validate PACIA given increasing labeled samples per task. We compare with GIN (Xu et al., 2019), which is a powerful encoder to handle MPP problems. To make fair comparison, we adapt the commonly used pretraining and fine-tuning strategy. We first pretrain GIN on samples from all meta-training tasks, then use the support set of meta-testing task to fine-tune the classifier. Figure 7 shows the results.
704
+
705
+ 19
706
+
707
+ As can be seen, PACIA outperforms GIN for 1 _,_ 10 _,_ 16 _,_ 32 _,_ 64-shot tasks, and is on par with GIN for 128-shot tasks. The performance gain of PACIA is more significant when fewer labeled samples are provided. Note that all parameters of GNN are fine-tuned, while PACIA only uses a few adaptive parameters to modulate the message passing process of GNN. The empirical evidence shows that PACIA nicely achieves its goal: handling few-shot MPP problem in a parameter-efficient way.
708
+
709
+ **==> picture [199 x 149] intentionally omitted <==**
710
+
711
+ Figure 7: Testing ROC-AUC of PACIA and GIN on SIDER, with different number of labeled samples (shot) per task.
712
+
713
+ ## D ILLUSTRATION FIGURE
714
+
715
+ Here we provide a more detailed illustration of our proposed PACIA, shown as Figure 8.
716
+
717
+ **==> picture [396 x 115] intentionally omitted <==**
718
+
719
+ Figure 8: A more detailed illustration of the model of PACIA. The right part shows the proposed unified GNN adapter, which functions by modulating mode embedding and propagation depth of GNN. The left part shows the architecture of PACIA. There are two GNNs in the In the mainnetwork. Hypernetwork perform property-level adaptation on encoder and molecule-level adaptation on predictor.
720
+
721
+ 20
722
+
open_review/iclr2024_8838.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8838",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "FLOOD SIMULATION WITH PHYSICS-INFORMED MESSAGE PASSING",
6
+ "abstract": "Flood modeling is an important tool for supporting preventive and emergency\nmeasures to mitigate flood risks. Recently, there has been an increasing interest\nin exploring machine learning-based models as an alternative to traditional hydrodynamic models for flood simulation to address challenges such as scalability and accuracy. However, current ML approaches are ineffective at modeling early stages of flooding events, limiting their ability to simulate the entire evolution of the flood. Another key challenge is how to incorporate physics domain-knowledge into these data-driven models. In this paper, we address these challenges by introducing a physics-inspired graph neural network for flood simulation. Given a (geographical) region and precipitation data, our model predicts water depths in an autoregressive fashion. We propose a message-passing framework inspired by the conservation of momentum and mass expressed in the shallow-water equations, which describe the physical process of a flooding event. Empirical results on a dataset covering 9 regions and 7 historical precipitation events demonstrate that our model outperforms the best baseline, and is able to capture the propagation of water flow better, especially at the very early stage of the flooding event.",
7
+ "rebuttal": "We thank the reviewer for the comments. We were able to address each one of them and hope that the reviewer would consider upgrading the rating based on our responses\n\n1) **The GNN-based model, including the message-passing mechanism, is not described very thoroughly.** \nWe have rewritten the Method section providing a detailed description of our architecture.\n\n2) **Does it then indicate that it is this aspect, and not the model itself, which has most impact? If that is the case, then shouldn't we be trying to incorporate the water retention aspect in the existing architectures rather than proposing a new architecture?** \nThe design of the message passing plays a key role in the dispersion phase. The GCN and GAT models considered in our work are implemented the same way as CommGNN with the retention component but with the message-passing of the vanilla GCN and GAT, respectively. We show that they do not perform as good as CommGNN because their message-passing is not as expressive as the one we propose following the conservation of momentum and mass\n\n3) **We have no results on how the proposed approach compares with the hydrological/hydrodynamic models used by domain scientists for flood simulation** \nThe training data is generated using the hydrodynamical model LISFLOOD-FP which we use as the ground truth. There is not enough spatio-temporal data readily available to train an ML model. Therefore, ML models are trained on the simulation output of hydrodynamic models so that they can match their accuracy.\n\n4)**Fig 1 shows how water from two adjoining nodes at higher elevation can flow into one node at lower elevation. But how can water from a higher region divide itself into two lower locations?** \nWe apply the D8 flow direction graph, which is represented by linking each node to its steepest neighbor. Thus, for each node, there is only one outgoing edge (Page 4 & Appendix A.3). The D8 flow direction has long been used by domain experts in hydrology especially when dealing with very shallow water. However, we recognize that this becomes a limitation for later stages (which is shown in our experiments in Table 2). In future work, we will investigate a better graph representation such as a dynamic graph which will be determined based on the current surface elevation and potential energy surface\n\n5) **Is elevation the only factor that influences the dispersion of water? What can be other factors and can they be taken into account in the proposed model?**\nSoil infiltration and friction can be other factors that can be taken into account. However, these data are not readily available, especially solid infiltration extraction which is an active area of research. The incorporation of these features will result in a more involved shallow water equations and therefore will require some modification to the message passing proposed in our current work.\n\n6) **Do the competing models take DEM or any other auxilliary information as input?**\nWe use the same input, that is, DEM and precipitation, for all the models for a fair comparison.\n\n7) **Is it possible to have an experimental result that shows the water retention and dispersion stages separately?** \nCommGNN$^-$ considers only the water dispersion. MLP, used as one of the baselines, does not have propagation. It can be considered as a retention-only method\n\n8) **Can the retention abilities be different in different regions? Which factor in the model takes the retention capacity into account?** \nYes, water retention can be different over a region because the precipitation data is spatially distributed, resulting in different amounts of rainwater falling in different places of a region. Other local attributes could also be incorporated as inputs in the retention phase.\n\n9) **In the experiment, has it been assumed that each region is of uniform elevation? What is the spatial resolution of the DEM, rainfall and flood water depth map?** \nNo, they are not uniform. We are using real-world data representing watersheds with various topographies. Details about the regions are shown in Appendix A.4, Table 5, and Figure 6. The resolution of each DEM grid cell is 30m by 30m, and so are the rainfall and water depth maps.\n\nWe thank the reviewer for the comments. We were able to address each one of them and hope that the reviewer would consider upgrading the rating based on our responses. \n\n1) **The reason for using the proposed GNN instead of a conventional numerical solver are not clear. It seems not to be the goal to improve the accuracy, since the model is trained with simulated flooding data. Is it accelerating the simulation? Runtime comparisons with numerical solvers are not included in the paper** \nPrevious works (Bates, 2022) have shown that ML models are faster, but they do not perform as accurately a [...]\n\nWe thank the reviewer for the comments. We were able to address each one of them and hope that the reviewer would consider upgrading the rating based on our responses. \n\n1) **For methods such as Forward Euler to converge there is a CFL condition which bounds ∆t by ∆x and 1 is too large.** \nWe agree with the reviewer. This was not clear in the paper. Data is generated from numerical hydrodynamic model LISFLOOD-FP, an optimized and specialized model developed by domain experts. At fixed intervals, it outputs snapshots of water depths. However, internally it uses an adaptive time-stepping to e [...]\n\nWe thank the reviewer for the comments. We were able to address each one of them and hope that the reviewer would consider upgrading the rating based on our responses. \n\n1) **Novelty of the ComGNN model**. \nWe have expanded the method section by providing a detailed description of the model. In the revised version of the manuscript, we show that our method operates in two stages. Each cell first retains water from the rain and then propagates it following Eq1 & Eq2 Propagation starts with the conservation of momentum (Eq2) where we use a mess\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 3,
10
+ 5,
11
+ 5,
12
+ 5
13
+ ],
14
+ "score_mean": 4.5,
15
+ "score_variance": 1,
16
+ "score_spread": 2,
17
+ "score_min": 3,
18
+ "score_max": 5,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "This paper presents a physics-informed graph neural network for flood simulation. The strengths of this paper include studying an important application and incorporating physical constraints into graph neural network models to outperform existing ML methods especially during the early stage of flooding. However, the paper has much room to improve its clarity, leading to quite a few clarification questions from the reviewers. Although the authors tried to answer them and revise the paper accordingly, the many piecemeal changes to the paper cannot preserve the coherence of the presentation. The paper needs a major revision to rewrite it thoroughly by presenting the motivation clearly and putting it appropriately in the context of other works. Moreover, since conservation of mass and momentum serves as a physical constraint to guide the learning process (with no guarantee though), it would help to assess how well they can be conserved when compared with other models, as well as the implications. In summary, while this work has potential to be published, major revision is needed to make it ready for publication in a top conference such as ICLR.",
22
+ "forum_id": "4bat0pSQBq",
23
+ "primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_rnbK",
28
+ "review_id": "nketgMUadO",
29
+ "scores": {
30
+ "rating": 3,
31
+ "soundness": 3,
32
+ "presentation": 3,
33
+ "contribution": 2,
34
+ "confidence": 3
35
+ },
36
+ "review_text_chars": 3729,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 781108,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_iyD6",
44
+ "review_id": "RJO9uGuCcq",
45
+ "scores": {
46
+ "rating": 5,
47
+ "soundness": 3,
48
+ "presentation": 3,
49
+ "contribution": 2,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 6785,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 915823,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_g1kJ",
60
+ "review_id": "ZYkvtciCHW",
61
+ "scores": {
62
+ "rating": 5,
63
+ "soundness": 2,
64
+ "presentation": 4,
65
+ "contribution": 2,
66
+ "confidence": 4
67
+ },
68
+ "review_text_chars": 5615,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 2431070,
71
+ "post_rebuttal_text_signal": true,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_j8ny",
76
+ "review_id": "eQdYTGas6y",
77
+ "scores": {
78
+ "rating": 5,
79
+ "soundness": 2,
80
+ "presentation": 3,
81
+ "contribution": 3,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 2703,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 1998322,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": true,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8838.md ADDED
@@ -0,0 +1,556 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## - FLOOD SIMULATION WITH PHYSICS-INFORMED MES SAGE PASSING
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Flood modeling is an important tool for supporting preventive and emergency measures to mitigate flood risks. Recently, there has been an increasing interest in exploring machine learning-based models as an alternative to traditional hydrodynamic models for flood simulation to address challenges such as scalability and accuracy. However, current ML approaches are ineffective at modeling the early stages of flooding events, limiting their ability to simulate the entire evolution of the flood. Another key challenge is incorporating physics domain knowledge into these data-driven models. In this paper, we address these challenges by introducing a physics-inspired graph neural network for flood simulation. Given a (geographical) region and precipitation data, our model predicts water depths in an autoregressive fashion. We propose a message-passing framework inspired by the conservation of momentum and mass expressed in the shallow-water equations, which describe the physical process of a flooding event. Empirical results on a dataset covering 9 regions and 7 historical precipitation events demonstrate that our model outperforms the best baseline, and is able to capture the propagation of water flow better, especially at the very early stage of the flooding event.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Flooding is the natural hazard with the greatest social and economic impact in the United States and affects lives and livelihoods around the world (Tellman et al., 2021; Eckstein et al., 2021; National Academies of Sciences, Engineering, and Medicine; Jha et al.; PBL Netherlands Environmental Assessment Agency). In cities, flooding generates direct property damage, indirect losses through supply chain disruption, and threats to livelihood through drowning and interruption of transportation networks, limiting access to healthcare and emergency services (Haraguchi & Lall; Han et al.; Gori et al.; Panakkal et al., a;b). With climate change increasing the intensity and frequency of extreme precipitation in many regions (on Climate Change , IPCC), urbanization reducing natural flood protection (Merz et al., 2014; Sebastian et al., 2019), and rapid population growth in floodprone regions, the severity of urban flooding is projected to continue to grow (Berkhahn et al., 2019; Schreider et al., 2000).
14
+
15
+ Many mechanisms can drive flooding. Here, we focus on flooding in urban areas, driven by both fluvial (rising river levels) and pluvial (intense rainfall) mechanisms. The evolution of flood depth in urban areas is a time-evolving physical process typically represented by the shallow-water equations, a set of partial differential equations (PDEs) that describe a thin layer of fluid of constant density in hydrostatic balance, bounded from below by the bottom topography and from above by a free surface. In practice, flooding in urban areas is modeled using specialized solvers, such as LISFFOOD-FP (Shaw et al., 2021) and HEC-RAS (Brunner, 2016), which not only solve the relevant PDEs but also account for space- and time-varying rainfall, evolving inundation regions, and additional features. A key insight of the past decade is that increasing the resolution of models is often a better use of limited computational resources than including detailed representations of physical processes (Bates; Bates et al.). However, these models remain computationally expensive, require extensive calibration with poor generalizability, and perform poorly on small and medium-scale floods for which processes like drainage infrastructure and infiltration, neglected by most models, are important (Rosenzweig et al.; Saksena & Merwade). This limits their utility for vitally important applications including real-time flood warning, probabilistic hazard assessment, representation of green infrastructure benefits, and optimization of infrastructure design.
16
+
17
+ 1
18
+
19
+ Recently, machine learning (ML) methods have emerged as a promising alternative to hydrodynamic numerical models due to their flexibility, efficiency, and scalability (Mosavi et al., 2018; Bentivoglio et al., 2022). ML-based models for flooding have generally fallen into three groups. The first uses time series models such as Long-Short Term Memory (LSTM) networks to predict the time series of discharge (flow/time) at a single location (Wi & Steinschneider, 2022; 2023; Nevo et al., 2021), trained on gauge observations. While this approach has proven flexible and skillful in transfer learning tasks, it does capture the spatially varying dynamics of urban flooding. The second approach predicts the maximum extent of a flood, given information on the area affected and the storm, trained on high water marks and satellite observations (Mu˜noz et al., 2021; Berkhahn et al., 2019; Kabir et al., 2020; L¨owe et al., 2021; Hofmann & Sch¨uttrumpf, 2021). However, such approaches do not provide information on the time evolution of the system, critical for many applications, and may be difficult to check for physical realism. The third approach, like 2D hydrodynamic models, considers both spatial and temporal dynamics of flooding. The primary limitation of this approach is that observations are not, in general, available, so models are trained in “surrogate” mode on the output of computationally expensive models (Bates, 2022). This approach is the focus of our paper.
20
+
21
+ In this work, we propose ComGNN, a physics-inspired graph neural network for flood simulation. GNNs have achieved promising results in predicting physics simulations (Pfaff et al., 2021; Lino et al., 2022), including fluid dynamics problems Keisler (2022); Lam et al. (2022). They support a wide range of PDE discretizations, such as regular and irregular meshes (Brandstetter et al., 2022). Our proposed model takes as input a directed graph derived from the flow direction of a region where each mesh cell is a node with an outgoing edge to its steepest neighbor cell. At each time step, each node is first considered as an isolated bucket that accumulates its current water volume and water from the rain, which is later propagated to the surrounding nodes using a message-passing inspired by the conservation of momentum and mass. These features enable our method to simulate the early stages of flooding events much better than current approaches. Our work makes the following contributions to emerging field of GNN-based flood simulation:
22
+
23
+ - We propose ComGNN, a graph neural network for urban flood dynamics given spatially and temporally varying rainfall that operates in a two-stage paradigm: (1) retain water where it falls and (2) propagate water to surroundings.
24
+
25
+ - We propose a message-passing mechanism on the flow direction graph that is explicitly designed based on the conservation of momentum and mass for water propagation.
26
+
27
+ - We evaluate our method on 9 watersheds (regions) for 7 historical floods each. Our experiments show that our approach outperforms current approaches, with up to one order of magnitude lower RMSE in the early stages of a flooding event.
28
+
29
+ ## 2 RELATED WORK
30
+
31
+ **Machine learning for spatial and temporal variability of floods.** The focus in ML for flood prediction has mainly been on modeling either the spatial or temporal variability of floods. For instance, ML has been used to predict water flow over time at a single location (Wi & Steinschneider, 2022; 2023; Nevo et al., 2021). There have been applications of ML to the prediction of flood inundation, susceptibility, and hazard maps (Wang et al., 2020; Guo et al., 2022; L¨owe et al., 2021; Oliveira Santos et al., 2023; Farahmand et al., 2023). Mosavi et al. (2018) provide a comprehensive review of machine learning approaches for flood prediction. Bentivoglio et al. (2022) review machine learning applications to flood mappings. However, the interplay between predictions of spatial and temporal variabilities is extremely important for ML to be used as an alternative to current 2D hydrodynamic models for flood simulation. There have recently been a few works addressing this problem. For instance, Kazadi et al. (2022) proposes a GNN that predicts water depth and velocities as vector features in an auto-regressive manner. However, this work does not account for rainfall precipitations and fails to simulate floods from very early stages (when the domain is dry). Bentivoglio et al. (2023) also proposes a GNN architecture inspired by the shallow-water equations. The key advantages of our method is that (i) it takes spatially distributed rainfall data as input; (ii) it explicitly emulates the conservation of momentum and mass of the shallow-water equations; (iii) it operates in two stages to propagate water over a region, which is crucial for early stage of flood simulations; (iv) it is trained directly on real-world data instead of synthetic data.
32
+
33
+ 2
34
+
35
+ **Machine learning for the simulation of dynamical systems.** More recently, Graph Neural Networks (GNNs) have been successfully applied to physics-based simulations (Sanchez-Gonzalez et al., 2019; Kipf et al., 2018; Fortunato et al., 2022; Cranmer et al., 2020; Battaglia et al., 2016; Allen et al., 2022). Due to their ability to handle irregular graph data, they support different PDE discretization schemes (e.g, structured and unstructured meshes). GNN message passing and graph Laplacian operator have been associated with differential operators, suitable for solving PDEs (Brandstetter et al., 2022; Maddix et al., 2022). For instance, Pfaff et al. (2021) propose a GNN that can simulate the dynamics of fluids, rigid solids, and deformable materials. Alet et al. (2019) learns a continuous-space function representation with a learnable discretization of the domain into finite elements. Two GNNs for weather forecasting were recently shown to achieve promising results by Lam et al. (2022) and Keisler (2022). Another line of recent works that have improved the learning of PDE dynamics are neural operators (Lu et al., 2021; Anandkumar et al., 2019; Patel et al., 2021; Li et al., 2021; Yin et al., 2023). These methods do not require any knowledge about the underlying PDEs that describe the physical process. They operate on continuous space and time by taking as input an initial condition state and predicting the continuous state at a given time. Neural operators have also shown promising results in weather forecasting (Pathak et al., 2022). Flood simulation, however, poses new challenges to existing ML approaches for dynamical systems due to (i) the nature of real-world datasets, which cover large and have complex topographies and (ii) the need for accounting for external precipitation data. Our work addresses these issues and experimental results show that our approach outperforms the ones proposed by Pfaff et al. (2021) and Brandstetter et al. (2022) in the context of flood simulation.
36
+
37
+ ## 3 FLOOD MODELING: MATHEMATICAL FRAMEWORK
38
+
39
+ The theoretical framework for flood modeling is based on fluid mechanics described by the 3D Navier-Stokes equation. In practice, however, the characteristic vertical length scale of the flow is very small with respect to the characteristic horizontal length scale, resulting in a constant horizontal velocity field throughout the depth of the fluid. The dynamics of a flooding process are, therefore, derived by depth integrating the 3D Navier-Stokes equation, leading to a system of non-linear PDEs called shallow-water equations (de Almeida et al., 2012). The shallow water equations, without convective acceleration and negligible friction, are defined as follows.
40
+
41
+ **==> picture [285 x 22] intentionally omitted <==**
42
+
43
+ **==> picture [314 x 22] intentionally omitted <==**
44
+
45
+ where _h_ ( _x, y_ ; _t_ ) is the water depth relative to the ground elevation _z_ ( _x, y_ ), **q** = ( _qx_ ( _t_ ) _, qy_ ( _t_ )) is the discharge (per unit width), _∇_ = ( _∂x[∂][,] ∂y[∂]_[)][ is the spatial gradient operator.]
46
+
47
+ ## 4 PROBLEM FORMULATION AND APPROACH
48
+
49
+ ## 4.1 PROBLEM FORMULATION
50
+
51
+ Given a region _R_ , represented as a graph, and a spatially distributed rainfall event _P_[1:] _[K]_ over _K_ time steps, our goal is to simulate the early subsequent unfolding states (water depth levels) _H_[1:] _[K]_ of _R_ due to _P_[1:] _[K]_ over a region defined by its bare ground topographic surface.
52
+
53
+ ## 4.2 METHOD
54
+
55
+ We propose ComGNN, a novel GNN for flood simulation based on the retention and dispersion of water. In the water **retention phase** , we consider each cell _vi_ as an isolated bucket with no water exchange with its surrounding cells. The water level in _vi_ is represented by the latent features **e** _[t] i_[(] _[∈]_[R] _[d]_[)][, solely depending on the rainfall] _[ p][t] i_[(] _[≥]_[0)][ and previous water level] _[ h][t] i[−]_[1] ( _≥_ 0).
56
+
57
+ **==> picture [245 x 13] intentionally omitted <==**
58
+
59
+ where MLP is a multi-layer perceptron, and _∥_ is the concatenation operation.
60
+
61
+ 3
62
+
63
+ The **dispersion phase** acts as a learning-based spatial solver of the shallow-water equations. Following the method of lines (Schiesser, 2012), we first define a scheme for the spatial domain. Based on the Taylor expansion, the _n[th]_ -derivative of _f_ of order _n_ can be approximated as
64
+
65
+ **==> picture [245 x 30] intentionally omitted <==**
66
+
67
+ where _αi_ are coefficients, and _yi_ are points sampled in the neighborhood of _x_ , that is, _yi_ = _x_ +∆ _xi_ . For instance, first-order forward finite difference can be recovered from Eq 4 by setting _N_ = 2, ∆ _x_ 1 = 0 _, α_ 1 = _−_ ∆1 _x_ 2[, and] _[ α]_[2][=] ∆1 _x_ 2[(See Appendix A.1).][When the coefficients] _[ α][i]_[are learnable] from the sampled points, it gives rise to an adaptive approximation scheme with different orders of accuracy for each point _x_ . Furthermore, Eq 4 can be seen as a special case of the more general message passing _ψ_ and node update operation _ϕ_ in GNNs (Brandstetter et al., 2022).
68
+
69
+ **==> picture [281 x 22] intentionally omitted <==**
70
+
71
+ where _N_ ( _x_ ) is the neighborhood of _x_ . By setting _ψ_ to a scaling factor of its first argument _f_ ( _yi_ ), and _ϕ_ to the summation of its arguments, we recover Eq 4. Applying the spatial derivative from Eq 5 to the conservation of momentum (Eq. 2) at each node _i_ gives:
72
+
73
+ **==> picture [289 x 22] intentionally omitted <==**
74
+
75
+ where _N_ **out** ( _i_ ) = _{vj|vi → vj}_ . We define the message passing _ψ_ as a backward difference to model the ability of flow going from _vi_ to _vj_ .
76
+
77
+ **==> picture [314 x 11] intentionally omitted <==**
78
+
79
+ where _σ_ is the sigmoid function, _⊙_ is the element-wise multiplication, **z** _i/j_ = MLP( _zi/j_ ), and **e** _i/j_ is the latent representation of the water retained from the rain (Eq. 3) which we substitute for the water depth _hi/j_ . There is flow from _vi_ to _vj_ if there is a difference in water surface, that is, ( **e** _i_ + **z** _i_ ) _−_ ( **e** _j_ + **z** _j_ ). Furthermore, this flow can only happen if there is water in _vi_ , hence, multiplication by _σ_ ( **e** _i_ ) as a gating mechanism. By defining the node update _ϕ_ as a summation of its arguments and applying forward Euler time integrator to Eq 6, we have
80
+
81
+ **==> picture [331 x 24] intentionally omitted <==**
82
+
83
+ where **q** _[t] i_[can be regarded as the total flow going out of] _[ v][i]_[.]
84
+
85
+ After obtaining **q** _[t] i_[at each cell] _[ v][i]_[, the second level message passing of the water dispersion phase is] computed with the following (implicit) time integration of the equation of the conservation of mass.
86
+
87
+ **==> picture [282 x 13] intentionally omitted <==**
88
+
89
+ where _N_ **in** ( _i_ ) = _{vj|vj → vi}_ . By setting _ψ_ as an identity function and _ϕ_ as a parametric function (MLP) of the summation of incoming flows from _vj_ minus outgoing flow of _vi_ , we obtain
90
+
91
+ **==> picture [279 x 25] intentionally omitted <==**
92
+
93
+ Multiple iterations of this bi-level message-passing (Eq. 8 & 10) can be performed to simulate dispersion over long distances. Intermediate states can be interpreted as latent space forecasting (Migus et al., 2023); _h[t] i_[will be the output of the final message-passing—this is analogous to a multistep time] integration of _h[t] i_[.][At the next time step] _[ t]_[ + 1][,] _[ p][t] i_[+1] and _h[t] i_[are fed back into our model, in an auto-] regressive manner, for the prediction of _h[t] i_[+1] . The entire process is illustrated in Figure 1.
94
+
95
+ ∆ _t_ and the gravitational force are fixed, only appear as constant multiplicative factors, we assume them to be equal to 1 in (Eq. 8 & 10) in the present work.
96
+
97
+ **Region representation as a graph.** In practice, region surfaces are represented in a raster format (digital elevation model –DEM), where each pixel/grid cell represents the ground elevation. The first challenge in developing a GNN for flooding simulation is to design a graph topology that
98
+
99
+ 4
100
+
101
+ **==> picture [44 x 14] intentionally omitted <==**
102
+
103
+ **==> picture [49 x 16] intentionally omitted <==**
104
+
105
+ **==> picture [9 x 15] intentionally omitted <==**
106
+
107
+ **==> picture [10 x 14] intentionally omitted <==**
108
+
109
+ **==> picture [12 x 11] intentionally omitted <==**
110
+
111
+ **==> picture [6 x 11] intentionally omitted <==**
112
+
113
+ **==> picture [6 x 11] intentionally omitted <==**
114
+
115
+ **==> picture [6 x 10] intentionally omitted <==**
116
+
117
+ **==> picture [5 x 10] intentionally omitted <==**
118
+
119
+ **==> picture [6 x 11] intentionally omitted <==**
120
+
121
+ **==> picture [6 x 11] intentionally omitted <==**
122
+
123
+ **==> picture [223 x 92] intentionally omitted <==**
124
+
125
+ **==> picture [30 x 8] intentionally omitted <==**
126
+
127
+ **==> picture [85 x 51] intentionally omitted <==**
128
+
129
+ **==> picture [86 x 51] intentionally omitted <==**
130
+
131
+ Figure 1: **Water retention and dispersion** . Each cell in the domain representing a region is considered as an isolated bucket filled with water _e[t] i_[from rain] _[ p][t] i_[.][Water is propagated by computing,] with possibly many iterations, discharges _qi[t]_[(by conserving momentum Eq. 8), and getting the more] stable water depth _h[t] i_[(by conserving mass Eq 10).]
132
+
133
+ captures the dynamics of the flooding process, especially at an early stage of the process when water tends to flow from high elevations to lower ones. We convert a given region _R_ into a directed graph _GR_ ( _V, E_ ), which remains static during the entire simulation. _GR_ is defined as the D8 flow direction map (Jenson & Domingue, 1988) based on the DEM of _R_ (See Appendix A.3). Each grid cell _vi_ ( _∈ V_ ) is considered as a node, and a single directed outgoing edge _ei→j_ ( _∈ E_ ) connects _vi_ to its steepest neighbor _vj_ . Each cell _vi_ has as features a rainfall time series _p_[1:] _i[K]_ (corresponding to its location in _P_[1:] _[K]_ ), initial state _h_[0] _i_[, and ground elevation] _[ z][i]_[.][Based on this configuration Eq 8 can] further be reduced to the following:
134
+
135
+ **==> picture [208 x 13] intentionally omitted <==**
136
+
137
+ **Loss function** . At each time _t_ , we propose the following loss function as the objective to minimize the discrepancy between predicted water levels _h[t] i_[and the ground truth] _[ w] i[t]_[:]
138
+
139
+ **==> picture [285 x 46] intentionally omitted <==**
140
+
141
+ **==> picture [279 x 30] intentionally omitted <==**
142
+
143
+ where _N_ is the number of nodes. The loss _L_ diff is a combination of the _L_ 1 loss (for very small values) and _L_ 2 (for larger values). _L_ + penalizes negative values of _h[t] i_[returned by the model.][In our] experiments, _L_ diff performs better than _L_ 1 or _L_ 2 used individually. This can be explained by the fact that we are dealing with very sparse data, and the optimization can adapt to different regimes of the learning process when the loss is small (by switching to _L_ 1) or large (by switching to _L_ 2) without manually tuning the learning rate.
144
+
145
+ ## 5 EXPERIMENTS
146
+
147
+ We evaluate our approach for flood simulation (ComGNN) using a representative dataset of flooding events and evaluation metrics. We hypothesize that ComGNN is a more accurate surrogate for hydrodynamic models than existing alternatives from the literature. Due to space limitations, we provide more details on datasets, experimental settings, and additional results in the Appendix.
148
+
149
+ ## 5.1 DATASET
150
+
151
+ Experiments are based on the simulations from the hydrodynamic model LISFLOOD-FP, version 8 (Shaw et al., 2021). We consider 9 sub-watershed regions from Harris County in Texas. For each of these regions, simulations were run using 7 historical rainfall events (based on the flood history in
152
+
153
+ 5
154
+
155
+ Harris County[1] collected from NOAA NEXRAD radar precipitation records from the Multi-Radar Multi-Sensor Gauge Corrected (MRMS-GC) Quantitative Precipitation Estimation (QPE) product (Martinaitis et al., 2020). These are hourly recorded precipitation values, which we reduce to 5- minute intervals using a linear interpolation between consecutive time steps (see Appendix A.4).
156
+
157
+ The Harris County, TX, area, which includes the city of Houston (the 4th most populous in the United States), is the ideal case study for the evaluation of flood simulation methods. The region has experienced multiple severe floods in the past decades and is investing billions of dollars in flood mitigation (HCFCD, 2019) and faces broad climate adaptation challenges representative of those facing urban watersheds across the U.S. (ASFPM, 2020).
158
+
159
+ **Data normalization** We normalize the Digital Elevation Model (DEM) of each region independently using standardization. This helps in handling situations where regions have similar topographies but different altitudes as they are expected to show similar inundation behaviors. Since the _x_ precipitation and water depth are highly sparse, we log-transform them using log(1 + 1 _e−_ 2[)][ Pathak] et al. (2022), followed by a division by 10.
160
+
161
+ ## 5.2 EXPERIMENTAL SETTINGS
162
+
163
+ **Baselines** We compare our model (ComGNN) to the following approaches: (i) **U-net** (Ronneberger et al., 2015), arguably the most popular CNN model for predicting dynamic systems defined on a mesh; (ii) **ConvLSTM** (SHI et al., 2015); (iii) **MP-PDE** (Brandstetter et al., 2022), a GNN solver for PDEs; and (iv) **MeshGraphNet** (Pfaff et al., 2021), proposed for the simulation of dynamic systems. To assess the efficacy of our proposed message-passing, we replace it with a **GCN** (Kipf & Welling, 2017) and a **GAT** (Veliˇckovi´c et al., 2018) keeping other parts of the model architecture the same. We further consider a variant of our model ( **ComGNN** _[−]_ ) where the precipitation data is directly used as a node feature, instead of operating in two stages (i.e., retention and then propagation). This model is similar to the one proposed by Bentivoglio et al. (2023) and it will serve as a subject in the ablation analysis. We also compare our model to simple methods such as a multi-layer perceptron ( **MLP** ), a model that predicts the previous depth at each node ( **Persitence** ), and another that simply computes the next water depth by incrementing it with the amount of rain ( **Rain-Incr** ). The purpose of these simple methods is to show that when the initial state of the region has already water in it, they can perform better than some of the most sophisticated methods. Similar to our model (ComGNN), all baseline architectures are applied in an auto-regressive manner.
164
+
165
+ **Training setup** We conducted a thorough hyperparameter search on both our model and baselines and selected the configuration with the lowest RMSE score on the validation set (See Appendix A.5 for more details). The dataset has a total of 63 combinations of (watershed) regions and precipitation data, from which 9 were used as the training set, 3 as the validation set, and the remaining ones as our test set. The simulation lead time was set to 40, the largest we could train on a single NVIDIA GPU Ampere A40. For each sample in the validation set, we trained one model instance, resulting in an ensemble of 3 models per method.
166
+
167
+ **Evaluation metrics** We use the root mean square error (RMSE), the Nash–Sutcliffe model efficiency coefficient (NSE), the Pearson correlation coefficient (r), and the critical success index (CSI) for performance evaluation (See Appendix A.2).
168
+
169
+ ## 5.3 RESULTS
170
+
171
+ Our evaluation will focus on the accuracy of the water depths predicted by ComGNN for multiple flood simulations. We will compare our approach against a comprehensive set of baselines to demonstrate that the proposed physics-inspired message-passing architecture is able to approximate complex of flooding events. Two important aspects that will be considered in our evaluation are the the prediction lead time and the initial stage of the flooding event. Longer lead times are more challenging to be predicted by autoregressive models due to the accumulation of errors over time. Moreover, we will show that the early stages of the flood—when the soil is still dry—are harder to be predicted by existing machine learning models.
172
+
173
+ > 1[URL removed]
174
+
175
+ 6
176
+
177
+ Table 1: Accuracy/error of simulations over all of the test watershed regions and precipitation events combined. The simulation is run over 40 time steps using true water depth values at time _t_ = 0 as initial input. We use _tr_ to denote time relative to the beginning of the simulation. For CSI, we only show results at _tr_ = 40 for thresholds _γ_ = _{_ 0 _._ 001 _,_ 0 _._ 01 _}_ . The results show that our approach achieves the best results across all evaluation metrics.
178
+
179
+ |**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ <br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ <br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ <br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ <br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ <br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ <br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_|= 40)<br>0_._01_m_|
180
+ |---|---|---|---|---|---|---|
181
+ |Persistence<br>Rain-Incr<br>ConvLSTM<br>MLP<br>GCN<br>GAT<br>U-net<br>MeshGraphNet<br>MP-PDE<br>ComGNN_−_<br>ComGNN|.3052<br>.1972<br>.1780<br>.2119<br>.1874<br>.2155<br>.2329<br>.1597<br>.1824<br>.1571<br>**.1328**|.8559<br>.5465<br>.4397<br>.5457<br>.5482<br>.6103<br>.4546<br>.4807<br>.5192<br>.4830<br>**.3615**|.4663<br>.4407<br>.6766<br>.6590<br>.7199<br>.7491<br>.6445<br>.6597<br>.6986<br>.6576<br>.6366<br>.6078<br>.6001<br>.7364<br>.7615<br>.7141<br>.7098<br>.6817<br>.7674<br>.7121<br>**.8218**<br>**.8154**|.0000<br>.0000<br>.7253<br>.7013<br>.7823<br>.8181<br>.6807<br>.7156<br>.7859<br>.7669<br>.7020<br>.7042<br>.7488<br>.8022<br>.8327<br>.7968<br>.7936<br>.7895<br>.8412<br>.7782<br>**.8866**<br>**.8854**|.0000<br>.7122<br>.7051<br>.5306<br>.7014<br>.6949<br>.6581<br>.6120<br>.7158<br>.6180<br>**.7463**|.0000<br>.4653<br>.4691<br>.4404<br>.4993<br>.3286<br>.4734<br>.5412<br>.5209<br>.5637<br>**.6486**|
182
+
183
+ Tables 1 and 2 show results when the true water depths at times _t_ = 0, and _t_ = 40 are used as initial conditions, respectively. The purpose is to show how models perform at different stages of a flooding event. In Table 1, corresponding to the very early stage of a flooding event when the land is completely dry, we can see that all baseline methods struggle to capture the dynamics of the water flows, which is evidence that current approaches are ineffective at handling low water depth values. Our proposed model ComGNN shows the best performance across different metrics, performing even better than its variant ComGNN _[−]_ , which does not consider water retention. the decrease in performance of MP-PDE and MeshGraphNet can be explained by the fact the domain in a flooding scenario involves complex topography defined by the ground elevation, whereas these models were mainly designed for systems on simpler manifolds, such as lines, and 2D planes.
184
+
185
+ Table 2: Similar results to those shown in Table1 but using true water depths at time _t_ = 40 as initial input. We note that at a later stage of the flood—when there is already water in the domain—the baselines perform much better, including simple ones such as Rain-Incr. Our approach (ComGNN) also achieves competitive results in this setting.
186
+
187
+ |**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ = 40)<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_<br>0_._01_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ = 40)<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_<br>0_._01_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ = 40)<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_<br>0_._01_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ = 40)<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_<br>0_._01_m_|**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ = 40)<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_<br>0_._01_m_|
188
+ |---|---|---|---|---|
189
+ |Persistence<br>1.0343<br>1.8319<br>Rain-Incr<br>.6407<br>.9765<br>ConvLSTM<br>**.4213**<br>**.6668**<br>MLP<br>.6663<br>.9722<br>GCN<br>.7469<br>1.1933<br>GAT<br>.7871<br>1.2652<br>U-net<br>.6704<br>.8794<br>MeshGraphNet<br>.7327<br>1.1963<br>MP-PDE<br>.7429<br>1.2169<br>ComGNN_−_<br>.6835<br>1.0015<br>ComGNN<br>.5333<br>.7686|.6250<br>.8129<br>**.9095**<br>.8006<br>.7617<br>.7422<br>.7987<br>.7686<br>.7636<br>.7924<br>.8625|.4747<br>.7608<br>**.8721**<br>.7624<br>.6805<br>.6545<br>.7968<br>.6794<br>.6719<br>.7515<br>.8370|.7676<br>.8838<br>**.9500**<br>.8962<br>.8818<br>.8763<br>.8669<br>.8778<br>.8799<br>.8924<br>.9280|.5708<br>.5115<br>.3395<br>.8304<br>.8395<br>.7338<br>**.9238**<br>.8352<br>.8129<br>.8707<br>.7677<br>.7250<br>.8310<br>.8428<br>.7575<br>.8301<br>.8467<br>.7053<br>.8746<br>.7997<br>.7108<br>.8048<br>.8209<br>.7897<br>.8018<br>.8606<br>.7587<br>.8390<br>.8184<br>.7887<br>.9034<br>**.8666**<br>**.8284**|
190
+
191
+ Table 2 shows results when flood state at time _t_ = 40 is used as our initial condition. At this stage, when there is already water in the domain, we can notice that most methods start to perform much better, including the naive method Rain-Incr, which is competitive with the most sophisticated methods. This shows that simulating the flow of water can become a trivial process when there is already enough water in the domain. Furthermore, this shows that existing methods are better suited for settings where there is already a significant amount of water in the domain but underperform when the
192
+
193
+ 7
194
+
195
+ water is sparsely distributed. Nonetheless, we can also notice a decrease in the performance of our method, which can be explained by the fact that the flow direction graph used as the representation of a region might not be adequate to represent the actual flow when the level of water rises over an entire region—as the discharge is less dependent on elevation. See Table 4 in Appendix A.3 for a comparison between the flow direction graph and grid-based graph.
196
+
197
+ Since there might be different times at which there is water in a given region during a rainfall event, in Table 3, we show results when the initial condition for each domain is one time step before there is any flooded area. Here again, we can see that our proposed method outperforms other approaches.
198
+
199
+ Table 3: Similar results to those shown in Table Table1 but using as input the time immediately before there is any water in the region. Our approach (ComGNN) excels at this challenging setting, consistently outperforming the baselines.
200
+
201
+ |consistently outperforming the baselines.|consistently outperforming the baselines.|consistently outperforming the baselines.|consistently outperforming the baselines.|consistently outperforming the baselines.|consistently outperforming the baselines.|
202
+ |---|---|---|---|---|---|
203
+ |**Method**<br>**RMSE**_↓_<br>**NSE**_↑_<br>_r ↑_<br>**CSI**_↑_(_tr_ = 40)<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>_tr_ = 20<br>_tr_ = 40<br>0_._001_m_<br>0_._01_m_||||||
204
+ |Persistence<br>Rain-Incr<br>ConvLSTM<br>MLP<br>GCN<br>GAT<br>U-net<br>MeshGraphNet<br>MP-PDE<br>ComGNN_−_<br>ComGNN|.4457<br>1.0485<br>.2986<br>.6470<br>.2484<br>.5164<br>.3025<br>.6458<br>.2891<br>.6653<br>.3249<br>.7379<br>.2818<br>.5333<br>.2458<br>.5911<br>.2786<br>.6283<br>.2450<br>.5731<br>**.2037**<br>**.4344**|.4536<br>.6491<br>.7277<br>.6431<br>.6636<br>.6097<br>.6750<br>.7319<br>.6800<br>.7331<br>**.7990**|.4237<br>.6588<br>.7519<br>.6596<br>.6462<br>.5975<br>.7398<br>.6982<br>.6719<br>.7111<br>**.8107**|.0000<br>.0000<br>.6855<br>.7099<br>.7912<br>.8215<br>.6757<br>.7288<br>.7484<br>.7703<br>.6636<br>.7107<br>.7741<br>.8055<br>.8021<br>.7916<br>.7615<br>.7881<br>.8093<br>.7850<br>**.8686**<br>**.8849**|.0000<br>.0000<br>.7092<br>.4862<br>.7291<br>.5506<br>.6117<br>.4637<br>.7151<br>.5140<br>.7274<br>.3864<br>.7074<br>.5223<br>.6784<br>.5511<br>.7492<br>.5197<br>.6896<br>.5768<br>**.7816**<br>**.6603**|
205
+
206
+ Under the same initial conditions as in Table 3 Figure 2 shows the absolute error of our model ComGNN (Figures 2b, 2e, 2h, and 2k) and the absolute error of best-performing baseline ConvLSTM, (Figures 2c, 2f, 2i, and 2l) over the region represented in Figure 2m at lead times 10, 20, 30, and 40. The first column (Figures 2a, 2d, 2g, 2j) represents the true flood map (water depths) states. We can see that ComGNN achieves lower errors than ConvLSTM. We provide further visualizations of the correlation between the true and predicted water depth values of all the methods in Appendix A.6 where we show that ComGNN’s predictions are the most aligned with the true water depths.
207
+
208
+ ## 6 CONCLUSION
209
+
210
+ We have presented ComGNN, a physics-inspired graph neural network for early-stage flood simulation based on a given rainfall event. ComGNN operates in two stages: at each time step, water from the rain is first stored in the area of the region where it falls ( _water retention_ ), and it is then propagated to the surrounding areas ( _water dispersion_ ) using a message-passing that mimics the conservation of momentum and mass. A region is represented as a directed graph by linking each cell/node to its steepest neighbor based on the D8 flow direction of the region’s topography.
211
+
212
+ Our experiments were based on realistic simulations of 7 historical floods over 9 watershed regions in Harris County, Texas. Results have shown that ComGNN is effective at simulating the early stage of a flooding event, outperforming existing methods with significant margins in terms of different evaluation metrics (RMSE, NSE, Pearson’s coefficient of correlation, and CSI).
213
+
214
+ As future work, we will address the degradation in the performance of ComGNN when the level of water rises. Since a D8 flow direction graph becomes ineffective in capturing the flow of very deep waters, we will investigate how to dynamically change the graph representation of a region based on the current water surface elevation (water depth + ground elevation) and potential energy surface.
215
+
216
+ 8
217
+
218
+ **==> picture [362 x 565] intentionally omitted <==**
219
+
220
+ **----- Start of picture text -----**<br>
221
+ 2.0 1.75 1.75<br>1.50 1.50<br>1.5 1.25 1.25<br>1.00 1.00<br>1.0<br>0.75 0.75<br>0.50 0.50<br>0.5<br>0.25 0.25<br>0.0 0.00 0.00<br>(a) True flooded area at tr = 10 (b) ComGNN error at tr = 10 (c) ConvLSTM error at tr = 10<br>3.5<br>3.0 3.0<br>3.0<br>2.5 2.5<br>2.5<br>2.0 2.0<br>2.0<br>1.5 1.5<br>1.5<br>1.0 1.0 1.0<br>0.5 0.5 0.5<br>0.0 0.0 0.0<br>(d) True flooded area at tr = 20 (e) ComGNN error at tr = 20 (f) ConvLSTM error at tr = 20<br>3.0 3.0<br>3.5<br>2.5 2.5<br>3.0<br>2.5 2.0 2.0<br>2.0 1.5 1.5<br>1.5<br>1.0 1.0<br>1.0<br>0.5 0.5<br>0.5<br>0.0 0.0 0.0<br>(g) True flooded area at tr = 30 (h) ComGNN error at tr = 30 (i) ConvLSTM error at tr = 30<br>3.5 3.5<br>4.0<br>3.5 3.0 3.0<br>3.0 2.5 2.5<br>2.5 2.0 2.0<br>2.0<br>1.5 1.5<br>1.5<br>1.0 1.0<br>1.0<br>0.5 0.5 0.5<br>0.0 0.0 0.0<br>(j) True flooded area at tr = 40 (k) ComGNN error at tr = 40 (l) ConvLSTM error at tr = 40<br>50<br>40<br>30<br>20<br>10<br>0<br>(m) Ground elevation<br>**----- End of picture text -----**<br>
222
+
223
+ Figure 2: Absolute error of our proposed method (middle column) and the absolute error of ConvLSTM (right column) compared to the true flood area (left column) at lead times 20 (row 1) and 40 (row 2) for the region represented in Figure2m. The results show that ComGNN achieves lower error than the baseline, which is consistent with the results from Table 1.
224
+
225
+ 9
226
+
227
+ ## REFERENCES
228
+
229
+ - Ferran Alet, Adarsh K. Jeewajee, Maria Bauz´a, Alberto Rodriguez, Tomas Lozano-Perez, and Leslie Pack Kaelbling. Graph element networks: adaptive, structured computation and memory. In _International Conference on Machine Learning_ , 2019.
230
+
231
+ - Kelsey R Allen, Yulia Rubanova, Tatiana Lopez-Guevara, William Whitney, Alvaro SanchezGonzalez, Peter Battaglia, and Tobias Pfaff. Learning rigid dynamics with face interaction graph networks. _arXiv preprint arXiv:2212.03574_ , 2022.
232
+
233
+ - Anima Anandkumar, Kamyar Azizzadenesheli, Kaushik Bhattacharya, Nikola Kovachki, Zongyi Li, Burigede Liu, and Andrew Stuart. Neural operator: Graph kernel network for partial differential equations. In _ICLR 2020 Workshop on Integration of Deep Neural Models and Differential Equations_ , 2019. URL [URL removed]
234
+
235
+ - ASFPM. Urban flood hazards: Challenges and opportunities, 2020. URL https: //asfpm-library.s3-us-west-2.amazonaws.com/ASFPM_Pubs/ASFPM_ Stormwater_Committee_Urban_Flood_Hazard_Areas_Discussion_2020. pdf.
236
+
237
+ - Paul Bates. Fundamental limits to flood inundation modelling. pp. 1–2. ISSN 27316084. doi: 10.1038/s44221-023-00106-4. URL [URL removed] s44221-023-00106-4.
238
+
239
+ - Paul D. Bates. Flood inundation prediction. _Annual Review of Fluid Mechanics_ , 54(1):287–315, 2022.
240
+
241
+ - Paul D. Bates, Niall Quinn, Christopher Sampson, Andrew Smith, Oliver Wing, Jeison Sosa, James Savage, Gaia Olcese, Jeff Neal, Guy Schumann, Laura Giustarini, Gemma Coxon, Jeremy R. Porter, Mike F. Amodeo, Ziyan Chu, Sharai Lewis-Gruss, Neil B. Freeman, Trevor Houser, Michael Delgado, Ali Hamidi, Ian Bolliger, Kelly E. McCusker, Kerry Emanuel, Celso M. Ferreira, Arslaan Khalid, Ivan D. Haigh, Ana¨ıs Couasnon, Robert E. Kopp, Solomon Hsiang, and Witold F. Krajewski. Combined modeling of US fluvial, pluvial, and coastal flood hazard under current and future climates. 57(2):e2020WR028673.
242
+
243
+ - Peter Battaglia, Razvan Pascanu, Matthew Lai, Danilo Jimenez Rezende, et al. Interaction networks for learning about objects, relations and physics. _Advances in neural information processing systems_ , 29, 2016.
244
+
245
+ - R. Bentivoglio, E. Isufi, S. N. Jonkman, and R. Taormina. Deep learning methods for flood mapping: a review of existing applications and future research directions. _Hydrology and Earth System Sciences_ , 26(16):4345–4378, 2022.
246
+
247
+ - Roberto Bentivoglio, Elvin Isufi, Sebastiaan Nicolas Jonkman, and Riccardo Taormina. Rapid spatio-temporal flood modelling via hydraulics-based graph neural networks. _EGUsphere_ , 2023: 1–24, 2023.
248
+
249
+ - Simon Berkhahn, Lothar Fuchs, and Insa Neuweiler. An ensemble neural network model for realtime prediction of urban floods. _Journal of hydrology_ , 575:743–754, 2019.
250
+
251
+ - Johannes Brandstetter, Daniel E. Worrall, and Max Welling. Message passing neural PDE solvers. In _International Conference on Learning Representations_ , 2022.
252
+
253
+ - Gary W Brunner. Hec-ras river analysis system: Hydraulic reference manual, version 5.0. _US Army Corps of Engineers–Hydrologic Engineering Center_ , 547, 2016.
254
+
255
+ - Miles Cranmer, Sam Greydanus, Stephan Hoyer, Peter Battaglia, David Spergel, and Shirley Ho. Lagrangian neural networks. _arXiv preprint arXiv:2003.04630_ , 2020.
256
+
257
+ - Gustavo A. M. de Almeida, Paul Bates, Jim E. Freer, and Maxime Souvignet. Improving the stability of a simple formulation of the shallow water equations for 2-d flood modeling. _Water Resources Research_ , 48(5), 2012.
258
+
259
+ 10
260
+
261
+ - David Eckstein, Vera K¨unzel, and Laura Sch¨afer. _The global climate risk index 2021_ . Bonn: Germanwatch, 2021.
262
+
263
+ - Hamed Farahmand, Yuanchang Xu, and Ali Mostafavi. A spatial–temporal graph deep learning model for urban flood nowcasting leveraging heterogeneous community features. _Scientific Reports_ , 13(1), Apr 2023.
264
+
265
+ - Meire Fortunato, Tobias Pfaff, Peter Wirnsberger, Alexander Pritzel, and Peter Battaglia. Multiscale meshgraphnets. _arXiv preprint arXiv:2210.00612_ , 2022.
266
+
267
+ - Avantika Gori, Ioannis Gidaris, James R. Elliott, Jamie Padgett, Kevin Loughran, Philip Bedient, Pranavesh Panakkal, and Andrew Juan. Accessibility and recovery assessment of Houston’s roadway network due to fluvial flooding during Hurricane Harvey. 21(2):04020005. doi: 10.1061/ (asce)nh.1527-6996.0000355. URL [URL removed] %28ASCE%29NH.1527-6996.0000355.
268
+
269
+ Zifeng Guo, Vahid Moosavi, and Jo˜ao P. Leit˜ao. Data-driven rapid flood prediction mapping with catchment generalizability. _Journal of Hydrology_ , 609:127726, 2022. ISSN 0022-1694.
270
+
271
+ - Inkyu Han, Kristina W. Whitworth, Brian Christensen, Masoud Afshar, Heyreoun An Han, Amal Rammah, Temitope Oluwadairo, and Elaine Symanski. Heavy metal pollution of soils and risk assessment in Houston, Texas following Hurricane Harvey. 296:118717.
272
+
273
+ - Masahiko Haraguchi and Upmanu Lall. Flood risks and impacts: A case study of Thailand’s floods in 2011 and research questions for supply chain decision making. 14:256–272. doi: 10.1016/j.ijdrr.2014.09.005. URL [URL removed] pii/S2212420914000752.
274
+
275
+ - HCFCD. Prioritization framework for the implementation of the Harris County Flood Control District 2018 bond projects, 2019. URL [URL removed] 49/Documents/Metrics-for-Evaluation-Criteria_2019-August21.pdf.
276
+
277
+ - Julian Hofmann and Holger Sch¨uttrumpf. floodGAN: Using Deep Adversarial Learning to Predict Pluvial Flooding in Real Time. _Water_ , 13(16):2255, 2021.
278
+
279
+ - Susan K. Jenson and Julia O. Domingue. Extracting topographic structure from digital elevation data for geographic information-system analysis. _Photogrammetric Engineering and Remote Sensing_ , 54(11):1593–1600, 1988.
280
+
281
+ - Abhas K. Jha, Robin Bloch, and Jessica Lamond. Cities and flooding: A guide to integrated urban flood risk management for the 21st century. URL [URL removed] org/handle/10986/2241.
282
+
283
+ - Syed Kabir, Sandhya Patidar, Xilin Xia, Qiuhua Liang, Jeffrey Neal, and Gareth Pender. A deep convolutional neural network model for rapid prediction of fluvial flood inundation. _Journal of Hydrology_ , 590:125481, 2020.
284
+
285
+ - Arnold Kazadi, James Doss-Gollin, Antonia Sebastian, and Arlei Silva. Flood prediction with graph neural networks. In _NeurIPS Workshop on Tackling Climate Change with Machine Learning_ , 2022.
286
+
287
+ - Ryan Keisler. Forecasting global weather with graph neural networks. _arXiv preprint arXiv:2202.07575_ , 2022.
288
+
289
+ - Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. In _International conference on machine learning_ , pp. 2688– 2697. PMLR, 2018.
290
+
291
+ - Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In _ICLR_ , 2017.
292
+
293
+ - Remi Lam, Alvaro Sanchez-Gonzalez, Matthew Willson, Peter Wirnsberger, Meire Fortunato, Alexander Pritzel, Suman Ravuri, Timo Ewalds, Ferran Alet, Zach Eaton-Rosen, et al. Graphcast: Learning skillful medium-range global weather forecasting. _arXiv preprint arXiv:2212.12794_ , 2022.
294
+
295
+ 11
296
+
297
+ - Zongyi Li, Nikola Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations, 2021.
298
+
299
+ - Mario Lino, Stathi Fotiadis, Anil Anthony Bharath, and Chris D. Cantwell. Towards fast simulation of environmental fluid mechanics with multi-scale graph neural networks. In _AI4Earth Workshop at ICLR_ , 2022.
300
+
301
+ - Lu Lu, Pengzhan Jin, Guofei Pang, Zhongqiang Zhang, and George Em Karniadakis. Learning nonlinear operators via deeponet based on the universal approximation theorem of operators. _Nature Machine Intelligence_ , 3(3):218–229, March 2021. ISSN 2522-5839. doi: 10.1038/s42256-021-00302-5.
302
+
303
+ - Roland L¨owe, Julian B¨ohm, David Getreuer Jensen, Jorge Leandro, and Søren Højmark Rasmussen. U-FLOOD–Topographic deep learning for predicting urban pluvial flood water depth. _Journal of Hydrology_ , 603:126898, 2021.
304
+
305
+ - Danielle C Maddix, Nadim Saad, and Yuyang Wang. Modeling advection on directed graphs using mat´ern gaussian processes for traffic flow. In _NeurIPS Workshop on Tackling Climate Change with Machine Learning_ , 2022.
306
+
307
+ - Steven M Martinaitis, Andrew P Osborne, Micheal J Simpson, Jian Zhang, Kenneth W Howard, Stephen B Cocks, Ami Arthur, Carrie Langston, and Brian T Kaney. A physically based multisensor quantitative precipitation estimation approach for gap-filling radar coverage. _Journal of Hydrometeorology_ , 21(7):1485–1511, 2020.
308
+
309
+ - Bruno Merz, JCJH Aerts, Karsten Arnbjerg-Nielsen, M Baldi, A Becker, Adeline Bichet, G¨unter Bl¨oschl, Laurens M Bouwer, Achim Brauer, Francesco Cioffi, et al. Floods and climate: emerging perspectives for flood risk assessment and management. _Natural Hazards and Earth System Sciences_ , 14(7):1921–1942, 2014.
310
+
311
+ - L´eon Migus, Julien Salomon, and patrick gallinari. Stability of implicit neural networks for longterm forecasting in dynamical systems. In _ICLR 2023 Workshop on Physics for Machine Learning_ , 2023. URL [URL removed]
312
+
313
+ - Amir Mosavi, Pinar Ozturk, and Kwok-wing Chau. Flood prediction using machine learning models: literature review. _Water_ , 10(11):1536, 2018.
314
+
315
+ - David F Mu˜noz, Paul Mu˜noz, Hamed Moftakhari, and Hamid Moradkhani. From local to regional compound flood mapping with deep learning and data fusion techniques. _Science of the Total Environment_ , 782:146927, 2021.
316
+
317
+ - National Academies of Sciences, Engineering, and Medicine. _Framing the Challenge of Urban Flooding in the United States_ . National Academies Press. ISBN 978-0-309-48961-4. doi: 10. 17226/25381. URL [URL removed]
318
+
319
+ - Sella Nevo, Efrat Morin, Adi Gerzi Rosenthal, Asher Metzger, Chen Barshai, Dana Weitzner, Dafi Voloshin, Frederik Kratzert, Gal Elidan, Gideon Dror, and others. Flood forecasting with machine learning models in an operational framework. _Hydrology and Earth System Sciences Discussions_ , pp. 1–31, 2021.
320
+
321
+ - Victor Oliveira Santos, Paulo Alexandre Costa Rocha, John Scott, Jesse Van Griensven Th´e, and Bahram Gharabaghi. A new graph-based deep learning model to predict flooding with validation on a case study on the humber river. _Water_ , 15(10), 2023.
322
+
323
+ - Intergovernmental Panel on Climate Change (IPCC). _Weather and Climate Extreme Events in a Changing Climate_ . Cambridge University Press, 2023.
324
+
325
+ - Pranavesh Panakkal, Andrew Juan, Matthew Garcia, Jamie E. Padgett, and Philip Bedient. Towards Enhanced Response: Integration of a Flood Alert System with Road Infrastructure Performance Models. pp. 294–305, a.
326
+
327
+ - Pranavesh Panakkal, Allison M Wyderka, Jamie E Padgett, and Philip B Bedient. Safer this way: Identifying flooded roads for facilitating mobility during floods. b.
328
+
329
+ 12
330
+
331
+ - Ravi G. Patel, Nathaniel A. Trask, Mitchell A. Wood, and Eric C. Cyr. A physics-informed operator regression framework for extracting data-driven continuum models. _Computer Methods in Applied Mechanics and Engineering_ , 373:113500, January 2021. ISSN 0045-7825.
332
+
333
+ - Jaideep Pathak, Shashank Subramanian, Peter Harrington, Sanjeev Raja, Ashesh Chattopadhyay, Morteza Mardani, Thorsten Kurth, David Hall, Zongyi Li, Kamyar Azizzadenesheli, Pedram Hassanzadeh, Karthik Kashinath, and Animashree Anandkumar. FourCastNet: A Global Datadriven High-resolution Weather Model using Adaptive Fourier Neural Operators, 2022.
334
+
335
+ - PBL Netherlands Environmental Assessment Agency. The geography of future water challenges. URL [URL removed] the-geography-of-future-water-challenges.
336
+
337
+ - Tobias Pfaff, Meire Fortunato, Alvaro Sanchez-Gonzalez, and Peter Battaglia. Learning mesh-based simulation with graph networks. In _International Conference on Learning Representations_ , 2021.
338
+
339
+ - Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In _Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015_ , pp. 234–241, 2015.
340
+
341
+ - B. R. Rosenzweig, P. Herreros Cantis, Y. Kim, A. Cohn, K. Grove, J. Brock, J. Yesuf, P. Mistry, C. Welty, T. McPhearson, J. Sauer, and H. Chang. The value of urban flood modeling. 9(1).
342
+
343
+ - Siddharth Saksena and Venkatesh Merwade. Application of physically based distributed flood models for large-scale flood simulations. In _Flood Handbook_ . CRC Press.
344
+
345
+ - Alvaro Sanchez-Gonzalez, Victor Bapst, Kyle Cranmer, and Peter Battaglia. Hamiltonian graph networks with ode integrators. _arXiv preprint arXiv:1909.12790_ , 2019.
346
+
347
+ - W.E. Schiesser. _The Numerical Method of Lines: Integration of Partial Differential Equations_ . Elsevier Science, 2012. ISBN 9780128015513.
348
+
349
+ - S. Yu. Schreider, D. I. Smith, and A. J. Jakeman. Climate change impacts on urban flooding. _Climatic Change_ , 47(1):91–115, Oct 2000.
350
+
351
+ - Antonia Sebastian, Avantika Gori, Russell B Blessing, Karin Van Der Wiel, and Benjamin Bass. Disentangling the impacts of human and environmental change on catchment response during hurricane harvey. _Environmental Research Letters_ , 14(12):124023, 2019.
352
+
353
+ - James Shaw, Georges Kesserwani, Jeffrey Neal, Paul Bates, and Mohammad Kazem Sharifian. LISFLOOD-FP 8.0: the new discontinuous galerkin shallow-water solver for multi-core CPUs and GPUs. 14(6):3577–3602, 2021.
354
+
355
+ - Xingjian SHI, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-kin Wong, and Wang-chun WOO. Convolutional lstm network: A machine learning approach for precipitation nowcasting. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett (eds.), _Advances in Neural Information Processing Systems_ , volume 28. Curran Associates, Inc., 2015.
356
+
357
+ - B. Tellman, J. A. Sullivan, C. Kuhn, A. J. Kettner, C. S. Doyle, G. R. Brakenridge, T. A. Erickson, and D. A. Slayback. Satellite imaging reveals increased proportion of population exposed to floods. _Nature_ , 596(7870):80–86, Aug 2021. ISSN 1476-4687.
358
+
359
+ - Petar Veliˇckovi´c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li`o, and Yoshua Bengio. Graph Attention Networks. 2018.
360
+
361
+ - Yi Wang, Zhice Fang, Haoyuan Hong, and Ling Peng. Flood susceptibility mapping using convolutional neural network frameworks. _Journal of Hydrology_ , 582:124482, 2020. ISSN 0022-1694.
362
+
363
+ - Sungwook Wi and Scott Steinschneider. Assessing the physical realism of deep learning hydrologic model projections under climate change. _Water Resources Research_ , 58(9):e2022WR032123, 2022.
364
+
365
+ - Sungwook Wi and Scott Steinschneider. On the need for physical constraints in deep learning rainfall-runoff projections under climate change. _EGUsphere_ , 2023:1–46, 2023.
366
+
367
+ 13
368
+
369
+ Yuan Yin, Matthieu Kirchmeyer, Jean-Yves Franceschi, Alain Rakotomamonjy, and Patrick Gallinari. Continuous pde dynamics forecasting with implicit neural representations. In _International Conference on Learning Representations_ , 2023.
370
+
371
+ ## A APPENDIX
372
+
373
+ ## A.1 DERIVATIVE APPROXIMATION WITH TAYLOR SERIES
374
+
375
+ For simplicity, let us assume a one-dimensional domain. Suppose we want to approximate the derivate of a smooth enough function _f_ at point _xi_ with _l_ points to the left, and _r_ points to the right, forming a stencil that includes the points _xj_ such that _i − l ≤ j ≤ i_ + _r_ . Let us further assume _xj_ are uniformly, that is, ∆ _xj_ = _j_ ∆ _x_ . The Taylor expansion of _f_ at _xj_ centered at _xi_ is
376
+
377
+ **==> picture [388 x 23] intentionally omitted <==**
378
+
379
+ where _i − l ≤ j ≤ i_ + _r_ . Multiplying each of these expansions by a constant _cj_ and summing them up gives
380
+
381
+ **==> picture [391 x 130] intentionally omitted <==**
382
+
383
+ Eq. 14 provides a way to approximate higher order derivatives at any order accuracy of _f_ . For instance, first-order derivative at third-order accuracy can be obtained by setting �� _ij_ += _ri−l[jc][j]_ � to 1 and �� _ji_ += _ri−l[j]_[2] _[c][j]_ � to 0.
384
+
385
+ ## A.2 EVALUATION METRICS
386
+
387
+ At each time step _t_ , we use the root mean square error (RMSE), the Nash–Sutcliffe model efficiency coefficient (NSE), and the Pearson correlation coefficient ( _r_ ) for performance evaluation:
388
+
389
+ **==> picture [400 x 35] intentionally omitted <==**
390
+
391
+ where _yi_ is the true value and _pi_ is the predicted value. We also consider the critical success index (CSI) that measures the spatial accuracy of the classification of cells as flooded or non-flooded areas for a given flooding threshold _γ_ . CSI is evaluated as follows:
392
+
393
+ **==> picture [91 x 22] intentionally omitted <==**
394
+
395
+ where TP are true positives (cells with both the predictions and ground truths greater than _γ_ ), FP are false positives (cells whose ground truths are less than _γ_ but the model’s predictions are greater than _γ_ ), and FN are false negatives (cells where the model fail to predict a flooded area). In our experiments, we consider _γ_ = _{_ 0 _._ 001 m _,_ 0 _._ 01 m _}_ since we are dealing with very shallow waters.
396
+
397
+ 14
398
+
399
+ ## A.3 D8 FLOW DIRECTION GRAPH
400
+
401
+ We used the tool ArcGIS Pro[2] to generate the D8 flow direction graph of a region based on its digital elevation model (DEM). D8 (eight-direction) indicates that the output direction of a cell is related to its 8 adjacent cells. The direction is coded as an unsigned 8-bit integer, with 1 denoting east, 2 south-east, 4 south, 8 south-west, 16 west, 32 north-west, 64 north, and 128 north-east. We generate a directed graph by considering a cell as a node, and by adding an outgoing edge to the adjacent cell corresponding to the direction code.
402
+
403
+ **Comparison between Flow Direction Graph and Grid-based Graph** Since our proposed model ComGNN is based on the flow direction, we instead choose GCN to compare performances when a region is represented as a flow direction and a grid-based graph (when the mesh is directly used as the graph). In Table 4 the GCN with flow direction is denoted as plain GCN and the one with grid-based graph GCN-grid. We can that with flow direction graph, results are relatively good in early states, that is, with initial condition at t = 0. GCN-grid starts performing better when there is water in the domain (initial condition t=40) as at this stage, especially, when water evens out, the direction of the propagation becomes less important.
404
+
405
+ Table 4: Comparison between D8 flow direction graph and grid-based graph representation.
406
+
407
+ |**Method**|**RMSE**_↓_|**RMSE**_↓_|**NSE**_↑_|**NSE**_↑_|_r ↑_|_r ↑_|**CSI**_↑_(_tr_|= 40)|
408
+ |---|---|---|---|---|---|---|---|---|
409
+ ||_tr_ = 20|_tr_ = 40|_tr_ = 20|_tr_ = 40|_tr_ = 20|_tr_ = 40|0_._001_m_|0_._01_m_|
410
+ |||Initial condition_t_= 0(see Table||||1|||
411
+ |GCN|**.1874**|**.5482**|**.6986**|**.6576**|**.7859**|**.7669**|.7014|**.4993**|
412
+ |GCN-grid|.2046|.5702|.6603|.6397|.7179|.7282|**.7081**|.4239|
413
+ |||Initial|condition_t_= 40( see Table 2)||||||
414
+ |GCN|.7469|1.1933|.7617|.6805|.8818|.8310|.8428|**.7575**|
415
+ |GCN-grid|**.7252**|**1.1243**|**.7722**|**.7058**|**.8902**|**.8518**|**.8527**|.7564|
416
+ |||Initial condition same as in Table||||3|||
417
+ |GCN|**.2891**|**.6653**|**.6636**|**.6462**|**.7484**|**.7703**|**.7151**|**.5140**|
418
+ |GCN-grid|.3084|.6836|.6342|.6337|.6843|.7398|.7138|.4524|
419
+
420
+ ## A.4 DATASET
421
+
422
+ We consider 9 sub-watershed regions from Harris County in Texas, all shown together in Figure 3.
423
+
424
+ Figure 4 shows the ground elevations of the 9 watersheds. They are represented in a raster format where each pixel cell represents a 30 _m ×_ 30 _m_ area. The areas and dimensions (in terms of number of rows and columns) of the watersheds are given in Table 5. Details about the precipitation data are shown in Table 6.
425
+
426
+ **Simulations** The flood data were generated using LISFLOOD-FP(Shaw et al., 2021), a twodimensional hydrodynamic model specifically designed to simulate floodplain inundation over complex topography by numerically solving the shallow water equations. It predicts water depths in each cell of the discretized domain using an adaptive time stepping. We provided the DEM (ground elevation) of a region and prediction data as input and collected snapshots of water depth states as output every 5 minutes of the simulation process clock-time. It is worth noting that between output intervals, LISFLOOD-FP computes several internal time steps.
427
+
428
+ ## A.5 MODEL CONFIGURATIONS
429
+
430
+ The learning rate was set to 1e-4 for all the models. We also noticed that all the models considered in our work performed much better with the loss function proposed in Eq. 11, with a bump in
431
+
432
+ 2[URL removed] spatial-analyst/how-flow-direction-works.htm
433
+
434
+ 15
435
+
436
+ **==> picture [330 x 271] intentionally omitted <==**
437
+
438
+ Figure 3: Color-coded watershed regions considered in our work
439
+
440
+ Table 5: Regions considered in this work with the areas and dimensions in terms of the number of rows and columns in their raster
441
+
442
+ |**Region**|**Area**(km2)|**Rows**|**Columns**|
443
+ |---|---|---|---|
444
+ |White Oak Bayou|288|1083|749|
445
+ |Vince Bayou|41|280|370|
446
+ |Sims Bayou|242|1412|562|
447
+ |San Jacinto River|272|745|406|
448
+ |Hunting Bayou|77|514|417|
449
+ |Greens Bayou|549|1512|1032|
450
+ |Carpenters Bayou|65|331|558|
451
+ |Buffalo Bayou|267|1360|750|
452
+ |Brays Bayou|330|1358|577|
453
+
454
+ Table 6: Preciptiation data
455
+
456
+ |**Rainfall Event**|**Date**|**Intensity**|(mm/s)|
457
+ |---|---|---|---|
458
+ |||mean|max|
459
+ |Pre-Memorial Day Flood|May 13, 2015|0.4|33.9|
460
+ |Memorial Day Flood|May 25, 2015|2.6|97.7|
461
+ |N/A|Oct 31, 2015|6.1|146.5|
462
+ |Tax Day Flood|Apr 17, 2016|3.1|73.3|
463
+ |Hurricane Harvey|Aug 25, 2017|5.6|122.4|
464
+ |N/A|Jul 04, 2018|3.4|85.4|
465
+ |Tropical Storm Imelda|Sep 17, 2019|2.7|103.3|
466
+
467
+ 16
468
+
469
+ **==> picture [362 x 387] intentionally omitted <==**
470
+
471
+ **----- Start of picture text -----**<br>
472
+ 40 40<br>35<br>35 35<br>30 30 30<br>25 25 25<br>20 20 20<br>15 15 15<br>10 10 10<br>5 5 5<br>0 0 0<br>(a) Brays Bayou (b) Buffalo Bayou (c) Sims Bayou<br>80<br>50 30 70<br>40 25 60<br>50<br>20<br>30 40<br>15<br>20 30<br>10<br>20<br>10 5 10<br>0 0 0<br>(d) San Jacinto River (e) Hunting Bayou (f) Greens Bayou<br>20.0<br>16<br>17.5<br>14<br>15.0<br>12 50<br>12.5<br>10<br>10.0 40<br>8<br>7.5 30<br>6<br>5.0 4 20<br>2.5 2 10<br>0.0 0 0<br>(g) Carpenters Bayou (h) Vince Bayou (i) White Oak Bayou<br>**----- End of picture text -----**<br>
473
+
474
+ Figure 4: Absolute error of our proposed method (middle column) and the absolute error of U-net (right column) compared to the true flood area (left column) at lead times 10 (row 1), 20 (row 2), 30 (row 3), 40 (row 4) of the region represented in Figure2m.
475
+
476
+ 17
477
+
478
+ performance of up to 30% in some cases. _tanh_ function showed better performance compared to the original activation functions of some of the baselines. All linear transformations were used without the bias term, this seemed to help to deal with the sparsity of the data. The configurations with the best performance of individual methods are given below,
479
+
480
+ - **Persistence** : naive and non-parametric method that assumes that the conditions at the time of prediction will not change. That is, this method predicts the same values provided as the initial conditions for all subsequent predictions. This method seems to perform well if the conditions do not change much, which is usually the case when there is already water in the domain.
481
+
482
+ - **Rain-Incr** : simple method we implement as _hi[t]_ = _h[t][−]_[1] + _αp[t]_ ; where _h[t]_ is the water depth at time _t_ , _p[t]_ is the precipitation at time _t_ , and _α_ is a learnable parameter. This method simply increments the current amount of water by the rain, which also seems to perform well in an area where there is already water in the domain.
483
+
484
+ - **ConvLSTM** (SHI et al., 2015): re-implementation with all CNN components with 64 channels and kernel of size 3.
485
+
486
+ - **MLP** : implementation with 3 layers with 32 neurons in each layer.
487
+
488
+ - **GAT** / **GCN** with 2 or 3 layers performed about the same. We kept 2 layers to reduce the number of parameters, and therefore avoid overfitting.
489
+
490
+ - **U-net** implementation with 2 down-samplings and 2 up-samplings all with 32 channels. The Swish activation function implementation from MP-PDE was used here as it increased performance.
491
+
492
+ - **MeshGraphNet** : re-implementation following description from the original paper Pfaff et al. (2021). One layer of the proposed method seemed to perform the best, with _tanh_ as the activation. For this method in particular the loss function in Eq. 11, improved the performance by a significant margin compared to _L_ 2 loss. Note that no spatial coordinates were used in this implementation version, given the huge sizes of the domains.
493
+
494
+ - **MP-PDE** (Brandstetter et al., 2022): Adapted from the original implementation. One layer performed the best, and the prediction was conducted for one step ahead to match the configurations of other approaches used in our work. Spatial coordinates are not used like in the original implementation either. The Swish activation function was left unchanged since it performed better than _tanh_ and ReLU.
495
+
496
+ - **ComGNN** showed better performance with a 3-layer MLP for Eq. 3, one layer of Eq. 8, and 2 layers of Eq. 10). _tanh_ was used as the activation function and all the layers were implemented with 32 neurons.
497
+
498
+ Table 7 shows the numbers of parameters of models considered in this work.
499
+
500
+ Table 7: Number of parameters of each model considered in this work
501
+
502
+ |**Method**|**# parameters**|
503
+ |---|---|
504
+ |Rain-Incr|1|
505
+ |ConvLSTM|157,376|
506
+ |MLP|1,152|
507
+ |GCN|4,688|
508
+ |GAT|4,816|
509
+ |U-net|37,408|
510
+ |MeshGraphNet|10,832|
511
+ |MP-PDE|14,024|
512
+ |ComGNN_−_|12,944|
513
+ |ComGNN|12,928|
514
+
515
+ 18
516
+
517
+ ## A.6 CORRELATION BETWEEN PREDICTIONS AND TRUE VALUES
518
+
519
+ We provide visualizations of the correlation between true and predicted water depth values in Figures 5, 6, 7 and 8 for lead times 10, 20, 30, and 40, respectively. The results demonstrate that ComGNN’s predictions are the most aligned with the true water depth values.
520
+
521
+ **==> picture [362 x 412] intentionally omitted <==**
522
+
523
+ **----- Start of picture text -----**<br>
524
+ 5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5<br>Target Target Target<br>(a) ConvLSTM (b) MLP (c) GCN<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5<br>Target Target Target<br>(d) GAT (e) U-net (f) MeshGraphNet<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5<br>Target Target Target<br>(g) MP-PDE (h) ComGNN [−] (i) ComGNN<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>**----- End of picture text -----**<br>
525
+
526
+ Figure 5: Scatter Plots at lead time 10 in log-log scale
527
+
528
+ 19
529
+
530
+ **==> picture [362 x 411] intentionally omitted <==**
531
+
532
+ **----- Start of picture text -----**<br>
533
+ 5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5<br>Target Target Target<br>(a) ConvLSTM (b) GCN (c) GAT<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5<br>Target Target Target<br>(d) GAT (e) U-net (f) MeshGrapnNet<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5<br>Target Target Target<br>(g) MP-PDE (h) ComGNN [−] (i) ComGNN<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>**----- End of picture text -----**<br>
534
+
535
+ Figure 6: Scatter Plots at lead time 20 in log-log scale
536
+
537
+ 20
538
+
539
+ **==> picture [362 x 411] intentionally omitted <==**
540
+
541
+ **----- Start of picture text -----**<br>
542
+ 6 6 6<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6<br>Target Target Target<br>(a) ConvLSTM (b) GCN (c) GAT<br>6 6 6<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6<br>Target Target Target<br>(d) GAT (e) U-net (f) MeshGrapnNet<br>8<br>6 7<br>7<br>5 6<br>6<br>4 5 5<br>4<br>3 4<br>3 3<br>2<br>2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 6 0 1 2 3 4 5 6 7 0 2 4 6 8<br>Target Target Target<br>(g) MP-PDE (h) ComGNN [−] (i) ComGNN<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>**----- End of picture text -----**<br>
543
+
544
+ Figure 7: Scatter Plots at lead time 30 in log-log scale
545
+
546
+ 21
547
+
548
+ **==> picture [362 x 413] intentionally omitted <==**
549
+
550
+ **----- Start of picture text -----**<br>
551
+ 7 7 7<br>6 6 6<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7<br>Target Target Target<br>(a) ConvLSTM (b) GCN (c) GAT<br>7 7 7<br>6 6 6<br>5 5 5<br>4 4 4<br>3 3 3<br>2 2 2<br>1 1 1<br>0 0 0<br>0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7<br>Target Target Target<br>(d) GAT (e) U-net (f) MeshGrapnNet<br>7<br>25<br>6 10<br>20<br>5 8<br>4 15<br>6<br>3<br>10<br>4<br>2<br>1 5 2<br>0 0 0<br>0 1 2 3 4 5 6 7 0 5 10 15 20 25 0 2 4 6 8 10<br>Target Target Target<br>(g) MP-PDE (h) ComGNN [−] (i) ComGNN<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>Prediction Prediction Prediction<br>**----- End of picture text -----**<br>
552
+
553
+ Figure 8: Scatter Plots at lead time 40 in log-log scale
554
+
555
+ 22
556
+
open_review/iclr2024_8840.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8840",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Efficient Point Cloud Matching for 3D Geometric Shape Assembly",
6
+ "abstract": "Learning to assemble geometric shapes into a larger target structure is a fundamental task with various high-level visual applications. In this work, we frame this problem as geometric registration with extremely low overlap. Our goal is to establish accurate correspondences on the mating surface of the shape fragments to predict their relative rigid transformations for assembly. To this end, we introduce Proxy Match Transform (PMT), an approximate high-order feature transform layer that enables reliable correspondences between dense point clouds of shape fragments, while incurring low costs in memory and compute. In our experiments, we demonstrate that Proxy Match Transform surpasses existing state-of-the-art baselines on a popular geometric shape assembly dataset, while exhibiting higher efficiency than other high-order feature transform methods.",
7
+ "rebuttal": "### Comments to Reviewer NyfY\nWe appreciate Reviewer NyfY for their insightful comments and suggestions. In response, we have addressed your comments and incorporated revisions into our manuscript, as outlined in the general comments. We encourage the reviewer to check the updated version of our paper. \n\n**[W1&2]. Lack of motivation & theoretical insight**\n\n**Answer:**\n\n**Motivation and derivation:** \nAs outlined in our paper's introduction, high-order feature transform methods have been known to excel in addressing matching problems by capturing structural patterns of correlations in high-dimensional spaces. It is more critical for geometric shape assembly, which requires a meticulous search for pairwise correlations to capture the fine local details of each shape fragment. Despite their efficacy, these methods encounter challenges due to quadratic complexity, limiting their applicability to coarse-grained matching with a restricted number of points. In response to this constraint and with the goal of leveraging a computationally efficient high-order feature transform, we introduce a novel layer termed Proxy Match Transform. We demonstrate its effectiveness and efficiency in the context of shape assembly tasks.\n\n**Role of proxy tensor $\\mathbf{P}$:**\nAs discussed in Section 3.1 of our paper, the proxy plays a crucial role in achieving the previously mentioned goal of designing an efficient high-order feature transform layer. Essentially, the Proxy Match Transform employs the proxy to reduce the quadratic computational cost of high-order convolution to a sub-quadratic level while effectively expressing the high-order convolution. We have dedicated efforts to analyze the role of the proxy both theoretically and empirically; In Section 3.1, we have discussed the derivation demonstrating how the Proxy Match Transform can express high-order convolution with only sub-quadratic complexity. In Section 3.2, we established sufficient conditions for its approximation. In Section A.1, we have put the extended theoretical analysis of the Proxy Match Transform. In Section A.2, we added the empirical analysis on the proxy and showed how the proxy helps in facilitating critical information exchange between two input point clouds.\n\n**Role of weight $w$:**\nWeight value w is a learnable parameter in Proxy Match Transform layer, serving to accumulate the computation results for each head of the Proxy Match Transform with an appropriate weight.\n\n### Comments to Reviewer jVVT (1/2)\n> **“I still find it very difficult to get real insight into what the method is doing and why it works.”**\n\nWe appreciate your additional questions, and in response to your questions regarding a deeper understanding of our method's inner workings and its effectiveness, we would like to shed more light on the core aspects of our method. \n\nAs highlighted in ***the fourth paragraph of the introduction section*** of our main paper, the core value of our method centers around the introduction of *“a new form of low-complexity high-order feature transform layer, [...]\n\n### Comments to Reviewer jVVT (1/2)\nWe appreciate Reviewer jVVT for their insightful comments and suggestions. In response, we have addressed your comments and incorporated revisions into our manuscript, as outlined in the general comments. We encourage the reviewer to check the updated version of our paper. \n\n**[W1] The paper is written in a way that is rather difficult to follow.**\n\n**Answer:** We acknowledge our method section was not easy to follow, and the concerns raised about its complexity and organization. In response, we have revised Section 3 and added an overview in the early part [...]\n\n### Comments to Reviewer jVVT (2/2)\n> **I remain unclear about the magnitude of the contribution** \n\nAgain, our central contribution revolves around the introduction of *a new form of low-complexity high-order feature transform layer, dubbed Proxy Match Transform (PMT)”* and the promising experimental results that underscore its effectiveness in shape assembly tasks. At the same time, we would like to clarify that **the coarse-to-fine matching framework** used in our method is not an original framework of GeoTransformer but it is **widely employed framework in previous matching papers** includ [...]\n\n### Comments to Reviewer jVVT (2/2)\n**[Q1] Since \"shape assembly\" is more commonly used to refer to assembling shapes from parts**\n\n**Answer:** Thank you for your suggestion to use \"shape re-assembly\" or \"fractured shape re-assembly\" in place of \"shape assembly.\" We understand the reasoning behind this suggestion. \n\nHowever, our decision to use the term \"geometric shape assembly\" was guided by the precedent set in pioneering research by Sell ́an et al. (2022) [1]. In their study, which introduced BreakingBad dataset simulating physically broken objects resulting from external forces, the term [...]\n\n### Comments to Reviewer jjsW (1/2)\nWe are pleased to hear that most of your concerns are resolved by our rebuttal material. For the remaining issues, we provide further responses for your consideration. \n\n> **“It heavily depends on GeoTransformer”** \n\nFirst of all, we would like to clarify that **the coarse-to-fine matching framework** used in our method is not an original framework of GeoTransformer but it is **widely employed framework in previous matching papers** including recent work of [3,4,6]. While Predator [6], CoFiNet [3], GeoTransformer [4], as well as our PMT, all utilize this c [...]\n\n### Comments to Reviewer jjsW (1/4)\nWe appreciate Reviewer jjsW for their insightful comments and suggestions. In response, we have addressed your comments and incorporated revisions into our manuscript, as outlined in the general comments. We encourage the reviewer to check the updated version of our paper.\n\n**[W1] The whole pipeline is developed upon GeoTransformer (CVPR 2022) and uses a majority of the previous design.** \n\n**Answer:** We recognize that the presentation of our meth\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 5,
10
+ 5,
11
+ 8,
12
+ 5
13
+ ],
14
+ "score_mean": 5.75,
15
+ "score_variance": 2.25,
16
+ "score_spread": 3,
17
+ "score_min": 5,
18
+ "score_max": 8,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": null,
21
+ "meta_review": "This paper examines the task of shape re-assembly i.e. given two point clouds representing pieces of a broken object, predict a relative 6D pose to mend the fracture. As this task requires (implicitly) reasoning about correspondences across the two point clouds, prior works (e.g. GeoTransformer) leverage a transformer to enable this. The key insight of this work is to introduce an efficient ‘proxy match transform’ layer which, instead of an all-pair cross attention, bottlenecks the attention via some proxy features. The paper also shows some theoretical results where this layer can be shown to approximate higher-order convolutions. The empirical results show the efficacy of this architecture in comparison to the regular transformer baselines.\n\nDespite the empirical results, the paper received mixed ratings with one reviewer recommending acceptance (with low confidence) but the other three leaning towards rejection. In particular, there were several common concerns raised:\na) the technical presentation of the work is rather difficult to follow ( perhaps unnecessarily so), and despite some revisions, would benefit from a rewriting.\nb) the magnitude of the contribution is a bit limited as the paper proposes a specific architectural modification in context of an existing pipeline and only examines a specific task. The paper would have been much stronger if the proposed PMS layer could have been shown to be useful in other contexts e.g. point cloud alignment, or and other tasks ",
22
+ "forum_id": "6cGiRiExUd",
23
+ "primary_area": "representation learning for computer vision, audio, language, and other modalities",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_NyfY",
28
+ "review_id": "WBdR4AoPZu",
29
+ "scores": {
30
+ "rating": 5,
31
+ "soundness": 3,
32
+ "presentation": 3,
33
+ "contribution": 3,
34
+ "confidence": 2
35
+ },
36
+ "review_text_chars": 895,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 432674,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_jVVT",
44
+ "review_id": "SwhV0f9ekf",
45
+ "scores": {
46
+ "rating": 5,
47
+ "soundness": 3,
48
+ "presentation": 2,
49
+ "contribution": 3,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 2521,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 571755,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_oLtM",
60
+ "review_id": "xi3fJBMExa",
61
+ "scores": {
62
+ "rating": 8,
63
+ "soundness": 3,
64
+ "presentation": 3,
65
+ "contribution": 4,
66
+ "confidence": 2
67
+ },
68
+ "review_text_chars": 1309,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 864998,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_jjsW",
76
+ "review_id": "glhEEqqWAz",
77
+ "scores": {
78
+ "rating": 5,
79
+ "soundness": 3,
80
+ "presentation": 1,
81
+ "contribution": 2,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 3071,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 939718,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8840.md ADDED
@@ -0,0 +1,572 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## EFFICIENT POINT CLOUD MATCHING FOR 3D GEOMETRIC SHAPE ASSEMBLY
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Learning to assemble geometric shapes into a larger target structure is a fundamental task with various high-level vision applications. In this work, we frame this problem as geometric registration with extremely low overlap. Our goal is to establish accurate correspondences on the mating surface of the shape fragments to predict their relative rigid transformations for assembly. To this end, we introduce Proxy Match Transform (PMT), an approximate high-order feature transform layer that enables reliable correspondences between dense point clouds of shape fragments, while incurring low costs in memory and compute. In our experiments, we demonstrate that Proxy Match Transform surpasses existing state-ofthe-art baselines on a popular geometric shape assembly dataset, while exhibiting significantly better efficiency than other high-order feature transform methods.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Shape assembly is a pivotal task aiming to determine the precise placement and orientation of fractured parts, with the primary objective of constructing a larger target structure. This task holds paramount significance, especially in the context of various applications encompassing robotics (Wang & Hauser, 2019; Zakka et al., 2020; Zeng et al., 2021), manufacturing, computer graphics (Li et al., 2012), and computer-aided design (Chen et al., 2015; Jacobson, 2017). Despite its pivotal role in industrial productivity and the plethora of applications it underpins, shape assembly has received relatively limited attention in the literature. It persists as a formidable challenge due to its inherent complexities. These complexities arise from the necessity to comprehend the intricate geometric structures at play and establish reliable local pairwise relationships between input shape pairs to facilitate accurate assembly.
14
+
15
+ An overarching challenge in shape assembly lies in the precise identification of mating surfaces and the subsequent verification of local correspondences between the surfaces. Previous methods have addressed these challenges by relying on semantic information linked to object fragments, _e_ . _g_ ., part labels, effectively reconstructing complete objects by aligning their semantic components (Narayan et al., 2022; Li et al., 2020b; Huang et al., 2020). However, these methods necessitate additional semantic annotations, which restricts their applicability to semantic shape assembly and specific datasets. To expand the scope of research, Sell´an et al. (2022) introduced a large-scale assembly benchmark, called BreakingBad dataset, that simulates physically broken objects resulting from external forces, which facilitates the study of _geometric_ shape assembly with diverse objects.
16
+
17
+ The task of geometric shape assembly can be framed within a broader context of point cloud registration. Recent methods for the task typically utilize a high-order feature transform, _e_ . _g_ ., high-order convolution or attention, to establish reliable correspondences from noisy input (Choy et al., 2020; Yu et al., 2021; Huang et al., 2021; Qin et al., 2022). The high-order feature transform considers structural patterns of correlations in a high-dimensional space and has been particularly effective in matching and registration (Rocco et al., 2018; Min & Cho, 2021; Kim et al., 2022). However, a significant challenge arises from its quadratic complexity concerning input resolution, restricting its use only to coarse-grained matching with a limited number of points. In the context of geometric shape assembly, this complexity issue greatly hinders the performance since the object fractures are typically complex and intricate, demanding meticulous registration with dense point clouds.
18
+
19
+ In this paper, we address this issue by introducing a new form of low-complexity high-order feature transform layer, dubbed _Proxy Match Transform (PMT)_ , for use in geometric shape assembly
20
+
21
+ 1
22
+
23
+ (Fig. 1). We theoretically prove that the proposed PMT layer can effectively approximate the conventional high-order convolution layers (Rocco et al., 2018; Choy et al., 2020; Min & Cho, 2021) under some conditions. To demonstrate the effect, we incorporate the PMT layer into a coarse-tofine matching network, where PMT is used in both coarse-level and fine-level matching steps to establish reliable correspondences between mating surfaces and enable accurate assembly. We compare our result with recent state-of-the-art approaches and thoroughly analyze its performance on the geometric shape assembly benchmark, _e_ . _g_ ., BreakingBad dataset. The experiments demonstrate that our method outperforms existing approaches while being computationally efficient.
24
+
25
+ Our main contributions can be summarized as follows:
26
+
27
+ - We introduce Proxy Match Transform, a low-complexity high-order feature transform layer that effectively refines the matching of the feature pair.
28
+
29
+ - Our theoretical analysis showcases how Proxy Match Transform approximates high-order convolution while incurring only sub-quadratic complexity.
30
+
31
+ - The performance improvements in geometric shape assembly over the state-of-the-art baselines demonstrate the efficacy of the proposed approach.
32
+
33
+ ## 2 RELATED WORK
34
+
35
+ **3D shape generation & assembly.** Previous studies explored the generative models that represent objects through the combination of basic 3D primitives. One approach involves training specialized models for individual object classes, enabling them to assemble objects from volumetric primitives, such as cuboids (Tulsiani et al., 2017). Another approach involves training a single model capable of generating cuboid primitives for all classes (Khan et al., 2019). Variational autoencoders (VAE) (Kingma & Welling, 2014) have also been used to model objects as combinations of cuboids (Jones et al., 2020). These methods provide robust abstractions, distilling local geometric details and revealing object correspondences.
36
+
37
+ Another related area of research deals with part assembly, aiming to construct complete objects from sets of parts. Li et al. (2020b) proposed to predict translations and rotations for part point clouds to assemble a target object from an image. Narayan et al. (2022); Huang et al. (2020) frame part assembly as graph learning, using iterative message passing to assemble parts into complete objects. These methods leverage the PartNet (Mo et al., 2019) dataset to ensure that assembled parts semantically correspond to the target object. While shape is crucial in part assembly, part semantics can also guide the process directly, bypassing geometric cues.
38
+
39
+ Our work addresses the problem of learning to fit together pieces with no particular semantics and without a provided target. The most relevant method to ours is Chen et al. (2022), which aims to solve 3D shape assembly while coupling the task with implicit shape reconstruction. In contrast, we aim to formulate this task as an extremely low-overlap point cloud registration, eschewing the need for shape reconstruction and rather focusing on finding reliable correspondences between the shapes to fit together along their mating surface.
40
+
41
+ **High-order feature transform.** The idea of high-order feature transform has been widely applied in areas handling visual correspondence to identify the consensus among correspondences in a highdimensional space. Rocco et al. (2018) coined the idea of learning-based neighborhood consensus, such that a certain match will support its neighboring ambiguous matches between 2D images.
42
+
43
+ To alleviate the high computation complexity of high-order feature transform, subsequent studies propose to squeeze the high-dimensional correlation (Min et al., 2021), sparsify the correlation map using top-k scores to reduce computation (Rocco et al., 2020). More recently, Cho et al. (2021) and Kim et al. (2022) proposed to integrate the self-attention mechanism to leverage the global consensus between the high-dimensional features, which have shown to be effective albeit at an increased cost.
44
+
45
+ A similar trend is evident in the area of 3D registration; Choy et al. (2020) aims to filter outlier correspondences using a 6D sparse convolutional layer (Choy et al., 2019), while Huang et al. (2021) and Yu et al. (2021) aims to transform 3D features by leveraging self-attention and cross-attention, both within and across point cloud features. Qin et al. (2022) proposed to embed transformationinvariant information into the positional embedding of the transformer layers, achieving robust su-
46
+
47
+ 2
48
+
49
+ **==> picture [396 x 115] intentionally omitted <==**
50
+
51
+ **----- Start of picture text -----**<br>
52
+ Proxy<br>Tensor<br>2S-convolution with quadratic complexity Product of PMTs with sub-quadratic complexity<br>**----- End of picture text -----**<br>
53
+
54
+ Figure 1: Given a pair of _S_ -dimensional features, dot product of our proposed feature transform layers, _i_ . _e_ ., Proxy Match Transform (PMT), can express the 2 _S_ -convolution with sub-quadratic complexity, while existing high-order convolution (Rocco et al., 2018; Choy et al., 2020; Min & Cho, 2021) needs quadratic complexity.
55
+
56
+ perpoint matching accuracy. While these methods excel in low-overlap scenarios, their adoption for fine-grained matching is hindered by inherent high computational costs.
57
+
58
+ In this work, we propose Proxy Match Transform (PMT), which approximates existing high-order feature transforms while incurring significantly lower computation complexity. We integrate PMT in a coarse-to-fine manner, where on coarse-level PMT identifies accurate and reliable correspondences on the mating surface of input shape fragments, then refines on fine-level for more precise assembly.
59
+
60
+ ## 3 PROPOSED APPROACH
61
+
62
+ In the task of geometric shape assembly, analyzing geometric compatibility between fractured shapes is of utmost importance; the geometric properties of the _mating surfaces_ should exhibit consistency, where vertices, edges, and surfaces seamlessly fit together to form a coherent structure. To achieve reliable localization of mating surfaces between shapes, a model needs to analyze the compatibility of all possible feature correspondences and accurately identify spatially consistent matches. In the field of matching and registration (Rocco et al., 2018; Choy et al., 2020; Min & Cho, 2021) and its applications (Min et al., 2021), a trending approach for assessing match reliability is the utilization of _**high-order convolution**_ . This technique effectively assesses patterns within neighborhood matches in a differentiable manner. Building upon these principles, we will now explore the theoretical formulation of high-order convolution, with a specific emphasis on its application for enhancing pairwise feature correlation.
63
+
64
+ In the section, we first start with the preliminary where we revisit the concept of high-order convolution and introduce the theorem that multi-head self-attention (MHSA) can express convolution; this motivates us to use an attention-based formulation to approximate the high-order convolution. We then present the Proxy Match Transform (PMT) and show how PMT can effectively express highorder convolution with only sub-quadratic complexity (Sec. 3.1). Finally, we explain two constraints of PMT for its approximation (Sec. 3.2). The necessary proofs and discussions supporting our approach are further detailed in the Appendix, and each will be referenced throughout the relevant sections.
65
+
66
+ **Preliminary.** High-order convolution (Rocco et al., 2018; Choy et al., 2020; Min & Cho, 2021) generalizes the standard convolution by taking as input more functions, feature maps, or sets. In the context of our problem, we consider two point clouds _X_ = _{_ **x** _i ∈_ R[3] _|i_ = 1 _, ..., N }_ and _Y_ = _{_ **y** _i ∈_ R[3] _|i_ = 1 _, ..., M }_ , and focus on the 2nd-order convolution with two sets of features _FX_ and _FY_ , associated with the two point clouds, respectively. For ease of notation, we represent these features in matrix form, _i_ . _e_ ., **F** _X ∈_ R _[|X|×][D]_[emb] , where _D_ emb is the feature embedding dimension, and indexes each feature of the matrix using its associated point **x** _∈X_ such that **Fx** _∈_ R _[D]_[emb] , and same goes for _FY_ . We also express the feature correlation of two points from each point cloud, **x** and **y** ,
67
+
68
+ 3
69
+
70
+ as **C** ( **x** _,_ **y** ) := **FxF** _[⊤]_ **y**[.][The 2nd-order convolution on][ (] **[F]** _[X][,]_ **[ F]** _[Y]_[)][ with kernel] _[ K]_[is then defined as]
71
+
72
+ **==> picture [346 x 24] intentionally omitted <==**
73
+
74
+ where _N_ ( _·_ ) represents a set of neighbor points and _K_ : R[6] _−→_ R is a convolutional kernel, represented as a mapping function that takes displacement vectors onto learnable weight scalar.
75
+
76
+ On the other hand, Cordonnier et al. (2020) show the relation of self-attention to convolution:
77
+
78
+ **Theorem (Cordonnier et al., 2020).** _A multi-head self-attention layer with Nh heads of dimension Dh, output dimension Dout and a relative positional encoding of dimension Dp ≥_ 3 _can express any convolutional layer of kernel size[√] Nh ×[√] Nh and_ min( _Dh, Dout_ ) _output channels._
79
+
80
+ Motivated by this, we attempt to express the high-order convolution using an attention-based form.
81
+
82
+ As illustrated in Fig. 1, the 2nd-order convolution (Eq. 1) disambiguates spatially consistent correspondences and updates their correlation values by analyzing correlation patterns around each point pair ( **x** _,_ **y** ) _∈X × Y_ . Despite its good empirical performance in literature (Rocco et al., 2018; Choy et al., 2020; Min & Cho, 2021; Min et al., 2021), its critical limitation lies in the quadratic complexity of correlation computation, _i_ . _e_ ., _O_ ( _|X| · |Y|_ ), with respect to input resolution, imposing significant computational burdens during both the training and inference phases. This restricts its practical applications for large spatial resolutions; Notably, the geometric shape assembly task demands sophisticated matching techniques, especially at high resolutions, to ensure precise assembly.
83
+
84
+ ## 3.1 PROXY MATCH TRANSFORM: EFFICIENT HIGH-ORDER FEATURE TRANSFORM WITH SUB-QUADRATIC COMPLEXITY
85
+
86
+ To overcome this limitation, we introduce an efficient correlation refinement layer called _Proxy Match Transform (PMT)_ , which can effectively express high-order convolution with sub-quadratic complexity. Given a pair of input features ( **F** _X ,_ **F** _Y_ ), two of Proxy Match Transforms with _Nh_ heads[1] are defined for input feature, **F** _X_ and **F** _Y_ , respectively, as follows:
87
+
88
+ **==> picture [283 x 55] intentionally omitted <==**
89
+
90
+ where _wX_[(] _[h]_[)] _∈_ R is a learnable weight scalar, **A**[(] _X[h]_[)] _∈_ R _[|X|×|X|]_ is local attention matrix[2] ; the same applies for _Y_ . And **P**[(] _[h]_[)] _∈_ R _[D]_[proxy] _[×][D]_[emb] is **proxy tensor** that satisfies:
91
+
92
+ **==> picture [259 x 14] intentionally omitted <==**
93
+
94
+ where _D_ proxy refers to the spatial resolution of the proxy tensor: _D_ proxy _≪|X|_ and _D_ proxy _≪|Y|_ . We refer the readers to Appendix A.4 for the details of attention calculation.
95
+
96
+ At each head, the layer initially constructs a correlation between the input feature **F** _X_ and the proxy tensor **P**[(] _[h]_[)] : **C**[(] _X[h]_[)] := **F** _X_ **P**[(] _[h]_[)] _[⊤]_ in much smaller size of _|X| × D_ proxy, compared to the pairwise feature correlation **C** = **F** _X_ **F** _Y ⊤ ∈_ R _|X|×|Y|_ defined in Eq. 1. After applying learnable weight _wX_[(] _[h]_[)][,][the][output][at][position][(] **[n]** _[,]_ **[ m]**[)] _[∈|X|][×][D]_[proxy][is][computed][through][a][weighted-sum][of][its] neighborhood matches lying on the spatial dimension of feature map **F** _X_ , _e_ . _g_ ., _{_ ( **n** _[′] ,_ **m** ) _}_ **n** _′∈N_ ( **n** ) where _|N_ ( **n** ) _|_ = _ϵ ≪|X|_ . To formally put, the Proxy Match Transform output at head _h_ given
97
+
98
+ > 1Similar to multi-head self-attention (Vaswani et al., 2017), each head performs distinct attentions and feature transform, allowing the layer to attend and transform different aspects of the input simultaneously.
99
+
100
+ > 2As attention matrix **A**[(] _X[h]_[)] is local, _i_ . _e_ ., sparse, in actual implementation, we reduce its size to _|X| × ϵ_ instead of _|X| × |X|_ where _ϵ ∈_ N[+] is the number of neighbors: _|X| ≫ ϵ_ . For ease of presentation, we demonstrate our method using square attention matrix **A**[(] _X[h]_[)] _∈_ R _[|X|×|X|]_ .
101
+
102
+ 4
103
+
104
+ input **F** _X_ at position ( **n** _,_ **m** ) is defined as
105
+
106
+ **==> picture [354 x 45] intentionally omitted <==**
107
+
108
+ where PMT( **F** _Y_ )[(] _[h]_[)] is similarly defined but with a different set of parameters of **A**[(] _Y[h]_[)] and _wY_[(] _[h]_[)][.]
109
+
110
+ It is important to note that Proxy Match Transform layer performs two _**independent**_ transform for _**feature matching**_ , one for **F** _X_ and the other for **F** _Y_ . Despite the independence, matching between the feature pair is effectively facilitated by a shared proxy tensor **P** . This proxy tensor allows for the exchange of information between the features, eliminating the need to construct and convolve memory-intensive pairwise feature correlations, which often contain sparse and limited informative match scores. Additionally, it is worth noting that different sets of parameters are used for **F** _X_ and **F** _Y_ which enhances the flexibility and adaptability for matching. In Sec. 4.2, we empirically prove the efficacy of the use of proxy tensor and different parameter sets in point cloud matching.
111
+
112
+ ## 3.2 CONSTRAINTS FOR PROXY MATCH TRANSFORM
113
+
114
+ In order for the Proxy Match Transforms to express the high-order convolution, we assume two constraints, (i) orthonormality constraint: **P**[(] _[i]_[)] _[⊤]_ **P**[(] _[j]_[)] = **I** _D_ emb if _i_ = _j_ , and (ii) zero constraint: **P**[(] _[i]_[)] _[⊤]_ **P**[(] _[j]_[)] = **0** _∈_ R _[D]_[emb] _[×][D]_[emb] otherwise for all _i, j ∈_ [ _Nh_ ]. Given these constraints on proxy tensors, the dot product between PMT outputs effectively approximates the high-order convolution:
115
+
116
+ (PMT( **F** _X_ ) _·_ PMT( **F** _Y_ ) _[⊤]_ )( **x** _,_ **y** ) _≈_ Conv( **F** _X ,_ **F** _Y_ ; **K** )( **x** _,_ **y** ) _._ (6)
117
+
118
+ We refer the readers to the Appendix A.1, for the complete proof. For the proxy tensors to satisfy the conditions, we design two auxiliary training objectives on proxy tensors, orthonormal loss _Lorth_ and zero loss _Lzero_ , as follows:
119
+
120
+ **==> picture [293 x 54] intentionally omitted <==**
121
+
122
+ where _δ_ ( _i, j_ ) provides 1 if _i_ = _j_ and 0 otherwise.
123
+
124
+ ## 3.3 OVERALL ARCHITECTURE
125
+
126
+ Fig. 2 illustrates the overall architecture of our method. Building on recent developments in the field, _e_ . _g_ ., GeoTransformer (Qin et al., 2022), it introduces two key enhancements to optimize its performance: (i) replacing the coarse-level matcher with Proxy Match Transform layers, and (ii) incorporating Proxy Match Transform layers at the fine-level stages after each upsampling in KPConv-FPN backbone (Thomas et al., 2019) as seen in Fig. 2.
127
+
128
+ **Feature extractor.** Given a pair of mesh fragments for pairwise assembly, we first sample a total of 5,000 points from an object _O_ . The sizes of the point sets _X_ and _Y_ are then determined based on the proportional volumes each mesh fragment occupies within the entire object _O_ . These point sets are then fed into the KPConv-FPN backbone, which downsamples the input twice, yielding coarselevel feature pair **F[ˆ]** _X ∈_ R _[|] X|×_[ˆ] _D_ c and **ˆF** _Y ∈_ R _|Y|×_[ˆ] _D_ c , and subsequently upsamples twice to obtain fine-level feature pair **F[˜]** _X ∈_ R _[|] X|×_[˜] _D_ f and **˜F** _Y ∈_ R _|Y|×_[˜] _D_ f.
129
+
130
+ Note that in the case of fine-level features **F[˜]** _X_ and **F[˜]** _Y_ , refinement is carried out at the upsampling stage through the _**fine matcher**_ , _i_ . _e_ ., two PMT blocks, each consisting of multiple PMT layers followed by a sequence of Group Normalization and LeakyReLU, and repeats for _Nt_ times. It is important to note that the performance of the fine matcher is a critical aspect of our approach, and we will present empirical results to demonstrate its effectiveness in Sec. 4.2.
131
+
132
+ **Coarse-level Matching.** As seen in Fig. 2, at both coarse and fine levels, distinct Proxy Match Transform layers are applied to establish correspondences between fragments. Similarly to the fine
133
+
134
+ 5
135
+
136
+ **==> picture [397 x 189] intentionally omitted <==**
137
+
138
+ **----- Start of picture text -----**<br>
139
+ (1) Coarse-level Matching<br>Independent<br>shared proxy<br>Gaussian<br>Correlation<br>Top-k<br>PMT PMT<br>Positional<br>Embedding !𝒞<br>Proxy Match Transform × 𝑁! CorrespondenceCoarse-level<br>(2) Fine-level Matching<br>!𝒞 Mutual Top-k<br>Optimal Transport<br>PMT . . . Optimal Transport LGR<br>Relative<br>Extract Optimal Transport Confidence Fine-level Transformation<br>Local Patch Matrix Correspondence<br>LeakyReLU<br>Group Normalization<br>. . .<br>. . . . . . . . .<br>. . . . . . . . .<br>. . .<br>. . .<br>**----- End of picture text -----**<br>
140
+
141
+ Figure 2: Overall pipeline of the proposed Proxy Match Transform for pairwise shape assembly. The proposed architecture largely consists of two modules: (1) coarse-level matching and (2) finelevel matching. Each module uses coarse-level features and fine-level features acquired from the KPConv-FPN backbone as their input. Details are described in Sec. 3.3
142
+
143
+ matcher, the _**coarse matcher**_ also utilizes a PMT block with an identical configuration. The inputs for the PMT block in the coarse matcher are the coarse-level features **F[ˆ]** _X_ and **F[ˆ]** _Y_ , together with their respective positional embeddings **R** _X_ and **R** _Y_ . After the PMT block as the coarse matcher, the output feature pair, denoted as **H**[ˆ] _X_ and **H**[ˆ] _Y_ , is utilized to compute the pairwise similarity. We then select the top-k matches as coarse-level correspondences _C_[ˆ] .
144
+
145
+ **Fine-level Matching.** Once we have reliable matches at the coarse level, we apply the point-tonode grouping method (Yu et al., 2021). This technique allows us to expand the coarse-level correspondences to fine-level correspondences and to extract local patches based on these coarse-level correspondences, denoted as _C_[ˆ] . Subsequently, these local patches are fed into an optimal transport layer (Sarlin et al., 2020), which facilitates the extraction of confidence matrices. Using these matrices, we obtain fine-level correspondences by selecting the mutual top-k entries (Qin et al., 2022).
146
+
147
+ Following this, Local-to-Global Registration (LGR) (Qin et al., 2022) takes these fine-level correspondences into account, to select and refine the final relative transformation, represented as _{_ **R** _|_ **t** _}_ .
148
+
149
+ **Training objectives.** Following Qin et al. (2022), we adopt training objectives to establish coarseand fine-level correspondences, which are, respectively, the circle loss objective _Loc_ and point matching loss objective _Lp_ . We refer the readers to Qin et al. (2022) for details on the framework.
150
+
151
+ Our final training objective is described as follows:
152
+
153
+ **==> picture [287 x 10] intentionally omitted <==**
154
+
155
+ where _λorth_ and _λzero_ are hyperparameters that manage the contribution of each respective loss. In our case, we have set both of these hyperparameters to 1.
156
+
157
+ ## 4 EXPERIMENTS
158
+
159
+ In this section, we evaluate our proposed method, compare it with the recent state of the arts, and provide in-depth analyses of the results with ablation study in Sec. 4.2. We first show the results on pairwise shape assembly in Sec. 4.1, and with considering pairwise assemble as a partial stage of multi-part assembly, then show the extended experimental results in Sec. 4.3.
160
+
161
+ ## 4.1 PAIRWISE SHAPE ASSEMBLY
162
+
163
+ **Dataset.** We use the BreakingBad dataset (Sell´an et al., 2022) to train and evaluate Proxy Match Transform on the task of pairwise shape assembly. The BreakingBad dataset is a large-scale dataset
164
+
165
+ 6
166
+
167
+ Table 1: Pairwise shape assembly results on BreakingBad dataset.
168
+
169
+ |Method|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|
170
+ |---|---|---|---|
171
+ |||everyday|artifact|
172
+ |ICP<br>Sparse ICP<br>RANSAC<br>FGR|8.57<br>8.55<br>8.25<br>8.05|6.52<br>83.73<br>27.41<br>7.08<br>83.54<br>27.26<br>5.39<br>88.62<br>26.34<br>6.44<br>84.65<br>26.64|7.48<br>5.01<br>83.41<br>25.11<br>8.49<br>6.37<br>83.73<br>25.06<br>7.44<br>4.49<br>83.43<br>26.82<br>7.23<br>4.91<br>83.39<br>24.81|
173
+ |Global<br>LSTM<br>DGL<br>NSM<br>GeoTransformer|25.10<br>27.90<br>24.20<br>22.23<br>**1.66**|13.80<br>86.40<br>28.80<br>15.20<br>85.20<br>30.70<br>12.10<br>85.50<br>28.10<br>14.54<br>80.83<br>24.85<br>1.23<br>34.40<br>8.82|24.70<br>12.39<br>87.59<br>26.69<br>24.07<br>11.12<br>83.86<br>25.84<br>24.62<br>10.68<br>86.03<br>26.36<br>23.18<br>9.97<br>83.97<br>11.37<br>2.65<br>2.22<br>46.63<br>11.37|
174
+ |**PMT (Ours)**|1.67|**1.05**<br>**33.40**<br>**8.16**|**2.46**<br>**2.08**<br>**40.08**<br>**10.39**|
175
+
176
+ **==> picture [396 x 104] intentionally omitted <==**
177
+
178
+ **----- Start of picture text -----**<br>
179
+ Input ICP SparseICP RANSAC FGR NSM GeoTransformer Ours GT<br>**----- End of picture text -----**<br>
180
+
181
+ Figure 3: Qualitative results of pairwise shape assembly on BreakingBad dataset.
182
+
183
+ of fractured objects for the task of geometric shape assembly, which consists of over 1 million fractured objects simulated from 10K meshes of PartNet (Mo et al., 2019) and Thingi10k (Zhou & Jacobson, 2016). Our focus, akin to the work of Chen et al. (2022), is centered on the problem of mating a pair of fragments. Please note that we exclusively select a subset that contains twofragment objects from the BreakingBad dataset for training and evaluating pairwise assembly, while we utilize all samples for training and evaluating multi-part assembly.
184
+
185
+ **Baselines.** To assess the performance of our method, we conduct a comprehensive comparison with three main groups of baseline methods. First, for non-learning-based point cloud registration methods, we used the ICP (Besl & McKay, 1992), and SparseICP (Bouaziz et al., 2013) for local registration methods, and RANSAC (Fischler & Bolles, 1981) and FGR (Zhou et al., 2016) for global registration. Next, we also include four learning-based shape assembly methods, namely Global (Li et al., 2020a), LSTM (Zhang et al., 2019), DGL (Huang et al., 2020), and NSM (Chen et al., 2022). The first three methods are semantic shape assembly techniques that served as baselines in a previous study by Sell´an et al. (2022). NSM (Chen et al., 2022) is, as of our submission, the only learning-based baseline available for the geometric shape assembly task. Lastly, we compare with the recent learning-based point cloud registration method, GeoTransformer (Qin et al., 2022).
186
+
187
+ **Evaluation metrics.** Following the evaluation protocol of Sell´an et al. (2022), we measure the root mean square error (RMSE) between the ground-truth and predicted rotation and translation parameters, and the Chamfer distance (CD) between the assembly results and ground-truth. In addition, we introduce and report a new metric, called CoRrespondence Distance (CRD), which is simply defined as the Frobenius norm between two point clouds. Unlike Chamfer distance, it offers a more comprehensive measure of similarity, capturing both proximity and structural alignment. For a detailed definition of each metric, please refer to the Appendix A.5.
188
+
189
+ **Implementation details.** We implement our Proxy Match Transform using Pytorch (Paszke et al., 2019). Experiments were conducted on a machine with Intel(R) Xeon(R) Gold 6342 CPU @ 2.80GHz and NVIDIA GeForce RTX 3090 GPU. For all experiments, except the ones include GeoTransformer, we use ADAM (Kingma & Ba, 2015) optimizer with an initial learning rate of 1 _×_ 10 _[−]_[3] without learning rate decay for 300 epochs on a single GPU. For GeoTransformer, we use the iden-
190
+
191
+ 7
192
+
193
+ Table 3: **Ablation study on the contribution of** _Lorth_ **and** _Lzero_ **.** Both losses effectively constrains Proxy Match Transform in approximating the high-order convolution layers, yielding the highest score.
194
+
195
+ Table 2: **Ablation study on the proxy sharing.** By sharing proxy tensor in each Proxy Match Transform layer, two independent feature transforms share information, yielding the highest score.
196
+
197
+ |<br>Ref.|.<br>proxy|shared<br>proxy|CRD_↓_<br>(10_−_2)|CD_↓_<br>(10_−_3)|RMSE (R)_↓_<br>(_◦_)|RMSE (T)_↓_<br>(10_−_2)|Ref.|orth<br>loss|zero<br>loss|CRD_↓_<br>(10_−_2)|CD_↓_<br>(10_−_3)|RMSE (R)_↓_<br>(_◦_)|RMSE (T)_↓_<br>(10_−_2)|
198
+ |---|---|---|---|---|---|---|---|---|---|---|---|---|---|
199
+ |(a)<br>(b)<br>**Ours**|✗<br>✓<br>✓|✗<br>✗<br>✓|4.27<br>2.06<br>**1.67**|3.77<br>1.36<br>**1.05**|63.96<br>38.02<br>**33.40**|17.28<br>8.80<br>**8.16**|(a)<br>(b)<br>(c)|✗<br>✓<br>✗|✗<br>✗<br>✓|1.81<br>1.85<br>1.77|1.28<br>1.34<br>1.22|35.27<br>34.88<br>35.23|8.23<br>8.19<br>8.23|
200
+ ||||||||**Ours**|✓|✓|**1.67**|**1.05**|**33.40**|**8.16**|
201
+
202
+ Table 4: **Ablation study on the choice of a fine matcher.** (a) Proxy Match Transform layer at finelevel yields the best assembly accuracy while incurring low-compute complexity than baselines. (b) Proxy Match Transform layer consistently delivers improvements, irrespective of the choice of coarse matcher.
203
+
204
+ |(a)ProxyMatch Transform as coarse matcher + various fne matchers<br>Ref.<br>Coarse<br>Fine<br>CRD_↓_<br>CD_↓_<br>RMSE(R)_↓_<br>RMSE(T)_↓_<br>Matcher<br>Matcher<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)<br>(a)<br>PMT<br>None<br>1.92<br>1.48<br>34.41<br>8.68<br>(b)<br>Linear<br>2.11<br>1.73<br>37.36<br>9.42<br>(c)<br>MLP<br>1.95<br>1.56<br>35.29<br>9.06<br>(d)<br>HDC<br>Out of memory error<br>(e)<br>GeoTr<br>Out of memory error<br>**Ours**<br>PMT<br>**1.67**<br>**1.05**<br>**33.40**<br>**8.16**|(b)Various coarse matchers + ProxyMatch Transform as fne matcher|(b)Various coarse matchers + ProxyMatch Transform as fne matcher|
205
+ |---|---|---|
206
+ ||Ref.<br>Coarse<br>Fine<br>Matcher<br>Matcher|CRD_↓_<br>CD_↓_<br>RMSE(R)_↓_<br>RMSE(T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|
207
+ ||(a)<br>None<br>None<br>(b)<br>PMT|2.77<br>2.42<br>42.18<br>11.14<br>**2.10**<br>**1.68**<br>**36.41**<br>**8.32**|
208
+ ||(c)<br>Linear<br>None<br>(d)<br>PMT|2.22<br>1.90<br>36.50<br>9.18<br>**1.90**<br>**1.47**<br>**33.69**<br>**8.03**|
209
+ ||(e)<br>MLP<br>None<br>(f)<br>PMT|2.24<br>1.74<br>36.40<br>9.75<br>**1.75**<br>**1.21**<br>**32.32**<br>**8.04**|
210
+ ||(g)<br>HDC<br>None<br>(h)<br>PMT|2.03<br>1.69<br>35.96<br>9.24<br>**1.64**<br>**1.17**<br>**32.42**<br>**7.86**|
211
+ ||(i)<br>GeoTr<br>None<br>(j)<br>PMT|1.66<br>1.23<br>34.40<br>8.82<br>**1.49**<br>**1.00**<br>**32.49**<br>**8.10**|
212
+ ||(k)<br>PMT<br>None<br>**Ours**<br>PMT|1.92<br>1.48<br>34.41<br>8.68<br>**1.67**<br>**1.05**<br>**33.40**<br>**8.16**|
213
+
214
+ tical settings but only reduce the learning rate to 1 _×_ 10 _[−]_[4] to prevent model divergence. To ensure uniform point density among fractures, we uniformly sample 5,000 points on the surface of holistic objects and allocate the number of sample points for each fracture proportional to the volume of each fracture. Detailed configurations for all experiments can be found in Appendix A.4.
215
+
216
+ **Results.** We evaluate our method and compare it against baseline methods on the everyday and artifact subsets of the BreakingBad dataset. Tab. 1 displays the results, showing that our method consistently outperforms all baseline methods on both subsets. In Fig. 3, we provide qualitative results for all methods. Note that although all methods receive pairs of point clouds, as in the leftmost column of the figure, we present the results using mesh representation for better visualization.
217
+
218
+ ## 4.2 ABLATION STUDY
219
+
220
+ To evaluate our design choices, we conducted a series of ablation studies. Evaluations for ablation studies are conducted on the everyday subset of the BreakingBad dataset. First, we aimed to highlight the impact of the shared proxy tensor in facilitating inter-fragment information exchange. To this end, we conducted an ablation study by removing the shared proxy. The results, as shown in Tab. 2, clearly indicate that eliminating proxy sharing leads to a significant decline in assembly performance, underscoring the efficacy of the shared proxy for facilitating information exchange.
221
+
222
+ Next, we delve into the impact of _Lorth_ and _Lzero_ , which serve as the sufficient conditions that constrain the Proxy Match Transform layer to represent the high-dimensional convolutional layers, as detailed in Sec. 3.2. The results are presented in Tab. 3. As evident from the table, the best performance is achieved when both losses are incorporated. This underscores the significance of these constraining conditions for PMT, as they are instrumental in enabling PMT to effectively approximate the high-dimensional convolutional layers.
223
+
224
+ Finally, we conduct an ablation study to assess the significance of the PMT layer when employed as a fine matcher. To accomplish this, we conducted two distinct sets of experiments. Initially, we examined the assembly performance by altering the fine-level while fixing the coarse matcher as PMT (Tab. 4 (a)). Subsequently, we incorporated various coarse matchers and then evaluated the
225
+
226
+ 8
227
+
228
+ Table 5: Multi-part assembly results on the Breaking Bad dataset.
229
+
230
+ |Method|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>PA_↑_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)<br>(%)||CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>PA_↑_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)<br>(%)|
231
+ |---|---|---|---|
232
+ ||everyday||artifact|
233
+ |Global<br>LSTM<br>DGL|38.74<br>19.25<br>81.23<br>15.96<br>17.63<br>40.71<br>23.62<br>85.64<br>16.41<br>11.21<br>38.21<br>18.14<br>81.81<br>15.35<br>20.08||39.84<br>20.66<br>84.18<br>16.26<br>7.23<br>41.40<br>27.48<br>85.23<br>16.86<br>2.30<br>40.00<br>20.62<br>86.40<br>16.05<br>6.68|
234
+ |**PMT w/ PGO (Ours)**|**13.81**<br>**12.79**<br>**48.22**<br>**15.27**<br>**47.82**||**13.91**<br>**12.29**<br>**50.76**<br>**15.52**<br>**45.14**|
235
+
236
+ **==> picture [238 x 128] intentionally omitted <==**
237
+
238
+ **----- Start of picture text -----**<br>
239
+ Global LSTM DGL Ours GT<br>**----- End of picture text -----**<br>
240
+
241
+ Figure 4: Qualitative results of multi-part assembly on BreakingBad dataset.
242
+
243
+ impact of adding the PMT layer to the fine matchers (Tab. 4 (b)). As evident from both tables, incorporating the PMT layer as a fine matcher consistently leads to superior performance, affirming its superiority and importance in this role.
244
+
245
+ ## 4.3 MULTI-PART ASSEMBLY
246
+
247
+ Multi-part assembly presents a significantly more challenging task, involving establishing multiple matches between fragments and considering the relationships among all these pairwise connections.
248
+
249
+ We initiate this process by constructing a pose graph for an object with _N_ fractures. This graph comprises relative transformations _Tij_ = _{Rij|tij}_ , which act as factors, and individual part fractures _Pi_ as nodes. These relative transformations are computed using the pairwise matcher we have proposed in Sec. 3.1 for pairwise shape assembly. Subsequently, we optimize the pose graph to estimate synchronized global rotations _R_[˜] _i_ and translations _t_[˜] _i_ . To optimize our pose graph, we employ a state-of-the-art transformation averaging method (Dellaert et al., 2020).
250
+
251
+ We evaluate the performance of multi-part assembly with the same metrics we used for pairwise shape assembly, but also report the Part Accuracy (PA) (Huang et al., 2020), which is defined as the percentage of fractures with Chamfer Distance less than the predefined threshold, set at 0.01 for our experiments. We present the results of multi-part assembly on the BreakingBad dataset in Tab. 5 and Fig. 4. Notably, our method significantly outperforms all baseline methods. In-depth information on pose graph optimization (PGO) and other implementation specifics are presented in Appendix A.6.
252
+
253
+ ## 5 CONCLUSION
254
+
255
+ We’ve developed a new low-complexity, high-order feature transform layer, Proxy Match Transform, designed for efficient approximation of previously compute-intensive layers. This significantly advances the analysis of complex geometric feature correlations while reducing computational load. Despite its excellent performance in geometric shape assembly, the Proxy Match Transform currently focuses on pairwise assembly, indicating potential for future expansion into an efficient method for multi-part assembly.
256
+
257
+ 9
258
+
259
+ ## REFERENCES
260
+
261
+ - Paul J Besl and Neil D McKay. Method for registration of 3-d shapes. In _Sensor fusion IV: control paradigms and data structures_ , volume 1611, pp. 586–606. Spie, 1992.
262
+
263
+ - Sofien Bouaziz, Andrea Tagliasacchi, and Mark Pauly. Sparse iterative closest point. In _Computer graphics forum_ , volume 32, pp. 113–123. Wiley Online Library, 2013.
264
+
265
+ - Nicolas Boumal, Amit Singer, P-A Absil, and Vincent D Blondel. Cram´er–rao bounds for synchronization of rotations. _Information and Inference: A Journal of the IMA_ , 3(1):1–39, 2014.
266
+
267
+ - Luca Carlone, David M Rosen, Giuseppe Calafiore, John J Leonard, and Frank Dellaert. Lagrangian duality in 3d slam: Verification techniques and optimal solutions. In _2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)_ , pp. 125–132. IEEE, 2015a.
268
+
269
+ - Luca Carlone, Roberto Tron, Kostas Daniilidis, and Frank Dellaert. Initialization techniques for 3d slam: A survey on rotation estimation and its use in pose graph optimization. In _2015 IEEE international conference on robotics and automation (ICRA)_ , pp. 4597–4604. IEEE, 2015b.
270
+
271
+ - Xuelin Chen, Hao Zhang, Jinjie Lin, Ruizhen Hu, Lin Lu, Qi-Xing Huang, Bedrich Benes, Daniel Cohen-Or, and Baoquan Chen. Dapper: decompose-and-pack for 3d printing. _ACM Trans. Graph._ , 34(6):213–1, 2015.
272
+
273
+ - Yun-Chun Chen, Haoda Li, Dylan Turpin, Alec Jacobson, and Animesh Garg. Neural shape mating: Self-supervised object assembly with adversarial shape priors. In _Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ , 2022.
274
+
275
+ - Seokju Cho, Sunghwan Hong, Sangryul Jeon, Yunsung Lee, Kwanghoon Sohn, and Seungryong Kim. Cats: Cost aggregation transformers for visual correspondence. _Advances in Neural Information Processing Systems_ , 34:9011–9023, 2021.
276
+
277
+ - Sungjoon Choi, Qian-Yi Zhou, and Vladlen Koltun. Robust reconstruction of indoor scenes. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 5556–5565, 2015.
278
+
279
+ - Christopher Choy, JunYoung Gwak, and Silvio Savarese. 4d spatio-temporal convnets: Minkowski convolutional neural networks. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 3075–3084, 2019.
280
+
281
+ - Christopher Choy, Wei Dong, and Vladlen Koltun. Deep global registration. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 2514–2523, 2020.
282
+
283
+ - Jean-Baptiste Cordonnier, Andreas Loukas, and Martin Jaggi. On the relationship between self-attention and convolutional layers. In _Eighth International Conference on Learning Representations-ICLR 2020_ , number CONF, 2020.
284
+
285
+ - Frank Dellaert. Factor graphs and gtsam: A hands-on introduction. _Georgia Institute of Technology, Tech. Rep_ , 2:4, 2012.
286
+
287
+ - Frank Dellaert, David M Rosen, Jing Wu, Robert Mahony, and Luca Carlone. Shonan rotation averaging: Global optimality by surfing so (p)ˆ n so (p) n. In _Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part VI 16_ , pp. 292–308. Springer, 2020.
288
+
289
+ - M. Fischler and R. Bolles. Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography. _Communications of the ACM_ , 24(6):381–395, 1981. URL /brokenurl#[URL removed] 233282275.
290
+
291
+ - Jialei Huang, Guanqi Zhan, Qingnan Fan, Kaichun Mo, Lin Shao, Baoquan Chen, Leonidas Guibas, and Hao Dong. Generative 3d part assembly via dynamic graph learning. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2020.
292
+
293
+ 10
294
+
295
+ Shengyu Huang, Zan Gojcic, Mikhail Usvyatsov, Andreas Wieser, and Konrad Schindler. Predator: Registration of 3d point clouds with low overlap. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)_ , pp. 4267–4276, June 2021.
296
+
297
+ - Alec Jacobson. Generalized matryoshka: Computational design of nesting objects. In _Computer Graphics Forum_ , volume 36, pp. 27–35. Wiley Online Library, 2017.
298
+
299
+ - R Kenny Jones, Theresa Barton, Xianghao Xu, Kai Wang, Ellen Jiang, Paul Guerrero, Niloy J Mitra, and Daniel Ritchie. Shapeassembly: Learning to generate programs for 3d shape structure synthesis. _ACM Transactions on Graphics (TOG)_ , 39(6):1–20, 2020.
300
+
301
+ - Salman H Khan, Yulan Guo, Munawar Hayat, and Nick Barnes. Unsupervised primitive discovery for improved 3d generative modeling. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 9739–9748, 2019.
302
+
303
+ - Seungwook Kim, Juhong Min, and Minsu Cho. Transformatcher:match-to-match attention for semantic correspondence. In _Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ , 2022.
304
+
305
+ - Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In _International Conference on Learning Representations (ICLR)_ , 2015.
306
+
307
+ - Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In _International Conference on Learning Representations (ICLR)_ , 2014.
308
+
309
+ - Nikolas Lamb, Cameron Palmer, Benjamin Molloy, Sean Banerjee, and Natasha Kholgade Banerjee. Fantastic breaks: A dataset of paired 3d scans of real-world broken objects and their complete counterparts. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 4681–4691, 2023.
310
+
311
+ - Honghua Li, Ibraheem Alhashim, Hao Zhang, Ariel Shamir, and Daniel Cohen-Or. Stackabilization. _ACM Transactions on Graphics, (Proc. of SIGGRAPH Asia 2012)_ , 31(6), 2012.
312
+
313
+ - Jun Li, Chengjie Niu, and Kai Xu. Learning part generation and assembly for structure-aware shape synthesis. In _Proc. AAAI Conference on Artificial Intelligence (AAAI)_ , 2020a.
314
+
315
+ - Yichen Li, Kaichun Mo, Lin Shao, Minhyuk Sung, and Leonidas Guibas. Learning 3d part assembly from a single image. In _Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part VI 16_ , pp. 664–682. Springer, 2020b.
316
+
317
+ - Juhong Min and Minsu Cho. Convolutional hough matching networks. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)_ , pp. 2940–2950, June 2021.
318
+
319
+ Juhong Min, Dahyun Kang, and Minsu Cho. Hypercorrelation squeeze for few-shot segmentation. In _Proc. IEEE International Conference on Computer Vision (ICCV)_ , 2021.
320
+
321
+ Juhong Min, Yucheng Zhao, Chong Luo, and Minsu Cho. Peripheral vision transformer. _Advances in Neural Information Processing Systems_ , 35:32097–32111, 2022.
322
+
323
+ - Kaichun Mo, Shilin Zhu, Angel X Chang, Li Yi, Subarna Tripathi, Leonidas J Guibas, and Hao Su. Partnet: A large-scale benchmark for fine-grained and hierarchical part-level 3d object understanding. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 909–918, 2019.
324
+
325
+ - Abhinav Narayan, Rajendra Nagar, and Shanmuganathan Raman. Rgl-net: A recurrent graph learning framework for progressive part assembly. In _Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision_ , pp. 78–87, 2022.
326
+
327
+ - Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, high-performance deep learning library. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2019.
328
+
329
+ 11
330
+
331
+ Zheng Qin, Hao Yu, Changjian Wang, Yulan Guo, Yuxing Peng, and Kai Xu. Geometric transformer for fast and robust point cloud registration. In _Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ , 2022.
332
+
333
+ - Ignacio Rocco, Mircea Cimpoi, Relja Arandjelovi´c, Akihiko Torii, Tomas Pajdla, and Josef Sivic. Neighbourhood consensus networks. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2018.
334
+
335
+ - Ignacio Rocco, Relja Arandjelovi´c, and Josef Sivic. Efficient neighbourhood consensus networks via submanifold sparse convolutions. In _Proc. European Conference on Computer Vision (ECCV)_ , 2020.
336
+
337
+ - Paul-Edouard Sarlin, Daniel DeTone, Tomasz Malisiewicz, and Andrew Rabinovich. Superglue: Learning feature matching with graph neural networks. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 4938–4947, 2020.
338
+
339
+ - Silvia Sell´an, Yun-Chun Chen, Ziyi Wu, Animesh Garg, and Alec Jacobson. Breaking bad: A dataset for geometric fracture and reassembly. In _Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (NeurIPS)_ , 2022.
340
+
341
+ - Hugues Thomas, Charles R Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui, Franc¸ois Goulette, and Leonidas J Guibas. Kpconv: Flexible and deformable convolution for point clouds. In _Proceedings of the IEEE/CVF international conference on computer vision_ , pp. 6411–6420, 2019.
342
+
343
+ - Shubham Tulsiani, Hao Su, Leonidas J Guibas, Alexei A Efros, and Jitendra Malik. Learning shape abstractions by assembling volumetric primitives. In _Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition_ , pp. 2635–2643, 2017.
344
+
345
+ - Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. _Advances in neural information processing systems_ , 30, 2017.
346
+
347
+ - Fan Wang and Kris Hauser. Stable bin packing of non-convex 3d objects with a robot manipulator. In _2019 International Conference on Robotics and Automation (ICRA)_ , pp. 8698–8704. IEEE, 2019.
348
+
349
+ - Hao Yu, Fu Li, Mahdi Saleh, Benjamin Busam, and Slobodan Ilic. Cofinet: Reliable coarse-to-fine correspondences for robust pointcloud registration. _Advances in Neural Information Processing Systems_ , 34, 2021.
350
+
351
+ - Kevin Zakka, Andy Zeng, Johnny Lee, and Shuran Song. Form2fit: Learning shape priors for generalizable assembly from disassembly. In _2020 IEEE International Conference on Robotics and Automation (ICRA)_ , pp. 9404–9410. IEEE, 2020.
352
+
353
+ - Andy Zeng, Pete Florence, Jonathan Tompson, Stefan Welker, Jonathan Chien, Maria Attarian, Travis Armstrong, Ivan Krasin, Dan Duong, Vikas Sindhwani, et al. Transporter networks: Rearranging the visual world for robotic manipulation. In _Conference on Robot Learning_ , pp. 726– 747. PMLR, 2021.
354
+
355
+ - Chi Zhang, Guosheng Lin, Fayao Liu, Jiushuang Guo, Qingyao Wu, and Rui Yao. Pyramid graph networks with connection attentions for region-based one-shot semantic segmentation. In _Proc. IEEE International Conference on Computer Vision (ICCV)_ , 2019.
356
+
357
+ - Qian-Yi Zhou, Jaesik Park, and Vladlen Koltun. Fast global registration. In _Computer Vision– ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part II 14_ , pp. 766–782. Springer, 2016.
358
+
359
+ - Qingnan Zhou and Alec Jacobson. Thingi10k: A dataset of 10,000 3d-printing models. _arXiv preprint arXiv:1605.04797_ , 2016.
360
+
361
+ 12
362
+
363
+ ## A APPENDIX
364
+
365
+ ## A.1 THEORETICAL ANALYSIS OF PROXY MATCH TRANSFORM
366
+
367
+ We now derive sufficient conditions such that Proxy Match Transform can express high-dimensional convolution. Our main theoretical result is given below.
368
+
369
+ **Theorem 1.** _If we assume_ **P**[(] _[i]_[)] _[⊤]_ **P**[(] _[j]_[)] = **I** _Demb if i_ = _j and_ **P**[(] _[i]_[)] _[⊤]_ **P**[(] _[j]_[)] = **0** _otherwise for all i, j ∈_ [ _Nh_ ] _, and define_ **A**[(] ( _[h]_ **x**[)] _,_ **y** ) _,_ ( **n** _,_ **m** )[:=] **[A]**[(] _X[h]_[)] ( **x** _,_ **n** ) _[·]_ **[ A]**[(] _Y[h]_[)] ( **y** _,_ **m** ) _[and][w]_[(] _[h]_[)][:=] _[w] X_[(] _[h]_[)] _[w] Y_[(] _[h]_[)] _[,][then,][the] dot-product of Proxy Match Transform outputs with a sufficient number of heads Nh ≥ K_[2] _can express high-dimensional convolutional layer with kernel_ **K** _∈_ R _[K]_[2] _: PMT_ ( **F** _X_ ) _· PMT_ ( **F** _Y_ ) _[⊤]_ = _Conv_ ( **F** _X ,_ **F** _Y_ ; **K** ) _._
370
+
371
+ _Proof._ We first take the dot-product of Proxy Match Transform outputs and simplify:
372
+
373
+ **==> picture [391 x 128] intentionally omitted <==**
374
+
375
+ where _δ_ ( _i, j_ ) provides 1 if _i_ = _j_ and 0 otherwise. Using definitions of **A**[(] _[h]_[)] _∈_ R _[|X||Y|×|X||Y|]_ and _w_[(] _[h]_[)] _∈_ R, the output at a specific position ( **x** _,_ **y** ) _∈_ R[6] is as follows:
376
+
377
+ **==> picture [392 x 67] intentionally omitted <==**
378
+
379
+ **==> picture [264 x 66] intentionally omitted <==**
380
+
381
+ Now consider the following Lemma:
382
+
383
+ **Lemma 1.** _Consider a bijective mapping of natural numbers, i.e., heads, onto 6-dimensional local displacements: t_ ( _h_ ) : [ _Nh_ ] _→_ ∆( **x** _,_ **y** ) _. Let_ **A**[(] _[h]_[)] _∈_ R _[|X||Y|×|X||Y|] be an attention matrix that holds the following:_
384
+
385
+ **==> picture [296 x 25] intentionally omitted <==**
386
+
387
+ _Then, for any high-dimensional convolution with a kernel K_ : R[6] _−→_ R _, there exists {w_[(] _[h]_[)] _∈_ R _}h∈_ [ _Nh_ ] _such that following equality holds:_
388
+
389
+ **==> picture [302 x 25] intentionally omitted <==**
390
+
391
+ 13
392
+
393
+ _Proof._ Consider high-dimensional convolution at position ( **x** _,_ **y** ):
394
+
395
+ **==> picture [378 x 182] intentionally omitted <==**
396
+
397
+ By applying Lemma 1, we conclude that the dot-product of Proxy Match Transform outputs is equivalent to the high-order convolution. ■
398
+
399
+ ## A.2 EMPIRICAL ANALYSIS OF PROXY MATCH TRANSFORM
400
+
401
+ **==> picture [358 x 121] intentionally omitted <==**
402
+
403
+ **----- Start of picture text -----**<br>
404
+ (a) (b)<br>**----- End of picture text -----**<br>
405
+
406
+ Figure 5: Visualization of the correlation between the proxy **P** and the input features **F** _X_ and **F** _Y_ . The red, blue, and purple color indicates the source ( _X_ ), target ( _Y_ ), and the proxy ( **P** ), respectively. (a) t-SNE visualization of source feature **F** _X_ , target feature **F** _Y_ , and shared proxy tensor **P** . (b) Visualization of points in each point cloud with the highest correlation with the proxy.
407
+
408
+ To provide the analysis on the role of the shared proxy in our Proxy Match Transform, in Fig. 5, we visualize the correlation between the shard proxy **P** and the input features, **F** _X_ and **F** _Y_ . As depicted in Fig. 5. (a), the features of the source, target point clouds, and the proxy form distinct clusters, with some regions of the source and target point clouds showing higher correlation with the proxy, resulting in proximity in t-SNE visualization. In Fig. 5. (b), we visually represent those points with high correlation in 3D point clouds. Remarkably, the points with the highest correlation with the proxy are predominantly located on the mating surfaces of the fragments. This observation suggests that the proxy in our Proxy Match Transform effectively facilitates the critical information exchange from the points near the mating surfaces. Note that the correlations are computed on proxy tensor **P**[(] _[h]_[)] , specifically with a head index of _h_ = 0.
409
+
410
+ 14
411
+
412
+ ## A.3 EFFICIENCY OF PROXY MATCH TRANSFORM
413
+
414
+ In Tab. 6, we present detailed experimental results that showcase the efficiency of PMT when employed as both a coarse-matcher and a fine-matcher.
415
+
416
+ Specifically, we measure the computational efficiency of our method by employing Floating Point Operations Per Second (FLOPS) as a metric and compare it with Qin et al. (2022). To assess the memory overhead and footprint, we record the peak memory usage for each method during both the training and inference phases, as well as the number of parameters. For clarity in our comparison, when measuring the FLOPS and the number of parameters, we exclude those associated with the backbone and focus solely on the coarse matcher, and if applicable, the fine matcher.
417
+
418
+ Table 6: Comparison of computational efficiency and memory usage between Qin et al. (2022) and Proxy Match Transform (PMT).
419
+
420
+ |Method|Coarse<br>Fine|FLOPS (G)_↓_<br># Param. (K)_↓_|Mem. train (GB)<br>Mem. test (GB)|
421
+ |---|---|---|---|
422
+ |GeoTransformer<br>PMT(Coarse)<br>**PMT(Ours)**|GeoTr<br>-<br>PMT<br>-<br>PMT<br>PMT|9.67<br>926.85<br>**0.45**<br>**273.85**<br>0.78<br>296.15|6.96<br>3.10<br>**2.12**<br>**0.28**<br>3.78<br>0.88|
423
+
424
+ The table above clearly indicates that our PMT Blocks deliver substantial reductions not only in computational complexity but also in memory requirements, both during the training and testing phases. This improvement is noteworthy when compared to the previous state-of-the-art methods, specifically Qin et al. (2022). Such efficiency is crucial, as it facilitates the practical deployment of our fine matcher for intricate matching tasks.
425
+
426
+ ## A.4 IMPLEMENTATION DETAILS
427
+
428
+ **Attention Calculation.** We adopt the relative-position encoding strategy of PerViT (Min et al., 2022) to compute the attention matrix **A**[(] _X[h]_[)][. Specifically, given a query and key positions] **[ q]** _[,]_ **[ k]** _[ ∈]_[R][3][,] the Euclidean distances is defined as follows: **Rq** _,_ **k** = _||_ **q** _−_ **k** _||_ 2. An MLP takes this distance to produce an attention score:
429
+
430
+ **==> picture [310 x 35] intentionally omitted <==**
431
+
432
+ where **W** p1 _∈_ R[1] _[×][N]_[h] and **W** p2 _∈_ R _[N]_[h] _[×]_[1] are the linear projection parameters, and ReLU gives non-linearity to the function.
433
+
434
+ **Training Details.** For the backbone network, we utilize KPConv-FPN (Thomas et al., 2019) and set a subsampling radius of 0.02. And the coarse-level and fine-level feature dimension are set as _D_ c = 512 and _D_ f = 128, respectively. This configuration is employed across all baselines and in our method for both the main results and ablation studies, using a coarse-to-fine approach. For other details, we used the default settings implemented in Qin et al. (2022). We direct readers to their work for further details.
435
+
436
+ For our PMT blocks with Proxy Match Transform layers, we repeat _Nt_ = 2 times to constuct both coarse and fine matchers. In Proxy Match Transform layer, the number of head is set of _Nh_ = 4, and the spatial resolutions _D_ proxy of the proxy tensors are set of 32 for both coarse and fine matcher.
437
+
438
+ **Baseline methods.** In our ablation studies (Sec. 4), we evaluated our PMT model against four distinct baselines, demonstrating its effectiveness in both coarse- and fine- matching contexts. The first baseline, Linear, involves constructing two individual linear layers for features **F** _X_ and **F** _Y_ , sharing a common weight matrix **W** _∈_ R _[D]_[emb] _[×][D]_[emb] . The second, MLP, employs two linear layers with weight matrices **W** 1 _∈_ R _[D]_[emb] _[×][D]_[emb] _[/]_[2] and **W** 2 _∈_ R _[D]_[emb] _[/]_[2] _[×][D]_[emb] , each followed by a Group Normalization and ReLU sequence. The third baseline, HDC, adheres to the center-pivot convolution approach as introduced by Min et al. (2021). Lastly, for GeoTr, we implemented the Geometric Transformer according to the method outlined by Qin et al. (2022).
439
+
440
+ 15
441
+
442
+ ## A.5 EVALUATION METRICS
443
+
444
+ We employ four different metrics to assess the results. Consider a pair of input point clouds _{X , Y}_ where _X ∈_ R _[N][×]_[3] , _Y ∈_ R _[M][×]_[3] . Without loss of generality, we assume that _N < M_ . The ground truth SE(3) relative pose between the point clouds is represented by **T**[GT] = � **R**[GT] _,_ **t**[GT][�] , while the predictions are denoted as **T** = [ **R** _,_ **t** ]. Note that in our context, the direction of pose is defined as the transformation that aligns _X_ with the coordinate frame of _Y_ .
445
+
446
+ _Chamfer Distance (CD)._ The chamfer distance between two point clouds _S_ 1 _, S_ 2 is defined as
447
+
448
+ **==> picture [315 x 24] intentionally omitted <==**
449
+
450
+ and measures the sum of the distance between nearest neighbor correspondences between point clouds. To assess the quality of shape assembly, we measure the chamfer distance between ground truth assembly and the prediction as:
451
+
452
+ **==> picture [315 x 12] intentionally omitted <==**
453
+
454
+ **==> picture [320 x 13] intentionally omitted <==**
455
+
456
+ _Rotational-, Translational-RMSE (RRMSE, TRMSE)._ Finally, to directly measure the prediction accuracy of transformation parameters, we compute the root mean square error (RMSE) between predicted and ground-truth rotation and translation, respectively. Following the protocols of Sell´an et al. (2022), we use Euler angle representation for rotation.
457
+
458
+ ## A.6 MULTI-PART ASSEMBLY DETAILS
459
+
460
+ With _[n] P_ 2 computed pairwise transformations, we first construct a pose graph _G_ = ( _V, E_ ) for an object _O_ with _N_ fractures. We adopt a pose graph optimization (PGO) (Choi et al., 2015) process from the SLAM domain (Carlone et al., 2015b), assuming our estimated relative transformations _Rij|tij_ to be noisy measurements.
461
+
462
+ To solve the problem, we divide the pose graph optimization into two steps: (1) rotation averaging, and (2) translation recovering. To estimate global rotation _R_[˜] _i_ and _R_[˜] _j_ from estimated relative rotations _Rij_ , we set an objective of rotation averaging as follows:
463
+
464
+ **==> picture [276 x 24] intentionally omitted <==**
465
+
466
+ where _κ_ **I** _ij_ are concentration parameters for an assumed Langevin noise model (Carlone et al., 2015a; Boumal et al., 2014), and **I** _ij_ are information matrices. We design our information matrices **I** _ij_ as:
467
+
468
+ **==> picture [258 x 26] intentionally omitted <==**
469
+
470
+ with coarse-level correspondence score _si,j_ = exp( _−∥_ **h** _[X] i[−]_ **[h]** _[Y] j[∥]_[2] 2[)][ from each pairwise matcher] with input _Pi_ and _Pj_ . To optimize our pose graph, we use Shonan Rotation Averaging (Dellaert et al., 2020), the state-of-art transformation optimization method, and we use the implementation in gtsam (Dellaert, 2012). Then, we simply recover the global translation _t_[˜] _i_ and _t_[˜] _j_ with its objective:
471
+
472
+ **==> picture [280 x 24] intentionally omitted <==**
473
+
474
+ where _tij_ are estimated relative translations.
475
+
476
+ Finally, we assemble the part fractures _Pi_ using transformations derived from synchronized global poses _{R_[˜] _i, t_[˜] _i}[N] i_ =1[, and we take the system of the largest pieces as canonical pose for the object] _[ O]_[.]
477
+
478
+ 16
479
+
480
+ ## A.7 ADDITIONAL RESULTS
481
+
482
+ **Experiments on Real-world Dataset.** In Tab. 7, we have extended our experimental evaluation to include the Fantastic Breaks dataset (Lamb et al., 2023), which consists of real data samples for shape re-assembling. We acknowledge that this dataset is comparatively small, containing only 150 samples, but we believe it provides a valuable preliminary indication of how our model, trained on synthetic data, performs in real-world scenarios.
483
+
484
+ Table 7: Experimental results on real-world dataset, Fantastic Breaks.
485
+
486
+ |Method|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|
487
+ |---|---|---|---|
488
+ |||everyday_→_Fantastic Breaks|artifact_→_Fantastic Breaks|
489
+ |Global<br>LSTM<br>DGL<br>NSM<br>GeoTransformer||26.41<br>16.37<br>88.92<br>22.99<br>26.48<br>18.53<br>85.26<br>25.00<br>26.92<br>15.22<br>86.66<br>22.76<br>25.05<br>18.62<br>81.88<br>22.54<br>7.79<br>6.54<br>43.79<br>**10.17**|26.50<br>17.23<br>87.97<br>24.19<br>25.85<br>18.25<br>85.18<br>23.29<br>26.23<br>16.98<br>87.96<br>23.58<br>26.09<br>17.28<br>86.69<br>23.36<br>13.69<br>15.14<br>70.08<br>20.96|
490
+ |**PMT (Ours)**||**7.30**<br>**6.52**<br>**39.38**<br>11.35<br>**12.24**<br>**13.32**<br>**66.88**<br>**19.03**||
491
+
492
+ **Experiments on Generalizability.** Furthermore, to underscore the generalizability of our approach in Tab. 8, we have conducted transferability experiments between BreakingBad everyday, and artifact subsets. The results of these experiments confirm that PMT retains its efficacy when applied to data distributions that differ from the training set, indicating robust transfer learning capabilities.
493
+
494
+ Table 8: Transferability experimental results on BreakingBad dataset.
495
+
496
+ |Method|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|CRD_↓_<br>CD_↓_<br>RMSE (R)_↓_<br>RMSE (T)_↓_<br>(10_−_2)<br>(10_−_3)<br>(_◦_)<br>(10_−_2)|
497
+ |---|---|---|---|
498
+ |||everyday_→_artifact|artifact_→_everyday|
499
+ |Global<br>LSTM<br>DGL<br>NSM<br>GeoTransformer||24.81<br>11.82<br>86.55<br>27.50<br>24.81<br>12.44<br>84.21<br>27.53<br>25.02<br>11.69<br>86.69<br>27.87<br>24.76<br>11.33<br>84.60<br>26.24<br>**3.78**<br>3.05<br>61.35<br>**15.41**|27.34<br>15.24<br>85.67<br>29.09<br>26.84<br>14.90<br>84.81<br>28.87<br>26.85<br>14.40<br>86.22<br>29.00<br>25.68<br>14.58<br>85.68<br>27.55<br>4.38<br>3.61<br>61.95<br>14.95|
500
+ |**PMT (Ours)**||3.96<br>**2.97**<br>**59.02**<br>16.31<br>**4.20**<br>**3.33**<br>**61.25**<br>16.06||
501
+
502
+ In Tab. 9, we report the classwise quantitative results of pairwise assembly by all methods, evaluated on everyday subset of BreakingBad dataset. In Fig. 6 and Fig. 7 we include additional qualitative results of all methods on both everyday and artifact subset of BreakingBad dataset (Sell´an et al., 2022).
503
+
504
+ 17
505
+
506
+ Table 9: Class-wise quantitative results of pairwise assembly on everyday subset of BreakingBad.
507
+
508
+ |Method|Beer Bottle|Bowl|Cup|Drinking Utensil|Mug|Plate|Spoon|Teacup|Toy|Wine Bottle|Bottle|Cookie|Drink Bottle|Mirror|Pill Bottle|Ring|Statue|Teapot|Vase|Wine Glass|Sample Mean|Class Mean|
509
+ |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
510
+ |CRD (10_−_2)_↓_|||||||||||||||||||||||
511
+ |ICP|13.35|7.78|7.49|6.30|4.46|11.78|25.90|4.81|6.13|11.80|9.74|3.85|19.31|12.53|7.13|15.35|9.37|2.38|10.28|12.49|8.57|10.11|
512
+ |SparseICP|13.33|7.73|7.27|6.17|4.42|12.00|24.90|4.90|6.16|11.69|9.75|3.91|19.25|12.69|7.09|14.95|9.25|2.36|10.18|12.74|8.55|10.04|
513
+ |RANSAC|14.25|9.24|6.77|5.46|4.20|13.42|21.85|5.56|5.89|8.41|8.10|4.15|17.90|12.57|7.57|16.11|8.17|3.45|10.19|11.00|8.24|9.71|
514
+ |FGR|11.88|8.05|6.17|5.16|4.38|11.95|25.78|5.17|6.14|8.85|8.95|4.29|17.91|13.18|6.35|15.85|8.49|2.46|9.64|12.54|8.15|9.66|
515
+ |Global|21.95|24.99|27.89|29.31|27.64|22.9|29.53|18.99|25.26|9.26|21.99|23.43|13.39|25.15|26.72|24.15|22.68|25.29|26.52|46.09|25.10|24.66|
516
+ |LSTM|30.79|24.66|27.06|28.39|28.42|23.01|27.13|17.72|27.12|23.88|27.79|22.67|30.11|24.92|28.18|24.44|22.27|24.81|31.02|27.13|27.90|26.08|
517
+ |DGL|16.18|24.08|28.9|29.99|28.31|23.37|27.8|18.86|26.86|8.1|16.63|22.33|8.83|25.4|26.07|19.46|19.44|22.23|25.62|53.24|24.20|23.58|
518
+ |NSM|25.05|22.86|21.54|25.09|25.85|22.41|26.81|14.82|24.45|9.12|17.15|21.55|13.88|24.35|25.35|22.06|17.96|26.56|23.4|18.59|1.66|21.44|
519
+ |GeoTransformer|0.62|1.84|0.86|0.22|0.70|0.97|30.35|0.32|3.23|0.56|0.83|1.06|0.77|3.73|1.47|10.79|6.16|1.01|1.41|8.24|1.66|3.76|
520
+ |Ours|0.51|1.51|0.48|0.78|0.76|0.89|29.41|0.45|2.74|0.28|0.76|0.35|0.47|2.48|0.66|12.37|4.14|1.14|1.64|5.36|1.46|3.36|
521
+ |CD (10_−_3)_↓_|||||||||||||||||||||||
522
+ |ICP|10.88|4.66|6.11|4.65|3.38|5.15|68.63|2.10|4.07|5.78|7.16|1.26|18.58|10.25|4.13|19.56|3.90|1.81|8.53|15.65|6.52|10.31|
523
+ |SparseICP|10.93|5.45|6.56|4.64|3.45|9.70|69.41|2.18|4.14|5.83|7.22|1.49|18.62|15.80|4.21|19.54|3.91|1.79|8.62|15.76|7.08|10.96|
524
+ |RANSAC|9.98|4.12|4.25|2.14|1.68|8.30|36.77|1.87|3.60|5.30|6.08|1.10|18.06|12.18|2.04|13.38|3.80|0.47|6.44|12.70|5.38|7.71|
525
+ |FGR|10.28|4.79|5.62|3.81|3.48|9.35|71.72|1.87|3.87|4.99|6.69|1.23|18.15|46.99|3.83|17.83|3.98|1.76|8.17|15.71|8.74|12.20|
526
+ |Global|13.87|10.39|15.42|8.56|12.0|17.11|29.64|7.45|14.11|2.2|8.48|5.35|4.75|19.1|8.53|24.56|9.56|7.04|16.39|79.69|13.80|15.71|
527
+ |LSTM|19.88|13.93|13.57|9.49|12.43|14.44|38.96|7.76|15.05|10.57|13.63|4.33|25.88|20.99|10.04|24.76|7.12|5.93|17.86|39.36|15.20|16.3|
528
+ |DGL|6.72|10.36|14.55|7.29|11.71|10.19|27.78|9.26|13.98|1.22|5.55|3.81|0.97|20.08|6.88|18.94|8.73|5.74|13.92|106.17|12.10|15.19|
529
+ |NSM|29.27|16.92|18.17|9.46|18.3|14.97|32.06|7.22|13.49|2.77|8.57|5.8|10.9|22.12|7.34|21.57|9.81|6.38|17.2|33.31|14.54|15.28|
530
+ |GeoTransformer|0.11|0.91|0.40|0.04|0.21|0.25|69.74|0.07|2.82|0.11|0.27|0.98|0.10|4.08|0.37|4.37|4.44|0.16|0.85|13.48|1.23|5.19|
531
+ |Ours|0.11|0.99|0.22|0.73|0.22|0.50|72.33|0.13|2.34|0.03|0.30|0.23|0.06|2.08|0.37|15.69|4.59|0.24|1.31|4.91|1.09|5.37|
532
+ |RMSE (R) (_◦_)_↓_|||||||||||||||||||||||
533
+ |ICP|82.15|84.10|78.21|83.58|84.51|84.12|65.96|80.86|83.64|86.82|83.45|85.22|85.35|86.79|82.60|76.50|80.76|84.35|83.64|84.53|83.71|82.36|
534
+ |SparseICP|82.33|83.17|76.26|83.18|84.29|88.46|47.62|81.38|83.68|85.93|84.01|86.28|85.46|85.24|80.89|76.58|79.44|84.61|83.76|83.37|83.54|81.30|
535
+ |RANSAC|93.52|81.45|89.64|88.80|87.83|85.92|108.93|91.99|81.39|89.94|91.80|86.32|102.91|84.79|89.06|78.93|88.73|84.97|93.67|107.56|89.05|90.41|
536
+ |FGR|84.61|83.95|77.97|79.51|85.24|91.56|62.47|81.66|83.79|84.07|85.86|84.92|100.23|84.98|79.38|89.29|78.32|84.53|87.19|85.80|85.02|83.77|
537
+ |Global|85.5|86.81|85.56|79.97|85.13|91.28|116.8|89.09|84.23|82.89|87.04|90.95|80.18|88.21|86.89|82.14|78.7|87.15|85.97|86.52|86.40|87.05|
538
+ |LSTM|76.64|84.5|86.65|87.84|84.93|81.34|57.03|73.64|83.08|82.85|85.9|78.62|83.86|88.81|92.41|73.17|78.95|83.2|84.87|85.14|85.20|81.67|
539
+ |DGL|92.24|86.94|91.62|87.07|84.84|79.8|42.63|89.78|87.36|79.75|84.58|94.13|70.52|86.78|87.9|77.6|80.73|91.72|88.63|81.63|85.50|83.31|
540
+ |NSM|81.95|76.43|86.93|82.53|80.82|72.29|87.85|84.23|87.22|79.62|78.0|85.62|81.34|84.57|85.97|92.78|74.27|93.09|82.23|77.59|80.83|82.77|
541
+ |GeoTransformer|7.71|25.49|26.81|6.45|40.67|22.10|98.52|3.15|77.85|16.34|27.61|24.28|4.42|34.83|25.71|69.47|97.10|68.20|21.22|64.51|34.40|38.12|
542
+ |Ours|7.41|23.37|16.08|14.39|49.83|18.08|115.97|12.82|63.71|11.41|26.08|11.49|2.29|29.19|31.24|54.72|42.35|76.95|22.49|64.57|32.86|34.72|
543
+ |RMSE (T) (10_−_2)_↓_|||||||||||||||||||||||
544
+ |ICP|30.86|24.39|26.82|27.23|29.27|22.90|30.93|16.56|27.43|24.98|27.62|24.63|26.32|25.49|28.05|22.84|20.19|22.86|29.04|33.20|27.42|26.08|
545
+ |SparseICP|30.77|24.15|26.17|26.63|28.87|22.70|29.99|16.79|27.43|25.17|27.64|24.70|26.21|25.63|27.83|22.28|19.94|22.73|28.83|32.94|27.26|25.87|
546
+ |RANSAC|31.53|26.07|23.04|20.38|26.00|19.68|27.47|18.67|26.23|21.38|25.60|21.38|27.77|27.36|22.47|18.93|20.39|33.26|28.23|36.00|26.22|25.09|
547
+ |FGR|27.82|24.71|25.37|25.72|28.57|22.30|30.73|16.77|26.74|22.07|27.02|24.97|25.92|26.93|26.60|25.70|18.21|23.69|28.08|33.30|26.81|25.56|
548
+ |Global|26.54|25.54|28.44|28.75|31.46|23.94|30.05|16.83|29.03|22.59|27.78|25.97|11.76|25.59|29.31|28.42|29.03|27.3|31.85|38.27|28.80|26.92|
549
+ |LSTM|36.01|25.03|30.13|30.06|32.79|22.9|38.46|17.33|30.63|29.76|33.05|24.93|25.89|26.29|32.86|25.04|23.41|26.18|33.91|41.29|30.70|29.30|
550
+ |DGL|22.43|25.53|29.05|27.42|28.94|23.76|31.75|16.48|29.73|19.77|25.28|24.55|8.37|26.8|29.04|22.22|22.1|26.57|30.67|33.16|28.10|25.18|
551
+ |NSM|30.06|24.71|25.46|29.12|28.32|22.88|34.55|19.72|29.53|14.79|18.24|23.5|11.83|26.23|28.42|23.0|17.16|21.58|25.87|16.74|24.85|23.59|
552
+ |GeoTransformer|3.74|7.14|6.52|2.31|8.23|3.07|38.69|1.41|19.56|4.68|7.60|2.87|1.48|9.61|11.65|14.58|16.48|13.01|5.37|29.88|8.82|10.39|
553
+ |Ours|1.37|7.47|4.92|2.54|11.05|3.46|37.60|2.35|16.20|5.03|7.63|1.87|0.92|6.53|6.66|15.73|10.82|15.81|5.52|12.52|8.17|8.80|
554
+
555
+ 18
556
+
557
+ **==> picture [396 x 295] intentionally omitted <==**
558
+
559
+ **----- Start of picture text -----**<br>
560
+ Input ICP SparseICP RANSAC FGR NSM GeoTransformer Ours GT<br>**----- End of picture text -----**<br>
561
+
562
+ Figure 6: Additional qualitative results of pairwise shape assembly on BreakingBad.
563
+
564
+ **==> picture [396 x 254] intentionally omitted <==**
565
+
566
+ **----- Start of picture text -----**<br>
567
+ Global LSTM DGL Ours GT<br>**----- End of picture text -----**<br>
568
+
569
+ Figure 7: Additional qualitative results of multi-part assembly on BreakingBad.
570
+
571
+ 19
572
+
open_review/iclr2024_8841.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8841",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Posterior Sampling via Langevin Monte Carlo for Offline Reinforcement Learning",
6
+ "abstract": "In this paper, we consider offline reinforcement learning (RL) problems. Within this setting, posterior sampling has been rarely used, perhaps partly due to its explorative nature. The only work using posterior sampling for offline RL that we are aware of is the model-based posterior sampling of \\cite{uehara2021pessimistic}. However, this framework does not permit any tractable algorithm (not even in the linear models) where simulations of posterior samples become challenging, especially in high dimensions. In addition, the algorithm only admits a weak form of guarantees -- Bayesian sub-optimality bounds which depend on the prior distribution. To address these problems, we propose and analyze the use of Markov Chain Monte Carlo methods for offline RL. We show that for low-rank Markov decision processes (MDPs), using the Langevin Monte Carlo (LMC) algorithm, our algorithm obtains the (frequentist) sub-optimality bound that competes against any comparator policy $\\pi$ and interpolates between $\\tilde{\\mathcal{O}}(H^2 d \\sqrt{C_{\\pi}/ K})$ and $\\tilde{\\mathcal{O}}(H^2 \\sqrt{d C_{\\pi}/ K})$, where $C_{\\pi}$ is the concentrability coefficient of $\\pi$, $d$ is the dimension of the linear feature, $H$ is the episode length, and $K$ is the number of episodes in the offline data. For general MDPs with overparameterized neural network function approximation, we show that our LMC-based algorithm obtains the sub-optimality bounds of $\\tilde{\\mathcal{O}}(H^{2.5} \\tilde{d} \\sqrt{C_{\\pi} /K})$, where $\\tilde{d}$ is the effective dimension of the neural network. Finally, we collaborate our findings with numerical evaluations to demonstrate that LMC-based algorithms could be both efficient and competitive for offline RL in high dimensions.",
7
+ "rebuttal": "We thank the reviewer for acknowledging our contributions and for the insightful questions. \n\n> The presented approach captures pessimism through posterior sampling. While innovative, one could question whether this form of pessimism adequately represents the complex nature of uncertainties found in the offline dataset, particularly given the non-stationary distributions that can arise from varied data collection policies. \n\nThis is indeed a very insightful question. The short answer is we do not know yet for sure. We speculate that this form of pessimism in our algorithms is likely not tightly capturing the uncertainties in the offline dataset as there is still a gap of $\\sqrt{d}$ of our bounds for linear MDPs in the worst-case scenarios (please see the \"Interpolating Bounds\" paragraph on page 7). Closing this gap of approximate posterior sampling (perhaps with better algorithms that can tightly capture sufficient pessimism for offline RL, per your suggestion) is left as a future direction.\n\nWe thank the reviewer for the positive reviews. \n\n---\n> What is the difference between the convergence of Langevin Monte Carlo and the convergence of the RL posterior sampling under the offline setting? Will the former lead to the latter? \n\nTo clarify the context, we assume that you are questioning the relationship between the Langevin Monte Carlo (LMC-PPS) way in Algorithm 2 and the pessimistic posterior sampling way in Algorithm 1. Note standard posterior sampling in [US21] does not have any frequentist guarantee. Please let us know if you are implying other stuff. We are happy to elaborate [...]\n\nWe thank the reviewer for the positive reviews and the constructive feedback. We will revise our paper accordingly based on your suggestions. \n\n---\n> I do not see particularly new ideas from the submission, either in the algorithm or in the analysis. Thus, the novelty of the paper is limited.\n\nFor algorithms, Lin-LMC-PPS and Neural-LMC-PPS in our paper are both novel for offline RL. Especially, the use of linear auxiliary models in our Neural-LMC-PPS is non-standard. For analysis, we did not claim to invent any new technical tools and we built upon some of the existing techniques used for line [...]\n\n### Follow-up comments\nDear reviewer jpdm, \n\nAs the author-reviewer discussion period will end soon, we will appreciate it if you could check our response to your review comments. We are confident that we have addressed your concern in the rebuttal. We haven't hear from you, could you let us know if your concerns have been addressed? If our response resolves your concerns, we kindly ask you to consider raising the rating of our work. If not, we are very happy to provide further explanations. Thank you very much for your time and efforts!\n\n### Follow-up comments\nDear reviewer Cabd, thanks again for the comments, and we believe we have addressed your concern in the rebuttal. We haven't hear from you, could you let us know if your concerns have been addressed? We would be happy to provide further explanations if you have any.\n\n### Follow-up questions\nDear reviewer VjxR, thanks again for your supportive comments and insightful questions! Could you let us know if your concerns have been addressed? We would be happy to provide further explanations if you have any.",
8
+ "initial_scores": [
9
+ 6,
10
+ 5,
11
+ 6
12
+ ],
13
+ "score_mean": 5.67,
14
+ "score_variance": 0.33,
15
+ "score_spread": 1,
16
+ "score_min": 5,
17
+ "score_max": 6,
18
+ "decision": "Reject",
19
+ "rebuttal_validity_ground_truth": null,
20
+ "meta_review": "This paper proposes a practical posterior sampling algorithm via Langevin Monte Carlo for offline reinforcement learning (RL) and derives a (frequentist) sub-optimality bound that competes against any comparator policy. It also showcases its applications in low-rank MDPs and RL with neural network approximation. The main concerns about this paper include: (1) the novelty of the algorithm and analysis is limited; (2) the use of low-rank MDPs is misleading, the authors study linear MDP rather than low-rank MDPs (unknown feature mapping). Even after the author response, this paper does not gather sufficient support. Therefore, I recommend rejection.",
21
+ "forum_id": "WwCirclMvl",
22
+ "primary_area": "reinforcement learning",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_Cabd",
27
+ "review_id": "u4MZfo08d5",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 3,
31
+ "presentation": 2,
32
+ "contribution": 2,
33
+ "confidence": 3
34
+ },
35
+ "review_text_chars": 1597,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 819495,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_jpdm",
43
+ "review_id": "r5cryazQhd",
44
+ "scores": {
45
+ "rating": 5,
46
+ "soundness": 3,
47
+ "presentation": 2,
48
+ "contribution": 3,
49
+ "confidence": 4
50
+ },
51
+ "review_text_chars": 735,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 1008054,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_VjxR",
59
+ "review_id": "d1RZWRjC59",
60
+ "scores": {
61
+ "rating": 6,
62
+ "soundness": 4,
63
+ "presentation": 4,
64
+ "contribution": 3,
65
+ "confidence": 4
66
+ },
67
+ "review_text_chars": 1875,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 1048853,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8841.md ADDED
The diff for this file is too large to render. See raw diff
 
open_review/iclr2024_8842.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8842",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Transformer-Based Large Language Models Are Not General Learners: A Universal Circuit Perspective",
6
+ "abstract": "Large Language Models (LLMs) have demonstrated remarkable proficiency across diverse tasks, evoking perceptions of ``sparks of Artificial General Intelligence (AGI)\" (Bubeck et al., 2023). A key question naturally arises: *Can foundation models lead to AGI?* In this work, we try to answer this question partially by formally considering the capabilities of Transformer-based LLMs (T-LLMs) from the perspective of universal circuits. \nBy investigating the expressive power of realistic T-LLMs as universal circuits, we show that a T-LLM of size $\\operatorname{poly}(n)$ cannot perform all the basic operators of input length $O\\left(\\operatorname{poly}(\\log n)\\right)$. We also demonstrate that a constant-depth-$\\operatorname{poly}(n)$-size log-precision T-LLM cannot faithfully execute prompts of complexity $n$. Our analysis provides a concrete theoretical foundation that T-LLMs can only be universal circuits for limited function classes, or in other words, T-LLMs are not general learners. Furthermore, we exhibit that a constant-depth-$\\operatorname{poly}(n)$-size log-precision T-LLM can memorize $O\\left(\\operatorname{poly}(n)\\right)$ instances, which could partially explain the seeming inconsistency between LLMs' empirical successes and our negative results. To the best of our knowledge, our work takes the first step towards analyzing the limitations of T-LLMs as general learners within a rigorous theoretical framework. Our results promote the understanding of LLMs' capabilities and highlight the need for innovative architecture designs beyond Transformers to break current limitations.",
7
+ "rebuttal": "Thank you for your insight comments.\n\n- *Claims about Instance Memorization are Very Speculative*\n\nThank you for suggestion. Our current claim is that from the perspective of expressive, it is possible that the model could achieve something by memorization. We agree that it requires more discussion on the learnability and the training dynamics to further investigate whether learning to memorize is feasible and accounts for the success of LLMs (at least for some problems). \n\n- *Do we really want models that can express universal circuits? Perhaps constraints on the expressive power of the hypothesis class could be useful for the inductive bias of models. It could be worth discussing the potential benefits of having a constrained hypothesis class in the limitations section.*\n\nWe think that constraints on the expressive power of the hypothesis class may benefit the learning of the model. Some classic results in learning theory (e.g., VC dimension) have shown that a limited hypothesis class is important for learnability. Despite that these results may not directly apply to the LLMs, we think the idea that a limited hypothesis class benefits learnability could be insightful. We believe it is an interseting direction for future work to reveal the underlying mechanism (if exists) how the idea works for LLMs.",
8
+ "initial_scores": [
9
+ 1,
10
+ 6,
11
+ 3,
12
+ 5,
13
+ 5
14
+ ],
15
+ "score_mean": 4.0,
16
+ "score_variance": 4,
17
+ "score_spread": 5,
18
+ "score_min": 1,
19
+ "score_max": 6,
20
+ "decision": "Reject",
21
+ "rebuttal_validity_ground_truth": false,
22
+ "meta_review": "This work studies the expressive power of Transformers. They take a circuit-complexity viewpoint, and argue that Transformers cannot express all circuits with only polynomial blowup. Thus, there exist functions which cannot be computed by [a potentially nonuniform family of] Transformers.\n\nReviewers agree that the problem of formally understanding what Transformers can express and learn is important and timely.\nHowever, all reviewers have observed significant technical issues with this paper, which were unaddressed by authors in rebuttal. Specifically, the main technical results are simple reductions (or re-phrasings) of well-known results in computational complexity. It is unclear what additional insight this paper offers, thus I must recommend rejection. I encourage the authors to better situate their work in the context of known results.",
23
+ "forum_id": "e5lR6tySR7",
24
+ "primary_area": "general machine learning (i.e., none of the above)",
25
+ "n_reviews": 5,
26
+ "per_review": [
27
+ {
28
+ "reviewer": "Reviewer_8H3T",
29
+ "review_id": "ymuy3iepHc",
30
+ "scores": {
31
+ "rating": 1,
32
+ "soundness": 4,
33
+ "presentation": 2,
34
+ "contribution": 1,
35
+ "confidence": 5
36
+ },
37
+ "review_text_chars": 1668,
38
+ "edit_detected": true,
39
+ "edit_delta_seconds": 224603,
40
+ "post_rebuttal_text_signal": false,
41
+ "score_mentions_in_text": []
42
+ },
43
+ {
44
+ "reviewer": "Reviewer_T96k",
45
+ "review_id": "Q2eWk5YENJ",
46
+ "scores": {
47
+ "rating": 6,
48
+ "soundness": 2,
49
+ "presentation": 1,
50
+ "contribution": 2,
51
+ "confidence": 3
52
+ },
53
+ "review_text_chars": 2878,
54
+ "edit_detected": true,
55
+ "edit_delta_seconds": 417484,
56
+ "post_rebuttal_text_signal": false,
57
+ "score_mentions_in_text": []
58
+ },
59
+ {
60
+ "reviewer": "Reviewer_joMD",
61
+ "review_id": "aBsY6MMlXO",
62
+ "scores": {
63
+ "rating": 3,
64
+ "soundness": 3,
65
+ "presentation": 2,
66
+ "contribution": 2,
67
+ "confidence": 2
68
+ },
69
+ "review_text_chars": 1767,
70
+ "edit_detected": true,
71
+ "edit_delta_seconds": 625037,
72
+ "post_rebuttal_text_signal": false,
73
+ "score_mentions_in_text": []
74
+ },
75
+ {
76
+ "reviewer": "Reviewer_PfJ8",
77
+ "review_id": "zXOkT8AvZ3",
78
+ "scores": {
79
+ "rating": 5,
80
+ "soundness": 3,
81
+ "presentation": 2,
82
+ "contribution": 3,
83
+ "confidence": 4
84
+ },
85
+ "review_text_chars": 7179,
86
+ "edit_detected": true,
87
+ "edit_delta_seconds": 858066,
88
+ "post_rebuttal_text_signal": false,
89
+ "score_mentions_in_text": []
90
+ },
91
+ {
92
+ "reviewer": "Reviewer_PAUt",
93
+ "review_id": "XQth6f9GdS",
94
+ "scores": {
95
+ "rating": 5,
96
+ "soundness": 3,
97
+ "presentation": 3,
98
+ "contribution": 2,
99
+ "confidence": 4
100
+ },
101
+ "review_text_chars": 3180,
102
+ "edit_detected": true,
103
+ "edit_delta_seconds": 1396199,
104
+ "post_rebuttal_text_signal": false,
105
+ "score_mentions_in_text": []
106
+ }
107
+ ],
108
+ "any_review_edit_detected": true,
109
+ "any_post_rebuttal_text_signal": false,
110
+ "review_score_dimensions": [
111
+ "rating",
112
+ "soundness",
113
+ "presentation",
114
+ "contribution",
115
+ "confidence"
116
+ ]
117
+ }
open_review/iclr2024_8842.md ADDED
@@ -0,0 +1,415 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ TRANSFORMER-BASED LARGE LANGUAGE MODELS ARE NOT GENERAL LEARNERS: A UNIVERSAL CIRCUIT PERSPECTIVE
4
+
5
+ ##
6
+
7
+ Authors withheld for review
8
+
9
+ ## ABSTRACT
10
+
11
+ Large Language Models (LLMs) have demonstrated remarkable proficiency across diverse tasks, evoking perceptions of “sparks of Artificial General Intelligence (AGI)” (Bubeck et al., 2023). A key question naturally arises: _Can foundation models lead to AGI?_ In this work, we try to answer this question partially by formally considering the capabilities of Transformer-based LLMs (T-LLMs) from the perspective of universal circuits. By investigating the expressive power of realistic T-LLMs as universal circuits, we show that a T-LLM of size poly( _n_ ) cannot perform all the basic operators of input length _O_ (poly(log _n_ )). We also demonstrate that a constant-depth-poly( _n_ )-size log-precision T-LLM cannot faithfully execute prompts of complexity _n_ . Our analysis provides a concrete theoretical foundation that T-LLMs can only be universal circuits for limited function classes, or in other words, T-LLMs are not general learners. Furthermore, we exhibit that a constant-depth-poly( _n_ )-size log-precision T-LLM can memorize _O_ (poly( _n_ )) instances, which could partially explain the seeming inconsistency between LLMs’ empirical successes and our negative results. To the best of our knowledge, our work takes the first step towards analyzing the limitations of T-LLMs as general learners within a rigorous theoretical framework. Our results promote the understanding of LLMs’ capabilities and highlight the need for innovative architecture designs beyond Transformers to break current limitations.
12
+
13
+ ## 1 INTRODUCTION
14
+
15
+ Large Language Models (LLMs) (Touvron et al., 2023; OpenAI, 2023a;b) have achieved unprecedented success across a wide range of tasks such as code generation (Chen et al., 2021; Zhang et al., 2022), mathematical problem solving (Frieder et al., 2023), reasoning (Webb et al., 2023; Hao et al., 2023), knowledge retrieval (Sun et al., 2023; Zhao et al., 2023) etc. This remarkable success triggers a notable shift in the research priorities of the artificial intelligence community. These impressive empirical achievements fuel an expectation that LLMs are “sparks of Artificial General Intelligence (AGI)”. However, some evaluation results have also presented confusing instances of LLM failures, including some in seemingly trivial tasks. For example, GPT-4 is able to solve some mathematical problems in IMO that could be challenging for graduate students, while it could make errors on arithmetic problems at an elementary school level in some cases (Bubeck et al., 2023). This intriguing inconsistency raises doubts on LLMs’ capabilities for general problem solving, an essential feature of AGI, and leads to a fundamental question: _Can LLMs be general learners?_
16
+
17
+ There have been extensive works that attempt to probe the boundary of the LLMs, showing the limitations of LLMs on abstract reasoning (Gendron et al., 2023), counterfactual simulatability (Chen et al., 2023), reverse direction generalization (Berglund et al., 2023), etc. While these empirical results provide evidence that the LLMs may not be general learners, they could not give a clear boundary of the LLM capabilities and thus a definitive answer to the core question. To have a rigorous analysis for the general learner question, an inevitable concern is whether the underlying models of LLMs, i.e., Transformers, have the power to represent general learners in theory. While ideal Transformers are Turing complete (P´erez et al., 2019; 2021) and can thus handle all computable problems, realistic Transformers have much limited capacities. It is unknown whether the realistic Transformers are expressive enough to be general learners (Hahn, 2020; Hao et al., 2022;
18
+
19
+ 1
20
+
21
+ **==> picture [318 x 146] intentionally omitted <==**
22
+
23
+ **----- Start of picture text -----**<br>
24
+ LLM Perspective Circuit Perspective<br>Necessary Condition<br>Capability Level General Learner Universal Circuit<br>Imply<br>NO NO<br>Within<br>Model Level Realistic Transformers Family<br>**----- End of picture text -----**<br>
25
+
26
+ Figure 1: Our paradigm for analyzing whether T-LLMs can be general learners from the universal circuit perspective. In the capacity level, our goal is to analyze whether a model can be a general learner from the perspective of LLMs. A necessary condition is that the model is as powerful as a universal circuit for the set of all polynomial-size circuits. In the model level, we consider the realistic Transformers, which are within **TC**[0] family from the circuit perspective. By circuit complexity theory, no circuits **TC**[0] family can implement universal circuits for all polynomial-size circuits. This implies that no models based on realistic Transformers can be general learners.
27
+
28
+ Merrill et al., 2022; Merrill & Sabharwal, 2023). The key point is to identify a clear boundary of how powerful a model should be as a general learner.
29
+
30
+ This work takes the first step towards rigorously answering the fundamental question by considering a theoretical boundary of model capacity to be general learners. We first build a formal framework of universal circuits, under which we can conduct a rigorous analysis on the limitations of LLM capabilities. A universal circuit takes an encoding that describes a circuit and an input to the circuit, simulating the computation of the encoded circuit on the input. Ideally, an LLM takes a prompt and a task input, predicting the task solution given the input by following the inference steps informed by the prompt. Therefore, both universal circuits and LLMs can be seen as a form of universal computation. Furthermore, we can build correspondences between the concepts of LLMs and universal circuits, e.g., prompt and circuit encoding, task input and circuit input, single inference step and gate, etc. These correspondences allow us to characterize the capabilities of LLMs by the power of their corresponding universal circuits. In this work, we take this approach to investigate whether LLMs are general learners. To clarify further, for an LLM being general learner, an essential capability to understand and execute all the prompts within some tractable complexity. In the language of universal circuits, given any input string and any description of circuits of polynomial size, the universal circuit corresponding to a general learner should be able to simulate the computation of the input circuit given the input string. In other words, if an LLM is a general learner, it is at least as powerful as a universal circuit for the class of polynomial-size circuits. Under this reduction, we derive a necessary condition that LLMs can be general learners: the class of circuits corresponding to LLMs contains a universal circuit for the class of all polynomial-size circuits.
31
+
32
+ We then consider whether LLMs of the current paradigm, i.e., Transformer-based LLMs (T-LLMs) can be general learners. We focus on a realistic setting of T-LLMs, i.e., T-LLMs based on constantdepth-polynomial-size log-precision Transformers (Merrill et al., 2022; Merrill & Sabharwal, 2023). This setting captures the essential restrictions on a T-LLM in practice, i.e., finite precision, limited depth, and limited model size. This setting has been followed by a line of works on theoretical limitations of realistic Transformers to depict which complexity classes they belong to (Hahn, 2020; Hao et al., 2022; Merrill et al., 2022; Merrill & Sabharwal, 2023). We present two impossibility results: a constant-depth-poly( _n_ )-size log-precision T-LLM cannot perform all the basic operators of input length _O_ (poly(log _n_ )) and it cannot faithfully execute prompts of complexity _n_ . The two impossibility results are derived via our reduction from the capabilities of LLMs to the existence of universal circuits. More specifically, we prove the two impossibility results by showing the nonexistence of universal circuits within the realistic T-LLM class for all the Boolean functions of input length _O_ (poly(log _n_ )) and all the circuits of polynomial size, respectively. In plain words, these
33
+
34
+ 2
35
+
36
+ results imply that realistic T-LLMs have an inherent limitation to be general learners. Figure 1 summarizes our paradigm to analyze whether T-LLMs can be general learners from the universal circuit perspective. We also show that the negative results do not contradict the observed empirical success of LLMs. We demonstrate the possibility that LLMs could partially solve complex tasks by memorizing some instances when the tasks could not be solved in general cases.
37
+
38
+ We summarize the contributions of this work from three aspects. First, this work makes an attempt to theoretically consider the fundamental problem, i.e., whether LLMs can be general learners. We derive a negative answer that realistic T-LLMs cannot be general learners. To the best of our knowledge, we are the first to draw the conclusion in a rigorous manner. Second, this work stresses the necessity of developing novel architectures in order to achieve powerful models. This highlights architecture design as an important future direction. Additionally, this work develops a comprehensive framework of universal circuits to model the capabilities of LLMs. Besides the analysis on general learners in this work, this framework could be employed to formally analyze a wide variety of capabilities of LLMs.
39
+
40
+ The remaining sections of the paper are organized as follows. Section 2 first introduces the essential concepts on universal circuits and then describes our framework for analyzing LLM capabilities from the perspective of universal circuits. Section 3 shows that T-LLMs cannot be general mappings and have very limited capabilities to perform basic operators. Section 4 shows that T-LLMs cannot be general learners. The results of Sections 3 and 4 give a negative answer to the fundamental question. Section 5 shows the possibility that T-LLMs can memorize instances. This provides a possible explanation for why T-LLMs that are not general learners can achieve empirical success. Section 6 discusses some related works. Section 7 summarizes the paper, points out the limitations of our results, and highlights some interesting directions for future research.
41
+
42
+ **Notation.** We denote the alphabet by Σ. We assume Σ = _{_ 0 _,_ 1 _}_ throughout the remainder of the paper unless otherwise stated. We denote the set of all circuits having inputs of length _n_ and outputs of length _m_ , of size bounded by _s_ and depth bounded _d_ , and consisting of gates from _F_ by Γ( _n, m, s, d, F_ ). Specially, Γ( _n, m, s, ∞, F_ ) represents all circuits having _n_ inputs and _m_ outputs, of size bounded by _s_ and depth unbounded. We denote the set of all Boolean functions of input length _n_ by _Bn_ , i.e., _Bn_ = _{fn | fn_ : _{_ 0 _,_ 1 _}[n] �→{_ 0 _,_ 1 _}}_ .
43
+
44
+ ## 2 A UNIVERSAL CIRCUIT PERSPECTIVE ON LLMS
45
+
46
+ A general learner has the essential ability to solve _all_ tractable problems, i.e., problems that can be solved efficiently with some proper algorithms. Considering humans as general learners, we anticipate that individuals have the ability to address manageable problems, which could be solved in a reasonable number of steps, by following specific instructions. For LLMs, the essential ability as general learners corresponds to the capability to solve _all_ problems for which there exist prompts leading to efficient inference processes. In order to rigorously examine if LLMs have the essential capability as general learners, we require a sufficiently expressive framework capable of describing the property in formal language. We also want the framework to capture the features of LLMs’ inference processes, providing a proper abstract model for LLMs and building connections between the capabilities of LLMs and the capacities of their underlying models (for the LLMs of the current paradigm, the underlying models are Transformers).
47
+
48
+ To address the requisite for a sufficiently expressive framework that accurately encapsulates the capabilities of LLMs, we turn to the concept of universal circuits. We show in Section 2.1 that universal circuits are sufficiently expressive to cover complexity classes for realistic general learners. We also illustrate in Section 2.2 that universal circuits capture essential features of LLMs’ inference, serving as good alternatives when discussing the capabilities of LLMs as well as connecting the capabilities of LLMs and the capacities of Transformers. To further elaborate, we begin with a concise introduction to universal circuits.
49
+
50
+ ## 2.1 UNIVERSAL CIRCUIT
51
+
52
+ Universal circuits (Valiant, 1976; Cook & Hoover, 1985; Alhassan et al., 2020) are general-purpose circuits that can simulate all circuits in some set. More concretely, a universal circuit takes an input consisting of two parts : one part encodes a target circuit to be simulated and the other is the input
53
+
54
+ 3
55
+
56
+ to the target circuit. The circuit encoding is an input string that describes everything essential of the target circuit following some encoding rules. Informally, we can think that the universal circuit is configured according to the encoding and the configured universal circuit can simulate the target circuit on all inputs. Definition 1 is a formal description of the universal circuit.
57
+
58
+ **Definition 1** (Universal Circuit) **.** _A circuit α_ : Σ _[n] ×_ Σ _[l] �→_ Σ _[m] is called a universal circuit for a set of functions F ⊆{f | f_ : Σ _[n] �→_ Σ _[m] } for all f ∈F if and only if for each f ∈F, there exists a encoding ef such that α_ ( _x, ef_ ) = _f_ ( _x_ ) _for all x ∈_ Σ _[n] ._
59
+
60
+ We emphasize that the universality of a universal circuit always depends on a specific circuit set in our discussion. Previous works on universal circuits typically focus on the universality for very general circuit sets, such as the set of all circuits with input length _n_ and size _s_ and the set of all circuits with input length _n_ , size _s_ , and depth _d_ . However, we can also consider circuits that are universal circuits for restricted circuit sets. An extreme example is that every circuit can be seen as a universal circuit for the set that contains a single circuit, i.e., the circuit itself, with an empty string as the circuit encoding. From this viewpoint, we can shift our focus from assessing the general capabilities of a model to analyzing the extent of generality in the circuit set that the model, when viewed as a universal circuit, can simulate. For instance, consider whether LLMs have the capability to perform both deductive reasoning and inductive reasoning. Suppose that there are two circuits that can perform deductive reasoning and inductive reasoning, respectively. Then we can consider whether the model class includes a model that simulates a universal circuit for a circuit set including the deductive reasoning circuit and the inductive reasoning circuit.
61
+
62
+ One of the most significant findings in the realm of universal circuits is Valiant’s results on the existence of universal circuits: there exists a universal circuit of size _O_ ( _s_ log _s_ ) for all the circuits of input length _n_ and size _s_ ( _s ≥ n_ ), where the gates are AND, OR, and NOT (Valiant, 1976). This result asserts that for any circuit set of polynomial size, a universal circuit of polynomial size can be constructed. Consequently, the class of polynomial circuits containing universal circuits proves to be sufficiently expressive for addressing all tractable problems, encompassing complexity classes relevant to practical tasks.
63
+
64
+ ## 2.2 LLM AS UNIVERSAL CIRCUIT
65
+
66
+ An LLM takes an input, with a prompt (we can view the case without prompts as taking a special “empty” prompt which asks the LLM to solve the problem directly), to output the answer to the target problem based on the input. The prompt, intuitively, serves as a set of instructions, whether explicit or implicit, guiding the LLM in problem-solving, provided in the form of descriptions, code, demonstrations, etc. In an ideal scenario, the LLM faithfully adheres to the instructions within the prompt to solve the problem. This entails the LLM executing a pipeline informed by the prompt in a faithful manner (Lanham et al., 2023; Radhakrishnan et al., 2023). This suggests that an ideal inference process of the LLM aligns with the concept of universal computation, which simulates a set of computational devices when provided with the appropriate instructions or programs.
67
+
68
+ To rigorously formalize the above insight, we propose considering an LLM as a universal circuit for some circuit set _F_ . An LLM can perform some basic operators on small inputs. We denote the set of basic operators by _F_ 0 _⊆_ Σ _[n]_[0] _�→_ Σ _[m]_[0] , where _n_ 0 and _m_ 0 are some constants. The basic operators serve as gates for the circuits in _F_ . A prompt describes a computation process composed of the basic operators (explicitly or implicitly). In the language of universal circuits, the prompt encodes a circuit where the gates are the basic operators. An inference process of faithful prompt following corresponds to a computation process of the universal circuit that simulates a target circuit given the target circuit encoding and a problem input.
69
+
70
+ Under the universal circuit framework, we can formally discuss the problem of whether LLMs are general learners. If an LLM is a general learner, it is essential that it can understand and faithfully follow the prompts of tractable complexity. From the perspective of universal circuits, the model of the general learner is at least a universal circuit for the set of all circuits within a polynomial size. Then we have a necessary condition for LLMs to be general learners.
71
+
72
+ **Proposition 1** (Necessary Condition to Be General Learners) **.** _Suppose that F_ 0 _is a set of basic operators and {_ Γ _n} is a class of LLMs where_ Γ _n is a set of models for inputs of length n. The LLMs of the class are general learners only if for any integer n and polynomials m_ ( _·_ ) _, s_ ( _·_ ) _, there exists a universal circuit αn ∈_ Γ _n for the circuit set_ Γ( _n, m_ ( _n_ ) _, s_ ( _n_ ) _, ∞, F_ 0) _._
73
+
74
+ 4
75
+
76
+ **==> picture [318 x 190] intentionally omitted <==**
77
+
78
+ **----- Start of picture text -----**<br>
79
+ Inference<br>Task Input LLM<br>Attention<br>Prompt<br>Let's plus number by number<br>Computation<br>Circuit Input UC<br>Circuit Encoding<br>**----- End of picture text -----**<br>
80
+
81
+ Figure 2: Correspondences between LLMs and Universal Circuits (UC). A task input in LLM corresponds to a circuit input in the universal circuit. A prompt in LLM corresponds to a circuit encoding in the universal circuit. An inference step in LLM corresponds to a gate in the simulated circuit. An inference process that executes the prompt given the task input in LLM corresponds to a computation process that simulates the computation of the encoded circuit given the circuit input. The inference structure corresponds to the underlying directed acyclic graph of the simulated circuit. Note that all the strings, diagrams, and graphs are only for the purpose of illustrating the concepts and do not reflect the exact models.
82
+
83
+ In the following sections, we focus on whether the current paradigm of LLMs, i.e., T-LLMs can satisfy the necessary condition of general learners. Unfortunately, under a realistic setting of T- LLMs, i.e., T-LLMs with log precision, constant depths, and polynomial sizes, we show T-LLMs do not satisfy this condition and thus cannot be general learners.
84
+
85
+ _Remark_ 1 _._ The universal circuit perspective is not to model the exact underlying computation process of LLMs. It is to offer a proper alternative that captures some significant features of LLMs such that we can analyze the capabilities of the extremely complex systems. In fact, building an abstract model to understand a system and explain related phenomena is a common practice in the research of very complex systems such as consciousness (Baars, 1993; Blum & Blum, 2022) and LLMs (Xie et al., 2021; Han et al., 2023). See Section 6 for a more detailed discussion on these related works.
86
+
87
+ ## 3 LIMITATIONS OF T-LLMS AS GENERAL MAPPINGS
88
+
89
+ We first outline a loose boundary of T-LLMs’ limitations as general mappings. The term “general mapping” of input length _m_ refers to a mapping that simulates all the mappings from Σ _[m]_ to Σ given the corresponding mapping encodings. Our results show that T-LLMs have very limited capabilities as general mappings, not covering those of input length poly (log _n_ ). Since poly (log _n_ ) = _o_ ( _n_ ), this means that T-LLMs could not be general mappings even for input length sublinear in _n_ . Theorem 1 shows that no polynomial-size circuits, even without depth restrictions, can simulate all mappings of polylogarithmic input length.
90
+
91
+ **Theorem 1.** _Suppose that F_ 0 = _B_ 2 _. For any polynomials l_ ( _·_ ) _, s_ 0( _·_ ) _, there exists a polynomial p_ ( _·_ ) _and an integer n such that no circuit in_ Γ( _p_ (log _n_ ) + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0) _is a universal circuit for the circuit set Bp_ (log _n_ ) _._
92
+
93
+ For T-LLMs, we follow the realistic setting in Merrill & Sabharwal (2023). We consider logprecision, constant-depth, and polynomial-size Transformers: for Transformers whose input is of length _n_ , the values at all neurons are represented with _O_ (log _n_ ) bits, the depth is constant, and the number of neurons is _O_ (poly ( _n_ )). This setting captures the design and the hardware restriction of realistic T-LLMs and is common in the literature on the theoretical power of T-LLMs (Hahn, 2020; Hao et al., 2022; Merrill et al., 2022; Merrill & Sabharwal, 2023). Theorem 2 is a result
94
+
95
+ 5
96
+
97
+ from Merrill & Sabharwal (2023) that T-LLMs are within **TC**[0] circuit family, the class of constantdepth, unbounded-fan-in, polynomial-size Boolean circuits with NOT, AND, OR, and threshold gates. Theorem 2 portrays the model capacity of T-LLMs by circuit complexity. This result allows us to analyze whether the model capacity is enough for the model capability from the circuit perspective, facilitating the use of tools from circuit complexity theory. For a comprehensive background on circuit complexity theory, we refer the reader to Arora & Barak (2009) and Vollmer (1999).
98
+
99
+ **Theorem 2** (Merrill & Sabharwal (2023)) **.** _Any log-precision, constant-depth, and polynomial-size Transformer can be simulated by a_ **TC**[0] _circuit family._
100
+
101
+ Since a circuit in **TC**[0] is of polynomial size, we have that the **TC**[0] class cannot implement general mappings of polylogarithmic input length. Combining with Theorem 2 that realistic T-LLMs are within **TC**[0] , we can conclude that realistic T-LLMs are not general mappings of polylogarithmic input length, as stated in Corollary 1.
102
+
103
+ **Corollary 1.** _For any integer d_ 0 _and polynomial s_ 0( _·_ ) _, there exists an integer n and a polynomial p_ ( _·_ ) _such that no log-precision Transformer-based LLM of depth d_ 0 _and size s_ 0( _n_ ) _can perform all mappings of input length p_ (log _n_ ) _._
104
+
105
+ The limitations of T-LLMs as general mappings reflect the limitations of the basic operators that can be performed by T-LLMs. Corollary 1 suggests that no realistic T-LLMs can perform all the basic operators of polylogarithmic input length.
106
+
107
+ _Remark_ 2 _._ In Theorem 1 and other theorems of this paper, we only discuss the case of single output, i.e., _m_ = 1 for a circuit set Γ( _n, m, s, d, F_ ). We can simply generalize to the multiple output case by connecting _m_ circuits in Γ( _n, m, s, d, F_ ) in parallel. This slight simplification does not affect the results we draw on the limitations of LLMs.
108
+
109
+ ## 4 LIMITATIONS OF T-LLMS AS GENERAL LEARNERS
110
+
111
+ We are now ready to discuss the limitations of LLMs as general learners. As discussed in Section 2.2, we can view the inference process of an LLM as the computation of a universal circuit. If the LLM is a general learner, the corresponding universal circuit must be universal enough to simulate all the circuits in a very general circuit set. For realistic problems, we deem the set as one consisting of all polynomial-size circuits. Based on these considerations, we reduce the problem of whether a realistic LLM can be a general learner to the problem of whether the realistic model class is expressive enough to contain such universal circuits. As Proposition 1 summarizes, a necessary condition for a model class to be general learners is that it can implement universal circuits for the circuit sets of polynomial size.
112
+
113
+ Our result on the limitations of T-LLMs as general learners comes from Proposition 1 and Theorem 2. On the one hand, T-LLMs are within the **TC**[0] complexity family; on the other hand, general learners require at least as hard as **P** _/_ poly-complete. In the field of circuit theory, it is known that **TC**[0] is a subset of **P** _/_ poly and commonly believed that **TC**[0] is a strict subset of **P** _/_ poly, though the strictness is still an open problem to be proved. As a derivation, T-LLMs, which are **TC**[0] circuits, cannot be general learners, which are at least **P** _/_ poly-complete.
114
+
115
+ **Theorem 3.** _Assume_ **TC**[0] = **P** _/_ poly _. Suppose that F_ 0 = _B_ 2 _and T denotes the set of threshold gates. There exists a polynomial s such that for any integer d_ 0 _and polynomials l_ ( _·_ ) _, s_ 0( _·_ ) _, there exists an integer n and such that no circuit in_ Γ( _n_ + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, d_ 0 _, F_ 0 _∪T_ ) _is a universal circuit for_ Γ( _n,_ 1 _, s_ ( _n_ ) _, ∞, F_ 0) _._
116
+
117
+ **Corollary 2.** _Assume_ **TC**[0] = **P** _/_ poly _. For any integer d_ 0 _and polynomial s_ 0( _·_ ) _, there exists an integer n such that no log-precision Transformer-based LLM of depth d_ 0 _and size s_ 0( _n_ ) _can faithfully follow all the prompts of complexity n._
118
+
119
+ In the above analysis, we adopt an intuition that prompts describe instructions to guide the inference of LLMs. It seems that our analysis only considers the prompts that provide direct instructions and neglects the important case of in-context learning with few-shot demonstrations. This is not true. Under the universal circuit perspective, the few-shot demonstrations can also be seen as circuit encodings and our analysis applies agnostic to the types of the encodings. In fact, we can further more show that as circuit encodings, the few-shot demonstrations cannot be more efficient than
120
+
121
+ 6
122
+
123
+ standard circuit encodings. While the standard circuit encodings for circuits of size _s_ take _O_ ( _s_ log _s_ ) bits (Cook & Hoover, 1985), a lower bound of encoding by demonstration is Ω( _s_ log _s_ ) bits. We state this lower bound in Theorem 4.
124
+
125
+ **Theorem 4.** _Suppose that F_ 0 = _B_ 2 _. It takes at least_ Ω( _s_ log _s_ ) _bits to encode all the circuits in_ Γ( _n,_ 1 _, s, ∞, F_ 0) _by demonstration._
126
+
127
+ ## 5 INCONSISTENCY: THEORETICAL FAILURE AND EMPIRICAL SUCCESS
128
+
129
+ Our theoretical results indicate that T-LLMs fail to be general learners. However, the T-LLMs achieve great empirical success in various tasks. We provide a possible explanation for this inconsistency: while T-LLMs are not general learners, they can partially solve complex tasks by memorizing a number of instances, leading to an illusion that the T-LLMs have genuine problem-solving ability for these tasks. Theorem 5 shows that a **TC**[0] circuit is able to memorize a polynomial number of instances for any problem.
130
+
131
+ Another evidence for this explanation is that T-LLMs have inconsistent performance on different tasks. One confusing phenomenon is: on the one hand, they may solve complex tasks such as coding and writing, even outperforming human experts in some cases; on the other hand, they can still make mistakes on simple or even seemingly trivial problems such as simple arithmetic and simple symbolic manipulation. The negative aspect can be partially explained by our result that T-LLMs are not general learners: circuits that generally solve these simple tasks are beyond the circuits that can be simulated by the universal circuits of the T-LLMs. For the positive aspect, one possibility of T-LLMs’ success in solving certain complex tasks is that they memorize some instances of problems and answers.
132
+
133
+ **Theorem 5.** _Suppose that F_ 0 _∈ B_ 2 _and T denotes the set of threshold gates. For any integer n, polynomial q_ ( _·_ ) _and In_ : _F �→_ 2[Σ] _[n] such that |In_ ( _f_ ) _| ≤ q_ ( _n_ ) _for all f ∈ Bn and each f ∈ Bn, there exists a circuit γf ∈_ Γ( _n,_ 1 _, s_ 0( _n_ ) _, d_ 0 _, F_ 0 _∪T_ ) _such that γf_ ( _x_ ) = _f_ ( _x_ ) _for all x ∈In_ ( _f_ ) _._
134
+
135
+ ## 6 RELATED WORK
136
+
137
+ **Capabilities of LLMs.** The emergent abilities of LLMs in solving a wide variety of tasks are one of their most impressive features. Extensive works have made attempts to evaluate different aspects of LLMs’ capabilities (Wei et al., 2022; Bubeck et al., 2023; Saparov et al., 2023; Chen et al., 2021; Zhang et al., 2022; Frieder et al., 2023; Webb et al., 2023; Sun et al., 2023; Wang et al., 2023b; Jin et al., 2023) and probe the mechanism behind (Saparov & He, 2022; Wang et al., 2023a; Hao et al., 2023; Tang et al., 2023; Prystawski & Goodman, 2023; Radhakrishnan et al., 2023; Pezeshkpour & Hruschka, 2023), outlining the boundary of the LLMs’ capabilities. These studies provide important insights into what LLMs can or cannot do and why. Motivated by these results, we propose a paradigm to characterize the capabilities in terms of universal circuits. Following the paradigm, we show that the capabilities of realistic T-LLMs are not as strong as general learners.
138
+
139
+ **Computational Models for LLMs.** To investigate and analyze LLMs, there have been attempts to propose computation models for LLMs, as proper alternatives that capture some significant aspects of the extremely complex systems. A line of works explains in-context learning by viewing LLMs as computational models such as implicit Bayesian inference (Xie et al., 2021), internal metaoptimization Von Oswald et al. (2023); Dai et al. (2023), kernel regression Han et al. (2023), etc. Del´etang et al. (2023) take a compression perspective of language models to demonstrate its predictive capabilities. Dziri et al. (2023) considers compositional tasks as computation graphs and multi-step reasoning as linearized subgraph matching, depicting LLMs’ limits on compositionality. Our work abstracts LLMs as universal circuits. Following this abstraction, we reduce the problem of whether LLMs are general reasoners to the problem of whether certain universal circuits can be implemented by the circuit family of the realistic models.
140
+
141
+ **Computational Power of Transformers.** Transformers (Vaswani et al., 2017) are one of the prevailing architectures in machine learning and also the current paradigm of LLMs. Some researchers have adopted perspectives from theoretical computer science to reveal the computational power of Transformers. For ideal Transformers without limitations on precision, depth, and size, they are proved to be Turing complete (P´erez et al., 2019; 2021), i.e., they can solve all computable prob-
142
+
143
+ 7
144
+
145
+ lems in theory. However, when more restrictions under realistic settings are considered, there are striking gaps between the ideal Transformers and Transformers in practice. Hahn (2020); Hao et al. (2022) show that hard attention Transformers are within the complexity class **AC**[0] and cannot recognize non- **AC**[0] formal language. Merrill et al. (2022); Merrill & Sabharwal (2023) prove that log-precision Transformers with constant depths and polynomial sizes belong to the complexity class **TC**[0] . Our work builds a framework that describes a relation between the computational power of Transformers and the capabilities of T-LLMs in the language of universal circuits. Under the framework, we show that T-LLMs are not general learners, as a result of realistic Transformers being within **TC**[0] (Merrill et al., 2022; Merrill & Sabharwal, 2023).
146
+
147
+ Feng et al. (2023) shows that CoT can help T-LLMs to **NC**[1] -complete problems, which is beyond the model capacity under the assumption that **TC**[0] ⊊ **NC**[1] . Although their conclusion appears to be contradictory to our analysis, the two results are actually not in conflict because the settings are different. We first need to distinguish two types of prompt engineering techniques that are both discussed in the literature with the name CoT but of fundamental differences. One type is to describe a step-by-step problem-solving method within one prompt, either directly or via demonstration, to instruct the LLMs to perform step-by-step inference. The other type is to break the solving process of the original problem into subproblems and ask the LLMs to solve one subproblem in each query; the whole solving process of this type involves repeated and recursive queries to the LLMs. We refer to the first type as Type I and the second type as Type II[1] . Our analysis of T-LLMs applies to Type I CoT. The general problem-solving capabilities of T-LLMs are still restricted by the expressive capacity of the realistic Transformers and thus no Type I CoT can generally solve problems beyond **TC**[0] . Other works such as (Feng et al., 2023) show that T-LLMs with Type II CoT can break the model capacity limitations and solve some problems beyond **TC**[0] by repeatedly utilizing T-LLMs for each step. The combination of results from both aspects suggests a trade-off to be considered in the prompt design: the complexity of subproblem decomposition (by human intelligence) and the complexity of subproblems (by LLMs).
148
+
149
+ ## 7 CONCLUSION AND DISCUSSION
150
+
151
+ ## 7.1 CONCLUSION
152
+
153
+ In this work, we analyze the capabilities of T-LLMs on general problem solving from the perspective of universal circuits. Under the framework, we derive a necessary condition for LLMs being general learners is that the expressive power of realistic T-LLM model class can cover universal circuits for all circuits of polynomial size, which is at least as hard as **P** _/_ poly-complete. With this reduction, the result that realistic T-LLMs are within **TC**[0] , and the assumption that **TC**[0] = **P** _/_ poly, we conclude that T-LLMs are not general learners.
154
+
155
+ ## 7.2 LIMITATIONS
156
+
157
+ Our universal circuit framework is based on the ideal setting that prompts provide “programs” and LLMs follow the prompts faithful to solve tasks. There are deviations that LLMs may solve problems with inaccurate prompts. Our framework does not cover the explanations for these cases.
158
+
159
+ Our work only considers T-LLMs from the perspective of their representation power, which is insufficient to capture everything of T-LLMs’ limitations. Besides the representation power, there are many other important aspects to be considered to have a more precise characterization of T-LLMs’ limitations, e.g., data, learning, optimization, randomness, etc. These aspects are not included in the framework of this work.
160
+
161
+ From the viewpoint of circuit complexity theory, it is a relatively “loose” upper bound that T-LLMs are not general learners. This upper bound roots from the assumption that **TC**[0] ⊊ **P** _/_ poly. A common belief in circuit complexity theory, which has not been strictly proved though, is that there are still many complexity classes between **TC**[0] and **P** _/_ poly. Our result does not exploit this hierarchy and thus only serves as a rather “loose” upper bound.
162
+
163
+ > 1Some researchers (Radhakrishnan et al., 2023) also refer Type II CoT as Question Decomposition (QS) to distinguish and emphasis the difference.
164
+
165
+ 8
166
+
167
+ ## 7.3 FUTURE DIRECTIONS
168
+
169
+ **Innovative architecture designs beyond Transformers.** Our work shows that T-LLMs cannot be general learners because of the inherent limitations on the power of realistic Transformers. To develop general learners with foundation models, we require innovative architectures that have more representation capacities. Designing such architectures beyond the current paradigms of Transformers is an important direction for future research.
170
+
171
+ **Finer-grained analysis on LLM capabilities from the universal circuit perspective.** The proposed universal circuit framework enables a systematic analysis of various LLMs. It captures the core elements of LLMs’ inference processes through the lens of universal computation. To assess whether T-LLMs are general learners, we employ a three-step paradigm: 1) Identify the circuit sets to be simulated by universal circuits for targeted LLM capabilities; 2) Determine the models’ complexity class; 3) Check whether the universal circuits are implementable by the models’ complexity class. The paradigm reduces the analysis on LLM capabilities to the analysis on the existence of universal circuits, allowing us to borrow the tools from circuit complexity theory. This versatile framework lays the groundwork for future studies. We plan to extend our analysis to further explore T-LLMs’ capabilities and to investigate LLMs with different architectures, thereby refining the relationship between model capabilities and architectures.
172
+
173
+ **Principles for prompt engineering.** Our analysis shows that for a single query to an LLM, the LLM capabilities are always limited by the underlying model regardless of prompts. A promising future direction is to develop principles for prompt engineering to compose multi-queries such as Type II CoT (Radhakrishnan et al., 2023; Feng et al., 2023). By properly composing multi-queries, we may expect the system to break the limitations due to the model capacity, striking a balance between the complexity of multi-query composition and the complexity of a single query. Developing theories and algorithms for such prompt engineering techniques can help people to better utilize the LLMs.
174
+
175
+ ## REFERENCES
176
+
177
+ - Masaud Y Alhassan, Daniel G¨unther, Agnes[´] Kiss, and Thomas Schneider. Efficient and scalable universal circuits. _Journal of Cryptology_ , 33(3):1216–1271, 2020.
178
+
179
+ - Sanjeev Arora and Boaz Barak. _Computational Complexity: A Modern Approach_ . Cambridge University Press, 2009.
180
+
181
+ Bernard J Baars. _A cognitive theory of consciousness_ . Cambridge University Press, 1993.
182
+
183
+ - Lukas Berglund, Meg Tong, Max Kaufmann, Mikita Balesni, Asa Cooper Stickland, Tomasz Korbak, and Owain Evans. The reversal curse: Llms trained on” a is b” fail to learn” b is a”. _arXiv preprint arXiv:2309.12288_ , 2023.
184
+
185
+ - Lenore Blum and Manuel Blum. A theory of consciousness from a theoretical computer science perspective: Insights from the conscious turing machine. _Proceedings of the National Academy of Sciences_ , 119(21):e2115934119, 2022.
186
+
187
+ - S´ebastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. Sparks of artificial general intelligence: Early experiments with GPT-4. _arXiv preprint arXiv:2303.12712_ , 2023.
188
+
189
+ - Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. _arXiv preprint arXiv:2107.03374_ , 2021.
190
+
191
+ - Yanda Chen, Ruiqi Zhong, Narutatsu Ri, Chen Zhao, He He, Jacob Steinhardt, Zhou Yu, and Kathleen McKeown. Do models explain themselves? counterfactual simulatability of natural language explanations. _arXiv preprint arXiv:2307.08678_ , 2023.
192
+
193
+ - Stephen A Cook and H James Hoover. A depth-universal circuit. _SIAM Journal on Computing_ , 14 (4):833–839, 1985.
194
+
195
+ 9
196
+
197
+ - Damai Dai, Yutao Sun, Li Dong, Yaru Hao, Shuming Ma, Zhifang Sui, and Furu Wei. Why can GPT learn in-context? language models implicitly perform gradient descent as meta-optimizers. In _ICLR 2023 Workshop on Mathematical and Empirical Understanding of Foundation Models_ , 2023.
198
+
199
+ - Gr´egoire Del´etang, Anian Ruoss, Paul-Ambroise Duquenne, Elliot Catt, Tim Genewein, Christopher Mattern, Jordi Grau-Moya, Li Kevin Wenliang, Matthew Aitchison, Laurent Orseau, Marcus Hutter, and Joel Veness. Language modeling is compression, 2023.
200
+
201
+ - Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jian, Bill Yuchen Lin, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D Hwang, et al. Faith and fate: Limits of transformers on compositionality. _arXiv preprint arXiv:2305.18654_ , 2023.
202
+
203
+ - Guhao Feng, Yuntian Gu, Bohang Zhang, Haotian Ye, Di He, and Liwei Wang. Towards revealing the mystery behind chain of thought: a theoretical perspective. _arXiv preprint arXiv:2305.15408_ , 2023.
204
+
205
+ - Simon Frieder, Luca Pinchetti, Ryan-Rhys Griffiths, Tommaso Salvatori, Thomas Lukasiewicz, Philipp Christian Petersen, Alexis Chevalier, and Julius Berner. Mathematical capabilities of ChatGPT. _arXiv preprint arXiv:2301.13867_ , 2023.
206
+
207
+ - Ga¨el Gendron, Qiming Bao, Michael Witbrock, and Gillian Dobbie. Large language models are not abstract reasoners. _arXiv preprint arXiv:2305.19555_ , 2023.
208
+
209
+ - Michael Hahn. Theoretical limitations of self-attention in neural sequence models. _Transactions of the Association for Computational Linguistics_ , 8:156–171, 2020.
210
+
211
+ - Chi Han, Ziqi Wang, Han Zhao, and Heng Ji. In-context learning of large language models explained as kernel regression. _arXiv preprint arXiv:2305.12766_ , 2023.
212
+
213
+ - Shibo Hao, Yi Gu, Haodi Ma, Joshua Jiahua Hong, Zhen Wang, Daisy Zhe Wang, and Zhiting Hu. Reasoning with language model is planning with world model. _arXiv preprint arXiv:2305.14992_ , 2023.
214
+
215
+ - Yiding Hao, Dana Angluin, and Robert Frank. Formal language recognition by hard attention transformers: Perspectives from circuit complexity. _Transactions of the Association for Computational Linguistics_ , 10:800–810, 2022.
216
+
217
+ - Zhijing Jin, Jiarui Liu, Zhiheng Lyu, Spencer Poff, Mrinmaya Sachan, Rada Mihalcea, Mona Diab, and Bernhard Sch¨olkopf. Can large language models infer causation from correlation? _arXiv preprint arXiv:2306.05836_ , 2023.
218
+
219
+ - Tamera Lanham, Anna Chen, Ansh Radhakrishnan, Benoit Steiner, Carson Denison, Danny Hernandez, Dustin Li, Esin Durmus, Evan Hubinger, Jackson Kernion, et al. Measuring faithfulness in chain-of-thought reasoning. _arXiv preprint arXiv:2307.13702_ , 2023.
220
+
221
+ O. B. Lupanov. On a method of circuit synthesis (in Russian). _Izvestia VUZ Radiofizika_ , 1958.
222
+
223
+ William Merrill and Ashish Sabharwal. The parallelism tradeoff: Limitations of log-precision transformers. _Transactions of the Association for Computational Linguistics_ , 11:531–545, 2023.
224
+
225
+ - William Merrill, Ashish Sabharwal, and Noah A Smith. Saturated transformers are constant-depth threshold circuits. _Transactions of the Association for Computational Linguistics_ , 10:843–856, 2022.
226
+
227
+ OpenAI. ChatGPT. [URL removed] 2023a.
228
+
229
+ OpenAI. GPT-4 technical report. _arXiv preprint arXiv:2303.08774_ , 2023b.
230
+
231
+ Jorge P´erez, Javier Marinkovi´c, and Pablo Barcel´o. On the turing completeness of modern neural network architectures. In _International Conference on Learning Representations_ , 2019.
232
+
233
+ - Jorge P´erez, Pablo Barcel´o, and Javier Marinkovic. Attention is turing complete. _The Journal of Machine Learning Research_ , 22(1):3463–3497, 2021.
234
+
235
+ 10
236
+
237
+ Pouya Pezeshkpour and Estevam Hruschka. Large language models sensitivity to the order of options in multiple-choice questions. _arXiv preprint arXiv:2308.11483_ , 2023.
238
+
239
+ - Ben Prystawski and Noah D Goodman. Why think step-by-step? Reasoning emerges from the locality of experience. _arXiv preprint arXiv:2304.03843_ , 2023.
240
+
241
+ - Ansh Radhakrishnan, Karina Nguyen, Anna Chen, Carol Chen, Carson Denison, Danny Hernandez, Esin Durmus, Evan Hubinger, Jackson Kernion, Kamil˙e Lukoˇsi¯ut˙e, et al. Question decomposition improves the faithfulness of model-generated reasoning. _arXiv preprint arXiv:2307.11768_ , 2023.
242
+
243
+ - Abulhair Saparov and He He. Language models are greedy reasoners: A systematic formal analysis of chain-of-thought. _arXiv preprint arXiv:2210.01240_ , 2022.
244
+
245
+ - Abulhair Saparov, Richard Yuanzhe Pang, Vishakh Padmakumar, Nitish Joshi, Seyed Mehran Kazemi, Najoung Kim, and He He. Testing the general deductive reasoning capacity of large language models using ood examples. _arXiv preprint arXiv:2305.15269_ , 2023.
246
+
247
+ - Jayalal Sarma. Size and depth complexity of boolean circuits, 2012. URL https: //deeplearning.cs.cmu.edu/S22/document/readings/booleancircuits_ shannonproof.pdf. Advanced Complexity Theory.
248
+
249
+ - Claude E Shannon. The synthesis of two-terminal switching circuits. _The Bell System Technical Journal_ , 28(1):59–98, 1949.
250
+
251
+ - Weiwei Sun, Lingyong Yan, Xinyu Ma, Pengjie Ren, Dawei Yin, and Zhaochun Ren. Is ChatGPT good at search? investigating large language models as re-ranking agent. _arXiv preprint arXiv:2304.09542_ , 2023.
252
+
253
+ - Xiaojuan Tang, Zilong Zheng, Jiaqi Li, Fanxu Meng, Song-Chun Zhu, Yitao Liang, and Muhan Zhang. Large language models are in-context semantic reasoners rather than symbolic reasoners. _arXiv preprint arXiv:2305.14825_ , 2023.
254
+
255
+ - Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. _arXiv preprint arXiv:2307.09288_ , 2023.
256
+
257
+ - Leslie G Valiant. Universal circuits (preliminary report). In _Proceedings of the Eighth Annual ACM Symposium on Theory of Computing_ , pp. 196–203, 1976.
258
+
259
+ - Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. _Advances in neural information processing systems_ , 30, 2017.
260
+
261
+ - Heribert Vollmer. _Introduction to circuit complexity: a uniform approach_ . Springer Science & Business Media, 1999.
262
+
263
+ - Johannes Von Oswald, Eyvind Niklasson, Ettore Randazzo, Jo˜ao Sacramento, Alexander Mordvintsev, Andrey Zhmoginov, and Max Vladymyrov. Transformers learn in-context by gradient descent. In _International Conference on Machine Learning_ , pp. 35151–35174. PMLR, 2023.
264
+
265
+ - Boshi Wang, Sewon Min, Xiang Deng, Jiaming Shen, You Wu, Luke Zettlemoyer, and Huan Sun. Towards understanding chain-of-thought prompting: An empirical study of what matters. In _ICLR 2023 Workshop on Mathematical and Empirical Understanding of Foundation Models_ , 2023a.
266
+
267
+ - Heng Wang, Shangbin Feng, Tianxing He, Zhaoxuan Tan, Xiaochuang Han, and Yulia Tsvetkov. Can language models solve graph problems in natural language? _arXiv preprint arXiv:2305.10037_ , 2023b.
268
+
269
+ - Taylor Webb, Keith J Holyoak, and Hongjing Lu. Emergent analogical reasoning in large language models. _Nature Human Behaviour_ , pp. 1–16, 2023.
270
+
271
+ - Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. _Advances in Neural Information Processing Systems_ , 35:24824–24837, 2022.
272
+
273
+ 11
274
+
275
+ Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. An explanation of in-context learning as implicit bayesian inference. In _International Conference on Learning Representations_ , 2021.
276
+
277
+ Shun Zhang, Zhenfang Chen, Yikang Shen, Mingyu Ding, Joshua B Tenenbaum, and Chuang Gan. Planning with large language models for code generation. In _The Eleventh International Conference on Learning Representations_ , 2022.
278
+
279
+ Zirui Zhao, Wee Sun Lee, and David Hsu. Large language models as commonsense knowledge for large-scale task planning. In _RSS 2023 Workshop on Learning for Task and Motion Planning_ , 2023.
280
+
281
+ ## A PROOFS
282
+
283
+ ## A.1 PROOF OF THEOREM 1
284
+
285
+ _Proof._ Theorem 1 is a variant of the classic Shannon’s lower bound (Shannon, 1949) on the size of “most” circuits to compute Boolean functions. We adopt a similar counting argument to show no circuit in Γ( _p_ (log _n_ ) + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0) is a universal circuit for _Bp_ (log _n_ ).
286
+
287
+ Assume that for any polynomial _p_ ( _·_ ) and integer _n_ , there exists a circuit _α ∈_ Γ( _p_ (log _n_ ) + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0) that is a universal circuit for _Bp_ (log _n_ ), where _l_ ( _·_ ) and _s_ 0( _·_ ) are some polynomials. For each circuit encoding _ef ∈_ Σ _[l]_[(] _[n]_[)] , _α_ ( _·, ef_ ) corresponds to a circuit in Γ( _p_ (log _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0). Under the assumption that _α_ is a universal circuit for _Bp_ (log _n_ ), there are at least �� _Bp_ (log _n_ )�� different circuits in Γ( _p_ (log _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0). Denote _N_ ( _m, s_ ) be the number of different circuits in Γ( _m,_ 1 _, s, ∞, F_ 0). We have
288
+
289
+ **==> picture [304 x 24] intentionally omitted <==**
290
+
291
+ where the inequality ( _a_ ) is obtained by counting different circuits in Γ( _m,_ 1 _, s, ∞, F_ 0) and the inequality ( _b_ ) comes from the inequality _s_ ! _≥ e_ � _es_ � _s_ derived from Stirling’s formula.
292
+
293
+ Taking the logarithm of both sides, we have
294
+
295
+ **==> picture [240 x 36] intentionally omitted <==**
296
+
297
+ Noting that _|Bm|_ = 2[2] _[m]_ and plugging _m_ = _p_ (log _n_ ) and _s_ = _s_ 0( _n_ ), we have
298
+
299
+ **==> picture [345 x 33] intentionally omitted <==**
300
+
301
+ For _p_ ( _x_ ) = _x_[2] and _n →∞_ , we have[lo][g] _[ N]_ log[(] _[p] |_[(] _B_[lo] _p_[g] (log _[ n]_[)] _n[,][s]_ )[0] _|_[(] _[n]_[))] _→_ 0, This result implies that _α ∈_ Γ( _p_ (log _n_ ) + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0) cannot be a universal circuit for _Bp_ (log _n_ ) for sufficiently large _n_ , contradicting the assumption. Therefore, no circuit in Γ( _p_ (log _n_ ) + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, ∞, F_ 0) is a universal circuit for _Bp_ (log _n_ ).
302
+
303
+ ## A.2 PROOF OF THEOREM 3
304
+
305
+ _Proof._ We prove Theorem 3 by contradiction. Assume that for any polynomial _s_ , there exist an integer _d_ 0 and polynomials _l_ ( _·_ ) _, s_ 0( _·_ ) such that a circuit _α ∈_ Γ( _n_ + _l_ ( _n_ ) _,_ 1 _, s_ 0( _n_ ) _, d_ 0 _, F_ 0 _∪T_ ) is a universal circuit for Γ( _n,_ 1 _, s_ ( _n_ ) _, ∞, F_ 0).
306
+
307
+ According to the assumption, for each _γ ∈_ Γ( _n,_ 1 _, s_ ( _n_ ) _, ∞, F_ 0), there exists a circuit encoding _ef ∈_ Σ _[l]_[(] _[n]_[)] such that _α_ ( _x, ef_ ) = _γ_ ( _x_ ) for all _x ∈_ Σ _[n]_ . For each circuit encoding _ef ∈_ Σ _[l]_[(] _[n]_[)] , _α_ ( _x, ·_ ) implements a circuit in Γ( _n,_ 1 _, s_ 0( _n_ ) _, d_ 0 _, F_ 0 _∪T_ ). Therefore, for any polynomial _s_ , there exist an integer _d_ 0 and a polynomial _s_ 0( _·_ ) such that any circuit in Γ( _n,_ 1 _, s_ ( _n_ ) _, ∞, F_ 0) can be simulated by a circuit in Γ( _n,_ 1 _, s_ 0( _n_ ) _, d_ 0 _, F_ 0 _∪T_ ).
308
+
309
+ 12
310
+
311
+ Under the assumption that **TC**[0] = **P** _/_ poly, there exist circuits _{γn}_ , _γn ∈_ Γ( _n,_ 1 _, s_ ( _n_ ) _, ∞, F_ 0) for some polynomial _s_ ( _·_ ) such that for any polynomial _s_ 0( _·_ ), no circuits _{γn[′][}]_[,] _[γ] n[′] ∈_ Γ( _n,_ 1 _, s_ 0( _n_ ) _, d_ 0 _, F_ 0 _∪T_ ) can simulate _{γn}_ , i.e., _γn[′]_[(] _[x]_[)][=] _[γ][n]_[(] _[x]_[)][for][all] _[x][∈]_[Σ] _[n]_[,] _[n]_[=][1] _[,]_[ 2] _[, . . .]_[ .] This contradicts the previous inference drawn from the existence of the universal circuit.
312
+
313
+ ## A.3 PROOF OF THEOREM 4
314
+
315
+ _Proof._ We begin the proof by a lemma on the number of different functions that the set of all the _n_ -input- _s_ -size circuits can represent.
316
+
317
+ **Lemma 1.** Γ( _n,_ 1 _, s, ∞, B_ 2) _can be divided into at least_ Ω( _s[s]_ ) _equivalent classes._
318
+
319
+ _Proof of Lemma 1._ We derive the lemma from Lupanov’s upper bound on the circuit size to compute all Boolean functions of _n_ input. We follow the description of the theorem in Sarma (2012).
320
+
321
+ **Theorem 6** (Lupanov’s Upper Bound (Lupanov, 1958)) **.** _A function on input defined on the complete basis_ Ω= _{¬, ∨, ∧} of two input gates can be computed by a circuit of size_ (1 + _o_ (1))[2] _n[n][.]_
322
+
323
+ According to Theorem 6, there exists a constant _c_ such that for all integer _n_ , any Boolean functions of _n_ input can be computed by a circuit in Γ � _n,_ 1 _, c_[2] _n[n][,][ ∞][, B]_[2] �. This implies that for _n_ 0 _≤ n_ , any Boolean functions of _n_ 0 input can be computed by a circuit in Γ( _n,_ 1 _, s, ∞, B_ 2) (for _n > n_ 0, consider the first _n_ 0 input bits). Since different Boolean functions correspond to different equivalent classes, there are at least _|Bn_ 0 _|_ = 2[2] _[n]_[0] equivalent classes in Γ( _n,_ 1 _, s, ∞, B_ 2).
324
+
325
+ Let _n[∗]_ 0[be the maximal] _[ n]_[0][such that all the functions in] _[ B][n]_ 0[can be computed by][ Γ(] _[n,]_[ 1] _[, s,][ ∞][, B]_[2][)][.] Then we have
326
+
327
+ **==> picture [223 x 26] intentionally omitted <==**
328
+
329
+ Otherwise, we have
330
+
331
+ **==> picture [96 x 27] intentionally omitted <==**
332
+
333
+ **==> picture [396 x 52] intentionally omitted <==**
334
+
335
+ We are now ready to prove Theorem 4. Let _M_ ( _n, k_ ) be the number of equivalent classes that can be distinguished by _k n_ -input instances. We have
336
+
337
+ **==> picture [86 x 25] intentionally omitted <==**
338
+
339
+ By Lemma 1, there are at least _O_ (2 _[s]_ ) equivalent classes. Hence, to encode all the circuit in Γ( _n,_ 1 _, s, ∞, F_ 0) with demonstration of _k n_ -input instances, we need at least distinguish Ω( _s[s]_ ), i.e.,
340
+
341
+ **==> picture [231 x 11] intentionally omitted <==**
342
+
343
+ for some constant _c_ . As a result, we require
344
+
345
+ **==> picture [66 x 25] intentionally omitted <==**
346
+
347
+ Plugging � _ab_ � _≤_ � _eab_ � _b_ with _a_ = 2 _n_ and _b_ = _k_ and taking the logarithm of both sides, we have
348
+
349
+ **==> picture [158 x 21] intentionally omitted <==**
350
+
351
+ 13
352
+
353
+ With _k[e][≤]_[4][, we can further simplify the inequality and obtain]
354
+
355
+ **==> picture [82 x 23] intentionally omitted <==**
356
+
357
+ Since each instance takes _n_ + 1 bits, it requires at least
358
+
359
+ ( _n_ + 1) _k ≥_ ( _n_ + 1) _[s]_[ lo][g] _[ s]_[ + lo][g] _[ c] n_ + 2 + log 2[= Ω(] _[s]_[ log] _[ s]_[)]
360
+
361
+ ## A.4 PROOF OF THEOREM 5
362
+
363
+ _Proof._ For each _n_ and _f ∈ Bn_ we construct a circuit _γf_ of depth 3 and size ( _n_ + 1) _q_ ( _n_ ) + 1 such that _γf_ ( _x_ ) = _f_ ( _x_ ) for all _x ∈In_ ( _f_ ).
364
+
365
+ We first construct a function _mx_ 0( _·_ ) by a circuit of depth 2 and size _n_ + 1 such that _mx_ 0( _x_ ) = 1 if and only if _x_ = _x_ 0.
366
+
367
+ **Lemma 2.** _For each x_ 0 _∈_ Σ _[n] , there exists a circuit of depth_ 2 _and size n_ + 1 _such that simulates the function mx_ 0( _·_ ) _._
368
+
369
+ _Proof of Lemma 2._ Suppose that _x_ 0 = _x_[(1)] 0 _[x]_[(2)] 0 _· · · x_[(] 0 _[n]_[)] where _x_[(] 0 _[i]_[)] _∈_ Σ for _i_ = 1 _,_ 2 _, . . . , n_ . We construct a desired circuit as follows (see Figure 3a):
370
+
371
+ - There are _n_ gates _g_ 1 _, g_ 2 _, . . . , gn_ such that _gi_ is IDENTITY if _x_[(] 0 _[i]_[)]
372
+
373
+ - 0 = 1 and is NOT otherwise.
374
+
375
+ - There are links from _x_[(] _[i]_[)]
376
+
377
+ - 0 to _gi_ for all _i_ = 1 _,_ 2 _, . . . , n_ .
378
+
379
+ - There is a threshold gate _Tn_ taking _n_ inputs such that _Tn_ outputs 1 if the sum of the inputs is greater or equal to _n_ and outputs 0 otherwise.
380
+
381
+ - There are links from _gi_ to _Tn_ for all _i_ = 1 _,_ 2 _, . . . , n_ .
382
+
383
+ - _Tn_ is the output gate.
384
+
385
+ By the construction, _Tn_ ( _x_ ) outputs 1 if and only if all the bits of _x_ are the same as _x_ 0, i.e., _x_ = _x_ 0.
386
+
387
+ We then construct a circuit _γf_ such that _γf_ ( _x_ ) = _f_ ( _x_ ) for all _x ∈In_ ( _f_ ). Without loss of generality, suppose that _In_ ( _f,_ 1) = _{x ∈In_ ( _f_ ) _| f_ ( _x_ ) = 1 _}_ = _{x_ 1 _, x_ 2 _, . . . , xk}_ and _k ≥_ 1 (if _m_ = 0, we can trivially construct _γf_ that always output 0). The circuit _γ_ is constructed as follows (see Figure 3b):
388
+
389
+ - There are _k_ blocks _mx_ 1 _, mx_ 2 _, . . . , mxk_ .
390
+
391
+ - There are links from the input _x_ to _mxi_ for all _i_ = 1 _,_ 2 _, . . . , k_ .
392
+
393
+ - There is a threshold gate _T_ 1 taking _n_ inputs such that _T_ 1 outputs 1 if the sum of the inputs is greater or equal to 1 and outputs 0 otherwise.
394
+
395
+ - There are links from _mxi_ to _Tn_ for all _i_ = 1 _,_ 2 _, . . . , n_ .
396
+
397
+ - _T_ 1 is the output gate.
398
+
399
+ By the construction, _γf_ outputs 1 if and only if the input equals some _xi ∈In_ ( _f,_ 1), which implies that _γf_ ( _x_ ) = _f_ ( _x_ ) for all _x ∈In_ ( _f_ ). Since each block _mxi_ contains _n_ + 1 gates and is of depth 2 and there are at most _q_ ( _n_ ) such blocks, the circuit _γf_ is of depth 3 and size ( _n_ + 1) _q_ ( _n_ ) + 1.
400
+
401
+ 14
402
+
403
+ **==> picture [144 x 141] intentionally omitted <==**
404
+
405
+ **==> picture [144 x 144] intentionally omitted <==**
406
+
407
+ **==> picture [229 x 9] intentionally omitted <==**
408
+
409
+ **----- Start of picture text -----**<br>
410
+ (a) (b)<br>**----- End of picture text -----**<br>
411
+
412
+ Figure 3: (a) Illustration of the circuit that simulates _mx_ 0. (b) Illustration of the circuit that outputs 1 on _{x_ 1 _, x_ 2 _. . . , xk}_ and 0 otherwise.
413
+
414
+ 15
415
+
open_review/iclr2024_8845.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8845",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Extending Power of Nature from Binary to Real-Valued Graph Learning in Real World",
6
+ "abstract": "Nature performs complex computations constantly at clearly lower cost and higher performance than digital computers. It is crucial to understand how to harness the unique computational power of nature in Machine Learning (ML). In the past decade, besides the development of Neural Networks (NNs), the community has also relentlessly explored nature-powered ML paradigms. Although most of them are still predominantly theoretical, a new practical paradigm enabled by the recent advent of CMOS-compatible room-temperature nature-based computers has emerged. By harnessing a dynamical system's intrinsic behavior of chasing the lowest energy state, this paradigm can solve some simple binary problems delivering considerable speedup and energy savings compared with NNs, while maintaining comparable accuracy. Regrettably, its values to the real world are highly constrained by its binary nature. A clear pathway to its extension to real-valued problems remains elusive. This paper aims to unleash this pathway by proposing a novel end-to-end Nature-Powered Graph Learning (NP-GL) framework. Specifically, through a three-dimensional co-design, NP-GL can leverage the spontaneous energy decrease in nature to efficiently solve real-valued graph learning problems. Experimental results across 4 real-world applications with 6 datasets demonstrate that NP-GL delivers, on average, $6.97\\times 10^3$ speedup and $10^5$ energy consumption reduction with comparable or even higher accuracy than Graph Neural Networks (GNNs).",
7
+ "rebuttal": "As the end of the discussion session approaches, we would like to express our sincere gratitude for all the constructive and insightful reviews and suggestions. Any further comments on our responses and revisions are very much welcomed! We also thank you in advance for your continued efforts in the rest of the review process. If you are celebrating it, we wish you a happy Thanksgiving!\n\nAs the end of the discussion session approaches, we would like to take the last chance to sincerely thank you for all the constructive and insightful reviews and suggestions. Any comments on our responses and revision are very much appreciated! Also, thank you in advance for your continued efforts in the rest of the review process. And if you are celebrating it, Happy Thanksgiving!\n\nThank you again for the constructive suggestion! We have revised the description and lowered the tone in the newly uploaded revision for your review (shaded in orange). Your time is very appreciated, and any further comments are very much welcomed. Also, we thank you in advance for your continued efforts in the rest of the review process. If you are celebrating it, we wish you a wonderful Thanksgiving!\n\nThank you so much for your time and encouragement! Also much appreciated for the insightful comments and suggestions to help improve the quality of this paper. We will very carefully work on the descriptions and lower the tone.\n\nWe sincerely thank the reviewer for their valuable comments and questions. We also provide a \"general comment\" for all reviewers at the top as a global rebuttal other than the specific answers below.\n\n**Comment 1**. Over-exaggerated descriptions.\\\n**Response:**\n\nWe sincerely thank the reviewer for this comment. We have revised the sentence pointed out by the reviewer and will comprehensively revise the paper and adjust the tone. Again, we thank the reviewer for pointing out this.\n\n**Comment 2 & Question 1**. More recent baseline.\\\n**Response:**\n\nThe reviewer's suggestion is very much appreciat [...]\n\nWe sincerely thank the reviewer for their insightful questions. Apart from the specific answers to the questions listed below, we also include a \"general comment\" attached at the top as a global rebuttal.\n\n**Comment 1 & Question 1**. Limitations and more insights of implementation, challenges, and potential optimizations.\\\n**Response:**\n\n1. **Area:** Although it is much smaller than many other types of nature-based computer, e.g. oscillator-based Ising machines, the major limitation of the proposed method is still the area of machine. The chip is around 5mm^2, much smaller than GPUs and CPUs. [...]\n\nWe sincerely thank the reviewer for their valuable insights and comments. Our answers to the specific questions are listed below, and a \"general comment\" is also provided for all reviewers to better express our ideas (attached at the top as a global rebuttal)\n\n**Comment 1 & 2**. More discussion of prior work.\\\n**Response:** \n\nThank you sincerely for pointing this weakness out. We have drafted a new related work section in the paper (section 2). Please see the highlighted text with label \"Reviewer-UYh4\". In addition, we provide more information below about the development stage of using Ising m [...]\n\n### General Comments\n**Summary:** NP-GL proposes a new physics-rooted graph learning method that effectively transfers real-world graph learning problems into the natural process of physical dynamic systems composed of CMOS components. With this transfer, the intrinsic computational power rooted in nature within the dynamic systems (automatically evolving towards and chasing the more stable states with lower energy driven by law of entropy increase) is enabled in advancing graph learning. Results demonstrate that such nature-powered learning method can outperform GNNs in various important real [...]",
8
+ "initial_scores": [
9
+ 5,
10
+ 6,
11
+ 6
12
+ ],
13
+ "score_mean": 5.67,
14
+ "score_variance": 0.33,
15
+ "score_spread": 1,
16
+ "score_min": 5,
17
+ "score_max": 6,
18
+ "decision": "Accept (poster)",
19
+ "rebuttal_validity_ground_truth": null,
20
+ "meta_review": "The paper introduces a novel Nature-Powered Graph Learning (NP-GL) framework, extending nature-powered computation from binary-valued problems to real-valued problems. The paper designed a hardware-friendly Hamiltonian and a new nature-based computer. The proposed method is shown to exhibit significant speedup and energy savings over graph neural nets on a few datasets. The authors also discussed the potential of the proposed method on applications beyond GNN, such as data compression and 3D synthesis. The reviewers are mostly supportive of this paper. I recommend acceptance.",
21
+ "forum_id": "qT7DXUmX7j",
22
+ "primary_area": "learning on graphs and other geometries & topologies",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_UYh4",
27
+ "review_id": "Veu3d9hK4x",
28
+ "scores": {
29
+ "rating": 5,
30
+ "soundness": 3,
31
+ "presentation": 2,
32
+ "contribution": 3,
33
+ "confidence": 4
34
+ },
35
+ "review_text_chars": 1312,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 808649,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_w2U6",
43
+ "review_id": "fzKDHMqC7L",
44
+ "scores": {
45
+ "rating": 6,
46
+ "soundness": 3,
47
+ "presentation": 3,
48
+ "contribution": 3,
49
+ "confidence": 3
50
+ },
51
+ "review_text_chars": 5104,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 814169,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_qast",
59
+ "review_id": "zp22oxj2lx",
60
+ "scores": {
61
+ "rating": 6,
62
+ "soundness": 3,
63
+ "presentation": 3,
64
+ "contribution": 3,
65
+ "confidence": 4
66
+ },
67
+ "review_text_chars": 1650,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 1943431,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8845.md ADDED
@@ -0,0 +1,364 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## EXTENDING POWER OF NATURE FROM BINARY TO REAL-VALUED GRAPH LEARNING IN REAL WORLD
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Nature performs complex computations constantly at clearly lower cost and higher performance than digital computers. It is crucial to understand how to harness the unique computational power of nature in Machine Learning (ML). In the past decade, besides the development of Neural Networks (NNs), the community has also relentlessly explored nature-powered ML paradigms. Although most of them are still predominantly theoretical, a new practical paradigm enabled by the recent advent of CMOS-compatible room-temperature nature-based computers has emerged. By harnessing a dynamical system’s intrinsic behavior of chasing the lowest energy state, this paradigm can solve some simple binary problems delivering considerable speedup and energy savings compared with NNs, while maintaining comparable accuracy. Regrettably, its values to the real world are highly constrained by its binary nature. A clear pathway to its extension to real-valued problems remains elusive. This paper aims to unleash this pathway by proposing a novel end-to-end Nature-Powered Graph Learning (NP-GL) framework. Specifically, through a three-dimensional co-design, NP-GL can leverage the spontaneous energy decrease in nature to efficiently solve real-valued graph learning problems. Experimental results across 4 real-world applications with 6 datasets demonstrate that NP-GL delivers, on average, 6 _._ 97 _×_ 10[3] speedup and 10[5] energy consumption reduction with comparable or even higher accuracy than Graph Neural Networks (GNNs).
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Nature apparently performs complex computations constantly, e.g., solving differential equations and performing random sampling, at clearly lower cost and higher performance than digital computers. Nature’s computation can be powered by various phenomena in physics: entanglement and tunneling that drive quantum computing, the spontaneous energy decrease observed in dynamical systems that drives energy-based computing, and so on.
14
+
15
+ The latter happens ubiquitously in daily life – actually, many dynamical systems in nature spontaneously and swiftly evolve towards the most stable states with the lowest energy, during which highly complex computation is performed. Intuitive examples are ink diffusion in water and chemical reactions among molecules. These natural processes are extremely complex – to be evaluated with acceptable accuracy on digital computers, chemical reactions, such as drastic combustion processes involving only 100K atoms, can be formulated as over 10[7] iterations of computation with each iteration requiring 10[9] FLOPs (Wu et al., 2023). In contrast, nature could deliver accurate solutions to such complex problems within microseconds. That being said, if we can build computers that can efficiently harness the power of nature, these computers, so-called “ _**nature-based computers**_ ”, have the potential to solve complex real-world learning problems delivering substantial speedups and competitive accuracy compared with traditional solutions e.g., NNs on GPUs.
16
+
17
+ Intrigued by the unique computational power in nature, in the past decade, besides the tireless efforts on the development of NNs, the community has also relentlessly explored ML paradigms that are powered by natural principles and can be realized on nature-based computers. Typical examples are quantum ML (King et al., 2022) on quantum computers and optical ML on photonic or optical
18
+
19
+ 1
20
+
21
+ **==> picture [393 x 127] intentionally omitted <==**
22
+
23
+ **----- Start of picture text -----**<br>
24
+ ����������������������<br>����� §4<br>����������������� §3 �������������<br>������������������ ���������� �����������������<br>����������� §4.2 �����������������<br>�������� §4.4<br>��������������������������������������������������������������������� §4.3<br>Diagonal Line Reinforcement Fine-tuning a Pre-trained Spatial Model<br>Guaranteed Initialize spatial temporal<br>�������������������� h>0 Finetune<br>Initialize temporal spatial<br>{-1, +1} Jspatial<br>Jspatial Jspatial-temporal Pre-trained 4×Jspatial Jspatial-temporal<br>**----- End of picture text -----**<br>
25
+
26
+ Figure 1: Overview of the end-to-end NP-GL framework.
27
+
28
+ systems (Inagaki et al., 2016b; Lin et al., 2018). Regrettably, despite their perceived potential, many nature-powered ML methods are still predominantly theoretical and demand stringent operational conditions. Notably, the emergence of the ”Ising machine” (Afoakwa et al., 2021; Sharma et al., 2022) is closing the gap between theoretical nature-powered methodologies and practical applications. This novel computing paradigm, compatible with CMOS technology, can operate at room temperature with less than 1 Watt of power consumption, signifying a major leap towards unleashing the computational power of nature into the real world.
29
+
30
+ Specifically, Ising machines as a physical embodiment of the Ising model can be thought of as a dynamical system governed by the Hamiltonian (energy function of a dynamical system) of the Ising model[1] (detailed in Section 2.1). Driven by the spontaneous energy decrease in nature, a CMOS-based Ising machine can swiftly and automatically chase and find its lowest-energy states at the “speed of electrons” with negligible costs – _mW_ power & _ns_ latency. Unsurprisingly, the unique computational power of Ising machines has enabled a new nature-powered ML paradigm – termed “ _**Ising Graph Learning (IGL)**_ ” in this paper. In IGL, a graph problem (e.g., time series forecasting) is formulated as an Ising model whose parameters are trained to map the problem’s desired (e.g., prediction) results with higher probabilities to the lower energy states of the Ising machine, enabling the Ising machine to automatically find the desired solution at extreme speed (detailed in Section 2.2). It has been demonstrated that IGL outperforms GNNs with orders of magnitude speedups maintaining competitive accuracy in simple real-world graph learning applications with binary data, e.g., traffic congestion prediction (Pan et al., 2023) and collaborative filtering (Liu et al., 2023).
31
+
32
+ Despite the early-stage successes, a significant limitation persists within Ising Graph Learning: it only works with binary problems. The limitation is rooted in the definition of the Ising model – a node (aka “spin”) of the Ising model has only two states. As the physical implementation of the Ising model, Ising machines are also designed for _binary_ objects. Regrettably, as most critical applications in the real world use real-valued data, the practical values of IGL remain highly limited. If the notable advantages of Ising Graph Learning, driven by the automatic energy decrease, can be extended to the real number field, we foresee the ensuing nature-powered graph learning paradigm offering orders of magnitude speedups and energy savings compared to GNNs while preserving highly competitive accuracy for graph learning problems. A route to this extension remains elusive, and a clear pathway is highly desired.
33
+
34
+ To this end, this paper proposes an end-to-end Nature-Powered Graph Learning (NP-GL) framework, extending nature’s computing power inherent in dynamical systems to tackle real-valued and real-world graph learning problems. The framework’s overview, encompassing four components, is depicted in Figure 1: _**Limitation analysis of Ising Graph Learning:**_ We theoretically analyze why the vanilla Ising Graph Learning (including both the Ising model and Ising machine) cannot be straightforwardly extended to support real values without upgrading the Ising Hamiltonian. _**Exploration of NP-GL Hamiltonian:**_ Based on the analysis, NP-GL incorporates a newly designed Hamiltonian that is highly hardware-friendly. It inherits the strengths of the Ising model, ensuring high expressivity, and maintains distinct stable states with real values. _**Design of NP-GL training algorithms:**_ Similarly to Ising Graph Learning, the parameters of the new Hamiltonian are trained to construct an energy landscape, in which the lowest-energy states correspond to the ground truth derived from historical data. In pursuit of high accuracy, NP-GL training adopts an improved conditional likelihood method with two optimizations: (1) Diagonal Line Reinforcement, which re-
35
+
36
+ > 1The Ising model is a probabilistic graphical model widely used to represent binary-state dynamical systems.
37
+
38
+ 2
39
+
40
+ inforces the self-reaction parameters for better temporal continuity and differentiates the training of self-reaction (diagonal) and coupling parameters that convey distinct physical information. (2) Spatial Pre-training coupled with Temporal Fine-tuning, which leverages the similarity between spatial and temporal correlations to better learn from the temporal information. _**Design of NP-GL naturebased computer:**_ Due to the similarity between NP-GL and Ising Hamiltonians, we build the new nature-based computer governed by the NP-GL Hamiltonian by slightly augmenting the circuitry of the Ising machine. The new nature-based computer, like Ising machines, leverages nature’s power to swiftly find the lowest-energy states, but, unlike them, it does so with real values.
41
+
42
+ To the best of our knowledge, NP-GL is the first end-to-end real-valued nature-powered ML solution that outperforms NNs in the real world. Our contributions are summarized as follows.
43
+
44
+ - We propose NP-GL, an end-to-end nature-powered graph learning method, through codesign of Hamiltonian, training algorithms, and nature-based hardware. NP-GL lifts the binary limitation of existing nature-powered ML methods and extends their applicability to real-valued problems.
45
+
46
+ - We design a new hardware-friendly Hamiltonian for real-valued support, coupled with an efficient training method with two optimizations that ensure high training speed and quality.
47
+
48
+ - We develop a new nature-based computer for the new Hamiltonian, enabling nature’s power in electronic dynamical systems to solve real-valued learning problems with extremely high speed.
49
+
50
+ - Experimental results across four real-world applications and six datasets show that NP-GL delivers 6 _._ 97 _×_ 10[3] speedup and 10[5] _×_ energy saving with even higher accuracy than GNNs.
51
+
52
+ ## 2 BACKGROUND AND RELATED WORK
53
+
54
+ ## 2.1 ISING MODEL AND ISING MACHINE
55
+
56
+ **The Ising model** is a probabilistic graphical model rooted in the statistical physics of ferromagnetism and widely employed to represent complex dynamical systems. Its Hamiltonian is as follows:
57
+
58
+ **==> picture [306 x 31] intentionally omitted <==**
59
+
60
+ Due to magnetic physical property, an Ising spin _σi_ has two states “+1” and “ _−_ 1”, namely, spin up and spin down. _Jij_ is the coupling parameter representing the spatial and temporal correlations among different spins; _hi_ represents the self-reaction strength to the external impact and provides temporal continuity for time-series problems. The generalized Ising model goes beyond physical lattices and uses complete graphs to embed alll-to-all correlations among spins, therefore exhibiting strong connectivity, expressivity, and the long-range cascading ability to propagate information. A graph can be straightforwardly mapped to an Ising model, where the nodes are modeled as spins _σ_ , and edges as a pair-wise coupling coefficient matrix _Jij_ and the self-reaction _hi_ of individual spins. In the realm of graph learning, these properties are exceptionally valuable for accuracy.
61
+
62
+ **Variations of the Ising model.** A few other models are related to the (vanilla) Ising model. The quantum Ising model allows spins to be in a state that is a superposition of up and down, incorporating quantum effects. It is used mostly for the study for quantum phase transitions (Kadowaki & Nishimori, 1998; Dziarmaga, 2005; Chakrabarti et al., 2008) and quantum magnetism (Labuhn et al., 2016; Schauß et al., 2015; Bitko et al., 1996). The XY model and the Heisenberg model extra degrees of freedom for spins so that they are unit vectors in the 2D and 3D spaces, respectively. The former is usually used to study topological phase transitions (Leoncini et al., 1998; Song & Zhang, 2021), and also acts as the model foundation for electronic oscillator-based Ising machines. The Heisenberg model allows spins to orient in three spatial dimensions, making it crucial for studying magnetism in certain materials (Fisher, 1964; Arnesen et al., 2001), while its 3D spin orientation significantly increases the model complexity. In spite of the number of Ising model variations, they largely remain theoretical with few practical realizations, as even realizing the vanilla Ising model is very challenging (more details introduced in (Afoakwa et al., 2021)). Reasonably, it is vital to preserve the feature of easy manufacturing when adding real-value support to the Ising model.
63
+
64
+ **Ising machine** , as a physical embodiment of the Ising model (Cipra, 1987), can be thought of as a dynamical system whose gradient is the Ising Hamiltonian. The inherent nature of gradient dynamical systems is to seek the lowest-energy or most probable states. Like other dynamical systems, the
65
+
66
+ 3
67
+
68
+ Ising machine also naturally gravitates towards the lowest-energy state. What powers this inclination of the Ising machine to find the lowest-energy states is inherently derived from nature, more specifically, the spontaneous energy decrease in nature. To show some Ising machine examples, we list three prominent technologies, including D-Wave’s quantum annealers (Harris et al., 2010), Coherent Ising Machines (CIMs) (Inagaki et al., 2016a), and coupled oscillators (Wang & Roychowdhury, 2019). D-Wave’s system takes advantage of quantum effects with its superconducting qubits, but also faces constraints in problem mapping and high power consumption due to cryogenic operational requirements. CIMs use Optical Parametric Oscillators, enabling simpler, all-to-all spin coupling, but are challenged by scalability and temperature stability issues, as well as heavy computational demands for pulse modulation. In addition, emerging oscillator-based Ising machines, which form stable phase relationships and utilize LC tank oscillators suitable for analog circuits, face challenges in the oversized machine and the lack of high quality inductors. On the other hand, the Ising machine used as the backbone of the proposed NP-GL nature-based computer is BRIM (Afoakwa et al., 2021), the current SOTA. As discussed earlier, considering the difficulty in realizing the Ising models, even the vanilla model, the practicality of deployment becomes exceptionally important. Fortunately, BRIM is constructed to operate at room temperature using low-power circuits and in standard CMOS technology, inheriting decades of manufacturing experience. In such Ising machine, the states of objects, aka ”spins”, are effectively modeled as nano-scale capacitors and the coupling parameters representing the correlations among objects are modeled as resistors of varying resistance. Specifically, the electrons automatically traverse between capacitors through wires connected to resistors to establish a stable electric charge distribution, enabling the “speed of electrons”. Consequently, the overall energy is minimized, and the lowest-energy state solution is found with extremely low operating latency. It is not hard to imagine that if the coupling parameters in the Ising Hamiltonian can be trained to effectively map the desired results of a given ML problem to the lowest-energy states, the Ising machine can then perform nanosecond-scale nature-powered ML inference and find the expected results.
69
+
70
+ ## 2.2 ISING GRAPH LEARNING: BINARY GRAPH LEARNING BASED ON ISING MACHINE
71
+
72
+ When it comes to solving a graph learning problem using an Ising machine, two steps are encompassed. Firstly, the complete correlation graph is trained to construct an energy landscape, in which the energy ground state of the Ising model corresponds to the ground truth derived from historical data pertaining to the problem. Secondly, upon initializing the spins, the Ising machine undertakes a process of electron-speed annealing with asynchronous spin flipping, enabling it to efficiently converge towards the energy ground state that accurately represents the problem’s ground truth. In essence, the computation is carried out by nature itself, resulting in an exceptionally rapid computational process. Recent studies have demonstrated that Ising Graph Learning outperforms GNN in binary problems. However, this new ML paradigm only works with binary problems.
73
+
74
+ ## 2.3 GRAPH NEURAL NETWORKS
75
+
76
+ GNNs represent a class of models designed to address graph-structured data, which are prevalent across diverse domains, including physics(Shlomi et al., 2020), social science(Yang et al., 2021), bioinformatics(Yi et al., 2021), combinatorial optimization(LIU, 2022) and so on. GNNs effectively learn graph embeddings by iteratively propagating information between connected nodes in a graph. They usually employ a message-passing mechanism, where each node aggregates and updates information from its neighbors, allowing the network to capture complex relational patterns within the graph. These learned embeddings contain valuable insights about the graph, making GNNs a powerful tool (Xu et al., 2018; Zhou et al., 2020) for various graph-related tasks such as node classification(Kipf & Welling, 2016; Jiang & Luo, 2022), link prediction(Zhang & Chen, 2018; Chen et al., 2022), and graph classification(Wu et al., 2019a).
77
+
78
+ ## 3 MOTIVATION: THEORETICAL ANALYSIS OF THE BINARY LIMITATION
79
+
80
+ This section theoretically examines the inherent binary limitation of the Ising model. Specifically, it demonstrates that the direct replacement of binary variables of the Ising Hamiltonian with real-valued ones without modifying the Hamiltonian formulation (namely, “naive real-valued Ising
81
+
82
+ 4
83
+
84
+ model”) will result in an energy landscape without local energy minima. Consequently, this model lacks the necessary expressivity to solve real-valued ML problems.
85
+
86
+ The stationary points of the naive real-valued Ising Hamiltonian are obtained by solving the below equation for _N_ spins, with _σi ∈_ R being the only difference from _H_ Ising.
87
+
88
+ **==> picture [280 x 32] intentionally omitted <==**
89
+
90
+ which can be formulated into the following vector form:
91
+
92
+ **==> picture [253 x 12] intentionally omitted <==**
93
+
94
+ **==> picture [398 x 30] intentionally omitted <==**
95
+
96
+ Because **J** _[′]_ is a constant matrix, all stationary points have the same concavity. **J** _[′]_ is also diagonalizable due to its symmetry. Therefore, based on the theorem in linear algebra, _tr_ ( **J** _[′]_ ) =[�] _[N] i[λ][i]_[ where] _λi_ is the _i_ ’th eigenvalue of **J** _[′]_ . As the diagonal line of **J** _[′]_ is 0, both positive and negative eigenvalues exist unless **J** _[′]_ = 0 _N ×N_ . This suggests that all the stationary points are saddle points instead of local minima, indicating that there are always neighbor states with lower energy and therefore no local minima can be found by the Ising machine. In practice, as both the energy of the Ising model and the values of the spins in the Ising model have boundaries (e.g., +1 and -1 for the spins), the Ising machine always stops at the boundary energy state with highly polarized spin values. If used in ML, these spin values are uninformative, normally representing inaccurate results. To this end, we are convinced that the Hamiltonian must be upgraded to support real values.
97
+
98
+ In addition to the Ising model, adjustments in the Ising machines are also desired. Constructed upon the Ising model, Ising machines specialize in accurately bisecting a group of nodes into two parties with opposite features, putting the effort in maintaining a polarized result. Nevertheless, for the sake of real-valued support, it is favorable to allow the spins to stabilize at intermediate states rather than being exclusively polarized at their boundaries. By implementing this adjustment, the machine is granted the ability to express a wider range of values and is therefore generally applicable in ML.
99
+
100
+ To bring the nature power to the realm of real values, we are motivated to break the binary limitations by developing the NP-GL framework, which is described in depth in the following section.
101
+
102
+ ## 4 THE PROPOSED NP-GL FRAMEWORK
103
+
104
+ This section introduces the details of the proposed NP-GL framework. We first provide an overview of NP-GL workflow, and then step-by-step present the design of NP-GL Hamiltonian, training algorithm, and nature-based hardware architecture.
105
+
106
+ ## 4.1 OVERVIEW OF NP-GL
107
+
108
+ Figure 2 shows three essential steps in solving real-world graph learning problems with NP-GL. First, a real-world graph is mapped to our Hamiltonian-based probabilistic graphical model, which is upgraded from the Ising Hamiltonian to support real values (Sec. 4.2). In the model, the nodes are modeled as spins, while the relations between spins, or logical edges, are modeled as coupling and self-reaction parameters **J** and **h** . Second, through training (Sec. 4.3) with real-valued historical data, an energy landscape is constructed by learning the Hamiltonian parameters, during which the energy ground state is mapped to the maximum likelihood in the model determined by the observed samples. Third, to align with the upgrade of Hamiltonian, we make slight modifications to a SOTA Ising machine to build a nature-based computer for NP-GL. After the trained parameters are deployed on our nature-based computer, the computer starts to search for the lowest energy state that represents the desired inference results (Sec. 4.4). The specific computing process is as follows: For the known spin values, we keep the spins fixed to the known real-valued data and let other spins evolve to find the lowest energy state conditioned on the known information. For temporal graph prediction, spins are uniformly divided into multiple partitions, representing the nodes from the previous, current, and future time steps, respectively. The nodes representing the previous and current time steps are fixed to historical data, while the others are predicted by evolving towards the spin configuration with the lowest energy.
109
+
110
+ 5
111
+
112
+ **==> picture [396 x 76] intentionally omitted <==**
113
+
114
+ **----- Start of picture text -----**<br>
115
+ ������������������������������������� �������������� �������������������������������<br>�����������<br>��������<br>������ ��������������<br>������������� ������<br>������������� ������������� ����<br>���������� ��������� ������<br>���������������<br>����������������� �������������� ���������������������� �������������������<br>�������<br>����������<br>**----- End of picture text -----**<br>
116
+
117
+ Figure 2: The workflow of NP-GL, involving Hamiltonian mapping, training, and inference steps.
118
+
119
+ ## 4.2 THE PROPOSED HAMILTONIAN
120
+
121
+ The new Hamiltonian is proposed for three major reasons. (1) To solve the spin polarization problem in Sec. 3. (2) To enable effective training techniques. (3) To minimize the adjustment of our backbone hardware. We hereby use a pure quadratic term to replace the linear term in Ising Hamiltonian:
122
+
123
+ **==> picture [285 x 32] intentionally omitted <==**
124
+
125
+ It can be inferred that **J** and **h** still represent spin coupling and self-reaction similar to the Ising model, inheriting the connectivity, expressivity, and the information propagation ability from it. Additionally, this Hamiltonian can be formulated more compactly as _H_ RV = _−_[�] _[N] i,j[J][ij][σ][i][σ][j]_[with] _Jii_ = _−hi_ , indicating that ( _−_ **h** ) is embedded in **J** _[′]_ as the diagonal line. If **h** is positive, the convexity of the Hamiltonian is ensured, enabling the existence of local minima. As we will discuss shortly, **h** is guaranteed positive with our training method, and the adjustment in Hamiltonian can be easily implemented on top of our backbone hardware.
126
+
127
+ ## 4.3 THE TRAINING METHOD OF NP-GL HAMILTONIAN
128
+
129
+ The training for Hamiltonian parameters aims to map the energy ground state to the maximum likelihood with real-valued data. It consists of two major components: the conditional likelihood method as the backbone, and two optimization methods to enhance training quality.
130
+
131
+ ## 4.3.1 THE CONDITIONAL LIKELIHOOD METHOD AS BACKBONE
132
+
133
+ To perform real-valued training with affordable computing power, a conditional likelihood method is proposed. The spin configuration of our model is denoted as _S_ = _{σ_ 1 _, . . . , σN }_ . The joint probability density function of spin configuration _S_ is defined under the Boltzmann distribution
134
+
135
+ **==> picture [262 x 12] intentionally omitted <==**
136
+
137
+ where _Z_ is the partition function. Instead of maximizing the likelihood for the observed samples altogether which is computationally infeasible, a conditional likelihood is maximized as an approximation. That is to say, we optimize the parameters by focusing on one spin (say, _σi_ ) at a time, while treating other spin values as conditions. In particular, we split _H_ RV into _H_ RV _,i_ and _H_ RV _,\i_ to represent the terms dependent and independent of _σi_ . The joint probability density then becomes:
138
+
139
+ **==> picture [285 x 13] intentionally omitted <==**
140
+
141
+ If consider all _σ\i_ as conditions, _H_ RV _,\i_ becomes a constant. Subsequently, we obtain:
142
+
143
+ **==> picture [274 x 12] intentionally omitted <==**
144
+
145
+ Specifically,
146
+
147
+ **==> picture [255 x 13] intentionally omitted <==**
148
+
149
+ where _µ_ is the spin variable, and _εi_ = _−_[�] _[N] j_ = _i[J][ij][σ][j]_[for][conciseness.][It][is][apparent][that] _[H]_[RV] _[,i]_[is] minimized at _µ_ = _εi/_ 2 _hi_ , which is determined by the trained parameters and the other conditional spin values. This indicates that the value of a spin can converge between its upper and lower bounds, fundamentally supporting real-valued data. To train this model, either the Mean Square Error (MSE) loss or the L1 loss between _µ_ = _εi/_ 2 _hi_ and the ground truth is utilized to maximize the conditional likelihood. Once the training is complete, the maximum conditional likelihood is obtained, which is automatically mapped to the energy ground state according to equation 8
150
+
151
+ 6
152
+
153
+ **==> picture [394 x 268] intentionally omitted <==**
154
+
155
+ **----- Start of picture text -----**<br>
156
+ (t, t) (t, t) (t, t) (t, t+1)<br>Spatial<br>Coupling JAB(t,t) JAB(t,t+1) J spatial J spatial J spatial J temporal<br>Initialized N×N N×N Fine Tune N×N N×N<br>J =<br>2N×2N<br>as (t, t) (t, t) (t+1, t) (t+1, t+1)<br>JAB(t+1,t+1) J spatial J spatial temporal J spatial<br>Temporal N×N N×N N×N N×N<br>Coupling<br>Intuition: JAB(t,t) ≈ JAB(t,t+1) ≈ JAB(t+1,t+1) Pre-trained Spatial Model Target Model<br>Figure 3: Fine-tuning of a pre-trained spatial model. JAB : the coupling between Spin A and B .<br>Coupling Units Vi+ C IzivIin + J ij R [×] Vj +<br>JJ1424 JJ2313 J12 J21 N1N2 Vi- Original Node RegulatorVoltage ZIV i Coupling currents of other nodes _ Jij×RVj -<br>Upgraded to support real values<br>J34 J32 J31 N3 Vi+ Iin + J ij [×] Vj +<br>C Ivr R<br>J43 J42 J41 N4 Variable Resistor Coupling currents of other nodes<br>- _ Jij×Vj -<br>������ Vi Upgraded Node i R<br>Network Control Units �������� R : A resistance-related scaling factor<br>Node Control Units<br>Programming Units<br>**----- End of picture text -----**<br>
157
+
158
+ Figure 4: The nature-based computer upgraded from its binary predecessor to support real values.
159
+
160
+ This training approach is applicable to both spatial and spatial-temporal models. In the former scenario, the spins only represent the nodes at the same time step, while in the latter case, more spins are necessary to represent the nodes from past, current, and future time steps.
161
+
162
+ ## 4.3.2 TRAINING ENHANCEMENT TECHNOLOGIES
163
+
164
+ With the training backbone established, there are still two questions remain to be answered. (1) **J** and **h** have distinct physical meanings. Is there a way to differentiate them during training? (2) How do we leverage the similarity between spatial and temporal correlations?
165
+
166
+ **A. Diagonal Line Reinforcement (DLR): J** and **h** are trained jointly with the training method described above. However, these two types of parameters have distinct physical meanings: coupling and self-reaction. In practice, they also usually differ by orders of magnitude. To differentiate these parameters in training, we reinforce **h** on the diagonal line of **J** by multiplying a scaling factor as a hyperparameter. This method is applicable to both spatial and spatial-temporal models. As Figure 1 illustrates, the diagonal line of **J** _spatial_ is directly multiplied by the factor to reinforce the selfreaction. Similarly, in a spatial-temporal model, all four submatrices have their individual diagonal lines reinforced, enhancing both the self-reaction and the temporal coupling of the same node.
167
+
168
+ **B. Spatial Pre-training Coupled with Temporal Fine-tuning:** Intuitively, Spin _A_ at time _t_ and _t_ +1 may have similar properties. For instance, they may have similar coupling relations with respect to Spin _B_ , as Figure 3 shows. Based on this, we speculate that the temporal couplings may have similar values as the spatial couplings. To exploit this property, we pre-train a spatial model featured as _JN ×N_ and map it onto a spatial-temporal model as initial values. The model is subsequently finetuned to obtain a final model. Through this approach, the similarity between spatial and temporal correlations is leveraged, resulting in improved accuracy and convergence speed.
169
+
170
+ ## 4.4 INFERENCE WITH A NEW NATURE-BASED COMPUTER
171
+
172
+ Aiming to harness the power of nature and achieve an end-to-end solution for graph learning, the inference process is carried out on a nature-based computer modified from a SOTA Ising machine to align with the upgrade in the Hamiltonian. The overall layout of the computer is shown in Figure 4, in which the nodes are connected through the coupling units in an all-to-all manner. Specifically,
173
+
174
+ 7
175
+
176
+ Table 1: Accuracy comparison (in MAE / RMSE): the lower the better - best results are in bold.
177
+
178
+ |Application|Traffc Flow|Traffc Flow|AirQuality|AirQuality|Taxi Demand|Pandemic Progression|
179
+ |---|---|---|---|---|---|---|
180
+ |Dataset|PEMS04|PEMS08|PM2.5|PM10|NYC Taxi|Texas COVID|
181
+ |Graph WaveNet|20.84 / 33.66|15.77 / 24.03|1.823 / 3.106|1.954 / 3.496|10.22 / 21.24|82.96 / 430.1|
182
+ |ASTGCN|20.79 / 33.39|15.68 / 23.73|1.883 / 3.133|2.255 / 3.662|N/A2|N/A|
183
+ |MTGNN|19.96 / 31.64|15.15 / 22.79|1.833 / 2.933|1.990 / 3.303|7.079 / 15.40|84.17 / 414.2|
184
+ |DDGCRN|18.97 / 30.59|14.64 / 22.42|1.711 / 3.004|1.881 / 3.315|3.059 / 10.21|23.94 / 188.8|
185
+ |MegaCRN|17.65 / 29.25|13.70 /**21.03**|1.646 / 2.863|1.741 / 3.098|6.082 / 15.01|83.73 / 423.6|
186
+ |NP-GL-Vanilla-MSE|18.37 / 29.10|16.02 / 24.31|1.710 / 2.868|1.860 / 3.146|3.741 / 11.41|41.46 / 268.9|
187
+ |NP-GL-MSE|18.09 / 28.66|15.11 / 23.40|1.702 /**2.859**|1.862 / 3.144|3.195 /**9.610**|37.60 / 268.8|
188
+ |NP-GL-L1|**17.07 / 27.66**|**13.51**/ 21.69|**1.624**/ 2.914|**1.730 / 3.013**|**3.031**/ 10.08|**22.04 / 117.7**|
189
+
190
+ the spin values are represented as the voltage on the capacitors in the nodes, while the parameters **J** _[′]_ and **h** are represented as conductance. On the right-hand side of the figure, the modifications are colored green, showing that we merely replace the voltage regulator “ZIV” with a variable resistor in each node to import the quadratic term[�] _i[h][i][V] i_[2][into][our][Hamiltonian.][The][electric][current][of] Node _i_ is written as equation 10, where _Jij ′_ is the effective conductance of the coupling between nodes and 2 _hi_ is the effective conductance of the added variable resistor in the node.
191
+
192
+ which satisfies
193
+
194
+ **==> picture [316 x 25] intentionally omitted <==**
195
+
196
+ **==> picture [290 x 24] intentionally omitted <==**
197
+
198
+ This suggests the Hamiltonian described by the CMOS compatible circuit spontaneously decreases. In other words, the lowest energy state is automatically pursued.
199
+
200
+ After the Hamiltonian parameters **J** and **h** are obtained from training, they are deployed on our nature-based computer for inference. In practice, the spins representing the nodes from the previous and current time steps are fixed to the known data, allowing the spins representing the nodes in future to evolve and reach the spin configuration with the lowest energy, thus performing the prediction.
201
+
202
+ ## 5 EXPERIMENTAL RESULTS
203
+
204
+ ## 5.1 EXPERIMENTAL SETUP
205
+
206
+ **Applications and Datasets.** We evaluate the NP-GL framework with four real-world spatialtemporal applications and six real-world datasets including Traffic Flow, Air Quality, Taxi Demand, and Pandemic Progression as follows. More information is reported in Appendix A.1. • Application: _Traffic Flow_ – Prediction of the number of vehicles passing through detectors per unit time; Datasets: _PEMS04_ & _PEM08_ – Traffic flow data in metropolitan areas of California. • Application: _Air Quality_ – Prediction of air pollution levels; Datasets: _CAQRA-PM2.5_ & _CAQRAPM10_ – Chinese historical PM2.5 and PM10 data from 2019.5 to 2019.12 sampled from the Chinese Air Quality Reanalysis (CAQRA) database.
207
+
208
+ - Application: _Taxi Demand_ – Prediction of the hourly number of taxi trips; Dataset: _NYC Taxi_ – The hourly number of taxi trips in New York City in 2022.
209
+
210
+ - Application: _Pandemic Progression_ – Prediction of the daily number of new cases; Dataset: _Texas COVID_ – 2020-2023 daily case increment of COVID-19 in Texas.
211
+
212
+ **Baselines.** For fair evaluation, we compare NP-GL accuracy and inference latency with five SOTA spatial-temporal GNNs including _Graph WaveNet_ (Wu et al., 2019b), _ASTGCN_ (Guo et al., 2019), _MTGNN_ (Wu et al., 2020), _DDGCRN_ Weng et al. (2023), and _MegaCRN_ Jiang et al. (2023). **Platforms.** NVDIA A100-40GB GPUs and AMD Ryzen Threadripper PRO 3975WX CPUs are used to measure the inference latency of the baseline GNNs. The nature-based computer utilized to evaluate the performance of NP-GL is adapted from the current SOTA Ising machine, BRIM (Afoakwa et al., 2021), based on Cadence Analog Design Environment.
213
+
214
+ > 2Graph topology is unavailable for NYC Taxi and Texas COVID datasets. Different from MTGNN and Graph WaveNet, ASTGCN does not support graph topology generation.
215
+
216
+ 8
217
+
218
+ **==> picture [395 x 230] intentionally omitted <==**
219
+
220
+ **----- Start of picture text -----**<br>
221
+ -1<br>10-2<br>10-3<br>10-4<br>10-5<br>10-6<br>10-7<br>10<br>CAQRA-PM2.5 CAQRA-PM10 PEMS04 PEMS08 Texas COVID NYC Taxi<br>GraphWaveNet-CPU MTGNN-CPU ASTGCN-CPU GraphWaveNet-GPU MTGNN-GPU<br>ASTGCN-GPU MegaCRN-GPU DDGCRN-GPU Nature-Based Computer<br>Figure 5: The latency comparison of CPU, GPU, and NP-GL nature-based computer.<br>2000<br>50 ����������� 250 ������ 1750 �����������<br>40 200 1250<br>30 150 1000<br>20 100 750<br>500<br>10 50 250<br>0 0 0 -7<br>0 0.5 1.0 1.5 2.0 2.5 3.0 ×10 [-7] 0 0.5 1.0 1.5 2.0 ×10 [-6] 0 0.5 1.0 1.5 2.0 ×10<br>70 350<br>���������� ������ ��������<br>500<br>50 250 400<br>40 200<br>300<br>30 150<br>20 100 200<br>10 50 100<br>0 0 1 2 3 4 5 6 ×10 - 7 0 0 × -7 0 0 0.5 1.0 1.5 2.0 ×10 - 6<br>Processing Time (s) Processing Time (s)<br>60 300<br>1500<br>600<br>60 300<br>1 2 3 4 5 6 10<br>Processing Time (s)<br>Latency (s)<br>MAE MAE MAE<br>MAE MAE MAE<br>**----- End of picture text -----**<br>
222
+
223
+ Figure 6: Natural process of energy decrease in NP-GL computer to find desired inference results. 5.2 EVALUATION OF ACCURACY
224
+
225
+ Table 5.2 compares the accuracy of predicting the _t_ ’th snapshot based on the ( _t_ -1)’th snapshot with five GNN baselines and two NP-GL variants. NP-GL-Vanilla-MSE is equipped with the DLR optimization. NP-GL-MSE is further improved with Spatial Pre-training and Temporal Fine-tuning. NP-GL-L1 uses L1 loss instead of MSE loss compared with NP-GL-MAE, as we realize that the data outliers may significantly affect the accuracy. Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE) that reflect the average and the deviation of the result quality are adopted as the accuracy metrics for comparison. For the MAE metric, NP-GL outperforms all 5 baselines across all datasets. For RMSE, except for PEMS08 where MegaCRN is slightly better, NP-GL outperforms all other baselines.
226
+
227
+ ## 5.3 EVALUATION OF LATENCY
228
+
229
+ This section evaluates the inference latency of NP-GL. Figure 5 compares the inference latency of GNNs and NP-GL, highlighting the extraordinarily short latency introduced by our nature-based computer that is powered by nature and operates at extremely high speed. In the figure, the naturebased computer delivers orders of magnitude speedup (from 10[3] to 10[4] ) compared to CPU and GPU results across all datasets and baselines. Specifically, 1 _._ 70 _×_ 10[4] speedup is achieved on average for the Texas COVID dataset, while the dataset with the least speedup (NYC Taxi) still impressively reaches 1 _._ 01 _×_ 10[3] . To highlight a comprehensive result, we take the mean value of all 6 average speedups to obtain the overall average speedup as 6 _._ 97 _×_ 10[3] . Figure 6 shows spin evolution processes of the nature-based computer throughout inference. As the spins evolve towards the lowest energy state, the error of the results found by the computer decreases accordingly. The curves show the nature-based computer rapidly optimizes the spin configurations to approach the lowest energy states which are also the desired learning solutions. In terms of energy consumption, our nature-based computer operates at a power of _∼_ 500 _mW_ , more than 100 _×_ lower than modern GPUs and CPUs. The overall energy consumption is approximately 10[5] less than GPUs and CPUs.
230
+
231
+ ## 6 CONCLUSION AND FUTURE INSIGHTS
232
+
233
+ This paper extends the computational power of nature to real-world graph learning problems by proposing NP-GL. Specifically, NP-GL is a nature-powered graph learning model and solves realvalued graph learning problems by harnessing the natural phenomenon of energy decrease. Experimental results across 4 real-world applications with 6 datasets demonstrate that NP-GL delivers, on average, 6 _._ 97 _×_ 10[3] speedup and 10[5] energy consumption reduction with comparable or even higher accuracy than GNNs.
234
+
235
+ 9
236
+
237
+ ## REFERENCES
238
+
239
+ Gon: End-to-end optimization framework for constraint graph optimization problems. Knowledge-Based Systems, 254:109697, 2022.
240
+
241
+ - Richard Afoakwa, Yiqiao Zhang, Uday Kumar Reddy Vengalam, Zeljko Ignjatovic, and Michael Huang. Brim: Bistable resistively-coupled ising machine. In 2021 IEEE International Symposium on High-Performance Computer Architecture (HPCA), pp. 749–760. IEEE, 2021.
242
+
243
+ - MC Arnesen, S Bose, and V Vedral. Natural thermal and magnetic entanglement in the 1d heisenberg model. Physical Review Letters, 87(1):017901, 2001.
244
+
245
+ - D Bitko, TF Rosenbaum, and G Aeppli. Quantum critical behavior for a model magnet. Physical review letters, 77(5):940, 1996.
246
+
247
+ - Bikas K Chakrabarti, Amit Dutta, and Parongama Sen. Quantum Ising phases and transitions in transverse Ising models, volume 41. Springer Science & Business Media, 2008.
248
+
249
+ - Jinyin Chen, Xueke Wang, and Xuanheng Xu. Gc-lstm: Graph convolution embedded lstm for dynamic network link prediction. Applied Intelligence, pp. 1–16, 2022.
250
+
251
+ - Barry A Cipra. An introduction to the ising model. The American Mathematical Monthly, 94(10): 937–959, 1987.
252
+
253
+ Jacek Dziarmaga. Dynamics of a quantum phase transition: Exact solution of the quantum ising model. Physical review letters, 95(24):245701, 2005.
254
+
255
+ - Michael E Fisher. Magnetism in one-dimensional systems—the heisenberg model for infinite spin. American Journal of Physics, 32(5):343–346, 1964.
256
+
257
+ - Shengnan Guo, Youfang Lin, Ning Feng, Chao Song, and Huaiyu Wan. Attention based spatialtemporal graph convolutional networks for traffic flow forecasting. In Proceedings of the Thirty-Third AAAI Conference on Artifcial Intelligence and Thirty-First Innovative Applications of Artifcial Intelligence Conference and Ninth AAAI Symposium on Educational Advances in Artifcial Intelligence, AAAI’19/IAAI’19/EAAI’19. AAAI Press, 2019. ISBN 978-1-57735809-1. doi: 10.1609/aaai.v33i01.3301922. URL [URL removed] v33i01.3301922.
258
+
259
+ - R. Harris, M. W. Johnson, T. Lanting, A. J. Berkley, J. Johansson, P. Bunyk, E. Tolkacheva, E. Ladizinsky, N. Ladizinsky, T. Oh, F. Cioata, I. Perminov, P. Spear, C. Enderud, C. Rich, S. Uchaikin, M. C. Thom, E. M. Chapple, J. Wang, B. Wilson, M. H. S. Amin, N. Dickson, K. Karimi, B. Macready, C. J. S. Truncik, and G. Rose. Experimental investigation of an eight-qubit unit cell in a superconducting optimization processor. Phys. Rev. B, 82:024511, Jul 2010. doi: 10.1103/PhysRevB.82.024511. URL [URL removed] 1103/PhysRevB.82.024511.
260
+
261
+ - Takahiro Inagaki, Yoshitaka Haribara, Koji Igarashi, Tomohiro Sonobe, Shuhei Tamate, Toshimori Honjo, Alireza Marandi, Peter L. McMahon, Takeshi Umeki, Koji Enbutsu, Osamu Tadanaga, Hirokazu Takenouchi, Kazuyuki Aihara, Ken ichi Kawarabayashi, Kyo Inoue, Shoko Utsunomiya, and Hiroki Takesue. A coherent ising machine for 2000-node optimization problems. Science, 354(6312):603–606, 2016a. doi: 10.1126/science.aah4243. URL [URL removed] org/doi/abs/10.1126/science.aah4243.
262
+
263
+ 10
264
+
265
+ Takahiro Inagaki, Yoshitaka Haribara, Koji Igarashi, Tomohiro Sonobe, Shuhei Tamate, Toshimori Honjo, Alireza Marandi, Peter L McMahon, Takeshi Umeki, Koji Enbutsu, et al. A coherent ising machine for 2000-node optimization problems. Science, 354(6312):603–606, 2016b.
266
+
267
+ - Renhe Jiang, Zhaonan Wang, Jiawei Yong, Puneet Jeph, Quanjun Chen, Yasumasa Kobayashi, Xuan Song, Shintaro Fukushima, and Toyotaro Suzumura. Spatio-temporal meta-graph learning for traffic forecasting. In Proceedings of the AAAI Conference on Artifcial Intelligence, volume 37, pp. 8078–8086, 2023.
268
+
269
+ - Weiwei Jiang and Jiayun Luo. Graph neural network for traffic forecasting: A survey. Expert Systems with Applications, 207:117921, 2022.
270
+
271
+ - Tadashi Kadowaki and Hidetoshi Nishimori. Quantum annealing in the transverse ising model. Physical Review E, 58(5):5355, 1998.
272
+
273
+ - Andrew D King, Sei Suzuki, Jack Raymond, Alex Zucca, Trevor Lanting, Fabio Altomare, Andrew J Berkley, Sara Ejtemaee, Emile Hoskinson, Shuiyuan Huang, et al. Coherent quantum annealing in a programmable 2,000 qubit ising chain. Nature Physics, 18(11):1324–1328, 2022.
274
+
275
+ - Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2016.
276
+
277
+ - Henning Labuhn, Daniel Barredo, Sylvain Ravets, Sylvain De L´es´eleuc, Tommaso Macr`ı, Thierry Lahaye, and Antoine Browaeys. Tunable two-dimensional arrays of single rydberg atoms for realizing quantum ising models. Nature, 534(7609):667–670, 2016.
278
+
279
+ - Xavier Leoncini, Alberto D Verga, and Stefano Ruffo. Hamiltonian dynamics and the phase transition of the xy model. Physical Review E, 57(6):6377, 1998.
280
+
281
+ - Xing Lin, Yair Rivenson, Nezih T. Yardimci, Muhammed Veli, Yi Luo, Mona Jarrahi, and Aydogan Ozcan. All-optical machine learning using diffractive deep neural networks. Science, 361(6406): 1004–1008, 2018. doi: 10.1126/science.aat8084. URL [URL removed] abs/10.1126/science.aat8084.
282
+
283
+ - Zhuo Liu, Yunan Yang, Zhenyu Pan, Anshujit Sharma, Amit Hasan, Caiwen Ding, Ang Li, Michael Huang, and Tong Geng. Ising-cf: A pathbreaking collaborative filtering method through efficient ising machine learning. In Proceedings of the 60th ACM/IEEE Design Automation Conference. of DAC, 2023.
284
+
285
+ - Zhenyu Pan, Anshujit Sharma, Jerry Yao-Chieh Hu, Zhuo Liu, Ang Li, Han Liu, Michael Huang, and Tony Geng. Ising-traffic: Using ising machine learning to predict traffic congestion under uncertainty. Proceedings of the AAAI Conference on Artifcial Intelligence, 37(8):9354–9363, Jun. 2023. doi: 10.1609/aaai.v37i8.26121. URL [URL removed] AAAI/article/view/26121.
286
+
287
+ - Peter Schauß, Johannes Zeiher, Takeshi Fukuhara, Sebastian Hild, Marc Cheneau, Tommaso Macr`ı, Thomas Pohl, Immanuel Bloch, and Christian Groß. Crystallization in ising quantum magnets. Science, 347(6229):1455–1458, 2015.
288
+
289
+ - Anshujit Sharma, Richard Afoakwa, Zeljko Ignjatovic, and Michael Huang. Increasing ising machine capacity with multi-chip architectures. In Proceedings of the 49th Annual International Symposium on Computer Architecture, pp. 508–521, 2022.
290
+
291
+ - Jonathan Shlomi, Peter Battaglia, and Jean-Roch Vlimant. Graph neural networks in particle physics. Machine Learning: Science and Technology, 2(2):021001, 2020.
292
+
293
+ - Feng-Feng Song and Guang-Ming Zhang. Hybrid berezinskii-kosterlitz-thouless and ising topological phase transition in the generalized two-dimensional xy model using tensor networks. Physical Review B, 103(2):024518, 2021.
294
+
295
+ - Tianshi Wang and Jaijeet Roychowdhury. Oim: Oscillator-based ising machines for solving combinatorial optimisation problems. In Ian McQuillan and Shinnosuke Seki (eds.), Unconventional Computation and Natural Computation, pp. 232–256, Cham, 2019. Springer International Publishing. ISBN 978-3-030-19311-9.
296
+
297
+ 11
298
+
299
+ - Wenchao Weng, Jin Fan, Huifeng Wu, Yujie Hu, Hao Tian, Fu Zhu, and Jia Wu. A decomposition dynamic graph convolutional recurrent network for traffic forecasting. Pattern Recognition, 142:109670, 2023. ISSN 0031-3203. doi: [URL removed] 2023.109670. URL [URL removed] S0031320323003710.
300
+
301
+ - C Wu, T Geng, A Guo, S Bandara, P Haghi, C Liu, A Li, and M Herbordt. Fasda: An fpgaaided, scalable and distributed accelerator for range-limited molecular dynamics. In International Conference for High Performance Computing, Networking, Storage and Analysis, 2023.
302
+
303
+ - Jun Wu, Jingrui He, and Jiejun Xu. Net: Degree-specific graph neural networks for node and graph classification. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 406–415, 2019a.
304
+
305
+ - Zonghan Wu, Shirui Pan, Guodong Long, Jing Jiang, and Chengqi Zhang. Graph wavenet for deep spatial-temporal graph modeling, 2019b.
306
+
307
+ - Zonghan Wu, Shirui Pan, Guodong Long, Jing Jiang, Xiaojun Chang, and Chengqi Zhang. Connecting the dots: Multivariate time series forecasting with graph neural networks, 2020.
308
+
309
+ - Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018.
310
+
311
+ - Liangwei Yang, Zhiwei Liu, Yingtong Dou, Jing Ma, and Philip S. Yu. Consisrec: Enhancing gnn for social recommendation via consistent neighbor aggregation. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 2141–2145, 2021.
312
+
313
+ - Hai-Cheng Yi, Zhu-Hong You, De-Shuang Huang, and Chee Keong Kwoh. Graph representation learning in bioinformatics: trends, methods and applications. Briefngs in Bioinformatics, 23(1): bbab340, 2021.
314
+
315
+ - Muhan Zhang and Yixin Chen. Link prediction based on graph neural networks. Advances in neural information processing systems, 31, 2018.
316
+
317
+ - Jie Zhou, Ganqu Cui, Shengding Hu, Zhengyan Zhang, Cheng Yang, Zhiyuan Liu, Lifeng Wang, Changcheng Li, and Maosong Sun. Graph neural networks: A review of methods and applications. AI open, 1:57–81, 2020.
318
+
319
+ 12
320
+
321
+ ## A APPENDIX
322
+
323
+ ## A.1 DATASETS
324
+
325
+ NP-GL is evaluated with four real-world spatial-temporal applications and six real-world datasets listed below. Their specification details is reported in Table A.1. All datasets are partitioned into 70/20/10 percentages for training, validation, and test purposes.
326
+
327
+ Table A.1: Dataset specifications. A snapshot is the state of the data at a specific point in time.
328
+
329
+ |Application|Traffc Flow|Traffc Flow|AirQuality|AirQuality|Taxi Demand|Pandemic Progression|
330
+ |---|---|---|---|---|---|---|
331
+ |Dataset|PEMS04|PEMS08<br>CAQ|RA-PM2.5|CAQRA-PM10|NYC Taxi|Texas COVID|
332
+ |# of Snapshots|16992|17856|5856|5856|8759|1100|
333
+ |# of Nodes|307|170|400|400|259|256|
334
+ |Data Range(Max-Min)|919|1147|167.0|186.9|1115|25190|
335
+
336
+ ## A.2 HYPERPARAMETERS
337
+
338
+ For all experiments carried out on the six datasets (detailed specifications reported in Table A.1), the Rprop optimizer is adopted with a custom early-stop mechanism. The same hyperparameters are used across the experiments except for the DLR factors used to reinforce diagonal lines of **J** , which are listed in Table A.2.
339
+
340
+ Table A.2: DLR Factors as the Hyperparameters for Different Datasets.
341
+
342
+ |pplication|Traffc Flow|Traffc Flow|Traffc Flow|AirQuality|AirQuality|Taxi Demand|Taxi Demand|Pandemic Progression|Pandemic Progression|
343
+ |---|---|---|---|---|---|---|---|---|---|
344
+ |Dataset|PEMS04||PEMS08<br>P|M2.5<br>PM10||NYC Taxi||Texas COVID||
345
+ |LR Factor|12.28||8.50<br>1|6.00<br>6.00||12.95||5.89||
346
+ |Table A.3: The universal hyperparameters used for all 6 datasets.<br>Minibatch<br>LR<br>Etas<br>StepSizes<br>LR Decay<br>StepDecay<br>EarlyStop<br>64<br>0.01<br>(0.5,1.2)<br>(1E-4,50)<br>0.5<br>50<br>1E-6||||||||||
347
+ |Minibatch|LR|Etas<br>St||epSizes|LR Decay||StepDecay||EarlyStop|
348
+ |64|0.01|(0.5,1.2)<br>(1||E-4,50)|0.5||50||1E-6|
349
+
350
+ The rest of the hyperparameters are listed in Table A.3, where LR is the initial learning rate, Etas and Step Sizes are the hyperparameters intrinsic to the Rprop optimizer. To implement an early stop mechanism, the learning rate is multiplied by 0.5 (LR Decay) if the loss function does not decrease in 50 epochs (Step Decay). Once the learning rate is below 1E-6 (Early Stop), the training process is terminated.
351
+
352
+ ## A.3 DATA DISTRIBUTION PROFILING
353
+
354
+ **==> picture [395 x 131] intentionally omitted <==**
355
+
356
+ **----- Start of picture text -----**<br>
357
+ 100 80 250<br>����������� ������ �����������<br>80 60 200 Predicted<br>60 150 Predicted, Average<br>40 40 100 Ground Truth<br>20 20 50 Ground Truth, Average<br>0 0 0<br>0 25 50 75 100 125 150 175 0 200 400 600 800 0 500 1000 1500 2000<br>100 ���������� 40 ������ 250 ��������<br>80 30 200<br>60 150<br>20<br>40 100<br>20 10 50<br>0 0 0<br>0 25 50 75 100 125 150 175 0 200 400 600 800 1000 1200 0 50 100 150 200 250 300<br>Data Values Data Values Data Values<br>Node Count<br>Node Count<br>**----- End of picture text -----**<br>
358
+
359
+ Figure A.1: The data distribution comparison of the predicted data and ground truth data.
360
+
361
+ The example predicted data distribution and the ground truth distribution across all 6 datasets are illustrated in Figure A.1. The examples are randomly sampled from the snapshots used for graph prediction. It can be observed that despite the datasets have distinct data ranges and distributions, the predicted data distribution obtained from our approach is very close to the ground truth, with the mean data values (dashed lines) almost identical.
362
+
363
+ 13
364
+
open_review/iclr2024_8848.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8848",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "BooookScore: A systematic exploration of book-length summarization in the era of LLMs",
6
+ "abstract": "Summarizing book-length documents ($>$100K tokens) that exceed the context window size of large language models (LLMs) requires first breaking the input document into smaller chunks and then prompting an LLM to merge, update, and compress chunk-level summaries. Despite the complexity and importance of this task, it has yet to be meaningfully studied due to the challenges of evaluation: existing book-length summarization datasets (e.g., BookSum) are in the pretraining data of most public LLMs, and existing evaluation methods struggle to capture errors made by modern LLM summarizers. In this paper, we present the first study of the coherence of LLM-based book-length summarizers implemented via two prompting workflows: (1) hierarchically merging chunk-level summaries, and (2) incrementally updating a running summary. We obtain 1193 fine-grained human annotations on GPT-4 generated summaries of 100 recently-published books and identify eight common types of coherence errors made by LLMs. Because human evaluation is expensive and time-consuming, we develop an automatic metric, BooookScore, that measures the proportion of sentences in a summary that do not contain any of the identified error types. BooookScore has high agreement with human annotations and allows us to systematically evaluate the impact of many other critical parameters (e.g., chunk size, base LLM) while saving \\$15K USD and 500 hours in human evaluation costs. We find that closed-source LLMs such as GPT-4 and Claude 2 produce summaries with higher BooookScore than those generated by open-source models. While LLaMA 2 falls behind other models, Mixtral achieves performance on par with GPT-3.5-Turbo. Incremental updating yields lower BooookScore but higher level of detail than hierarchical merging, a trade-off sometimes preferred by annotators. We release code and annotations to spur more principled research on book-length summarization.",
7
+ "rebuttal": "We thank the reviewer for their insightful comments and for appreciating the applicability and other strengths of our work.\n\n*> The evaluation of human annotations focuses only on precision and does not investigate recall. However, the authors are open about this limitation.*\n\nIn order to measure recall, we would require ground truth annotations with all possible coherence errors in the summaries. However, prior studies (SNaC and Scarecrow) have discussed that this is challenging for subjective fine-grained evaluation tasks where annotators generally display high precision but low recall.\n\nOne solution could be to collect annotations from multiple annotations per summary, and consider their union as the exhaustive set of errors. Scarecrow and SNaC employ 10 and 3 annotators per summary respectively, but such a scheme would be very costly for our setting, as annotating 100 summaries already costs $1.5K. Annotation precision is more economical to evaluate, while also serving as an informative metric. We have updated Section 3 to make it clearer. We believe future work in human evaluation that makes recall-centric annotation more tractable is a promising area that could complement the precision-centric measurement we propose here.\n\n*> Some of the examples of types of errors shown in Table 1 seem to be of questionable quality…*\n\nThis is a valid concern, and we appreciate the reviewer for pointing it out. We acknowledge that sometimes annotators or GPT-4 may ask questions that are also unanswered in the book, and there is no way to confirm without reading the source text. Using the reviewer’s example, if the identity of the mysterious man is not revealed in the book, the summary could say something like “A mysterious man whose identity is never revealed.” Since our focus is on coherence, the nature of our evaluation protocol is to have readers naturally raise questions as they read through a summary. Checking whether a question can be answered by the source text and finding answers to these questions would fall under faithfulness evaluation, which we leave to future work.\n\n*> This may be a side effect of offering a monetary reward based in part on the number of annotations (cf. Appendix G).*\n\nWe appreciate the reviewer for going through the appendix. For the first evaluation task where we collected span-question pairs, we actually paid $15 USD per summary regardless of how many annotations were provided as mentioned in Section 3.\n\nAppendix G (now J) is for the second human evaluation where we validated annotations collected from the first one. For this evaluation, we paid based on how many annotations from the first task an annotator had to annotate, which also did not incentivize them in any way. The annotators were informed of the second evaluation task a few weeks after they completed the first one, so payment for the second task could not have biased annotators to create more annotations for the first. We understand that this may be unclear, and have made clarifications in Appendix J.\n\n*> The sentence-level score may disproportionately favor summaries that contain a large number of (short) sentences.*\n\nWe understand this concern. In practice, we do not observe significant differences in sentence length. We computed the average number of tokens per sentence for the 100 summaries collected under each configuration (10 in total). The minimum is 21, maximum is 28.3, and standard deviation is 2.5. Future work may decompose the summary into atomic units (like FactScore) before running fine-grained evaluation. However, this decomposition may be hard to automate.\n\n*> Furthermore, the evaluation of different models does not further investigate whether some of the score differences can be explained by the different length of the summaries.*\n\nThis is a valid concern. We have added a plot of BOOOOKSCORE vs. summary length in Appendix F, which shows no correlation between the two.\n\n*> Table 2: Why is there no entry for LLaMA2 in the incremental update section?*\n\nThis is explained in Section 5, we could not get LLaMA 2 to perform incremental updating.\n\n*> Doesn't the choice of p = 1 for nucleus sampling disable it completely?*\n\nYou are correct, we have rephrased it in the paper.\n\n*> The choice of a large temperature also seems rather unusual…have you investigated how stable the results are when the temperature is varied?*\n\nWe found that setting temperature to 0 affected generation quality in our preliminary experiments. Plus, prior to the recent OpenAI update, setting temperature to 0 for these closed-source models did not guarantee deterministic output. We did not study the effect of temperature on BOOOOKSCORE due to budget constraints.\n\n*> shouldn't \"lower\" be \"higher\"?*\n\nThat is correct, we have changed it in the paper.\n\n*> “Highly extractive\" seems to contradict the large proportion of novel trigrams…*\n\n“Highly extractive” is relative to other models. We have updated the paper with clarification.\n\nWe extend sincere gratitude to the reviewer for their insightful comments and for greatly appreciating the value and importance of our work.\n\n*> It is however unfortunate that the evaluation framework did not consider faithfulness. This could have been done by asking annotators to assess each fact and search for it inside the book to verify its factuality.*\n\nWe thank the reviewer for proposing a possible experimental setup for evaluating faithfulness. Coincidentally, we did try the task ourselves using the exact setup as described in the reviewer’s comments, and found it incredibly challenging [...]\n\nWe thank the reviewer for their insightful comments and for appreciating the importance of our work to future research in summarization.\n\n*> One point I miss in the experiments is a baseline without hierarchical merging or incremental updating.*\n\nThis is indeed a valid concern, we appreciate the reviewer for bringing it up. To address this issue, we evaluated GPT-4 on the SQuALITY dataset, which contains shor\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 8,
10
+ 8,
11
+ 10,
12
+ 8
13
+ ],
14
+ "score_mean": 8.5,
15
+ "score_variance": 1,
16
+ "score_spread": 2,
17
+ "score_min": 8,
18
+ "score_max": 10,
19
+ "decision": "Accept (oral)",
20
+ "rebuttal_validity_ground_truth": true,
21
+ "meta_review": "Good paper. Clear accept.\n\nThe remaining concerns that have not been addressed by the rebuttal (with all the reviewers agree that these do not hurt the acceptance):\n\n- A potential weakness lies in the design of the BOOOOKSCORE metric. The approach of weighing all sentences equally may overlook the varying importance of different parts of the text for overall coherence. \n- There is an absence of a consistency check for the BOOOOKSCORE metric.\n- The evaluation of human annotations focuses only on precision and does not investigate recall. However, the authors are open about this limitation.",
22
+ "forum_id": "7Ttk3RzDeu",
23
+ "primary_area": "datasets and benchmarks",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_rPVA",
28
+ "review_id": "OQrhjVRdDU",
29
+ "scores": {
30
+ "rating": 8,
31
+ "soundness": 4,
32
+ "presentation": 4,
33
+ "contribution": 4,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 950,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 162502,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_hJ5Z",
44
+ "review_id": "P4R3sLDxbO",
45
+ "scores": {
46
+ "rating": 8,
47
+ "soundness": 3,
48
+ "presentation": 4,
49
+ "contribution": 4,
50
+ "confidence": 4
51
+ },
52
+ "review_text_chars": 3123,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 1492339,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_SAFf",
60
+ "review_id": "eAnW0XkzJT",
61
+ "scores": {
62
+ "rating": 10,
63
+ "soundness": 4,
64
+ "presentation": 4,
65
+ "contribution": 4,
66
+ "confidence": 5
67
+ },
68
+ "review_text_chars": 2268,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 848882,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_vK8q",
76
+ "review_id": "Jzs5kaQ0ZW",
77
+ "scores": {
78
+ "rating": 8,
79
+ "soundness": 3,
80
+ "presentation": 3,
81
+ "contribution": 3,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 2275,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 1652822,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8848.md ADDED
The diff for this file is too large to render. See raw diff
 
open_review/iclr2024_8849.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8849",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "G2PTL: A Pre-trained Model for Delivery Address and its Applications in Logistics System",
6
+ "abstract": "Text-based delivery addresses, as the data foundation for logistics systems, contain abundant and crucial location information. How to effectively encode the delivery address is a core task to boost the performance of downstream tasks in the logistics system. Pre-trained Models (PTMs) designed for Natural Language Process (NLP) have emerged as the dominant tools for encoding semantic information in text. Though promising, those NLP-based PTMs fall short of encoding geographic knowledge in the delivery address, which considerably trims down the performance of delivery-related tasks in logistic systems such as Cainiao. To tackle the above problem, we propose a domain-specific pre-trained model, named G2PTL, a Geography-Graph Pre-trained model for delivery address in Logistics field. G2PTL combines the semantic learning capabilities of text pre-training with the geographical-relationship encoding abilities of graph modeling. Specifically, we first utilize real-world logistics delivery data to construct a large-scale heterogeneous graph of delivery addresses, which contains abundant geographic knowledge and delivery information. Then, G2PTL is pre-trained with subgraphs sampled from the heterogeneous graph. Comprehensive experiments are conducted to demonstrate the effectiveness of G2PTL through four downstream tasks in logistics systems on real-world datasets. G2PTL has been deployed in production in Cainiao's logistics system, which significantly improves the performance of delivery-related tasks. The code of G2PTL is available at https://huggingface.co/Cainiao-AI/G2PTL.",
7
+ "rebuttal": "### Author Response to Reviewer PNNu\nDear reviewer, thank you for your valuable suggestions on our work. Below are our detailed responses to your questions:\n**Questions 1: The representation in Figure 1 lacks clarity. The relationship between the left and right sections of the figure is puzzling. For instance, the right side depicts an edge between node 1 and node 2 labeled \"001\", suggesting \"no delivery route, no AOI co-location, and has Alias.\" However, the left side appears to contradict this, showing a delivery route between node 1 and node 2.**\n\n**Response:**\n\nSorry, we didn't describe the edge encoding clearly enough. In the binary encoding result of the edge, position 0 is the last bit in the result(rightmost) and position 2 is the first bit(leftmost). Therefore, the edge labeled \"001\" between node 1 and node 2 in Figure 1 indicates \" no AOI co-locate, no alias, only delivery route\". \n\n| code position | position 2 | position 1 | position 0 | \n| :--: | :--: | :--: | :--: |\n| edge type description | alias | AOI co-locate | delivery route | \n| edge type code | 0 (None) | 0 (None) | 1 (Have) |\n\n### Author Response to Reviewer VFda\n**Questions 3: What is the rationale behind choosing to sample from the entire graph as opposed to creating subgraph-level graph models? The former option demands significantly greater computational and storage resources.**\n\n**Response:**\n\nWe choose to sample from the entire graph for the following reasons:\n1. Our goal is to train a PTM that contains rich delivery knowledge and geographical knowledge and can be applied to geographically related downstream tasks. Therefore, we believe that the training samples of the model should contain a large amount of de [...]\n\n### Author Response to Reviewer VFda\nDear reviewer, thank you for your valuable suggestions on our work. Below are our detailed responses to your questions:\n**Questions 1: Given that a fixed heterogeneous graph has already been predefined, how can the proposed method be scaled to new addresses?**\n\n**Response:**\n\n1. If you are only using the model for inference on new addresses, you only need to build a single-node subgraph based on the new address(This is a Self-Loop subgraph, edge_type_code = 1000 (Have a self-loop, no delivery route, no AOI co-locate, and no Alias)), and then enter this subg [...]\n\n### Author Response to Reviewer q3Pr\nDear reviewer, thank you for your valuable suggestions on our work. Below are our detailed responses to your questions:\n\n**Questions 1: At inference time, do I need to have graph as input besides the text input for this model? From the model design, it seems that the graphomer is used in the model, thus I would expect edge and node input for the model? If the task is just address normalization without graph input, can we still use this model?**\n\n**Response:**\n\nDuring the model inference phase, addresses need to be constructed as a graph. For tasks such as a [...]",
8
+ "initial_scores": [
9
+ 6,
10
+ 5,
11
+ 8
12
+ ],
13
+ "score_mean": 6.33,
14
+ "score_variance": 2.33,
15
+ "score_spread": 3,
16
+ "score_min": 5,
17
+ "score_max": 8,
18
+ "decision": "Reject",
19
+ "rebuttal_validity_ground_truth": null,
20
+ "meta_review": "This paper presents a domain-specific pre-trained model called G2PTL for delivery address in Logistics field. It utilizes real-world logistics delivery data to construct a large-scale heterogeneous graph of delivery addresses, and then pre-trains the model with subgraphs sampled from the heterogeneous graph. G2PTL can improve the performance of delivery-related downstream tasks. \n\nThe proposed G2PTL model is reasonable, and it outperforms baseline models on delivery-related downstream tasks. The paper is easy to follow. The dataset and the graph construction method are interesting, but the innovation of the model architecture and pre-training tasks is limited. The proposed model is only trained and used in a very narrow domain - delivery address, and it is unclear about the model's generalization ability to other domains. Reviewers also suggest to test on additional graph-related downstream tasks such as link-prediction and node classification. \n\nThis paper is a borderline case and I am leaning towards weakly rejecting it.",
21
+ "forum_id": "sP0Aev2Gis",
22
+ "primary_area": "representation learning for computer vision, audio, language, and other modalities",
23
+ "n_reviews": 3,
24
+ "per_review": [
25
+ {
26
+ "reviewer": "Reviewer_PNNu",
27
+ "review_id": "yzoy58VT8o",
28
+ "scores": {
29
+ "rating": 6,
30
+ "soundness": 3,
31
+ "presentation": 3,
32
+ "contribution": 3,
33
+ "confidence": 4
34
+ },
35
+ "review_text_chars": 1560,
36
+ "edit_detected": true,
37
+ "edit_delta_seconds": 364478,
38
+ "post_rebuttal_text_signal": false,
39
+ "score_mentions_in_text": []
40
+ },
41
+ {
42
+ "reviewer": "Reviewer_VFda",
43
+ "review_id": "dx7uiycnFz",
44
+ "scores": {
45
+ "rating": 5,
46
+ "soundness": 2,
47
+ "presentation": 2,
48
+ "contribution": 2,
49
+ "confidence": 4
50
+ },
51
+ "review_text_chars": 1838,
52
+ "edit_detected": true,
53
+ "edit_delta_seconds": 911932,
54
+ "post_rebuttal_text_signal": false,
55
+ "score_mentions_in_text": []
56
+ },
57
+ {
58
+ "reviewer": "Reviewer_q3Pr",
59
+ "review_id": "uloar4Zw9R",
60
+ "scores": {
61
+ "rating": 8,
62
+ "soundness": 3,
63
+ "presentation": 3,
64
+ "contribution": 3,
65
+ "confidence": 5
66
+ },
67
+ "review_text_chars": 5060,
68
+ "edit_detected": true,
69
+ "edit_delta_seconds": 948289,
70
+ "post_rebuttal_text_signal": false,
71
+ "score_mentions_in_text": []
72
+ }
73
+ ],
74
+ "any_review_edit_detected": true,
75
+ "any_post_rebuttal_text_signal": false,
76
+ "review_score_dimensions": [
77
+ "rating",
78
+ "soundness",
79
+ "presentation",
80
+ "contribution",
81
+ "confidence"
82
+ ]
83
+ }
open_review/iclr2024_8849.md ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## - - G2PTL: A PRE TRAINED MODEL FOR DELIVERY AD DRESS AND ITS APPLICATIONS IN LOGISTICS SYSTEM
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Text-based delivery addresses, as the data foundation for logistics systems, contain abundant and crucial location information. How to effectively encode the delivery address is a core task to boost the performance of downstream tasks in the logistics system. Pre-trained Models (PTMs) designed for Natural Language Process (NLP) have emerged as the dominant tools for encoding semantic information in text. Though promising, those NLP-based PTMs fall short of encoding geographic knowledge in the delivery address, which considerably trims down the performance of delivery-related tasks in logistic systems such as Cainiao. To tackle the above problem, we propose a domain-specific pre-trained model, named G2PTL, a **G** eography- **G** raph **P** re- **t** rained model for delivery address in **L** ogistics field. G2PTL combines the semantic learning capabilities of text pre-training with the geographical-relationship encoding abilities of graph modeling. Specifically, we first utilize real-world logistics delivery data to construct a large-scale heterogeneous graph of delivery addresses, which contains abundant geographic knowledge and delivery information. Then, G2PTL is pretrained with subgraphs sampled from the heterogeneous graph. Comprehensive experiments are conducted to demonstrate the effectiveness of G2PTL through four downstream tasks in logistics systems on real-world datasets. G2PTL has been deployed in production in Cainiao’s logistics system, which significantly improves the performance of delivery-related tasks. The code of G2PTL is available at [URL removed]
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Text-based addresses contain abundant semantic and geographical information, which is especially important in logistics systems. Making better use of the information in addresses has always been a key research direction in logistics because it not only directly determines the output of address perception tasks such as address completion, address standardization, but also further affects the performance of various downstream tasks such as address parsing Li et al. (2019), geocoding Wing & Baldridge (2011a), logistics dispatching Lan et al. (2020), estimated time of arrival Gao et al. (2021), package delivery route prediction Wen et al. (2021). These tasks are advantageous to improving the efficiency of logistic services and reducing the burden on related practitioners.
14
+
15
+ Nevertheless, there are two problems in existing works: a) In current logistics systems, it is a common practice to encode addresses through geocoding service Goldberg et al. (2007), which converts an address to its correlated coordinates (i.e., latitude and longitude). However, geocoding ignores the internal semantic and geographical information in addresses, which can not satisfy the need of address perception tasks such as address completion and standardization, let alone the high-level downstream tasks. b) Other general methods based on natural language processing (NLP) such as word segmentation Cai & Zhao (2016) and named entity recognition Liu et al. (2022) cannot achieve promising results due to the lack of geographical knowledge in training corpora.
16
+
17
+ Pre-trained models (PTMs) provide a new way for the representation of natural language. By using large-scale raw text for model training, the model can learn a general representation of text Kenton & Toutanova (2019); Floridi & Chiriatti (2020); Sun et al. (2021). In Cainiao’s logistics system, addresses are the input for many downstream logistics tasks. Despite initial gains that were obtained by applying generic PTMs to logistics-related tasks at Cainiao, a clear performance plateau over
18
+
19
+ 1
20
+
21
+ time was observed. One of the main reasons for this plateau is the lack of readily geographic and logistics delivery knowledge in generic PTMs. To address this problem, we believe that a domain pre-trained model for logistics which containing geographic and logistics delivery knowledge is necessary. At the same time, relevant work in other fields (such as biomedical and academic research) Gu et al. (2021); raj Kanakarajan et al. (2021); Beltagy et al. (2019) has proven that domain-specific PTMs trained using domain-specific training corpora and domain-specific training tasks can significantly improve the performance of downstream tasks in the corresponding field. We believe that the pre-trained model in the logistics field should have the following three geographical understanding abilities: a) The ability to understand address semantics. b) The mapping ability of addresses and their corresponding geographic coordinates (longitude and latitude). c) The ability to understand the spatial topological relationships between addresses. However, existing geographic-related PTMs can not meet with all these abilities at the same time Gao et al. (2022); Huang et al. (2022); Ding et al. (2023), and the main research fields of these PTMs are map retrieval or urban space research, which are obviously different from the logistics field in terms of research purposes and methods.
22
+
23
+ Given the above, we propose G2PTL, a delivery address pre-trained model in the logistics field, which has the above three important capabilities at the same time. In the daily production of Cainiao’s logistics system, we verified the effectiveness of our model. Specifically, we tried to design and improve from the following three parts: a) Dataset. We use Cainiao’s logistics delivery data to build a large-scale delivery address heterogeneous graph for sampling training samples. We use the delivery address as the node of the graph, and use the package delivery record and location information as the edges of the graph. The connection relationship between nodes and edges in the graph represents the delivery knowledge and spatial relationship between addresses. Each training sample is a subgraph, which is part of the heterogeneous graph. By using subgraphs for training, we can better model the spatial relationships between addresses. b) Model structure. In our dataset, we use a heterogeneous graph to represent the spatial relationship between different addresses. Therefore, we choose to use a graph learning based model to learn the spatial relationships between addresses. G2PTL combines graph learning with text pre-training. G2PTL uses a Transformer encoder to learn text representations and uses a Graphormer encoder Ying et al. (2021) to learn graph information. c) Pre-training tasks. We used three different pre-training tasks to enhance the geographical understanding ability of G2PTL. We use the masked language modeling (MLM) task to improve the ability to understand address semantics of G2PTL. The geocoding task can help model learn the mapping relationship between addresses and geographic coordinates. At the same time, we design the Hierarchical Text Classification (HTC) Yu et al. (2022); Zhou et al. (2020) task to learn the administrative hierarchy information of geographical entities, and add constraints to the output of the model through the administrative hierarchy.
24
+
25
+ We evaluate G2PTL on four downstream tasks in a well-known logistics system Cainiao. Experimental results show that G2PTL achieves a significant improvement over other general NLP-based PTMs and geospatial representation PTMs when applied to logistics downstream tasks. At the same time, we also conducted ablation experiments to prove the importance of each module in G2PTL. Our contributions can be summarized in the following points:
26
+
27
+ - We propose a pre-trained model G2PTL for the delivery address to improve the performance of related tasks in the logistics field. To the best of our knowledge, this is the first attempt to pre-train the address for the logistics field.
28
+
29
+ - We construct a large-scale heterogeneous graph base on Cainiao’s real-world delivery behaviors and then introduce the graph learning method and design text-based pre-training tasks to learn the unique spatial properties of the delivery address. The results of the ablation experiments demonstrate the importance of the graph learning module.
30
+
31
+ - Extensive experiments of downstream tasks, conducted on large-scale, real-world datasets, demonstrate the superiority and effectiveness of G2PTL. The successful deployment of G2PTL at Cainiao’s logistics system has greatly improved the performance of logistics-related tasks.
32
+
33
+ ## 2 G2PTL
34
+
35
+ In this section, we introduce the design and application details of G2PTL, which includes the following parts: the construction of dataset, model architecture, and pre-training tasks.
36
+
37
+ 2
38
+
39
+ **==> picture [397 x 143] intentionally omitted <==**
40
+
41
+ Figure 1: Heterogeneous graph of address and a training sample.
42
+
43
+ In the beginning, we introduce the definition of Area of interest (AOI) in the logistics field. AOI is a geographic block unit, which is generated by cutting the real-world based on the road information and the delivery behaviors. It can be used to express single or multiple regional geographical entities in the map (such as universities, apartment communities, office buildings, shopping malls, etc.). An AOI usually contains multiple POIs. For example, there are many stores in a shopping mall. AOI is the smallest geographic block unit in the logistics system, and address-related operations in the logistics system are mainly based on AOI.
44
+
45
+ ## 2.1 DATASET
46
+
47
+ We use Cainiao’s delivery data to construct a large-scale heterogeneous graph, which contains delivery addresses and their spatial location relationship. The heterogeneous graph takes delivery addresses as nodes and the relationship between addresses as edges. We sample from the graph to get subgraphs as the pre-training dataset (see Appendix A). The graph structure of the dataset is shown in Figure 1.
48
+
49
+ ## 2.1.1 NODE
50
+
51
+ The delivery address in the logistics system is usually composed of province, city, district, town, and detailed address. In daily application, users usually add some address information (road, POI name, house number, etc.) and other remark information (put it at the door, put it in the courier cabinet, put it in the post station, etc.) to the detailed address. We design a paradigm ([POI administrative address + POI name]) to normalize the delivery address. POI administrative addresses are composed of “province + city + district + town + road + road number” in sequence. We also use this paradigm as the address representation of nodes in the heterogeneous graph.
52
+
53
+ ## 2.1.2 EDGE
54
+
55
+ There are three types of edges in the heterogeneous graph of the dataset.
56
+
57
+ - Delivery Route. It is used to represent the courier’s delivery route in the real logistics system, and this edge is obtained by analyzing the courier’s daily delivery records.
58
+
59
+ - AOI Co-locate. For the logistics system, packages are usually delivered according to the AOI area, and different POIs within the same AOI should have a high degree of spatial correlation.
60
+
61
+ - Alias. For the same POI, different users will use different POI names, such as “CCTV Headquarters”, which some users call it as “Big Pants” because of its pants-building shape. Correctly identifying aliases can greatly reduce the error rate of address parsing. We expect G2PTL to learn the alias relationship of different addresses, so if a node and another node are in the alias relationship, we will build an Alias edge between the two nodes.
62
+
63
+ There may be multiple types of edges between different nodes, so we encode the edges between nodes according to their types. We use the binary encoding to get the type code of an edge: the Delivery Route edge is at position 0, the AOI Co-locate edge is at position 1 and the Alias edge is at position 2. For example, there are Delivery Route edges and Alias edges between node A and node B, the edge between node A and node B is coded as “101”.
64
+
65
+ 3
66
+
67
+ **==> picture [396 x 230] intentionally omitted <==**
68
+
69
+ Figure 2: The architecture of G2PTL.
70
+
71
+ ## 2.2 MODEL ARCHITECTURE
72
+
73
+ G2PTL is pretrained on the dataset mentioned above in a self-supervised manner. It consists of 3 parts: i) a Transformer encoder _Transenc_ for extracting the text representation of the address; ii) a Graphormer encoder for learning graph structure, which incorporates graph information by modifying the self-attention matrix based on the multi-head self-attention module; iii) a Transformer encoder _Transpre_ for aggregate and redistribute the information of each node in the graph. The model architecture is shown in Figure 2.
74
+
75
+ We first insert a “[CLS]” token into the head of the node address, and then use the sentence-piece algorithm to tokenize the text into a sub-word sequence _**Si**_ = [ _**s[CLS] i** ,_ _**s**_ **[1]** _**i**[,]_ _**[ s]**_ **[2]** _**i**[, ...,]_ _**[ s][L] i**_[]][.][We][use][the] _Transenc_ to get the text vector representation _{_ _**h[i] CLS**[,]_ _**[ H] text[i]**[}]_[ of node] _**[ v][i]**_[:]
76
+
77
+ **==> picture [269 x 13] intentionally omitted <==**
78
+
79
+ where _**h[i] CLS**_[is the final hidden vector of the token “[CLS]”, which is the aggregated representation] of _**Si**_ , _**Htext[i]**_[=][[] _**[h]**_ **[1]** _**i**[,]_ _**[ h]**_ **[2]** _**i**[, ...,]_ _**[ h][L] i**_[]][and] _**[h]**_ **[1]** _**i**_[is][the][hidden][vector][of] _**[s]**_ **[1]** _**i**_[.][We][use][an][embedding][layer] to encode the degree of the node to obtain its embedding vector _**Edeg[i]**_[.][Similarly,][we][encode][the] position number of the node in train sample to obtain the position embedding vector _**Epos[i]**_[.][We can] get the representation _**Hnode[i]**_[of node] _**[ v][i]**_[:]
80
+
81
+ **==> picture [268 x 14] intentionally omitted <==**
82
+
83
+ The input of edge information in G2PTL depends on the node distance matrix and the node path type matrix. For a training sample with _**n**_ nodes, the node distance matrix records the shortest distance value between nodes, with dimension [ _**n** ×_ _**n**_ ]. The node path type matrix records the path information corresponding to the shortest distance between nodes, which is composed of the type code of each edge in the path, with dimension [ _**n** ×_ _**n** ×_ **(** _**n −**_ **1)** ]. We use an embedding layer to encode the node distance matrix to obtain the _Distance Encoding_ _**E**_ of the training sample; for the processing of the node path type matrix, we first use an embedding layer to encode it, and then average the embedding value in the node dimension to obtain the _Route Encoding_ _**R**_ of the training sample. We add _**E**_ and _**R**_ as biases to the self-attention matrix of the Graphormer encoder.
84
+
85
+ To learn the spatial relationship between nodes, we first aggregate the representations of nodes and then use Graphormer encoder to redistribute it to each node. Specifically, we concatenate the representations _**Hnode[i]**_[of all nodes into a matrix] _**[ H]**_[=] _[ {]_ _**[H] node**_ **[1]** _[,]_ _**[ H] node**_ **[2]** _[, ...,]_ _**[ H] node[n]**[}]_[, with dimension] _**′ ′**_ [ _**n** ×_ _**d**_ ]. The first Graphormer Layer in Graphormer encoder uses _**H**_ as input and outputs _**H**_ , _**H**_
86
+
87
+ 4
88
+
89
+ is also the input of the next Graphormer Layer. The calculation process of the Graphormer Layer is as follows:
90
+
91
+ **==> picture [281 x 11] intentionally omitted <==**
92
+
93
+ **==> picture [291 x 43] intentionally omitted <==**
94
+
95
+ The input _**X**_ is projected by three matrices _**WQ** ∈_ R _**[d]**[×]_ _**[d]**_ , _**WK** ∈_ R _**[d]**[×]_ _**[d]**_ , _**WV** ∈_ R _**[d]**[×]_ _**[d]**_ to the corresponding representations _**Q**_ , _**K**_ , _**V**_ . _FC_ () contains 2 independent fully connected layers.
96
+
97
+ After� computation of Graphormer encoder, _**H**_ is denoted as _**H**_[�] = _{_ _**H**_[�] _**node**_ **[1]** _[,]_[ �] _**Hnode**_ **[2]** _[, ...,]_[ �] _**Hnode[n]**[}]_[,] _**Hnode[i]**_[denotes the new representation with graph information of node] _**[ v][i]**_[.][We recombine] _**H**_[�] _**node[i]**_ and _**Htext[i]**_[of][each][node][to][form][a][new][hidden][vector][representation][of][the][node][and][use][it][as][the] input of _Transpre_ : _{_ _**H**_ **[ˆ]** _**node[i]**[,]_ _**H**_ **[ˆ]** _**text[i]**[}]_[ =] _[ Trans][pre]_[(] _**H**_[�] _**node[i]**[,]_ _**[ H] text[i]**_[)] (6) where _**H**_ **[ˆ]** _**node[i]**_[and] _**H**_ **[ˆ]** _**text[i]**_[are used as input for pre-training tasks.][In G2PTL, graphormer encoder] takes the _**Hnode[i]**_[of each node as input, and obtains the output] _**H**_[�] _**node[i]**_[of each node by aggregating] and passing the features of all nodes. This will cause the information inside the _**H**_[�] _**node[i]**_[to][be] misaligned with the information in the _**H**_ **[ˆ]** _**text[i]**_[for each node,][because the] _**H**_[�] _**node[i]**_[already contains] spatial topological relationship between different nodes and the aggregated knowledge of all nodes. So we use _Transpre_ to align the information in _**H**_[�] _**node[i]**_[and] _**H**_ **[ˆ]** _**text[i]**_[for each node.]
98
+
99
+ ## 2.3 PRE-TRAINING TASKS
100
+
101
+ ## 2.3.1 MASKED LANGUAGE MODELING
102
+
103
+ In logistics systems, the addresses provided by users are often incomplete, partially duplicated, or misspelled. We hope that when the address part is partially missing or incorrect, the model can still accurately identify the semantic information in the address. We use the MLM task to learn the semantic information in the address, and the input noise brought by the MLM task can enhance the model’s ability to correct address errors when the address entered by the user is wrong. During the model training phase, we change the mask mechanism of the POI administrative address to the whole word mask (WWM), that is, once an administrative region is selected, all the words of the region name will be masked, each region has a 15% probability of being selected, and for the selected region, we replace the region name with “[MASK]” token with 80% probability, replace the region name with another region name of the same administrative level with 10% probability, and leave the region name unchanged with 10% probability. For the POI name, we use the same setting for mask probability, the difference is that the unit of the mask is each word in the POI name. This pre-training task enables the model to learn the relationship between POI names and the natural semantic information of address.
104
+
105
+ ## 2.3.2 GEOCODING
106
+
107
+ In order to learn the relationship between address and geographic coordinates, we use the S2[1] geometry discrete global grid (DGG) system to map the coordinates of the address to its corresponding S2 cell (level 18), which covers an area around 1,200 _m_[2] . S2 system uses spherical projections, which significantly reduces the distortion caused by Mercator projection. At the same time, S2 is a hierarchical system in which each cell (we call this cell as S2 cell) is a “box reference” to a subset of cells. By using the S2 cell, the geocoding task is transformed into a classification task, and each S2 cell obtains the classification label using the 2Lt3C encoding method Huang et al. (2022).
108
+
109
+ ## 2.3.3 HIERARCHICAL TEXT CLASSIFICATION
110
+
111
+ Delivery addresses are usually arranged from high-level administrative regions to low-level ones. In order to solve the problem of hierarchical structure of the address, we use the HTC task to learn the
112
+
113
+ > 1[URL removed]
114
+
115
+ 5
116
+
117
+ **==> picture [396 x 167] intentionally omitted <==**
118
+
119
+ Figure 3: Illustration of the Hierarchical Text Classification task.
120
+
121
+ administrative hierarchical relations between different administrative regions. Recall that the goal of this task is to find a node path, which is from coarse-grained at the upper level to fine-grained at the lower level according to the level of the administrative region. We first construct a tree with a depth of 5 according to the hierarchical information of the administrative region, and each node of the tree represents an administrative region. According to the parent node and child nodes of the nodes in the tree, we can know the upper-level region information and lower-level region information of each administrative region. The model uses sequential forecasting to get the level of each administrative region in the delivery address. For each delivery address, we first forecast the administrative region whose level is 1 and then find out all its subordinate region sets in the tree, and the prediction results of the next level are constrained within this set until the last level.
122
+
123
+ ## 3 EXPERIMENTS
124
+
125
+ In this section, we present the experimental results of G2PTL in different logistics-related tasks and demonstrate the superiority of G2PTL in logistics-related tasks by comparing it with other general NLP-based PTMs and geospatial representation PTMs. At the same time, we explore the importance of each module in G2PTL through ablation experiments.
126
+
127
+ ## 3.1 LOGISTICS-RELATED TASKS
128
+
129
+ ## 3.1.1 GEOCODING
130
+
131
+ The geocoding task aims to convert the address into latitude-longitude coordinates of the corresponding location on earth. We use Cainiao’s manually labeled data to evaluate the geocoding task and sample 80,000 addresses as the training set, 10,000 addresses as the validation set, and 10,000 addresses as the test set. For each address, we first use the 2Lt3C method to obtain its corresponding S2 cell (level 22) code representation. Then we use PTM to extract the hidden vector _**h[i] CLS**_ (see Equation 1) of the address as the input of the geocoding task, and use a fully connected layer for classification and fine-tuning. We use “Accuracy@N Km” as the metric, which measures the percentage of predicted locations that are apart with a distance of less than N Km to their actual physical locations.
132
+
133
+ ## 3.1.2 PICK-UP ESTIMATION TIME OF ARRIVAL
134
+
135
+ The Pick-up Estimation Time of Arrival (PETA) task aims to predict the arrival time of all packages not picked up by the courier in real-time, which is a multi-destination prediction problem without routing information. The improvement of PETA’s accuracy rate can help the logistics system to better dispatch orders, measure the courier’s overdue risk, and reduce customers’ waiting anxiety. We use Acc@N M and Mean Absolute Error (MAE) as metrics for the PETA task. For a single package that has not been picked up, we calculate the minute difference k between the actual arrival time of the package and the model’s estimated result. If k _<_ N, the model’s prediction for the package
136
+
137
+ 6
138
+
139
+ is correct. We use FDNET Gao et al. (2021) as the backbone model to evaluate the PETA task, and we use _**h[i] CLS**_[of the PTM for the package address as input. We collected the delivery information of] 170,000 real logistics packages and used them to generate 36,000 training samples, 5,000 validation samples, and 5,000 test samples.
140
+
141
+ ## 3.1.3 ADDRESS ENTITY PREDICTION
142
+
143
+ The Address Entity Prediction (AEP) task aims to predict the missing administrative region information in delivery address. Many delivery addresses filled by users in the logistics system lack administrative region, and these incomplete addresses bring great challenges to address parsing service. In Cainiao, there are many orders that fail to be delivered every day, because the incomplete address cannot be parsed correctly. We collected the address data of 50,000 orders in Cainiao, and randomly masked the administrative region. The model needs to predict the masked part of the address. For the general PTMs, we first use PTM to extract the hidden vector _**Htext[i]**_[(see][Equation] 1) of each word in the address, then use the fully connected layer for nonlinear transformation, and finally output the prediction results of N independent classifiers, where N is the length of the masked part. For G2PTL, we use the results of the HTC task as prediction results.
144
+
145
+ ## 3.1.4 ADDRESS ENTITY TOKENIZATION
146
+
147
+ The Address entity tokenization (AET) task is similar to the named entity recognition (NER) task of NLP, which tokenizes the address into different geographic entities according to the administrative information of the entity. The accuracy of AET directly affects the performance of address parsing. The AET task mainly recognizes the contextual information of the word dimension in the address, and the model needs to classify each word in the address. We first use PTM to extract the hidden vector _**Htext[i]**_[of each word in the address, then use the fully connected layer to perform the nonlinear] transformation, and finally output the classification results of each word by N independent classifiers, where N is the length of the address.
148
+
149
+ At the same time, we use the public dataset GeoGLUE[2] to test different PTMs. Limited by the data format of GeoGLUE, we test AEP and AET tasks.
150
+
151
+ Table 1: Logistics-related Tasks and Datasets used to evaluate G2PTL.
152
+
153
+ |**Task**|**#Train**|**#Val**|**#Test**|**Metric**|
154
+ |---|---|---|---|---|
155
+ |Geocoding|80,000|10,000|10,000|Acc@N km_↑_|
156
+ |Pick-up Estimation Time of Arrival|36,000|5,000|5,000|Acc@N M_↑_and MAE_↓_|
157
+ |Address Entity Prediction|40,000|5,000|5,000|Accuracy_↑_|
158
+ |Address Entity Tokenization|40,000|5,000|5,000|Accuracy_↑_|
159
+
160
+ ## 3.2 EXPERIMENTAL SETUP
161
+
162
+ ## 3.2.1 PRE-TRAINED MODELS
163
+
164
+ We first evaluate the performance of three widely used general PTMs in logistics related tasks, including BERT Kenton & Toutanova (2019), MacBERT Cui et al. (2020) and ERNIE 3.0 Sun et al. (2021). Considering the lack of geographical knowledge in the training corpora of general PTMs, we further test the performance of the geospatial representation PTMs in logistics related tasks, including GeoBERT Gao et al. (2022), MGeo Ding et al. (2023) and ERNIE-GeoL Huang et al. (2022). Since the data and code of ERNIE-GeoL are not released, we only adopt the pre-training objectives.
165
+
166
+ We also perform ablation experiments on multiple parts of G2PTL to determine their relative importance: a) G2PTL w/o GL: In this setting, we remove the Graphormer Layer of G2PTL. b) G2PTL w/o GT: In this setting, we remove the geocoding pre-training task. c) G2PTL w/o HTC: In this setting, we remove the HTC pre-training task.
167
+
168
+ The hyperparameters of _Transenc_ and _Transpre_ in G2PTL are the same as those of other PTMs, the hidden layer size is 768, and the number of attention heads is 12. The number of hidden layers in _Transenc_ is 12, and the number of hidden layers in _Transpre_ is 1. The Graphormer encoder
169
+
170
+ > 2[URL removed]
171
+
172
+ 7
173
+
174
+ Table 2: Comparison of pre-trained models on logistics-related tasks. “Avg.” is the averaged score of the four tasks(no MAE).
175
+
176
+ |PTM|Geocoding<br>Acc@1 km|Pick-up Estimation<br>Time of Arrival<br>Acc@20 M<br>MAE|Address Entity<br>Prediction<br>Accuracy|Address Entity<br>Tokenization<br>Accuracy|Avg.|
177
+ |---|---|---|---|---|---|
178
+ |BERT<br>MacBERT<br>ERNIE 3.0<br>GeoBERT<br>ERNIE-GeoL<br>MGeo|54.45%<br>52.15%<br>42.15%<br>50.30%<br>55.20%<br>60.40%|17.88%<br>69.84<br>16.64%<br>70.60<br>17.80%<br>70.13<br>18.16%<br>69.84<br>18.37%<br>69.80<br>18.30%<br>70.37|49.56%<br>50.26%<br>50.54%<br>52.42%<br>53.70%<br>53.28%|84.13%<br>84.15%<br>83.61%<br>89.89%<br>89.67%<br>90.98%|0.515<br>0.508<br>0.485<br>0.527<br>0.542<br>0.557|
179
+ |G2PTL<br>-w/o GL<br>-w/o GT<br>-w/o HTC|**65.95%**<br>57.65%<br>54.95%<br>55.45%|**18.71%**<br>**69.38**<br>18.19%<br>70.55<br>18.30%<br>70.31<br>17.68%<br>70.84|**91.94%**<br>69.75%<br>89.14%<br>58.58%|**93.61%**<br>92.13%<br>91.44%<br>90.96%|**0.676**<br>0.594<br>0.635<br>0.557|
180
+
181
+ of G2PTL contains 12 Graphormer Layers, of which the size of the hidden layer is 768, and the number of attention heads is 8. We train G2PTL for about a week on 10 Nvidia A100 GPUs. When fine-tuning on downstream tasks, we use the Adam optimizer Kingma & Ba (2014) with the learning rate initialized to 1 _×_ 10 _[−]_[6] .
182
+
183
+ ## 3.3 RESULTS AND ANALYSIS
184
+
185
+ We first evaluate the performance of G2PTL and other PTMs on logistics-related tasks. The results in Table 2 show that G2PTL significantly outperforms other PTMs on logistics-related tasks, and achieving the highest scores on each downstream task and the highest average score of 0.676. The results in Table 3 show that the address parsing performance of G2PTL is also better than other models on GeoGLUE Dataset. Experimental results show that G2PTL has comprehensively learned general geographic knowledge and logistics delivery knowledge, and this knowledge can significantly improve the performance of logistics-related tasks.
186
+
187
+ In the ablation experiments, we figure out the importance of each module in G2PTL. From the average score, the Geocoding task and the HTC task have the greatest impact on logistics-related tasks. Because G2PTL is a domain-specific PTM, its domain knowledge is mainly obtained through training corpora and pre-training tasks. Next, we explore the importance of each module of G2PTL in different downstream tasks. (1) For the geocoding task, we found that the “Acc@1 km” of “G2PTL w/o GT” has an absolute drop of 11% compared to G2PTL, which is also the largest drop in all ablation experiments. An important reason for this decrease is that geocoding is also a pre-training task because the “Acc@1 km” of “G2PTL w/o GT” is close to that of BERT. This also proves the importance of geocoding pre-training task. Com-
188
+
189
+ Table 3: Comparison of pre-trained models on GeoGLUE Dataset.
190
+
191
+ ||PTM|Address Entity<br>Prediction|Address Entity<br>Tokenization|
192
+ |---|---|---|---|
193
+ ||BERT<br>MacBERT<br>ERNIE 3.0<br>GeoBERT<br>ERNIE-GeoL<br>MGeo|Accuracy<br>49.97%<br>48.63%<br>50.77%<br>52.23%<br>55.35%<br>56.93%|Accuracy<br>92.47%<br>91.93%<br>91.70%<br>94.02%<br>93.96%<br>94.57%|
194
+ ||G2PTL|**74.07%**|**98.17%**|
195
+ ||-w/o GL|60.43%|97.25%|
196
+ ||-w/o GT|68.87%|96.48%|
197
+ ||-w/o HTC|57.33%|94.12%|
198
+
199
+ pared with G2PTL, “G2PTL w/o GL” gets an absolute drop of 8.3%. This indicates that the introduction of the Graphormer to learn aggregation information between adjacent addresses can obtain better latitude and longitude mapping results. (2) For short-term metrics such as “Acc@20 Min” in the PETA task, the most important module is the HTC task, because these short-term metrics only focus on the address information of the current package, and do not care about long-term spatio-
200
+
201
+ 8
202
+
203
+ temporal information. (3) For AEP and AET tasks, the most important module is also the HTC task, and the least important is the graph. On the one hand, the geographic administrative knowledge of the model is obtained through the HTC pre-training task, and on the other hand, AEP and AET tasks use the hidden vector of each sub-word in the input address, it focuses on the relationship of sub-words in the address, and does not focus on the spatial relationship between different addresses.
204
+
205
+ ## 4 RELATED WORK
206
+
207
+ Domain-specific PTMs use the domain-specific corpora for pre-training and usually set MLM as a pre-training task, since most training corpora are text-based. Works such as BLURB Gu et al. (2021) and BioELECTRA raj Kanakarajan et al. (2021) in the biomedical field, PatentBERT Lee & Hsiang (2019) and SciBERT Beltagy et al. (2019) in the academic research field, FinBERT Araci (2019) in the financial field, ERNIE-GeoL and MGeo in map applications and BioBERT Lee et al. (2020), Clinical-BERT Alsentzer et al. (2019) and BlueBERT Peng et al. (2019) for healthcare have demonstrated the effectiveness of domain-specific PTMs on corresponding domain-related tasks.
208
+
209
+ When using deep learning models for geospatial representation learning, various types of spatial data are usually encoded into low-dimensional vectors in hidden space, that can be easily incorporated into deep learning models Mai et al. (2022). Wing and Baldridge explored the use of geodesic grids for geo-locating entire textual documents Wing & Baldridge (2011b). Speriosu and Baldridge propose a toponym resolution method that uses, as input to the language model, context windows composed of texts from each side of each toponym Speriosu & Baldridge (2013). Adams and McKenzie described a character-level approach based on convolutional neural networks for geocoding multilingual text Adams & McKenzie (2018). Cardoso et al. described a novel approach for toponym resolution with deep neural networks, which uses pre-trained contextual word embeddings (i.e., ELMo Peters et al. (2018) or BERT Kenton & Toutanova (2019)) and bidirectional Long Short-Term Memory units to improve the accuracy of geospatial coordinate prediction Cardoso et al. (2022). Word2vec proposed by Mikolov et al. Mikolov et al. (2013) is used to compute the POItype embedding and model the relationship between the spatial distribution of POIs and land-use type Yao et al. (2017). However, Word2vec ignores statistical information and spatial information in geospatial data. To address this shortcoming, a series of related papers have been put forward continuously, such as POI2vec Feng et al. (2017), Region2vec Xiang (2020), Location2vec Zhu et al. (2019), GeoBERT, MGeo and ERNIE-GeoL. Gao et al. proposed a large-scale pre-training geospatial representation learning model called GeoBERT, which collected about 17 million POIs to construct pre-training corpora. MGeo represents the geographic context as a new modality and is able to fully extract multi-modal correlations for accurate query-POI matching. However, GeoBERT only modeled the address text, MGeo adds the latitude and longitude coordinates information to input, they do not consider the spatial topological relationship between addresses. Similar to our work, ERNIE-GeoL is trained on POI corpora, but it cannot make full utilization of the POI graph, since graph information of ERNIE-GeoL is introduced by the POI sequence, and the edge information of POIs in the graph is ignored.
210
+
211
+ ## 5 CONCLUSIONS
212
+
213
+ In this paper, we proposed G2PTL, a pre-trained domain-specific model for delivery addresses in logistics field. G2PTL overcomes the shortcomings of other PTMs and boosts the performance of logistics-related tasks. With the specifically designed dataset, model architecture and pre-training tasks, G2PTL achieves excellent results in logistics-related tasks compared to other PTMs. G2PTL uses multiple encoder structures to learn the address representation with graph information, and utilizes three pre-training tasks to learn geographic knowledge and the delivery information of addresses. G2PTL is evaluated on four downstream tasks, which provide fundamental support to the logistics system. Experimental results and ablation studies demonstrate that G2PTL outperforms other general NLP-based PTMs and geospatial representation PTMs. The improvement brought by the deployment of G2PTL to Cainiao’s logistics system proves that it can serve as a promising foundation for delivery-related tasks.
214
+
215
+ 9
216
+
217
+ ## REFERENCES
218
+
219
+ - Benjamin Adams and Grant McKenzie. Crowdsourcing the character of a place: Character-level convolutional networks for multilingual geographic text classification. _Transactions in GIS_ , 22(2): 394–408, 2018. doi: [URL removed] URL [URL removed] wiley.com/doi/abs/10.1111/tgis.12317.
220
+
221
+ - Emily Alsentzer, John R Murphy, Willie Boag, Wei-Hung Weng, Di Jin, Tristan Naumann, and Matthew McDermott. Publicly available clinical bert embeddings. _arXiv preprint arXiv:1904.03323_ , 2019.
222
+
223
+ - D. Araci. Finbert: Financial sentiment analysis with pre-trained language models, 2019.
224
+
225
+ - Iz Beltagy, Kyle Lo, and Arman Cohan. Scibert: A pretrained language model for scientific text. _arXiv preprint arXiv:1903.10676_ , 2019.
226
+
227
+ - Deng Cai and Hai Zhao. Neural word segmentation learning for Chinese. In _Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)_ . Association for Computational Linguistics, August 2016.
228
+
229
+ - Ana B´arbara Cardoso, Bruno Martins, and Jacinto Estima. A novel deep learning approach using contextual embeddings for toponym resolution. _ISPRS International Journal of Geo-Information_ , 11(1), 2022. ISSN 2220-9964. doi: 10.3390/ijgi11010028. URL [URL removed] 2220-9964/11/1/28.
230
+
231
+ - Yiming Cui, Wanxiang Che, Ting Liu, Bing Qin, Shijin Wang, and Guoping Hu. Revisiting pretrained models for chinese natural language processing. _arXiv preprint arXiv:2004.13922_ , 2020.
232
+
233
+ - Ruixue Ding, Boli Chen, Pengjun Xie, Fei Huang, Xin Li, Qiang Zhang, and Yao Xu. A multi-modal geographic pre-training method. _CoRR_ , abs/2301.04283, 2023. doi: 10.48550/arXiv.2301.04283. URL [URL removed]
234
+
235
+ - Shanshan Feng, Gao Cong, Bo An, and Yeow Meng Chee. Poi2vec: Geographical latent representation for predicting future visitors. _Proceedings of the AAAI Conference on Artificial Intelligence_ , 31(1), Feb. 2017. doi: 10.1609/aaai.v31i1.10500. URL [URL removed] php/AAAI/article/view/10500.
236
+
237
+ - Luciano Floridi and Massimo Chiriatti. Gpt-3: Its nature, scope, limits, and consequences. _Minds and Machines_ , 30(4):681–694, 2020.
238
+
239
+ - Chengliang Gao, Fan Zhang, Guanqun Wu, Qiwan Hu, Qiang Ru, Jinghua Hao, Renqing He, and Zhizhao Sun. A deep learning method for route and time prediction in food delivery service. In _Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining_ , pp. 2879–2889, 2021.
240
+
241
+ - Yunfan Gao, Yun Xiong, Siqi Wang, and Haofen Wang. Geobert: Pre-training geospatial representation learning on point-of-interest. _Applied Sciences_ , 12(24), 2022. ISSN 2076-3417. doi: 10.3390/app122412942. URL [URL removed]
242
+
243
+ - Daniel W. Goldberg, John P. Wilson, and Craig A. Knoblock. From text to geographic coordinates: The current state of geocoding. _URISA Journal_ , 19, 2007.
244
+
245
+ - Yu Gu, Robert Tinn, Hao Cheng, Michael Lucas, Naoto Usuyama, Xiaodong Liu, Tristan Naumann, Jianfeng Gao, and Hoifung Poon. Domain-specific language model pretraining for biomedical natural language processing. _ACM Transactions on Computing for Healthcare (HEALTH)_ , 3(1): 1–23, 2021.
246
+
247
+ - Jizhou Huang, Haifeng Wang, Yibo Sun, Yunsheng Shi, Zhengjie Huang, An Zhuo, and Shikun Feng. Ernie-geol: A geography-and-language pre-trained model and its applications in baidu maps. In _Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining_ , pp. 3029–3039, 2022.
248
+
249
+ - Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In _Proceedings of naacL-HLT_ , pp. 4171– 4186, 2019.
250
+
251
+ 10
252
+
253
+ - Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. _arXiv preprint arXiv:1412.6980_ , 2014.
254
+
255
+ - Yu-Lin Lan, Fagui Liu, Wing WY Ng, Jun Zhang, and Mengke Gui. Decomposition based multiobjective variable neighborhood descent algorithm for logistics dispatching. _IEEE Transactions on Emerging Topics in Computational Intelligence_ , 5(5):826–839, 2020.
256
+
257
+ - Jieh-Sheng Lee and Jieh Hsiang. Patentbert: Patent classification with fine-tuning a pre-trained bert model. _arXiv preprint arXiv:1906.02124_ , 2019.
258
+
259
+ - Jinhyuk Lee, Wonjin Yoon, Sungdong Kim, Donghyeon Kim, Sunkyu Kim, Chan Ho So, and Jaewoo Kang. Biobert: a pre-trained biomedical language representation model for biomedical text mining. _Bioinformatics_ , 36(4):1234–1240, 2020.
260
+
261
+ - Hao Li, Wei Lu, Pengjun Xie, and Linlin Li. Neural Chinese address parsing. In _Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)_ , pp. 3421–3431, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/ v1/N19-1346. URL [URL removed]
262
+
263
+ - Pan Liu, Yanming Guo, Fenglei Wang, and Guohui Li. Chinese named entity recognition: The state of the art. _Neurocomputing_ , 473:37–53, 2022.
264
+
265
+ - Gengchen Mai, Krzysztof Janowicz, Yingjie Hu, Song Gao, Bo Yan, Rui Zhu, Ling Cai, and Ni Lao. A review of location encoding for geoai: methods and applications. _International Journal of Geographical Information Science_ , 36(4):639–673, 2022. doi: 10.1080/13658816.2021.2004602. URL [URL removed]
266
+
267
+ - Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In C.J. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K.Q. Weinberger (eds.), _Advances in Neural Information Processing Systems_ , volume 26. Curran Associates, Inc., 2013. URL [URL removed] file/9aa42b31882ec039965f3c4923ce901b-Paper.pdf.
268
+
269
+ - Yifan Peng, Shankai Yan, and Zhiyong Lu. Transfer learning in biomedical natural language processing: an evaluation of bert and elmo on ten benchmarking datasets. _arXiv preprint arXiv:1906.05474_ , 2019.
270
+
271
+ - Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In _Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)_ , pp. 2227–2237, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-1202. URL [URL removed]
272
+
273
+ - Kamal raj Kanakarajan, Bhuvana Kundumani, and Malaikannan Sankarasubbu. Bioelectra: pretrained biomedical text encoder using discriminators. pp. 143–154, 2021.
274
+
275
+ - Michael Speriosu and Jason Baldridge. Text-driven toponym resolution using indirect supervision. In _Annual Meeting of the Association for Computational Linguistics_ , 2013.
276
+
277
+ - Y. Sun, S. Wang, S. Feng, S. Ding, and H. Wang. Ernie 3.0: Large-scale knowledge enhanced pre-training for language understanding and generation. _arXiv preprint arXiv:2107.02137_ , 2021.
278
+
279
+ - Haomin Wen, Youfang Lin, Fan Wu, Huaiyu Wan, and Yinghui Xu. Package pick-up route prediction via modeling couriers’ spatial-temporal behaviors. In _2021 IEEE 37th International Conference on Data Engineering (ICDE)_ , 2021.
280
+
281
+ - Benjamin Wing and Jason Baldridge. Simple supervised document geolocation with geodesic grids. In _Proceedings of the 49th annual meeting of the association for computational linguistics: Human language technologies_ , pp. 955–964, 2011a.
282
+
283
+ 11
284
+
285
+ - Benjamin P. Wing and Jason Baldridge. Simple supervised document geolocation with geodesic grids. In _Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies - Volume 1_ , HLT ’11, pp. 955–964, USA, 2011b. Association for Computational Linguistics. ISBN 9781932432879.
286
+
287
+ - Mingjun Xiang. Region2vec: An approach for urban land use detection by fusing multiple features. In _Proceedings of the 2020 6th International Conference on Computing and Artificial Intelligence_ , ICCAI ’20, pp. 13–18, New York, NY, USA, 2020. Association for Computing Machinery. ISBN 9781450377089. doi: 10.1145/3404555.3404613. URL https: //doi.org/10.1145/3404555.3404613.
288
+
289
+ - Yao Yao, Xia Li, Xiaoping Liu, Penghua Liu, Zhaotang Liang, Jinbao Zhang, and Ke Mai. Sensing spatial distribution of urban land use by integrating points-of-interest and google word2vec model. _International Journal of Geographical Information Science_ , 31(4):825–848, 2017. doi: 10.1080/13658816.2016.1244608. URL [URL removed] 2016.1244608.
290
+
291
+ - Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. Do transformers really perform badly for graph representation? _Advances in Neural Information Processing Systems_ , 34:28877–28888, 2021.
292
+
293
+ - Chao Yu, Yi Shen, and Yue Mao. Constrained sequence-to-tree generation for hierarchical text classification. In _Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval_ , pp. 1865–1869, 2022.
294
+
295
+ - Jie Zhou, Chunping Ma, Dingkun Long, Guangwei Xu, Ning Ding, Haoyu Zhang, Pengjun Xie, and Gongshen Liu. Hierarchy-aware global model for hierarchical text classification. In _Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics_ , pp. 1106–1117, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main. 104. URL [URL removed]
296
+
297
+ - Minfeng Zhu, Wei Chen, Jiazhi Xia, Yuxin Ma, Yankong Zhang, Yuetong Luo, Zhaosong Huang, and Liangjun Liu. Location2vec: A situation-aware representation for visual exploration of urban locations. _IEEE Transactions on Intelligent Transportation Systems_ , 20(10):3981–3990, 2019. doi: 10.1109/TITS.2019.2901117.
298
+
299
+ ## A TRAINING SAMPLE
300
+
301
+ The training sample of G2PTL is a subgraph sampled from the heterogeneous graph. We use _**D**_ **[** _**g**_ **1** _**, g**_ **2** _**, ..., gn**_ **]** to represent a training sample, where _**gi**_ represents the node connection informa- _**′ ′**_ tion in the heterogeneous graph. _**gi**_ = **(** _**vi, ei, vi**_ **[)]**[, where] _**[ v][i]**_[and] _**[ v] i**_[represent two nodes connected] by edge _**ei**_ . When sampling the data, we first set a base node _**vbase**_ , and then sample a node from its first-order neighbor node set _**Vbase**_ . During the sampling process, the base node has a probability to be transferred to other nodes until the number of nodes in the sample _**D**_ reaches the set value. Finally, we obtain the mutual adjacency relationship between all nodes in _**D**_ from the heterogeneous graph to form the final training samples. Each training sample is finally represented as an independent subgraph.
302
+
303
+ In our experiments, we construct the heterogeneous graph using logistics delivery records within a 6-month from Cainiao. The heterogeneous graph contains 37.7 million address nodes, 108 million Delivery Route edges, 4.4 billion AOI Co-locate edges, and 3.1 million Alias edges. We sample 200 million samples from the heterogeneous graph, the number of nodes _**k**_ in each sample is set to 6, and the transition probability _**p**_ is set to 0.8. The data details for building heterogeneous graph are shown in Table 4.
304
+
305
+ 12
306
+
307
+ Table 4: The data details for building heterogeneous graph. ”Avg.Length” is the average length of delivery sequences.
308
+
309
+ |#Packages|288.13M|
310
+ |---|---|
311
+ |#Addresses|93.12M|
312
+ |#POIs|31.64M|
313
+ |Time Range|01/06/2022 - 16/11/2022|
314
+ |#Citys|355|
315
+ |#Couriers|0.55M|
316
+ |#Delivery sequences|7.10M|
317
+ |Avg.Length|37|
318
+
319
+ **Algorithm 1:** Sampling train data on heterogeneous graph
320
+
321
+ **Input:** base node _**vbase**_ , node number _**k**_ of sample, node transition probability _**p**_ , heterogeneous graph _**G**_ **Output:** A training sample _**D**_ **[** _**g**_ **1** _**, g**_ **2** _**, ..., gn**_ **]**
322
+
323
+ **1** Initialize the node set _**Snode**_ of _**D**_ , add _**vbase**_ to _**Snode**_ ;
324
+
325
+ **2** Get the first-order neighbor node set _**Vbase**_ of _**vbase**_ from _**G**_ ; **3 while** _len(_ _**Snode** )<_ _**k**_ **do**
326
+
327
+ **4 if** _**Vbase** is not empty_ **then 5** Random sample a node _**v**_ from _**Vbase**_ ; **6** Add _**v**_ to _**Snode**_ ; **7** Remove _**v**_ from _**Vbase**_ ; **8 if** _random() <_ _**p**_ **then** _**′**_ **9** Random sample a node _**vbase**_[from] _**[ S][node]**_[;] _**′ ′**_ **10** Get the first-order neighbor node set _**Vbase**_[of] _**[ v] base**_[;] _**′ ′**_ **11** _**vbase** ←_ _**vbase**_[,] _**[ V][base]**[←]_ _**[V] base**_[;] **12 end 13 else** _**′**_ **14** Random sample a node _**vbase**_[from] _**[ S][node]**_[;] _**′ ′**_ **15** Get the first-order neighbor node set _**Vbase**_[of] _**[ v] base**_[;] _**′ ′**_ **16** _**vbase** ←_ _**vbase**_[,] _**[ V][base]**[←]_ _**[V] base**_[;] **17 end 18 end**
328
+
329
+ ## B THE GEOGRAPHICAL KNOWLEDGE OF G2PTL
330
+
331
+ ## B.1 GEOGRAPHICAL KNOWLEDGE OF RELATIVE LOCATIONS
332
+
333
+ To study the geographical knowledge of relative locations learned by G2PTL, we first use PTM to extract the hidden vector representation _**h[i] CLS**_[of][the][“[CLS]”][token][in][the][address,][and][then][use] the t-distributed stochastic neighbor embedding (t-SNE) method to project it into a two-dimensional space. We select seven districts in Hangzhou City, each district has 2,000 addresses. The t-SNE visualization results of BERT and G2PTL are shown in Figure 4. From this, we can see that the t-SNE embeddings predicted by G2PTL (Figure 4(b)) are more discriminative than those predicted by BERT (Figure 4(a)), with higher aggregation in the same regions. This shows that G2PTL can distinguish addresses located in different regions, and can learn geographical proximity information of different regions. For example, the XiHu district and the GongShu district are adjacent in Figure 4b, which is the same as in the real world. At the same time, we use Silhouette Score and CalinskiHarabaz (CH) Index to evaluate the sample aggregation degree of t-SNE visualization results, and the results are shown in Table 5. Compared with other general PTMs, G2PTL obtained significantly better aggregation evaluation results, and the CH Index reached 4,854.81, which shows that G2PTL has an excellent ability to identify address areas. The results of the ablation experiments in Table 5 prove that both the model structure and the pre-training tasks make significant contributions to G2PTL’s geographical knowledge learning.
334
+
335
+ 13
336
+
337
+ (a) **The t-SNE visualization of embeddings pro-** (b) **The t-SNE visualization of embeddings produced by BERT. duced by G2PTL.**
338
+
339
+ Figure 4: The 2D t-SNE projection of 7 districts in Hangzhou City.
340
+
341
+ Table 5: The sample aggregation evaluation results of the t-SNE visualization results.
342
+
343
+ |PTM|Silhouette Score_↑_|CH Index_↑_|
344
+ |---|---|---|
345
+ |BERT|-0.072|77.17|
346
+ |MacBERT|-0.042|29.33|
347
+ |ERNIE 3.0|-0.064|67.53|
348
+ |GeoBERT|0.009|2227.06|
349
+ |ERNIE-GeoL|-0.054|802.24|
350
+ |MGeo|0.173|3772.61|
351
+ |G2PTL|**0.264**|**4,854.81**|
352
+ |-w/o GL|-0.006|890.07|
353
+ |-w/o GT|-0.049|652.76|
354
+ |-w/o HTC|-0.025|431.85|
355
+
356
+ ## B.2 GEOGRAPHICAL KNOWLEDGE OF ADMINISTRATIVE REGIONS
357
+
358
+ We randomly replace single or multiple geographic entities in address with “[mask]” tokens and then predict them by using PTM. The prediction results can only be selected from geographic entities of the same administrative level, which belong to the upper-level geographic region. We curate two test cases to check the prediction results of PTMs, as shown in Figure 6 and Figure 7. We show the prediction probabilities of the PTM for different geographic entities, and the labels are highlighted in the figure. For Case 1, the prediction results of BERT and G2PTL are correct, but the prediction
359
+
360
+ **==> picture [318 x 152] intentionally omitted <==**
361
+
362
+ Figure 5: The prediction accuracy of G2PTL for geographic entity.
363
+
364
+ 14
365
+
366
+ results of BERT are not as discriminative as the results of G2PTL. For Case 2, the prediction result of BERT is wrong, and the prediction probability of G2PTL for the label is still far ahead. This shows that G2PTL has learned the administrative region information of geographic entities and the relationship between different administrative regions. We randomly masked the geographic entities in 10,000 addresses, and then use them to calculate the prediction accuracy of G2PTL. The experimental results are shown in Figure 5. The prediction accuracy of G2PTL for geographic entities reaches 94.83%. The HTC task brings a 41.2% improvement in absolute accuracy, which shows that the acquisition of administrative knowledge in G2PTL mainly relies on the HTC task.
367
+
368
+ (a) **The prediction results of BERT.**
369
+
370
+ **==> picture [142 x 9] intentionally omitted <==**
371
+
372
+ **----- Start of picture text -----**<br>
373
+ (b) The prediction results of G2PTL.<br>**----- End of picture text -----**<br>
374
+
375
+ Figure 6: Case 1. The prediction results of “XiXi Center, No.588, West Wenyi Road, Jiangcun Subdistrict, Xihu District, [MASK], Zhejiang Province”.
376
+
377
+ **==> picture [394 x 251] intentionally omitted <==**
378
+
379
+ **----- Start of picture text -----**<br>
380
+ (a) The prediction results of BERT. (b) The prediction results of G2PTL.<br>**----- End of picture text -----**<br>
381
+
382
+ Figure 7: Case 2. The prediction results of “Hupao Park, Hupao Road, Xihu Subdistrict, [MASK], Hangzhou, Zhejiang Province”.
383
+
384
+ 15
385
+
open_review/iclr2024_8851.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8851",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Adaptive Expansion for Hypergraph Learning",
6
+ "abstract": "Hypergraph, with its powerful ability to capture higher-order complex relationships, has attracted substantial attention recently. Consequently, an increasing number of hypergraph neural networks (HyGNNs) have emerged to model the high-order relationships among nodes and hyperedges. In general, most HyGNNs leverage typical expansion methods, such as clique expansion (CE), to convert hypergraphs into graphs for representation learning. However, they still face the following limitations in hypergraph expansion: (i) Some expansion methods expand hypergraphs in a straightforward manner, resulting in information loss and redundancy; (ii) Most expansion methods often employ fixed edge weights while ignoring the fact that nodes having similar attribute features within the same hyperedge are more likely to be connected compared with nodes with dissimilar features. In light of these challenges, we design a novel CE-based \\textbf{Ad}aptive \\textbf{E}xpansion method called \\textbf{AdE} to expand hypergraphs into weighted graphs that preserve the higher-order hypergraph structure information. Specifically, we first introduce a Global Simulation Network to pick two representative nodes for symbolizing each hyperedge in an adaptive manner. We then connect the rest of the nodes within the same hyperedge to the corresponding selected nodes. Instead of leveraging the fixed edge weights, we further design a distance-aware kernel function to dynamically adjust the edge weights to make sure that node pairs having similar attribute features within the corresponding hyperedge are more likely to be connected with large weights. After obtaining the adaptive weighted graphs, we employ graph neural networks to model the rich relationships among nodes for downstream tasks. Extensive theoretical justifications and empirical experiments over five benchmark hypergraph datasets demonstrate that AdE has excellent rationality, generalization, and effectiveness compared to classic expansion models.",
7
+ "rebuttal": "### Kind Reminder to All Reviewers\nDear All Reviewers:\n\nWe appreciate all of your valuable comments and suggestions. We have clarified all of your questions and concerns in each response and also revised some statements in our revisions, which are emphasized in blue.\n\nWe are glad that all reviewers agree the model design is novel in hypergraph learning. Most questions are related to model details, baseline comparison, and data statistics (Q1, Q2, Q3, and Q5 of Reviewer qSDB, Q4 of Reviewer UEpe, Q2 and Q3 of Reviewer 1ZMR, and Q1, Q2, and Q4 of Reviewer 7Lez), which we have thoroughly explained in each response.\n\nTo further show the strong applicability of AdE, we apply AdE for the hyperedge link prediction task during the rebuttal (**Appendix G**). Besides, we also discuss existing works about node-degree preserving hypergraph projection and further conduct another set of experiments to compare AdE and IRMM (**Appendix H**). Both additional experiments again demonstrate the effectiveness and generalization of AdE. Moreover, we list an intuitive example to show how AdE works in real-world scenarios (**Appendix I**).\n\nTo conclude, this work proposes a novel hypergraph expansion AdE to address the existing challenges in hypergraph expansion. Sufficient theoretical justification and comprehensive empirical experiments demonstrate the rationality, effectiveness, and generalization of AdE. We sincerely hope that our responses have adequately addressed all of your concerns, and please do let us know if you have any further comments or questions.\n\n### Kinder Reminder to Reviewer qSDB\nDear Reviewer qSDB,\n\nWe appreciate your constructive comments. As the deadline for rebuttal is coming up, we kindly remind you to review our responses. If our responses have addressed all your concerns, we would greatly appreciate your consideration in adjusting your rating to support this work. Should you have additional questions, please do not hesitate to let us know! Thank you again for your valuable feedback and efforts!\n\n### Response to Follow-up Comments of Reviewer 7Lez\nWe appreciate your effort to understand our model design. We would like to explain your concerns one by one as follows:\n\n*$\\textbf{Q1:}$ I get the point and understand that AdE can somehow capture the high-order relationship due to the data and training process, but I'm still not convinced that it can naturally capture the high-order relationship by model design.*\n\n$\\textbf{A1:}$ We appreciate your partial recognition that our AdE can capture the high-order relationship during the data and training process. However, we need to mention that ou [...]\n\n### Response to Follow-up Comments of Reviewer 7Lez (1/3)\nWe appreciate your follow-up comments and we would like to answer your questions as follows:\n\n*$\\textbf{Q1:}$ Why the pairwise relation can handle the high-order relationship? 1), In the example, AC is still a pairwise relationship. You can handle AC doesn't necessarily mean you can handle higher-order relationships. 2), The method proposed in the paper can only describe that BA and BC are highly related, DA and DC are not highly correlated. No matter whether A and C share similar properties or not, they will always be disconnected. The [...]\n\n### Response to Follow-up Comments of Reviewer 7Lez (2/3)\n\\\n$\\textbf{A:}$ What's more, in order to further demonstrate the rationality and the effectiveness of our representative node selection via GSi-Net, we conduct the **ablation study** to analyze the contribution of **GSi-Net**. Please refer to the following Tabe 1 or Figure 3 in our manuscript for a clearer illustration. From this table, we find out that leveraging GSi-Net (**Improvement via GSi-Net**) to select representative nodes shows an **obvious increase** over seven datasets, which validates the effectiveness of GSi-Net in selecti [...]\n\n### Response to Follow-up Comments of Reviewer 7Lez (3/3)\n*$\\textbf{Q2:}$ How well will the proposed method work on datasets having larger edge degrees and heterophily?*\n\n$\\textbf{A2:}$ We understand your concerns. Therefore, we also conducted another set of experiments over a benchmark dataset which has a large edge degree and heterophily (small homophily). **Compared with Walmart, the House dataset has a larger hyperedge degree and a smaller homophily**. Please refer to Table 2 for more details. Due to the limited time during the rebuttal period, we primarily conducted experiments over the H [...]\n\n### Response to Follow-up Comments of Reviewer qSDB (1/3)\nThank you for your follow-up comments and we would like to answer all your questions as follows:\n\n*$\\textbf{Q1:}$ The experiment result is not significant, based on the simple statistical fact that on many datasets. Besides, the improvement over the best baselines is within one standard deviation.* \n\n$\\textbf{A1:}$ Thank you for your follow-up comments and we would like to demonstrate the effectiveness of our model design from two aspects:\n\n1. From an **empirical** point of view, in our previous response A5, we provided the detailed pe [...]\n\n### Response to Follow-up Comments of Reviewer qSDB (2/3)\n*$\\textbf{Q2:}$ Why are 2 selected nodes good for preserving hyperedge information? Why not select 3 nodes or, in particular, an adaptive number of nodes?* \n\n$\\textbf{A2:}$ We are so sorry for the misleading citations. Citations 3 and 4 in the previous response introduce the definitions of bar-bell graphs. We were supposed to cite [3,4] in the current response for clearer clarification. In Section 2 of **[3]** (page 6), this work **demonstrates** that $\\text{max}\\_{v_i,v_j\\in e}|\\mathbf{S}_i - \\mathbf{S}_j|$ r**epresents the most essen [...]\n\n### Response to Follow-up Comments of Reviewer qSDB (3/3)\n*$\\textbf{Q4:}$ Propositions seem to be inappropriate enough as something that requires a formal proof, especially when their proof is also put in the main text. These propositions do not help much with establishing technical depth.* \n\n$\\textbf{A4:}$ We appr\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 3,
10
+ 8,
11
+ 6,
12
+ 5
13
+ ],
14
+ "score_mean": 5.5,
15
+ "score_variance": 4.33,
16
+ "score_spread": 5,
17
+ "score_min": 3,
18
+ "score_max": 8,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": null,
21
+ "meta_review": "This paper went over a significant discussion between authors and reviewers. The paper proposes an adaptive hypergraph expansion method to first select two representative nodes in a hyperedge based on their scalar feature projection differences, and then adaptively constructs weighted edges between the representative nodes and other nodes based on feature similarity. Based on the expanded graph, they run GNN to perform the node classification tasks. After reading all the reviews and discussions, I agree with the first and fourth reviewer that the proposed method still has unaddressed limitations preventing its acceptance. Firstly, as pointed out by multiple reviewers, the improvement over baselines is marginal, although the improvement is consistent. This is not a big issue for a theoretical paper, but a more significant improvement is expected for an empirical paper like this with many heuristic choices. Secondly, many choices are heuristic with only intuitive explanations, e.g., selecting 2 instead of adaptive number of representative nodes, the particular expansion method resulting in the bar-bell shape graph, and using distances between node features to construct weighted edges (which strongly relies on homophily of the graph). These choices lack formal theoretical justifications, with the provided propositions somewhat straightforward. Thirdly, the underlying homphily assumption is very important for the method to work but is not discussed. I expect to see more experimen",
22
+ "forum_id": "5M2MjyNR2w",
23
+ "primary_area": "unsupervised, self-supervised, semi-supervised, and supervised representation learning",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_qSDB",
28
+ "review_id": "jNOIn8BYPt",
29
+ "scores": {
30
+ "rating": 3,
31
+ "soundness": 2,
32
+ "presentation": 2,
33
+ "contribution": 2,
34
+ "confidence": 5
35
+ },
36
+ "review_text_chars": 2113,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 1623188,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_UEpe",
44
+ "review_id": "kxvA2x6TbI",
45
+ "scores": {
46
+ "rating": 8,
47
+ "soundness": 3,
48
+ "presentation": 3,
49
+ "contribution": 3,
50
+ "confidence": 5
51
+ },
52
+ "review_text_chars": 3132,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 1485533,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_1ZMR",
60
+ "review_id": "2eO0wOQPFu",
61
+ "scores": {
62
+ "rating": 6,
63
+ "soundness": 2,
64
+ "presentation": 2,
65
+ "contribution": 2,
66
+ "confidence": 3
67
+ },
68
+ "review_text_chars": 2381,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 1453517,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_7Lez",
76
+ "review_id": "VFeo4kdN18",
77
+ "scores": {
78
+ "rating": 5,
79
+ "soundness": 3,
80
+ "presentation": 3,
81
+ "contribution": 2,
82
+ "confidence": 3
83
+ },
84
+ "review_text_chars": 3052,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 873523,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }
open_review/iclr2024_8851.md ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## ADAPTIVE EXPANSION FOR HYPERGRAPH LEARNING
4
+
5
+ Authors withheld for review
6
+
7
+ ## ABSTRACT
8
+
9
+ Hypergraph, with its powerful ability to capture higher-order complex relationships, has attracted substantial attention recently. Consequently, an increasing number of hypergraph neural networks (HyGNNs) have emerged to model the high-order relationships among nodes and hyperedges. In general, most HyGNNs leverage typical expansion methods, such as clique expansion (CE), to convert hypergraphs into graphs for representation learning. However, they still face the following limitations in hypergraph expansion: (i) Some expansion methods expand hypergraphs in a straightforward manner, resulting in information loss and redundancy; (ii) Most expansion methods often employ fixed edge weights while ignoring the fact that nodes having similar attribute features within the same hyperedge are more likely to be connected compared with nodes with dissimilar features. In light of these challenges, we design a novel CE-based **Ad** aptive **E** xpansion method called **AdE** to expand hypergraphs into weighted graphs that preserve the higher-order hypergraph structure information. Specifically, we first introduce a Global Simulation Network to pick two representative nodes for symbolizing each hyperedge in an adaptive manner. We then connect the rest of the nodes within the same hyperedge to the corresponding selected nodes. Instead of leveraging the fixed edge weights, we further design a distance-aware kernel function to dynamically adjust the edge weights to make sure that node pairs having similar attribute features within the corresponding hyperedge are more likely to be connected with large weights. After obtaining the adaptive weighted graphs, we employ graph neural networks to model the rich relationships among nodes for downstream tasks. Extensive theoretical justifications and empirical experiments over five benchmark hypergraph datasets demonstrate that AdE has excellent rationality, generalization, and effectiveness compared to classic expansion models.
10
+
11
+ ## 1 INTRODUCTION
12
+
13
+ Hypergraphs, unlike pairwise relationships in traditional graphs, introduce hyperedges to connect multiple nodes, allowing for the representation of complex relationships. This concept has gained significant interest in various domains, such as social networks, community detection, and recommendation systems (Li et al., 2013; Zhang et al., 2022; Ma et al., 2022; Xia et al., 2022; An et al., 2021). To leverage the benefits of hypergraphs, a bunch of hypergraph neural networks (HyGNNs) (Jiang et al., 2019; Yi & Park, 2020; Zhang et al., 2020; Wei et al., 2022; Liao et al., 2021) have been proposed to model the rich connectivity patterns within hypergraphs effectively. Generally speaking, most HyGNNs methods primarily leverage typical expansion methods, e.g., clique expansion (CE) (Sun et al., 2008), star expansion (SE) (Agarwal et al., 2006), and line expansion (LE) (Yang et al., 2022), to convert hypergraphs into graphs, e.g., bipartite graphs (Chien et al., 2022; Xue et al., 2021) or weighted graphs (Feng et al., 2019), and further employ neural networks to model the complex structure within hypergraphs. Specifically, the CE technique substitutes hyperedges with cliques that edges connect every pair of nodes. For instance, HyperGCN (Yadati et al., 2019) utilizes a CE-based method to transfer the hypergraph structure into a weighted graph structure. The LE method, proposed by LEGNN (Yang et al., 2022), aims to construct a graph where vertices in the converted graph are made up of node-hyperedge pairs, as illustrated in Figure 1. If two vertices share the same node or hyperedge in the hypergraph, the two vertices are connected.
14
+
15
+ Although existing HyGNNs with classic expansion methods achieve excellent performance in modeling the complex relationships among nodes and hyperedges, these works (Yadati et al., 2019; Feng et al., 2019; Zhang et al., 2020; Yang et al., 2022) still face the following limitations in hypergraph
16
+
17
+ 1
18
+
19
+ expansion: (i) Some existing methods, such as CE-based methods, convert hypergraphs into graphs based on the hypergraph structure in a relatively straightforward manner, often resulting in information loss or redundancy. For instance, the classic CE method connects all node pairs within the same hyperedge and makes it a fully connected subgraph, which will bring the redundant information in the converted graph (Sun et al., 2008). HyperGCN, another classic CE-based method, proposes to pick two nodes to symbolize the corresponding hyperedge and further connect the rest of the nodes with the selected nodes (Yadati et al., 2019). However, the selected nodes are not representative enough of the corresponding hyFigure 1: Illustration of classic hypergraph expanperedge, which causes certain information loss. sion methods. (ii) Most methods employ the fixed weights on each edge when expanding hypergraphs into graphs while ignoring that nodes with similar attribute features are more likely to be connected with higher weights during the expansion. For instance, HyperSAGE converts hypergraphs into bipartite graphs where the edge weights are uniformly assigned and further utilizes the hyperedge-level and node-level message-passing strategy to propagate the information among nodes in the converted bipartite graphs (Arya et al., 2020). Yet, this work ignores that nodes with similar attributes within the same hyperedge may have stronger connections during hypergraph expansion.
20
+
21
+ To handle the above challenges, we propose a novel CE-based hypergraph expansion method called **Ad** aptive **E** xpansion ( **AdE** ) that expands hypergraphs into weighted graphs, which depicts the higher-order complex relationships among nodes. Specifically, to handle the first challenge, instead of connecting all nodes within the same hyperedge indiscriminately, we design a novel Global Simulation Network (GSi-Net) to select two nodes for symbolizing each hyperedge adaptively. In particular, we first employ a pooling layer to obtain the global representations of the attribute features, followed by a simulation network to learn the importance of each feature dimension, and further obtain the adaptive weight matrix for the attribute features. After obtaining the scaled attribute feature with the adaptive weight matrix, we select two representative nodes for each hyperedge dynamically. To address the second challenge, with the selected nodes for each hyperedge, we design a novel distance-aware kernel function to learn the edge weights to make sure that the edge between two nodes with similar attribute features will have a higher weight during hypergraph conversion. Last, the weighted graph can be fed to any graph neural networks (GNNs) for representation learning. To conclude, this work makes the following contribution:
22
+
23
+ - _**Novelty:**_ We design a novel expansion method called AdE, including a GSi-Net and a distance-aware kernel function to expand hypergraphs into weighted graphs adaptively over different downstream tasks, which is the first work that learns to find the optimal graph structures adaptively during hypergraph expansion.
24
+
25
+ - _**Generalization:**_ Our model is designed as a general expansion method that expands hypergraphs into weighted graphs, enabling powerful GNNs to effortlessly and seamlessly study hypergraphs. Theoretic justification also demonstrates the generalization of AdE.
26
+
27
+ - _**Effectiveness:**_ Theoretic justification and empirical experiments over five benchmark hypergraph datasets demonstrate the effectiveness of our model.
28
+
29
+ ## 2 RELATED WORKS
30
+
31
+ **Hypergraph Expansions in Hypergraph Neural Networks.** Unlike graphs where the edge connects two nodes, hypergraphs allow hyperedge to connect an arbitrary number of nodes which can depict high-order complex relationships. Most hypergraph neural networks (HyGNNs) first convert hypergraphs to (weighted) graphs via classic expansion methods, i.e., clique expansion (CE) (Sun et al., 2008), star expansion (SE) (Agarwal et al., 2006), line expansion (LE) (Yang et al., 2022) and its variants (Yadati et al., 2019; Feng et al., 2019; Zhou et al., 2006) and further feed the con-
32
+
33
+ 2
34
+
35
+ verted graph to neural networks for representation learning. Clique expansion, one of the classic expansions, replaces hyperedges with cliques in which every node of pairs within the corresponding hyperedge is connected. For instance, recent studies, i.e., HyperGCN (Yadati et al., 2019) and HGNN Feng et al. (2019) propose updated CE-based methods to convert hypergraphs into weighted graphs and further learn the hypergraph representations for node classification tasks through graph neural networks, e.g, GCN (Kipf & Welling, 2017) and GAT (Veliˇckovi´c et al., 2018). Star expansion, another classic expansion, creates a set of nodes that represent hyperedges and further connects each new node with nodes that are in the corresponding hyperedge. The graph constructed by SE forms a bipartite graph. Several methods (Chien et al., 2022; Arya et al., 2020) are inspired by SE that treats the hypergraph as a bipartite graph and builds message-passing functions on hypergraphs (Yang et al., 2022). For example, UniGNN (Huang & Yang, 2021) generalizes GNNs (Kipf & Welling, 2017; Veliˇckovi´c et al., 2018; Xu et al., 2019) to hypergraph, and AllSet further unifies a whole class of two-stage models with multiset functions (Chien et al., 2022). Line expansion (LE) (Yang et al., 2022) constructs a graph with a new set of nodes where each node represents a node-hyperedge pair in the original hypergraph, and any two new nodes are connected if they share the same node or hyperedge on the hypergraph. LEGNN leverages LE to build new graphs and further learn the node embeddings through GNNs. However, these methods fail to preserve high-order information within hypergraphs concisely and may lead to undesired losses in hypergraph conversion. Inspired by existing HyGNNs, this work proposes an adaptive hypergraph expansion to expand hypergraphs into weighted graphs to depict the higher-order relationships among nodes.
36
+
37
+ **Graph Neural Networks.** Graph neural networks (GNNs) (Hamilton et al., 2017), considering both the node features and the graph structure, have become the state-of-the-art approach to learning graph representations. We would like to introduce several popular GNNs: Graph Convolution Network (GCN) Kipf & Welling (2017) implements a layer-wise propagation rule to learn the node embedding; Graph Attention Network (GAT) (Veliˇckovi´c et al., 2018) employs attention mechanisms to measure the importance of neighboring nodes when aggregating features; Graph Isomorphism Network (GIN) (Xu et al., 2019) is designed to utilize the Weisfeiler-Lehman Isomorphism Test Weisfeiler & Leman (1968) for neighbor aggregation to enhance the capacity of GNNs in distinguishing different graph structures. To leverage the powerful GNNs to learn the complex interaction in hypergraphs, inspired by existing works (e.g., HyperGCN and HGNN), we feed the weighted graph via our designed adaptive hypergraph expansion method to GNNs for downstream tasks.
38
+
39
+ ## 3 PRELIMINARY
40
+
41
+ **Definition 3.1. Hypergraph.** Given a hypergraph _H_ = ( _V, E, X_ ), _V_ is the set of nodes with size _N_ = _|V|_ , _E_ is the set of hyperedges with size _M_ = _|E|_ , and _X_ is the attribute feature set. Unlike the pair-wise edge in a graph that only connects two vertices, each hyperedge represents a higherorder interaction among a set of nodes. A hypergraph can be represented by an incidence matrix **H** _∈_ R _[N][×][M]_ , where **H** _v,e_ = 1 if _v ∈ e_ ; otherwise, **H** _v,e_ = 0. Here node _v ∈V_ and hyperedge _e ∈E_ . Besides, we use _d_ ( _v_ ) =[�] _e∈E_ **[H]** _[v,e]_[and] _[ d]_[(] _[e]_[)][=][�] _v∈V_ **[H]** _[v,e]_[to denote the degrees of node] and hyperedge, respectively.
42
+
43
+ **Definition 3.2. Graph Neural Networks (GNNs).** Most GNNs (Wu et al., 2019; Wang et al., 2019; Schlichtkrull et al., 2018; Yun et al., 2019; Liu et al., 2021) follow the neighbor aggregation operation in the messaging passing framework. Specifically, each node receives and aggregates the messages from the neighbor nodes recursively in multiple layers. For instance, the propagation rule of GNNs is formulated as follows:
44
+
45
+ **==> picture [291 x 15] intentionally omitted <==**
46
+
47
+ where **Z**[(] _[l]_[+1)] is the ( _l_ + 1)-th layer embeddings, _Ni_ is the neighbors of node _vi_ , and _M_ ( _·_ ; _W_[(] _[l]_[+1)] ) is the ( _l_ +1)-th message passing function with parameters _W_ . Note that our framework is applicable to any GNNs, e.g., GCN (Kipf & Welling, 2017) and GAT (Veliˇckovi´c et al., 2018).
48
+
49
+ **Problem 1.** _Given a hypergraph H_ = ( _V, E, X_ ) _with ground-truth labels Y , the objective is to design a hypergraph expansion method to convert hypergraph to a weighted graph Ga and further employ GNNs with a mapping function fϕ_ : _V →_ R _[d] (with parameter ϕ) to project each node vi ∈V to a d-dimensional embedding for downstream tasks with Y ._
50
+
51
+ 3
52
+
53
+ **==> picture [397 x 118] intentionally omitted <==**
54
+
55
+ Figure 2: The overall framework of AdE: given a hypergraph _H_ = ( _V, E, X_ ) with attribute feature **X** , (i) AdE first feeds the attribute feature **X** into a global pooling layer, and leverages simulation network (Si-Net) to learn the importance of each feature dimension, further obtaining the weight matrix _Wg_ . Afterward, AdE scales the attribute feature **X** _a_ with the learnable weight matrix _Wg_ and identifies a representative node pair ( _ve− , ve_ +) for each hyperedge _e_ . (ii) with representative node pairs, AdE designs a distance-aware kernel function with prior distance information to adaptively learn the edge weights and further constructs an adaptive weighted graph _G_ a.
56
+
57
+ ## 4 METHODOLOGY
58
+
59
+ In this section, we present the details of our new **Ad** aptive **E** xpansion method called AdE, which includes the following two key stages: (i) the **G** lobal **Si** mulation **Net** work (GSi-Net) for adaptive representative node selection and (ii) the distance-aware kernel function to learn the weights among node pairs dynamically.
60
+
61
+ ## 4.1 GSI-NET FOR ADAPTIVE REPRESENTATIVE NODE SELECTION
62
+
63
+ Previous works (Yadati et al., 2019; Feng et al., 2019; Bai et al., 2021; Chien et al., 2022) primarily convert hypergraphs into graphs via some expansion methods (e.g., CE) and further leverage neural networks to learn the complex structure within hypergraphs. The classic CE method is not concise enough and may lead to information redundancy as every pair of nodes within the corresponding hyperedges is connected. To handle this, HyperGCN proposes an updated CE-based expansion method that employs hypergraph Laplacian with mediators (Chan & Liang, 2020) to expand hypergraphs _H_ to graphs _G_ by learning a non-linear function over the real-valued signal **S** (Yadati et al., 2019). Specifically, HyperGCN first computes a real-valued signal **S** _∈_ R _[N]_ where **S** = **X** _· W_ r, with random feature weight _W_ r. With the signal **S** , for each hyperedge _e_ , HyperGCN selects two nodes ( _ve_ + _, ve−_ ) based on the following rule: ( _ve_ + _, ve−_ ) = arg max _vi,vj ∈e |_ **S** _i −_ **S** _j|_ . The aforementioned node selection approach is based on the existing works (Zhang et al., 2017; Zhou et al., 2006), which show that two nodes within the largest distance within the hyperedge can represent the information within the hyperedge to a large extent. Then HyperGCN connects these two nodes, and all other nodes in the hyperedge with two representative nodes _ve_ +, and _ve−_ , respectively. Afterward, HyperGCN obtains the weighted graph, where each edge is assigned a fixed weight 2 _|e_ 1 _|−_ 3[, for further] representation learning.
64
+
65
+ However, these existing methods still face the following limitations: (i) Due to the uncertainty of the random matrix for the real-value signal **S** , the selected representative nodes for each hyperedge are biased and are not representative enough for the corresponding hyperedge. (ii) The edge weights among node pairs in _G_ are fixed, which ignores the fact that nodes with similar attribute features are more likely to be connected. To this end, we first design a **G** lobal **S** imulation **Net** work (GSi-Net) to select the most representative node pair for each hyperedge adaptively. Furthermore, we design a distance-aware kernel function to dynamically adjust the weights on edges in a weighted graph _G_ a.
66
+
67
+ **Global Simulation Network.** Due to the limitation of the existing methods for representative node selection based on the attribute features, we propose to learn a flexible and informative attribute matrix that can be utilized to identify the most characteristic node pair for the hyperedge dynamically. Specifically, we first employ a pooling layer, i.e., global mean pooling, to obtain the global level representation of the attribute features **X** g _∈_ R[1] _[×][b]_ , where **X** g = _N_ 1 � _Ni_ =0 **[X]** _[i,]_[:][and] _[ b]_[ is the feature]
68
+
69
+ 4
70
+
71
+ dimension. Afterward, we design a simulation network (Si-Net) to adaptively learn the importance of each feature dimension, which is formulated as follows:
72
+
73
+ **==> picture [265 x 12] intentionally omitted <==**
74
+
75
+ where _W_ g _∈_ R[1] _[×][b]_ is the weight matrix and _σ_ is the sigmoid activation function. Moreover, we further scale the attribute feature **X** a with the weight matrix _W_ g of the attribute feature, where **X** a = **X** _⊙ W_ g. By dynamically learning the importance of each feature dimension, we hope that our scaled attribute feature **X** a is informative for selecting the excellent node pair for representing the corresponding hyperedge.
76
+
77
+ **Representative Node Selection.** Instead of using the original attribute feature with random noise as the real-value signal **S** in HyperGCN, we employ the sum of scaled attribute feature **X** a among feature dimensions as the signal **S** =[�] _[b] k_ =1 **[X]**[a] _[,]_[(:] _[,k]_[)][,][where] **[X]**[a] _[,]_[(:] _[,k]_[)][is][the][column] _[k]_[of][the][scaled] attribute feature **X** a and **S** _∈_ R _[N]_ , to adaptively select the excellent node pair to symbolize the corresponding hyperedge, as introduced in HyperGCN (Yadati et al., 2019). In specific, for each hyperedge _e ∈E_ , we pick two nodes ( _ve− , ve_ +) to symbolize the hyperedge _e_ based on the following rule: ( _ve− , ve_ +) = arg max _vi,vj ∈e |_ **S** _i −_ **S** _j|_ . Mention that, similar to existing works (Chan & Liang, 2020; Chan et al., 2018; Louis, 2015), if multiple node pairs satisfy the rule above, we randomly select one node pair as the representation of hyperedge _e_ . Subsequently, the remaining nodes within hyperedge _e_ , denoted as _Vm[e]_[=] _[{][v][m][|][v][m]_[=] _[v] e[−][, v][m]_[=] _[v] e_[+] _[, v][m][∈][e][}]_[, are mediators.][Furthermore,] each mediator in _Vm[e]_[will connect with the representative nodes] _[ v] e[−]_[and] _[ v] e_[+][,][respectively, and we] then obtain the weighted graph _G_ a from hypergraph _H_ . The edge set in the weighted graph _G_ a for each hyperedge _e_ is denoted as _Ee_ , where _Ee_ = _{{ve− , ve_ + _}, {vm, ve− }, {vm, ve_ + _}|vm ∈Vm[e][}]_[.] Unlike existing hypergraph expansion methods, i.e., CE, SE, and LE, that expand identical graph structures for all downstream tasks, our model AdE learns to generate optimal graph structures via GSi-Net by selecting different representative node pairs adaptively for different downstream tasks. To intuitively demonstrate the differences between our model AdE and hypergraph expansion method in HyperGCN, we provide detailed comparison and illustration in Appendix B.
78
+
79
+ ## 4.2 DISTANCE-AWARE KERNEL FOR EDGE WEIGHT
80
+
81
+ As we mentioned, most existing methods assign the fixed edge weight to node pairs in the weighted graph _G_ a (Yadati et al., 2019; Dong et al., 2020; Arya et al., 2020). However, it ignores the fact that node pairs with similar attribute features should have higher edge weights as they are more likely to be connected compared with nodes with dissimilar attribute features. For instance, HyperGCN fixes the edge weight as 2 _|e_ 1 _|−_ 3[,][but][does][not][consider][that][nodes][within][the][same][hyperedge][may] exhibit different behaviors. Let’s take an intuitive example of social media. Given a social media hypergraph, where nodes are users and hyperedges describe a group of users who share the same interests. Assume a group of users is interested in photography, and two individuals focus on automotive photography while the rest are interested in landscape photography. In this case, when expanding the hypergraph to a social media graph, the fixed edge weight among these node pairs introduced by HyperGCN is inappropriate enough as these two individuals should get closer compared with the rest of the users within the group. In light of this, we design a distance-aware kernel function to learn the edge weight in an adaptive manner. Specifically, we first pre-compute the distance matrix _U_ (i.e., Euclidean distance) among nodes based on the original attribute feature **X** , where _Ui,j_ = _||_ **X** _i,_ : _−_ **X** _j,_ : _||_ 2. We hope that the prior information _U_ can guide the learning process of edge weights by considering the influence of attribute features. Afterward, we design a learnable kernel function to adjust the edge weight in _G_ a, which is formulated as follows:
82
+
83
+ **==> picture [297 x 30] intentionally omitted <==**
84
+
85
+ where _θ_ is a learnable matrix, _b_ is the dimension of **X** a, and **X** a _,_ ( _i,d_ ) is the _d_ -th element of the node _vi_ in the scaled attribute feature **X** a. Unlike existing hypergraph expansion methods that assign fixed weight to edges regardless of the downstream tasks, our novel distance-aware kernel function learns the edge weights dynamically. The edge weight between node pairs will be different if we handle different downstream tasks, which is common in real-world scenarios. Next, we would like to provide theoretical justifications for our designed distance-aware kernel function.
86
+
87
+ **Proposition 1.** _Our designed kernel function W is distance-aware._
88
+
89
+ 5
90
+
91
+ _Proof Sketch._ In Eq. 3, the kernel function _W_ is non-negative, as it is governed by the exponential function, which is strictly positive. On the one hand, the function is aware of the feature distance between the node pair ( _vi, vj_ ), as it calculates the distance in the scaled attribute space via ( **X** a _,_ ( _i,d_ ) _−_ **X** a _,_ ( _j,d_ ))[2] . The summation across the squared differences effectively captures the Euclidean distance between node _vi_ and node _vj_ . On the other hand, _Ui,j_ , as the pre-computed distance matrix in the original attribute feature space, also guides the learning process of the edge weights. To conclude, our designed kernel function _W_ is a distance-aware function.
92
+
93
+ **Proposition 2.** _The kernel function W learns to assign higher edge weights for node pairs with similar attribute features while smaller ones for less similar node pairs._
94
+
95
+ _Proof Sketch._ The kernel function _W_ in Eq. 3 can be broken into four parts: the distance between node pairs in the scaled feature space **X** a, the prior distance matrix _U_ , the learning parameters _θ_ , and the exponential function. Firstly, for a node pair ( _vi, vj_ ), we calculate the distance among each dimension via ∆[2] _d,_ ( _i,j_ )[=][(] **[X]**[a] _[,]_[(] _[i,d]_[)] _[−]_ **[X]**[a] _[,]_[(] _[j,d]_[)][)][2][to][quantify][how][close][it][is][between][the][node] pair. Besides, we employ the pre-computed distance matrix in the original feature space as the prior information to guide the learning process of the edge weights. Moreover, we introduce a learnable parameter _θ_ to control the sensitivity of the node feature similarity across _b_ dimensions. Therefore, these three parts can be denoted as _Wi,j_ = exp( _−_[1] _b_[Γ] _[i,j]_[)][, where][ Γ] _[i,j]_[=][�] _[b] d_ =1 ∆[2] _dθ,_ ( _d_[2] _i,j_ ) _Ui,j_ . In Γ _i,j_ , a smaller _θd_ would make the function more sensitive to feature differences in the _d_ dimension, while a larger _θd_ would make it less sensitive. We aim to learn these sensitivities dynamically during training to effectively capture the importance of the node features in each dimension.
96
+
97
+ Considering the two nodes occupy very similar behaviors, the distance in ∆[2] _d,_ ( _i,j_ )[and the value of] _Ui,j_ are supposed to be smaller. Besides, _θd_ learns to facilitate the similarity measures. In this case, the value of Γ _i,j_ will be smaller while the negative Γ _i,j_ will be larger, resulting in a larger value of _Wi,j_ . Therefore, these two similar nodes would be assigned larger edge weights. Otherwise, when their attribute features are less similar, the value of Γ _i,j_ will be larger while the negative Γ _i,j_ will be smaller, leading to a smaller value of _Wi,j_ .
98
+
99
+ The above theoretical justifications show that our kernel function _W_ is a distance-aware kernel function that adaptively assigns larger edge weights to similar node pairs and lower ones to less similar node pairs. Inspired by exiting work (Chan & Liang, 2020), we standardize the edge weights such that the edge weights corresponding to hyperedge _e_ are sum to 1. Formally, for each edge _{vi, vj} ∈Ee_ , we compute the normalized weight _W_[¯] _i,j_[(] _[e]_[)][with respect to hyperedge] _[ e]_[ as follows:]
100
+
101
+ **==> picture [257 x 26] intentionally omitted <==**
102
+
103
+ By the aforementioned steps, we further obtain the adaptive weighted graph _G_ a = ( _V, E_ a _, X_ a) with the adaptive adjacency matrix _A_ a, where _A_ a _,_ ( _i,j_ ) =[�] _e∈E_[I][ [] _[{][v][i][, v][j][}][∈E][e]_[]] _W_[¯] _i,j_[(] _[e]_[)][.][To][intuitively] demonstrate our proposed method AdE, we provide an example about AdE implement in real-world scenarios in Appendix J
104
+
105
+ ## 4.3 REPRESENTATION LEARNING
106
+
107
+ After obtaining the adaptive weighted graph _G_ a = ( _V, E_ a _, X_ a), inspired by UniGNN (Huang & Yang, 2021) that leverages GNNs over the converted graphs, we also employ powerful GNNs as graph encoders to learn the node embeddings over the adaptive weighted graph _G_ a. Here, we take a two-layer GCN (Kipf & Welling, 2017) as an example, denoted as AdE-GCN. The propagation rule of AdE-GCN to generate node embeddings is defined as follows:
108
+
109
+ **Z** = _A_ aReLU( _A_ a **X** a _W_[(1)] ) _W_[(2)] _,_ (5)
110
+
111
+ where _A_ a and **X** a are the weighted adjacency matrix and scaled attribute feature matrix in _G_ a, respectively. Meanwhile, _W_[(1)] and _W_[(2)] are the learnable weight matrices for the first layer and second layer, respectively. Note that our model is designed as a general expansion method, which means it can be effortlessly and seamlessly employed in any GNNs.
112
+
113
+ In this work, we employ the node classification task to evaluate the effectiveness of our designed method. Thus, we feed the node embeddings **Z** generated via GCN into the _softmax_ function to generate the probability distribution **P** , and the semi-supervised node classification loss _L_ is formulated
114
+
115
+ 6
116
+
117
+ as _L_ = _−_[�] _vi∈V_ � _c∈Y[y][i,c]_[ log(] **[P]** _[i,c]_[)][, where] _[ y][i,c]_[is the label of node] _[ v][i]_[.][The pseudo-code of AdE] is listed in Appendix Algorithm 1.
118
+
119
+ Next, we would like to prove that our expansion method expands a more effective graph compared with existing methods, such as HyperGCN.
120
+
121
+ **Proposition 3.** _Given the same selected nodes_ ( _ve− , ve_ +) _for hyperedge e, our model AdE enhances HyperGCN by generating more adaptive weighted graphs._
122
+
123
+ **Proposition 4.** _Our AdE is equivalent to weighted clique expansion in 3-uniform hypergraphs._
124
+
125
+ The theoretical justification for Proposition 3 and Proposition 4 are provided in Appendix F and Appendix G, respectively.
126
+
127
+ ## 5 EXPERIMENTS
128
+
129
+ In this section, we first introduce the experimental setup, including the benchmark datasets, baseline methods, and experimental settings. We then compare AdE with various baseline methods to show the effectiveness of AdE. Moreover, ablation studies and embedding visualizations are conducted to show the rationality and effectiveness of AdE. More details about data statistics, baseline settings, and complexity analysis are provided in Appendix C, Appendix D, and Appendix E, respectively. To show the strong applicability of AdE, we conduct additional experiments on AdE for the hyperedge prediction task, and baseline methods about node-degree preserving hypergraph projection in Appendix H and Appendix I, respectively.
130
+
131
+ ## 5.1 EXPERIMENT SETUP
132
+
133
+ **Benchmark Datasets.** To evaluate the effectiveness of our model, we employ five benchmark hypergraph datasets from (Chien et al., 2022), including two co-authorship networks, i.e., Cora-CA and DBLP, and three co-citation networks, i.e., Cora, Citeseer, and Pubmed. More detailed discussion and data statistics are introduced in Appendix C.
134
+
135
+ **Baseline methods.** We compare our model with four classic hypergraph expansion methods, including clique expansion (CE) based methods (G1), star expansion (SE) based methods (G2), line expansion (LE) based methods (G3), and Uni-based methods (G4). To fairly compare with these hypergraph expansion methods, we leverage three GNN models, i.e., Graph Convolution Network (GCN) (Kipf & Welling, 2017), Graph Attention Network (GAT) (Veliˇckovi´c et al., 2018), and Graph Isomorphism Network (GIN) (Xu et al., 2019), as backbone models over the converted graphs. Since vanilla GAT and GIN do not consider the edge weights, inspired by this work (Spielman & Srivastava, 2008), we employ a threshold to consider the edge weights during information propagation. Besides, to further comprehensively evaluate the effectiveness of our model, we also conduct experiments on MLP and five HyGNNs benchmark models, including HGNN (Feng et al., 2019), HCHA (Bai et al., 2021), HyperGCN (Yadati et al., 2019), HNHN (Dong et al., 2020), and AllSet (Chien et al., 2022). Details about baseline methods are introduced in Appendix D.
136
+
137
+ **Experimental Settings.** Our model adopts accuracy as the evaluation metric to evaluate the performance over our mode and baseline methods. We randomly select 50% of data as the training data, and the rest of the data is split evenly between the validation (25%) and testing sets (25%). Additionally, we conduct each method five times with 500 epochs and report the average score with standard deviation (std). All experiments are conducted under the environment of the Ubuntu 22.04.3 OS plus an Intel i9-12900K CPU, two GeForce RTX 3090 Graphics Cards, and 64 GB of RAM. We utilize Adam (Kingma & Ba, 2015) as the optimizer. We define specific ranges to find the optimal hyper-parameters in our model. For instance, the range of hidden dimensions for layers is _{_ 64 _,_ 128 _,_ 256 _,_ 512 _}_ , the range of weight decays is _{_ 0 _,_ 0 _._ 001 _,_ 0 _._ 0001 _,_ 0 _._ 00001 _}_ , the range of threshold is _{_ 0 _,_ 0 _._ 1 _,_ 0 _._ 15 _,_ 0 _._ 2 _,_ 0 _._ 25 _,_ 0 _._ 3 _}_ , and the range of learning rate is _{_ 0 _._ 1 _,_ 0 _._ 01 _,_ 0 _._ 001 _,_ 0 _._ 0001 _}_ . Then, we report the best performance among the optimal hyper-parameters for each method across all benchmark citation hypergraphs. 5.2 EXPERIMENT ANALYSIS
138
+
139
+ **Performance Comparison.** Table 1 shows the accuracy performance among hypergraph expansions and our model over five benchmark hypergraph datasets. The best performance of our model is highlighted in purple, and the best performance among all baseline methods is highlighted in
140
+
141
+ 7
142
+
143
+ Table 1: Performance comparison (Mean accuracy % ± std) of hypergraph expansion methods on GNNs for node classification. Purple-shaded numbers indicate the best results of our models, and gray-shaded numbers represent the best results of baseline methods.
144
+
145
+ |gray-shaded numbers represent the best results of baseline methods.|gray-shaded numbers represent the best results of baseline methods.|gray-shaded numbers represent the best results of baseline methods.|gray-shaded numbers represent the best results of baseline methods.|gray-shaded numbers represent the best results of baseline methods.|gray-shaded numbers represent the best results of baseline methods.|gray-shaded numbers represent the best results of baseline methods.|
146
+ |---|---|---|---|---|---|---|
147
+ |Group<br>Model<br>Cora-CA<br>DBLP<br>Cora<br>Citeseer<br>Pubmed|||||||
148
+ ||||||||
149
+ |G1<br>CE-GCN<br>77.99 ± 0.85<br>87.03 ± 0.25<br>77.24 ± 1.32<br>70.44 ± 0.70<br>81.42 ± 0.54<br>CE-GAT<br>78.05 ± 1.27<br>87.25 ± 0.28<br>76.04 ± 1.56<br>69.30 ± 1.79<br>81.34 ± 0.53<br>CE-GIN<br>79.26 ± 1.35<br>88.90 ± 0.13<br>76.81 ± 2.30<br>69.70 ± 1.03<br>84.31 ± 0.25|||||||
150
+ |G2|SE-GCN|81.01 ± 1.37|89.57 ± 0.25|79.04 ± 1.32|71.03 ± 2.03<br>71.14 ± 1.48|82.14 ± 0.48<br>83.32 ± 0.38|
151
+ ||SE-GAT|81.14 ± 1.78|89.45 ± 0.29|78.91 ± 2.65|||
152
+ ||SE-GIN|77.82 ± 1.46|88.62 ± 0.29|75.82 ± 2.36|71.79 ± 1.21|85.75 ± 0.55|
153
+ ||||||||
154
+ |G3|LE-GCN<br>LE-GAT|81.71 ± 1.41<br>81.68 ± 1.61|90.21 ± 0.29<br>90.14 ± 0.37|77.23 ± 1.28<br>76.99 ± 1.53<br>76.75 ± 2.02|70.80 ± 2.06<br>68.55 ± 1.70<br>71.59 ± 0.76|81.62 ± 0.39<br>82.93 ± 0.82<br>84.30 ± 0.47|
155
+ ||LE-GIN|81.74 ± 1.89|90.08 ± 0.34||||
156
+ ||||||||
157
+ |G4<br>Uni-GCN<br>79.74 ± 1.96<br>89.06 ± 0.95<br>78.86 ± 1.54<br>71.38 ± 0.81<br>85.72 ± 0.53<br>Uni-GAT<br>78.98 ± 2.47<br>86.66 ± 1.22<br>77.92 ± 2.03<br>71.30 ± 0.82<br>85.33 ± 0.27<br>Uni-GIN<br>77.59 ± 2.49<br>89.52 ± 1.15<br>76.84 ± 1.25<br>71.55 ± 1.15<br>85.72 ± 0.36|||||||
158
+ |Ours|AdE-GCN|82.07 ± 0.88|90.53 ± 0.46|80.74 ± 1.94|72.49 ± 0.94|87.68 ± 0.54<br>84.26 ± 0.25|
159
+ ||AdE-GAT|80.79 ± 1.32|90.41 ± 0.16|80.71 ± 0.74|71.57 ± 1.42||
160
+ ||AdE-GIN|81.71 ± 1.25|90.86 ± 0.16|79.11 ± 2.70|70.34 ± 1.56|87.88 ± 0.43|
161
+
162
+ Table 2: Performance comparison (Mean accuracy % ± std) of baseline methods for node classification. Purple-shaded numbers indicate the best results and gray-shaded numbers represent the runner-up performance.
163
+
164
+ |runner-up performance.|runner-up performance.|runner-up performance.|runner-up performance.|runner-up performance.|runner-up performance.|
165
+ |---|---|---|---|---|---|
166
+ |Model<br>Cora-CA<br>DBLP<br>Cora<br>Citeseer<br>Pubmed||||||
167
+ |||||||
168
+ |MLP<br>71.34 ± 1.33<br>84.79 ± 0.18<br>71.34 ± 1.33<br>69.32 ± 1.54<br>86.34 ± 0.34<br>HGNN<br>81.32 ± 2.23<br>90.52 ± 0.14<br>79.59 ± 2.59<br>71.62 ± 0.82<br>82.02 ± 0.39<br>HCHA<br>80.81 ± 1.92<br>90.52 ± 0.26<br>79.62 ± 2.41<br>71.24 ± 1.36<br>82.17 ± 0.42<br>HyperGCN<br>79.08 ± 1.53<br>89.54 ± 2.93<br>78.39 ± 2.03<br>70.39 ± 1.09<br>82.43 ± 1.88<br>HNHN<br>73.41 ± 1.82<br>87.77 ± 0.22<br>72.38 ± 2.04<br>69.82 ± 1.93<br>80.72 ± 0.53<br>AllSet<br>81.00 ± 4.10<br>91.34 ± 0.27<br>78.18 ± 1.53<br>71.55 ± 1.41<br>86.87 ± 1.13||||||
169
+ |Ours|82.07 ± 0.88|90.86 ± 0.16|80.74 ± 1.94|72.49 ± 0.94|87.88 ± 0.43|
170
+
171
+ gray. According to Table 1, we make the following conclusions: (i) Merely leveraging the classic CE method to expand hypergraphs is not sufficient to depict the complex high-order relationships among hypergraphs, as all model performances in G1 have the worst performance compared with other groups. (ii) Other hypergraph expansion methods achieve relatively satisfactory performance over different hypergraphs, showing their advanced ability over some hypergraphs. For instance, LE-GIN shows excellent performance over Cora-CA, DBLP, and SE-based methods show better performance over Cora, Citeseer, and Pubmed hypergaph datasets. (iii) Compared with all methods, our AdE-based methods outperform all baseline methods, which shows the strong effectiveness of AdE. Table 2 shows the accuracy performance among MLP, five HyGNNs methods, and our AdE. The best performance is highlighted in purple, and the runner-up performance is highlighted in gray. Based on Table 2, we find that: (i) all HyGNNs models outperform the feature-based method MLP, showing that hypergraph structure enhances the performance for node classification tasks to a large extent. (ii) CE-based methods, i.e., HNHN, HGNN, HCHA, and HyperGCN show comparable performance over Cora-CA, Cora, and Citeseer, while SE-based method AllSet, outperforms these CE-based methods on DBLP and Pubmed. (iii) AdE method outperforms all HyperGNNs on Cora-CA, Cora, Citeseer, and Pubmed, and shows competitive performance over DBLP, which again shows the superiority of our model.
172
+
173
+ 8
174
+
175
+ **==> picture [396 x 107] intentionally omitted <==**
176
+
177
+ Figure 3: Performances of different model variants over DBLP, Cora, Citeseer, and Pumbed.
178
+
179
+ **Ablation Study.** To show the effectiveness of each component in our framework, we conduct a set of ablation experiments over four benchmark hypergraph datasets for node classification tasks and further analyze the contribution of each component in our framework, i.e., our GSi-Net and Kernel function (A1), GSi-Net (A2), kernel function (A3), by removing it separately, as illustrated in Figure 3. First, we remove the GSi-Net and kernel function from our model (A1), which means we employ classic clique expansion to obtain the graph and feed the converted graph to GNNs for representation learning. We conclude that our adaptive expansion method is effective enough as the performance of A1 drops significantly on all four hypergraph datasets. Afterward, we remove GSiNet from our model, which means we utilize the distance-aware kernel function to assign weights to the graph obtained via classic CE. The performance of A2 decreases obviously in all four datasets, showing the effectiveness of the GSi-Net module. Moreover, we remove the kernel function from our model, which means we merely employ the GSi-Net to obtain the graph while assigning the fixed edge weights. The decline of A3 shows that the kernel function has contributed to our model.
180
+
181
+ **Embedding Visualization.** To further examine the effectiveness of our model intuitively, we render the embeddings of three citation datasets generated by AdE-GIN, HyperGCN, LE-GIN, and HCHA in Figure 4. Each unique color represents the embeddings corresponding to a specific class. According to Figure 4, our model shows more distinct boundaries and smaller overlapping areas compared with other baseline methods, which again demonstrates the effectiveness of our expansion on hypergraph representation learning for node classification tasks.
182
+
183
+ **==> picture [397 x 205] intentionally omitted <==**
184
+
185
+ Figure 4: Embeddings visualization for AdE-GIN, HyperGCN, LE-GIN, and HCHA over citation hypergraphs, including Cora-CA, Cora, and Citeseer.
186
+
187
+ ## 6 CONCLUSION
188
+
189
+ In this paper, we introduce a novel CE-based adaptive expansion method called AdE to address the limitations of existing hypergraph expansion methods. We first introduce a novel global simulation network called GSi-Net to choose two representative nodes for each hyperedge in an adaptive manner to symbolize each hyperedge. Then we devise a distance-aware kernel function that dynamically
190
+
191
+ 9
192
+
193
+ adjusts the edge weights to ensure that nodes with similar attribute features within the corresponding hyperedge are more likely to be connected. Afterward, we leverage graph neural networks to model the complex interaction among nodes for downstream classification tasks. We also provide extensive theoretical justifications and experiments over five benchmark hypergraphs to demonstrate that AdE is rational, general, and effective, compared to classic expansion methods.
194
+
195
+ ## REFERENCES
196
+
197
+ Sameer Agarwal, Kristin Branson, and Serge Belongie. Higher order learning with graphs. In _ICML_ , 2006.
198
+
199
+ - Guoyuan An, Yuchi Huo, and Sung-Eui Yoon. Hypergraph propagation and community selection for objects retrieval. In _NeurIPS_ , 2021.
200
+
201
+ - Devanshu Arya, Deepak K Gupta, Stevan Rudinac, and Marcel Worring. Hypersage: Generalizing inductive representation learning on hypergraphs. _arXiv preprint arXiv:2010.04558_ , 2020.
202
+
203
+ Song Bai, Feihu Zhang, and Philip HS Torr. Hypergraph convolution and hypergraph attention. _Pattern Recognition_ , 2021.
204
+
205
+ - Vincent D Blondel, Jean-Loup Guillaume, Renaud Lambiotte, and Etienne Lefebvre. Fast unfolding of communities in large networks. _Journal of statistical mechanics: theory and experiment_ , 2008.
206
+
207
+ - T-H Hubert Chan and Zhibin Liang. Generalizing the hypergraph laplacian via a diffusion process with mediators. _Theoretical Computer Science_ , 2020.
208
+
209
+ - T-H Hubert Chan, Anand Louis, Zhihao Gavin Tang, and Chenzi Zhang. Spectral properties of hypergraph laplacian and approximation algorithms. _Journal of the ACM_ , 2018.
210
+
211
+ - Eli Chien, Chao Pan, Jianhao Peng, and Olgica Milenkovic. You are allset: A multiset function framework for hypergraph neural networks. In _ICLR_ , 2022.
212
+
213
+ - Chris Ding and Xiaofeng He. Cluster merging and splitting in hierarchical clustering algorithms. In _ICDM_ , 2002.
214
+
215
+ - Yihe Dong, Will Sawin, and Yoshua Bengio. Hnhn: Hypergraph networks with hyperedge neurons. _arXiv preprint arXiv:2006.12278_ , 2020.
216
+
217
+ - Yifan Feng, Haoxuan You, Zizhao Zhang, Rongrong Ji, and Yue Gao. Hypergraph neural networks. In _AAAI_ , 2019.
218
+
219
+ - Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. In _ICLR Workshop on Representation Learning on Graphs and Manifolds_ , 2019.
220
+
221
+ - William L Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In _NeurIPS_ , 2017.
222
+
223
+ - Jing Huang and Jie Yang. Unignn: a unified framework for graph and hypergraph neural networks. In _IJCAI_ , 2021.
224
+
225
+ Jianwen Jiang, Yuxuan Wei, Yifan Feng, Jingxuan Cao, and Yue Gao. Dynamic hypergraph neural networks. In _IJCAI_ , 2019.
226
+
227
+ Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In _ICLR_ , 2015.
228
+
229
+ Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In _ICLR_ , 2017.
230
+
231
+ - Tarun Kumar, Sankaran Vaidyanathan, Harini Ananthapadmanabhan, Srinivasan Parthasarathy, and Balaraman Ravindran. Hypergraph clustering by iteratively reweighted modularity maximization. _Applied Network Science_ , 2020.
232
+
233
+ Dong Li, Zhiming Xu, Sheng Li, and Xin Sun. Link prediction in social networks based on hypergraph. In _WWW_ , 2013.
234
+
235
+ 10
236
+
237
+ - Xiaowei Liao, Yong Xu, and Haibin Ling. Hypergraph neural networks for hypergraph matching. In _ICCV_ , 2021.
238
+
239
+ - Zemin Liu, Trung-Kien Nguyen, and Yuan Fang. Tail-gnn: Tail-node graph neural networks. In _KDD_ , 2021.
240
+
241
+ - Anand Louis. Hypergraph markov operators, eigenvalues and approximation algorithms. In _STOC_ , 2015.
242
+
243
+ - Jing Ma, Mengting Wan, Longqi Yang, Jundong Li, Brent Hecht, and Jaime Teevan. Learning causal effects on hypergraphs. In _KDD_ , 2022.
244
+
245
+ - Juan Alberto Rodriguez. On the laplacian spectrum and walk-regular hypergraphs. _Linear and Multilinear Algebra_ , 2003.
246
+
247
+ - Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne Van Den Berg, Ivan Titov, and Max Welling. Modeling relational data with graph convolutional networks. In _ESWC_ , 2018.
248
+
249
+ - Daniel A Spielman and Nikhil Srivastava. Graph sparsification by effective resistances. In _STOC_ , 2008.
250
+
251
+ - Liang Sun, Shuiwang Ji, and Jieping Ye. Hypergraph spectral learning for multi-label classification. In _KDD_ , 2008.
252
+
253
+ - Petar Veliˇckovi´c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li`o, and Yoshua Bengio. Graph attention networks. In _ICLR_ , 2018.
254
+
255
+ - Xiao Wang, Houye Ji, Chuan Shi, Bai Wang, Yanfang Ye, Peng Cui, and Philip S Yu. Heterogeneous graph attention network. In _WWW_ , 2019.
256
+
257
+ - Tianxin Wei, Yuning You, Tianlong Chen, Yang Shen, Jingrui He, and Zhangyang Wang. Augmentations in hypergraph contrastive learning: Fabricated and generative. In _NeurIPS_ , 2022.
258
+
259
+ - Boris Weisfeiler and Andrei Leman. The reduction of a graph to canonical form and the algebra which appears therein. _Nauchno-Technicheskaya Informatsia_ , 1968.
260
+
261
+ - Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Simplifying graph convolutional networks. In _ICML_ , 2019.
262
+
263
+ - Lianghao Xia, Chao Huang, and Chuxu Zhang. Self-supervised hypergraph transformer for recommender systems. In _KDD_ , 2022.
264
+
265
+ Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In _ICLR_ , 2019.
266
+
267
+ - Hansheng Xue, Luwei Yang, Vaibhav Rajan, Wen Jiang, Yi Wei, and Yu Lin. Multiplex bipartite network embedding using dual hypergraph convolutional networks. In _WWW_ , 2021.
268
+
269
+ - Naganand Yadati, Madhav Nimishakavi, Prateek Yadav, Vikram Nitin, Anand Louis, and Partha Talukdar. Hypergcn: A new method for training graph convolutional networks on hypergraphs. In _NeurIPS_ , 2019.
270
+
271
+ - Naganand Yadati, Vikram Nitin, Madhav Nimishakavi, Prateek Yadav, Anand Louis, and Partha Talukdar. Nhp: Neural hypergraph link prediction. In _ICDM_ , 2020.
272
+
273
+ - Chaoqi Yang, Ruijie Wang, Shuochao Yao, and Tarek Abdelzaher. Semi-supervised hypergraph node classification on hypergraph line expansion. In _CIKM_ , 2022.
274
+
275
+ Jaehyuk Yi and Jinkyoo Park. Hypergraph convolutional recurrent neural network. In _KDD_ , 2020.
276
+
277
+ - Seongjun Yun, Minbyul Jeong, Raehyun Kim, Jaewoo Kang, and Hyunwoo J Kim. Graph transformer networks. In _NeurIPS_ , 2019.
278
+
279
+ - Chenzi Zhang, Shuguang Hu, Zhihao Gavin Tang, and TH Hubert Chan. Re-revisiting learning on hypergraphs: confidence interval and subgradient method. In _International Conference on Machine Learning_ , pp. 4026–4034. PMLR, 2017.
280
+
281
+ 11
282
+
283
+ - Erchuan Zhang, David Suter, Giang Truong, and Syed Zulqarnain Gilani. Sparse hypergraph community detection thresholds in stochastic block model. In _NeurIPS_ , 2022.
284
+
285
+ - R Zhang, Y Zou, and J Ma. Hyper-sagnn: a self-attention based graph neural network for hypergraphs. In _ICLR_ , 2020.
286
+
287
+ - Dengyong Zhou, Jiayuan Huang, and Bernhard Sch¨olkopf. Learning with hypergraphs: Clustering, classification, and embedding. In _NeurIPS_ , 2006.
288
+
289
+ 12
290
+
291
+ ## APPENDIX
292
+
293
+ ## A ALGORITHM
294
+
295
+ ## **Algorithm 1:** Training Procedure of AdE
296
+
297
+ **Data:** Hypergraph _H_ , GSi-Net, distance-aware kernel function, and GNN encoder _f_ ( _·_ ). **Result:** The adaptive weighted graph _G_ a and trained GNN encoder.
298
+
299
+ **1** Pre-compute the distance matrix _U_ .
300
+
301
+ - **2 for** _each epoch t_ **do**
302
+
303
+ - **3** Feed _H_ into GSi-Net to generate the scaled attribute feature **X** a.
304
+
305
+ - **4** Select representative nodes ( _ve− , ve_ +) based on **X** a to symbolize the hyperedge _e_ .
306
+
307
+ - **5** Compute the distance-aware edge weight _W_ via the learnable kernel function in Eq. 3. **6** Normalize the edge weight via Eq. 4.
308
+
309
+ - **7** Obtain the adaptive weighted graph _G_ a = ( _V, E_ a _, X_ a).
310
+
311
+ - **8** Feed weighted graph _G_ a into GNN encoder _f_ ( _·_ ) to generate node embedding **Z** via Eq. 5.
312
+
313
+ - **9** Optimize the GNN encoder _f_ ( _·_ ), the parameters in GSi-Net, and the parameters in distance-aware kernel function by minimizing the cross-entropy loss _L_ .
314
+
315
+ ## B COMPARISON BETWEEN EXPANSION IN HYPERGCN AND ADE
316
+
317
+ Figure 5 shows the comparison between our method AdE with the hypergraph expansion in HyperGCN. Given a hyperedge _e_ , HyperGCN selects two nodes following the rule: ( _ie, je_ ) = arg max _i,j∈e |_ **S** _i −_ **S** _j|,_ where **S** = **X** _· W_ r with random weight matrix _W_ r, and **S** _∈_ R _[N]_ . It then connects ( _ie, je_ ), and each other node in hyperedge _e_ to _ie_ and _ij_ , respectively, with a fixed weight of 2 _|e_ 1 _|−_ 3[,][forming][a][subgraph][on][the][left.][However,][our][proposed][method] AdE leverages GSi-Net to learn the weight matrix _W_ g = _σ_ ( _W_ 2 _·_ ReLU( _W_ 1 _,_ **X** _g_ )) to generate the signal **S** =[�] _[b] d_ =1 **[X]**[:] _[,d][⊙][W]_[g][,][where] **[S]** _[∈]_[R] _[N]_[.][AdE][then][finds][a][pair][of][representative][nodes] ( _ve_ + _, ve−_ ) = arg max _vi,vj ∈e |_ **S** _i −_ **S** _j|_ . Subsequently, AdE connects ( _ve_ + _, ve−_ ), and each node _vm ∈ e, vm ∈{/ ve_ + _, ve− }_ with _ve_ + and _ve_ +, respectively, with weights learned via an adaptive kernel function _Wi,j_ .
318
+
319
+ Next, we would like to conclude the process of AdE as follows:
320
+
321
+ 1. For each hyperedge _e ∈E_ , AdE selects two representative nodes ( _ve_ + _, ve−_ ) = arg max _vi,vj |_ **S** _i −_ **S** _j|_ , where **S** =[�] _[b] k_ =1 **[X]**[:] _[,k][·][ σ]_[(] _[W]_[2] _[·]_[ ReLU][(] _[W]_[1] _[·]_ **[ X]**[g][))][.][The][rest][of][nodes][in][hyperedge] _[e]_[,][i.e.,] _Vm[e]_[=] _[ {][v][m][|][v][m]_[=] _[ v] e_[+] _[, v][m]_[=] _[ v] e[−][, v][m][∈][e][}]_[ are mediators.]
322
+
323
+ 2. For each hyperedge _e ∈E_ , we connect each mediator with two representative nodes _ve_ + and _ve−_ , respectively, and further obtain the edge set _Ee_ = _{{ve_ + _, ve− }, {ve_ + _, vm}, {ve− , vm}|vm ∈Vm[e][}]_[.]
324
+
325
+ 3. We compute edge weight in each edge set _Ee_ via our designed learnable kernel function _Wi,j_ in Eq. 3, and normalize these edge weights with respect to hyperedges, _W_[¯] _i,j_[(] _[e]_[)][=] � _vk,vjW ∈Ei,je[W][k,g]_[.]
326
+
327
+ By the aforementioned steps, we obtain the weighted graph with the adaptive adjacency matrix _A_ a =[�] _e∈E_[I][[] _[{][v][i][, v][j][} ∈E][e]_[]] _W_[¯] _i,j_[(] _[e]_[)][.]
328
+
329
+ ## C DATA DESCRIPTION
330
+
331
+ To evaluate the effectiveness of our model, we employ five benchmark hypergraph datasets adapted from (Yadati et al., 2019): the coauthorship networks, i.e., Cora-CA and DBLP; the cocitation networks, i.e., Cora, Citeseer, and Pubmed. In both coauthor hypergraph datasets, documents coauthored by an author are connected via one hyperedge. In three cocitation hypergraph datasets, all documents referenced by a document are connected by a hyperedge. Table 3 lists the statistics of five benchmark hypergraph datasets.
332
+
333
+ 13
334
+
335
+ **==> picture [397 x 179] intentionally omitted <==**
336
+
337
+ Figure 5: Comparison between hypergraph expansion in HyperGCN and AdE.
338
+
339
+ Table 3: The statistics of benchmark hypergraph datasets for node classification tasks.
340
+
341
+ ||Cora-CA|DBLP|Cora|Citeseer|Pubmed|
342
+ |---|---|---|---|---|---|
343
+ |# nodes,_N_|2,708|41,302|2,708|3,312|19,717|
344
+ |# hyperedges,_M_|1,072|22,363|1,579|1,079|7,963|
345
+ |# features|1,433|1,425|1,433|3,703|500|
346
+ |# class|7|6|7|6|3|
347
+ |avg. _d_(_e_)|4.28|4.45|3.03|3.20|4.35|
348
+ |avg. _d_(_v_)|1.69|2.41|1.77|1.04|1.76|
349
+ |node homophily|0.79|0.88|0.84|0.78|0.79|
350
+ |hyperedge homophily|0.88|0.93|0.86|0.83|0.88|
351
+
352
+ ## D BASELINE SETTINGS
353
+
354
+ We compare our model with four baseline hypergraph expansion methods, including clique expansion (CE) based methods (G1), star expansion (SE) based methods (G2), line expansion (LE) based methods (G3), and uni-based methods (G4). To fairly compare with baseline hypergraph expansion methods, we leverage three GNN models, i.e., Graph Convolution Network (GCN) (Kipf & Welling, 2017), Graph Attention Network (GAT) (Veliˇckovi´c et al., 2018), and Graph Isomorphism Network (GIN) (Xu et al., 2019), as backbone models. Next, we would like to introduce these baseline methods in each group in detail.
355
+
356
+ _G1 CE-based methods:_ We implement the clique expansion method (Sun et al., 2008) that connects every pair of nodes within each hyperedge. Like the previous work (Chien et al., 2022), we assign edge weights based on the degree of hyperedges connecting the node pair to obtain the weighted graph. Besides, we further apply (row-wise) normalization on the adjacency matrix to ensure stable and efficient feature propagation. We feed the weighted graph to two-layer GNNs, i.e., GCN, GAT, and GIN, to learn the node embeddings for node classification.
357
+
358
+ _G2 SE-based methods:_ We reproduce the star expansion method (Agarwal et al., 2006). SE method creates a star-like structure, i.e., introduces a set of new node, each representing a hyperedge, and aggregate the new node attribute features from the nodes within its corresponding hyperedge. Likewise, the new nodes are connected to these nodes within the hypergraph. We employ two-layer GNNs, i.e., GCN, GAT, and GIN, on the converted graph to generate the node embeddings.
359
+
360
+ _G3 LE-based methods:_ We implement the line expansion method proposed by (Yang et al., 2022). LE method constructs an entirely new graph by creating a set of nodes for each incident nodehyperedge pair in the hypergraph, and two nodes are connected when they share the same node or hyperedge in the original hypergraph. Similarly, we feed the new graph into two-layer GCN, GAT, and GIN for node classification.
361
+
362
+ 14
363
+
364
+ Table 4: Accuracy performance comparison (Mean accuracy % ± std) of weighted clique expansion (CE) with distance-aware kernel function _W_ and adaptive expansion (AdE) without GSi-Net on backbone GNNs for node classifcation.
365
+
366
+ |backbone GNNs for node classifcation.|backbone GNNs for node classifcation.|backbone GNNs for node classifcation.|backbone GNNs for node classifcation.|backbone GNNs for node classifcation.|
367
+ |---|---|---|---|---|
368
+ |Dataset<br>Expansion<br>GCN<br>GAT<br>GIN|||||
369
+ ||||||
370
+ |Cora|CE+kernel<br>AdE_\_GSi-NET|79.28 ± 1.95<br>79.35 ± 1.04|78.26 ± 2.07<br>78.35 ± 1.84|77.74 ± 0.94<br>77.59 ± 1.01|
371
+ ||||||
372
+ |Citeseer|CE+kernel<br>AdE_\_GSi-NET|71.98 ± 0.98<br>71.42 ± 0.97|70.31 ± 1.18<br>70.42 ± 1.32|69.94 ± 1.67<br>69.80 ± 1.80|
373
+
374
+ _G4 Uni-based methods:_ We reproduce uni-based expansion (Huang & Yang, 2021), which constructs a bipartite graph with two sets of new nodes, one for nodes in the hypergraph and another for hyperedges. Then, it leverages the pooling function to pass node attribute features to hyperedges and utilizes GNNs to propagate hyperedge attribute features back to new nodes as the final node embeddings. We follow the settings from their source code to reproduce the uni-based expansion.
375
+
376
+ Besides, to further exhaustively evaluate the effectiveness of our model, we conduct experiments on MLP and five HyGNNs, including HGNN (Feng et al., 2019), HCHA (Bai et al., 2021), HyperGCN (Yadati et al., 2019), HNHN (Dong et al., 2020), and AllSet (Chien et al., 2022). MLP primarily focused on encoding the feature of node attributes while ignoring the graph structures. We employ two-layer MLP on attribute features to generate node representations for classification. HGNN (Feng et al., 2019) employs the convolution operation using truncated Chebyshev polynomials to generate node representations. HCHA (Bai et al., 2021) introduces hypergraph attention and utilizes neural networks to study the node embeddings. HyperGCN leverages hypergraph Laplacian to convert hypergraphs into weighted graphs and further feeds the weighted graph into GCN to learn node embeddings. HNHN (Dong et al., 2020) extends HyperGCN with nonlinear activation functions combined with a normalization schema that adjusts the importance of hyperedges and nodes. AllSet (Chien et al., 2022) unifies a whole class of two-stage message-passing models with multisite functions. We adopt the implementation of HGNN, HCHA, and HNHN from the Pytorch Geometric Library (PyG) (Fey & Lenssen, 2019) and exactly follow the settings of HyperGCN and Allset from their source code to reproduce the experimental results.
377
+
378
+ ## E COMPLEXITY ANALYSIS
379
+
380
+ In this section, we discuss the efficiency of AdE in terms of time and space complexity. _Time complexity:_ The time complexity for feeding the node feature matrix into GSi-Net is linear to _O_ ( _N_ ), where _N_ is the size of nodes. Then, selecting hyperedge representative node pairs takes _O_ ( _M_ ) where _M_ is the size of hyperedges. The time complexity to compute the elements in distance matrix _U_ and generate edges with weights takes _O_ ( _E_ ), where _E_ =[�] _e∈E[d]_[(] _[e]_[)][.][Since][both] _[O]_[(] _[M]_[)][and] _O_ ( _N_ ) are dominated by _O_ ( _E_ ), the total time complexity of AdE for each round is _O_ ( _E_ ). _Space complexity:_ The space to store the scaled node attribute feature matrix **X** a takes _O_ ( _Nd_ ), where _d_ is the size of feature dimensions. Since we adopt a sparse representation to store the adjacency matrix _A_ a, the space should be _O_ ( _E_ ). For the pre-compute distance matrix _U_ , instead of storing it in full, we compute the specific elements in the edge construction process, which means it takes a constant space. Moreover, the total space complexity of storing the parameter matrix of GSi-Net and the weight matrix in distance-aware kernel function is _O_ (2 _bh_ + _b_ ) = _O_ (2 _bh_ ), where _h_ is the hidden dimension. So, the total space complexity of AdE is _O_ ( _Nd_ + _E_ + 2 _bh_ ), which is linear to the size of nodes _N_ .
381
+
382
+ ## F PROOF OF PROPOSITION 3
383
+
384
+ **Proposition 3.** _Given the same selected nodes_ ( _ve− , ve_ +) _for hyperedge e, our model AdE enhances HyperGCN by generating more adaptive weighted graphs._
385
+
386
+ _Proof Sketch._ Given the same selected nodes ( _ve− , ve_ +) for hyperedge _e_ , we first analyze the edge weights assigned by HyperGCN. HyperGCN fixes the edge weights for all node pairs within the
387
+
388
+ 15
389
+
390
+ Table 5: Performance comparison (Mean accuracy % ± std ) of CEGCN, HyperGCN, and AdE over Cora, Cora-CA, and Citesser datasets for hyperedge prediction. Purple-shaded numbers indicate the best results of our models, and gray-shaded numbers represent the best results of baseline methods.
391
+
392
+ |Table 5: Performance comparison (Mean accuracy%± std ) of CEGCN, HyperGCN, and AdE over<br>Cora, Cora-CA, and Citesser datasets for hyperedge prediction. Purple-shaded numbers indicate the<br>best results of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 5: Performance comparison (Mean accuracy%± std ) of CEGCN, HyperGCN, and AdE over<br>Cora, Cora-CA, and Citesser datasets for hyperedge prediction. Purple-shaded numbers indicate the<br>best results of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 5: Performance comparison (Mean accuracy%± std ) of CEGCN, HyperGCN, and AdE over<br>Cora, Cora-CA, and Citesser datasets for hyperedge prediction. Purple-shaded numbers indicate the<br>best results of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 5: Performance comparison (Mean accuracy%± std ) of CEGCN, HyperGCN, and AdE over<br>Cora, Cora-CA, and Citesser datasets for hyperedge prediction. Purple-shaded numbers indicate the<br>best results of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 5: Performance comparison (Mean accuracy%± std ) of CEGCN, HyperGCN, and AdE over<br>Cora, Cora-CA, and Citesser datasets for hyperedge prediction. Purple-shaded numbers indicate the<br>best results of our models,andgray-shaded numbers represent the best results of baseline methods.|
393
+ |---|---|---|---|---|
394
+ |Model<br>Pooling<br>Cora<br>Cora-CA<br>Citeseer|||||
395
+ ||||||
396
+ |CEGCN<br>Mean<br>70.38 ± 2.87<br>53.54 ± 2.06<br>74.50 ± 1.48<br>Sum<br>79.27 ± 0.36<br>60.38 ± 2.87<br>74.50 ± 1.48|||||
397
+ |HyperGCN|Mean|81.16 ± 1.51|55.51 ± 3.14|77.24 ± 1.92<br>76.51 ± 2.82|
398
+ ||Sum|81.01 ± 0.99|61.32 ± 2.71||
399
+ |AdE|Mean|84.33 ± 0.99|56.09 ± 1.57|78.73 ± 1.98<br>77.97 ± 2.09|
400
+ ||Sum|85.53 ± 0.81|61.47 ± 1.63||
401
+
402
+ same hyperedge. In specific, as the size of hyperedge _e_ is 2 _|e| −_ 3 in the converted graph, the edge weights on any node pairs assigned by HyperGCN is (2 _|e| −_ 3) _[−]_[1] .
403
+
404
+ As proven in Proposition 2, our kernel function _W_ in Eq. 3 assigns higher edge weights for node pairs with similar attribute features while smaller edge weights for less similar node pairs. In the worst case, the edge weight _Wi,j_ on any node pair ( _vi, vj_ ) within the hyperedge _e_ remains the same with any arbitrary values _ϵ_[(] _[e]_[)] . After normalizing edge weights, the edge weights on any node pairs are _W_[¯] _i,j_[(] _[e]_[)][=][(2] _[|][e][| −]_[3)] _[−]_[1][,][which is exactly the same as HyperGCN. However,][our kernel function] will assign a higher edge weight if nodes _vi_ and _vj_ are similar. This implies that _Wi,j > ϵ_[(] _[e]_[)] , and _W_ ¯ _i,j_[(] _[e]_[)] _[>]_[(2] _[|][e][| −]_[3)] _[−]_[1][.][Therefore,][we][can][conclude][that][AdE][enhances][HyperGCN][in][generating] more adaptive weighted graphs when they have the same selected nodes ( _ve− , ve_ +).
405
+
406
+ ## G PROOF OF PROPOSITION 4
407
+
408
+ **Proposition 4.** _Our AdE is equivalent to weighted clique expansion in 3-uniform hypergraphs._
409
+
410
+ _Proof Sketch._ Given a hypergraph _H_ = ( _V, E, X_ ), as mentioned by (Sun et al., 2008), the weighted graph _G_ c via CE can be represented by the following adjacency matrix:
411
+
412
+ **==> picture [257 x 23] intentionally omitted <==**
413
+
414
+ where **H** denotes the incident matrix, and _w_ is a weight function that computes the weight of edges under some criteria, e.g., _wi,j_ = _|{e|e_ : _{vi, vj} ∈ e, e ∈E}|_ (Rodriguez, 2003). Here, we use _W_[¯] _i,j_[(] _[e]_[)] in Eq. 4. As we introduced, the adjacency matrix generated by AdE is _A_ a _,_ ( _i,j_ ) =[�] _e∈E_[I][ [] _[{][v][i][, v][j][} ∈] Ee_ ] _W_[¯] _i,j_[(] _[e]_[)][.][Consider a 3-uniform hypergraph where each hyperedge contains three nodes.][AdE lever-] ages GSi-Net to choose two nodes as _ve_ + and _ve−_ , with the remaining one as the mediator. Edges then are generated to connect any two nodes within the corresponding hyperedge. Since there is only one mediator for each hyperedge in a 3-unfirm hypergraph, AdE will generate the same graph structure. Therefore, the indicator function I [ _{vi, vj} ∈Ee_ ] = **H** _i,e_ **H** _j,e_ . As the weight matrix _w_ in Eq. 6 can be any form, we can replace _w_ with _W_[¯] . Therefore, our designed method AdE is equivalent to the weighted clique expansion in a 3-uniform hypergraph.
415
+
416
+ To further justify the Proposition 4, we conduct another set of experiments on CE and AdE among datasets Cora and Citeseer as these two hypergraphs are approximately 3-uniform hypergraphs since the average node degree _d_ ( _v_ ) is close to 3 (as listed in Table 3). The experimental performance of CE+kernel and AdE without GSi-Net is listed in Table 4. To make it clear, we apply our distanceaware kernel function to CE and remove the GSi-NET in AdE for a fair comparison. According to this table, we can see that both methods have equivalent performance with the same settings over two datasets, which further demonstrates our justification of Proposition 4.
417
+
418
+ 16
419
+
420
+ Table 6: Performance comparison (Mean F1 score ± std) between IRMM-P, IRMM-GCN, CEGCN, and AdE over Cora, Cora-CA, and Citesser. Purple-shaded numbers indicate the best results of our models, and gray-shaded numbers represent the best results of baseline methods.
421
+
422
+ |Table 6:<br>Performance comparison (Mean F1 score ± std) between IRMM-P, IRMM-GCN, CE-<br>GCN, and AdE over Cora, Cora-CA, and Citesser. Purple-shaded numbers indicate the best results<br>of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 6:<br>Performance comparison (Mean F1 score ± std) between IRMM-P, IRMM-GCN, CE-<br>GCN, and AdE over Cora, Cora-CA, and Citesser. Purple-shaded numbers indicate the best results<br>of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 6:<br>Performance comparison (Mean F1 score ± std) between IRMM-P, IRMM-GCN, CE-<br>GCN, and AdE over Cora, Cora-CA, and Citesser. Purple-shaded numbers indicate the best results<br>of our models,andgray-shaded numbers represent the best results of baseline methods.|Table 6:<br>Performance comparison (Mean F1 score ± std) between IRMM-P, IRMM-GCN, CE-<br>GCN, and AdE over Cora, Cora-CA, and Citesser. Purple-shaded numbers indicate the best results<br>of our models,andgray-shaded numbers represent the best results of baseline methods.|
423
+ |---|---|---|---|
424
+ |Model<br>Cora<br>Cora-CA<br>Citeseer||||
425
+ |||||
426
+ |IRMM-P|39.66 ± -|N/A|44.10 ± -|
427
+ |||||
428
+ |IRMM-GCN<br>49.13 ± 0.54<br>48.36 ± 0.43<br>51.69 ± 0.71||||
429
+ |CE-GCN|77.24 ± 1.32|77.99 ± 0.85|70.44 ± 0.70|
430
+ |AdE|80.74 ± 1.94|82.07± 0.88|72.49 ± 0.94|
431
+
432
+ ## H ADE OVER HYPEREDGE PREDICTION TASK
433
+
434
+ To further demonstrate the strong applicability of AdE, we apply AdE for the hyperedge link prediction task. We follow the work NHP (Yadati et al., 2020) to conduct hyperedge prediction tasks. Specifically, after we generate a weighted graph via AdE and obtain learned embeddings from graph neural networks, we employ a **hyperlink scoring layer** from NHP:
435
+
436
+ **==> picture [260 x 11] intentionally omitted <==**
437
+
438
+ where _W ∈_ R[1] _[×][d]_ is a learnable weight matrix, _g_ ( _·_ ) is a pooling function, e.g., mean pooling and sum pooling. As mentioned by NHP, the score _Ie_ for hyperedge _e_ needs to be higher than that for any set of nodes that does not form a hyperedge in the hypergraph. Therefore, the objective function is formulated as follows:
439
+
440
+ **==> picture [271 x 28] intentionally omitted <==**
441
+
442
+ where _F_ is a set of sampled hyperedges, and _If_ is the score of the sampled hyperedge _f ∈F_ . Here, Λ( _·_ ) is the logistic function, i.e., Λ( _x_ ) = log(1 + _e[x]_ ). The loss _L_ tries to maximize the number of hyperedge scores (in _E_ ) that are higher than the average score of the sampled hyperedges in _F_ . A more detailed discussion is provided in NHP (Yadati et al., 2020). For experiments, we follow the same settings in NHP, i.e., sample a set of _|E|_ hyperedges, denoted as _F_ , such that the average degree of _F_ approximately equals to the average degree of _E_ , and each newly generated hyperedge does not overlap with the original hyperedge set _E_ . Afterward, we concatenate hyperedge sets _F_ and _E_ to obtain a new hypergraph _G[′]_ = ( _V, E[′] , X_ ). The hyperedges _E[′]_ are randomly divided into training, validation, and test sets, with ratios of 50%, 25%, and 25%, respectively. We feed the new hypergraph with training hyperedges into AdE, graph neural networks, and hyperlink score layer to compute scores for each hyperedge and optimize the model via Eq. 8. Additionally, we conduct each method five times with 500 epochs and report average accuracy with standard deviation.
443
+
444
+ The result of CEGCN, HyperGCN, and AdE over Cora, Cora-CA, and Citesser datasets is listed in Table 5. We conduct experiments on two pooling functions, i.e., mean and sum. According to Table 5, our method AdE outperforms CEGCN and HyperGCN in all three datasets.
445
+
446
+ ## I COMPARISON WITH METHOD ABOUT NODE-DEGREE PRESERVING HYPERGRAPH PROJECTION.
447
+
448
+ To validate whether the node-degree preserving projection methods effectively convert hypergraphs into graphs, we then discuss one existing method, IRMM (Kumar et al., 2020), and conduct experiments with IRMM over Cora, Cora-CA, and Citeseer datasets. Specifically, according to the Algorithm 1 listed in IRMM (Kumar et al., 2020),
449
+
450
+ 1. We first initialize a hyperedge weight matrix _W_ .
451
+
452
+ 2. We compute a reduced adjacency matrix via the equation: _A_ = _HW_ ( _De − I_ ) _[−]_[1] _H[T]_ , and zero out the diagonal in _A_ . Here, _H_ is the hypergraph incidence matrix, _De_ is the node degree matrix, and _I_ is the identity matrix.
453
+
454
+ 17
455
+
456
+ 3. The reduced adjacency matrix _A_ is fed into the Louvain function (Blondel et al., 2008) to find clusters.
457
+
458
+ 4. To evaluate with ground truth, we follow the settings discussed in IRMM, i.e., leverage agglomerative clustering (Ding & He, 2002) on top of clusters obtained by the Louvain function.
459
+
460
+ 5. For each hyperedge _e_ , we count the number _ki_[(] _[e]_[)] of nodes belong to both hyperedge _e_ and cluster _i_ , i.e., _ki_[(] _[e]_[)] = _|e ∩ Ci|_ , where _Ci_ denotes to cluster _i_ .
461
+
462
+ 6. For each hyperedge _e_ , we update hyperedge weight matrix with respect to hyperedge _e_ as follows: _We,_ : _←_ 0 _._ 5( _We,_ : + _we[′]_[)][,][where] _[w] e[′]_[=] _m_ 1 � _ci_ =1 _ki_[(] _[e]_ 1[)] +1[(] _[δ]_[(] _[e]_[)][+] _[c]_[)][.][Here,] _[m]_[is][the][number][of] hyperedges, _δ_ ( _e_ ) is the degree of hyperedge _e_ , and _c_ is the number of clusters.
463
+
464
+ 7. We repeat steps 2-6 until the hyperedge weight matrix converges.
465
+
466
+ To evaluate the performance of the hypergraph reduction method IRMM, we feed the generated adjacency matrix _A_ into graph neural networks, e.g., GCN, and train graph neural networks with ground truth labels (node labels). Here, we denote IRNN-GCN for the setting. Mention that IRMM is an unsupervised method. In order to compare the IRMM with existing methods in our work, we propose IRNN-GCN for fair comparisons. The results of IRMM-GCN, CE-GCN, and AdE are listed in Table 6. Besides, we also report the result of IRMM from their original paper (Kumar et al., 2020), denoted as IRMM-P. Mention that IRMM-P does not report the standard deviation of performance and the performance for the Cora-CA dataset. According to Table 6, AdE outperforms the other baselines, including IRMM-GCN and IRMM-P. IRMM variants do not show compatible performance with CE-GCN, and AdE. The possible reason is that IRMM tries to maximize the modularity among the hypergraphs in unsupervised settings. But we do think the node-degree preserving hypergraph projection can be the future work about how to learn effective node-degree preserving hypergraph during hypergraph expansion.
467
+
468
+ ## J INTUITIVE EXAMPLE ABOUT ADE IMPLEMENTATION
469
+
470
+ In this section, to make it clearer, we provide an intuitive example about AdE implement in realworld scenarios. Suppose we have a hyperedge _e_ that four users (A, B, C, and D) have interests in photographs. Node A is interested in landscape photography, Node B enjoys automotive and landscape photography, Node C is interested in automotive photography, and Node D likes food photography. Based on the above scenario, classic methods, i.e., clique expansion, will generate an edge set _Ee_ = _{_ (A, B), (A, C), (A, D), (B, C), (B, D), (C, D) _}_ . However, Nodes A and C do not share any interests, and they are supposed to be disconnected or connected with very small edge weights. By contrast, our AdE can professionally handle real-world scenarios as follows:
471
+
472
+ 1. AdE first selects two representative nodes with the largest distance within the hyperedge. Let us say that nodes B and D are selected as the representative nodes as their styles are very dissimilar, meaning they have the longest distance in the attribute space.
473
+
474
+ 2. We connect the rest of the nodes (i.e., A and C) with the two representative nodes, respectively, and we further obtain the edge set _Ee_ = _{_ (B, D), (B, A), (B, C), (D, A), (D, C) _}_ . Nodes A and C are not connected in _Ee_ , as A (landscape photography) and C (automotive photography) do not have the same interests.
475
+
476
+ 3. With the edge set, we learn to assign the adaptive distance-aware weights to all edges in _Ee_ . We believe that the edge weight between A and D is less than the edge weight between A and B. With the shared interest (landscape photography) between A and B, the distance between A and B is smaller than the distance between A and D. So, the edge weight between A and D is smaller as our distance-aware kernel function tends to assign smaller weights for dissimilar node pairs.
477
+
478
+ Therefore, AdE first generates a subgraph for the hyperedge _e_ , with the edge set _Ee_ = _{_ (B, D), (B, A), (B, C), (D, A), (D, C) _}_ . Mention that, as AdE learns to select representative nodes during model training for certain downstream tasks, the built subgraph is also adaptive with updated distanceaware weights.
479
+
480
+ 18
481
+
open_review/iclr2024_8853.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "iclr2024_8853",
3
+ "source": "iclr2024",
4
+ "source_year": 2024,
5
+ "title": "Instructing Large Language Models to Identify and Ignore Irrelevant Conditions",
6
+ "abstract": "Math word problem (MWP) solving requires generating a reasoning path based on a given problem description that often contains irrelevant conditions. Existing chain-of-thought (CoT) prompting methods elicited multi-step reasoning abilities of large language models (LLMs) to solve MWPs. However, they were seriously confused by the irrelevant conditions, resulting in low accuracy. In this paper, we propose a novel approach named I$^3$C that instructs LLMs to identify and ignore irrelevant conditions. It identifies a set of irrelevant condition candidates that have a weak semantic relevance with the question. Then it prompts LLMs to verify the irrelevant conditions. Lastly it instructs the LLMs with the verification on relevant and irrelevant conditions to avoid confusion and improve reasoning paths. Moreover, we propose to select (problem, reasoning paths)-pairs as demonstrations to enhance I$^3$C with few-shot reasoning. We develop I$^3$C-Select that selects the most confusing problems based on the semantic relevance measurement. We conduct extensive experiments on six MWP datasets. I$^3$C can be combined with any CoT prompting methods to improve the performance of solving MWPs. Notably, I$^3$C-Select achieves an accuracy of $93.7$ and $90.9$ on GSM-IC2-1K and GSM-ICM-1K, respectively, significantly outperforming the state-of-the-art few-shot prompting method Auto-CoT by $+19.4$ and $+25.7$.",
7
+ "rebuttal": "Dear Reviewer,\n\nThank you for your thoughtful feedback and your continued support for our work. We have carefully considered your suggestions and have decided to change the experimental settings to avoid the use of test samples. We will use the training or dev sets as the source of in-context demonstrations for all methods. We will update the paper to reflect this revised approach.\n\nThank you again for your valuable feedback.\n\nSincerely,\n\nThe Authors\n\nThank you for your valuable feedback and suggestions. We conducted additional experiments selecting the 8 most confusing problems and their corresponding reasoning paths from the training set as demonstrations **(i.e., I$^3$C-Select (select examples from training set))**. The results presented in **Table 4** demonstrate that selecting the most confusing problems and their corresponding reasoning paths as demonstrations is an effective method for constructing demonstrations.\n\n**Table 4:** Accuracy (%) comparison of different prompting methods.\n| Method (text-davinci-003) | GSM8K | GSM-IC2-1K | [...]\n\nDear Reviewer,\n\nThank you for your insightful feedback and for highlighting the potential issues associated with using test examples. We acknowledge the importance of ensuring fair and unbiased evaluation of different methods.\n\nWe have carefully reviewed our methodology and have revised our approach to avoid using the test set for selecting confusing examples. Instead, we conducted additional experiments selecting the 8 most confusing problems and their corresponding reasoning paths from the training set as demonstrations **(i.e., I$^3$C-Select (select examples from training set))**. These exp [...]\n\nThank you for your feedback regarding the use of the test set for selecting the most confusing examples in I$^3$C-Select. \n\n - Regarding practicality, **our method does not utilize labels, i.e., answers, from the test set at any stage.** Notably, our method focuses on selecting the most confusing problems and their corresponding reasoning paths from the set of solved problems as demonstrations, **regardless of their correctness**. This approach is similar to the human exam process, where students can use knowledge from previously solved problems to solve new ones.\n\n - Regarding fairness, Exist [...]\n\nWe appreciate your feedback regarding the use of test data in I$^3$C-Select. **Our method does not utilize labels, i.e., answers, from the test set at any stage.** Notably, our method focuses on selecting the most confusing problems and their corresponding reasoning paths from the set of solved problems as demonstrations, **regardless of their correctness**. This approach is similar to the human exam process, where students can use knowledge from previously solved problems to solve new ones.\n\nThank you for your feedback and suggestions. We appreciate your positive response to the updated results. We will add the results of the efficiency analysis to the paper.\n\nThank you for your valuable feedback. Regarding the applicability of our method to other tasks and settings, we acknowledge its particular effectiveness in tasks involving distractors. This aligns with the real-world situations, where problems usually come with several pieces of contextually related information, which may or may not be relevant to the problems that we want to solve. **Importantly, our method has demonstrated the ability to improve performance in math word problem solving even for datasets that do not inherently contain irrelevant conditions in the problem statement, such as Si [...]\n\nThank you for your question. **Our method does not utilize labels, i.e., answers, from the test set at any stage.** Notably, our method focuses on selecting the most confusing problems and their corresponding reasoning paths from the set of solved problems as demonstrations, **regardless of their correctness.** As indicated in (Min et al., 2022), the model's performance is relatively insensitive to incorrect reasoning paths in the demonstrations. This implies that even if some of the reasoning paths in the demonstrations are incorrect, they still contribute valuable information for the model t [...]\n\nWe appreciate your feedback and your concerns about the use of problems from the set of solved problems to construct demonstrations. However, we believe that this demonstration constructing method aligns with real-world practice. Consider a closed-book math exam. When faced with a challenging problem, students can draw upon their knowledge of previously solved problems to tackle new ones. This is akin to our method of using solved problems and their reasoning paths as demonstrations to help LLMs identify and ignore irrelevant conditions in problem statements. Just as students cannot retrieve e [...]\n\nThank you for your feedback and suggestions. We appreciate your positive response to the updated results. We will add the results to the paper and ensure that the results related to Q1 and Q3 are seamlessly integrated with the paper.\n\nThank you Reviewer vMNk again for your detailed review.\n\nSince the final stage of the discussion between reviewers and authors will end soon, please let us know if you have any further comments on our response to your concerns, we will be more than happy to answer your questions.\n\nThank you Reviewer 2AS5 again for your detailed review.\n\nSince the final stage of the discussion between reviewers and authors will end soon, please let us know if you have any further comments on our response to your concerns, we will be more than happy to answer your questions.\n\nThank you Reviewer jEnd again for your detailed review.\n\nSince the final stage of the discussion between reviewers and authors will end soon, please let us know if you have any further comments on our response to your concerns, we will be more than happy to answer your questions.\n\nThank you Reviewer d3U4 again for your detailed review.\n\nSince the final stage of the discussion between reviewers and authors will end soon, ple\n[rebuttal truncated]",
8
+ "initial_scores": [
9
+ 3,
10
+ 6,
11
+ 5,
12
+ 6
13
+ ],
14
+ "score_mean": 5.0,
15
+ "score_variance": 2,
16
+ "score_spread": 3,
17
+ "score_min": 3,
18
+ "score_max": 6,
19
+ "decision": "Reject",
20
+ "rebuttal_validity_ground_truth": false,
21
+ "meta_review": "The paper studies a known issue in math world problem solving with LLM - that irrelevant contents can confuse model. They propose a new prompting technique that encourages LLM to self-identify potentially irrelevant questions. Such irrelevant conditions are used later to help models to refine their answer. The experimental results show strong performances but there are two main concerns: (1) efficiency of the method and (2) the experimental setup (of using test set), please see \"reviewer discussion\" box. Because of this issue, it's hard to recommend the paper as is, though there are some good ideas. I recommend the authors to fix issues and add a discussion on efficiency on the main paper. Lastly -- i think the title is a bit overly general, as the paper exclusively concerns math world problem.",
22
+ "forum_id": "kTRGF2JEcx",
23
+ "primary_area": "general machine learning (i.e., none of the above)",
24
+ "n_reviews": 4,
25
+ "per_review": [
26
+ {
27
+ "reviewer": "Reviewer_d3U4",
28
+ "review_id": "zXxS50xOYn",
29
+ "scores": {
30
+ "rating": 3,
31
+ "soundness": 2,
32
+ "presentation": 2,
33
+ "contribution": 2,
34
+ "confidence": 4
35
+ },
36
+ "review_text_chars": 1987,
37
+ "edit_detected": true,
38
+ "edit_delta_seconds": 1615926,
39
+ "post_rebuttal_text_signal": false,
40
+ "score_mentions_in_text": []
41
+ },
42
+ {
43
+ "reviewer": "Reviewer_jEnd",
44
+ "review_id": "7GfpolnDrE",
45
+ "scores": {
46
+ "rating": 6,
47
+ "soundness": 3,
48
+ "presentation": 4,
49
+ "contribution": 2,
50
+ "confidence": 3
51
+ },
52
+ "review_text_chars": 4478,
53
+ "edit_detected": true,
54
+ "edit_delta_seconds": 660476,
55
+ "post_rebuttal_text_signal": false,
56
+ "score_mentions_in_text": []
57
+ },
58
+ {
59
+ "reviewer": "Reviewer_2AS5",
60
+ "review_id": "u1Wd4MTnqq",
61
+ "scores": {
62
+ "rating": 5,
63
+ "soundness": 2,
64
+ "presentation": 2,
65
+ "contribution": 2,
66
+ "confidence": 3
67
+ },
68
+ "review_text_chars": 4242,
69
+ "edit_detected": true,
70
+ "edit_delta_seconds": 1871938,
71
+ "post_rebuttal_text_signal": false,
72
+ "score_mentions_in_text": []
73
+ },
74
+ {
75
+ "reviewer": "Reviewer_vMNk",
76
+ "review_id": "sQBlvPl2Iq",
77
+ "scores": {
78
+ "rating": 6,
79
+ "soundness": 3,
80
+ "presentation": 3,
81
+ "contribution": 2,
82
+ "confidence": 4
83
+ },
84
+ "review_text_chars": 3215,
85
+ "edit_detected": true,
86
+ "edit_delta_seconds": 982704,
87
+ "post_rebuttal_text_signal": false,
88
+ "score_mentions_in_text": []
89
+ }
90
+ ],
91
+ "any_review_edit_detected": true,
92
+ "any_post_rebuttal_text_signal": false,
93
+ "review_score_dimensions": [
94
+ "rating",
95
+ "soundness",
96
+ "presentation",
97
+ "contribution",
98
+ "confidence"
99
+ ]
100
+ }