Datasets:
RI-Bench v1.0.0: 1,636 cases (Open Review, Parliament, Court) (part 4)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- open_review/iclr2024_9070.md +451 -0
- open_review/iclr2024_9071.json +100 -0
- open_review/iclr2024_9071.md +526 -0
- open_review/iclr2024_9073.json +88 -0
- open_review/iclr2024_9073.md +601 -0
- open_review/iclr2024_9074.json +100 -0
- open_review/iclr2024_9074.md +717 -0
- open_review/iclr2024_9077.json +117 -0
- open_review/iclr2024_9077.md +756 -0
- open_review/iclr2024_9081.json +100 -0
- open_review/iclr2024_9081.md +427 -0
- open_review/iclr2024_9082.json +100 -0
- open_review/iclr2024_9082.md +650 -0
- open_review/iclr2024_9084.json +83 -0
- open_review/iclr2024_9084.md +444 -0
- open_review/iclr2024_9087.json +100 -0
- open_review/iclr2024_9087.md +366 -0
- open_review/iclr2024_9088.json +100 -0
- open_review/iclr2024_9088.md +760 -0
- open_review/iclr2024_9090.json +100 -0
- open_review/iclr2024_9090.md +604 -0
- open_review/iclr2024_9092.json +83 -0
- open_review/iclr2024_9092.md +471 -0
- open_review/iclr2024_9097.json +100 -0
- open_review/iclr2024_9097.md +389 -0
- open_review/iclr2024_9106.json +100 -0
- open_review/iclr2024_9106.md +593 -0
- open_review/iclr2024_9108.json +83 -0
- open_review/iclr2024_9108.md +508 -0
- open_review/iclr2024_9111.json +117 -0
- open_review/iclr2024_9111.md +460 -0
- open_review/iclr2024_9113.json +83 -0
- open_review/iclr2024_9113.md +0 -0
- open_review/iclr2024_9114.json +100 -0
- open_review/iclr2024_9114.md +503 -0
- open_review/iclr2024_9116.json +100 -0
- open_review/iclr2024_9116.md +573 -0
- open_review/iclr2024_9121.json +100 -0
- open_review/iclr2024_9121.md +232 -0
- open_review/iclr2024_9124.json +83 -0
- open_review/iclr2024_9124.md +473 -0
- open_review/iclr2024_9127.json +100 -0
- open_review/iclr2024_9127.md +630 -0
- open_review/iclr2024_9128.json +100 -0
- open_review/iclr2024_9128.md +562 -0
- open_review/iclr2024_9131.json +100 -0
- open_review/iclr2024_9131.md +872 -0
- open_review/iclr2024_9133.json +100 -0
- open_review/iclr2024_9133.md +292 -0
- open_review/iclr2024_9136.json +100 -0
open_review/iclr2024_9070.md
ADDED
|
@@ -0,0 +1,451 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## FILL IN THE BLANK: EXPLORING AND ENHANCING LLM CAPABILITIES FOR BACKWARD REASONING IN MATH WORD PROBLEMS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
While _forward reasoning_ (i.e., find the answer given the question) has been explored extensively in the recent literature, backward reasoning is relatively unexplored. We examine the _backward reasoning_ capabilities of LLMs on Math Word Problems (MWPs): given a mathematical question and its answer, with some details omitted from the question, can LLMs effectively retrieve the missing information? In this paper, we formally define the backward reasoning task on math word problems and modify three datasets to evaluate this task: GSM8k, SVAMP and MultiArith. Our findings show a significant drop in the accuracy of models on backward reasoning compared to forward reasoning across four SOTA LLMs (GPT4, GPT3.5, PaLM-2, and LLaMa). Utilizing the specific format of this task, we propose three novel techniques that improve performance: _Rephrase_ reformulates the given problem into a forward reasoning problem, _PAL-Tools_ combines the idea of Program-Aided LLMs to produce a set of equations that can be solved by an external solver, and _Check your Work_ exploits the availability of natural verifier of high accuracy in the forward direction, interleaving solving and verification steps. Finally, realizing that each of our base methods correctly solves a different set of problems, we propose a novel Bayesian formulation for creating an ensemble over these base methods aided by a verifier to further boost the accuracy by a significant margin. Extensive experimentation demonstrates that our techniques successively improve the performance of LLMs on the backward reasoning task, with the final ensemble-based method resulting in a substantial performance gain compared to the raw LLMs with standard prompting techniques such as chain-of-thought.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Large language models (LLMs) (Brown et al., 2020; OpenAI, 2023; Anil et al., 2023) have shown remarkable versatility, excelling in various tasks like sentence completion, question answering, and summarization. They have been successfully applied to mathematical reasoning, specifically in solving _Math Word Problems_ (Kushman et al., 2014; Roy & Roth, 2018), where the goal is to produce the answer given an elementary school-level mathematics question. We refer to this task as _Forward Reasoning_ . This problem has received significant attention in the recent literature (Lu et al., 2022), and specific datasets (Cobbe et al., 2021; Roy & Roth, 2015; Patel et al., 2021) have been proposed to serve as benchmarks for this task. Performance of powerful LLMs such as GPT-4 OpenAI (2023) with techniques such as Chain-of-Thought (Wei et al., 2022) and Self-Verification (Zhou et al., 2023) on some of these datasets are more than 90% (Lu et al., 2022).
|
| 14 |
+
|
| 15 |
+
In this work, we are interested in a slightly different problem, which is the problem of _backward reasoning_ : given an MWP, with one of the numerical quantities omitted from the question, and the answer to the original question, what is the value of the omitted numerical quantity? While this problem of backward reasoning has been studied in the literature in the context of improving the performance of forward reasoning (Weng et al., 2022), to the best of our knowledge, there is no existing work that explicitly aims to solve this problem analyzing its hardness and providing solutions thereof. We believe this is an interesting problem because (1) It is a matter of study that even for humans, whether forward reasoning and backward reasoning have different complexities (Ramful & Olive, 2008; Rivera, 2008), and we would like to ask the same question in the context of LLMs (2)
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
Assuming we establish that backward reasoning is a harder problem, how can we design techniques to improve performance on this task, that specifically exploit the problem structure of backward reasoning and the availability of the forward direction answer? (3) The backward reasoning problem can be seen as a special case of abduction, with a unique answer, and it is interesting to explore this connection, since LLMs have not been explored as much for this important class of abductive reasoning problems (Bhagavatula et al., 2020; Qin et al., 2020; 2022).
|
| 20 |
+
|
| 21 |
+
In order to establish that backward reasoning is indeed a significantly harder problem than forward reasoning, we create backward reasoning problems from three benchmark datasets (Cobbe et al. (2021); Roy & Roth (2015); Patel et al. (2021)), and test the performance of various LLMs on this task. Table 1 presents the results (see Section 3 for details). We observe a significant drop in the performance of all the LLMs compared to forward reasoning, the drop being as high as 40% in most cases. Having established the difficulty of our proposed task, we propose a set of techniques for improving the performance on this task
|
| 22 |
+
|
| 23 |
+
Firstly, we propose to rephrase the backward reasoning as a forward reasoning problem since LLMs are better at forward reasoning compared to backward reasoning. This can be done by substituting some unknown quantity _x_ in the blank, and then asking LLM to produce the value of _x_ , given the answer. Next, we combine the idea of Program-Aided-Language Models, with an external solver since backward reasoning problems have a specific mathematical structure, which is not amenable to simple forward reasoning. We refer to this method as _PAL-Tools_ . Thirdly, we can use the LLM as a verifier to check whether the solution to the backward problem is correct. Verification can be done iteratively until the backward reasoning model produces an answer which is declared correct by the verifier. We refer to this approach as _Check your Work_ . Finally, we make use of Bayesian modeling to propose a novel method for ensembling base methods, which exploits the accuracy of each of the base methods computed on a small hold-out set, to compute answer probability. Further, we use a high-accuracy verifier based on forward reasoning and compute the probability of the final answer given the ensemble probability and the confidence of the verifier in the answer.
|
| 24 |
+
|
| 25 |
+
Our results show the benefit obtained by each of our base methods, with Verify and Reprompting performing best overall. Finally, we obtain a further improvement of up to 10% using our Bayesian model, which ensembles techniques using a verifier. The overall gain in accuracy obtained by our methods touches 45% for some of the datasets, compared to directly running the original backward problem on the LLM. We perform additional analysis on the models to explain our results.
|
| 26 |
+
|
| 27 |
+
To summarize our contributions: (1) we create three different datasets for backward reasoning, establish the difficulty of the backward reasoning problem, and a task of interest in its own right (2) We propose three different base methods, and one ensemble-based method via the use of a verifier, to improve the performance on the backward task. (3) We perform additional analysis giving further insights into the performance of the proposed models.
|
| 28 |
+
|
| 29 |
+
## 2 RELATED WORK
|
| 30 |
+
|
| 31 |
+
A mathematical word problem (MWP) (Lu et al., 2022) consists of a description in natural language that expresses the relation between various entities and quantities, followed by a query for an unknown quantity, as shown in Figure 1. One can answer the question by representing the relationship between the entities and quantities through a set of equations and then solving these equations. Solving MWPs necessitates a semantic understanding of the natural language description. Initial works (Kushman et al., 2014; Koncel-Kedziorski et al., 2015; Roy & Roth, 2018) to solve MWPs involve parsing the natural language description and utilizing statistical learning techniques to identify suitable templates for generating answers. Subsequently, following the triumph of sequence-to-sequence (Seq2Seq) neural models (Sutskever et al., 2014) in machine translation and other NLP tasks, the encoder-decoder framework (Wang et al., 2017; Ling et al., 2017; Li et al., 2020; Shen et al., 2021; Jie et al., 2022) is employed to directly translate the natural language description in MWPs into equations.
|
| 32 |
+
|
| 33 |
+
Recently, the strongest performance on MWPs has been given by large pre-trained language models like GPT-4 OpenAI (2023), PaLM (Anil et al., 2023), and GPT-3 (Brown et al., 2020). These models leverage the power of few-shot in-context examples and employ prompting methods like CoT (Wei et al., 2022), all without requiring any modifications to their parameters. One class of
|
| 34 |
+
|
| 35 |
+
2
|
| 36 |
+
|
| 37 |
+
**==> picture [396 x 202] intentionally omitted <==**
|
| 38 |
+
|
| 39 |
+
**----- Start of picture text -----**<br>
|
| 40 |
+
Check your work<br>PAL-tools<br>Rephrase Fill in the blank given the<br>Write a program using SymPy question and answer. Verify<br>Fill in the blank given thequestion and answer: Solve the following question: to find the blank:Q. The cafeteria had ... your blank by subsitituting itand checking if the solutionmatches.<br>Q. The cafeteria had 23 Q. The cafeteria had 23 A.9 Q. The cafeteria had ...<br>apples. If they used _____ to apples. If they used x to make A. 9<br>make lunch and bought 6 lunch and bought 6 more, they<br>more, how many apples do had 9 apples. Find the value of<br>they have? x.<br>A. 9 Reprompt...<br>num_apples = 23 Final Q: The cafeteria had 23<br>num_for_lunch = x apples. If they used 18 to<br>num_bought = 6 make lunch and bought 6more, how many apples do<br>they have?<br>eq = Eq(num_apples - Check: they have 23 - 18 = 5<br> num_for_lunch + apples. After buying 6 more,<br> num_bought, 9) they would have 5 + 6 = 11.<br>blank = solve(eq)[0] The answer is incorrect.<br>Final Q: ... If they used 20 more...<br>The blank is 14 The value of x is 20 20 Check: ... The answer is correct.<br>**----- End of picture text -----**<br>
|
| 41 |
+
|
| 42 |
+
Figure 1: A summary of the prompting techniques we propose
|
| 43 |
+
|
| 44 |
+
Table 1: Performance of various models on the Math backward reasoning task, compared to their accuracies on the forward reasoning task of solving the original problem. Figures with _[��]_ are taken from Zheng et al. (2023)
|
| 45 |
+
|
| 46 |
+
|Model|GSM8k<br>forward<br>backward|SVAMP<br>forward<br>backward|MultiArith<br>forward<br>backward|
|
| 47 |
+
|---|---|---|---|
|
| 48 |
+
|GPT-4<br>GPT-3.5-turbo<br>PaLM-2<br>LLaMa-2-70B|92.8<br>38.6<br>58.4<br>10.8<br>60.5<br>15.2<br>37.0<br>6.8|90.5_†_<br>43.9<br>79.1<br>20.4<br>73.7<br>11.2<br>70.3<br>20.3|97.8_†_<br>54.8<br>97.0<br>13.8<br>95.7<br>6.3<br>89.2<br>11.0|
|
| 49 |
+
|
| 50 |
+
techniques (Madaan et al., 2023; Welleck et al., 2023) using LLMs involves verifying the answer provided by the Language Model, either using the model itself or external verifiers such as compilers or proof checkers. If the answer is incorrect, the model is re-prompted, optionally with suggestions on improving its output. This prompting continues until the model generates the correct output. Other techniques, such as Progressive Hint Prompting (Zheng et al., 2023) iteratively pass the model’s previous answers to itself as hints. Iterative prompting techniques like (Wang et al., 2023) do not use a verifier; instead, they sample multiple hypotheses from the model and select the answer using majority voting.
|
| 51 |
+
|
| 52 |
+
Our work can be seen as a special case of abductive reasoning with a unique answer. Abductive reasoning (Bhagavatula et al., 2020; Qin et al., 2020; 2022) involves inferring which of several explanations is the most plausible. Prior work on abductive reasoning has focused mostly on textbased reasoning under constraints. In the context of arithmetic reasoning tasks Weng et al. (2022) has utilized abductive reasoning to enhance forward reasoning accuracy. In contrast, our work addresses backward reasoning as an independent problem. Our primary interest lies in analyzing the inherent complexities of backward reasoning and devising more effective solutions to tackle it.
|
| 53 |
+
|
| 54 |
+
## 3 BACKWARD REASONING TASK
|
| 55 |
+
|
| 56 |
+
A forward or the typical Mathematical Word Problem (MWP) consists of a question _Qf_ , which we call a forward question, and its corresponding answer _Af_ . The forward question is a textual representation of the MWP. It is typically composed of one or more sentences and encompasses various elements, including numbers, operations, and textual information, all represented by tokens within the question. A _numeric token_ is defined as a token that encodes a numeric quantity, such as
|
| 57 |
+
|
| 58 |
+
3
|
| 59 |
+
|
| 60 |
+
5, 37, or ’half.’ These tokens encode the values 5, 37, and 0 _._ 5, respectively. We define a backward MWP as a tuple ( _Q, Af_ ), where _Q_ is obtained from the forward question _Qf_ by replacing one numerical quantity with a blank. The goal of solving the backward MWP is to find out the value of the numerical quantity that was blanked out using backward reasoning. By backward reasoning, we mean the process of using the provided answer _Af_ and the context provided by the question _Q_ to deduce the missing numerical quantity to arrive at the given answer. Since there is a unique answer for every question, we measure accuracy on this task by the number of questions on which the model is able to provide the correct numeric value of the blank.
|
| 61 |
+
|
| 62 |
+
Table 1 compares the performance of four state-of-the-art (SOTA) language models on forward and backward reasoning tasks. We observe a significant drop in backward reasoning accuracy compared to forward reasoning accuracy across all models. The experiments were conducted using the chain of thought prompts defined in Wei et al. (2022). The few-shot examples used in the chain of thought prompts were modified for the backward reasoning task following the procedure described above. It is evident from the results that Large Language Models (LLMs) are not as proficient in backward reasoning compared to forward reasoning, indicating the difficulty of the task as defined above.
|
| 63 |
+
|
| 64 |
+
## 4 PROPOSED APPROACHES
|
| 65 |
+
|
| 66 |
+
**Rephrasing:** Our first base method to tackle the challenging backward reasoning problem involves a problem transformation through rephrasing. This transformation effectively converts the complex backward reasoning task into a more manageable forward reasoning problem. Consequently, we employ the LLM to solve this transformed forward reasoning problem instead of the original and inherently more difficult backward reasoning challenge.
|
| 67 |
+
|
| 68 |
+
Given a backward MWP ( _Q, Af_ ), we ask the language model to produce a rephrased question _R_ , which incorporates the forward answer _Af_ into the question _Q_ and changes the objective of the question from finding the answer _Af_ to finding the value of the blank. We then ask the language model to solve the rephrased problem _R_ instead of the original backward problem.
|
| 69 |
+
|
| 70 |
+
Our experiments in Table 2 show that converting the backward MWP into an algebraic MWP by replacing the blank with _x_ and asking the LLM to find the value of _x_ as shown in Figure 1 gives us better results than converting to a simple MWP which asks us to find the value of the unknown quantity.
|
| 71 |
+
|
| 72 |
+
**PAL-Tools:** The second base method that we propose combines Program-aided language models (PAL) (Gao et al., 2023) with the techniques of framing equations and solving them using SymPy (Meurer et al., 2016), (He-Yueya et al., 2023) (referred to hereafter as _tools_ ). We observe that PAL performs very poorly at the backward reasoning task due to the non-sequential nature of the task. When PAL is used for backward reasoning, LLMs must first rearrange the terms of the equation instead of merely finding a formula to use given the variables in the problem. By only using the framing equations, we present the backward reasoning problem to the LLM in a structured mathematical form, making it easier for them to understand and generate code or solutions based on the given equations.
|
| 73 |
+
|
| 74 |
+
Recently, Schick et al. (2023) have shown that LLMs can utilize external tools and APIs to solve various downstream tasks. Motivated by this, we leverage the LLM’s ability to call SymPy functions to overcome their inability to manipulate equations to isolate the unknown variable. Our prompt frames the problem as an equation in _x_ and asks the model to generate code that solves the equation using Sympy’s solve method, as shown in Figure 1. Parallel work by Zhou et al. (2023), which uses GPT-4’s code interpreter to both solve and verify solutions with code, shows similar improvements on the forward task.
|
| 75 |
+
|
| 76 |
+
**Reprompting and Verification:** Our third base method _Reprompting and Verification_ is based on recently proposed framework of SELF-REFINE (Madaan et al., 2023). SELF-REFINE is an iterative prompting technique that cycles between refinement and feedback until a predetermined condition is attained. We modify the SELF-REFINE to perform backward reasoning on MWP. We use PAL-tools as the base model within Self-Refine and refine the programs generated by PAL-tools with feedback from the language model as was done in (Madaan et al., 2023).
|
| 77 |
+
|
| 78 |
+
4
|
| 79 |
+
|
| 80 |
+
Table 2: Improvements in accuracy with various prompting strategies
|
| 81 |
+
|
| 82 |
+
|Strategy|Shots|GSM8kB|SVAMPB|MultiArithB|
|
| 83 |
+
|---|---|---|---|---|
|
| 84 |
+
|CoT|8-Shot|10.77|20.40|14.50|
|
| 85 |
+
|PAL|4-Shot|9.27|20.90|18.17|
|
| 86 |
+
|Tools|3-Shot|31.45|43.50|71.83|
|
| 87 |
+
|Rephrase (Linguistic)|8-Shot|19.65|32.60|40.50|
|
| 88 |
+
|Rephrase (Algebraic)|8-Shot|36.12|37.80|71.67|
|
| 89 |
+
|PAL-tools|2-Shot|37.26|41.00|79.67|
|
| 90 |
+
|PAL-tools (Rephrased)|2-Shot|37.89|42.10|77.67|
|
| 91 |
+
|PAL-tools|4-Shot|37.11|42.70|80.50|
|
| 92 |
+
|PAL-tools (Rephrased)|4-Shot|**48.74**|**51.10**|84.50|
|
| 93 |
+
|Self-Refne (Rephrased)|2-Shot|40.17|49.70|77.50|
|
| 94 |
+
|Check your Work (Rephrased)|8-Shot|41.82|47.40|**84.83**|
|
| 95 |
+
|
| 96 |
+
Our method works as follows:
|
| 97 |
+
|
| 98 |
+
1. We start by instructing the LLM to solve the backward MWP ( _Q, Af_ ) and provide the numeric value of blank in question _Q_ .
|
| 99 |
+
|
| 100 |
+
2. In this step, we verify the answer generated by the LLM. To do this, we substitute the blank in _Q_ with the LLM’s answer, creating a modified question, denoted as _Q[′]_ . We then instruct an LLM to generate the answer _A[′]_ of this newly formed forward question.
|
| 101 |
+
|
| 102 |
+
3. We compare the answer _A[′]_ obtained from _Q[′]_ with the original answer _Af_ . If _A[′]_ matches with _Af_ our method stops.
|
| 103 |
+
|
| 104 |
+
4. If, upon comparison, the answers _A[′]_ and _Af_ do not match, we go back to step 1 and ask LLM to generate alternate hypotheses by adding the feedback in obtained step 2.
|
| 105 |
+
|
| 106 |
+
Note that the second step above, which involves verifying the answer, can be performed either by the same or a more powerful LLM. We refer to this method as _Check your work_ . An illustration of this process is provided in Figure 1.
|
| 107 |
+
|
| 108 |
+
## 5 ENSEMBLING AND VERIFICATION
|
| 109 |
+
|
| 110 |
+
In this section, we present a simple approach for ensembling the set of base methods described previously followed by use of verifier to further improve the accuracy. We assume that we are solving the backward reasoning problem, where given a backward question _Q_ , we are interested in finding the correct answer _A_ to fill in the blank in the backward question _Q_ .
|
| 111 |
+
|
| 112 |
+
## 5.1 COMPUTING THE PRIOR DISTRIBUTION
|
| 113 |
+
|
| 114 |
+
To create an ensemble, we use the idea of frequency voting. Assume that we are given a set of models _{M_ 1 _, M_ 2 _, · · · , Mk}_ . Given a model _Mi_ , we run the model _Mi_ on the question _Q r_ times, to get a multi-set of answers _{Aij}[r] j_ =1[.]
|
| 115 |
+
|
| 116 |
+
We compute the prior probability _P_ ( _Al | Q_ ) as simply the fraction of times _Al_ appears as the answers in the union of multiset of answers produced by each model for question _Q_ : _P_ ( _Al_ = _A | Q_ ) = � _i,j_[1][[] _[A][ij]_[ =] _[A]_[]] _[/kr]_[.][This generalizes the idea of majority voting to compute a prior distribution over] all the answers produced by a set of models in a given set of runs. This ensemble can be used for (1) Simple Voting: Output the answer with the highest probability (2) Sampling: Output an answer based on its prior probability (3) Prior: Use this as a prior distribution, to compute another posterior with additional knowledge as described below.
|
| 117 |
+
|
| 118 |
+
5
|
| 119 |
+
|
| 120 |
+
**==> picture [396 x 168] intentionally omitted <==**
|
| 121 |
+
|
| 122 |
+
**----- Start of picture text -----**<br>
|
| 123 |
+
50% Write a program using SymPy 20<br>to find the value of x:<br>Q. The cafeteria had 23 12<br>apples. If they used x to make<br>lunch ... Find the value of x. 9<br>M1 M2 M3 Prior Post<br>20 1 0 2 3/9 20 0.55<br>30% Solve the following question: 5 12 1 0 0 1/9 Verify if the answer to thegiven question is correct: 12 0.03<br>Q. The cafeteria had 23 9 9 1 1 1 3/9 Q. The cafeteria had 23 9 0.28<br>apples. If they used x to make apples. If they used n to make<br>lunch ... Find the value of x. 5 0 1 0 1/9 lunch ... 5 0.01<br>8 8 0 1 0 1/9 A: 9 8 0.16<br>40% Generate equations in thepeano format to fill in the 9 2. over answersCreate priors 3. Verify obtained answers 4. Update priors &choose most<br>blank:Q. The cafeteria had 23 20 probable answer<br>apples. If they used x to make<br>lunch ... Find the value of x. 20<br>1. Obtain samples from models<br>**----- End of picture text -----**<br>
|
| 124 |
+
|
| 125 |
+
Figure 2: An illustrative example of how the ensembling of base models works together with a verifier.
|
| 126 |
+
|
| 127 |
+
## 5.2 IMPROVEMENTS USING A VERIFIER
|
| 128 |
+
|
| 129 |
+
Next, let us assume we have a verifier _V_ , such that given a question _Q_ and an answer _Al_ , _V_ gives a Boolean output _Zl_ . This output is equal to 1 if _Al_ is the correct answer to the question according to the verifier, and 0 otherwise. Let _P_ 1( _Zl|Al_ = _A, Q_ ) denote the distribution over _V_ ’s outputs when _Al_ = _A_ . Similarly, let _P_ ( _Zl|Al_ = _A, Q_ ) denote the distribution over _V_ ’s outputs when _Al_ = _A_ . We estimate these distributions by computing the accuracy of the verifier on the holdout set _S[′]_ , and supplying a set of answers produced by the _k_ models, each run _r_ times on each _Q ∈ S[′]_ , along with the gold answer _A_ . Please note that we could also use the probability _P_ 1( _Zl|Al_ = _A, Q_ ) provided by the verifier, but this probability may not be well calibrated (Jiang et al., 2021; Zhao et al., 2021), i.e., the model’s probability estimates may not accurately reflect the true likelihood of the answer being correct. Therefore, we opted to use the holdout set to estimate these probabilities.
|
| 130 |
+
|
| 131 |
+
The probability that _Al_ is the correct answer for a question _Q_ , given the prior probability and the verifier output _Zl_ , by application of Bayes Rule, can be written as
|
| 132 |
+
|
| 133 |
+
**==> picture [387 x 25] intentionally omitted <==**
|
| 134 |
+
|
| 135 |
+
The first term in the numerator captures the prior probability over the verifier output given the correct answer and is computed based on the holdout set as described earlier. The second term is simply the prior probability as computed in section 5.1. The denominator is simply the normalization constant: the first term is the same as in the numerator. In the second term, the first sub-term captures the prior probability of verifier output given an incorrect answer and is obtained from the validation set. The second sub-term can be computed simply by subtracting the prior distribution over answers. Figure 2 illustrates the process of how ensembling works using an example.
|
| 136 |
+
|
| 137 |
+
## 6 EXPERIMENTS
|
| 138 |
+
|
| 139 |
+
## 6.1 SETUP
|
| 140 |
+
|
| 141 |
+
In our experimental setup, we work with three primary datasets: GSM8k (Cobbe et al., 2021), MultiArith (Roy & Roth, 2015), and SVAMP (Patel et al., 2021). We transform the examples in these datasets into backward tasks, resulting in the creation of three new datasets: GSM8kB, SVAMPB, and MultiArithB. We have experimented with four SOTA LLMs: GPT-4, GPT-3.5-Turbo (OpenAI, 2023), PaLM-2 (Anil et al., 2023) and LLaMa-2 (Touvron et al., 2023). The first three models are utilized via their official model APIs, while for LLaMa-2, we use the 70-billion-parameter model quantized to 4-bit using GPTQ (Frantar et al., 2022). Apart from Table 1, all other tables use GPT-3.5-Turbo as the base model, unless mentioned otherwise.
|
| 142 |
+
|
| 143 |
+
6
|
| 144 |
+
|
| 145 |
+
Table 3: Results of Ensembling
|
| 146 |
+
|
| 147 |
+
||GSM8k_†_<br>B|SVAMP_†_<br>B|MultiArith_†_<br>B|
|
| 148 |
+
|---|---|---|---|
|
| 149 |
+
|CoT|35.67|37.78|69.60|
|
| 150 |
+
|Tools|41.81|48.11|72.00|
|
| 151 |
+
|PAL-Tools|48.55|45.00|81.50|
|
| 152 |
+
|Ensemble|**65.33**|**66.67**|**92.60**|
|
| 153 |
+
|
| 154 |
+
We work with 4 different prompting techniques: Chain of Thought (Wei et al., 2022), PAL (Gao et al., 2023), Tools (He-Yueya et al., 2023) and SELF-REFINE (Madaan et al., 2023). Prompts and in-context examples for the prompting techniques are taken from their original works. The in-context examples are modified for the backward setting as discussed in Section 4. Examples of the prompts used are given in Appendix A.2.
|
| 155 |
+
|
| 156 |
+
## 6.2 APPROACHES
|
| 157 |
+
|
| 158 |
+
We test our approaches using GPT-3.5-Turbo as the base model. The results are highlighted in Table 2. We classify the prompts into four categories:
|
| 159 |
+
|
| 160 |
+
1. **Baseline prompts** : Prompts whose in-context examples were adapted to the backward task without changing the technique.
|
| 161 |
+
|
| 162 |
+
2. **Rephrased prompts** : Prompts that solve the rephrased question using chain-of-thought reasoning. Used in proposed base method rephrasing.
|
| 163 |
+
|
| 164 |
+
3. **PAL-Tools prompts** : Prompts that use PAL-tools and their variants.
|
| 165 |
+
|
| 166 |
+
4. **Adaptive prompts** : Prompts used for resampling another hypothesis from the LLM if the verification condition is not satisfied in the base method Reprompting and Verification.
|
| 167 |
+
|
| 168 |
+
For rephrasing, we find that models perform better when the rephrased problem has the blank replaced with _x_ compared to the baseline prompt This is because the relationship between the missing value and the equations that models need to frame in order to solve the forward problem is explicit. Also, for the baseline prompt, the model requires inferring the relationship between the forward answer and the equations they need to frame to obtain it, which may introduce ambiguity and reduce accuracy.
|
| 169 |
+
|
| 170 |
+
For programmatic techniques, we see that PAL-Tools is more performant than Pal or Tools taken separately. We hypothesize that LLMs encounter a larger amount of code in their training data compared to the Peano solutions that He-Yueya et al. (2023) use in their prompt, and this implies that they may find it easier to frame equations in a programming language rather than in a domain-specific language specified via few-shot examples. We find that 4-shot PAL-tools with rephrasing performs the best on GSM8kB and SVAMPB, while Check your Work prompting marginally outperforms PAL-tools on MultiArithB. We also see that more in-context examples strongly assist in rephrasing, as 4-shot rephrased PAL-Tools strongly outperforms 2-shot rephrased PAL-Tools when compared to the base version without any rephrasing.
|
| 171 |
+
|
| 172 |
+
Finally, our proposed Check your Work method does marginally better than with our designed prompts than prompts given the original Self-Refine paper (Madaan et al., 2023), with the added benefit of much lower cost. While Self-Refine’s feedback prompts are quite large, containing extensive feedback, check your work only appends the final question and chain of thought for verifying the final question to the few-shot examples. This reduces cost as well as inference time. We also see that Self-Refine outperforms the comparable PAL-tools variant, indicating that feedback from the language model does assist in correcting reasoning.
|
| 173 |
+
|
| 174 |
+
## 6.3 ENSEMBLING
|
| 175 |
+
|
| 176 |
+
For our ensemble experiments, we selected the 100 examples from the datasets as holdout sets to compute the prior probabilities of the models and the verifier’s accuracy. The models we included in the ensemble are rephrased versions of three of our strongest single-prompt models: Chain-ofThought, Tools, and PAL-Tools. We then evaluated the ensemble on the non-holdout set, which is
|
| 177 |
+
|
| 178 |
+
7
|
| 179 |
+
|
| 180 |
+
Table 4: Improvements using Rephrasing
|
| 181 |
+
|
| 182 |
+
|Model|Shots|Rephrased|GSM8kB|SVAMPB|MultiArithB|
|
| 183 |
+
|---|---|---|---|---|---|
|
| 184 |
+
|CoT|8-shot|No|10.77|20.4|14.50|
|
| 185 |
+
|||Yes|**36.12**|**37.8**|**71.67**|
|
| 186 |
+
||||(_↑_25.35)|(_↑_17.4)|(_↑_57.17)|
|
| 187 |
+
|PAL|4-shot|No|9.27|20.9|18.17|
|
| 188 |
+
|||Yes|**21.38**|**37.0**|**55.50**|
|
| 189 |
+
||||(_↑_12.11)|(_↑_16.1)|(_↑_37.33)|
|
| 190 |
+
|Tools|3-shot|No|31.45|43.5|71.83|
|
| 191 |
+
|||Yes|**41.43**|**48.5**|**73.00**|
|
| 192 |
+
||||(_↑_9.98 )|(_↑_5.0 )|(_↑_1.17 )|
|
| 193 |
+
|PAL-tools|4-shot|No|37.11|42.7|80.50|
|
| 194 |
+
|||Yes|**48.74**|**51.1**|**84.50**|
|
| 195 |
+
||||(_↑_11.63)|(_↑_8.4 )|(_↑_4 )|
|
| 196 |
+
|
| 197 |
+
|actual|model|
|
| 198 |
+
|---|---|
|
| 199 |
+
||positive<br>negative|
|
| 200 |
+
|positive<br>negative|75.94<br>24.05<br>7.39<br>92.61|
|
| 201 |
+
|
| 202 |
+
Table 5: Confusion matrix for verifying problems and their solutions on GSM8kB, normalized across rows
|
| 203 |
+
|
| 204 |
+
**==> picture [179 x 111] intentionally omitted <==**
|
| 205 |
+
|
| 206 |
+
**----- Start of picture text -----**<br>
|
| 207 |
+
2-shot 4-shot<br>30%<br>20%<br>10%<br>0%<br>GSM8k SVAMP MultiArith<br>**----- End of picture text -----**<br>
|
| 208 |
+
|
| 209 |
+
Figure 3: Relative performance increase rephrasing brings to PAL-tools when 4 shots are used compared to 2.
|
| 210 |
+
|
| 211 |
+
denoted with a _[†]_ symbol in Table 3 to show the results. We observed that the accuracy on backward MWP via ensembling surpasses the forward accuracy of Chain-of-Thought by up to 6%.
|
| 212 |
+
|
| 213 |
+
## 7 ANALYSIS
|
| 214 |
+
|
| 215 |
+
**How much does rephrasing help?** Since rephrasing is a strategy that can be applied across multiple techniques, we analyze the extent of accuracy gains obtained via rephrasing by applying it independently to four techniques: CoT, PAL, Tools, and PAL-Tools. The results are shown in Table 4. Rephrasing improves the accuracy of every technique that it is applied to. We see larger gains with rephrasing in weaker methods, such as CoT. We also see that rephrasing has higher gains in datasets where the problems are harder, such as in GSM8k compared to SVAMP.
|
| 216 |
+
|
| 217 |
+
**Is verifying easier than solving?** In the third step of the ensembling method, we try to verify whether the blank provided is correct by solving the resulting forward problem after substituting the blank. There are two settings in which we can verify this: 1) We ask the model to solve this new question, and compare whether the answer obtained is same as original answer _a_ . 2) We give the original answer _a_ to the model and ask it to check whether it is the answer obtained for new question.
|
| 218 |
+
|
| 219 |
+
To find which method is better at correctly verifying the blank, we check the accuracy of GPT-3.5turbo on GSM8k in setting 2. In the first pass, we provide the correct blank and in the second pass, we provide an incorrect blank formed by multiplying _z ∈{_ 2 _. . ._ 10 _}_ with the correct blank. The confusion matrix obtained is shown in Figure 5. It is observed that the accuracy of setting 2 is higher than the forward reasoning accuracy of GPT-3.5-turbo. Hence we use that as the verification method for ensembling.
|
| 220 |
+
|
| 221 |
+
8
|
| 222 |
+
|
| 223 |
+
Carla just gave birth to identical octuplets. She dresses 3/4 of them in purple and _____ in blue. If all the blue wearers and 1/3 of the purple wearers also wear bows, what is the percentage chance a baby wearing a bow is wearing purple?
|
| 224 |
+
|
| 225 |
+
Ian has a board that is 40 feet long. He decides to make a cut so he can have _____ pieces. The longer piece is 4 times longer than the shorter piece. How long is the longer piece?
|
| 226 |
+
|
| 227 |
+
Table 7: Examples of questions in GSM8kB that don’t require the answer to find the value of the blank
|
| 228 |
+
|
| 229 |
+
**==> picture [180 x 147] intentionally omitted <==**
|
| 230 |
+
|
| 231 |
+
**----- Start of picture text -----**<br>
|
| 232 |
+
Rephrased CoT<br>421<br>84<br>107<br>58<br>213<br>133<br>89<br>167<br>Rephrased<br>Tools<br>Rephrased PAL-Tools<br>**----- End of picture text -----**<br>
|
| 233 |
+
|
| 234 |
+
Figure 4: Venn diagram of the subsets of problems of GSM8kB different prompts are able to solve
|
| 235 |
+
|
| 236 |
+
**Does the verifier assist in ensembling?** We compare the accuracies obtained by using majority voting with and without the verifier. We find that using a verifier improves the accuracy on GSM8k _[†]_ B and SVAMP _[†]_ B[by 7% and on MultiArith] _[†]_ B[by 0.6%.][Since the verifier has a higher accuracy than any] of the models we consider, its inclusion inevitably increases the accuracy of any set of methods we choose. Even if we use a noisy verifier, updating our priors based on its results using Bayes’ rule ensures that the priors are not changed significantly.
|
| 237 |
+
|
| 238 |
+
**Do some prompts subsume others?** Let prompts _M_ 1 _, M_ 2 _, M_ 3 be able to solve problems _D_ 1 _, D_ 2 _, D_ 3 respectively, where _Di ⊆ D_ . If we choose to ensemble these prompts together, then _|_[�] _j[D][j][|][ >][ |D][i][|]_[ for the ensemble to do better.][Figure 4 gives an overview of the subsets of GSM8k] three prompts, namely Rephrased Chain of Thought, Rephrased PAL-Tools and Rephrased Tools can solve in a single try. We see that even though there is significant overlap between the prompts, the probability of any one of them giving the right answer is 66.9 %, provided we sample from each prompt once. The venn diagram also shows that the subsets of problems different prompts cover is quite disjoint in nature. No prompt can solve all the problems that another prompt can solve.
|
| 239 |
+
|
| 240 |
+
**Can every blank’s answer be determined?** There may be cases where the blank does not directly contribute to the answer, or is irrelevant. In such a case, inferring the value of the blank is not possible given the answer. Even though Cobbe et al. (2021) claim that less than two percent of problems have breaking errors, We sample 50 random examples from GSM8kBthat our strongest model solves incorrectly and find that no such problems in the sample we analyse, leading us to believe that the probability of such problems existing in our dataset is little to none.
|
| 241 |
+
|
| 242 |
+
**Do all blanks need answers to be solved?** In the 50 examples we analyse above, there are 10 examples where the value of the blank can be obtained simply from reading the question, as the question makes implicit assumptions or provides further information that can be used to fill in the blank. Two examples are presented in figure 3. It is surprising that even our strongest model is unable to find the answer to such questions, either as a consequence of its poor reasoning abilities or because we make the dependency between requiring the answer to fill in the blank explicit.
|
| 243 |
+
|
| 244 |
+
## 8 CONCLUSION
|
| 245 |
+
|
| 246 |
+
We show that backward reasoning is still a hard problem for large language models, by showing that their accuracy drops significantly on this task compared to forward reasoning. To augment this, we propose multiple methods that can improve their accuracy in this setting and are extensible across preexisting models. We also propose a Bayesian ensembling technique that can combine multiple models in the presence of a noisy verifier. These techniques combined bring backward performance on par with forward reasoning performance. Finally, we analyze the fallacies and pitfalls of each of these techniques and show areas for future improvements.
|
| 247 |
+
|
| 248 |
+
9
|
| 249 |
+
|
| 250 |
+
## REFERENCES
|
| 251 |
+
|
| 252 |
+
- Rohan Anil, Andrew M. Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, Eric Chu, Jonathan H. Clark, Laurent El Shafey, Yanping Huang, Kathy Meier-Hellstern, Gaurav Mishra, Erica Moreira, Mark Omernick, Kevin Robinson, Sebastian Ruder, Yi Tay, Kefan Xiao, Yuanzhong Xu, Yujing Zhang, Gustavo Hernandez Abrego, Junwhan Ahn, Jacob Austin, Paul Barham, Jan Botha, James Bradbury, Siddhartha Brahma, Kevin Brooks, Michele Catasta, Yong Cheng, Colin Cherry, Christopher A. Choquette-Choo, Aakanksha Chowdhery, Clément Crepy, Shachi Dave, Mostafa Dehghani, Sunipa Dev, Jacob Devlin, Mark Díaz, Nan Du, Ethan Dyer, Vlad Feinberg, Fangxiaoyu Feng, Vlad Fienber, Markus Freitag, Xavier Garcia, Sebastian Gehrmann, Lucas Gonzalez, Guy Gur-Ari, Steven Hand, Hadi Hashemi, Le Hou, Joshua Howland, Andrea Hu, Jeffrey Hui, Jeremy Hurwitz, Michael Isard, Abe Ittycheriah, Matthew Jagielski, Wenhao Jia, Kathleen Kenealy, Maxim Krikun, Sneha Kudugunta, Chang Lan, Katherine Lee, Benjamin Lee, Eric Li, Music Li, Wei Li, YaGuang Li, Jian Li, Hyeontaek Lim, Hanzhao Lin, Zhongtao Liu, Frederick Liu, Marcello Maggioni, Aroma Mahendru, Joshua Maynez, Vedant Misra, Maysam Moussalem, Zachary Nado, John Nham, Eric Ni, Andrew Nystrom, Alicia Parrish, Marie Pellat, Martin Polacek, Alex Polozov, Reiner Pope, Siyuan Qiao, Emily Reif, Bryan Richter, Parker Riley, Alex Castro Ros, Aurko Roy, Brennan Saeta, Rajkumar Samuel, Renee Shelby, Ambrose Slone, Daniel Smilkov, David R. So, Daniel Sohn, Simon Tokumine, Dasha Valter, Vijay Vasudevan, Kiran Vodrahalli, Xuezhi Wang, Pidong Wang, Zirui Wang, Tao Wang, John Wieting, Yuhuai Wu, Kelvin Xu, Yunhan Xu, Linting Xue, Pengcheng Yin, Jiahui Yu, Qiao Zhang, Steven Zheng, Ce Zheng, Weikang Zhou, Denny Zhou, Slav Petrov, and Yonghui Wu. Palm 2 technical report. _arXiv preprint arXiv:2305.10403_ , 2023.
|
| 253 |
+
|
| 254 |
+
- Chandra Bhagavatula, Ronan Le Bras, Chaitanya Malaviya, Keisuke Sakaguchi, Ari Holtzman, Hannah Rashkin, Doug Downey, Wen tau Yih, and Yejin Choi. Abductive commonsense reasoning. In _ICLR_ , 2020.
|
| 255 |
+
|
| 256 |
+
- Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, T. J. Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeff Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. _arXiv preprint arXiv:2005.14165_ , 2020.
|
| 257 |
+
|
| 258 |
+
- Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. _arXiv preprint arXiv:2110.14168_ , 2021.
|
| 259 |
+
|
| 260 |
+
- Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. Optq: Accurate quantization for generative pre-trained transformers. In _ICLR_ , 2022.
|
| 261 |
+
|
| 262 |
+
- Luyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. Pal: Program-aided language models. In _ICML_ , 2023.
|
| 263 |
+
|
| 264 |
+
- Joy He-Yueya, Gabriel Poesia, Rose E. Wang, and Noah D. Goodman. Solving math word problems by combining language models with symbolic solvers. _arXiv preprint arXiv:2304.09102_ , 2023.
|
| 265 |
+
|
| 266 |
+
- Zhengbao Jiang, Jun Araki, Haibo Ding, and Graham Neubig. How can we know when language models know? on the calibration of language models for question answering. _Transactions of the Association for Computational Linguistics_ , 9:962–977, 2021.
|
| 267 |
+
|
| 268 |
+
- Zhanming Jie, Jierui Li, and Wei Lu. Learning to reason deductively: Math word problem solving as complex relation extraction. 2022.
|
| 269 |
+
|
| 270 |
+
- Rik Koncel-Kedziorski, Hannaneh Hajishirzi, Ashish Sabharwal, Oren Etzioni, and Siena Dumas Ang. Parsing algebraic word problems into equations. _Transactions of the Association for Computational Linguistics_ , 3:585–597, 2015.
|
| 271 |
+
|
| 272 |
+
10
|
| 273 |
+
|
| 274 |
+
- Nate Kushman, Yoav Artzi, Luke Zettlemoyer, and Regina Barzilay. Learning to automatically solve algebra word problems. In _ACL_ , pp. 271–281, 2014.
|
| 275 |
+
|
| 276 |
+
- Shucheng Li, Lingfei Wu, Shiwei Feng, Fangli Xu, Fengyuan Xu, and Sheng Zhong. Graph-to-tree neural networks for learning structured input-output translation with applications to semantic parsing and math word problem. In _Findings EMNLP_ , pp. 2841–2852, 2020.
|
| 277 |
+
|
| 278 |
+
- Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. Program induction by rationale generation: Learning to solve and explain algebraic word problems. In _ACL_ , pp. 158–167, 2017.
|
| 279 |
+
|
| 280 |
+
- Pan Lu, Liang Qiu, Wenhao Yu, Sean Welleck, and Kai-Wei Chang. A survey of deep learning for mathematical reasoning. _arXiv preprint arXiv:2212.10535_ , 2022.
|
| 281 |
+
|
| 282 |
+
- Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-refine: Iterative refinement with self-feedback. _arXiv preprint arXiv:2303.17651_ , 2023.
|
| 283 |
+
|
| 284 |
+
- Aaron Meurer, Christopher P Smith, Mateusz Paprocki, Ondˇrej Certík,[ˇ] Matthew Rocklin, AMiT Kumar, Sergiu Ivanov, Jason K Moore, Sartaj Singh, Thilina Rathnayake, Sean Vig, Brian E Granger, Richard P Muller, Francesco Bonazzi, Harsh Gupta, Shivam Vats, Fredrik Johansson, Fabian Pedregosa, Matthew J Curry, Ashutosh Saboo, Isuru Fernando, Sumith Kulal, Robert Cimrman, and Anthony Scopatz. Sympy: Symbolic computing in python. May 2016.
|
| 285 |
+
|
| 286 |
+
OpenAI. Gpt-4 technical report. _arXiv preprint arXiv:2303.08774_ , 2023.
|
| 287 |
+
|
| 288 |
+
- Arkil Patel, Satwik Bhattamishra, and Navin Goyal. Are NLP models really able to solve simple math word problems? In _NAACL_ , 2021.
|
| 289 |
+
|
| 290 |
+
- Lianhui Qin, Vered Shwartz, Peter West, Chandra Bhagavatula, Jena D. Hwang, Ronan Le Bras, Antoine Bosselut, and Yejin Choi. Back to the future: Unsupervised backprop-based decoding for counterfactual and abductive commonsense reasoning. In _EMNLP_ , 2020.
|
| 291 |
+
|
| 292 |
+
- Lianhui Qin, Sean Welleck, Daniel Khashabi, and Yejin Choi. COLD decoding: Energy-based constrained text generation with langevin dynamics. In _NeurIPS_ , 2022.
|
| 293 |
+
|
| 294 |
+
- Ajay Ramful and John Olive. Reversibility of thought: An instance in multiplicative tasks. _The Journal of Mathematical Behavior_ , 27(2):138–151, 2008.
|
| 295 |
+
|
| 296 |
+
- FD Rivera. On the pitfalls of abduction: Compolicities and complexities in patterning activity. _For the learning of mathematics_ , 28(1):17–25, 2008.
|
| 297 |
+
|
| 298 |
+
- Subhro Roy and Dan Roth. Solving general arithmetic word problems. In _EMNLP_ , 2015.
|
| 299 |
+
|
| 300 |
+
- Subhro Roy and Dan Roth. Mapping to declarative knowledge for word problem solving. _Transactions of the Association for Computational Linguistics_ , 6:159–172, 2018.
|
| 301 |
+
|
| 302 |
+
- Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. _arXiv preprint arXiv:2302.04761_ , 2023.
|
| 303 |
+
|
| 304 |
+
- Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. Generate & rank: A multi-task framework for math word problems. In _Findings of EMNLP_ , pp. 2269–2279, 2021.
|
| 305 |
+
|
| 306 |
+
- Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In _NeurIPS_ , 2014.
|
| 307 |
+
|
| 308 |
+
- 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, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra,
|
| 309 |
+
|
| 310 |
+
11
|
| 311 |
+
|
| 312 |
+
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. _arXiv preprint arXiv:2307.09288_ , 2023.
|
| 313 |
+
|
| 314 |
+
- Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In _ICLR_ , 2023.
|
| 315 |
+
|
| 316 |
+
- Yan Wang, Xiaojiang Liu, and Shuming Shi. Deep neural solver for math word problems. In _EMNLP_ , pp. 845–854, 2017.
|
| 317 |
+
|
| 318 |
+
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, brian ichter, Fei Xia, Ed Chi, Quoc V Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In _NeurIPS_ , 2022.
|
| 319 |
+
|
| 320 |
+
- Sean Welleck, Ximing Lu, Peter West, Faeze Brahman, Tianxiao Shen, Daniel Khashabi, and Yejin Choi. Generating sequences by learning to self-correct. In _ICLR_ , 2023.
|
| 321 |
+
|
| 322 |
+
- Yixuan Weng, Minjun Zhu, Fei Xia, Bin Li, Shizhu He, Kang Liu, and Jun Zhao. Large language models are better reasoners with self-verification. _arXiv preprint arXiv:2212.09561_ , 2022.
|
| 323 |
+
|
| 324 |
+
- Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In _ICML_ , pp. 12697–12706, 2021.
|
| 325 |
+
|
| 326 |
+
- Chuanyang Zheng, Zhengying Liu, Enze Xie, Zhenguo Li, and Yu Li. Progressive-hint prompting improves reasoning in large language models. _arXiv preprint arXiv:2304.09797_ , 2023.
|
| 327 |
+
|
| 328 |
+
- Aojun Zhou, Ke Wang, Zimu Lu, Weikang Shi, Sichun Luo, Zipeng Qin, Shaoqing Lu, Anya Jia, Linqi Song, Mingjie Zhan, and Hongsheng Li. Solving challenging math word problems using gpt-4 code interpreter with code-based self-verification. _arXiv preprint arXiv:2308.07921_ , 2023.
|
| 329 |
+
|
| 330 |
+
## A APPENDIX
|
| 331 |
+
|
| 332 |
+
## A.1 DATASET
|
| 333 |
+
|
| 334 |
+
We consider three datasets of interest: GSM8K (Cobbe et al., 2021), MultiArith (Roy & Roth, 2015) and SVAMP (Patel et al., 2021). All these datasets consist of grade-school arithmetic word problems along with their answers.
|
| 335 |
+
|
| 336 |
+
## A.1.1 GENERATION METHODOLOGY
|
| 337 |
+
|
| 338 |
+
Given a source forward dataset
|
| 339 |
+
|
| 340 |
+
**==> picture [158 x 11] intentionally omitted <==**
|
| 341 |
+
|
| 342 |
+
we present a method to create a backward dataset
|
| 343 |
+
|
| 344 |
+
**==> picture [238 x 14] intentionally omitted <==**
|
| 345 |
+
|
| 346 |
+
To convert _Qi_ (Source question) to _Q[′] i_[(blanked out question) and extract blanks] _[ B] i_[0] _[. . . B] i[k]_[, we split] _Qi_ into it’s constitutent tokens based on a delimiter, usually space. We then consider all numeric tokens, which are defined as tokens that encode a number. Numeric tokens may be alphanumeric, such as $42, 80% or 3.14, or they may be alphabetic, such as three, twice or half. Using this heuristic for numeric tokens, we ignore the first numeric token and extract the next _k_ tokens sequentially. If we are unable to extract _k_ tokens, then we skip that question and answer pair. It is worth noting that for the datasets we use, _k_ = 1, that is we only consider the problem of backwardly inferring one missing number in the question, given the answer. Solving the _n >_ 1 case would require first checking if a unique solution exists and is a topic for future work.
|
| 347 |
+
|
| 348 |
+
12
|
| 349 |
+
|
| 350 |
+
|Dataset|_N_|Example|
|
| 351 |
+
|---|---|---|
|
| 352 |
+
|GSM8k|1272*|Kylar went to the store to buy glasses for his new apartment. One glass costs|
|
| 353 |
+
|||$5, but every second glass costs only 60% of the price. Kylar wants to buy 16|
|
| 354 |
+
|||glasses. How much does he need to pay for them?|
|
| 355 |
+
|GSM8kB|1272|Q : Kylar went to the store to buy glasses for his new apartment. One glass|
|
| 356 |
+
|||costs $5, but every second glass costs only _____% of the price. Kylar wants|
|
| 357 |
+
|||to buy 16 glasses. How much does he need to pay for them?|
|
| 358 |
+
|||A : 64|
|
| 359 |
+
|SVAMP|1000|28 children were riding on the bus. At the bus stop 82 children got on the bus|
|
| 360 |
+
|||while some got off the bus. Then there were 30 children altogether on the bus.|
|
| 361 |
+
|||How many more children got on the bus than those that got off?|
|
| 362 |
+
|SVAMPB|1000|Q : 28 children were riding on the bus. At the bus stop _____ children got on|
|
| 363 |
+
|||the bus while some got off the bus. Then there were 30 children altogether on|
|
| 364 |
+
|||the bus. How many more children got on the bus than those that got off?"|
|
| 365 |
+
|||A : 2|
|
| 366 |
+
|MultiArith|600|Lana picked 36 tulips and 37 roses to make fower bouquets. If she only used|
|
| 367 |
+
|||70 of the fowers though, how many extra fowers did Lana pick?|
|
| 368 |
+
|MultiArithB|600|Q : Lana picked 36 tulips and _____ roses to make fower bouquets. If she|
|
| 369 |
+
|||only used 70 of the fowers though, how many extra fowers did Lana pick?|
|
| 370 |
+
|||A : 3|
|
| 371 |
+
|
| 372 |
+
Table 7: Sample questions from the datasets we consider
|
| 373 |
+
|
| 374 |
+
The reason we choose to blank out only numeric tokens rather than an entire phrase or sentence is to make the task of validation easier. An alternative that was explored was phrase masking. However, phrase masking would lead to generations that would not be verifiable with perfect accuracy, and multiple possible generations for each question. The benefit of number masking is that quantities can be compared to each other without loss of accuracy, and every question-answer pair has a unique blank.
|
| 375 |
+
|
| 376 |
+
## A.1.2 GENERATION RESULTS
|
| 377 |
+
|
| 378 |
+
Using the above method, we were able to convert 1272 of the 1319 question and answer pairs in GSM8k to backward reasoning problems, and all 1000 and 600 pairs in SVAMP and MultiArith respectively.
|
| 379 |
+
|
| 380 |
+
## A.1.3 DATASET EXAMPLES
|
| 381 |
+
|
| 382 |
+
Some examples of the datasets under consideration are shown in Table 7. Note that for GSM8k, the original dataset contains 1319 sample problems but our dataset generation method for the backward task filters out 47 of them. For comparability with the backward task, we have used the 1272 common examples of this dataset. We use all the problems in SVAMP and MultiArith.
|
| 383 |
+
|
| 384 |
+
## A.2 PROMPTS
|
| 385 |
+
|
| 386 |
+
We construct prompts by changing the original examples of the papers we consider. We show one to two in-context examples of each prompt. The remaining examples may be seen in our code.
|
| 387 |
+
|
| 388 |
+
13
|
| 389 |
+
|
| 390 |
+
1 Rephrase the given blanked question and answer pairs and then find the solution to the rephrased question. Give your answer as either a number or a decimal (no fractions). Follow the format specified in the examples below: 2 3 Q: There are 15 trees in the grove. Grove workers will plant _____ trees in the grove today. After they are done, how many trees would be there? 4 A: 21 5 Rephrased: There are 15 trees in the grove. Grove workers will plant x trees in the grove today. After they are done, there would be 21 trees. Find the value of x. 6 Answer: There are 15 trees originally, Then there were 21 trees after some more were planted. So there must have been x = 21 - 15 = 6 trees. The answer is 6. 7 8 Q: If there are 3 cars in the parking lot and _____ more cars arrive, how many cars are in the parking lot? 9 A: 5 10 Rephrased: If there are 3 cars in the parking lot and x more cars arrive, there are 5 cars in the parking lot. Find the value of x. 11 Answer: There are originally 3 cars. x more cars arrive. 3 + x = 5, so x = 5 - 3 = 2. The answer is 2. 12 13 ... 14 15 Q: {{question}} 16 A: {{answer}} 17 Rephrased:
|
| 391 |
+
|
| 392 |
+
Figure 5: Rephrasing with x
|
| 393 |
+
|
| 394 |
+
14
|
| 395 |
+
|
| 396 |
+
1 You are given a math question with a blank value and an answer. Solve it step b step to find the value of blank. Strictly follow the format given in the examples below. 2 3 Question: Ben has four boxes with ten basketball cards in each box. Ben received ______ cards from his mother. If he gives 58 cards to his classmates, how many cards does he has left? 4 Answer: 22 5 6 Peano solution: 7 8 9 Let a be number of boxes [[var a]]. We have [[eq a = 4]]. 10 Let b be number of cards in each box [[var b]]. We have [[eq b = 10]]. 11 Let c be number of cards Ben initially has [[var c]]. We have [[eq c = a *[b]].] 12 Let d be cards received from mother [[var d]]. 13 Let e be cards given to classmates [[var e]]. We have [[eq e = 58]]. 14 Let f be cards left [[var f]]. From given Answer, we have [[eq f = 22]]. 15 We have [[eq d = f + e - c]] 16 The answer is the value of d [[answer d]]. 17 18 19 20 21 Question: Natalia sold _____ clips to her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? 22 Answer: 72 23 24 Peano solution: 25 26 27 Let a be number of clips Natalia sold in April [[var a]]. 28 So number of clips Natalia sold in May are half of a. 29 Let b be number of clips sold altogether [[var b]]. From given Answer, we have [[eq b = 72]]. 30 We have [[eq a = b / (1 + 1/2)]] 31 The answer is the value of a [[answer a]]. 32 33 ... 34 35 Q: {{question}} 36 A: {{answer}} 37 38 Peano solution:
|
| 397 |
+
|
| 398 |
+
Figure 6: Tools
|
| 399 |
+
|
| 400 |
+
15
|
| 401 |
+
|
| 402 |
+
1 Rephrase the given blanked question and answer pairs and then solve it step b step to find the value of blank. Strictly follow the format given in the examples below. 2 3 Question: Ben has four boxes with ten basketball cards in each box. Ben received ______ cards from his mother. If he gives 58 cards to his classmates, how many cards does he has left? 4 Answer: 22 5 6 Rephrased: Ben has four boxes with ten basketball cards in each box. Ben received x cards from his mother. If he gives 58 cards to his classmates, he has 22 cards left. Find the value of x. 7 Peano solution: 8 9 10 Let a be number of boxes [[var a]]. We have [[eq a = 4]]. 11 Let b be number of cards in each box [[var b]]. We have [[eq b = 10]]. 12 Let c be number of cards Ben initially has [[var c]]. We have [[eq c = a *[b]].] 13 Let x be cards received from mother [[var x]]. 14 Let d be total cards with Ben [[var d]]. We have [[eq d = c + x]] 15 Let e be cards given to classmates [[var e]]. We have [[eq e = 58]]. 16 Let f be cards left [[var f]]. From given Answer, we have [[eq f = 22]]. 17 As cards left are also total cards - cards given to classmates, we have [[eq f = d - e]] 18 The answer will be the value of x [[answer x]]. 19 20 21 22 23 24 Question: Natalia sold _____ clips to her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? 25 Answer: 72 26 27 Rephrased: Natalia sold clips to x of her friends in April, and then she sold half as many clips in May. Find the value of x such that she sold a total of 72 clips altogether in April and May. 28 Peano solution: 29 30 31 Let x be number of clips Natalia sold in April [[var x]] 32 Let a be number of clips Natalia sold in May [[var a]]. We have [[eq a = x / 2]]. 33 Let b be number of clips sold altogether [[var b]]. From given Answer, we have [[eq b = 72]]. 34 As clips sold altogether are also the sum of clips sold in April and May, we have [[eq b = x + a ]] 35 The answer will be the value of x [[answer x]]. 36 37 ... 38 39 Q: {{question}} 40 A: {{answer}} 41 42 Rephrased:
|
| 403 |
+
|
| 404 |
+
Figure 7: Tools with Rephrasing
|
| 405 |
+
|
| 406 |
+
16
|
| 407 |
+
|
| 408 |
+
1 Rephrase the given blanked question and answer pairs and then find the solution to the rephrased question. Write a python function that finds the value of x by solving step by step. Make sure you name your method finding_x. A few examples are given below.: 2 3 Question: Ben has four boxes with ten basketball cards in each box. Ben received ______ cards from his mother. If he gives 58 cards to his classmates, how many cards does he has left? 4 Answer: 22 5 Rephrased: Ben has four boxes with ten basketball cards in each box. Ben received x cards from his mother. He gives 58 cards to his classmates. He has 22 cards left. 6 Program: 7 ‘‘‘python 8 def finding_x(): 9 num_boxes = 4 10 cards_per_box = 10 11 # cards_received_from_mother = x - This line is commented because x is unknown 12 # hence the variable cards_received_from_mother can’t be used in R.H.S. of any calculation 13 cards_given_to_classmates = 58 14 cards_left = 22 15 cards_in_boxes = num_boxes * cards_per_box 16 total_cards_before_given_to_classmates = cards_given_to_classmates + cards_left 17 18 cards_received_from_mother = total_cards_before_given_to_classmates - cards_in_boxes 19 return cards_received_from_mother 20 ‘‘‘ 21 22 Question: Olivia has $23. She bought _____ bagels for $3 each. How much money does she have left? 23 Answer: 8 24 Rephrased: Olivia has $23. She bought x bagels for $3 each. She has $8 left. Find the value of x. 25 Program: 26 ‘‘‘python 27 def finding_x(): 28 money_initial = 23 29 # num_of_bagels = x - This line is commented because x is unknown 30 # hence the variable num_of_bagels can’t be used in R.H.S. of any calculation 31 bagel_cost = 3 32 money_left = 8 33 money_spent = money_initial - money_left 34 35 num_of_bagels = money_spent / bagel_cost 36 return num_of_bagels 37 ‘‘‘ 38 39 Question: {{question}} 40 Answer: {{answer}} 41 Rephrased:
|
| 409 |
+
|
| 410 |
+
Figure 8: PAL with Rephrasing
|
| 411 |
+
|
| 412 |
+
17
|
| 413 |
+
|
| 414 |
+
1 You are given a math question with a blank value and an answer. Write a python function called solution() using sympy that assumes the value of the blank is x and creates an equation in x that is solved by sympy.solve. Return the value of the blank. You may assume the neccessary libraries are imported. Strictly follow the format given in the examples below, as the method will be executed with the same name. 2 3 Q: Ben has four boxes with ten basketball cards in each box. Ben received _____ cards from his mother. If he gives 58 cards to his classmates, how many cards does he has left? 4 A: 22 5 Program: 6 ‘‘‘python 7 def solution(): 8 num_boxes = 4 9 cards_per_box = 10 10 total_cards_in_boxes = num_boxes * cards_per_box 11 cards_from_mother = x 12 cards_given_to_classmates = 58 13 cards_left = 22 14 15 equation = Eq(cards_from_mother + total_cards_in_boxes, cards_given_to_classmates + cards_left) 16 blank = solve(equation)[0] 17 18 return blank 19 ‘‘‘ 20 21 Q: Natalia sold clips to _____ of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? 22 A: 72 23 Program: 24 ‘‘‘python 25 def solution(): 26 april_clips = x 27 may_clips = april_clips / 2 28 total_clips = 72 29 30 equation = Eq(april_clips + may_clips, total_clips) 31 blank = solve(equation)[0] 32 33 return blank 34 ‘‘‘ 35 ... 36 37 Q: {{question}} 38 A: {{answer}} 39 Program:
|
| 415 |
+
|
| 416 |
+
Figure 9: PAL-Tools
|
| 417 |
+
|
| 418 |
+
18
|
| 419 |
+
|
| 420 |
+
1 Rephrase the given blanked question and answer pairs and then write a python function called solution() to find the value of x in the rephrased question. Return the value of x. You may assume the neccessary libraries are imported. Strictly follow the format given in the examples below, as the method will be executed with the same name. 2 3 Q: Ben has four boxes with ten basketball cards in each box. Ben received _____ cards from his mother. If he gives 58 cards to his classmates, how many cards does he has left? 4 A: 22 5 Rephrased: Ben has four boxes with ten basketball cards in each box. Ben received x cards from his mother. He gives 58 cards to his classmates. He has 22 cards left. Find the value of x. 6 Program: 7 ‘‘‘python 8 def solution(): 9 num_boxes = 4 10 cards_per_box = 10 11 total_cards_in_boxes = num_boxes * cards_per_box 12 cards_from_mother = x 13 cards_given_to_classmates = 58 14 cards_left = 22 15 16 equation = Eq(cards_from_mother + total_cards_in_boxes, cards_given_to_classmates + cards_left) 17 blank = solve(equation)[0] 18 19 return blank 20 ‘‘‘ 21 22 Q: Natalia sold _____ clips to her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? 23 A: 72 24 Rephrased: Natalia sold x clips to her friends in April, and then she sold half as many clips in May. Natalia sells 72 clips altogether in April and May. Find the value of x. 25 Program: 26 ‘‘‘python 27 def solution(): 28 april_clips = x 29 may_clips = april_clips / 2 30 total_clips = 72 31 32 equation = Eq(april_clips + may_clips, total_clips) 33 blank = solve(equation)[0] 34 35 return blank 36 ‘‘‘ 37 38 ... 39 40 Q: {{question}} 41 A: {{answer}} 42 Rephrased:
|
| 421 |
+
|
| 422 |
+
Figure 10: PAL-Tools with Rephrasing
|
| 423 |
+
|
| 424 |
+
19
|
| 425 |
+
|
| 426 |
+
1 Fill in the blank given the question and answer examples below. Give your answer as either a number or a decimal (no fractions). Check your work by substituting your answer in the blank, solving the question and comparing to the original answer. Follow the format specified in the examples below: 2 3 Q: There are 15 trees in the grove. Grove workers will plant _____ trees in the grove today. After they are done, how many trees would be there? 4 A: 21 5 Answer: There are 15 trees originally, Then there were 21 trees after some more were planted. So there must have been 21 - 15 = 6 trees. The blank is 6. 6 Final question: There are 15 trees in the grove. Grove workers will plant 6 trees in the grove today. After they are done, how many trees would be there? 7 Check: There would be 15 + 6 = 21 trees in total. The original answer was 21. This matches the original answer. 8 9 Q: If there are 3 cars in the parking lot and _____ more cars arrive, how many cars are in the parking lot? 10 A: 5 11 Answer: There are originally 3 cars. There are finally 5 cars, so 5 - 3 = 2 cars arrived. The blank is 2. 12 Final question: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot? 13 Check: There would be 3 + 2 = 5 cars in the parking lot. The original answer was 5. This matches the original answer. 14 15 ... 16 17 Q: {{question}} 18 A: {{answer}} 19 Answer:
|
| 427 |
+
|
| 428 |
+
Figure 11: Check your work
|
| 429 |
+
|
| 430 |
+
20
|
| 431 |
+
|
| 432 |
+
1 Fill in the blank given the question and answer examples below. Give your answer as either a number or a decimal (no fractions). Check your work by substituting your answer in the blank, solving the question and comparing to the original answer. Follow the format specified in the examples below: 2 3 Q: There are 15 trees in the grove. Grove workers will plant _____ trees in the grove today. After they are done, how many trees would be there? 4 A: 21 5 Rephrased: There are 15 trees in the grove. Grove workers will plant x trees in the grove today. After they are done, there would be 21 trees. Find the value of x. 6 Answer: There are 15 trees originally, Then there were 21 trees after some more were planted. So there must have been x = 21 - 15 = 6 trees. The answer is 6. 7 Final question: There are 15 trees in the grove. Grove workers will plant 6 trees in the grove today. After they are done, how many trees would be there? 8 Check: There would be 15 + 6 = 21 trees in total. This matches the original answer. 9 10 Q: If there are 3 cars in the parking lot and _____ more cars arrive, how many cars are in the parking lot? 11 A: 5 12 Rephrased: If there are 3 cars in the parking lot and x more cars arrive, there are 5 cars in the parking lot. Find the value of x. 13 Answer: There are originally 3 cars. x more cars arrive. 3 + x = 5, so x = 5 - 3 = 2. The answer is 2. 14 Final question: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot? 15 Check: There would be 3 + 2 = 5 cars in the parking lot. This matches the original answer. 16 17 ... 18 19 Q: {{question}} 20 A: {{answer}} 21 Rephrased:
|
| 433 |
+
|
| 434 |
+
Figure 12: Check your work with Rephrasing
|
| 435 |
+
|
| 436 |
+
21
|
| 437 |
+
|
| 438 |
+
1 You are given a math question with a blank value and an answer. Rephrase the given blanked question and answer pairs and then write a python function called solution() to find the value of x in the rephrased question. Return the value of x. You may assume the neccessary libraries are imported. Strictly follow the format given in the examples below, as the method will be executed with the same name. 2 3 Q: Ben has four boxes with ten basketball cards in each box. Ben received _____ cards from his mother. If he gives 58 cards to his classmates, how many cards does he has left? 4 A: 22 5 Rephrased: Ben has four boxes with ten basketball cards in each box. Ben received x cards from his mother. He gives 58 cards to his classmates. He has 22 cards left. Find the value of x. 6 Program: 7 ‘‘‘python 8 def solution(): 9 num_boxes = 4 10 cards_per_box = 10 11 total_cards_in_boxes = num_boxes * cards_per_box 12 cards_from_mother = x 13 cards_given_to_classmates = 58 14 cards_left = 22 15 16 equation = Eq(cards_from_mother + total_cards_in_boxes, cards_given_to_classmates + cards_left) 17 blank = solve(equation)[0] 18 19 return blank 20 ‘‘‘ 21 22 23 Q: Natalia sold _____ clips to her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? 24 A: 72 25 Rephrased: Natalia sold x clips to her friends in April, and then she sold half as many clips in May. Natalia sells 72 clips altogether in April and May. Find the value of x. 26 Program: 27 ‘‘‘python 28 def solution(): 29 april_clips = x 30 may_clips = april_clips / 2 31 total_clips = 72 32 33 equation = Eq(april_clips + may_clips, total_clips) 34 blank = solve(equation)[0] 35 36 return blank 37 ‘‘‘ 38 39 Q: {{question}} 40 A: {{answer}} 41 Rephrased:
|
| 439 |
+
|
| 440 |
+
Figure 13: PAL-Tools with Rephrasing and Self-Refine: init prompt
|
| 441 |
+
|
| 442 |
+
22
|
| 443 |
+
|
| 444 |
+
1 You are given a question-answer pair with a blank, and a chain of thought (CoT) for filling in the blank. Go through the chain of thought step by step and point out mistakes, if any. Provide the final corrected answer as shown below. 2 3 Q: Kelly is grocery shopping at a supermarket and is making sure she has enough in her budget for the items in her cart. Her 5 packs of bacon cost $_____ in total and she has 6 packets of chicken which each cost twice as much as a pack of bacon. She also has 3 packs of strawberries, priced at $4 each, and 7 packs of apples, each priced at half the price of a pack of strawberries. If Kelly’s budget is $65 then how much money, in dollars, does she have left in her budget? 4 A: 5 5 Rephrased: Kelly is grocery shopping at a supermarket and is making sure she has enough in her budget for the items in her cart. Her 5 packs of bacon cost a total of x dollars, and she has 6 packets of chicken, each costing twice as much as a pack of bacon. She also has 3 packs of strawberries priced at $4 each, and 7 packs of apples, each priced at half the price of a pack of strawberries. If Kelly’s budget is $65, then how much money, in dollars, does she have left in her budget? 6 7 Program: 8 9 ‘‘‘python 10 def solution(): 11 bacon_cost = x 12 chicken_cost = 2 * bacon_cost 13 strawberry_cost = 4 14 apple_cost = strawberry_cost / 2 15 budget = 65 16 remaining_budget = budget - (5 * bacon_cost + 6 * chicken_cost + 3 * strawberry_cost + 7 * apple_cost) 17 18 equation = Eq(remaining_budget, 5) 19 blank = solve(equation)[0] 20 21 return blank 22 ‘‘‘ 23 24 Correction: 25 26 The rephrased problem does not end with ’Find the value of x’. Instead, it asks us to find the money Kelly has left in her budget. This is incorrect. 27 28 Let’s check the program: 29 30 bacon_cost = x 31 chicken_cost = 2 * bacon_cost 32 33 Looks good 34 35 strawberry_cost = 4 36 apple_cost = strawberry_cost / 2 37 38 Looks good 39 40 budget = 65 41 remaining_budget = budget - (5 * bacon_cost + 6 * chicken_cost + 3 * strawberry_cost + 7 * apple_cost) 42 43 The equation formed is correct, as are the number of packs of bacon, chicken, strawberry and apples 44 45 equation = Eq(remaining_budget, 5) 46 blank = solve(equation)[0] 47 return blank 48 23 49 The equation has been equated to the correct answer, and the program returns the blank. 50
|
| 445 |
+
|
| 446 |
+
1 Final Rephrased Problem: 2 Kelly is grocery shopping at a supermarket and is making sure she has enough in her budget for the items in her cart. Her 5 packs of bacon cost a total of x dollars, and she has 6 packets of chicken, each costing twice as much as a pack of bacon. She also has 3 packs of strawberries priced at $4 each, and 7 packs of apples, each priced at half the price of a pack of strawberries. If Kelly’s budget is $65, then she has $5 left in her budget after shopping. Find the value of x. 3 4 Final Program: 5 ‘‘‘python 6 def solution(): 7 bacon_cost = x 8 chicken_cost = 2 * bacon_cost 9 strawberry_cost = 4 10 apple_cost = strawberry_cost / 2 11 budget = 65 12 remaining_budget = budget - (5 * bacon_cost + 6 * chicken_cost + 3 * strawberry_cost + 7 * apple_cost) 13 14 equation = Eq(remaining_budget, 5) 15 blank = solve(equation)[0] 16 17 return blank 18 ‘‘‘ 19 ... 20 21 Q: {{question}} 22 A: {{answer}} 23 Rephrased: {{rephrased}} 24 Program: 25 ‘‘‘python 26 {{program}} 27 ‘‘‘ 28 29 Correction:
|
| 447 |
+
|
| 448 |
+
Figure 15: PAL-Tools with Rephrasing and Self-Refine: feedback prompt continued
|
| 449 |
+
|
| 450 |
+
24
|
| 451 |
+
|
open_review/iclr2024_9071.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9071",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Where is the Invisible: Spatial-Temporal Reasoning with Object Permanence",
|
| 6 |
+
"abstract": "Object permanence is a cognitive ability that enables humans to reason about the existence and location of objects that are not visible in the scene, such as those occluded or contained by other objects. This ability is crucial for visual object tracking, which aims to identify and localize the target object across video frames. However, most existing tracking methods rely on deep learning models that learn discriminative visual features from the visual context and fail to handle the cases where the object disappears from the image, e.g., occluded or contained by other objects. In this paper, we propose a novel framework for tracking invisible objects based on Qualitative-Quantitative Spatial-Temporal Reasoning (QQ-STR), inspired by the concept of object permanence. Our framework consists of three modules: a visual perception module, a qualitative spatial relation reasoner (SRR), and a quantitative relation-conditioned spatial-temporal relation analyst (SRA). The SRR module infers the qualitative relationship between each object and the target object based on the current and historical observations, while the SRA module predicts the quantitative location of the target object based on the inferred relationship and a diffusion model that captures the object's motion. We devise a self-supervised learning mechanism that does not require explicit relation annotations and leverages the predicted trajectories to locate the invisible object in videos. We evaluate our framework on a synthetic dataset (LA-CATER) and a new real-world RGB-D video dataset for invisible object tracking (iVOT) that contains challenging scenarios of human-object interactions with frequent occlusion and containment events. Our framework achieves comparable performance to state-of-the-art tracking methods that use additional relation annotations, demonstrating its generalization ability to novel scenes and viewpoints.",
|
| 7 |
+
"rebuttal": "### Reply to Reviewer Z8r6.\n> *Q5: Despite a relatively straightforward main idea of estimating occlusion /containment status based on past trajectories, there are a lot of twists and tweaks involved...*\n\nCompared to the end-to-end methods, our method has the following advantages: \n1) Generalizability. The pre-trained model can provide generalizable state representation to make our framework easily transferable to unseen datasets. We have reported the cross-domain generalization of our method compared with the baselines. The models are trained on LA-CATER and tested on iVOT. Our approach demonstrates superior generalization capabilities compared to OPNet. \n2) Modularity. Each module (e.g., object detection, action recognition, trajectory prediction) can be easily replaced by state-of-the-art methods, thus our model can benefit from the advances of each component. \n3) Interpretability. Our framework consists of modular components that can be individually analyzed and evaluated. For example, we can visualize the relationship graph and the forecasted trajectory produced by each module, which can help us identify the potential weaknesses and limitations of our approach. \n \nTo evaluate the generalization ability of our method to different datasets, we performed cross-dataset experiments, where we trained our model on the synthetic LA-CATER dataset and tested it on the real-world iVOT dataset. In this experiment, we use OPNet for comparison. The AutoMatch model is a part of the vision module for localizing the visible objects. Results show that our proposed method has stronger generalization ability and performance than OPNet.\n\n- Comparison of the cross-domain generalization using mean mIoU. We train the models on the LA-CATER dataset and evaluate the performance on the iVOT dataset. We also report the results of OPNet as a reference.\n\n\n| | Trained on LA-CATER | Trained on iVOT |\n|---------------------|---------------------|-----------------|\n| AutoMatch[1] | 0.491 | 0.491 |\n| OPNet[2] | 0.476 | 0.535 |\n| QQ-STR(Ours) | 0.554 | 0.583 |\n\n> *Q6: The presentation needs to be improved.*\n\nThanks for your valuable and helpful suggestions. We have revised relevant ambiguities or inconsistencies in the paper.\n\n[1]. Zhang, Zhipeng, et al. \"Learn to match: Automatic matching network design for visual tracking.\" Proceedings of the IEEE/CVF International Conference on Computer Vision. 2021.\n\n[2]. Shamsian, Aviv, et al. \"Learning object permanence from video.\" Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part XVI 16. Springer International Publishing, 2020.\n\n### Reply to Reviewer 4XQC\nWe sincerely apologize for our delayed reply. We hope you will kindly reconsider your rating after reading our response. We appreciate your patience and understanding. We thank you for your helpful and comprehensive review. We have carefully addressed your questions and incorporated your feedback into the revised manuscript. The followings are the detailed response: \n\n> *Q1: No qualitative results...*\n\nA1: We agree with your comment that qualitative results are important to demonstrate the effectiveness of our method. We have added representative sequences on the iVO [...]\n\n### Reply to Reviewer QThc\nWe wish to thank the reviewer for this helpful and comprehensive referee report, and we are glad to see your positive assessment of our methodology and presentation. Below we answer the questions and explain how the revised manuscript accommodates this detailed and helpful feedback.\n\n> *Q1. Looking at a high level, the current method mimics the classical Kalman and Particle filter very closely...*\n\nWe applied the traditional Kalman filter method to conduct experiments both on the LA-CATER and iVOT datasets, and the experimental results showed that the traditional fil [...]\n\n### Reply to Reviewer Z8r6\nThanks for the helpful and comprehensive review, and we are glad to see your positive assessment of our methodology (\"Adapt a diffusion model for trajectory generation looks interesting\") and experiments. Below we answer the questions and explain how the revised manuscript accommodates this detailed and helpful feedback.\n\n> *Q1: Many important details are not well explained or are missing.*\n \nWe apologize for the lack of clarity and detail in our original manuscript. We have improved our manuscript to provide more details about our method. In particular, we have expl [...]\n\n### Reply to Reviewer xz37\n- References\n\n[1]. Shamsian, Aviv, et al. \"Learning object permanence from video.\" Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part XVI 16. Springer International Publishing, 2020.\n\n[2]. Liang, Ying Siu, Dongkyu Choi, and Kenneth Kwok. \"Maintaining a Reliable World Model using Action-aware Perceptual Anchoring.\" 2021 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2021.\n\n[3]. Tokmakov, Pavel, et al. \"Object permanence emerges in a random walk along memory.\" arXiv preprint arXiv:2204.01784 ( [...]\n\n### Reply to Reviewer xz37\n> *Q4: Some detailed designs are not explained clearly...* \n> \nA4: We are sorry that we did not describe the details exhaustively and caused your misunderstanding. We have revised the manuscript to explain more details. For convenience, we introduce the details in the following: \n\n*Object Detection*: For the experiments on the CATER and LA-CATER datasets, due to the limited types of objects included in the dataset, the vision module can be implemented by an object detector. For a fair comparison, we use the same object detector as previous works (OPNet[1], AAPA[2], a [...]\n\n### Reply to Reviewer xz37\nThanks for your helpful and constructive suggestions. Below we answer the questions in detail.\n\n> *Q1: The different modules in the proposed framework don’t look compact, but indep\n[rebuttal truncated]",
|
| 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 contributes an architecture for object tracking that is capable of handling objects that disappear from the image or are temporarily occluded. Taking inspiration from object permanence in humans, it is posited that this ability is critical for reasoning tasks from visual scenes. Experiments are conducted on synthetic and real-world datasets (including a new dataset: iVOT) where it is shown how the proposed architecture improves tracking performance over several baselines.\n\nThe reviewers highlighted several strengths of this work, such as the design of the model and the significance of the reported improvements, the technical novelty of using graph structures for capturing occlusion/containment reasoning for multi-object tracking, the dataset contribution, and the use of diffusion. On the other hand, there were substantial concerns regarding the clarity of the paper (many missing details), the complex design of the approach (introducing many hyper-parameters), and open questions regarding performance on real-world datasets. Some of these were (partially) addressed in the author's response, while others were not. \n\nUltimately this is a borderline paper, and it appears that a good number of reviewer issues stem from a lack of clarity regarding the initial version of the manuscript. The author's response was also only posted at the very last moment, which wasn’t helpful for having author-reviewer discussions either. In the reviewer discussion I have asked reviewers to ",
|
| 22 |
+
"forum_id": "eQcVfCK5cO",
|
| 23 |
+
"primary_area": "unsupervised, self-supervised, semi-supervised, and supervised representation learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_Z8r6",
|
| 28 |
+
"review_id": "60Yk1y8cPN",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 1,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2584,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 142082,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_4XQC",
|
| 44 |
+
"review_id": "r5zJGSkvEw",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 4558,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 752592,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_xz37",
|
| 60 |
+
"review_id": "7u2RXorqct",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3091,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 831902,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_QThc",
|
| 76 |
+
"review_id": "O2CZksCTNA",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 5
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 3539,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 857661,
|
| 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_9071.md
ADDED
|
@@ -0,0 +1,526 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - WHERE IS THE INVISIBLE: SPATIAL-TEMPORAL REA SONING WITH OBJECT PERMANENCE
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Object permanence is a cognitive ability that enables humans to reason about the existence and location of objects that are not visible in the scene, such as those occluded or contained by other objects. This ability is crucial for visual object tracking, which aims to identify and localize the target object across video frames. However, most existing tracking methods rely on deep learning models that learn discriminative visual features from the visual context and fail to handle the cases where the object disappears from the image, e.g., occluded or contained by other objects. In this paper, we propose a novel framework for tracking invisible objects based on Qualitative-Quantitative Spatial-Temporal Reasoning (QQ-STR), inspired by the concept of object permanence. Our framework consists of three modules: a visual perception module, a qualitative spatial relation reasoner (SRR), and a quantitative relation-conditioned spatial-temporal relation analyst (SRA). The SRR module infers the qualitative relationship between each object and the target object based on the current and historical observations, while the SRA module predicts the quantitative location of the target object based on the inferred relationship and a diffusion model that captures the object’s motion. We devise a self-supervised learning mechanism that does not require explicit relation annotations and leverages the predicted trajectories to locate the invisible object in videos. We evaluate our framework on a synthetic dataset (LA-CATER) and a new real-world RGB-D video dataset for invisible object tracking (iVOT) that contains challenging scenarios of human-object interactions with frequent occlusion and containment events. Our framework achieves comparable performance to state-of-the-art tracking methods that use additional relation annotations, demonstrating its generalization ability to novel scenes and viewpoints.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Object permanence, a fundamental concept in developmental psychology (Baillargeon et al., 1985; Spelke, 1990), describes the ability of an agent to understand that an object persists even when the object becomes no longer observable. Studies (Aguiar and Baillargeon, 1999; Baillargeon and DeVos, 1991) have shown that early human infants only have this ability to understand occluded objects. As for accommodated objects, it takes a later age for infants to understand object permanence. As mentioned in Piaget’s theory of cognitive development (Piaget, 2013), infants do not know that the world exists outside their concepts and experiences until they develop the concept of object permanence after 2 years old. This evidence demonstrates that understanding object permanence is a challenging task requiring thorough world modeling based on perceptual interactions with objects.
|
| 14 |
+
|
| 15 |
+
Establishing this concept in agents is essential for higher-level reasoning, as the objects observed by agents in complex natural scenes often occlude or contain each other dynamically. Therefore, object permanence is of great significance for guiding object tracking and even helping agents understand and model the objective world.
|
| 16 |
+
|
| 17 |
+
However, most reasoning methods Tokmakov et al. (2021); Zhang et al. (2021a); Ding et al. (2021) so far are only at the stage of understanding occluded objects, and a few methods Shamsian et al. (2020); Liang et al. (2021) that can track contained objects are still immature. For example, Tokmakov et al. (2021) use a spatial recurrent network (Ballas et al., 2015) to accumulate a representation of a scene and localize occluded instances by the representation while lacking an understanding of contained objects. OPNet (Shamsian et al., 2020) has the ability to localize fully invisible instances by using
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
two successive LSTMs (Graves and Graves, 2012) for predicting "who to track" and "where is it". However, the relations between the target and the container or occluder learned by OPNet are implicit and one-way, which is poorly interpretable and lacks an understanding of the global environment. AAPA (Liang et al., 2021) takes both detection results and action labels as input and constructs the accommodation hierarchy directly to guide target tracking. The method requires extra information and is limited in the application of real-world scenarios.
|
| 22 |
+
|
| 23 |
+
In order to establish accurate and interpretable spatial relations without using additional labels, we propose a novel Qualitative-Quantitative Spatial-Temporal Reasoning (QQ-STR) framework for tracking invisible objects inspired the object permanence. Our method proposes qualitative hypotheses of the spatial relations based on the historical trajectories of the objects and then verifies them according to the visual detection results. Thus, the quantitative results of the positions of targets can be derived by utilizing these hypotheses. First, we employ a vision module to localize visible objects and human poses in the image, which are regarded as visual abstractions. Then, a qualitative spatial relation reasoner (SRR) infers human-object and object-object relations based on visual abstraction, such as held by a hand, contained or occluded by an object. With that, a quantitative spatial relation analyst (SRA) based on the diffusion model estimates the location of invisible objects and outputs the bounding boxes in the image space. We demonstrate the effectiveness and robustness of our proposed method on both synthetic datasets and real-world datasets compared with state-of-the-art tracking models.
|
| 24 |
+
|
| 25 |
+
The main contributions of our work are as follows: 1) We construct a spatial relation representation for objects and simplify it into directed graphs with three types of relationships: “containment”, “occlusion” and “no-direct-relation”. The proposed paradigm is proved to be reasonable and significant for understanding object permanence. 2) We propose a Qualitative-Quantitative Spatial-Temporal Reasoning (QQ-STR) framework for tracking invisible objects and achieving state-of-the-art performances on both synthetic datasets and real-world datasets. 3) We collect a new real-world RGB-D video dataset iVOT for invisible object tracking that records daily indoor human-object interaction where objects often get occluded or contained. The dataset includes more complex spatial relations, such as nested containments and partial containments.
|
| 26 |
+
|
| 27 |
+
## 2 RELATED WORK
|
| 28 |
+
|
| 29 |
+
In this section, we review the most relevant works for learning object permanence in videos, which can be divided into two categories: _visual relational reasoning methods_ and _visual datasets_ . We first describe the existing methods for visual relational reasoning, which aim to infer the spatial relations between objects and track them across frames. Then, we introduce the existing datasets for evaluating visual relational reasoning, and compare them with our proposed dataset.
|
| 30 |
+
|
| 31 |
+
**Visual Relational Reasoning for Object Permanence.** Visual Relational reasoning aims to reason about the relationship between objects in the input image or video and to complete the specified object interaction or reasoning task. Existing methods can be further divided into rule-driven methods and data-driven methods. Rule-driven methods Liang et al. (2016; 2018); Wang et al. (2017); Liang et al. (2021) usually define the relationship between objects artificially and guide the visual reasoning task by some rules or assumptions. Liang et al. (2018) defines the accommodation relationship of objects and solves the target tracking task on the basis of Liang et al. (2016). Liang et al. (2021) takes both the detection results and motion labels as input and directly constructs the accommodation relationship hierarchy to guide the tracking task. Such rule-driven methods often require more information or assumptions to guide reasoning and have strong limitations. Data-driven approaches Tokmakov et al. (2021); Ding et al. (2021); Tokmakov et al. (2022); Wu et al. (2021) typically learn feature representations that can express relationships between objects from a large amount of training data, and use these features to guide visual reasoning tasks. For example, Ding et al. (2021) proposed a self-supervised method based on the transformer (Vaswani et al., 2017) structure to achieve visual question-answering tasks. Tokmakov et al. (2022) regards learning object permanence as fitting a random walk along memory and a target-focused self-supervised approach is proposed without exploring relationships between objects. The features learned by these data-driven methods are often implicit abstract, and poorly interpretable. The proposed QQ-STR method in our work combines the ideas of the two types of methods to have the best of both worlds. We define reasonable and explainable representations of spatial relations artificially and learn the spatial relations of objects in a self-supervised manner using only video annotations.
|
| 32 |
+
|
| 33 |
+
2
|
| 34 |
+
|
| 35 |
+
Table 1: Comparison of the video datasets used for visual relational reasoning.
|
| 36 |
+
|
| 37 |
+
|Dataset|Type|Containment<br>Category<br>Hierarchy|Containment<br>Category<br>Hierarchy|Annotation<br>BoundingBox<br>Spatial Relation|Annotation<br>BoundingBox<br>Spatial Relation|
|
| 38 |
+
|---|---|---|---|---|---|
|
| 39 |
+
|CATER(Girdhar and Ramanan,2019)|Synthetic|1|✓|✘|✓|
|
| 40 |
+
|LA-CATER(Shamsian et al.,2020)|Synthetic|1|✓|✓|✓|
|
| 41 |
+
|PD(Tokmakov et al.,2021)|Synthetic|0|✓|✓|✓|
|
| 42 |
+
|Lianget al.(2018)|Real-world|5|✘|✓|✘|
|
| 43 |
+
|iVOT(Ours)|Real-world|9|✓|✓|✓|
|
| 44 |
+
|
| 45 |
+
**Visual Datasets for Learning Object Permanence.** As for evaluation, CATER (Girdhar and Ramanan, 2019), LA-CATER (Shamsian et al., 2020) and PD (Tokmakov et al., 2021) are widely used synthetic datasets for object interaction reasoning in videos. Since the PD (Tokmakov et al., 2021) dataset only includes simple occlusion relations, we chose the CATER and LA-CATER datasets for the evaluation. The synthetic datasets can be easily generated in batches using physics engines, but there are large gaps between synthetic scenarios and real-world scenarios. For example, there is an invisible hand manipulating the objects in the simulator, making the transition looks weird. Liang et al. (2018) dataset is a real-world RGB-D dataset with 44 short videos of 5 to 15 seconds. The major weakness of this dataset is that it contains merely simple spatial relationships, only occlusion and single-layer accommodation are included. In order to better evaluate the performance of our method in the real-world scene, we propose a new real-world RGB-D dataset iVOT(Invisible Visual Object Tracking) with more diverse scenes and more complex spatial relations, such as nested containment, mixed containments, etc. The iVOT dataset includes 9 container categories (cup, plate, fridge, hand, bag, drawer, sheet, bed, and sealed box), which is much more than existing datasets. Table. 1 shows the comparison of the proposed dataset with existing video datasets for visual relational reasoning.
|
| 46 |
+
|
| 47 |
+
## 3 METHOD
|
| 48 |
+
|
| 49 |
+
## 3.1 PROBLEM FORMULATION
|
| 50 |
+
|
| 51 |
+
We formulate the task as tracking a specific object in an input RGB video _{I_ 1 _, I_ 2 _, I_ 3 _, ..., IT }, It ∈_ R[3] _[×][H][×][W]_ with a length of _T_ . More specifically, we assume _T_ represents the length of the input video, _k_ represents the number of objects that appear in the video, an anchor for the _i_ -th object at the frame _t_ is defined as _{o[t] i_[= (] _[id][i][, bbox][t] i_[)] _[}][k] i_ =1[, where] _[ id][i]_[describes its identity,] _[ bbox][t] i[∈]_[R][4][represents] its bounding box. In order to describe the trajectories of targets over time conveniently, we use _τi[∗]_[to] represent the anchor sequence corresponding to the _i_ -th object and use _τi[∗]_[[] _[l, r]_[] = [] _[o][l] i[, o][l] i_[+1] _, . . . , o[r] i_[]][ to] represent the trajectories of the _i_ -th object from the _l_ -th frame to the _r_ -th frame. Given the bounding box of the target in the first frame _τtarget[∗]_[[1]][, the model is required to predict the bounding boxes of] the target in other video frames _τtarget[∗]_[[2] _[, T]_[]][, even if the object is invisible.]
|
| 52 |
+
|
| 53 |
+
## 3.2 FRAMEWORK OVERVIEW
|
| 54 |
+
|
| 55 |
+
We view the object tracking task as studying how their spatial relations change over time, both when they are visible and after they become occluded or contained. As shown in Figure 1, our method decomposes the spatial-temporal relation reasoning into three steps, including the visual perception, the qualitative relation reasoning, and the quantitative trajectory prediction.
|
| 56 |
+
|
| 57 |
+
**The Visual Perception** is to extract abstract state, e.g., the location of the visible objects, from the raw-pixel images in the input video, which is the only input to the framework. Based on the visual abstraction we need judge whether the visible state of the target has changed and conduct the next stage of qualitative reasoning.
|
| 58 |
+
|
| 59 |
+
**The Qualitative Relation Reasoning** is used to reason the abstracted state and generate multiple hypotheses about the spatial relations, including human-object relations and object-object relations.
|
| 60 |
+
|
| 61 |
+
**The Quantitative Trajectory Prediction** deduces the events that lead to the change of the spatial relations and evaluates the possibilities according to the reasoning results of the last period. According to the historical trajectories of the objects, we infer the most likely spatial relations sets in the candidates and predict trajectories of invisible objects quantitatively.
|
| 62 |
+
|
| 63 |
+
As is shown in Figure 1, our method obtains the positions of visible objects and hands through the Visual Perception (represented as bounding boxes and stars at the bottom of the figure), and then
|
| 64 |
+
|
| 65 |
+
3
|
| 66 |
+
|
| 67 |
+
**==> picture [356 x 201] intentionally omitted <==**
|
| 68 |
+
|
| 69 |
+
**----- Start of picture text -----**<br>
|
| 70 |
+
contain contain<br>SRA SRA SRA SRA<br>contain? occlude? contain? occlude?<br>: contain<br>: occlude<br>SRR SRR SRR SRR<br>VM VM VM VM<br>𝐼1 𝐼2 𝐼3 𝐼4 Time<br>**----- End of picture text -----**<br>
|
| 71 |
+
|
| 72 |
+
Figure 1: An overview of our proposed framework. We divide the spatial relation reasoning into three periods of analysis. Firstly, we extract the visual features of the input frames through the Visual Module (VM). Then the possible spatial relation graphs are assumed qualitatively by the Spatial Relation Reasoner (SRR). Finally, the trajectories of invisible objects are quantitatively inferred by the Spatial Relation Analyst (SRA). Please refer to Figure 4 ,Figure 5 and Figure 6 for detailed structures of these modules.
|
| 73 |
+
|
| 74 |
+
utilizes the Qualitative Relation Reasoning to generate corresponding spatial relation hypotheses (represented as circles in the middle of the figure). Finally, the method uses the Quantitative Trajectory Prediction to analyze the most appropriate hypothesis and generate the trajectories of the disappearing object (represented as new bounding boxes at the top of the figure).
|
| 75 |
+
|
| 76 |
+
Our model, shown in Figure 2, describes our method for tracking invisible objects from input raw video through causal inference of spatial relations. First, a vision module is employed to localize the visible objects and human poses for visual abstraction at every video frame, which is discussed in Section 3.3. Then, we describe our qualitative Spatial Relation Reasoner (SRR) that infers the human-object and object-object relations based on the visual abstraction in Section 3.4. With that, a quantitative Spatial Relation Analyst (SRA) estimates the possibilities for spatial relation candidates and predicts trajectories of invisible objects, which is detailed in Section 3.5.
|
| 77 |
+
|
| 78 |
+
## 3.3 VISUAL PERCEPTION
|
| 79 |
+
|
| 80 |
+
The visual module in our method consists of the detection module and the human-motion module, which aims to detect the visible objects and human poses in every video frame, regarded as a visual abstraction for further reasoning.
|
| 81 |
+
|
| 82 |
+
**Object Detection** is used to localize the visible objects based on the visual context. On each frame of the input video _{I_ 1 _, I_ 2 _, I_ 3 _, ..., IT }, It ∈_ R[3] _[×][H][×][W]_ , it outputs the identity _idi ∈_ I and bounding box _bbox[t] i[∈]_[R][4][of all visible objects] _[ o][t] i_[in the current] _[ t]_[-th frame.][For objects that are invisible in the] current frame, we set _bbox[t] i_[to] **[ 0]**[.]
|
| 83 |
+
|
| 84 |
+
**Human Pose Estimation** is used when human-object interactions appear in the image. We use PoseC3D (Duan et al., 2022) to construct skeleton annotations for each person _j_ that appears. Then we only extract the key points of the human hands as a sequence of hand positions, donated as _Ht_ = _{_ ( _pl_ 1 _[t][, pr]_ 1 _[t]_[)] _[,]_[ (] _[pl]_ 2 _[t][, pr]_ 2 _[t]_[)] _[, . . . ,]_[ (] _[pl] h[t]_ ( _t_ ) _[, pr] h[t]_ ( _t_ )[)] _[}]_[,][where] _[ h]_[(] _[t]_[)][ represents the number of people] detected in the _t_ -th frame while _plj[t][, pr] j[t][∈]_ **[R]**[4] _[, j][∈{]_[1] _[,]_[ 2] _[, . . . , h]_[(] _[t]_[)] _[}]_[ represents the bounding box of] the person _j_ ’s left and right hands in the _t_ -th frame. Emperically, we simplify the hand as a special object that never becomes contained in our framework.
|
| 85 |
+
|
| 86 |
+
3.4 QUALITATIVE SPATIAL RELATION REASONER
|
| 87 |
+
|
| 88 |
+
In qualitative, the spatial relations between objects are defined as three types of relationships: **occlusion** , **containment** , and **no-direct-relation** . We regard each object as a node, and the spatial
|
| 89 |
+
|
| 90 |
+
4
|
| 91 |
+
|
| 92 |
+
**==> picture [380 x 174] intentionally omitted <==**
|
| 93 |
+
|
| 94 |
+
**----- Start of picture text -----**<br>
|
| 95 |
+
Qualitative Reasoner Human Joints<br>VM ⊕ SRR ……<br>Raw Videos<br>Visible Bounding Boxes Spatial Relation<br>(T Frames) Graph Candidates<br>Quantitative Analyst<br>SRA<br>T-1 Loops<br>Invisible Trajectories<br>Tracking Results<br>**----- End of picture text -----**<br>
|
| 96 |
+
|
| 97 |
+
Figure 2: The architecture of QQ-STR. There are three key components: Visual Module (VM) which localizes the visible objects and human poses for visual abstraction, Qualitative Spatial Relation Reasoner (SRR) which infers the relationship between each object based on the historical observation and visible objects in the current frame, and Quantitative Spatial Relation Analyst (SRA) that estimates the location of invisible objects based on the inferred relations.
|
| 98 |
+
|
| 99 |
+
relations between each pair form a directed graph structure. The directed graph _G[t]_ = _{occlude_ ( _i, j_ ) _∪ contain_ ( _i, j_ ) _∪ none_ ( _i, j_ ) _, i ̸_ = _j, i, j ∈{_ 1 _,_ 2 _, . . . , k}}_ constructed in this way is defined the spatial relation graph of the current _t_ -th frame.
|
| 100 |
+
|
| 101 |
+
In practice, there is very little information we can acquire about the contained and occluded objects, thus it is difficult to determine the only correct spatial relation graph corresponding to each video frame. Therefore, we generate at most _K_ spatial relation graphs _PGt_ = _{G[t]_ 1 _[, G][t]_ 2 _[, . . . , G][t] K[}]_[ in the] current frame as candidates under each hypothesis. We define the trajectory of the object _j_ in the past _L_ moments under the assumption of the spatial relation graph _G[t] i_[at][the] _[t][ −][th]_[moment][as] _τj[t,i]_ = [ _o_[1] _j[,] o_[2] _j[, . . . ,] o[k] j_[]][.][In addition, we will enumerate][ at most] _[ K]_[possible spatial relations][ in the first] frame and form the candidates _PG_ 1.
|
| 102 |
+
|
| 103 |
+
**The Spatial Relation Predictor** is used to predict what events cause changes in the visibility of objects. More specifically, let the identity of the object that changes state be _x_ , the spatial relation predictor uses the historical trajectories _τ_ = _{τj[t,i]_[[] _[t][ −][L]_[ + 1] _[, t]_[]] _[} ∈]_ **[R]** _[L][×][k][×]_[4][as input and predict the] probability _f_ ( _τ_ ) _∈_ **R** _[k]_[+1] that object _x_ is contained by a container or is occluded. The spatial relation predictor uses a Multi-head Attention model to learn the motion features of the objects relative to the target _x_ that may cause occlusion or containment events. The final probability vector is obtained through a multilayer perceptron.
|
| 104 |
+
|
| 105 |
+
**Training method.** We provide two approaches for training the spatial relation predictor. Supervised training will generate training trajectories _{τi ∈_ **R** _[L][×][k][×]_[4] _}[M] i_ =1[based on the motion labels of the train-] ing data and obtain the ground truth probability vectors _{pτi ∈_ **R** _[k]_[+1] _}[M] i_ =1[, that is, the containment or] occlusion relationship corresponding to the motion label is 1, and the rest are 0.
|
| 106 |
+
|
| 107 |
+
As discussed in the previous question, the trajectories predicted by the proposed method will guide the search area of the tracker synchronously. In this way, the tracker is able to re-detect the object in the search area once the object reappears. During self-supervised training, our method uses only the original video as input, generates all possible spatial relation graphs when the target disappears. By utilizing the SRR module, the trajectories of the object under each assumptions are predicted. After that, when the object reappears later, we generate the corresponding probability vector by the intersection and union (IoU) of the bounding box of the reappearance position and the bounding box of the predicted position. The entire "disappear-reappear" segment is used as an episode of the training data for the SRA module.
|
| 108 |
+
|
| 109 |
+
**The Training Objective** for the qualitative Spatial Relation Reasoning module is defined as a simple cross-entropy loss:
|
| 110 |
+
|
| 111 |
+
**==> picture [275 x 30] intentionally omitted <==**
|
| 112 |
+
|
| 113 |
+
5
|
| 114 |
+
|
| 115 |
+
## 3.5 QUANTITATIVE RELATION-CONDITIONED SPATIAL-TEMPORAL RELATION ANALYST
|
| 116 |
+
|
| 117 |
+
After obtaining qualitative modeling of the spatial relations of objects, we can utilize the assumptions to infer crucial events and track invisible objects. The quantitative spatial relation analyst is used to analyze the possible spatial relation graphs _G[t] i_[of each frame and predict the trajectories of invisible] objects under the hypotheses.
|
| 118 |
+
|
| 119 |
+
**Correction Module.** The correction module will check if the visual abstraction of the current frame is reliable. In the case of shivering or switching, it is assumed that the object coordinates have not changed. Let _bbox[t] i_[= (] _[x][t] i[, y] i[t][, w] i[t][, h] i[t]_[)][ represents the bounding box of the] _[ i]_[-th object at the frame] _[ t]_[,] we classify correctable object detection errors into two categories:
|
| 120 |
+
|
| 121 |
+
1. Shiver: _∃i,_ ( _wi[t][, h][t] i_[)][=][(] _[w] i[t]_[+1] _, h[t] i_[+1] ). The size of the bounding box of the object _i_ in the ( _t_ + 1)-th frame does not match the size of the bounding box detected before. In that case of error, it is assumed that the object coordinates have not changed.
|
| 122 |
+
|
| 123 |
+
2. Switch: _∃i_ = _j,_ ( _x[t] i[, y] i[t][, w] i[t][, h][t] i_[)] _[≈]_[(] _[x][t] j_[+1] _, yj[t]_[+1] _, wj[t]_[+1] _, h[t] j_[+1] ) and ( _x[t] j[, y] j[t][, w] j[t][, h][t] j_[)] _[≈]_ ( _x[t] i_[+1] _, yi[t]_[+1] _, wi[t]_[+1] _, h[t] i_[+1] ). Two similar objects _i_ and _j_ are switched through the bounding boxes detected by the visual model. In that case of error, we swap the trajectories of the two detected objects.
|
| 124 |
+
|
| 125 |
+
**Trajectory Predictor.** Inspired by Tevet et al. (2022), we regard the trajectory prediction task as a condition-based generative task and try to apply the diffusion model. Under high uncertainty, the possible trajectories of the invisible target can be viewed as a noisy Gaussian distribution that represents a blurred area controlled by the container trajectory. As the uncertainty decreases, the distribution gradually approximates the ground truth distribution for generating the correct trajectory.
|
| 126 |
+
|
| 127 |
+
Diffusion is modeled as a Markov noising process. Given the trajectory _τ_ 0 drawn from the data distribution, the process aims to gradually add the indeterminacy to get the noise sequence _{τx}[N] x_ =1 until the ground truth trajectory is mixed with noise, where _N_ represents the number of the diffusion steps .
|
| 128 |
+
|
| 129 |
+
**==> picture [286 x 27] intentionally omitted <==**
|
| 130 |
+
|
| 131 |
+
Where _{αx ∈_ (0 _,_ 1) _}[N] x_ =1[are][constant][hyper-parameters][and] _αx_ =[�] _[x] i_ =1 _[α][i]_[.][When] _[N]_[is][large] enough and _αN_ is small enough, we can approximate _τN ∼N_ ( **0** _,_ **I** ).
|
| 132 |
+
|
| 133 |
+
Next, we formulate the trajectory generation as a reverse diffusion process. For each possible spatial relation graph _{G[t] i[}][K] i_ =1[in the] _[ t]_[-th frame, we enumerate all direct contained-container pairs] ( _c, container_ ( _c_ )) from top to bottom according to the tree structure consists of containments. We formulate the reverse diffusion process for predicting each invisible object _c_ as follows.
|
| 134 |
+
|
| 135 |
+
**==> picture [326 x 25] intentionally omitted <==**
|
| 136 |
+
|
| 137 |
+
Where _fmotion_ = _τc[t,i]_[[] _[t][ −][L]_[ + 1] _[, t]_[]] _[ ∪][τ][ t,i] container_ ( _c_ )[[] _[t][ −][L]_[ + 1] _[, t]_[]] _[ ∈]_ **[R]** _[L][×]_[8][ denotes the motion feature] of _c_ and _container_ ( _c_ ) in the past _L_ frames, _G_ ( _fmotion_ ) denotes a naive rule-based method to predict trajectories directly by historical motion features _fmotion_ , _θ_ denotes the parameter of the diffusion model. Instead of predicting _ϵt_ as formulated by Ho et al. (2020), we follow Tevet et al. (2022) and directly predict trajectory itself _θ_ ( _τx, x, fmotion_ ). We use a perceptron as the diffusion model and train _θ_ on ground-truth trajectories with a simple objective.
|
| 138 |
+
|
| 139 |
+
**==> picture [284 x 12] intentionally omitted <==**
|
| 140 |
+
|
| 141 |
+
**Evaluation Module.** The evaluation module is used to calculate the probability of spatial relation graph _{G[t] i[}]_[ in the] _[ t]_[-th frame, so as to retain the most likely] _[ K]_[candidates and select the best one.] Consider the process of obtaining the spatial relation graph _G[t] i_[by] _[ t][ −]_[1][ loops from the first frame,] assume that the spatial relation predictor described in Section 3.4 have been performed _m_ times in
|
| 142 |
+
|
| 143 |
+
6
|
| 144 |
+
|
| 145 |
+
**==> picture [337 x 108] intentionally omitted <==**
|
| 146 |
+
|
| 147 |
+
**----- Start of picture text -----**<br>
|
| 148 |
+
Synthetic Datasets Real-world Datasets<br>**----- End of picture text -----**<br>
|
| 149 |
+
|
| 150 |
+
Figure 3: Video frames from CATER (Girdhar and Ramanan, 2019), LA-CATER (Shamsian et al., 2020), (Liang et al., 2018) and iVOT datasets.
|
| 151 |
+
|
| 152 |
+
the process, the predictions are _{p_ 1 _, p_ 2 _, . . . , pm}_ respectively, we define the probability of _G[t] i_[as] _Pro_ ( _G[t] i_[) =] _m_[1] � _mj_ =1 _[p][j]_[.]
|
| 153 |
+
|
| 154 |
+
In addition, we will correct _Pro_ ( _G[t] i_[)][ to][ 0][ according to the results obtained by the visual module and] reserve at most _K_ spatial relation graphs for each video frame according to the probability from high to low, as a set of candidate spatial relation graphs. The reappearance correction occurs when the IoU of the predicted bounding box and the position where the object reappears _< λreappear_ , while the disappearance correction happens when the maximum IoU of the predicted bounding box and the bounding box of other visible objects _< λdisappear_ .
|
| 155 |
+
|
| 156 |
+
## 4 EXPERIMENTS
|
| 157 |
+
|
| 158 |
+
## 4.1 DATASETS AND EVALUATION
|
| 159 |
+
|
| 160 |
+
We conduct experiments on the following datasets and use the mean intersection over union (mIoU) metric for evaluation. Figure 3 show video examples of the following datasets.
|
| 161 |
+
|
| 162 |
+
**LA-CATER (Shamsian et al., 2020)** dataset is a synthetic video dataset generated on the basis of the CATER (Girdhar and Ramanan, 2019) dataset. More synthetic videos are generated according to the same generation rules, and the bounding box annotations are generated for each video, which is lacking in the CATER dataset. The LA-CATER dataset contains a total of 14 _k_ synthetic videos and is divided into 9300 training, 3327 validation, and 1371 test videos respectively.
|
| 163 |
+
|
| 164 |
+
**Liang et al. (2018)** is a real-world RGB-D dataset with 44 short videos about 5 to 15 seconds in 5 scenes containing 6k frames and 93 trajectories. The dataset contains simple occlusions and containments caused by human interactions.
|
| 165 |
+
|
| 166 |
+
**iVOT** is a real-world RGB-D dataset with 49 long videos about 0 _._ 5 to 1 _._ 5 minutes in 12 scene categories containing 31 _k_ frames and 171 trajectories, captured by Intel Realsense D435i. Each frame in the dataset is annotated with bounding boxes and actions by manual drawing combined with object tracking software. Our dataset contains more complex spatial relations, such as nested containments, mixed containments, occlusions, etc.
|
| 167 |
+
|
| 168 |
+
The comparison of the proposed dataset with existing video datasets for visual relational reasoning are shown in Table. 1. More details of these datasets are introduced in Appendix. A.5
|
| 169 |
+
|
| 170 |
+
## 4.2 IMPLEMENTATION DETAILS
|
| 171 |
+
|
| 172 |
+
We use the same network architecture as Shamsian et al. (2020) for object detection module in synthetic scenes, which uses a Faster RCNN (Ren et al., 2015) network pre-trained on the COCO (Lin et al., 2014) dataset as the backbone network, and the classifier head is fine-tuned on the LA-CATER (Shamsian et al., 2020) dataset. While for the experiments in real scenes, we apply AutoMatch (Zhang et al., 2021b), a recent object tracker, as the detector. During tracking, we limit the search area to the target’s current location (detection position or predicted position). As for the human-motion module, we apply the PoseC3D (Duan et al., 2022) framework to extract human skeletons. The parameters used in the experiment are _L_ = 20, _K_ = 16, _N_ = 200, _λreappear_ = 0 _._ 4, _λdisappear_ = 0 _._ 2. The training for the Spatial Relation Reasoner (SRR) and the training for the
|
| 173 |
+
|
| 174 |
+
7
|
| 175 |
+
|
| 176 |
+
Table 2: Comparison of tracking methods on the test set of LA-CATER (Shamsian et al., 2020) with the same object detection and perfect perception setups using mean IoU. Since AAPA (Liang et al., 2021) uses additional motion annotations during testing, we only use it as a reference for constructing ideal relationships. The proposed QQ-STR reaches comparable performance to the state-of-the-art methods.
|
| 177 |
+
|
| 178 |
+
|Setup|Method|Visible _↑_<br>Occluded _↑_<br>Contained _↑_<br>Carried _↑_|Overall _↑_|
|
| 179 |
+
|---|---|---|---|
|
| 180 |
+
|OD|OPNet (Shamsian et al.,2020)|88.98<br>80.19<br>77.07<br>56.04|82.35|
|
| 181 |
+
|OD|PA (Lianget al.,2021)|86.80<br>79.43<br>67.14<br>26.54|76.96|
|
| 182 |
+
|OD|RAM (Tokmakov et al.,2022)|**91.70**<br>79.30<br>**82.20**<br>**63.30**|**83.14**|
|
| 183 |
+
|OD|SupervisedQQ-STR(Ours)|87.98<br>**81.11**<br>77.04<br>61.40|82.78|
|
| 184 |
+
|OD|QQ-STR(Ours)|87.87<br>80.85<br>75.42<br>57.12|81.76|
|
| 185 |
+
|PP|OPNet (Shamsian et al.,2020)|88.79<br>67.97<br>83.08<br>76.42|85.44|
|
| 186 |
+
|PP|RAM (Tokmakov et al.,2022)|91.43<br>82.65<br>86.37<br>75.18|89.43|
|
| 187 |
+
|PP|SupervisedQQ-STR(Ours)|**99.01**<br>**85.11**<br>**90.92**<br>**78.12**|**94.85**|
|
| 188 |
+
|PP|QQ-STR(Ours)|98.61<br>84.03<br>89.65<br>76.41|93.76|
|
| 189 |
+
|OD|AAPA* (Lianget al.,2021)|88.67<br>82.15<br>80.79<br>68.25|84.66|
|
| 190 |
+
|PP|AAPA* (Lianget al.,2021)|99.38<br>90.53<br>93.86<br>82.54|96.31|
|
| 191 |
+
|
| 192 |
+
Spatial Relation Analyst (SRA) are conducted separately. Both the training is performed with Adam optimizer with learning rates of 1e-4 (SRR) and 1e-3 (SRA) and the same batch size of 64. All the experiments are conducted on a GeForce RTX 3070 Lite Hash Rate. More implementation details are shown in Appendix. A.2.
|
| 193 |
+
|
| 194 |
+
## 4.3 CAPTURING OBJECT PERMANENCE IN IDEAL SYNTHETIC SCENES
|
| 195 |
+
|
| 196 |
+
In this section, we evaluate the object permanence inferred by our algorithm on LA-CATER (Shamsian et al., 2020). Among the methods we compared, RAM (Tokmakov et al., 2022) and the proposed QQ-STR utilize no relationship annotations during training or testing. PA (Liang et al., 2021), OPNet (Shamsian et al., 2020), and Supervised QQ-STR use relationship annotations for training, but only raw videos for testing. As for AAPA (Liang et al., 2021), it uses relationship annotations for both training and testing thus we only use it as a reference for constructing ideal relationships.
|
| 197 |
+
|
| 198 |
+
The upper part of Table 2 shows the comparison of tracking methods with the same object detection setup. The proposed QQ-STR outperforms other methods in the "occluded" scenario and is slightly inferior to RAM (Tokmakov et al., 2022) in other scenarios. Our method achieves comparable performance to the state-of-the-art method, showing that the proposed framework can distinguish between containment and occlusion well when receiving non-perfect visual input.
|
| 199 |
+
|
| 200 |
+
The lower part of Table 2 shows the comparison of tracking methods with the same perfect perception setup, where the ground truth bounding boxes are used as the ideal detection results (note that the visibility of objects still depends on the result of object detection). Compared with the setup of object detection, the setup of perfect perception reduces the interference caused by the error of detection itself in reasoning the spatial relations and predicting the position of invisible objects, reflecting the model’s performance ceiling under the assumption of using a perfect detection module. The proposed QQ-STR significantly outperforms OPNet (Shamsian et al., 2020) and RAM (Tokmakov et al., 2022) in every scenario but still has a gap with AAPA (Liang et al., 2021) that uses the ground truth spatial relations. A comparison of the two setups illustrates that our method is able to reason about spatial relationships more accurately under ideal detection results.
|
| 201 |
+
|
| 202 |
+
## 4.4 LEARNING OBJECT PERMANENCE IN THE REAL WORLD
|
| 203 |
+
|
| 204 |
+
In this section, we further demonstrate that our approach is able to discover object permanence in the real world, by conducting experiments on Liang et al. (2018) and the proposed iVOT dataset.
|
| 205 |
+
|
| 206 |
+
Table 3 shows our results on Liang et al. (2018) and the proposed iVOT dataset. Our method significantly outperforms Liang et al. (2018) and the detection baseline, but there is still room for improvement in the results of predicting the target state. That shows that learning object permanence in real-world scenes is more difficult than in synthetic scenes, including more complex spatial relations, human interactions, larger detection errors, and so on. Note that the results on the iVOT dataset are significantly worse than the results on Liang et al. (2018) because our proposed iVOT
|
| 207 |
+
|
| 208 |
+
8
|
| 209 |
+
|
| 210 |
+
Table 3: Comparison to the baselines on the validation sets of Liang et al. (2018) and the proposed iVOT with mIoU and state accuracy (i.e. determine if the object in the current frame is occluded or contained).
|
| 211 |
+
|
| 212 |
+
|ained).|||
|
| 213 |
+
|---|---|---|
|
| 214 |
+
|Method|Liang et al. (2018)<br>iVOT<br>mIoU _↑_<br>State Accuracy _↑_<br>mIoU _↑_<br>State Accuracy _↑_||
|
| 215 |
+
|Raw Detection|0.570<br>/|0.491<br>/|
|
| 216 |
+
|(Lianget al.,2018)|0.674<br>/|/<br>/|
|
| 217 |
+
|SupervisedQQ-STR(Ours)|**0.748**<br>**0.719**|**0.583**<br>**0.686**|
|
| 218 |
+
|QQ-STR(Ours)|0.711<br>0.699|0.542<br>0.614|
|
| 219 |
+
|
| 220 |
+
Table 4: Analysis of the components of our method on the LA-CATER (Shamsian et al., 2020) dataset. The OD setup means using object detection while the PP setup means using the perfect perception. We ablate the number of the spatial relation graph candidates, whether to use action labels to construct ideal spatial relation graphs, and whether to use the diffusion-based trajectory prediction method.
|
| 221 |
+
|
| 222 |
+
|Setup<br>Candidates<br>SRR<br>SRA|Visible _↑_<br>Occluded _↑_<br>Contained _↑_<br>Carried _↑_|Overall _↑_|
|
| 223 |
+
|---|---|---|
|
| 224 |
+
|OD<br>_K_ = 1<br>w/o labels<br>with diffusion|88.03<br>80.66<br>76.12<br>60.54|82.17|
|
| 225 |
+
|OD<br>_K_ = 16<br>w/o labels<br>with diffusion|87.98<br>81.11<br>77.04<br>61.40|82.78|
|
| 226 |
+
|OD<br>_K_ = 16<br>with labels<br>with diffusion|**88.13**<br>**82.16**<br>**79.18**<br>**63.29**|**84.01**|
|
| 227 |
+
|OD<br>_K_ = 16<br>w/o labels<br>w/o diffusion|88.03<br>80.77<br>77.09<br>61.16|82.62|
|
| 228 |
+
|OD<br>_K_ = 64<br>w/o labels<br>with diffusion|87.98<br>81.11<br>77.04<br>61.40|82.78|
|
| 229 |
+
|PP<br>_K_ = 1<br>w/o labels<br>with diffusion|98.47<br>81.67<br>89.35<br>77.03|93.58|
|
| 230 |
+
|PP<br>_K_ = 16<br>w/o labels<br>with diffusion|99.01<br>85.11<br>90.92<br>78.12|94.85|
|
| 231 |
+
|PP<br>_K_ = 16<br>with labels<br>with diffusion|**99.42**<br>**90.12**<br>**95.21**<br>**86.10**|**97.04**|
|
| 232 |
+
|PP<br>_K_ = 16<br>w/o labels<br>w/o diffusion|98.55<br>82.96<br>90.48<br>78.60|94.19|
|
| 233 |
+
|PP<br>_K_ = 64<br>w/o labels<br>with diffusion|99.01<br>85.11<br>90.92<br>78.12|94.85|
|
| 234 |
+
|
| 235 |
+
dataset has more sophisticated spatial relations (i.e. nested containments, mixed containments, and occlusions), longer detection period, and more diverse scenes.
|
| 236 |
+
|
| 237 |
+
## 4.5 ABLATION STUDIES
|
| 238 |
+
|
| 239 |
+
We conduct diverse ablation studies on the LA-CATER (Shamsian et al., 2020) dataset to verify the effectiveness of the proposed method, as shown in Table 4.
|
| 240 |
+
|
| 241 |
+
**The Size of the Spatial Relation Graph Candidates.** First, we change the number _K_ of candidate spatial relation graphs generated by the spatial relation reasoner. The results in rows 1, 2, and 5 show that when _K_ reaches 16 and above, the candidates cover the optimal spatial relation graph, thus the performance is no longer improved.
|
| 242 |
+
|
| 243 |
+
**Verification for Spatial Relation Reasoner (SRR).** Next, we follow the method of AAPA (Liang et al., 2021) and use motion labels to construct ground truth spatial relation graphs, which are used to replace the candidates generated by spatial Relation reasoner. The results in rows 2 and 3 prove that the performance of the proposed method is close to the upper bound by using ground truth relations, demonstrating the effectiveness of the spatial relation reasoner.
|
| 244 |
+
|
| 245 |
+
**Verification for Spatial Relation Analyst (SRA).** In order to demonstrate the effectiveness of the trajectory prediction, we use a rule-based method based on the relative displacement to replace the diffusion model used in the Spatial Relation Analyst. The results in rows 2 and 4 demonstrate that the proposed diffusion-based trajectory predictor achieves better performance.
|
| 246 |
+
|
| 247 |
+
## 5 CONCLUSION
|
| 248 |
+
|
| 249 |
+
In this work, we propose a Qualitative-Quantitative Spatial-Temporal Reasoning (QQ-STR) framework for invisible object tracking, which defines the spatial relation between objects. Our framework achieves state-of-the-art performance on both synthetic and real-world datasets, demonstrating its ability to learn object permanence and infer spatial relations well.
|
| 250 |
+
|
| 251 |
+
For future work, we will improve the robustness of our method in some complex scenes, such as those with “occluded containers”. Moreover, we will try to enable the model to learn the spatial relation representation between objects independently, without using artificial symbols.
|
| 252 |
+
|
| 253 |
+
9
|
| 254 |
+
|
| 255 |
+
## REFERENCES
|
| 256 |
+
|
| 257 |
+
- Andréa Aguiar and Renée Baillargeon. 2.5-month-old infants’ reasoning about when objects should and should not be occluded. _Cognitive psychology_ , 39(2):116–157, 1999.
|
| 258 |
+
|
| 259 |
+
- Renée Baillargeon and Julie DeVos. Object permanence in young infants: Further evidence. _Child development_ , 62(6):1227–1246, 1991.
|
| 260 |
+
|
| 261 |
+
- Renee Baillargeon, Elizabeth S Spelke, and Stanley Wasserman. Object permanence in five-month-old infants. _Cognition_ , 20(3):191–208, 1985.
|
| 262 |
+
|
| 263 |
+
- Nicolas Ballas, Li Yao, Chris Pal, and Aaron Courville. Delving deeper into convolutional networks for learning video representations. _arXiv preprint arXiv:1511.06432_ , 2015.
|
| 264 |
+
|
| 265 |
+
- David Ding, Felix Hill, Adam Santoro, Malcolm Reynolds, and Matt Botvinick. Attention over learned object embeddings enables complex visual reasoning. _Advances in neural information processing systems_ , 34:9112–9124, 2021.
|
| 266 |
+
|
| 267 |
+
- Haodong Duan, Yue Zhao, Kai Chen, Dahua Lin, and Bo Dai. Revisiting skeleton-based action recognition. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pages 2969–2978, 2022.
|
| 268 |
+
|
| 269 |
+
- Rohit Girdhar and Deva Ramanan. Cater: A diagnostic dataset for compositional actions and temporal reasoning. _arXiv preprint arXiv:1910.04744_ , 2019.
|
| 270 |
+
|
| 271 |
+
- Alex Graves and Alex Graves. Long short-term memory. _Supervised sequence labelling with recurrent neural networks_ , pages 37–45, 2012.
|
| 272 |
+
|
| 273 |
+
- Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. _Advances in Neural Information Processing Systems_ , 33:6840–6851, 2020.
|
| 274 |
+
|
| 275 |
+
- Wei Liang, Yibiao Zhao, Yixin Zhu, and Song-Chun Zhu. What is where: Inferring containment relations from videos. In _IJCAI_ , pages 3418–3424, 2016.
|
| 276 |
+
|
| 277 |
+
- Wei Liang, Yixin Zhu, and Song-Chun Zhu. Tracking occluded objects and recovering incomplete trajectories by reasoning about containment relations and human actions. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 32, 2018.
|
| 278 |
+
|
| 279 |
+
- Ying Siu Liang, Dongkyu Choi, and Kenneth Kwok. Maintaining a reliable world model using action-aware perceptual anchoring. In _2021 IEEE International Conference on Robotics and Automation (ICRA)_ , pages 13071–13077. IEEE, 2021.
|
| 280 |
+
|
| 281 |
+
- Ji Lin, Chuang Gan, and Song Han. Temporal shift module for efficient video understanding. corr abs/1811.08383 (2018), 2018.
|
| 282 |
+
|
| 283 |
+
- Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In _Computer Vision– ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13_ , pages 740–755. Springer, 2014.
|
| 284 |
+
|
| 285 |
+
- Christoph Mayer, Martin Danelljan, Goutam Bhat, Matthieu Paul, Danda Pani Paudel, Fisher Yu, and Luc Van Gool. Transforming model prediction for tracking. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pages 8731–8740, 2022.
|
| 286 |
+
|
| 287 |
+
- Matthieu Paul, Martin Danelljan, Christoph Mayer, and Luc Van Gool. Robust visual tracking by segmentation. In _European Conference on Computer Vision_ , pages 571–588. Springer, 2022.
|
| 288 |
+
|
| 289 |
+
- Jean Piaget. _The construction of reality in the child_ , volume 82. Routledge, 2013.
|
| 290 |
+
|
| 291 |
+
Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. _Advances in neural information processing systems_ , 28, 2015.
|
| 292 |
+
|
| 293 |
+
10
|
| 294 |
+
|
| 295 |
+
- Aviv Shamsian, Ofri Kleinfeld, Amir Globerson, and Gal Chechik. Learning object permanence from video. In _Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part XVI 16_ , pages 35–50. Springer, 2020.
|
| 296 |
+
|
| 297 |
+
- Elizabeth S Spelke. Principles of object perception. _Cognitive science_ , 14(1):29–56, 1990.
|
| 298 |
+
|
| 299 |
+
- Guy Tevet, Sigal Raab, Brian Gordon, Yonatan Shafir, Daniel Cohen-Or, and Amit H Bermano. Human motion diffusion model. _arXiv preprint arXiv:2209.14916_ , 2022.
|
| 300 |
+
|
| 301 |
+
- Pavel Tokmakov, Jie Li, Wolfram Burgard, and Adrien Gaidon. Learning to track with object permanence. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pages 10860–10869, 2021.
|
| 302 |
+
|
| 303 |
+
- Pavel Tokmakov, Allan Jabri, Jie Li, and Adrien Gaidon. Object permanence emerges in a random walk along memory. _arXiv preprint arXiv:2204.01784_ , 2022.
|
| 304 |
+
|
| 305 |
+
- Manuel Traub, Sebastian Otte, Tobias Menge, Matthias Karlbauer, Jannik Thuemmel, and Martin V Butz. Learning what and where: Disentangling location and identity tracking without supervision. In _The Eleventh International Conference on Learning Representations_ , 2022.
|
| 306 |
+
|
| 307 |
+
- 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.
|
| 308 |
+
|
| 309 |
+
- Hanqing Wang, Wei Liang, and Lap-Fai Yu. Transferring objects: Joint inference of container and human pose. In _Proceedings of the IEEE International Conference on Computer Vision_ , pages 2933–2941, 2017.
|
| 310 |
+
|
| 311 |
+
- Yi-Fu Wu, Jaesik Yoon, and Sungjin Ahn. Generative video transformer: Can objects be the words? In _International Conference on Machine Learning_ , pages 11307–11318. PMLR, 2021.
|
| 312 |
+
|
| 313 |
+
- Ceyuan Yang, Yinghao Xu, Jianping Shi, Bo Dai, and Bolei Zhou. Temporal pyramid network for action recognition. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pages 591–600, 2020.
|
| 314 |
+
|
| 315 |
+
- Yifu Zhang, Chunyu Wang, Xinggang Wang, Wenjun Zeng, and Wenyu Liu. Fairmot: On the fairness of detection and re-identification in multiple object tracking. _International Journal of Computer Vision_ , 129:3069–3087, 2021a.
|
| 316 |
+
|
| 317 |
+
- Zhipeng Zhang, Yihao Liu, Xiao Wang, Bing Li, and Weiming Hu. Learn to match: Automatic matching network design for visual tracking. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pages 13339–13348, 2021b.
|
| 318 |
+
|
| 319 |
+
11
|
| 320 |
+
|
| 321 |
+
## A ADDITIONAL EXPERIMENTAL DETAILS
|
| 322 |
+
|
| 323 |
+
- A.1 SCHEMATIC DIAGRAMS
|
| 324 |
+
|
| 325 |
+
**==> picture [358 x 116] intentionally omitted <==**
|
| 326 |
+
|
| 327 |
+
**----- Start of picture text -----**<br>
|
| 328 |
+
: contain(A, B)<br>: occlude(A, B)<br>**----- End of picture text -----**<br>
|
| 329 |
+
|
| 330 |
+
Figure 4: An example of a spatial relation graph. The scene on the left corresponds to the spatial relation graph generated on the right. For the sake of convenience, the non-direct relationships are omitted here.
|
| 331 |
+
|
| 332 |
+
**==> picture [335 x 155] intentionally omitted <==**
|
| 333 |
+
|
| 334 |
+
**----- Start of picture text -----**<br>
|
| 335 |
+
Frame t-1 𝐺1𝑡−1 : contain(A, B) 𝐺2𝑡−1<br>: occlude(A, B)<br>Predictor Predictor<br>contain1 contain2 occlude contain1 contain2 occlude<br>Frame t 𝐺1𝑡 𝐺2𝑡 𝐺3𝑡 𝐺4𝑡 𝐺5𝑡 𝐺6𝑡<br>**----- End of picture text -----**<br>
|
| 336 |
+
|
| 337 |
+
Figure 5: The structure of Qualitative Spatial Relation Reasoner. The spatial relation generator takes the spatial relation graphs of the previous frame as input and updates the corresponding spatial relation graphs in the next frame by the spatial relation predictor.
|
| 338 |
+
|
| 339 |
+
In order to represent the spatial relationship diagram constructed by our method more clearly, Figure 4 and Figure 5 respectively show a spatial relation graph example and the Qualitative Spatial Relation Reasoner schematic diagrams. As shown in Figure 5, the qualitative spatial-relation reasoner regards each spatial-relation graph _G[t] i_[from the previous spatial-relation graph candidates] _[ PG][t][−]_[1][as a node,] and generates more possible branches _G[t] j_[in the current frame.][These nodes constitute a search tree] structure from top to bottom and are expanded in chronological order.
|
| 340 |
+
|
| 341 |
+
Table 5: Hyperparameters used in the proposed framework.
|
| 342 |
+
|
| 343 |
+
|Hyperparameters|Meaning|Value|
|
| 344 |
+
|---|---|---|
|
| 345 |
+
|_L_|The length of the trajectories input into thepredictor|20|
|
| 346 |
+
|_K_|The maximum number of spatial relationgraph candidates|16|
|
| 347 |
+
|_N_|The steps of diffusion models|200|
|
| 348 |
+
|_λreappear_|The threshold confdence of reappearance|0.2|
|
| 349 |
+
|_λdisappear_|The threshold confdence of disappearance|0.4|
|
| 350 |
+
|
| 351 |
+
12
|
| 352 |
+
|
| 353 |
+
**==> picture [314 x 109] intentionally omitted <==**
|
| 354 |
+
|
| 355 |
+
**----- Start of picture text -----**<br>
|
| 356 |
+
𝐹<br>𝑹 [𝐿×𝑘×4]<br>𝑊 [𝑄] 𝑄<br>𝑹 [𝐿×𝑘×4] Multi-head<br>𝑊 [𝐾] 𝐾 MLP 𝑃<br>𝑹 [𝐿×𝑘×4] Attention 𝑹 [𝑛+1] 𝑹 [𝑘+1]<br>𝑊 [𝑉] 𝑉<br>𝑹 [𝐿×𝑘×4]<br>**----- End of picture text -----**<br>
|
| 357 |
+
|
| 358 |
+
Figure 6: The network structure of the spatial relation predictor in Qualitative Spatial Relation Reasoner (SRR).
|
| 359 |
+
|
| 360 |
+
Table 6: The details of MLP for regressing probability vector.
|
| 361 |
+
|
| 362 |
+
|Layer|Type|Size|
|
| 363 |
+
|---|---|---|
|
| 364 |
+
|0|Input|15|
|
| 365 |
+
|1|FC+ReLU|256|
|
| 366 |
+
|2|FC|16|
|
| 367 |
+
|
| 368 |
+
**Algorithm 1** Rule-based trajectory predictor
|
| 369 |
+
|
| 370 |
+
1: **Input:** Invisible object _x_ in the current frame _t_ .
|
| 371 |
+
|
| 372 |
+
2: **Output:** Bounding Box Prediction _bbox[t] x_[= (] _[x][t] x[, y] x[t][, w] x[t][, h][t] x_[)][ of] _[ x]_[ in the current frame] _[ t]_[.] 3: _y ← find_ container_ ( _x_ ) 4: **if** _x_ is visible in the last frame **then** 5: _x_ 1 _←_ ( _x[t] x[−]_[1] _− x[t] y[−]_[1] ) _/wy[t][−]_[1] 6: _x_ 2 _←_ ( _xx[t][−]_[1] + _wx[t][−]_[1] _− x[t] y[−]_[1] ) _/wy[t][−]_[1] 7: _y_ 1 _←_ ( _yx[t][−]_[1] _− yy[t][−]_[1] ) _/h[t] y[−]_[1] 8: _y_ 2 _←_ ( _yx[t][−]_[1] + _h[t] x[−]_[1] _− yy[t][−]_[1] ) _/h[t] y[−]_[1] 9: _x[t] x[←][x]_[1] _[ ×][ w] y[t]_[+] _[ x][t] y_ 10: _yx[t][←][y]_[1] _[ ×][ h][t] y_[+] _[ y] y[t]_ 11: _wx[t][←][x]_[2] _[ ×][ w] y[t]_[+] _[ x][t] y[−][x][t] x_ 12: _h[t] x[←][y]_[2] _[ ×][ h][t] y_[+] _[ y] y[t][−][y] x[t]_ 13: **Return** _bbox[t] x_[= (] _[x][t] x[, y] x[t][, w] x[t][, h][t] x_[)]
|
| 373 |
+
|
| 374 |
+
## A.2 IMPLEMENTATION DETAILS
|
| 375 |
+
|
| 376 |
+
**Spatial Relation Reasoner (SRR)** . In this paper, we design a network consisting of a multi-head attention network (Vaswani et al., 2017) and a MLP for the spatial relation predictor in Qualitative Spatial Relation Reasoner, as shown in Figure 6. The length of the input trajectories _τ_ is _L_ = 20, and the maximum number of objects contained is _k_ = 15. The _Q_ , _K_ , and _V_ used by the multi-head attention module are obtained from the input trajectories through three linear transformations, implemented by nn.Linear. The multi-head attention module is implemented by nn.MultiheadAttention with num_heads=5, embed_dim=15. The probability vector _p_ ( _τ_ ) _∈_ **R** _[n]_[+1] is obtained by the last layer output of the multi-head attention module passing a MLP head shown in Table 6. The hyperparameters used in the proposed framework are listed in Table 5.
|
| 377 |
+
|
| 378 |
+
**Spatial Relation Analyst (SRA)** . When predicting the trajectories of invisible objects in the Quantitative Spatial Relation Analyst, a simple rule-based method is used to make rough predictions. Then we use the motion feature of _x_ (trajectories predicted by the rule-based method) and _container_ ( _x_ ) (visible trajectories or already predicted trajectories) in the past _l_ frames _fmotion ∈_ **R** _[l][×]_[8] ( _l_ = 5) and diffusion step _t_ as input and sampling the trajectory predictions _τ[∗] ∈_ **R** _[l][×]_[4] after the denoising
|
| 379 |
+
|
| 380 |
+
13
|
| 381 |
+
|
| 382 |
+
Table 7: The details of MLP for the diffusion model.
|
| 383 |
+
|
| 384 |
+
|Layer|Type|Size|
|
| 385 |
+
|---|---|---|
|
| 386 |
+
|0|Input|41|
|
| 387 |
+
|1|FC+ReLU|64|
|
| 388 |
+
|2|FC|20|
|
| 389 |
+
|
| 390 |
+
Table 8: Classification accuracy on the CATER (Girdhar and Ramanan, 2019) dataset using the metrics of Girdhar and Ramanan (2019). The proposed QQ-STR method achieves comparable performance with the SOTA methods.
|
| 391 |
+
|
| 392 |
+
|ith the SOTA methods.||
|
| 393 |
+
|---|---|
|
| 394 |
+
|Method|Top1 Accuracy _↑_<br>Top5 Accuracy _↑_|
|
| 395 |
+
|OPNet (Shamsian et al.,2020)|74.8<br>90.2|
|
| 396 |
+
|TPN-101 (Yanget al.,2020)|65.3<br>83.0|
|
| 397 |
+
|TSM-50 (Lin et al.,2018)|64.0<br>85.7|
|
| 398 |
+
|Aloe (Dinget al.,2021)|74.0<br>94.0|
|
| 399 |
+
|OCVT (Wu et al.,2021)|76.0<br>**94.4**|
|
| 400 |
+
|Loci (Traub et al.,2022)|**78.4**<br>92.0|
|
| 401 |
+
|QQ-STR(Ours)|76.4<br>93.8|
|
| 402 |
+
|
| 403 |
+
process through an MLP model as shown in Table 7. The parameters used in the diffusion process are _N_ = 200 _, β_ 1 = 1 _e −_ 3 _, βT_ = 2 _e −_ 2 _, sampling_ times_ = 3.
|
| 404 |
+
|
| 405 |
+
## A.3 TRAINING DETAILS AND EFFICIENCY
|
| 406 |
+
|
| 407 |
+
We train the Qualitative Spatial Relation Reasoner(SRR) and the Quantitative Spatial Relation Analyst (SRA) separately.
|
| 408 |
+
|
| 409 |
+
During training the spatial Relation predictor in the SRR module, we sample the "disappearancereappearance" trajectories in the training set and obtain the corresponding probability vector as labels according to the self-supervised/unsupervised method. In this period, the model is trained with Adam optimizer for 200 epochs. The batch size and learning rate are set as 64 and 1 _e −_ 4 respectively.
|
| 410 |
+
|
| 411 |
+
While training the diffusion model for the SRA module, we use ground truth object trajectories in the training set as supervision for the denoising process. In each training epoch, we will randomly select a diffusion step _x ∈_ [1 _, N_ ] for each trajectory, and then obtain the mixed trajectory _τ_ = ( _τ_ 0 + _ϵ_ 0 _, τ_ 1 + _ϵ_ 0 + _· · ·_ + _ϵ_ 1 _, . . . , τx−_ 1 +[�] _[x] i_ =0 _[−]_[1] _[ϵ][i]_[)][by][accumulating][the][temporal][displacement] Gaussian noise _ϵi ∼N_ (0 _, I ×_ 0 _._ 1) to the initial position of the target _τ_ 0. The diffusion model is trained with a learning rate of 1 _e −_ 3 for 500 epochs.
|
| 412 |
+
|
| 413 |
+
In practice, our method achieves an average processing speed of 100 microseconds per frame when the size of the candidate set _K_ = 16. As for the case where the size of candidate sets is larger or smaller, the processing speed of the proposed method is about 30 microseconds per frame ( _K_ = 1) and 250 microseconds per frame ( _K_ = 64).
|
| 414 |
+
|
| 415 |
+
## A.4 EXPERIMENTS ON THE CATER (GIRDHAR AND RAMANAN, 2019) DATASET
|
| 416 |
+
|
| 417 |
+
CATER (Girdhar and Ramanan, 2019) dataset is a synthetic video dataset for reasoning about object actions and interactions and contains a total of 5 _,_ 500 videos synthesized by the Blender engine. Each video consists of 300 frames and describes the movement of 5 to 10 objects on the table. Each object has 4 attributes shape (cube, sphere, pyramid, and inverted cone), size (small, medium, large), material (metal and rubber), and color (8 types in total). There is a small golden metal sphere appearing in every video, representing the target to be tracked. There are four types of behaviors in the moving process of an object on the table: sliding, rotating, lifting down, and containing. Since the CATER dataset does not have the annotation of the bounding boxes, we only conducted experiments on localization tasks on this dataset.
|
| 418 |
+
|
| 419 |
+
14
|
| 420 |
+
|
| 421 |
+
Table 9: The distribution of the iVOT dataset compared with the LA-CATER according to the spatial relation classification of the target.
|
| 422 |
+
|
| 423 |
+
|the target.|||
|
| 424 |
+
|---|---|---|
|
| 425 |
+
|Dataset|Visible|Invisible<br>Occluded<br>Contained|
|
| 426 |
+
|LA-CATER|64.13%|3.07%<br>32.80%|
|
| 427 |
+
|iVOT|40.98%|42.04%<br>16.97%|
|
| 428 |
+
|
| 429 |
+
**==> picture [382 x 117] intentionally omitted <==**
|
| 430 |
+
|
| 431 |
+
Figure 7: Several tracking examples in the proposed challenging iVOT dataset, where occlusions and containments occur frequently. The red bounding boxes represent the targets while the yellow bounding boxes represent the containers or obstacles.
|
| 432 |
+
|
| 433 |
+
Table 10: Comparison of the video datasets used for visual relational reasoning.
|
| 434 |
+
|
| 435 |
+
|Dataset|Action Patterns|Depth Information|FPS|Resolution|Scenes|Number of videos|Total frames|Video Length (seconds)|
|
| 436 |
+
|---|---|---|---|---|---|---|---|---|
|
| 437 |
+
|CATER (Girdhar and Ramanan, 2019)|3|RGB|**30**|320*240|1|5500|1650k|10|
|
| 438 |
+
|LA-CATER (Shamsian et al., 2020)|3|RGB|**30**|320*240|1|**4k**|**4200k**|10|
|
| 439 |
+
|PD (Tokmakov et al., 2021)|1|RGB|20|**1920*1080**|**630**|630|6300|10|
|
| 440 |
+
|Liang et al. (2018)|any|RGBD|10|1920*1080 / 512*424|10|44|1346|5 - 15|
|
| 441 |
+
|iVOT(Ours)|any|RGBD|**30**|**1920*1080**|12|49|˜31k|30 - 90|
|
| 442 |
+
|
| 443 |
+
Table 8 shows the comparison results of our method with other localization methods on the CATER dataset. The proposed QQR-T achieves comparable performance with the existing state-of-the-art methods. Our method significantly outperforms the earlier methods like TPN-101 (Yang et al., 2020) and TSM-50 (Lin et al., 2018), slightly outperforms the latest methods like OPNet (Shamsian et al., 2020) or Aloe (Ding et al., 2021) , and achieves comparable performance with OCVT (Wu et al., 2021) and Loci (Traub et al., 2022).
|
| 444 |
+
|
| 445 |
+
## A.5 DATASET
|
| 446 |
+
|
| 447 |
+
The proposed iVOT(invisible Object Tracking) dataset is collected by Intel Realsense D435i which has a RGB frame resolution of 1920*1080, a depth output resolution of 1280*720, and a frame rate of 30. The recording process is participated by two experimenters and the illumination conditions are all indoor white LED lights. Figure 7 shows several tracking examples in the challenging iVOT dataset, where traditional vision-based trackers have difficulty tracking targets (marked by the red bounding boxes) accurately. We show the distribution of the iVOT dataset in Table 9 according to the spatial relation classification of the target. According to the proportion of invisible frames, especially the proportion of occlusion frames, the dataset we proposed is far more difficult than LA-CATER. Table 10 is a comprehensive comparison of the proposed dataset with existing video datasets for visual relational reasoning.
|
| 448 |
+
|
| 449 |
+
## A.6 VISUALIZATION
|
| 450 |
+
|
| 451 |
+
We selected two typical tracking examples in the iVOT dataset for visualization. The results of AutoMatch (Zhang et al., 2021b), RTS (Paul et al., 2022), ToMP (Mayer et al., 2022), the proposed QQ-STR and the ground truth are displayed in chronological order from left to right. These two
|
| 452 |
+
|
| 453 |
+
15
|
| 454 |
+
|
| 455 |
+
**==> picture [396 x 105] intentionally omitted <==**
|
| 456 |
+
|
| 457 |
+
Figure 8: Two typical iVOT tracking examples with co-occurring containments and occlusions. The bounding boxes of five different colors represent the results of four different trackers and the ground truth. The proposed QQ-STR successfully predicts the trajectory of the disappearing target by constructing the spatial relation graph of invisible targets where current state-of-the-art trackers such as AutoMatch (Zhang et al., 2021b), RTS (Paul et al., 2022) and ToMP (Mayer et al., 2022) cannot.
|
| 458 |
+
|
| 459 |
+
Table 11: Comparison of the cross-domain generalization using mean mIoU. We train the models on the LA-CATER dataset and evaluate the performance on the iVOT dataset. We also report the results of OPNet as a reference.
|
| 460 |
+
|
| 461 |
+
|et as a reference.|||
|
| 462 |
+
|---|---|---|
|
| 463 |
+
||Trained on LA-CATER|Trained on iVOT|
|
| 464 |
+
|AutoMatch(Zhanget al.,2021b)|0.491|0.491|
|
| 465 |
+
|OPNet(Shamsian et al.,2020)|0.476|0.535|
|
| 466 |
+
|QQ-STR(Ours)|0.554|0.583|
|
| 467 |
+
|
| 468 |
+
tracking scenarios prove that the proposed QQ-STR understands the spatial relation of the invisible target well where traditional vision-based trackers cannot:
|
| 469 |
+
|
| 470 |
+
In the upper example, the experimenter removes the target toy from the stool and places the toy in a box on the bookshelf while keeping the toy occluded by the hands (Frame 1-3). Then he places another similar toy on another stool in the box (Frame 3-4). Finally, he moves the box from the bookshelf to the stool (Frame 4-5). In the first phase (Frame 1-3), all trackers track the visible target toy relatively efficiently. But when the box replaces the hand as the container of the target toy in the second stage (Frame 3-4), only QQ-STR successfully understands that the target toy has been contained in the box, while other trackers start to track the hands or even lose the target. In the third stage (Frame 4-5), our method successfully predicts the trajectory of invisible targets according to the trajectory of the box.
|
| 471 |
+
|
| 472 |
+
In the lower example, the experimenter removes the target doll from the bed (Frame 1-3), then places the doll under the bed (Frame 3-4), and finally stands up with empty hands (Frame 4-5). Other methods start to lose the target after the third frame while the proposed QQ-STR successfully understands that the doll is contained by the hand. Based on the fact that there is no target doll when the experimenter’s hand reappears in the fifth frame, it is inferred that the bed becomes the new container for the doll in the fourth frame.
|
| 473 |
+
|
| 474 |
+
## A.7 SUPPLEMENTARY EXPERIMENTS
|
| 475 |
+
|
| 476 |
+
**Cross-domain Generalization.** We conducted experiments across datasets, that is, using the synthetic data set LA-CATER for training, and the iVOT data set only for testing. In this experiment, we use OPNet (Shamsian et al., 2020) for comparison and use the same AutoMatch (Zhang et al., 2021b) model as the vision module. Table 11 proves that our proposed method has stronger generalization ability and performance than OPNet.
|
| 477 |
+
|
| 478 |
+
**Hyperparameters Ablation Study.** In the ablation experiment, we left other hyperparameters unchanged and adjusted only one hyperparameter to test the impact of different hyperparameters on performance stability. Table 12 shows the robustness of the proposed method on different hyperparameter settings.
|
| 479 |
+
|
| 480 |
+
16
|
| 481 |
+
|
| 482 |
+
Table 12: Experimental results of our method on the LA-CATER dataset with different hyperparameters using mean IoU.
|
| 483 |
+
|
| 484 |
+
|Hyperparameters|Value|mIoU|
|
| 485 |
+
|---|---|---|
|
| 486 |
+
|_L_|10|82.10|
|
| 487 |
+
||20|82.78|
|
| 488 |
+
||40|81.78|
|
| 489 |
+
|_K_|1|82.17|
|
| 490 |
+
||16|82.78|
|
| 491 |
+
||64|82.78|
|
| 492 |
+
|_N_|100|82.63|
|
| 493 |
+
||200|82.78|
|
| 494 |
+
||1000|82.65|
|
| 495 |
+
|_λreappear_|0.1|82.54|
|
| 496 |
+
||0.2|82.78|
|
| 497 |
+
||0.3|82.19|
|
| 498 |
+
|_λdisappear_|0.2|82.78|
|
| 499 |
+
||0.4|82.78|
|
| 500 |
+
||0.6|82.18|
|
| 501 |
+
|
| 502 |
+
Table 13: Comparison of SOTA methods testing on the iVOT dataset using mean IOU.
|
| 503 |
+
|
| 504 |
+
|Method|mIoU|
|
| 505 |
+
|---|---|
|
| 506 |
+
|AutoMatch(Zhanget al.,2021b)|0.491|
|
| 507 |
+
|RTS(Paul et al.,2022)|0.513|
|
| 508 |
+
|ToMP-50(Mayer et al.,2022)|0.527|
|
| 509 |
+
|ToMP-100(Mayer et al.,2022)|0.532|
|
| 510 |
+
|QQ-STR(Ours)|0.583|
|
| 511 |
+
|
| 512 |
+
**SOTA Methods Testing on the iVOT.** Table 13 shows the performance of several SOTA trackers on the proposed iVOT dataset. Our method significantly outperforms current trackers without analysis of relationships between objects.
|
| 513 |
+
|
| 514 |
+
**Traditional Kalman Filter.** We applied the traditional Kalman filter method to conduct experiments both on the LA-CATER and iVOT datasets, and the experimental results in Table 14 showed that the traditional filter method cannot effectively understand the spatial temporal relationship under uncertain noise distribution and nonlinear system. That is the Kalman filter only predicts the shortterm trajectories, and can not conditioned on the object-object relationship. However, the objects in containment may disappear in the long term.
|
| 515 |
+
|
| 516 |
+
17
|
| 517 |
+
|
| 518 |
+
Table 14: Comparison of the traditional Kalman filter method and our proposed method on the LA-CATER dataset and the iVOT dataset using mean IOU.
|
| 519 |
+
|
| 520 |
+
||LA-CATER|iVOT|
|
| 521 |
+
|---|---|---|
|
| 522 |
+
|Kalman flter|0.6978|0.374|
|
| 523 |
+
|QQ-STR(Ours)|0.8278|0.583|
|
| 524 |
+
|
| 525 |
+
18
|
| 526 |
+
|
open_review/iclr2024_9073.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9073",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Debiased Collaborative Filtering with Kernel-Based Causal Balancing",
|
| 6 |
+
"abstract": "Collaborative filtering builds personalized models from the collected user feedback. However, the collected data is observational rather than experimental, leading to various biases in the data, which can significantly affect the learned model. To address this issue, many studies have focused on propensity-based methods to combat the selection bias by reweighting the sample loss, and demonstrate that\nbalancing is important for debiasing both theoretically and empirically. However, there are two questions that still need to be addressed: which function class should be balanced and how to effectively balance that function class? In this paper, we first perform theoretical analysis to show the effect of balancing finite-dimensional function classes on the bias of IPS and DR methods, and based on this, we propose a universal kernel-based balancing method to balance functions on the reproducing kernel Hilbert space. In addition, we propose a novel adaptive causal balancing method during the alternating update between unbiased evaluation and training of the prediction model. Specifically, the prediction loss of the model is projected in the kernel-based covariate function space, and the projection coefficients are used to determine which functions should be prioritized for balancing to reduce the estimation bias. We conduct extensive experiments on three real-world datasets to demonstrate the effectiveness of the proposed approach.",
|
| 7 |
+
"rebuttal": "### General responses and manuscript revision summary\nDear reviewers and AC, \n\nWe sincerely thank all reviewers and AC for their great effort and constructive comments on our manuscript. We know that we are now approaching the end of the author-reviewer discussion and apologize for our late rebuttal. During the rebuttal period, we have been focusing on these beneficial suggestions from the reviewers and doing our best to add several experiments and revise our manuscript. We believe our current carefully revised manuscript can address all the reviewers’ concerns.\n\nAs reviewers highlighted, we believe our paper tackles an important and relevant problem (**Reviewer 4dU2**, **Reviewer ptof**), introducing a novel interesting and perspective idea (**Reviewer CJCu**, **Reviewer ptof**). We also appreciate that the reviewers found the proposed methods reasonable (**Reviewer 4dU2**), intriguing and offers inspiration (**Reviewer CJCu**) with sound theoretical analysis (**Reviewer 4dU2**), as well as solid and convincing experiments (**Reviewer 4dU2**, **Reviewer ptof**).\n\nMoreover, we thank the reviewers for pointing out the concerns regarding the motivation and clarity problems (**Reviewer CJCu**), as well as for the suggestions for investigating both types of kernel functions (**Reviewer CJCu**), the trade-off between effectiveness and efficiency (**Reviewer 4dU2**), and the scalability to the large-scale datasets and modern DL-based recommender systems (**Reviewer ptof**). In response to these comments, we have carefully revised and enhanced our manuscript with the following important changes with the added experiments:\n\n- [Reviewer CJCu] We **highlight our motivation** for carefully selecting the function class for balancing (in Introduction, Section 1).\n- [Reviewer CJCu] We address the clarity issue by **discussing the rationality of the optimization problem** (in Sections 4.2 and 4.4), **adding definitions and examples of kernel functions** (in Section 4.3), **explaining how the proposed approach reduces the generalization bounds** (in Section 4.5), and **adding detailed proofs of theorems and corollaries** (in Appendix A).\n- [Reviewer CJCu] We **add experiments using both Gaussian kernel and exponential kernel** to implement the proposed methods (in Table 1), as well as **clarify the missing kernel hyper-parameters tuning range** (in Section 5).\n- [Reviewer 4dU2] We **add discussions of the relationships and distinctions between our work and prior research** (in the Related Work section).\n- [Reviewer 4dU2] We **add experiments to analyze the trade-off between the effectiveness and the efficiency** of CBDR and ACBDR with detailed analysis (in Table 3, Appendix B).\n- [Reviewer ptof] We **add experiments by taking Neural Collaborative Filtering (NCF) as the base model** on the **Product** dataset with detailed analysis (in Table 2, Appendix B).\n\nThese updates are temporarily highlighted in \"$\\textcolor{red}{red}$\" for facilitating checking.\n\nWe hope our response and revision could address all the reviewers' concerns, and are more than eager to have further discussions with the reviewers in response to these revisions.\n\nThanks,\n\nSubmission9073 Authors.\n\n### Please kindly find our concise and clear rebuttal below for addressing your current concerns\nWe sincerely appreciate the reviewer’s great efforts and insightful comments to improve our manuscript. In below, we address these concerns point by point and try our best to update the manuscript accordingly.\n\n> **[W1] It is advisable to include a discussion of the relationships or distinctions between this work and prior research in the Related Work section.**\n\n**Response:** Thank you for your kind advice. As suggested by the reviewer, **we add a discussion of the relationships and distinctions b [...]\n\n### Please kindly find our concise and clear rebuttal below for addressing your current concerns [References]\n**We hope the above discussion will fully address your concerns about our work.** We look forward to your insightful and constructive responses to further help us improve the quality of our work. Thank you!\n\n***\n**References**\n\n[1] Xiangnan He et al. Neural collaborative filtering. WWW 2017.\n\n[2] Quanyu Dai et al. A generalized doubly robust learning framework for debiasing post-click conversion rate prediction. KDD 2022.\n\n[3] Siyuan Guo et al. Enhanced Doubly Robust Learning for Debia [...]\n\n### Please kindly find our concise and clear rebuttal below for addressing your current concerns [W1, W2, Q1, Q2]\nWe sincerely appreciate the reviewer’s great efforts and insightful comments to improve our manuscript. In below, we address these concerns point by point and try our best to update the manuscript accordingly.\n\n> **[W1 & Q1] How to update the weights for the problems where the number of items and/or the number of users are large?**\n\n**Response:** We thank the reviewer for raising an interesting concern.\n\n- First, **the balancing weights $w_{u, i}$ are parameterized using a deep neu [...]\n\n### Please kindly find our concise and clear rebuttal below for addressing your current concerns [W1-W4]\nWe sincerely appreciate the reviewer’s great efforts and insightful comments to improve our manuscript. In below, we address these concerns point by point and try our best to update the manuscript accordingly.\n\n**1. Motivation**\n\n> **[W1] This paper lacks a sufficient motivation for the importance of carefully selecting the function class for balancing.** The authors do discuss the computational cost associated with choosing numerous balancing functions in Section 3.2. However, the original [...]\n\n### Please kindly find our concise and clear rebuttal below for addressing your current concerns [W5-W8]\n> **[W5] The fourth paragraph in Section 1 references \"the first question\" and \"the second question\", but it is unclear where these questions are presented in the paper.**\n\n**Response:** The reviewer has raised an important point, and **we have carefully \n[rebuttal truncated]",
|
| 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 (spotlight)",
|
| 19 |
+
"rebuttal_validity_ground_truth": true,
|
| 20 |
+
"meta_review": "The paper proposed a a unified kernel-based method to balance functions on the reproducing kernel Hilbert space (RKHS) to mitigate selection bias in Recommender Systems. It provides theoretical analysis and guidance of balancing property under finite samples. Experimental results on three real-world datasets verify the proposed balancing methods.\n\nStrength: reviewers find the idea of employing a linear combination of kernel functions for balancing to address selection bias interesting. The proposed method is supported by theoretical analyses and empirical validation. \nWeakness: several reviewers asked for improved writing, e.g., missing definitions and proofs of theorems and corollaries. The authors were able to address them and convinced the reviewers to raise the rating through rebuttal.",
|
| 21 |
+
"forum_id": "Ffjc8ApSbt",
|
| 22 |
+
"primary_area": "general machine learning (i.e., none of the above)",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_CJCu",
|
| 27 |
+
"review_id": "vj5yJYwDz1",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 6,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 3,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 5075,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 2032125,
|
| 38 |
+
"post_rebuttal_text_signal": true,
|
| 39 |
+
"score_mentions_in_text": [
|
| 40 |
+
{
|
| 41 |
+
"from": 3,
|
| 42 |
+
"to": 6
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"reviewer": "Reviewer_4dU2",
|
| 48 |
+
"review_id": "4j7PtY6LNM",
|
| 49 |
+
"scores": {
|
| 50 |
+
"rating": 6,
|
| 51 |
+
"soundness": 3,
|
| 52 |
+
"presentation": 2,
|
| 53 |
+
"contribution": 3,
|
| 54 |
+
"confidence": 3
|
| 55 |
+
},
|
| 56 |
+
"review_text_chars": 1892,
|
| 57 |
+
"edit_detected": true,
|
| 58 |
+
"edit_delta_seconds": 1081395,
|
| 59 |
+
"post_rebuttal_text_signal": false,
|
| 60 |
+
"score_mentions_in_text": []
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"reviewer": "Reviewer_ptof",
|
| 64 |
+
"review_id": "gzJ4RpWpJx",
|
| 65 |
+
"scores": {
|
| 66 |
+
"rating": 8,
|
| 67 |
+
"soundness": 4,
|
| 68 |
+
"presentation": 3,
|
| 69 |
+
"contribution": 3,
|
| 70 |
+
"confidence": 3
|
| 71 |
+
},
|
| 72 |
+
"review_text_chars": 1683,
|
| 73 |
+
"edit_detected": true,
|
| 74 |
+
"edit_delta_seconds": 1088010,
|
| 75 |
+
"post_rebuttal_text_signal": false,
|
| 76 |
+
"score_mentions_in_text": []
|
| 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_9073.md
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - DEBIASED COLLABORATIVE FILTERING WITH KERNEL BASED CAUSAL BALANCING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Debiased collaborative filtering aims to learn an unbiased prediction model by removing different biases in observational datasets. To solve this problem, one of the simple and effective methods is based on the propensity score, which adjusts the observational sample distribution to the target one by reweighting observed instances. Ideally, propensity scores should be learned with causal balancing constraints. However, existing methods usually ignore such constraints or implement them with unreasonable approximations, which may affect the accuracy of the learned propensity scores. To bridge this gap, in this paper, we first analyze the gaps between the causal balancing requirements and existing methods such as learning the propensity with cross-entropy loss or manually selecting functions to balance. Inspired by these gaps, we propose to approximate the balancing functions in reproducing kernel Hilbert space and demonstrate that, based on the universal property and representer theorem of kernel functions, the causal balancing constraints can be better satisfied. Meanwhile, we propose an algorithm that adaptively balances the kernel function and theoretically analyze the generalization error bound of our methods. We conduct extensive experiments to demonstrate the effectiveness of our methods, and to promote this research direction, we have released our project at [URL removed]
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Collaborative filtering (CF) is the basis for a large number of real-world applications, such as recommender system, social network, and drug repositioning. However, the collected data may contain different types of biases, which poses challenges to effectively learning CF models that can well represent the target sample populations (Marlin and Zemel, 2009). To solve this problem, people have proposed many debiased CF methods, among which propensity-based methods are simple and effective, which adjust the observational sample distribution to the target one by reweighting observed instances. For example, Schnabel et al. (2016) proposes to use the inverse propensity score (IPS) to reweight the observed user-item interactions. The doubly robust (DR) method is another powerful and widely-used propensity-based method for debiasing, which combines an imputation model to reduce the variance and achieve double robustness property, _i.e._ , unbiased either the learned propensity scores or the imputed errors are accurate (Wang et al., 2019).
|
| 14 |
+
|
| 15 |
+
Despite previous propensity-based methods have achieved many promising results, most of them ignore the causal balancing constraints (Imai and Ratkovic, 2014; Li et al., 2018; 2023d), which has been demonstrated to be important and necessary for learning accurate propensities. Specifically, causal balancing requires that the propensity score can effectively pull in the distance between the _·_ observed and unobserved sample for _any_ given function _ϕ_ ( ) (Imai and Ratkovic, 2014), that is
|
| 16 |
+
|
| 17 |
+
**==> picture [230 x 25] intentionally omitted <==**
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
where _xu,i_ is the covariate of user _u_ and item _i_ , _ou,i_ indicates whether the outcome of user _u_ to item _i_ is observed, and _pu,i_ := P( _ou,i_ = 1 _|xu,i_ ) is the propensity score.
|
| 22 |
+
|
| 23 |
+
Existing debiased CF methods usually learn the propensity score based on two strategies: (1) adopting cross-entropy to train _pu,i_ that predicts _ou,i_ using all user-item pairs (Wang et al., 2019), which does not consider the balancing property; (2) using the above causal balancing constraint to learn _pu,i_ with _·_ finite manually selected balancing functions _ϕ_ ( ) (Li et al., 2023e). However, the selected balancing functions may not be a good proxy of all functions, leading to insufficient balancing.
|
| 24 |
+
|
| 25 |
+
To bridge the above gaps, we propose a debiased CF method that can adaptively capture functions that are more in need of being balanced. Specifically, we first analyze the relations between the causal balancing constraints and previous propensity score learning methods, motivating our research from _·_ a novel perspective. Then, to achieve the balancing property for any _ϕ_ ( ), we propose to conduct causal balancing in the reproducing kernel Hilbert space (RKHS), where any continuous function can be approximated based on Gaussian or exponential kernels. Moreover, we design a kernel balancing algorithm to adaptively balance the selected functions and theoretically analyze the generalization error bounds. Note that the proposed kernel balancing method applies to both pure propensity-based and DR-based methods. The main contributions of this paper can be concluded as follows
|
| 26 |
+
|
| 27 |
+
_•_ We theoretically prove the unbiasedness condition of the propensity-based methods from the function balancing perspective, revealing the shortcomings of previous propensity learning methods using cross-entropy and manually specified balancing functions.
|
| 28 |
+
|
| 29 |
+
_•_ We design a novel kernel balancing method that adaptively find the balancing functions that contribute the most to reducing the estimation bias via convex optimization, named adaptive kernel balancing, and derive the corresponding generalization error bounds.
|
| 30 |
+
|
| 31 |
+
_•_ We conduct extensive experiments on three publicly available datasets to demonstrate the effectiveness of the proposed adaptive kernel balancing approach for IPS and DR estimators.
|
| 32 |
+
|
| 33 |
+
## 2 PRELIMINARIES
|
| 34 |
+
|
| 35 |
+
## 2.1 DEBIASED COLLABORATIVE FILTERING
|
| 36 |
+
|
| 37 |
+
Let _U_ and _I_ be the whole user and item sets, respectively. Denote _Uo_ = _{u_ 1 _, . . . , um} ⊆U_ and _Io_ = _{i_ 1 _, . . . , in} ⊆I_ be the observed user and item sets randomly sampled from the superpopulation, and _D_ = _Uo × Io_ = _{_ ( _u, i_ ) _| u ∈Uo, i ∈Io}_ be the corresponding user-item set. For each user-item pair ( _u, i_ ) _∈D_ , we denote _xu,i ∈_ R _[K]_ , _ru,i ∈_ R and _ou,i ∈{_ 0 _,_ 1 _}_ as the user-item features, the rating of user _u_ to item _i_ and whether _ru,i_ is observed in the dataset, respectively. For brevity, denote _O_ = _{_ ( _u, i_ ) _|_ ( _u, i_ ) _∈D, ou,i_ = 1 _}_ as the set of user-item pairs with obseverd _ru,i_ .
|
| 38 |
+
|
| 39 |
+
Let ˆ _ru,i_ = _f_ ( _xu,i_ ; _θr_ ) be the prediction model parameterized by _θr_ , which predicts _ru,i_ according to the features _xu,i_ . To achieve the unbiased learning, it should be trained by minimizing the ideal loss:
|
| 40 |
+
|
| 41 |
+
**==> picture [120 x 29] intentionally omitted <==**
|
| 42 |
+
|
| 43 |
+
where _eu,i_ = _L_ (ˆ _ru,i, ru,i_ ) is the prediction error with _L_ ( _·, ·_ ) be an arbitrary loss function, _e.g._ , mean square loss or cross-entropy loss. However, observing all _ru,i_ is impractical so that _eu,i_ is not computable for _ou,i_ = 0. A naive method for solving this problem is approximating _L_ Ideal( _θr_ ) directly based on the observed samples, that is to minimize the naive loss
|
| 44 |
+
|
| 45 |
+
**==> picture [124 x 28] intentionally omitted <==**
|
| 46 |
+
|
| 47 |
+
However, due to the existence of selection bias, _L_ Naive( _θr_ ) is not unbiased in terms of estimating _L_ Ideal( _θr_ ) (Wang et al., 2019). To further build unbiased estimators, previous studies propose to use propensity score to adjust observed sample weights, and design the IPS loss
|
| 48 |
+
|
| 49 |
+
**==> picture [134 x 28] intentionally omitted <==**
|
| 50 |
+
|
| 51 |
+
2
|
| 52 |
+
|
| 53 |
+
ˆ where _pu,i_ = _π_ ( _xu,i_ ; _θp_ ) is the estimationˆ of propensity score _pu,i_ . It can be demonstrated that _L_ IPS( _θr_ ) is unbiased when _pu,i_ = _pu,i_ (Schnabel et al., 2016; Wang et al., 2019). To further improve the robustness and reduce the variance, researchers extend the IPS method to many DR methods (Wang et al., 2019; 2021; Li et al., 2023b;f) with the DR loss
|
| 54 |
+
|
| 55 |
+
**==> picture [212 x 29] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
where ˆ _eu,i_ = _m_ ( _xu,i_ ; _θe_ ) is the imputed error. The DR estimator is unbiased when all the estimated propensity scores or the imputed errors are accurate. In both the IPS and DR methods, computing the propensity score is of great importance, which directly determines the final debiasing performance.
|
| 58 |
+
|
| 59 |
+
## 2.2 CAUSAL BALANCING
|
| 60 |
+
|
| 61 |
+
In many causal inference studies (Imai and Ratkovic, 2014; Imbens and Rubin, 2015; Rosenbaum, 2020; Sant’Anna et al., 2022), accurately computing the propensity score is quite challenging, since it is hard to specify the propensity model structure and estimate the model parameters. To solve this problem, researchers propose a general strategy to learn the propensity scores without specifying model structure based on the following causal balancing constraints (Imbens and Rubin, 2015)
|
| 62 |
+
|
| 63 |
+
**==> picture [312 x 25] intentionally omitted <==**
|
| 64 |
+
|
| 65 |
+
where _ϕ_ : _X →_ R is a balancing function applied to the covariant. Ideally, this equation should hold for _any_ balancing function. Inspired by such property, a recent work (Li et al., 2023e) proposes to learn the propensity by minimizing the distance between the first and second terms in Equation (1). _·_ However, in this method, the finite balancing functions _ϕ_ ( ) are manually selected ( _e.g._ , the first and second moments), which may not be a good proxy of all functions, leading to insufficient balancing.
|
| 66 |
+
|
| 67 |
+
## 3 CONNECTING CAUSAL BALANCING AND EXISTING PROPENSITY LEARNING
|
| 68 |
+
|
| 69 |
+
In the field of debiased collaborative filtering, there are usually two types of propensity score learning methods: (1) using cross-entropy to train _pu,i_ that predicts _ou,i_ using all user-item pairs; (2) adopting the causal balancing method with a finite number of manually selected balancing functions _ϕ_ ( _·_ ).
|
| 70 |
+
|
| 71 |
+
## 3.1 CROSS-ENTROPY BASED STRATEGY
|
| 72 |
+
|
| 73 |
+
Recall that the propensity model _π_ ( _xu,i_ ; _θp_ ) aims to predict the probability of observing _ru,i_ in the dataset ( _i.e._ , _ou,i_ = 1). The cross-entropy based strategy learns _θp_ based on the following loss
|
| 74 |
+
|
| 75 |
+
**==> picture [308 x 25] intentionally omitted <==**
|
| 76 |
+
|
| 77 |
+
By taking the first derivative of this loss function _w.r.t θp_ , the optimal _π_ ( _xu,i_ ; _θp_ ) should satisfy
|
| 78 |
+
|
| 79 |
+
**==> picture [358 x 29] intentionally omitted <==**
|
| 80 |
+
|
| 81 |
+
By comparing this requirement with the causal balancing constraint in Equation (1), we can see that if we let _ϕ_ ( _xu,i_ ) = _∂π_ ( _xu,i_ ; _θp_ ) _/∂θp_ , then Equation (2) is a special case of Equation (1), which means that the cross-entropy based strategy is not sufficient to achieve causal balancing.
|
| 82 |
+
|
| 83 |
+
## 3.2 CAUSAL BALANCING WITH MANUALLY SPECIFIED BALANCING FUNCTIONS
|
| 84 |
+
|
| 85 |
+
Li et al. (2023e) is a recent work on using causal balancing for debiased collaborative filtering. In this work, the authors first manually select and fix _J_ balancing functions _{h_[(1)] ( _·_ ) _, h_[(2)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ . ˆ Denote _wu,i_ = _g_ ( _xu,i_ ; _θw_ ) be the balancing weight assigned to sample ( _u, i_ ), then the objective
|
| 86 |
+
|
| 87 |
+
3
|
| 88 |
+
|
| 89 |
+
function and constrains of the optimization problem for learning _θw_ is shown below
|
| 90 |
+
|
| 91 |
+
**==> picture [322 x 89] intentionally omitted <==**
|
| 92 |
+
|
| 93 |
+
where the objective aims to effectively avoid extremely small balancing weight via maximizing the entropy (Guiasu and Shenitzer, 1985). The first constraint is the empirical implementation of Equation (1) based on balancing functions _{h_[(1)] ( _·_ ) _, h_[(2)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ and the second constraint imposes normalization regularization on _w_ ˆ _u,i_ . Remarkably, this objective is convex _w.r.t_ . _w_ ˆ _u,i_ , which can be solved by the Lagrange multiplier method. The following Theorem 1 shows the estimation bias depends on the distance between _eu,i_ and _HJ_ = span _{h_[(1)] ( _xu,i_ ) _, . . . , h_[(] _[J]_[)] ( _xu,i_ ) _}_ .
|
| 94 |
+
|
| 95 |
+
**Theorem 1.** _If eu,i ∈HJ_ = span _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}, then the above learned propensities lead to an unbiased ideal loss estimation in term of the IPS method._
|
| 96 |
+
|
| 97 |
+
The balancing functions _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ are manually selected in Li et al. (2023e), which is equivalent to letting _ϕ_ ( _xu,i_ ) = _h_[(] _[j]_[)] ( _xu,i_ ) _, j ∈{_ 1 _, . . . , J}_ in Equation (1). This method improves the cross-entropy based strategy by using more balancing functions. However, the selected balancing functions may not well represent _eu,i_ , that is, _eu,i ∈H/ J_ = span _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ , which may lead to inaccurate balancing weights estimation and biased prediction model learning.
|
| 98 |
+
|
| 99 |
+
## 4 KERNEL-BASED CAUSAL BALANCING
|
| 100 |
+
|
| 101 |
+
4.1 KERNEL FUNCTION, UNIVERSAL PROPERTY, AND REPRESENTER THEOREM
|
| 102 |
+
|
| 103 |
+
To satisfy the causal balancing constraint in Equation (1), we approximate the balancing function with Gaussian and exponential kernels in the reproducing kernel Hilbert space (RKHS). To begin with, we first introduce several basic definitions and properties of the kernel function.
|
| 104 |
+
|
| 105 |
+
**Definition 1** (Kernel function) **.** _Let X be a non-empty set. A function K_ : _X × X →_ R _is a kernel function if there exists a Hilbert space H and a feature map ψ_ : _X →H such that ∀x, x[′] ∈X , K_ ( _x, x[′]_ ) := _⟨ψ_ ( _x_ ) _, ψ_ ( _x[′]_ ) _⟩H ._
|
| 106 |
+
|
| 107 |
+
Gaussian and exponential kernels are two typical kernel functions, which are formulated as follows
|
| 108 |
+
|
| 109 |
+
**==> picture [330 x 31] intentionally omitted <==**
|
| 110 |
+
|
| 111 |
+
**Definition 2** (Universal kernel) **.** _For X compact Hausdorff, a kernel is universal if for any continuous function e_ : _X →_ R _and ϵ >_ 0 _, there exists f ∈H in the corresponding RKHS such that_ sup _x∈X |f_ ( _x_ ) _− e_ ( _x_ ) _| ≤ ϵ._
|
| 112 |
+
|
| 113 |
+
**Lemma 1** (Sriperumbudur et al. (2011)) **.** _Both the Gaussian and exponential kernels are universal._
|
| 114 |
+
|
| 115 |
+
This lemma shows that there is a function in RKHS _H_ = span _{K_ ( _·, x_ ) _| x ∈X}_ that can approach any continuous function when the kernel function _K_ ( _·, x_ ) is chosen as the Gaussian or exponential kernel. However, _H_ might be an infinity dimension space with _|X|_ = _∞_ , which leads to infinity constraints for the optimization problem. The following representer theorem guarantees the optimality of kernel methods under penalized empirical risk minimization and provides a form of the best possible choice of kernel balancing under finite samples.
|
| 116 |
+
|
| 117 |
+
**Lemma 2** (Representer theorem) **.** _If_ Ω= _h_ ( _∥f ∥_ ) _for some increasing function h_ : R+ _→_ R _, then some empirical risk minimizer must admit the form f_ ( _·_ ) =[�] _[n] i_ =1 _[α][i][K]_[(] _[·][, x][i]_[)] _[for][some]_ _**[α]**_[=] ( _α_ 1 _, . . . , αn_ ) _∈_ R _[n] . If h is strictly increasing, all minimizers admit this form._
|
| 118 |
+
|
| 119 |
+
4
|
| 120 |
+
|
| 121 |
+
4.2 WORST-CASE KERNEL BALANCING
|
| 122 |
+
|
| 123 |
+
Next, we propose kernel balancing IPS (KBIPS) and kernel balancing DR (KBDR) for debiased CF
|
| 124 |
+
|
| 125 |
+
**==> picture [315 x 71] intentionally omitted <==**
|
| 126 |
+
|
| 127 |
+
where the balancing weights _w_ ˆ _u,i_ are learned via either the proposed worst-case kernel balancing in the rest of this section or the proposed adaptive kernel balancing method in Section 4.3.
|
| 128 |
+
|
| 129 |
+
For illustration purposes, we use KBIPS as an example, and KBDR can be derived in a similar way[1] . Theorem 1 shows that when the prediction error function _eu,i ∈HJ_ = span _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ and the learned balancing weights can balance those functions _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ , then the above KBIPS estimator leads to the unbiased ideal loss estimation. However, in practice, the prediction error function _eu,i_ could be any continuous function, lying in a much larger hypothesis space than _HJ_ . By Lemma 1, when the kernel function _K_ ( _·, x_ ) is chosen as the Gaussian or exponential kernel, we can assume _eu,i ∈H_ = span _{K_ ( _·, xu,i_ ) _|_ ( _u, i_ ) _∈U × I}_ holds with any approximation error _ϵ_ .
|
| 130 |
+
|
| 131 |
+
Note that the empirical bias of the KBIPS estimator for estimating the ideal loss is
|
| 132 |
+
|
| 133 |
+
**==> picture [364 x 39] intentionally omitted <==**
|
| 134 |
+
|
| 135 |
+
then the worst-case kernel balancing (WKB) method focuses on controlling the worst-case bias of KBIPS by playing the following minimax game
|
| 136 |
+
|
| 137 |
+
**==> picture [397 x 43] intentionally omitted <==**
|
| 138 |
+
|
| 139 |
+
where _H_[˜] = _{e_ ( _·_ ) _∈H_ : _∥e_ ( _·_ ) _∥_[2] _N_[=] _[|D|][−]_[1][ �] ( _u,i_ ) _∈D[e]_[2] _u,i_[=][1] _[}]_[is][the][normalized RKHS.][By][the] representer theorem in Lemma 2, the right-hand side is the same as the following
|
| 140 |
+
|
| 141 |
+
**==> picture [296 x 44] intentionally omitted <==**
|
| 142 |
+
|
| 143 |
+
4.3 ADAPTIVE KERNEL BALANCING
|
| 144 |
+
|
| 145 |
+
There are _|D|_ kernel functions in the above objective. Since there are usually a large number of users and items in the recommender systems, _|D|_ is quite large, which makes it infeasible to balance all kernel functions. To solve this problem, a straightforward method is to randomly select _J_ functions from span _{K_ ( _·, xu,i_ ) _|_ ( _u, i_ ) _∈D}_ to balance, named random kernel balancing (RKB). However, this method regards all kernel functions as equally important, which harms the debiasing performance.
|
| 146 |
+
|
| 147 |
+
To overcome the shortcomings of the WKB and RKB methods, we propose a novel adaptive kernel balancing (AKB) method that can adaptively select which kernel functions to balance. Given current prediction model _f_ ( _xu,i_ ; _θr_ ), we first fit _eu,i_ using the kernel functions in RKHS
|
| 148 |
+
|
| 149 |
+
**==> picture [357 x 39] intentionally omitted <==**
|
| 150 |
+
|
| 151 |
+
> 1For KBDR, it requires that _eu,i − e_ ˆ _u,i ∈HJ_ = span _{h_ (1)( _·_ ) _, . . . , h_ ( _J_ )( _·_ ) _}_ . Same as the follows, _e.g._ ,
|
| 152 |
+
|
| 153 |
+
( _α_ 1 _,_ 1 _, . . . , αm,n_ ) should minimize the mean squared error between _eu,i − e_ ˆ _u,i_ and[�] ( _s,t_ ) _∈D[α][s,t][K]_[(] _[x][u,i][, x][s,t]_[)][.]
|
| 154 |
+
|
| 155 |
+
5
|
| 156 |
+
|
| 157 |
+
then balance the _J_ functions with maximal _|αs,t|_ , where _J_ is a hyper-parameter. This method aims to balance the kernel functions that contribute most to _eu,i_ , which leads to the following optimization
|
| 158 |
+
|
| 159 |
+
**==> picture [353 x 142] intentionally omitted <==**
|
| 160 |
+
|
| 161 |
+
The above optimization problem is equivalent to the following
|
| 162 |
+
|
| 163 |
+
where
|
| 164 |
+
|
| 165 |
+
**==> picture [356 x 78] intentionally omitted <==**
|
| 166 |
+
|
| 167 |
+
Since achieving strict balancing constraints on all balancing functions is usually infeasible as _J_ increases, we introduce a slack variable _ξj_ and a pre-specified threshold _C_ , which penalizes the loss when the deviation _|τ_ ˆ _[j] | > C_ .
|
| 168 |
+
|
| 169 |
+
## 4.4 LEARNING ALGORITHM AND GENERALIZATION ERROR BOUNDS
|
| 170 |
+
|
| 171 |
+
Taking the AKBDR method as an example, because the balancing weights _w_ ˆ _u,i_ and prediction errors _eu,i_ are relying on each other,ˆ thus we adopt a widely used joint learning framework to train theˆ prediction model _ru,i_ = _f_ ( _xu,i_ ; _θr_ ), balancing weight model _wu,i_ = _g_ ( _xu,i_ ; _θw_ ), and imputation model ˆ _eu,i_ = _m_ ( _xu,i_ ; _θe_ ) alternatively. Specifically, we train the prediction model by minimizing the _L_ KBDR( _θr_ ) loss shown in Equation 3, train the balancing weight model by minimizing the _L_ w( _θw_ ) in Equation 5, and train the imputation model by minimizing the loss function _L_ e( _θe_ ) below
|
| 172 |
+
|
| 173 |
+
**==> picture [288 x 29] intentionally omitted <==**
|
| 174 |
+
|
| 175 |
+
and the whole procedure of the proposed joint learning process is summarized in Alg. 1.
|
| 176 |
+
|
| 177 |
+
Next, we analyze the generalization bound of the KBIPS and KBDR methods.
|
| 178 |
+
|
| 179 |
+
**Theorem 2** (Generalization Bounds in RKHS) **.** _Let K be a bounded kernel,_ sup _x_ ~~�~~ _K_ ( _x, x_ ) = _B < ∞, and BK_ ( _M_ ) = _{f ∈F | ∥f ∥F ≤ M } is the corresponding kernel-based hypotheses space._ ˆ _Suppose wu,i ≤ C, δ_ ( _r, ·_ ) _is L-Lipschitz continuous for all r, and that E_ 0 := sup _r δ_ ( _r,_ 0) _< ∞. Then with probability at least_ 1 _− η, we have_
|
| 180 |
+
|
| 181 |
+
**==> picture [423 x 71] intentionally omitted <==**
|
| 182 |
+
|
| 183 |
+
Remarkably, the above generalization bounds in RKHS can be greatly reduced by adopting the proposed KBIPS and KBDR learning methods, because the prediction model minimizes the debiased losses _L_ KBIPS( _θr_ ) and _L_ KBDR( _θr_ ) during the model training phase, and Bias( _L_ KBIPS( _θr_ )) and Bias( _L_ KBDR( _θr_ )) can also be controlled via WKB or AKB methods.
|
| 184 |
+
|
| 185 |
+
6
|
| 186 |
+
|
| 187 |
+
**Algorithm 1:** The Proposed Adaptive KBDR (AKBDR) Learning Algorithm
|
| 188 |
+
|
| 189 |
+
||**Algorithm 1:**The Proposed Adaptive KBDR (AKBDR) LearningAlgorithm|
|
| 190 |
+
|---|---|
|
| 191 |
+
||**Input:** observed ratings**Y**_o_, and number of balancing functions_J_.|
|
| 192 |
+
|**1 **|**while**_stopping criteria is not satisfed_**do**|
|
| 193 |
+
|**2**|**for**_number of steps for training the imputation model_**do**|
|
| 194 |
+
|**3**|Sample a batch of user-item pairs_{_(_ul, il_)_}L_<br>_l_=1 from_O_;|
|
| 195 |
+
|**4**|Update_θe_ by descending along the gradient_∇θeL_e(_θe_);|
|
| 196 |
+
|**5**|**end**|
|
| 197 |
+
|**6**|**for**_number of steps for training the balancing weight model_**do**|
|
| 198 |
+
|**7**|Sample a batch of user-item pairs_{_(_um, im_)_}M_<br>_m_=1 from_D_;|
|
| 199 |
+
|**8**|Solve the Equation 4 and select_J_ functions_h_(_xum,im_)with maximum_|αum,im|_;|
|
| 200 |
+
|**9**|Update_θw_ by descending along the gradient_∇θwL_w(_θw_);|
|
| 201 |
+
|**10**|**end**|
|
| 202 |
+
|**11**|**for**_number of steps for training the prediction model_**do**|
|
| 203 |
+
|**12**|Sample a batch of user-item pairs_{_(_un, in_)_}N_<br>_n_=1 from_D_;|
|
| 204 |
+
|**13**|Update_θr_ by descending along the gradient_∇θrL_KBDR(_θr_);|
|
| 205 |
+
|**14**|**end**|
|
| 206 |
+
|**15 **|**end**|
|
| 207 |
+
|
| 208 |
+
## 5 RELATED WORK
|
| 209 |
+
|
| 210 |
+
**Debiased Collaborative Filtering.** Collaborative filtering (CF) plays an important role in today’s digital and informative world (Chen et al., 2018; Huang et al., 2023; Lv et al., 2023; 2024). However, the collected data is observational rather than experimental, leading to various biases in the data, which seriously affects the quality of the learned model. One of the most important biases is the selection bias, which causes the distribution of the training data to be different from the distribution of the test data, thus making it challenging to achieve unbiased estimation and learning (Wang et al., 2022b; 2023b; Zou et al., 2023; Wang et al., 2023a; 2024). If we learn the model directly on the training data without debiasing, it will harm the prediction performance on the test data (Wang et al., 2023c; Zhang et al., 2023; Bai et al., 2024; Zhang et al., 2024). Many previous methods are proposed to mitigate the selection bias problem (Schnabel et al., 2016; Wang et al., 2019; Chen et al., 2021; Li et al., 2023c). The error-imputation-based (EIB) methods attempt to impute the missing events, and then train a CF model on both observed and imputed data (Chang et al., 2010; Steck, 2010; Hernández-Lobato et al., 2014). Another common type of debiasing method is propensity-based, including inverse propensity scoring (IPS) methods (Imbens and Rubin, 2015; Schnabel et al., 2016; Saito et al., 2020; Luo et al., 2021; Oosterhuis, 2022), and doubly robust (DR) methods (Morgan and Winship, 2015; Wang et al., 2019; Saito, 2020). Specifically, IPS adjusts the distribution by reweighting the observed events, while DR combines the EIB and IPS methods, which takes advantage of both, _i.e._ , has lower variance and bias. Based on the above advantages, many competing DR-based methods are proposed, such as MRDR (Guo et al., 2021), DR-BIAS (Dai et al., 2022), ESCM[2] -DR (Wang et al., 2022a), TDR (Li et al., 2023b), SDR (Li et al., 2023f), and N-DR (Li et al., 2024). Given the widespread of the propensity model, Li et al. (2023d) proposed a method to train balancing weights with a few unbiased ratings for debiasing. More recently, Li et al. (2023e) proposed a propensity balancing measurement to regularize the IPS and DR estimators. In this paper, we extend the above idea by proposing novel kernel-based balancing IPS and DR estimators that adaptively find the balancing functions that contribute the most to reducing the estimation bias.
|
| 211 |
+
|
| 212 |
+
**Covariate Balancing in Causal Inference.** Balancing refers to aligning the distribution of covariates in the treatment and control groups, which is crucial to the estimation of causal effects based on observational datasets (Stuart, 2010; Imbens and Rubin, 2015). This is because balancing ensures that units receiving different treatments are comparable directly, and the association becomes causation under the unconfoundedness assumption (Imai and Ratkovic, 2014; Hernán and Robins, 2020). In randomized controlled experiments, balancing is naturally maintained due to the complete random assignment of treatments. However, in observational studies, treatment groups typically exhibit systematic differences in covariates, which can result in a lack of balance. To obtain accurate estimates of causal effects in observational studies, a wide variety of methods have emerged for balancing the finite order moments of covariates, including matching (Rosenbaum and Rubin, 1983; Stuart, 2010;
|
| 213 |
+
|
| 214 |
+
7
|
| 215 |
+
|
| 216 |
+
Table 1: Performance on AUC, NDCG@ _K_ , and F1@ _K_ on COAT, MUSIC and PRODUCT. The best two results are bolded and the best baseline result is underlined for IPS-based and DR-based methods.
|
| 217 |
+
|
| 218 |
+
||COAT||MUSIC||PRODUCT|
|
| 219 |
+
|---|---|---|---|---|---|
|
| 220 |
+
|Method|AUC<br>NDCG@5|F1@5|AUC<br>NDCG@5|F1@5|AUC<br>NDCG@20<br>F1@20|
|
| 221 |
+
|MF<br>+ IPS<br>+ SNIPS<br>+ ASIPS<br>+ IPS-V2<br>+ RKBIPS-Exp<br>+ RKBIPS-Gau<br>+ WKBIPS-Exp<br>+ WKBIPS-Gau<br>+ AKBIPS-Exp<br>+ AKBIPS-Gau|0.703_±_0_._006<br>0.605_±_0_._012<br>0.717_±_0_._007<br>0.617_±_0_._009<br>0.714_±_0_._012<br>0.614_±_0_._012<br>0.719_±_0_._009<br>0.618_±_0_._012<br>0.726<br>_±_0_._005<br>0.627<br>_±_0_._009<br>0.714_±_0_._003<br>0.618_±_0_._010<br>0.715_±_0_._005<br>0.619_±_0_._010<br>0.723_±_0_._004<br>0.624_±_0_._009<br>0.722_±_0_._004<br>0.625_±_0_._008<br>**0.732**_∗_<br>_±_0_._004<br>**0.636**_∗_<br>_±_0_._006<br>**0.730**_∗_<br>_±_0_._003<br>**0.633**_±_0_._008|0.467_±_0_._007<br>0.473_±_0_._008<br>0.474_±_0_._009<br>0.476_±_0_._009<br>0.479<br>_±_0_._008<br>0.474_±_0_._007<br>0.475_±_0_._008<br>0.480_±_0_._007<br>0.479_±_0_._007<br>**0.483**_±_0_._006<br>**0.484**_±_0_._007|0.673_±_0_._001<br>0.635_±_0_._002<br>0.678_±_0_._001<br>0.638_±_0_._002<br>0.683_±_0_._002<br>0.639_±_0_._002<br>0.679_±_0_._003<br>0.640_±_0_._003<br>0.685<br>_±_0_._002<br>0.646<br>_±_0_._003<br>0.676_±_0_._002<br>0.642_±_0_._003<br>0.678_±_0_._001<br>0.640_±_0_._004<br>0.687_±_0_._002<br>0.654_±_0_._002<br>0.686_±_0_._002<br>0.650_±_0_._002<br>**0.689**_∗_<br>_±_0_._001<br>**0.658**_∗_<br>_±_0_._002<br>**0.688**_∗_<br>_±_0_._003<br>**0.655**_∗_<br>_±_0_._003|0.306_±_0_._002<br>0.318_±_0_._002<br>0.316_±_0_._002<br>0.319_±_0_._003<br>0.320<br>_±_0_._002<br>0.318_±_0_._002<br>0.315_±_0_._003<br>0.322_±_0_._002<br>0.321_±_0_._002<br>**0.324**_∗_<br>_±_0_._002<br>**0.324**_∗_<br>_±_0_._002|0.753_±_0_._001<br>0.449_±_0_._002<br>0.124_±_0_._002<br>0.755_±_0_._004<br>0.452_±_0_._010<br>0.131_±_0_._004<br>0.754_±_0_._003<br>0.453_±_0_._004<br>0.126_±_0_._003<br>0.757_±_0_._005<br>0.474_±_0_._007<br>0.130_±_0_._005<br>0.764<br>_±_0_._001<br>0.476<br>_±_0_._003<br>0.135<br>_±_0_._003<br>0.763_±_0_._001<br>0.463_±_0_._007<br>0.134_±_0_._002<br>0.760_±_0_._003<br>0.470_±_0_._008<br>0.133_±_0_._003<br>0.765_±_0_._003<br>0.475_±_0_._007<br>0.138_±_0_._003<br>0.763_±_0_._003<br>0.476_±_0_._007<br>0.137_±_0_._003<br>**0.766**_∗_<br>_±_0_._003<br>**0.478**_±_0_._009<br>**0.138**_∗_<br>_±_0_._003<br>**0.767**_∗_<br>_±_0_._003<br>**0.480**_±_0_._009<br>**0.139**_∗_<br>_±_0_._003|
|
| 222 |
+
|+ DR<br>+ DR-JL<br>+ MRDR-JL<br>+ DR-BIAS<br>+ DR-MSE<br>+ MR<br>+ TDR<br>+ TDR-JL<br>+ SDR<br>+ DR-V2<br>+ RKBDR-Exp<br>+ RKBDR-Gau<br>+ WKBDR-Exp<br>+ WKBDR-Gau<br>+ AKBDR-Exp<br>+ AKBDR-Gau|0.718_±_0_._008<br>0.623_±_0_._009<br>0.723_±_0_._005<br>0.629_±_0_._007<br>0.727_±_0_._005<br>0.627_±_0_._008<br>0.726_±_0_._004<br>0.629_±_0_._009<br>0.727_±_0_._007<br>0.631_±_0_._008<br>0.724_±_0_._004<br>0.636_±_0_._006<br>0.714_±_0_._006<br>0.634_±_0_._011<br>0.731_±_0_._005<br>0.639_±_0_._007<br>0.735<br>_±_0_._005<br>0.640<br>_±_0_._007<br>0.734_±_0_._007<br>0.639_±_0_._009<br>0.730_±_0_._003<br>0.631_±_0_._005<br>0.726_±_0_._005<br>0.630_±_0_._008<br>0.735_±_0_._005<br>0.637_±_0_._009<br>0.732_±_0_._003<br>0.638_±_0_._007<br>**0.745**_∗_<br>_±_0_._004<br>**0.645**_±_0_._008<br>**0.746**_∗_<br>_±_0_._004<br>**0.646**_∗_<br>_±_0_._008|0.474_±_0_._007<br>0.479_±_0_._005<br>0.480_±_0_._008<br>0.482_±_0_._007<br>0.484_±_0_._007<br>0.481_±_0_._006<br>0.483_±_0_._008<br>0.484_±_0_._007<br>0.484_±_0_._006<br>0.487<br>_±_0_._006<br>0.482_±_0_._006<br>0.480_±_0_._008<br>0.483_±_0_._006<br>0.483_±_0_._005<br>**0.493**_∗_<br>_±_0_._007<br>**0.492**_±_0_._007|0.684_±_0_._002<br>0.658_±_0_._003<br>0.685_±_0_._002<br>0.653_±_0_._002<br>0.684_±_0_._002<br>0.652_±_0_._003<br>0.685_±_0_._002<br>0.653_±_0_._002<br>0.687_±_0_._002<br>0.657_±_0_._003<br>0.691<br>_±_0_._002<br>0.647_±_0_._002<br>0.688_±_0_._003<br>**0.662**<br>_±_0_._002<br>0.689_±_0_._002<br>0.656_±_0_._004<br>0.688_±_0_._002<br>0.661_±_0_._003<br>0.690_±_0_._002<br>0.660_±_0_._005<br>0.682_±_0_._002<br>0.648_±_0_._003<br>0.683_±_0_._002<br>0.652_±_0_._003<br>0.685_±_0_._003<br>0.654_±_0_._003<br>0.687_±_0_._001<br>0.655_±_0_._002<br>**0.692**_±_0_._002<br>0.661_±_0_._002<br>**0.694**_∗_<br>_±_0_._002<br>**0.664**_∗_<br>_±_0_._002|0.326_±_0_._002<br>0.324_±_0_._002<br>0.325_±_0_._002<br>0.325_±_0_._003<br>0.327_±_0_._003<br>0.316_±_0_._003<br>**0.329**<br>_±_0_._002<br>0.327_±_0_._003<br>**0.329**<br>_±_0_._002<br>0.328_±_0_._002<br>0.323_±_0_._002<br>0.325_±_0_._002<br>0.325_±_0_._002<br>0.327_±_0_._002<br>0.328_±_0_._002<br>**0.332**_∗_<br>_±_0_._002|0.755_±_0_._008<br>0.462_±_0_._010<br>0.135_±_0_._005<br>0.766_±_0_._002<br>0.467_±_0_._005<br>0.136_±_0_._003<br>0.768_±_0_._005<br>0.473_±_0_._007<br>0.139_±_0_._004<br>0.768_±_0_._003<br>0.477_±_0_._006<br>0.137_±_0_._004<br>0.770_±_0_._003<br>0.480_±_0_._006<br>0.140_±_0_._003<br>0.776<br>_±_0_._005<br>0.483_±_0_._006<br>0.142_±_0_._003<br>0.772_±_0_._003<br>0.486_±_0_._005<br>0.140_±_0_._003<br>0.772_±_0_._003<br>0.489_±_0_._005<br>0.142_±_0_._003<br>0.773_±_0_._001<br>0.491<br>_±_0_._003<br>0.143<br>_±_0_._003<br>0.773_±_0_._003<br>0.488_±_0_._006<br>0.142_±_0_._004<br>0.765_±_0_._004<br>0.460_±_0_._006<br>0.138_±_0_._003<br>0.766_±_0_._003<br>0.469_±_0_._007<br>0.134_±_0_._004<br>0.773_±_0_._003<br>0.489_±_0_._008<br>0.142_±_0_._003<br>0.773_±_0_._002<br>0.490_±_0_._005<br>0.142_±_0_._004<br>**0.782**_∗_<br>_±_0_._003<br>**0.498**_∗_<br>_±_0_._008<br>**0.147**_∗_<br>_±_0_._003<br>**0.782**_∗_<br>_±_0_._005<br>**0.503**_∗_<br>_±_0_._006<br>**0.148**_∗_<br>_±_0_._004|
|
| 223 |
+
|Note: * means statistically signifcant res||ults (p-value _≤_0_._05) using the paired-t-test compared with the best baseline method.||||
|
| 224 |
+
|
| 225 |
+
Wu et al., 2020), stratification (Hernán and Robins, 2020), entropy balancing (Hainmueller, 2012; Zhao and Percival, 2017), covariate balancing (Imai and Ratkovic, 2014), and weighted euclidean balancing (Chen and Zhou, 2023). In recent years, several approaches are developed balancing infinite order moments of covariates (Sant’Anna et al., 2022) or the covariates distributions (Wong and Chan, 2018). However, it is unrealistic to balance infinite order moments with only finite samples, therefore in this paper we propose a novel balancing method that adaptively finds the balancing functions in RKHS that are most important for achieving unbiased learning.
|
| 226 |
+
|
| 227 |
+
## 6 EXPERIMENTS
|
| 228 |
+
|
| 229 |
+
**Datasets and Experimental Details.** Following the previous studies (Wang et al., 2019; Chen et al., 2021; Wang et al., 2021; Li et al., 2023b), we conduct real-world experiments on three widely used benchmark datasets: COAT, MUSIC, and a large-scale industrial dataset PRODUCT. The COAT dataset consists of 6,960 biased ratings and 4,640 unbiased ratings evaluated by 290 users to 300 items. The MUSIC dataset consists of 311,704 biased ratings and 54,000 unbiased ratings evaluated by 15,400 users to 1,000 items. The PRODUCT dataset consists of 4,676,570 records of video watching ratios from 1,411 users to 3,327 items and is almost fully exposed. Both COAT and MUSIC are five-scale datasets, and we binarize the ratings less than three as 0, otherwise as 1. For the PRODUCT dataset, we binarize the video watching ratios less than two as 0, otherwise as 1. We adopt three widely used evaluation metrics: AUC, NDCG@ _K_ , and F1@ _K_ to measure the debiasing performance. We set _K_ = 5 for COAT and MUSIC and _K_ = 20 for PRODUCT. We use Adam as the optimizer and tune the learning rate in _{_ 0 _._ 01 _,_ 0 _._ 03 _,_ 0 _._ 05 _,_ 0 _._ 1 _}_ , weight decay in [1 _e −_ 6 _,_ 5 _e −_ 3], margin threshold _C_ in _{_ 1 _e −_ 6 _,_ 5 _e −_ 5 _,_ 1 _e −_ 5 _, . . . ,_ 1 _}_ , kernel hyper-parameter _σ_[2] in _{_ 0 _._ 5 _,_ 1 _,_ 5 _}_ for both Gaussian and exponential kernels, and regularization hyper-parameter _γ_ in _{_ 1 _,_ 2 _,_ 5 _,_ 10 _,_ 20 _,_ 50 _}_ . We set the batch size to 128 on COAT and 2,048 on MUSIC and PRODUCT.
|
| 230 |
+
|
| 231 |
+
**Baselines.** We implement our proposed RKB, WKB, and AKB methods with both Gaussian and exponential kernels by taking **MF** (Koren et al., 2009) as the base model. We compare our methods with the following IPS-based baselines: **IPS** (Schnabel et al., 2016), **SNIPS** (Schnabel et al., 2016), **ASIPS** (Saito, 2020), and **IPS-V2** (Li et al., 2023e). Meanwhile, we also compare our methods with the following DR-based baselines: **DR** (Saito, 2020), **DR-JL** (Wang et al., 2019), **MRDR** (Guo et al., 2021), **DR-BIAS** (Dai et al., 2022), **DR-MSE** (Dai et al., 2022), **MR** (Li et al., 2023a), **TDR** (Li et al., 2023b), **TDR-JL** (Li et al., 2023b), **StableDR** (Li et al., 2023f), and **DR-V2** (Li et al., 2023e).
|
| 232 |
+
|
| 233 |
+
8
|
| 234 |
+
|
| 235 |
+
**==> picture [392 x 219] intentionally omitted <==**
|
| 236 |
+
|
| 237 |
+
**----- Start of picture text -----**<br>
|
| 238 |
+
MBIPS WKBIPS MBIPS WKBIPS MBDR WKBDR MBDR WKBDR<br>RKBIPS AKBIPS RKBIPS AKBIPS RKBDR AKBDR RKBDR AKBDR<br>0.77 0.49 0.79 0.52<br>0.48 0.78 0.50<br>0.47<br>0.76 0.77 0.48<br>0.46<br>0.76<br>0.45 0.46<br>0.75 1 2 3 4 5 1 2 3 4 5 0.75 1 2 3 4 5 1 2 3 4 5<br>J: Number of balancing functions J: Number of balancing functions J: Number of balancing functions J: Number of balancing functions<br>(a) AUC with IPS (b) NDCG@20 with IPS (c) AUC with DR (d) NDCG@20 with DR<br>Figure 1: Effects of the value of J on AUC and NDCG@20 on the PRODUCT dataset.<br>IPS AKBIPS IPS AKBIPS IPS AKBIPS IPS AKBIPS<br>DR-JL AKBDR DR-JL AKBDR DR-JL AKBDR DR-JL AKBDR<br>0.70 0.67 0.79 0.52<br>0.66 0.78 0.50<br>0.69<br>0.77 0.48<br>0.65<br>0.76 0.46<br>0.68 0.64<br>0.75 0.44<br>1 2 5 10 20 1 2 5 10 20 1 2 5 10 20 1 2 5 10 20<br>: Regularization strength : Regularization strength : Regularization strength : Regularization strength<br>(a) AUC on Music (b) NDCG@5 on Music (c) AUC on Product (d) NDCG@20 on Product<br>AUC AUC<br>NDCG@20 NDCG@20<br>AUC AUC<br>NDCG@5 NDCG@20<br>**----- End of picture text -----**<br>
|
| 239 |
+
|
| 240 |
+
Figure 2: Effects of hyper-parameter _γ_ on AUC and NDCG@ _K_ on MUSIC and PRODUCT datasets.
|
| 241 |
+
|
| 242 |
+
**Performance Comparison.** We compare the proposed methods with previous methods, as shown in Table 1. First, all the debiasing methods outperform MF, and AKBDR achieves the optimal performance on all three datasets with either Gaussian or exponential kernels. Second, methods with balancing properties such as IPS-V2 and DR-V2 achieve competitive performance, which demonstrates the importance of propensity balancing. Third, for our methods, RKB methods perform the worst due to the insufficient balancing caused by random selected functions, while AKB methods perform the best due to the most important kernel functions are adaptively found and balanced.
|
| 243 |
+
|
| 244 |
+
**In-Depth Analysis.** We further explore the impact of the value of _J_ on the debiasing performance of kernel balancing methods on the PRODUCT dataset. We also implement the moment balancing (MB) methods which balance the first _J_ -th order moments for comparison and the results are shown in Figure 1. We find the performance for all methods except WKB increases monotonically as the value of _J_ increases because more functions or moments being balanced leads to less bias. Since the WKB methods focus on controlling the worst-case, the performance does not change for different _J_ and shows competitive performance with AKB methods when _J_ is small ( _e.g._ , _J_ = 1). In addition, kernel balancing methods stably outperform moment balancing methods with varying values of _J_ even if the balancing functions are selected randomly, validating the effectiveness of kernel balancing.
|
| 245 |
+
|
| 246 |
+
**Sensitivity Analysis.** To explore the effect of balancing regularization hyper-parameter _γ_ on debiasing performance, we conduct sensitivity analysis on AKB methods with varying _γ_ in {1, 2, 5, 10, 20} on the MUSIC and PRODUCT datasets, as shown in Figure 2. The AKB methods consistently outperform the baseline methods under different regularization strengths. Specifically, even when the balancing constraint strength is small, the AKB method can still get significant performance gains, and the optimal performance is achieved around the moderate _γ_ ( _e.g._ , 5 or 10).
|
| 247 |
+
|
| 248 |
+
## 7 CONCLUSION
|
| 249 |
+
|
| 250 |
+
In the information-driven landscape, collaborative filtering is pivotal for various e-commerce platforms. However, selection bias in the collected data poses a great challenge for collaborative filtering model training. To mitigate this issue, this paper theoretically reveal that previous debiased collaborative filtering approaches are restricted to balancing finite-dimensional pre-specified functions of features. To fill the gap, we first develop two new estimators, KBIPS and KBDR, which extend the widely-used IPS and DR estimators in debiased collaborative filtering. Then we propose a universal kernel-based balancing method that adaptively achieves balance for the selected functions in an RKHS. Based on it, we further propose an adaptive kernel balancing method. Theoretical analysis demonstrates that the proposed balancing method reduces both estimation bias and the generalization bound. Extensive experiments on real-world datasets validate the effectiveness of our methods.
|
| 251 |
+
|
| 252 |
+
9
|
| 253 |
+
|
| 254 |
+
## REFERENCES
|
| 255 |
+
|
| 256 |
+
Shuanghao Bai, Min Zhang, Wanqi Zhou, Siteng Huang, Zhirong Luan, Donglin Wang, and Badong Chen. Prompt-based distribution alignment for unsupervised domain adaptation. In _AAAI_ , 2024.
|
| 257 |
+
|
| 258 |
+
- Yin-Wen Chang, Cho-Jui Hsieh, Kai-Wei Chang, Michael Ringgaard, and Chih-Jen Lin. Training and testing low-degree polynomial data mappings via linear svm. _Journal of Machine Learning Research_ , 11(4), 2010.
|
| 259 |
+
|
| 260 |
+
Jiawei Chen, Can Wang, Martin Ester, Qihao Shi, Yan Feng, and Chun Chen. Social recommendation with missing not at random data. In _ICDM_ , 2018.
|
| 261 |
+
|
| 262 |
+
Jiawei Chen, Hande Dong, Yang Qiu, Xiangnan He, Xin Xin, Liang Chen, Guli Lin, and Keping Yang. Autodebias: Learning to debias for recommendation. In _SIGIR_ , 2021.
|
| 263 |
+
|
| 264 |
+
Juan Chen and Yingchun Zhou. Weighted euclidean balancing for a matrix exposure in estimating causal effect. _arxiv.org/abs/2303.06812_ , 2023.
|
| 265 |
+
|
| 266 |
+
- Quanyu Dai, Haoxuan Li, Peng Wu, Zhenhua Dong, Xiao-Hua Zhou, Rui Zhang, Xiuqiang He, Rui Zhang, and Jie Sun. A generalized doubly robust learning framework for debiasing post-click conversion rate prediction. In _KDD_ , 2022.
|
| 267 |
+
|
| 268 |
+
Silviu Guiasu and Abe Shenitzer. The principle of maximum entropy. _The Mathematical Intelligencer_ , 7:42–48, 1985.
|
| 269 |
+
|
| 270 |
+
- Siyuan Guo, Lixin Zou, Yiding Liu, Wenwen Ye, Suqi Cheng, Shuaiqiang Wang, Hechang Chen, Dawei Yin, and Yi Chang. Enhanced doubly robust learning for debiasing post-click conversion rate estimation. In _SIGIR_ , 2021.
|
| 271 |
+
|
| 272 |
+
- Jens Hainmueller. Entropy balancing for causal effects: A multivariate reweighting method to produce balanced samples in observational studies. _Political Analysis_ , 20:25–46, 2012.
|
| 273 |
+
|
| 274 |
+
Miguel A. Hernán and James M. Robins. _Causal Inference: What If_ . Boca Raton: Chapman and Hall/CRC, 2020.
|
| 275 |
+
|
| 276 |
+
José Miguel Hernández-Lobato, Neil Houlsby, and Zoubin Ghahramani. Probabilistic matrix factorization with non-random missing data. In _ICML_ , 2014.
|
| 277 |
+
|
| 278 |
+
Shanshan Huang, Haoxuan Li, Qingsong Li, Chunyuan Zheng, and Li Liu. Pareto invariant representation learning for multimedia recommendation. In _ACM-MM_ , 2023.
|
| 279 |
+
|
| 280 |
+
Kosuke Imai and Marc Ratkovic. Covariate balancing propensity score. _Journal of the Royal Statistical Society (Series B)_ , 76(1):243–263, 2014.
|
| 281 |
+
|
| 282 |
+
- Guido W. Imbens and Donald B. Rubin. _Causal Inference For Statistics Social and Biomedical Science_ . Cambridge University Press, 2015.
|
| 283 |
+
|
| 284 |
+
Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. _Computer_ , 42(8):30–37, 2009.
|
| 285 |
+
|
| 286 |
+
Fan Li, Kari Lock Morgan, and Alan M Zaslavsky. Balancing covariates via propensity score weighting. _Journal of the American Statistical Association_ , 2018.
|
| 287 |
+
|
| 288 |
+
Haoxuan Li, Quanyu Dai, Yuru Li, Yan Lyu, Zhenhua Dong, Xiao-Hua Zhou, and Peng Wu. Multiple robust learning for recommendation. In _AAAI_ , 2023a.
|
| 289 |
+
|
| 290 |
+
Haoxuan Li, Yan Lyu, Chunyuan Zheng, and Peng Wu. TDR-CL: Targeted doubly robust collaborative learning for debiased recommendations. In _ICLR_ , 2023b.
|
| 291 |
+
|
| 292 |
+
10
|
| 293 |
+
|
| 294 |
+
Haoxuan Li, Kunhan Wu, Chunyuan Zheng, Yanghao Xiao, Hao Wang, Zhi Geng, Fuli Feng, Xiangnan He, and Peng Wu. Removing hidden confounding in recommendation: A unified multi-task learning approach. In _NeurIPS_ , 2023c.
|
| 295 |
+
|
| 296 |
+
- Haoxuan Li, Yanghao Xiao, Chunyuan Zheng, and Peng Wu. Balancing unobserved confounding with a few unbiased ratings in debiased recommendations. In _WWW_ , 2023d.
|
| 297 |
+
|
| 298 |
+
- Haoxuan Li, Yanghao Xiao, Chunyuan Zheng, Peng Wu, and Peng Cui. Propensity matters: Measuring and enhancing balancing for recommendation. In _ICML_ , 2023e.
|
| 299 |
+
|
| 300 |
+
- Haoxuan Li, Chunyuan Zheng, and Peng Wu. StableDR: Stabilized doubly robust learning for recommendation on data missing not at random. In _ICLR_ , 2023f.
|
| 301 |
+
|
| 302 |
+
- Haoxuan Li, Chunyuan Zheng, Sihao Ding, Peng Wu, Zhi Geng, Fuli Feng, and Xiangnan He. Be aware of the neighborhood effect: Modeling selection bias under interference for recommendation. In _ICLR_ , 2024.
|
| 303 |
+
|
| 304 |
+
- Jinwei Luo, Dugang Liu, Weike Pan, and Zhong Ming. Unbiased recommendation model based on improved propensity score estimation. _Journal of Computer Applications_ , 2021.
|
| 305 |
+
|
| 306 |
+
- Zheqi Lv, Wenqiao Zhang, Shengyu Zhang, Kun Kuang, Feng Wang, Yongwei Wang, Zhengyu Chen, Tao Shen, Hongxia Yang, Beng Chin Ooi, et al. Duet: A tuning-free device-cloud collaborative parameters generation framework for efficient device model generalization. In _WWW_ , 2023.
|
| 307 |
+
|
| 308 |
+
- Zheqi Lv, Wenqiao Zhang, Zhengyu Chen, Shengyu Zhang, and Kun Kuang. Intelligent model update strategy for sequential recommendation. In _WWW_ , 2024.
|
| 309 |
+
|
| 310 |
+
- Benjamin M Marlin and Richard S Zemel. Collaborative prediction and ranking with non-random missing data. In _RecSys_ , 2009.
|
| 311 |
+
|
| 312 |
+
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar. _Foundations of machine learning_ . MIT press, 2018.
|
| 313 |
+
|
| 314 |
+
- Stephen L. Morgan and Christopher Winship. _Counterfactuals and Causal Inference: Methods and Principles for Social Research_ . Cambridge University Press, second edition, 2015.
|
| 315 |
+
|
| 316 |
+
- Harrie Oosterhuis. Reaching the end of unbiasedness: Uncovering implicit limitations of click-based learning to rank. In _SIGIR_ , 2022.
|
| 317 |
+
|
| 318 |
+
- Paul R. Rosenbaum. _Design of Observational Studies_ . Springer Nature Switzerland AG, second edition, 2020.
|
| 319 |
+
|
| 320 |
+
- Paul R. Rosenbaum and Donald B. Rubin. The central role of the propensity score in observational studies for causal effects. _Biometrika_ , 70:41–55, 1983.
|
| 321 |
+
|
| 322 |
+
- Yuta Saito. Asymmetric tri-training for debiasing missing-not-at-random explicit feedback. In _SIGIR_ , 2020.
|
| 323 |
+
|
| 324 |
+
Yuta Saito. Doubly robust estimator for ranking metrics with post-click conversions. In _RecSys_ , 2020.
|
| 325 |
+
|
| 326 |
+
Yuta Saito, Suguru Yaginuma, Yuta Nishino, Hayato Sakata, and Kazuhide Nakata. Unbiased recommender learning from missing-not-at-random implicit feedback. In _WSDM_ , 2020.
|
| 327 |
+
|
| 328 |
+
- Pedro H. C. Sant’Anna, Xiaojun Song, and Qi Xu. Covariate distribution balance via propensity scores. _Journal of Applied Econometrics_ , 37(6):1093–1120, 2022.
|
| 329 |
+
|
| 330 |
+
- Tobias Schnabel, Adith Swaminathan, Ashudeep Singh, Navin Chandak, and Thorsten Joachims. Recommendations as treatments: Debiasing learning and evaluation. In _ICML_ , 2016.
|
| 331 |
+
|
| 332 |
+
- Shai Shalev-Shwartz and Shai Ben-David. _Understanding machine learning: From theory to algorithms_ . Cambridge University Press, 2014.
|
| 333 |
+
|
| 334 |
+
- Bharath K Sriperumbudur, Kenji Fukumizu, and Gert RG Lanckriet. Universality, characteristic kernels and rkhs embedding of measures. _Journal of Machine Learning Research_ , 12(7), 2011.
|
| 335 |
+
|
| 336 |
+
11
|
| 337 |
+
|
| 338 |
+
- Harald Steck. Training and testing of recommender systems on data missing not at random. In _KDD_ , 2010.
|
| 339 |
+
|
| 340 |
+
- Elizabeth A. Stuart. Matching methods for causal inference: A review and a look forward. _Statistical Science_ , 25(1):1–21, 2010.
|
| 341 |
+
|
| 342 |
+
- Hao Wang, Tai-Wei Chang, Tianqiao Liu, Jianmin Huang, Zhichao Chen, Chao Yu, Ruopeng Li, and Wei Chu. ESCM[2] : Entire space counterfactual multi-task model for post-click conversion rate estimation. In _SIGIR_ , 2022a.
|
| 343 |
+
|
| 344 |
+
- Hao Wang, Jiajun Fan, Zhichao Chen, Haoxuan Li, Weiming Liu, Tianqiao Liu, Quanyu Dai, Yichao Wang, Zhenhua Dong, and Ruiming Tang. Optimal transport for treatment effect estimation. In _NeurIPS_ , 2023a.
|
| 345 |
+
|
| 346 |
+
- Haotian Wang, Wenjing Yang, Longqi Yang, Anpeng Wu, Liyang Xu, Jing Ren, Fei Wu, and Kun Kuang. Estimating individualized causal effect with confounded instruments. In _KDD_ , 2022b.
|
| 347 |
+
|
| 348 |
+
- Haotian Wang, Kun Kuang, Haoang Chi, Longqi Yang, Mingyang Geng, Wanrong Huang, and Wenjing Yang. Treatment effect estimation with adjustment feature selection. In _KDD_ , 2023b.
|
| 349 |
+
|
| 350 |
+
- Haotian Wang, Kun Kuang, Long Lan, Zige Wang, Wanrong Huang, Fei Wu, and Wenjing Yang. Out-of-distribution generalization with causal feature separation. _IEEE Transactions on Knowledge and Data Engineering_ , 36(4):1758–1772, 2024.
|
| 351 |
+
|
| 352 |
+
- Jun Wang, Haoxuan Li, Chi Zhang, Dongxu Liang, Enyun Yu, Wenwu Ou, and Wenjia Wang. CounterCLR: Counterfactual contrastive learning with non-random missing data in recommendation. In _ICDM_ , 2023c.
|
| 353 |
+
|
| 354 |
+
- Xiaojie Wang, Rui Zhang, Yu Sun, and Jianzhong Qi. Doubly robust joint learning for recommendation on data missing not at random. In _ICML_ , 2019.
|
| 355 |
+
|
| 356 |
+
- Xiaojie Wang, Rui Zhang, Yu Sun, and Jianzhong Qi. Combating selection biases in recommender systems with a few unbiased ratings. In _WSDM_ , 2021.
|
| 357 |
+
|
| 358 |
+
- Raymond K W Wong and Kwun Chuen Gary Chan. Kernel-based covariate functional balancing for observational studies. _Biometrika_ , 105(1):199–213, 2018.
|
| 359 |
+
|
| 360 |
+
- Peng Wu, Qirui Hu, Xingwei Tong, and Min Wu. Learning causal effect using machine learning with application to china’s typhoon. _Acta Mathematicae Applicatae Sinica_ , 36(3):702–713, 2020.
|
| 361 |
+
|
| 362 |
+
- Min Zhang, Junkun Yuan, Yue He, Wenbin Li, Zhengyu Chen, and Kun Kuang. Map: Towards balanced generalization of iid and ood through model-agnostic adapters. In _ICCV_ , 2023.
|
| 363 |
+
|
| 364 |
+
- Min Zhang, Haoxuan Li, Fei Wu, and Kun Kuang. MetaCoCo: A new few-shot classification benchmark with spurious correlation. In _ICLR_ , 2024.
|
| 365 |
+
|
| 366 |
+
- Qingyuan Zhao and Daniel Percival. Entropy balancing is doubly robust. _Journal of Causal Inference_ , 5(1):20160010, 2017.
|
| 367 |
+
|
| 368 |
+
- Hao Zou, Haotian Wang, Renzhe Xu, Bo Li, Jian Pei, Ye Jun Jian, and Peng Cui. Factual observation based heterogeneity learning for counterfactual prediction. In _CLeaR_ , 2023.
|
| 369 |
+
|
| 370 |
+
12
|
| 371 |
+
|
| 372 |
+
## A PROOFS
|
| 373 |
+
|
| 374 |
+
**Theorem 1.** _If eu,i ∈HJ_ = span _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}, then the above learned propensities lead to an unbiased ideal loss estimation in term of the IPS method._
|
| 375 |
+
|
| 376 |
+
_Proof._ The balancing weight _w_ ˆ _u,i_ is learned by solving the following optimization problem
|
| 377 |
+
|
| 378 |
+
**==> picture [322 x 89] intentionally omitted <==**
|
| 379 |
+
|
| 380 |
+
thus the learned _w_ ˆ _u,i_ satisfying the constraints in the optimization problem, which means that
|
| 381 |
+
|
| 382 |
+
**==> picture [273 x 29] intentionally omitted <==**
|
| 383 |
+
|
| 384 |
+
If _eu,i ∈ HJ_ = span _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _}_ , there exist _{αj}[J] j_ =1[satisfying] _[e][u,i]_ = � _Jj_ =1 _[α][j][h]_[(] _[j]_[)][(] _[x][u,i]_[)][.][the empirical bias of the KBIPS estimator for estimating the ideal loss is]
|
| 385 |
+
|
| 386 |
+
**==> picture [317 x 135] intentionally omitted <==**
|
| 387 |
+
|
| 388 |
+
If _eu,i ∈H/ J_ = span _{h_[(1)] ( _·_ ) _, . . . , h_[(] _[J]_[)] ( _·_ ) _},_ then for all _{αj}[J] j_ =1[,] _[ e][u,i]_[=][ �] _[J] j_ =1 _[α][j][h]_[(] _[j]_[)][(] _[x]_[) +] _[ ϵ]_[(] _[x][u,i]_[)][,] where _ϵ_ ( _xu,i_ ) is the non-zero residual term. Therefore, we have
|
| 389 |
+
|
| 390 |
+
**==> picture [264 x 81] intentionally omitted <==**
|
| 391 |
+
|
| 392 |
+
A similar argument also holds for the proposed KBDR estimator.
|
| 393 |
+
|
| 394 |
+
**Lemma 1** (Sriperumbudur et al. (2011)) **.** _Both the Gaussian and exponential kernels are universal._
|
| 395 |
+
|
| 396 |
+
_Proof._ The proof can be found in Sriperumbudur et al. (2011).
|
| 397 |
+
|
| 398 |
+
**Lemma 2** (Representer theorem) **.** _If_ Ω= _h_ ( _∥f ∥_ ) _for some increasing function h_ : R+ _→_ R _, then some empirical risk minimizer must admit the form f_ ( _·_ ) =[�] _[n] i_ =1 _[α][i][K]_[(] _[·][, x][i]_[)] _[for][some]_ _**[α]**_[=] ( _α_ 1 _, . . . , αn_ ) _∈_ R _[n] . If h is strictly increasing, all minimizers admit this form._
|
| 399 |
+
|
| 400 |
+
13
|
| 401 |
+
|
| 402 |
+
_Proof._ The proof can be found in Theorem 6.11 of Mohri et al. (2018).
|
| 403 |
+
|
| 404 |
+
**Definition 2** (Empirical Rademacher Complexity (Shalev-Shwartz and Ben-David, 2014)) **.** _Let F be a family of prediction models mapping from x ∈X to_ [ _a, b_ ] _, and S_ = _{xu,i |_ ( _u, i_ ) _∈D} a fixed sample of size |D| with elements in X . Then, the empirical Rademacher complexity of F with respect to the sample S is defined as_
|
| 405 |
+
|
| 406 |
+
**==> picture [230 x 36] intentionally omitted <==**
|
| 407 |
+
|
| 408 |
+
_where_ _**σ**_ = _{σu,i_ : ( _u, i_ ) _∈D}, and σu,i are independent uniform random variables taking values in {−_ 1 _,_ +1 _}. The random variables σu,i are called Rademacher variables._
|
| 409 |
+
|
| 410 |
+
**Lemma 3** (Rademacher Comparison Lemma (Shalev-Shwartz and Ben-David, 2014)) **.** _Let F be a family of real-valued functions on z ∈Z to_ [ _a, b_ ] _, and S_ = _{xu,i |_ ( _u, i_ ) _∈D} a fixed sample of size |D| with elements in X . Then_
|
| 411 |
+
|
| 412 |
+
**==> picture [397 x 33] intentionally omitted <==**
|
| 413 |
+
|
| 414 |
+
_where_ _**σ**_ = _{σu,i_ : ( _u, i_ ) _∈D}, and σu,i are independent uniform random variables taking values in {−_ 1 _,_ +1 _}. The random variables σu,i are called Rademacher variables._
|
| 415 |
+
|
| 416 |
+
_Proof._ The proof can be found in Lemma 26.2 of Shalev-Shwartz and Ben-David (2014).
|
| 417 |
+
|
| 418 |
+
**Lemma 4** (McDiarmid’s Inequality (Shalev-Shwartz and Ben-David, 2014)) **.** _Let V be some set and let f_ : _V[m] →_ R _be a function of m variables such that for some c >_ 0 _, for all i ∈_ [ _m_ ] _and for all x_ 1 _, . . . , xm, x[′] i[∈][V][we have]_
|
| 419 |
+
|
| 420 |
+
**==> picture [240 x 12] intentionally omitted <==**
|
| 421 |
+
|
| 422 |
+
_Let X_ 1 _, . . . , Xm be m independent random variables taking values in V . Then, with the probability of at least_ 1 _− δ we have_
|
| 423 |
+
|
| 424 |
+
**==> picture [252 x 31] intentionally omitted <==**
|
| 425 |
+
|
| 426 |
+
_Proof._ The proof can be found in Lemma 26.4 of Shalev-Shwartz and Ben-David (2014).
|
| 427 |
+
|
| 428 |
+
**Lemma 5** (Rademacher Calculus (Shalev-Shwartz and Ben-David, 2014)) **.** _For any A ⊂_ R _[m] , scalar c ∈_ R _, and vector_ **a** 0 _∈_ R _[m] , we have_
|
| 429 |
+
|
| 430 |
+
**==> picture [144 x 11] intentionally omitted <==**
|
| 431 |
+
|
| 432 |
+
_Proof._ The proof can be found in Lemma 26.6 of Shalev-Shwartz and Ben-David (2014).
|
| 433 |
+
|
| 434 |
+
**Lemma 6** (Talagrand’s Lemma (Mohri et al., 2018)) **.** _Let_ Φ1 _, . . . ,_ Φ _m be L-Lipschitz functions from_ R _to_ R _and σ_ 1 _, . . . , σm be Rademacher random variables. Then, for any hypothesis set F of real-valued functions, the following inequality holds_
|
| 435 |
+
|
| 436 |
+
**==> picture [287 x 31] intentionally omitted <==**
|
| 437 |
+
|
| 438 |
+
_In particular, if_ Φ _i_ = Φ _for all i ∈_ [ _m_ ] _, then the following holds_
|
| 439 |
+
|
| 440 |
+
**==> picture [90 x 11] intentionally omitted <==**
|
| 441 |
+
|
| 442 |
+
_Proof._ The proof can be found in Section 5.4 of Mohri et al. (2018).
|
| 443 |
+
|
| 444 |
+
14
|
| 445 |
+
|
| 446 |
+
**Lemma 7.** _Suppose K is a bounded kernel with_ sup _x_ � _K_ ( _x, x_ ) = _B < ∞ and let F be its RKHS. Let M >_ 0 _be fixed. Then for any S_ = _{xu,i_ : ( _u, i_ ) _∈D},_
|
| 447 |
+
|
| 448 |
+
**==> picture [94 x 26] intentionally omitted <==**
|
| 449 |
+
|
| 450 |
+
_where BK_ ( _M_ ) = _{f ∈F | ∥f ∥F ≤ M }._
|
| 451 |
+
|
| 452 |
+
_Proof._ Fix _S_ = _{xu,i_ : ( _u, i_ ) _∈D}_ . Then
|
| 453 |
+
|
| 454 |
+
**==> picture [340 x 420] intentionally omitted <==**
|
| 455 |
+
|
| 456 |
+
**Theorem 2** (Generalization Bounds in RKHS) **.** _Let K be a bounded kernel,_ sup _x_ ~~�~~ _K_ ( _x, x_ ) = _B < ∞, and BK_ ( _M_ ) = _{f ∈F | ∥f ∥F ≤ M } is the corresponding kernel-based hypotheses space._ ˆ _Suppose wu,i ≤ C, δ_ ( _r, ·_ ) _is L-Lipschitz continuous for all r, and that E_ 0 := sup _r δ_ ( _r,_ 0) _< ∞. Then with probability at least_ 1 _− η, we have_
|
| 457 |
+
|
| 458 |
+
**==> picture [384 x 31] intentionally omitted <==**
|
| 459 |
+
|
| 460 |
+
15
|
| 461 |
+
|
| 462 |
+
_and_
|
| 463 |
+
|
| 464 |
+
**==> picture [422 x 32] intentionally omitted <==**
|
| 465 |
+
|
| 466 |
+
_Proof._ We first prove the generalization bound of the KBIPS estimator, noting that the ideal loss can be decomposed as
|
| 467 |
+
|
| 468 |
+
**==> picture [384 x 38] intentionally omitted <==**
|
| 469 |
+
|
| 470 |
+
**==> picture [298 x 37] intentionally omitted <==**
|
| 471 |
+
|
| 472 |
+
For simplicity, we denote the last term in the above formula as
|
| 473 |
+
|
| 474 |
+
**==> picture [324 x 37] intentionally omitted <==**
|
| 475 |
+
|
| 476 |
+
we then aim to bound _B_ ( _F_ ) in the following. Note that
|
| 477 |
+
|
| 478 |
+
**==> picture [212 x 25] intentionally omitted <==**
|
| 479 |
+
|
| 480 |
+
where the first term is E _S∼_ P _[|D|]_[[] _[B]_[(] _[F]_[)]][, and by Lemma 3 we have]
|
| 481 |
+
|
| 482 |
+
**==> picture [328 x 56] intentionally omitted <==**
|
| 483 |
+
|
| 484 |
+
where
|
| 485 |
+
|
| 486 |
+
**==> picture [314 x 37] intentionally omitted <==**
|
| 487 |
+
|
| 488 |
+
By applying McDiarmid’s inequality in Lemma 4 and the assumptions that _w_ ˆ _u,i ≤ C_ , also note that ˆ _ru,i ≤_ sup _x_ � _K_ ( _x, x_ ) _∥f ∥F ≤ MB_ , thus _eu,i_ = _L_ (ˆ _ru,i, ru,i_ ) _≤ E_ 0 + _LMB_ , let
|
| 489 |
+
|
| 490 |
+
**==> picture [94 x 24] intentionally omitted <==**
|
| 491 |
+
|
| 492 |
+
then with probability at least 1 _−[η]_ 2[,]
|
| 493 |
+
|
| 494 |
+
**==> picture [334 x 61] intentionally omitted <==**
|
| 495 |
+
|
| 496 |
+
ˆ By the assumption that _wu,i ≤ C_ and _δ_ ( _r, ·_ ) is _L_ -Lipschitz continuous for all _r_ , we have
|
| 497 |
+
|
| 498 |
+
**==> picture [170 x 26] intentionally omitted <==**
|
| 499 |
+
|
| 500 |
+
16
|
| 501 |
+
|
| 502 |
+
where the first inequality is from Lemma 5 and Lemma 6 with _L_ as Lipschitz constant, the second inequality is from Lemma 7, and _R_ ( _F_ ) is the empirical Rademacher complexity
|
| 503 |
+
|
| 504 |
+
**==> picture [254 x 37] intentionally omitted <==**
|
| 505 |
+
|
| 506 |
+
where _**σ**_ = _{σu,i_ : ( _u, i_ ) _∈D}_ , and _σu,i_ are independent uniform random variables taking values in _{−_ 1 _,_ +1 _}_ . The random variables _σu,i_ are called Rademacher variables. For the rest term _B_ ( _F_ ) _−_ E _S∼_ P _[|D|]_[[] _[B]_[(] _[F]_[)]][, by applying McDiarmid’s inequality in Lemma 4 and the] assumptions that _w_ ˆ _u,i ≤ C_ and _eu,i ≤ E_ 0 + _LMB_ , let
|
| 507 |
+
|
| 508 |
+
**==> picture [88 x 25] intentionally omitted <==**
|
| 509 |
+
|
| 510 |
+
then with probability at least 1 _−[η]_ 2[,]
|
| 511 |
+
|
| 512 |
+
**==> picture [370 x 31] intentionally omitted <==**
|
| 513 |
+
|
| 514 |
+
We now bound _B_ ( _F_ ) by combining the above results. Formally, with probability at least 1 _− η_ ,
|
| 515 |
+
|
| 516 |
+
**==> picture [354 x 156] intentionally omitted <==**
|
| 517 |
+
|
| 518 |
+
We now bound the ideal loss by combining the above results. Formally, with probability at least 1 _− η_ , we have
|
| 519 |
+
|
| 520 |
+
**==> picture [232 x 11] intentionally omitted <==**
|
| 521 |
+
|
| 522 |
+
**==> picture [340 x 31] intentionally omitted <==**
|
| 523 |
+
|
| 524 |
+
In Theorem 1, we have already proved that
|
| 525 |
+
|
| 526 |
+
**==> picture [222 x 37] intentionally omitted <==**
|
| 527 |
+
|
| 528 |
+
therefore with probability at least 1 _− η_ , we have
|
| 529 |
+
|
| 530 |
+
**==> picture [384 x 31] intentionally omitted <==**
|
| 531 |
+
|
| 532 |
+
17
|
| 533 |
+
|
| 534 |
+
We then prove the generalization bound of the KBDR estimator, similarly, the ideal loss can be decomposed as follows.
|
| 535 |
+
|
| 536 |
+
**==> picture [485 x 79] intentionally omitted <==**
|
| 537 |
+
|
| 538 |
+
For simplicity, we denote the last term in the above formula as
|
| 539 |
+
|
| 540 |
+
**==> picture [467 x 37] intentionally omitted <==**
|
| 541 |
+
|
| 542 |
+
we then aim to bound _B_ ( _F_ ) in the following.
|
| 543 |
+
|
| 544 |
+
Note that
|
| 545 |
+
|
| 546 |
+
**==> picture [401 x 109] intentionally omitted <==**
|
| 547 |
+
|
| 548 |
+
where
|
| 549 |
+
|
| 550 |
+
**==> picture [386 x 37] intentionally omitted <==**
|
| 551 |
+
|
| 552 |
+
By applying McDiarmid’s inequality in Lemma 4 and the assumptions that _w_ ˆ _u,i ≤ C_ , _e_ ˆ _u,i ≤ E_ 0 + _LMB_ , and _eu,i ≤ E_ 0 + _LMB_ , let
|
| 553 |
+
|
| 554 |
+
**==> picture [124 x 25] intentionally omitted <==**
|
| 555 |
+
|
| 556 |
+
then with probability at least 1 _−[η]_ 2[,]
|
| 557 |
+
|
| 558 |
+
**==> picture [362 x 61] intentionally omitted <==**
|
| 559 |
+
|
| 560 |
+
ˆ By the assumption that _wu,i ≤ C_ and _δ_ ( _r, ·_ ) is _L_ -Lipschitz continuous for all _r_ , we have
|
| 561 |
+
|
| 562 |
+
**==> picture [228 x 26] intentionally omitted <==**
|
| 563 |
+
|
| 564 |
+
where the first inequality is from Lemma 5 and Lemma 6 with _L_ (1 + 2 _C_ ) as Lipschitz constant, the second inequality is from Lemma 7, and _R_ ( _F_ ) is the empirical Rademacher complexity
|
| 565 |
+
|
| 566 |
+
**==> picture [254 x 37] intentionally omitted <==**
|
| 567 |
+
|
| 568 |
+
18
|
| 569 |
+
|
| 570 |
+
where _**σ**_ = _{σu,i_ : ( _u, i_ ) _∈D}_ , and _σu,i_ are independent uniform random variables taking values in _{−_ 1 _,_ +1 _}_ . The random variables _σu,i_ are called Rademacher variables.
|
| 571 |
+
|
| 572 |
+
For the rest term _B_ ( _F_ ) _−_ E _S∼_ P _[|D|]_[[] _[B]_[(] _[F]_[)]][, by applying McDiarmid’s inequality in Lemma 4 and the] assumptions that _w_ ˆ _u,i ≤ C_ , ˆ _eu,i ≤ E_ 0 + _LMB_ , and _eu,i ≤ E_ 0 + _LMB_ , let
|
| 573 |
+
|
| 574 |
+
**==> picture [118 x 25] intentionally omitted <==**
|
| 575 |
+
|
| 576 |
+
then with probability at least 1 _−[η]_ 2[,]
|
| 577 |
+
|
| 578 |
+
**==> picture [420 x 31] intentionally omitted <==**
|
| 579 |
+
|
| 580 |
+
We now bound _B_ ( _F_ ) by combining the above results. Formally, with probability at least 1 _− η_ ,
|
| 581 |
+
|
| 582 |
+
**==> picture [384 x 191] intentionally omitted <==**
|
| 583 |
+
|
| 584 |
+
We now bound the ideal loss by combining the above results. Formally, with probability at least 1 _− η_ , we have
|
| 585 |
+
|
| 586 |
+
**==> picture [230 x 11] intentionally omitted <==**
|
| 587 |
+
|
| 588 |
+
**==> picture [378 x 32] intentionally omitted <==**
|
| 589 |
+
|
| 590 |
+
In Theorem 1, we have already proved that
|
| 591 |
+
|
| 592 |
+
**==> picture [256 x 38] intentionally omitted <==**
|
| 593 |
+
|
| 594 |
+
therefore with probability at least 1 _− η_ , we have
|
| 595 |
+
|
| 596 |
+
**==> picture [422 x 31] intentionally omitted <==**
|
| 597 |
+
|
| 598 |
+
which yields the stated results.
|
| 599 |
+
|
| 600 |
+
19
|
| 601 |
+
|
open_review/iclr2024_9074.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9074",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Antibody DomainBed: Out-of-Distribution Generalization in Therapeutic Protein Design",
|
| 6 |
+
"abstract": "Recently, there has been an increased interest in accelerating drug design with machine learning (ML). Active ML-guided design of biological sequences with favorable properties involves multiple design cycles in which (1) candidate sequences are proposed, (2) a subset of the candidates is selected using ML surrogate models trained to predict target properties of interest, and (3) sequences are experimentally validated. The returned experimental results from one cycle provide valuable feedback for the next one, but the modifications they inspire in the candidate proposals or experimental protocol can lead to distribution shifts that impair the performance of surrogate models in the upcoming cycle. For the surrogate models to achieve consistent performance across cycles, we must explicitly account for the distribution shifts in their training. We apply domain generalization (DG) methods to develop robust classifiers for predicting properties of therapeutic antibodies. We adapt a recent benchmark of DG algorithms, ``DomainBed,'' to deploy DG algorithms across 5 domains, or design cycles. Our results suggest that foundational models and ensembling (in both output and weight space) lead to better predictive performance on out-of-distribution domains. We publicly release our codebase and the associated dataset of antibody-antigen binding that emulates distribution shifts across design cycles.",
|
| 7 |
+
"rebuttal": "> [Is ENS the abbreviation for \"ensemble\" ]\n\nYes, we modified the manuscript to improve clarity.\n\n> [what is \"functional ensemble\"]\n\nWe tested two types of ensembling models; functional ensembles a.k.a. deep ensembles, average the outputs from multiple networks while weight-space ensembles e.g. SWA [Izmailov2018] average the parameters from different networks.\n\n[Izmailov2018] Izmailov, Pavel, et al. \"Averaging weights leads to wider optima and better generalization.\" arXiv preprint arXiv:1803.05407 (2018).\n\n### References\n\n[Clark2017] Clark, A. J. et al. Free energy perturbation calculation of relative binding free energy between broadly neutralizing antibodies and the gp120 glycoprotein of HIV-1. J. Mol. Biol. 429, 930–947 (2017).\n\n[Clark2019] Clark, A. J. et al. Relative binding affinity prediction of charge-changing sequence mutations with FEP in protein–protein interfaces. J. Mol. Biol. 431, 1481–1493 (2019).\n\n[Hummer2023] Hummer, A. M., Schneider, C., Chinery, L., & Deane, C. M. (2023). Investigating the Volume and Diversity of Data Needed for Generalizable Antibody-Antigen ΔΔG Prediction. bioRxiv, 2023-05.\n\n[Jorgensen2008] Jorgensen, W. L., & Thomas, L. L. (2008). Perspective on free-energy perturbation calculations for chemical equilibria. Journal of chemical theory and computation, 4(6), 869-876.\n\n[Mahajan2022] Mahajan, S. P., Ruffolo, J. A., Frick, R., & Gray, J. J. (2022). Hallucinating structure-conditioned antibody libraries for target-specific binders. Frontiers in immunology, 13, 999034.\n\n[Mason2021] Mason, D. M., Friedensohn, S., Weber, C. R., Jordi, C., Wagner, B., Meng, S. M., ... & Reddy, S. T. (2021). Optimization of therapeutic antibodies by predicting antigen specificity from antibody sequence via deep learning. Nature Biomedical Engineering, 5(6), 600-612.\n\n[Zhu2022] Zhu, F., Bourguet, F. A., Bennett, W. F., Lau, E. Y., Arrildt, K. T., Segelke, B. W., ... & Faissol, D. M. (2022). Large-scale application of free energy perturbation calculations for antibody design. Scientific Reports, 12(1), 12489.\n\nWe thank the reviewer for the thoughtful review. We address the concerns below and complement it with a revision of our paper.\n\n> [ prove the fidelity of the synthetic labels. More analysis should be incorporated to prove that the computed labels are well aligned with wet-lab validations.]\n\nThe change in Gibbs free energy, $\\Delta G$, and the dissociation constant, $K_D$, can be shown to be theoretically equivalent up to a proportionality; we have $\\Delta G = RT \\ln K_D$, where $R$ is the gas constant, $1.98722 {\\rm cal}/K\\cdot {\\rm mol}$, and $T$ is the absolute temperature [Jorgensen2008]. F [...]\n\n> [Why are the results binarized?]\n\nThere is significant noise in the computed $\\Delta \\Delta G$ between -1 and 1 kcal/mol, because Rosetta and FoldX are less accurate at predicting $\\Delta \\Delta G$ for mutations with only a small effect on binding [Sirin2016, Hummer2023]. We therefore remove highly uncertain labels between -0.1 and 0.1 kcal/mol before attaching binary labels: label 1 if $\\Delta\\Delta G < -0.1$ (stabilizing) and label 0 if $\\Delta\\Delta G > 0.1$ (destabilizing).\n\nBinarized labels also align with potential use cases in experimental binding prediction. While surface plasmon re [...]\n\nWe thank the reviewer for the thoughtful review. We address the concerns below and complement it with a revision of our paper.\n\n > [validation of the quality of these labels either experimentally or against other computational methods]\n\nThe score function we use for computing the $\\Delta \\Delta G$ predictions has been experimentally validated in the original publication [Park2015]. Our new encouraging results on env 5 with wet-lab binding measurements additionally verify the utility of these scores.\n\n > [The composition of the benchmark dataset seems to be somewhat arbitrary. [...] There is no [...]\n\nWe thank the reviewer for the thoughtful review. We address the concerns below and complement it with a revision of our paper.\n\n> [\"foundational model\"]\n\nBy foundation model, we meant a model pretrained on a large dataset, with good finetuning and zero-shot abilities. For more details, please see [Bommasani2021]. \nWe chose ESM-2, a BERT-style model pretrained on general proteins as this is a standard model for representation learning tasks. There are antibodies and antigens in the pretraining dataset.\n\n> [One baseline to compare ESM2 against [...] using foundational models improves solving DG [...]\n\n> [Could it be that the authors always create a perfect setting for ensemble models and simple moving averages? If showing this conclusion was the main purpose of the paper, are there simpler or additional datasets that could support it?]\n\nThe choice of this benchmark was done with the motivation of reproducing the lab-in-the-loop setting. The cost of wet-lab experiments leads to a low-data regime where we focus only on a few antigens and restricted number of designs. The low-data regime is particularly difficult; in the larger data regime (assuming enough diversity in data), models should per [...]\n\nWe thank the reviewer for the thoughtful review. We address the concerns below and complement it with a revision of our paper.\n\n> [the construction of the data, the characterization and quality of the dataset, as well as the ability to select models and generalize from it in a drug discovery setting, remain unclear.]\n\nPlease see our updated Section A.5, where we evaluate our dataset with regards to six antibody properties: \n* naturalness and diamond score on both heavy and light chains (Figure 9) which measure the closeness of an antibody to OAS; the largest publicly available human antibody d [...]\n\nWe thank the reviewers for their thoughtful comments and suggestions that have improved our paper.\nWe are encouraged that they acknowledge the importance and significance of the topic of Domain Generalization for drug discovery (R.1, R.2, R.3, R.4), the benefits of releasing a public benchmark \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.5,
|
| 15 |
+
"score_variance": 0.33,
|
| 16 |
+
"score_spread": 1,
|
| 17 |
+
"score_min": 5,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "This paper applies DG algorithms to the problem of active drug design and proposes a new OOD dataset. The reviewers are generally not supportive of the work. The main concern lies with the quality of the new dataset. Here are two summarizing notes posted by reviewers after the discussions: “My biggest concern is the reliability of the synthetic labels by computational tools, and I think my concern remains after reading the responses from the authors.” “I still believe the paper is borderline. My main concern about the paper was the quality of the dataset that the authors have curated and are hoping will be a resource to the community. In particular, I wasn't sure how much the ML community should rely on a (relatively small) benchmark dataset whose covariates and labels are completely synthetic/computational.”",
|
| 22 |
+
"forum_id": "0cJ8ERfnrM",
|
| 23 |
+
"primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_6GLG",
|
| 28 |
+
"review_id": "PXwBMfGixk",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 4276,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 2837893,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_PsDP",
|
| 44 |
+
"review_id": "CbqmBJL8Nf",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 4,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3610,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 826917,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_nWam",
|
| 60 |
+
"review_id": "UgRKIU9kEf",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2649,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 2939267,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_keC4",
|
| 76 |
+
"review_id": "2Pg44uprHw",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2697,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2101392,
|
| 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_9074.md
ADDED
|
@@ -0,0 +1,717 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - ANTIBODY DOMAINBED: OUT OF-DISTRIBUTION GENERALIZATION IN THERAPEUTIC PROTEIN DESIGN
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Recently, there has been an increased interest in accelerating drug design with machine learning (ML). Active ML-guided design of biological sequences with favorable properties involves multiple design cycles in which (1) candidate sequences are proposed, (2) a subset of the candidates is selected using ML surrogate models trained to predict target properties of interest, and (3) sequences are experimentally validated. The returned experimental results from one cycle provide valuable feedback for the next one, but the modifications they inspire in the candidate proposals or experimental protocol can lead to distribution shifts that impair the performance of surrogate models in the upcoming cycle. For the surrogate models to achieve consistent performance across cycles, we must explicitly account for the distribution shifts in their training. We apply domain generalization (DG) methods to develop robust classifiers for predicting properties of therapeutic antibodies. We adapt a recent benchmark of DG algorithms, “DomainBed,” to deploy DG algorithms across 5 domains, or design cycles. Our results suggest that foundational models and ensembling (in both output and weight space) lead to better predictive performance on out-of-distribution domains. We publicly release our codebase and the associated dataset of antibody-antigen binding that emulates distribution shifts across design cycles.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
A model trained to minimize training error is incentivized to absorb all the correlations found in the training data. In many cases, however, the training data are not sampled independently from the same distribution as the test data and such a model may produce catastrophic failures outside the training domain (Torralba & Efros, 2011; Zech et al., 2018; Beery et al., 2019; Koh et al., 2021b; Neuhaus et al., 2022). The literature on domain generalization (DG) aims to build a robust predictor that will generalize to an unseen test domain. A popular approach in DG extracts a notion of domain **invariance** from datasets spanning multiple training domains (Blanchard et al., 2011; Muandet et al., 2013; Arjovsky et al., 2019). This substantial body of work inspired by causality views the problem of DG as isolating the causal factors of variation, stable across domains, from spurious ones, which may change from training to test domains (Arjovsky et al., 2019; Ahuja et al., 2021; Rame et al., 2022a).
|
| 14 |
+
|
| 15 |
+
Benchmarking efforts for DG algorithms, to date, have been largely limited to image classification tasks (e.g., Gulrajani & Lopez-Paz, 2020; Lynch et al., 2023). To prepare these algorithms for critical applications such as healthcare and medicine, we must validate and stress-test them on a wide
|
| 16 |
+
|
| 17 |
+
**==> picture [152 x 114] intentionally omitted <==**
|
| 18 |
+
|
| 19 |
+
Figure 1: **Prediction task: antibodyantigen binding.** Antibody Onartuzumab[1] (pink) binds to MET (green and blue), a lung cancer antigen target, on the cell surface. The strength of the binding is determined by the binding site of the antibody interacting with the antigen, boxed in white.
|
| 20 |
+
|
| 21 |
+
variety of real-world datasets carrying selection biases, confounding factors, and other domainspecific idiosyncrasies. In this paper, we apply for the first time, DG algorithms to the problem of active drug design, a setting riddled with complex distribution shifts.
|
| 22 |
+
|
| 23 |
+
1
|
| 24 |
+
|
| 25 |
+
**==> picture [11 x 11] intentionally omitted <==**
|
| 26 |
+
|
| 27 |
+
**==> picture [11 x 12] intentionally omitted <==**
|
| 28 |
+
|
| 29 |
+
**==> picture [292 x 87] intentionally omitted <==**
|
| 30 |
+
|
| 31 |
+
**==> picture [23 x 25] intentionally omitted <==**
|
| 32 |
+
|
| 33 |
+
**==> picture [14 x 13] intentionally omitted <==**
|
| 34 |
+
|
| 35 |
+
**==> picture [14 x 13] intentionally omitted <==**
|
| 36 |
+
|
| 37 |
+
**==> picture [14 x 13] intentionally omitted <==**
|
| 38 |
+
|
| 39 |
+
**==> picture [13 x 13] intentionally omitted <==**
|
| 40 |
+
|
| 41 |
+
**==> picture [13 x 13] intentionally omitted <==**
|
| 42 |
+
|
| 43 |
+
**==> picture [14 x 13] intentionally omitted <==**
|
| 44 |
+
|
| 45 |
+
**==> picture [13 x 13] intentionally omitted <==**
|
| 46 |
+
|
| 47 |
+
**==> picture [14 x 13] intentionally omitted <==**
|
| 48 |
+
|
| 49 |
+
**==> picture [14 x 13] intentionally omitted <==**
|
| 50 |
+
|
| 51 |
+
**==> picture [26 x 25] intentionally omitted <==**
|
| 52 |
+
|
| 53 |
+
**==> picture [23 x 25] intentionally omitted <==**
|
| 54 |
+
|
| 55 |
+
**==> picture [14 x 15] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
**==> picture [14 x 15] intentionally omitted <==**
|
| 58 |
+
|
| 59 |
+
**==> picture [13 x 15] intentionally omitted <==**
|
| 60 |
+
|
| 61 |
+
**==> picture [14 x 15] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
**==> picture [12 x 12] intentionally omitted <==**
|
| 64 |
+
|
| 65 |
+
**==> picture [12 x 12] intentionally omitted <==**
|
| 66 |
+
|
| 67 |
+
**==> picture [13 x 12] intentionally omitted <==**
|
| 68 |
+
|
| 69 |
+
**==> picture [15 x 16] intentionally omitted <==**
|
| 70 |
+
|
| 71 |
+
**==> picture [15 x 16] intentionally omitted <==**
|
| 72 |
+
|
| 73 |
+
**==> picture [15 x 16] intentionally omitted <==**
|
| 74 |
+
|
| 75 |
+
**==> picture [15 x 16] intentionally omitted <==**
|
| 76 |
+
|
| 77 |
+
**==> picture [15 x 16] intentionally omitted <==**
|
| 78 |
+
|
| 79 |
+
Figure 2: Active ML-guided design of antibodies effective against given antigens of interest typically proceeds by (1) developing multiple generative models that produce novel antibody designs given some starting seed antibody, (2) selecting the most promising designs using predictive models, and (3) experimentally validating the selected designs in the wet lab, and (4) updating the computational models with the measurements for the next cycle. In each cycle, the makeup of the targets, generative models, and/or experimental assays may vary.
|
| 80 |
+
|
| 81 |
+
The specific application we consider is that of characterizing the **binding affinity** of therapeutic antibodies. Antibodies are proteins used by the immune system to recognize harmful foreign substances (antigens) such as bacteria and viruses (Singh et al., 2018). They bind, or attach, to antigens in order to mediate an immune response against them. The strength of binding is determined by the binding site of the antibody (paratope) interacting with the antigen epitope (Figure 1). Antibodies that bind tightly to a given target antigen are highly desirable as therapeutic candidates.
|
| 82 |
+
|
| 83 |
+
The wet-lab experiments that measure the binding affinity of antibodies are costly and timeconsuming. In active antibody design, we thus assign a surrogate ML model to predict binding and select the most promising candidates for wet-lab evaluation based on the predictions. Developing an accurate surrogate model is a challenging task in itself, because, as explained in more detail in section 2, the model may latch onto **non-mechanistic** factors of variation in the data that do not cause binding: identity of the target antigen, assay used to measure binding, distinguishing features of the generative models (either human experts or ML) that proposed the antibody, and “batch effects” that create heteroscedastic measurement errors.
|
| 84 |
+
|
| 85 |
+
We approach active drug design from the DG perspective. Active drug design, executed in multiple design cycles, informs the DG algorithm development, as it abounds in distribution shifts previously underexplored in the DG literature. Conversely, it benefits from a robust (surrogate) binding predictor. To summarize, this joint venture enables (1) impactful real-world benchmarking of DG algorithms and (2) development of robust predictors to serve active antibody design. Our contributions are the following:
|
| 86 |
+
|
| 87 |
+
- We open source a new antibody dataset for active drug design.
|
| 88 |
+
|
| 89 |
+
- We review and evaluate the latest DG algorithms in the context of drug design. Our work is the first large-scale benchmark study on large molecules, to our knowledge.
|
| 90 |
+
|
| 91 |
+
- We present some guidelines for best practices and highlight open questions for the field.
|
| 92 |
+
|
| 93 |
+
## 2 ACCELERATING ANTIBODY DESIGN WITH ML
|
| 94 |
+
|
| 95 |
+
**Problem formulation** Antibody design typically focuses on designing the variable region of an antibody, which consists of two chains of amino acids, called heavy and light chains. Each chain can be represented as a sequence of characters from an alphabet of 20 characters (for 20 possible amino acids). The heavy and light chains combined span _L ∼_ 290 amino acids on average. We denote the sequences as _**x**_ = ( _a_ 1 _, . . . , aL_ ), where _al ∈{_ 1 _, . . . ,_ 20 _}_ corresponds to the amino acid type at
|
| 96 |
+
|
| 97 |
+
2
|
| 98 |
+
|
| 99 |
+
position _l ∈_ [ _L_ ]. We experimentally measure the binding affinity _z ∈_ R from each sequence. For simplicity, we create a classification task by creating a binary label _y ∈{_ 0 _,_ 1 _}_ from _z_ . We set _y_ = 1 if _z_ exceeds a chosen minimum affinity value that would qualify as binding and _y_ = 0 otherwise. Each antibody _**x** i_ , indexed _i_ , carries a label _yi_ in one of the design rounds _r_ , where _r ∈{_ 0 _, . . . ,_ 4 _}_ . The labeled dataset for a round _r_ is a set of _nr_ ordered pairs: _Dr_ = _{_ ( _**x**[r] i[, y] i[r]_[)] _[}][n] i_ =1 _[r]_[.]
|
| 100 |
+
|
| 101 |
+
**Lab in the loop** Our antibody binding dataset is generated from an active ML-guided design process involving multiple design cycles, or _rounds_ . As illustrated in Figure 2, each round consists of the following steps: **1** . Millions of candidate sequences are sampled from a suite of generative models, including variational autoencoders (Gligorijevi´c et al., 2021; Berenberg et al., 2022), energy-based models (Tagasovska et al., 2022; Frey et al., 2023a) and diffusion models (Gruver et al., 2023; Frey et al., 2023b). **2** . A small subset of several hundred promising candidates is selected based on binding predictions from a surrogate binding classifier (Park et al., 2022). **3** . The wet lab experimentally measures binding. **4** . All models (generative and discriminative) are updated with new measurements. In Step 4, both the generative model and the surrogate classifier _f_[ˆ] _θ_ are updated. Beyond being refit on the new data returned from the lab, the generative models may undergo more fundamental modifications in their architectures, pretrained weights, and training/regularization schemes.
|
| 102 |
+
|
| 103 |
+
A standard approach to supervised learning tasks is empirical risk minimization (ERM) (Vapnik, 1992). Let us first define the risk in each round _r_ as
|
| 104 |
+
|
| 105 |
+
**==> picture [282 x 19] intentionally omitted <==**
|
| 106 |
+
|
| 107 |
+
where _ℓ_ is the loss function. ERM simply minimizes the training error, i.e., the average risk across all the training examples from all the rounds.
|
| 108 |
+
|
| 109 |
+
**==> picture [343 x 19] intentionally omitted <==**
|
| 110 |
+
|
| 111 |
+
where _p_ train( _r_ ) denotes distribution of the rounds in the training set. When we trained our surrogate classifier by ERM, it did not improve significantly even as the training set size increased over design rounds. In each subsequent round, representing the test domain, we observed that the classifier performance was close to random.
|
| 112 |
+
|
| 113 |
+
## 3 DOMAIN GENERALIZATION
|
| 114 |
+
|
| 115 |
+
The new measurements from the wet lab inspire modifications in the candidate proposals or experimental protocol, which lead to (feedback) covariate shift. DG has recently gained traction in the ML community as concerns about productionalizing ML models in unseen test environments have emerged (Rosenfeld et al., 2021). The interest in achieving out-of-distribution (OOD) generalization has spawned a large body of work in DG, which can be organized into the following families of approaches:
|
| 116 |
+
|
| 117 |
+
**DG by invariance** This paradigm has mainly been motivated by learning “causal representations.” Invariant causal prediction (Peters et al., 2016) frames prediction in the language of causality, assuming that the data are generated according to a structural equation model (SEM) relating variables in a dataset to their parents by a set of mechanisms, or structural equations. The major assumption of ICP is the partitioning of the data into environments _e ∈ E_ such that _each environment corresponds to interventions on the SEM_ , but importantly, the mechanism by which the target variable is generated via its direct parents is unaffected (Pearl, 2009). This means that the true causal mechanism of the target variable is fixed, while other features of the generative distribution can vary. This motivates the objective of learning mechanisms that are stable (invariant) across environments with the hope that they would generalize under unseen, valid[2] interventions.
|
| 118 |
+
|
| 119 |
+
The ultimate goal of these frameworks is to learn an “optimal invariant predictor” which uses only the invariant features of the SEM. We assume that high-dimensional observations take lowerdimensional representations governed by a generative model. In the invariant learning paradigm, it is common to define the task as learning invariant representations of the data, rather than seeking
|
| 120 |
+
|
| 121 |
+
> 2Interventions are considered valid if they do not change the structural equation of _Y_ .
|
| 122 |
+
|
| 123 |
+
3
|
| 124 |
+
|
| 125 |
+
invariant features in the observation space. This problem setup has inspired a plethora of algorithms, starting with IRM (Arjovsky et al., 2019)
|
| 126 |
+
|
| 127 |
+
**==> picture [290 x 25] intentionally omitted <==**
|
| 128 |
+
|
| 129 |
+
IRM assumes invariance of E[ _y|_ Φ( _x_ )]—that is, invariance of the feature-conditioned label distribution. Follow-up studies make a stronger assumption on invariance based on higher-order conditional moments (Krueger et al., 2021; Xie et al., 2020). Though this perspective has gained traction in the last few years, it is somewhat similar to methods from domain adaptation, such as DANN (Ganin et al., 2016) and CORAL (Sun & Saenko, 2016), which minimize domain shift by aligning the source and target feature distributions. Another line of work considers learning shared mechanisms by imposing invariance of the gradients distributions across domains. In our setup the gradients per environment are:
|
| 130 |
+
|
| 131 |
+
**==> picture [160 x 19] intentionally omitted <==**
|
| 132 |
+
|
| 133 |
+
Parascandolo et al. (2020) initiated such approaches, aiming to learn invariant explanations by replacing the arithmetic mean in gradient descent with a geometric one, hence promoting agreements of the gradients across domains. Other popular gradient based approaches include Fish (Shi et al., 2021) which match the first moments of the gradient distributions, and Fishr (Rame et al., 2022a) which similarly to CORAL matches the variance in gradient space.
|
| 134 |
+
|
| 135 |
+
**DG by ensembling** We consider two types of ensembling strategies that do not use domain information (i.e., environment labels). First, _output-space ensembles_ combine multiple independently trained models for an input **x** as follows:
|
| 136 |
+
|
| 137 |
+
**==> picture [168 x 32] intentionally omitted <==**
|
| 138 |
+
|
| 139 |
+
where _M_ is the total number of models in the ensemble, _θm_ are the parameters of the _m_ -th model, and the sub-script ( _·_ ) _k_ denotes the _k_ -th element of the multiclass vector argument. A standard ensembling approach, deep ensemble, combines models trained with different initializations and was shown to achieve strong robustness to OOD data (Lakshminarayanan et al., 2017).
|
| 140 |
+
|
| 141 |
+
Second, _weight-space ensembles_ . Given _M_ individual member weights _{θm}[M] m_ =1[corresponding to] individual models, Weight averaging (WA), is defined as:
|
| 142 |
+
|
| 143 |
+
**==> picture [192 x 30] intentionally omitted <==**
|
| 144 |
+
|
| 145 |
+
A combination of different weight averaging and fine tuning resulted in different methods e.g. Stochastic Weight Average (Izmailov et al., 2018), Simple Moving Average (Arpit et al., 2022), Diverse Weight Averaging a.k.a model soup (Wortsman et al., 2022; Rame et al., 2022b). These models usually leverage pre-trained _foundational_ models (Bommasani et al., 2021).
|
| 146 |
+
|
| 147 |
+
## 3.1 HYPOTHESIS - INVARIANT FEATURE REPRESENTATIONS OF ANTIBODIES
|
| 148 |
+
|
| 149 |
+
Our lab-in-the-loop (section 2) offers a unique testbed for DG algorithms. In particular, we attempt to answer the question:
|
| 150 |
+
|
| 151 |
+
_Can DG algorithms help in developing robust predictors for antibody design? Do learnt invariant representations align with the physics-based features causing binding properties?_
|
| 152 |
+
|
| 153 |
+
We propose to consider the design rounds _r ∈{_ 0 _, . . . ,_ 4 _}_ as environments _e_ , since rounds do correspond to valid interventions — our design cycles should not impact the true causal mechanism governing binding affinity. There are two types of features that a binding classifier can learn:
|
| 154 |
+
|
| 155 |
+
- _Invariant (causal) features_ : various physico-chemical and geometric properties at the interface of antibody-antigen binding (Figure 1) and
|
| 156 |
+
|
| 157 |
+
- _Spurious correlations_ : Other round-specific features that are byproducts of different folding algorithms, generative models, measurement assay types, antigen targets, etc.
|
| 158 |
+
|
| 159 |
+
We expect DG algorithms to be able to distinguish between the two, and only make use of the features invariant across rounds in their predictions.
|
| 160 |
+
|
| 161 |
+
4
|
| 162 |
+
|
| 163 |
+
## 4 RELATED WORK
|
| 164 |
+
|
| 165 |
+
Existing benchmarks for investigating OOD generalization are mostly image-based (e.g., Gulrajani & Lopez-Paz, 2020; Koh et al., 2021a). Yet it is unclear if the conclusions for these results transfer to other real-world applications. Our benchmark aims at answering this question, focusing on the topic of drug discovery.
|
| 166 |
+
|
| 167 |
+
In the drug discovery setting, some benchmarks have been proposed, however, they are restricted to small molecules, or compounds comprised of 20-100 atoms and typically weighing less than 1,000 daltons. Ji et al. (2023) explores shifts due to assay types, scaffolds, and molecular sizes. Tossou et al. (2023) studies data splitting strategies in two deployment settings: virtual screening and _de novo_ generation.
|
| 168 |
+
|
| 169 |
+
We propose a benchmark for therapeutic proteins including distribution shifts likely to occur in active ML-guided design. Proteins fall under large molecules, made of _thousands_ of atoms. Being much larger than small molecules, they are arguably more complex and more challenging to characterize. In particular, the three-dimensional folded structure of the protein is highly indicative of its function. When predicting functional properties of proteins, working with structure-aware representations is key. Proteins present unique modeling challenges and, to our knowledge, this is the first large-scale OOD benchmark on large molecules.
|
| 170 |
+
|
| 171 |
+
## 5 ANTIBODY DOMAINBED
|
| 172 |
+
|
| 173 |
+
## 5.1 THERAPEUTIC PROTEIN DATASET
|
| 174 |
+
|
| 175 |
+
The main objective of this benchmark is to emulate, with high-fidelity, a real-world active drug design setup. To create a realistic, publicly accessible dataset, we propose the following procedure: (1) Collection of open data antibody-antigen complex structures, antibody wild types (seeds), and corresponding mutants; (2) Training generative models and sampling candidates with different properties (edit distances from training data, targets of interest, different initial complex structures); (3) Computing a proxy for binding from physics-based models for all designs from Step 2; and (4) Splitting the labeled dataset into a number of meaningful environments.
|
| 176 |
+
|
| 177 |
+
**Step 1: Data curation.** We rely on the latest version (at the time of writing of this manuscipt) of the popular _Structural Antibody Database_ , SAbDab Dunbar et al. (2014); Raybould et al. (2020); Schneider et al. (2022) which catalogs 7,689 PDB structures, and a recent derivative _Graphinity_ , Hummer et al. (2023) which extends SAbDab to a synthetic dataset of a much larger scale (nearly 1M) by introducing systematic point mutations in the CDR3 loops of the antibodies in the original SAbDab complexes. In this benchmark, we select the antibody wild types and mutants related to three popular antigens - HIV1[3] , SARS-CoV-2[4] and HER2[5] .
|
| 178 |
+
|
| 179 |
+
**Step 2: Sampling antibody candidates.** To emulate the active drug discovery pipeline, we need a suite of generative models for sampling new candidate designs for therapeutic antibodies. We run the _Walk Jump Sampler_ (WJS; Frey et al., 2023b), a method building on the neural empirical Bayes framework (Saremi & Hyvarinen, 2019). WJS separately trains score- and energy-based models to learn noisy data distributions and sample discrete data. The energy-based model is trained on noisy samples, which means that by training with different noise levels _σ_ , we obtain different generative models. Higher _σ_ corresponds to greater diversity in the samples and higher distances from the starting seed. We used four values for the noise parameter, namely _σ ∈_ [0 _._ 5 _,_ 1 _._ 0 _,_ 1 _._ 5 _,_ 2 _._ 0].
|
| 180 |
+
|
| 181 |
+
**Step 3: Labeling candidates.** Since wet-lab assays to experimentally measure binding affinity are prohibitively expensive, we use computational frameworks which, by modeling changes
|
| 182 |
+
|
| 183 |
+
> 3The most common type of Human Immunodeficiency Virus that can lead to AIDS. HIV attacks the body’s immune system by destroying CD4 cells, which help your body fight infections
|
| 184 |
+
|
| 185 |
+
> 4Severe acute respiratory syndrome coronavirus 2, is a strain of coronavirus that causes COVID-19, the respiratory illness responsible for the COVID-19 pandemic.
|
| 186 |
+
|
| 187 |
+
> 5Human epidermal growth factor receptor 2 is a gene that makes a protein found on the surface of all breast cells. Breast cancer cells with higher than normal levels of HER2 are called HER2-positive which signals breast cancer may grow quickly and possibly come back.
|
| 188 |
+
|
| 189 |
+
5
|
| 190 |
+
|
| 191 |
+
Table 1: Dataset overview. Number of samples in parentheses.
|
| 192 |
+
|
| 193 |
+
|**Environment**|**Antigens**|**Generative Model**|**Annotation**|**Description - emulating env with:**|
|
| 194 |
+
|---|---|---|---|---|
|
| 195 |
+
|**env 0**|HIV1 (186)<br>SARS-CoV-2 (1117)|WJS_σ ∈_[0_._5]|∆∆_G_computed with pyRosetta|distribution shifts due to generative model (covariate shift)|
|
| 196 |
+
|**env 1**|HIV1 (780)<br>SARS-CoV-2 (3096)|WJS_σ ∈_[1_._0_,_1_._5]|∆∆_G_computed with pyRosetta|distribution shifts due to generative model (covariate shift)|
|
| 197 |
+
|**env 2**|HIV1 (275)<br>SARS-CoV-2 (1469)|WJS_σ ∈_[2_._0]|∆∆_G_computed with pyRosetta|distribution shifts due to generative model (covariate shift)|
|
| 198 |
+
|**env 3**|HIV1 (552)<br>SARS-CoV-2 (3142)|WJS_σ ∈_[0_._5_,_1_._0_,_1_._5_,_2_._0]|∆∆_G_computed with pyRosetta|distribution shifts due to generative model (covariate shift)|
|
| 199 |
+
|**env 4***|HER2 (2471)|point mutations in CDR3|∆∆_G_computed with FoldX|(i) zero-shot generalization to new target (_de novo_design) (ii) concept drift|
|
| 200 |
+
|**env 5***|HER2 (226)|internally generated|_Kd_experimentally measured with SPR|verifying generalizability to_Kd_measurements.|
|
| 201 |
+
|
| 202 |
+
**==> picture [198 x 67] intentionally omitted <==**
|
| 203 |
+
|
| 204 |
+
**==> picture [198 x 67] intentionally omitted <==**
|
| 205 |
+
|
| 206 |
+
Figure 3: Antibody Domainbed environments. Left - edit distance a.k.a sequence similarity between designs and seeds. Right - binding properties per generative model.
|
| 207 |
+
|
| 208 |
+
in binding free energies upon mutation (interface ∆∆ _G_ = ∆ _G_ wild type _−_ ∆ _G_ mutant), allow for large-scale prediction and perturbation of protein–protein interactions Barlow et al. (2018). We use the pyrosetta (pyR) Chaudhury et al. (2010) implementation of the InterfaceAnalyzerMover, namely the scoring function ref2015 , to compute the difference in energy prior and after mutations in a given antibody-antigen complex. After removing highly uncertain labels between -0.1 and 0.1 kcal/mol (Sirin et al., 2016; Hummer et al., 2023), we attach binary labels to each candidate of the generative models: label 1 if ∆∆ _G < −_ 0 _._ 1 (stabilizing) and label 0 if ∆∆ _G >_ 0 _._ 1 (destabilizing). While the computed ∆∆ _G_ represent weak proxies of binding free energy, they have been shown to be predictive of experimental binding (Mahajan et al., 2022; Hummer et al., 2023). See B.1 for details.
|
| 209 |
+
|
| 210 |
+
**Step 4: Splitting into environments.** To emulate the active drug design setup where new sources of distribution shift might appear (e.g., new generative models, antigen targets, experimental assays) at each iteration, we split the overall dataset into five cycles. Each cycle corresponds to a different domain or environment in the language of domain generalization algorithms. In Table 1 we summarize how the overall data pool was split into environments, as well as some summary statistics of each environment. This dataset split mimics sub-population shifts due to the generative model, which produces antibody sequences with different edit distances from the seed sequences. The WJS model with _σ_ =0 _._ 5 ( _σ_ =2 _._ 0) produces antibody designs close to (far from) the seed. Environment 4 has been partially included in the experiments because it introduces severe distribution shift in the form of concept drift and label shift, as it represents a completely new target and a different labeling mechanism than the rest. We report some preliminary results in this extreme setup in subsection A.3.
|
| 211 |
+
|
| 212 |
+
## 5.2 PROTEIN SEQUENCE ARCHITECTURES
|
| 213 |
+
|
| 214 |
+
Different DG solutions assume different types of invariance, and propose algorithms to estimate them from data. DomainBed (Gulrajani & Lopez-Paz, 2020) is a benchmark suite that contains the majority of DG algorithms developed in the past two years and a benchmark environment that compares them across multiple natural image datasets.
|
| 215 |
+
|
| 216 |
+
To adapt DomainBed our antibody design context, we modify its featurizer to accept biological sequences as input. We do so by (i) implementing a preprocessing module to align the antibody sequences (using the AHo numbering scheme suitable for antibody variable domains; Honegger & PluEckthun, 2001) and (ii) replacing the default ResNet (He et al., 2016) with one of the following[`] more suitable architectures:
|
| 217 |
+
|
| 218 |
+
**SeqCNN:** Our SeqCNN model consists of an embedding layer with output dimension 64, and two consecutive convolutional layers with kernel sizes 10 and 5 respectively, stride of 2 followed by
|
| 219 |
+
|
| 220 |
+
6
|
| 221 |
+
|
| 222 |
+
**==> picture [278 x 49] intentionally omitted <==**
|
| 223 |
+
|
| 224 |
+
**----- Start of picture text -----**<br>
|
| 225 |
+
ERM ERM_SMA IRM Fish CORAL VREx 0.52<br>Env 3 0.46<br>0.40<br>Env 2 0.350.29<br>Env 1 0.230.17<br>0.12<br>Env 0 0.06<br>Env 0 Env 1 Env 2 Env 3 Env 0 Env 1 Env 2 Env 3 Env 0 Env 1 Env 2 Env 3 Env 0 Env 1 Env 2 Env 3 Env 0 Env 1 Env 2 Env 3 Env 0 Env 1 Env 2 Env 3 0.00<br>**----- End of picture text -----**<br>
|
| 226 |
+
|
| 227 |
+
Figure 4: MMD in the learned features of ESM between every pair of environments. DG algorithms result in features that are significantly more uniform across environments.
|
| 228 |
+
|
| 229 |
+
ReLU nonlinearities. The CNN output is pooled with a mixing layer of size 256. This identical architecture is applied for both the antibody and the antigen sequence before concatenating them and passing them to the classification head.
|
| 230 |
+
|
| 231 |
+
**Finetuned ESM2:** We finetune the 8M-parameter ESM2 Lin et al. (2023), a protein language model pretrained on experimental and high-quality predicted structures of general proteins. For speed, we used a single ESM2 model for the two antibody chains as well as the antigen. One potential challenge with fine-tuning a single ESM2 model on three protein chains is that they are OOD for ESM2, which was pretrained on single chains. To address this, we follow the tricks used in ESMFold (Lin et al., 2023): (1) adding a 25-residue poly-glycine linker between the heavy and light antibody chains and between the antibody and antigen and (2) implementing a jump in residue index into the positional embeddings at the start of each new chain. The tricks significantly boosted the classifier performance, signaling that the structure information in the ESM embeddings was important.
|
| 232 |
+
|
| 233 |
+
**GearNet (Zhang et al., 2022):** We finetune GearNet-Edge MVC , a general-purpose structurebased protein encoder pre-trained with a contrastive learning objective on AlphaFold2 predictions. Notably, the pre-training dataset does not include complexes or significant antibody structures. As a result, the Antibody DomainBed environments are OOD for GearNet-ESM. We make no adjustments, using the default structure graph construction and featurisation.
|
| 234 |
+
|
| 235 |
+
Additionally, we extend DomainBed to include the moving average ensembling as in (Arpit et al., 2022) as well as functional ensembling, or stochastic weight averaging (Izmailov et al., 2018) for all DG baselines in the repository. We denote the averaged solutions with _-ENS_ suffix.
|
| 236 |
+
|
| 237 |
+
**Open source** We open-source our efforts so that other researchers can continue further evaluations on similar biological datasets. With this paper, we make publicly available the “Antibody DomainBed,” a codebase aligned with the DomainBed suite, here. We also release a public benchmark antibody dataset available here.
|
| 238 |
+
|
| 239 |
+
## 6 BENCHMARKING RESULTS AND ANALYSIS
|
| 240 |
+
|
| 241 |
+
**Models** We tested vanilla ERM against three classes of DG methods. These are methods that leverage the domain information to enforce invariance on representations (CORAL; Sun & Saenko, 2016), on the predictor (IRM; Arjovsky et al., 2019), or on gradients (Fish; Shi et al., 2021). We additionally test ensembling techniques, namely deep ensembles, (simple moving average or SMA; Arpit et al., 2022), that do not exploit domain information but combine different models to reduce the effect of covariate shift (Rame et al., 2022b). The last class of models has achieved state-ofthe-art results on image datasets (Cha et al., 2021; Arpit et al., 2022; Rame et al., 2022b). We perform early stopping for the members of the deep ensembles in the training-domain validation setting as in Arpit et al. (2022). The best model is ensembled based on validation performance over each trial. From the available DG algorithms in DomainBed, this corresponds to 6 algorithm baselines with 5 hyperparameter configurations (with varying batch size, weight decay, and learning rate) for ESM-based architectures and 20 for SeqCNN-based architectures. As we perform 3 seed repetitions for each configuration, we have a total of 1,890 experiments. We report the results from _model selection method: training domain validation set_ , which is a leave-one-environmentout model selection strategy. We (1) split the data into train and test environments, (2) pool the validation sets of each training domain to create an overall validation set, and (3) choose the model maximizing the accuracy (minimizing the negative log-likelihood) on the pooled validation set.
|
| 242 |
+
|
| 243 |
+
7
|
| 244 |
+
|
| 245 |
+
**Metrics and evaluation** We evaluate the performance in terms of accuracy. As Gulrajani & Lopez-Paz (2020), we test two types of validation: training-domain and test-domain in subsection 6.1. Then, we evaluate the saliency maps produced by representative domain-invariant and ensembling models. In Appendix, we repeat the analysis for a second version (a new split) of the dataset containing an environment with antibody designs of a new antigen.
|
| 246 |
+
|
| 247 |
+
## 6.1 DISCUSSION
|
| 248 |
+
|
| 249 |
+
Based on the results in Table 2 and Table 3 we observe that, among the different DG paradigms, ensembling-based models work the best and functional ensembles improve all base algorithms. Additionally, as the model size increases (from SeqCNN to ESM2), the improvement is more pronounced. When the validation set is not aligned with the test set, there is no significant difference between models in terms of performance. The only class of models robust to such a setup is again, functional ensembles; they seem to work well even if the validation set is not aligned to the test set.
|
| 250 |
+
|
| 251 |
+
SMA is the only DG model that has advantage over ERM Figure 5: Segments of a single antibody across all domains. From the MMD plots in Figure 4, we chain (heavy or light). “FW” denotes do notice that the invariance based models indeed learn “framework.” more uniform representations across domains. It seems, however, that invariant representations do not necessary translate to better predictive performance.
|
| 252 |
+
|
| 253 |
+
Figure 5: Segments of a single antibody chain (heavy or light). “FW” denotes “framework.”
|
| 254 |
+
|
| 255 |
+
**==> picture [298 x 47] intentionally omitted <==**
|
| 256 |
+
|
| 257 |
+
**==> picture [299 x 149] intentionally omitted <==**
|
| 258 |
+
|
| 259 |
+
**----- Start of picture text -----**<br>
|
| 260 |
+
(a) ERM<br>(b) SMA<br>(c) IRM<br>**----- End of picture text -----**<br>
|
| 261 |
+
|
| 262 |
+
Figure 6: Saliency visualizations on the antibody amino-acid positions for heavy and light chains, after aligning to uniform lengths as in (Honegger & PluEckthun,[`] 2001). x-axis represents the 298 positions after alignment. Colors of bars represent functional segments. Relative to ERM-SMA and IRM, ERM displays muted behavior in the regions known to interact with the antigen paratope.
|
| 263 |
+
|
| 264 |
+
Figure 6 shows the gradient sensitivity (Baehrens et al., 2010; Simonyan et al., 2013) with respect to the antibody residue positions. The different colors represent functional segments, illustrated in Figure 5. Details on the organisation and role of the different segments in an Antibody is included in Appendix C. Spikes can be interpreted as positions that strongly affected the prediction. Whereas ERM saliency is muted in the right edges of framework 3b (yellow) in the heavy chain and in CDR 3 (gray) in the light chain, ERM-SMA and IRM is activated in these positions. Heavy framework 3b, adjacent to heavy CDR 3, is heavily implicated in antigen binding (Morea et al., 1998). Light CDR 3 displays high diversity, though to a lesser extent than the heavy counterpart. Light CDR 3 is known to assume one of the few canonical structures that determines antigen recognition (Teplyakov & Gilliland, 2014), which may explain the models’ sensitivity to this segment.Our main takeaways for robust prediction in therapeutic protein design are as follows:
|
| 265 |
+
|
| 266 |
+
8
|
| 267 |
+
|
| 268 |
+
Table 2: Model selection: training-domain validation set
|
| 269 |
+
|
| 270 |
+
|**Algorithm**|**Env 0**|**Env 1**|**Env 2**|**Env 3**|**Avg**|
|
| 271 |
+
|---|---|---|---|---|---|
|
| 272 |
+
|random|50.5_±_0.0|52.4_±_5.2|38.8_±_0.0|49.1_±_1.1|47.7|
|
| 273 |
+
|||**ESM**||||
|
| 274 |
+
|ERM|58.7_±_0.7|66.8_±_0.4|69.0_±_0.5|65.9_±_0.2|65.1|
|
| 275 |
+
|ERM-ENS|62.9|69.7|71.6|67.9|68.0|
|
| 276 |
+
|SMA|59.6_±_1.1|66.7_±_0.0|70.1_±_0.1|66.2_±_0.3|65.7|
|
| 277 |
+
|SMA-ENS|61.5|68.1|73.4|67.7|67.7|
|
| 278 |
+
|IRM|60.0_±_0.9|64.4_±_0.2|69.6_±_0.9|63.5_±_0.6|64.4|
|
| 279 |
+
|IRM-ENS|62.7|69.1|71.3|67.0|67.5|
|
| 280 |
+
|CORAL|60.0_±_0.4|66.9_±_0.2|69.6_±_0.5|65.7_±_0.4|65.5|
|
| 281 |
+
|CORAL-ENS|62.6|69.4|71.7|68.1|68.0|
|
| 282 |
+
|VREx|58.7_±_0.6|66.1_±_0.9|69.0_±_0.6|65.7_±_0.1|64.9|
|
| 283 |
+
|VREx-ENS|61.1|67.2|71.9|67.9|67.0|
|
| 284 |
+
|Fish|59.3_±_1.2|66.2_±_0.7|69.5_±_0.1|66.4_±_0.4|65.3|
|
| 285 |
+
|||**SeqCNN**||||
|
| 286 |
+
|ERM|63.2_±_1.0|66.2_±_0.9|66.2_±_0.8|64.9_±_0.1|65.1|
|
| 287 |
+
|ERM-ENS|62.3|66.1|69.7|65.9|66.0|
|
| 288 |
+
|SMA|61.8_±_0.9|66.5_±_0.3|66.1_±_0.2|64.9_±_0.3|64.9|
|
| 289 |
+
|SMA ENS|58.6|66.9|68.8|66.1|65.0|
|
| 290 |
+
|IRM|60.0_±_0.9|64.4_±_0.2|69.6_±_0.9|63.5_±_0.6|64.4|
|
| 291 |
+
|IRM-ENS|62.4|66.5|73.2|65.1|66.8|
|
| 292 |
+
|CORAL|62.0_±_1.5|66.2_±_0.3|66.1_±_0.8|64.0_±_0.5|64.6|
|
| 293 |
+
|CORAL-ENS|60.9|67.1|68.9|65.2|65.5|
|
| 294 |
+
|VREx|60.1_±_1.6|65.7_±_1.0|66.3_±_0.6|64.9_±_0.4|64.2|
|
| 295 |
+
|VREx-ENS|61.5|66.9|68.2|66.1|65.7|
|
| 296 |
+
|Fish|62.0_±_0.9|66.9_±_0.8|68.6_±_0.6|65.8_±_0.3|65.8|
|
| 297 |
+
|||**GearNet**||||
|
| 298 |
+
|ERM|60.4_±_0.6|79.2_±_0.3|85.3_±_0.5|75.1_±_1.1|75.0|
|
| 299 |
+
|ERM-ENS|**64.9**|**82.0**|**88.0**|**78.4**|**78.3**|
|
| 300 |
+
|VREx|58.3_±_0.4|73.1_±_0.5|82.1_±_1.3|71.1_±_1.3|71.2|
|
| 301 |
+
|VREx-ENS|59.5|77.6|86.4|73.3|74.2|
|
| 302 |
+
|
| 303 |
+
- Leveraging foundational models help performance across all DG models.
|
| 304 |
+
|
| 305 |
+
- Choosing a good validation set is important.
|
| 306 |
+
|
| 307 |
+
- Ensembling helps all baseline models.
|
| 308 |
+
|
| 309 |
+
- Leveraging ∆∆ _G_ predictions is beneficial for better performance on binding prediction.
|
| 310 |
+
|
| 311 |
+
- Ensembled DG models provide robust predictions on unseen antigen targets, essential for (de-novo) drug discovery.
|
| 312 |
+
|
| 313 |
+
## 7 CONCLUSION
|
| 314 |
+
|
| 315 |
+
We publicly release the codebase of our Antibody DomainBed pipeline as well as the associated antibody dataset representing the first large-molecule OOD benchmark of its kind. Our experiments suggest that DG methods have the capacity to significantly aid protein property prediction in the presence of complex distribution shifts. Antibody DomainBed enables the exploration of key theoretical questions that, when addressed, would maximize the impact of DG methods on biological problems. One question is: how can we generate diverse environments that would lead to optimal performance at test time? Related to this is the question of how to choose the different configurations governing each environment in a manner that would maximize learning for each DG algorithm. Finally, the ultimate OOD quest in the context of antibody design would be to produce accurate predictions for a completely new antigen. This will require the DG models to pick up on truly causal, or mechanistic, features governing the binding interaction. By open-sourcing our code as well as the data, we hope to motivate other ML researchers to aim at addressing impactful real-world applications close to the production setting.
|
| 316 |
+
|
| 317 |
+
9
|
| 318 |
+
|
| 319 |
+
## REFERENCES
|
| 320 |
+
|
| 321 |
+
- Kartik Ahuja, Ethan Caballero, Dinghuai Zhang, Jean-Christophe Gagnon-Audet, Yoshua Bengio, Ioannis Mitliagkas, and Irina Rish. Invariance principle meets information bottleneck for out-ofdistribution generalization. _Advances in Neural Information Processing Systems_ , 34:3438–3450, 2021.
|
| 322 |
+
|
| 323 |
+
- Martin Arjovsky, L´eon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. _arXiv preprint arXiv:1907.02893_ , 2019.
|
| 324 |
+
|
| 325 |
+
- Devansh Arpit, Huan Wang, Yingbo Zhou, and Caiming Xiong. Ensemble of averages: Improving model selection and boosting performance in domain generalization. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), _Advances in Neural Information Processing Systems_ , 2022. URL [URL removed]
|
| 326 |
+
|
| 327 |
+
- David Baehrens, Timon Schroeter, Stefan Harmeling, Motoaki Kawanabe, Katja Hansen, and KlausRobert M¨uller. How to explain individual classification decisions. _The Journal of Machine Learning Research_ , 11:1803–1831, 2010.
|
| 328 |
+
|
| 329 |
+
- Kyle A Barlow, Shane O Conchuir, Samuel Thompson, Pooja Suresh, James E Lucas, Markus Heinonen, and Tanja Kortemme. Flex ddg: Rosetta ensemble-based estimation of changes in protein–protein binding affinity upon mutation. _The Journal of Physical Chemistry B_ , 122(21): 5389–5399, 2018.
|
| 330 |
+
|
| 331 |
+
- Sara Beery, Dan Morris, and Siyu Yang. Efficient pipeline for camera trap image review. _arXiv preprint arXiv:1907.06772_ , 2019.
|
| 332 |
+
|
| 333 |
+
- Daniel Berenberg, Jae Hyeon Lee, Simon Kelow, Ji Won Park, Andrew Watkins, Vladimir Gligorijevi´c, Richard Bonneau, Stephen Ra, and Kyunghyun Cho. Multi-segment preserving sampling for deep manifold sampler. _arXiv preprint arXiv:2205.04259_ , 2022.
|
| 334 |
+
|
| 335 |
+
- Gilles Blanchard, Gyemin Lee, and Clayton Scott. Generalizing from several related classification tasks to a new unlabeled sample. _Advances in neural information processing systems_ , 24, 2011.
|
| 336 |
+
|
| 337 |
+
- Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. _arXiv preprint arXiv:2108.07258_ , 2021.
|
| 338 |
+
|
| 339 |
+
- Benjamin Buchfink, Klaus Reuter, and Hajk-Georg Drost. Sensitive protein alignments at tree-oflife scale using diamond. _Nature methods_ , 18(4):366–368, 2021.
|
| 340 |
+
|
| 341 |
+
- Junbum Cha, Sanghyuk Chun, Kyungjae Lee, Han-Cheol Cho, Seunghyun Park, Yunsung Lee, and Sungrae Park. SWAD: Domain generalization by seeking flat minima. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan (eds.), _Advances in Neural Information Processing Systems_ , 2021. URL [URL removed]
|
| 342 |
+
|
| 343 |
+
- Sidhartha Chaudhury, Sergey Lyskov, and Jeffrey J Gray. Pyrosetta: a script-based interface for implementing molecular modeling algorithms using rosetta. _Bioinformatics_ , 26(5):689–691, 2010.
|
| 344 |
+
|
| 345 |
+
- Anthony J Clark, Tatyana Gindin, Baoshan Zhang, Lingle Wang, Robert Abel, Colleen S Murret, Fang Xu, Amy Bao, Nina J Lu, Tongqing Zhou, et al. Free energy perturbation calculation of relative binding free energy between broadly neutralizing antibodies and the gp120 glycoprotein of hiv-1. _Journal of molecular biology_ , 429(7):930–947, 2017.
|
| 346 |
+
|
| 347 |
+
- Anthony J Clark, Christopher Negron, Kevin Hauser, Mengzhen Sun, Lingle Wang, Robert Abel, and Richard A Friesner. Relative binding affinity prediction of charge-changing sequence mutations with fep in protein–protein interfaces. _Journal of molecular biology_ , 431(7):1481–1493, 2019.
|
| 348 |
+
|
| 349 |
+
- James Dunbar, Konrad Krawczyk, Jinwoo Leem, Terry Baker, Angelika Fuchs, Guy Georges, Jiye Shi, and Charlotte M Deane. Sabdab: the structural antibody database. _Nucleic acids research_ , 42(D1):D1140–D1146, 2014.
|
| 350 |
+
|
| 351 |
+
10
|
| 352 |
+
|
| 353 |
+
- Nathan C Frey, Dan Berenberg, Joseph Kleinhenz, Isidro Hotzel, Julien Lafrance-Vanasse, Ryan Lewis Kelly, Yan Wu, Arvind Rajpal, Stephen Ra, Richard Bonneau, et al. Learning protein family manifolds with smoothed energy-based models. In _ICLR 2023 Workshop on Physics for Machine Learning_ , 2023a.
|
| 354 |
+
|
| 355 |
+
- Nathan C Frey, Daniel Berenberg, Karina Zadorozhny, Joseph Kleinhenz, Julien Lafrance-Vanasse, Isidro Hotzel, Yan Wu, Stephen Ra, Richard Bonneau, Kyunghyun Cho, et al. Protein discovery with discrete walk-jump sampling. _arXiv preprint arXiv:2306.12360_ , 2023b.
|
| 356 |
+
|
| 357 |
+
- Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle, Franc¸ois Laviolette, Mario Marchand, and Victor Lempitsky. Domain-adversarial training of neural networks. _The journal of machine learning research_ , 17(1):2096–2030, 2016.
|
| 358 |
+
|
| 359 |
+
- V´eronique Giudicelli, Denys Chaume, and Marie-Paule Lefranc. Imgt/gene-db: a comprehensive database for human and mouse immunoglobulin and t cell receptor genes. _Nucleic acids research_ , 33(suppl ~~1~~ ):D256–D261, 2005.
|
| 360 |
+
|
| 361 |
+
- Vladimir Gligorijevi´c, Daniel Berenberg, Stephen Ra, Andrew Watkins, Simon Kelow, Kyunghyun Cho, and Richard Bonneau. Function-guided protein design by deep manifold sampling. _bioRxiv_ , pp. 2021–12, 2021.
|
| 362 |
+
|
| 363 |
+
- Nate Gruver, Samuel Stanton, Nathan C Frey, Tim GJ Rudner, Isidro Hotzel, Julien LafranceVanasse, Arvind Rajpal, Kyunghyun Cho, and Andrew Gordon Wilson. Protein design with guided discrete diffusion. _arXiv preprint arXiv:2305.20009_ , 2023.
|
| 364 |
+
|
| 365 |
+
- Ishaan Gulrajani and David Lopez-Paz. In search of lost domain generalization. _arXiv preprint arXiv:2007.01434_ , 2020.
|
| 366 |
+
|
| 367 |
+
- 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.
|
| 368 |
+
|
| 369 |
+
- Annemarie Honegger and Andreas PluEckthun. Yet another numbering scheme for immunoglobulin[`] variable domains: an automatic modeling and analysis tool. _Journal of molecular biology_ , 309 (3):657–670, 2001.
|
| 370 |
+
|
| 371 |
+
- Alissa M. Hummer, Constantin Schneider, Lewis Chinery, and Charlotte M. Deane. Investigating the volume and diversity of data needed for generalizable antibody-antigen g prediction. _bioRxiv_ , 2023. doi: 10.1101/2023.05.17.541222. URL [URL removed] early/2023/05/19/2023.05.17.541222.
|
| 372 |
+
|
| 373 |
+
- Pavel Izmailov, Dmitrii Podoprikhin, Timur Garipov, Dmitry Vetrov, and Andrew Gordon Wilson. Averaging weights leads to wider optima and better generalization. _arXiv preprint arXiv:1803.05407_ , 2018.
|
| 374 |
+
|
| 375 |
+
- Yuanfeng Ji, Lu Zhang, Jiaxiang Wu, Bingzhe Wu, Lanqing Li, Long-Kai Huang, Tingyang Xu, Yu Rong, Jie Ren, Ding Xue, Houtim Lai, Wei Liu, Junzhou Huang, Shuigeng Zhou, Ping Luo, Peilin Zhao, and Yatao Bian. Drugood: Out-of-distribution dataset curator and benchmark for ai-aided drug discovery – a focus on affinity prediction problems with noise annotations. _Proceedings of the AAAI Conference on Artificial Intelligence_ , 37(7):8023–8031, Jun. 2023. doi: 10.1609/aaai.v37i7.25970. URL [URL removed] AAAI/article/view/25970.
|
| 376 |
+
|
| 377 |
+
- William L Jorgensen and Laura L Thomas. Perspective on free-energy perturbation calculations for chemical equilibria. _Journal of chemical theory and computation_ , 4(6):869–876, 2008.
|
| 378 |
+
|
| 379 |
+
- Pang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie, Marvin Zhang, Akshay Balsubramani, Weihua Hu, Michihiro Yasunaga, Richard Lanas Phillips, Irena Gao, Tony Lee, Etienne David, Ian Stavness, Wei Guo, Berton Earnshaw, Imran Haque, Sara M Beery, Jure Leskovec, Anshul Kundaje, Emma Pierson, Sergey Levine, Chelsea Finn, and Percy Liang. Wilds: A benchmark of in-the-wild distribution shifts. In Marina Meila and Tong Zhang (eds.), _Proceedings of the 38th International Conference on Machine Learning_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 5637–5664. PMLR, 18–24 Jul 2021a. URL [URL removed]
|
| 380 |
+
|
| 381 |
+
11
|
| 382 |
+
|
| 383 |
+
- Pang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie, Marvin Zhang, Akshay Balsubramani, Weihua Hu, Michihiro Yasunaga, Richard Lanas Phillips, Irena Gao, et al. Wilds: A benchmark of in-the-wild distribution shifts. In _International Conference on Machine Learning_ , pp. 5637–5664. PMLR, 2021b.
|
| 384 |
+
|
| 385 |
+
- David Krueger, Ethan Caballero, Joern-Henrik Jacobsen, Amy Zhang, Jonathan Binas, Dinghuai Zhang, Remi Le Priol, and Aaron Courville. Out-of-distribution generalization via risk extrapolation (rex). In _International Conference on Machine Learning_ , pp. 5815–5826. PMLR, 2021.
|
| 386 |
+
|
| 387 |
+
- Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. _Advances in neural information processing systems_ , 30, 2017.
|
| 388 |
+
|
| 389 |
+
- Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Nikita Smetanin, Robert Verkuil, Ori Kabeli, Yaniv Shmueli, et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. _Science_ , 379(6637):1123–1130, 2023.
|
| 390 |
+
|
| 391 |
+
- Aengus Lynch, Gb`etondji JS Dovonon, Jean Kaddour, and Ricardo Silva. Spawrious: A benchmark for fine control of spurious correlation biases. _arXiv preprint arXiv:2303.05470_ , 2023.
|
| 392 |
+
|
| 393 |
+
- Sai Pooja Mahajan, Jeffrey A Ruffolo, Rahel Frick, and Jeffrey J Gray. Hallucinating structureconditioned antibody libraries for target-specific binders. _Frontiers in immunology_ , 13:999034, 2022.
|
| 394 |
+
|
| 395 |
+
- Derek M Mason, Simon Friedensohn, C´edric R Weber, Christian Jordi, Bastian Wagner, Simon M Meng, Roy A Ehling, Lucia Bonati, Jan Dahinden, Pablo Gainza, et al. Optimization of therapeutic antibodies by predicting antigen specificity from antibody sequence via deep learning. _Nature Biomedical Engineering_ , 5(6):600–612, 2021.
|
| 396 |
+
|
| 397 |
+
- Igor Melnyk, Vijil Chenthamarakshan, Pin-Yu Chen, Payel Das, Amit Dhurandhar, Inkit Padhi, and Devleena Das. Reprogramming pretrained language models for antibody sequence infilling. 2023.
|
| 398 |
+
|
| 399 |
+
- Veronica Morea, Anna Tramontano, Mauro Rustici, Cyrus Chothia, and Arthur M Lesk. Conformations of the third hypervariable region in the vh domain of immunoglobulins. _Journal of molecular biology_ , 275(2):269–294, 1998.
|
| 400 |
+
|
| 401 |
+
- Krikamol Muandet, David Balduzzi, and Bernhard Sch¨olkopf. Domain generalization via invariant feature representation. In _International conference on machine learning_ , pp. 10–18. PMLR, 2013.
|
| 402 |
+
|
| 403 |
+
- Yannic Neuhaus, Maximilian Augustin, Valentyn Boreiko, and Matthias Hein. Spurious features everywhere–large-scale detection of harmful spurious features in imagenet. _arXiv preprint arXiv:2212.04871_ , 2022.
|
| 404 |
+
|
| 405 |
+
- Tobias H Olsen, Fergus Boyles, and Charlotte M Deane. Observed antibody space: A diverse database of cleaned, annotated, and translated unpaired and paired antibody sequences. _Protein Science_ , 31(1):141–146, 2022.
|
| 406 |
+
|
| 407 |
+
- Giambattista Parascandolo, Alexander Neitz, Antonio Orvieto, Luigi Gresele, and Bernhard Sch¨olkopf. Learning explanations that are hard to vary. _arXiv preprint arXiv:2009.00329_ , 2020.
|
| 408 |
+
|
| 409 |
+
- Ji Won Park, Samuel Stanton, Saeed Saremi, Andrew Watkins, Henri Dwyer, Vladimir Gligorijevic, Richard Bonneau, Stephen Ra, and Kyunghyun Cho. Propertydag: Multi-objective bayesian optimization of partially ordered, mixed-variable properties for biological sequence design. _arXiv preprint arXiv:2210.04096_ , 2022.
|
| 410 |
+
|
| 411 |
+
- Judea Pearl. _Causality_ . Cambridge university press, 2009.
|
| 412 |
+
|
| 413 |
+
- Jonas Peters, Peter B¨uhlmann, and Nicolai Meinshausen. Causal inference by using invariant prediction: identification and confidence intervals. _Journal of the Royal Statistical Society. Series B (Statistical Methodology)_ , pp. 947–1012, 2016.
|
| 414 |
+
|
| 415 |
+
- David Prihoda, Jad Maamary, Andrew Waight, Veronica Juan, Laurence Fayadat-Dilman, Daniel Svozil, and Danny A Bitton. Biophi: A platform for antibody design, humanization, and humanness evaluation based on natural antibody repertoires and deep learning. In _MAbs_ , volume 14, pp. 2020203. Taylor & Francis, 2022.
|
| 416 |
+
|
| 417 |
+
12
|
| 418 |
+
|
| 419 |
+
- Alexandre Rame, Corentin Dancette, and Matthieu Cord. Fishr: Invariant gradient variances for out-of-distribution generalization. In _International Conference on Machine Learning_ , pp. 18347– 18377. PMLR, 2022a.
|
| 420 |
+
|
| 421 |
+
- Alexandre Rame, Matthieu Kirchmeyer, Thibaud Rahier, Alain Rakotomamonjy, patrick gallinari, and Matthieu Cord. Diverse weight averaging for out-of-distribution generalization. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), _Advances in Neural Information Processing Systems_ , 2022b. URL [URL removed] MqB3UB.
|
| 422 |
+
|
| 423 |
+
- Matthew IJ Raybould, Claire Marks, Alan P Lewis, Jiye Shi, Alexander Bujotzek, Bruck Taddese, and Charlotte M Deane. Thera-sabdab: the therapeutic structural antibody database. _Nucleic acids research_ , 48(D1):D383–D388, 2020.
|
| 424 |
+
|
| 425 |
+
- Christian Rolfo, Nele Van Der Steen, Patrick Pauwels, and Federico Cappuzzo. Onartuzumab in lung cancer: the fall of icarus?, 2015.
|
| 426 |
+
|
| 427 |
+
- Elan Rosenfeld, Pradeep Ravikumar, and Andrej Risteski. The risks of invariant risk minimization. _ICLR_ , 2021.
|
| 428 |
+
|
| 429 |
+
- Saeed Saremi and Aapo Hyvarinen. Neural empirical bayes. _Journal of Machine Learning Research_ , 20(1-23), 2019.
|
| 430 |
+
|
| 431 |
+
- Constantin Schneider, Matthew IJ Raybould, and Charlotte M Deane. Sabdab in the age of biotherapeutics: updates including sabdab-nano, the nanobody structure tracker. _Nucleic acids research_ , 50(D1):D1368–D1372, 2022.
|
| 432 |
+
|
| 433 |
+
- Yuge Shi, Jeffrey Seely, Philip HS Torr, N Siddharth, Awni Hannun, Nicolas Usunier, and Gabriel Synnaeve. Gradient matching for domain generalization. _arXiv preprint arXiv:2104.09937_ , 2021.
|
| 434 |
+
|
| 435 |
+
- Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. _arXiv preprint arXiv:1312.6034_ , 2013.
|
| 436 |
+
|
| 437 |
+
- Surjit Singh, Nitish K Tank, Pradeep Dwiwedi, Jaykaran Charan, Rimplejeet Kaur, Preeti Sidhu, and Vinay K Chugh. Monoclonal antibodies: a review. _Current clinical pharmacology_ , 13(2): 85–99, 2018.
|
| 438 |
+
|
| 439 |
+
- Sarah Sirin, James R Apgar, Eric M Bennett, and Amy E Keating. Ab-bind: antibody binding mutational database for computational affinity predictions. _Protein Science_ , 25(2):393–409, 2016.
|
| 440 |
+
|
| 441 |
+
- Baochen Sun and Kate Saenko. Deep coral: Correlation alignment for deep domain adaptation. In _Computer Vision–ECCV 2016 Workshops: Amsterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part III 14_ , pp. 443–450. Springer, 2016.
|
| 442 |
+
|
| 443 |
+
- Nataˇsa Tagasovska, Nathan C Frey, Andreas Loukas, Isidro H¨otzel, Julien Lafrance-Vanasse, Ryan Lewis Kelly, Yan Wu, Arvind Rajpal, Richard Bonneau, Kyunghyun Cho, et al. A paretooptimal compositional energy-based model for sampling and optimization of protein sequences. _NeurIPS AI4Science Workshop_ , 2022.
|
| 444 |
+
|
| 445 |
+
- Alexey Teplyakov and Gary L Gilliland. Canonical structures of short cdr-l3 in antibodies. _Proteins: Structure, Function, and Bioinformatics_ , 82(8):1668–1673, 2014.
|
| 446 |
+
|
| 447 |
+
- Antonio Torralba and Alexei A Efros. Unbiased look at dataset bias. In _CVPR 2011_ , pp. 1521–1528. IEEE, 2011.
|
| 448 |
+
|
| 449 |
+
- Prudencio Tossou, Cas Wognum, Michael Craig, Hadrien Mary, and Emmanuel Noutahi. Realworld molecular out-of-distribution: Specification and investigation, 07 2023.
|
| 450 |
+
|
| 451 |
+
- VN Vapnik. Principles of risk minimization for learning theory, advances in neural information processing nips 4 (pp. 831 _±_ 838), 1992.
|
| 452 |
+
|
| 453 |
+
- Mitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs, Raphael GontijoLopes, Ari S. Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time, 2022.
|
| 454 |
+
|
| 455 |
+
13
|
| 456 |
+
|
| 457 |
+
Chuanlong Xie, Fei Chen, Yue Liu, and Zhenguo Li. Risk variance penalization: From distributional robustness to causality. _arXiv preprint arXiv:2006.07544_ , 1, 2020.
|
| 458 |
+
|
| 459 |
+
- John R Zech, Marcus A Badgeley, Manway Liu, Anthony B Costa, Joseph J Titano, and Eric Karl Oermann. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. _PLoS medicine_ , 15(11):e1002683, 2018.
|
| 460 |
+
|
| 461 |
+
- Zuobai Zhang, Minghao Xu, Arian Jamasb, Vijil Chenthamarakshan, Aurelie Lozano, Payel Das, and Jian Tang. Protein representation learning by geometric structure pretraining. _arXiv preprint arXiv:2203.06125_ , 2022.
|
| 462 |
+
|
| 463 |
+
- Fangqiang Zhu, Feliza A Bourguet, William FD Bennett, Edmond Y Lau, Kathryn T Arrildt, Brent W Segelke, Adam T Zemla, Thomas A Desautels, and Daniel M Faissol. Large-scale application of free energy perturbation calculations for antibody design. _Scientific Reports_ , 12(1): 12489, 2022.
|
| 464 |
+
|
| 465 |
+
14
|
| 466 |
+
|
| 467 |
+
## A ADDITIONAL RESULTS FROM EXPERIMENTS
|
| 468 |
+
|
| 469 |
+
## A.1 MODEL SELECTION: TEST-DOMAIN VALIDATION SET
|
| 470 |
+
|
| 471 |
+
Table 3: Model selection: test-domain validation set, corresponding to the training domain validation set in the main text.
|
| 472 |
+
|
| 473 |
+
|**Algorithm**|**Env 0**|**Env 1**|**Env 2**|**Env 3**|**Avg**|
|
| 474 |
+
|---|---|---|---|---|---|
|
| 475 |
+
|random|50.5_±_0.0|52.4_±_5.2|38.8_±_0.0|49.1_±_1.1|47.7|
|
| 476 |
+
|||**ESM**||||
|
| 477 |
+
|ERM|60.5_±_0.9|67.6_±_0.6|69.3_±_0.5|66.1_±_0.5|65.9|
|
| 478 |
+
|ERM-ENS|62.1|69.1|73.2|69.2|68.4|
|
| 479 |
+
|SMA|62.9_±_0.8|68.3_±_0.4|70.7_±_0.5|66.7_±_0.4|67.1|
|
| 480 |
+
|SMA-ENS|63.8|70.0|72.8|68.3|68.7|
|
| 481 |
+
|IRM|59.2_±_0.5|65.5_±_1.8|68.6_±_0.3|63.6_±_1.1|64.2|
|
| 482 |
+
|IRM-ENS|62.3|68.9|70.4|66.9|67.1|
|
| 483 |
+
|CORAL|60.7_±_0.1|67.5_±_0.1|68.4_±_0.2|66.8_±_0.3|65.8|
|
| 484 |
+
|CORAL-ENS|62.6|70.5|71.9|67.7|68.2|
|
| 485 |
+
|VREx|60.4_±_1.1|65.4_±_0.9|69.6_±_0.5|65.9_±_0.2|65.3|
|
| 486 |
+
|VREx-ENS|62.4|68.3|73.0|68.1|68.0|
|
| 487 |
+
|Fish|61.0_±_1.6|65.9_±_0.5|70.6_±_1.3|66.3_±_0.3|66.2|
|
| 488 |
+
|||**SeqCNN**||||
|
| 489 |
+
|ERM|61.4_±_1.4|64.4_±_0.1|66.5_±_0.6|63.8_±_0.5|64.0|
|
| 490 |
+
|ERM-ENS|62.6|66.2|68.0|66.5|65.8|
|
| 491 |
+
|SMA|57.0_±_0.4|65.9_±_0.3|65.8_±_0.2|64.5_±_0.4|63.3|
|
| 492 |
+
|SMA-ENS|61.2|67.0|67.1|66.2|65.4|
|
| 493 |
+
|IRM|61.7_±_1.4|65.8_±_0.5|68.6_±_1.6|63.7_±_0.8|64.9|
|
| 494 |
+
|IRM-ENS|62.70|64.34|63.51|71.56|65.5|
|
| 495 |
+
|CORAL|58.3_±_1.5|65.3_±_0.5|65.9_±_0.9|63.2_±_0.8|63.2|
|
| 496 |
+
|CORAL-ENS|62.0|67.4|68.4|65.4|65.8|
|
| 497 |
+
|VREx|58.4_±_1.4|65.3_±_0.3|65.1_±_0.3|63.8_±_0.4|63.2|
|
| 498 |
+
|VREx-ENS|60.9|66.8|67.83|66.73|65.6|
|
| 499 |
+
|Fish|59.9_±_2.6|67.0_±_0.1|69.4_±_0.4|65.3_±_0.4|65.4|
|
| 500 |
+
|||**GearNet**||||
|
| 501 |
+
|ERM|62.7_±_1.6|79.7_±_0.4|85.9_±_1.2|76.0_±_0.5|76.1|
|
| 502 |
+
|ERM-ENS|**64.3**|81.7|**88.6**|**78.1**|**78.2**|
|
| 503 |
+
|VREx|58.0_±_0.1|73.8_±_1.0|82.3_±_1.5|72.5_±_0.3|71.6|
|
| 504 |
+
|VREx-ENS|62.2|77.3|86.9|74.6|75.3|
|
| 505 |
+
|
| 506 |
+
## A.2 IRM V1 PENALTY
|
| 507 |
+
|
| 508 |
+
The IRM v1 is a relaxation of IRM originally proposed by Arjovsky et al. (2019), where the classifier _w_ is fixed to a scalar 1. The loss function includes a penalty term _||∇w|w_ =1 _Re_ ( _w ·_ Φ) _||_[2] . Theorem 4 of Arjovsky et al. (2019) is used to justify the use of this term as the invariance penalty for all differentiable loss functions, such as the cross-entropy loss function used in this paper. Figure 7 plots this invariance penalty for various algorithms across the four environments. IRM carries the least IRM v1 penalty overall, as expected. Other invariance-based algorithms also carry low penalty values, while ERM and ERM-SMA have high penalty values, particularly in Env 0. The high relative penalty value in Env 0 is consistent with the accuracy for Env 0 being the lowest (see Table 2, Table 3).
|
| 509 |
+
|
| 510 |
+
## A.2.1 PLATFORM SPECIFICATIONS
|
| 511 |
+
|
| 512 |
+
All experiments have been executed on NVIDIA A100 Tensor Core GPU.
|
| 513 |
+
|
| 514 |
+
15
|
| 515 |
+
|
| 516 |
+
**==> picture [199 x 202] intentionally omitted <==**
|
| 517 |
+
|
| 518 |
+
**----- Start of picture text -----**<br>
|
| 519 |
+
2.50<br>ERM<br>2.25<br>2.00<br>ERM_SMA<br>1.75<br>IRM<br>1.50<br>1.25<br>Fish<br>1.00<br>CORAL<br>0.75<br>0.50<br>VREx<br>0.25<br>Env 0 Env 1 Env 2 Env 3<br>**----- End of picture text -----**<br>
|
| 520 |
+
|
| 521 |
+
Figure 7: ERM has the highest IRM v1 penalty across all environments. The highest penalty value for ERM in Env 0 is consistent with the accuracy for Env 0 being the lowest (see Table 2, Table 3).
|
| 522 |
+
|
| 523 |
+
## A.3 GENERALIZING TO NEW ANTIGEN TARGETS
|
| 524 |
+
|
| 525 |
+
One challenging yet practical scenario is being able to predict a property of interest for a new antigen that has not been seen during training. We were thus motivated to evaluate the DG algorithms to an unseen target, HER2. The data in this new domain, consisting only of HER2 designs, was obtained from Graphinity (Hummer et al., 2023), which significantly differs from the WJS generative model in the distribution of antibody sequences. Graphinity it is a brute-force method that starting from a seed sequence, applies all possible point mutations at each of the positions in the CDR3 loop of an antibody. Which means that this method produces antibodies with edit distance of only 1 (one amino acid different from the starting seed). This difference in sequence distance amounts to a change in covariate and sub-population shift, compared to the other environments with WJS designs. Additionally, since these designs were scored using a different ∆∆ _G_ model, FoldX, this environment also includes label shift. With so much distribution shift compared to the rest of the data, it is expected that models trained on the other targets (HIV and SARS-Cov-2) will not generalize to HER2 designs. However, we wanted to investigate if the DG algorithms will have some advantage over vanilla ERM.
|
| 526 |
+
|
| 527 |
+
The table below summarizes the results where environments consist of the data curated as described in section section 5. The results unfortunately are not in favour of any of the DG algorithms. There is an advantage of the SeqCNN framework achieving higher accuracy on environment 4, however, those number are still around 50% and hence we can not consider them useful since we could not use such model in practice.
|
| 528 |
+
|
| 529 |
+
We are further investigating if including a new target but without label shift (i.e. using the pyRosetta scores) may deliver better results. As previously mentioned, having a model that can reliably predict binding or other molecular properties while being antigen agnostic is of crucial importance in accelerating drug discovery and design.
|
| 530 |
+
|
| 531 |
+
## B DATASET PROPERTIES
|
| 532 |
+
|
| 533 |
+
In this section we evaluate the validity of the antibodies in our synthetic library. We do so, to ensure quality and reliability of the proposed benchmark. We evaluate the following properties:
|
| 534 |
+
|
| 535 |
+
> 1. _naturalness_ - measures the similarity of the antibody sequences in Antibody Domainbed to antibodies in OAS (Olsen et al., 2022), the largest publicly available database of natural
|
| 536 |
+
|
| 537 |
+
16
|
| 538 |
+
|
| 539 |
+
- antibodies. These scores come from the perplexity of a language model trained on the OAS database (Melnyk et al., 2023). Higher is better.
|
| 540 |
+
|
| 541 |
+
2. _OASis -Percentile/Identity/Germline Content_ we include three scores computed with the recent publicly available humanness evaluation platform BioPhi (Prihoda et al., 2022). We used the default setup in relaxed mode. Briefly, OASis identity score for an input sequence is calculated as the fraction of peptides with prevalence in therapeutic antibodies curated from OAS (Olsen et al., 2022). OASis Percentile converts the identity score to 0-100 range based on therapeutic antibodies such that 0% OASis percentile score corresponds to the least human and the 100% OASis percentile score corresponds to the most human antibody in the clinic. Germline content is yet another humanness score, which represents the percent sequence identity with a concatenation of the nearest human V and J gene (percent sequence identity with nearest human germline) with regards to IMGT Gene-DB (Giudicelli et al., 2005).
|
| 542 |
+
|
| 543 |
+
3. _bio-informatics properties_ hydrophobicity - a measure of the degree of affinity between water and a side chain of an amino acid; pi charge - the pH at which the antibody has no net electrical charge, this value depends on the charged amino acids the antibody contains; and aromaticity - binding of the two complementary surfaces is mostly driven by aromatic residues. For these three properties we use the corresponding bioPython implementations, and we compare the range of values to in-vitro functional antibodies (env 5).
|
| 544 |
+
|
| 545 |
+
4. _diamond_ we use this score to explore closeness of the proposed designs to the OAS database, by fast sequence alignment inspired by (Buchfink et al., 2021). Higher scores are preffered.
|
| 546 |
+
|
| 547 |
+
**==> picture [378 x 114] intentionally omitted <==**
|
| 548 |
+
|
| 549 |
+
Figure 8: OASis properties for Antibody domainbed computed using BioPhi (Prihoda et al., 2022). Note that env 5 was omitted due to proprietary reasons.
|
| 550 |
+
|
| 551 |
+
Our results are presented in Figure 9 and Figure 8. In Figure 9, first row, naturalness and diamond score, we confirm that WJS generated antibodies (env 0-3) have properties close to observed antibodies, and even more so, they achieve better scores than the single point mutations in Graphinity (env4) and the human-expert designs from internal in-vitro experiments (env5). Next, in the second row of Figure 9, we notice that the ranges of values for hydrophobicity, charge and aromaticity mostly overlap between WJS antibodies and in-vitro functional measurements (env5). These results reconfirm what was already included in the original WJS publication Frey et al. (2023a). In Figure 8 we investigate the humanness of the proposed antibodies. Note that since this platform requires uploading of sequences, we were not in position to score our internal experimental sequences. Hence, we provide the results only for env 0-3. These results confirm that the WJS antibodies provide a well-balanced mix of antibodies both close and far to the therapeutic human reference dataset (cf. Figure 3 in (Prihoda et al., 2022)), as expected within a drug design pipeline which leverages immunization campaigns (lead molecules from animal germlines) and ML generative models.
|
| 552 |
+
|
| 553 |
+
With this analysis in place, we are confident that our antibody benchmark is indeed representative of what we can expect in a real-world drug design framework.
|
| 554 |
+
|
| 555 |
+
## B.1 ∆∆ _G_ LABELS AS PROXY FOR AFFINITY MEASUREMENTS
|
| 556 |
+
|
| 557 |
+
The change in Gibbs free energy, ∆ _G_ , and the dissociation constant, _KD_ , can be shown to be theoretically equivalent up to a proportionality; we have ∆ _G_ = _RT_ ln _KD_ , where _R_ is the gas
|
| 558 |
+
|
| 559 |
+
17
|
| 560 |
+
|
| 561 |
+
Table 4: Model selection: train-domain validation set when HER2 is included.
|
| 562 |
+
|
| 563 |
+
|**Algorithm**|**env-0**|**env-1**|**env-2**|**env-3**|**env-4**|**Avg**|
|
| 564 |
+
|---|---|---|---|---|---|---|
|
| 565 |
+
||||**SeqCNN**||||
|
| 566 |
+
|ERM|63.2_±_1.0|66.2_±_0.9|66.2_±_0.8|64.9_±_0.1|46.6 +/- 3.5|61.42|
|
| 567 |
+
|ERM-ENS|62.3|66.1|69.7|65.9|51.93|63.18|
|
| 568 |
+
|SMA|61.8_±_0.9|66.5_±_0.3|66.1_±_0.2|64.9_±_0.3|51.9 +/- 1.5|62.24|
|
| 569 |
+
|SMA -ENS|58.6|66.9|68.8|66.1|**55.71**|**63.22**|
|
| 570 |
+
|IRM|60.0_±_0.9|64.4_±_0.2|69.6_±_0.9|63.5_±_0.6|39.1 +/- 4.4|59.32|
|
| 571 |
+
|IRM-ENS|62.4|66.5|73.2|65.1|43.06|59.32|
|
| 572 |
+
|VREx|60.1_±_1.6|65.7_±_1.0|66.3_±_0.6|64.9_±_0.4|49.7 +/- 1.8|61.34|
|
| 573 |
+
|VREx -ENS|61.5|66.9|68.2|66.1|48.85|62.31|
|
| 574 |
+
|Fish|58.2_±_1.3|66.0_±_0.2|68.2_±_0.6|65.8_±_0.3|51.5_±_2.2|61.94|
|
| 575 |
+
|
| 576 |
+
Table 5: Model selection: test-domain validation set (oracle) when HER2 is included.
|
| 577 |
+
|
| 578 |
+
|**Algorithm**|**env-0**|**env-1**|**env-2**|**env-3**|**env-4**|**Avg**|
|
| 579 |
+
|---|---|---|---|---|---|---|
|
| 580 |
+
||||**SeqCNN**||||
|
| 581 |
+
|ERM|61.4_±_1.4|64.4_±_0.1|66.5_±_0.6|63.8_±_0.5|54.5 +/- 1.1|62.12|
|
| 582 |
+
|ERM-ENS|62.6|66.2|68.0|65.9|38.41|60.22|
|
| 583 |
+
|SMA|57.0_±_0.4|65.9_±_0.3|65.8_±_0.2|64.5_±_0.4|50.7 +/- 1.7|60.78|
|
| 584 |
+
|SMA-ENS|61.2|67.0|67.1|66.2|45.07|61.34|
|
| 585 |
+
|IRM|61.7_±_1.4|65.8_±_0.5|68.6_±_1.6|63.7_±_0.8|58.9 +/- 2.3|63.74|
|
| 586 |
+
|IRM-ENS|62.70|64.34|63.51|71.56|59.53|64.32|
|
| 587 |
+
|VREx|58.4_±_1.4|65.3_±_0.3|65.1_±_0.3|63.8_±_0.4|53.6 +/- 0.1|61.24|
|
| 588 |
+
|VREx-ENS|60.9|66.8|67.83|66.73|40.47|60.54|
|
| 589 |
+
|Fish|59.9_±_2.6|67.0_±_0.1|69.4_±_0.4|65.3_±_0.4|52.0 +/- 1.2|62.72|
|
| 590 |
+
|
| 591 |
+
**==> picture [338 x 208] intentionally omitted <==**
|
| 592 |
+
|
| 593 |
+
Figure 9: Various properties for evaluating quality of synthetic antibodies. Please see text for details.
|
| 594 |
+
|
| 595 |
+
18
|
| 596 |
+
|
| 597 |
+
constant, 1 _._ 98722cal _/K ·_ mol, and _T_ is the absolute temperature (Jorgensen & Thomas, 2008). Binding free energies have been applied to identify mutant antibodies with high affinity (Clark et al., 2017; 2019; Zhu et al., 2022), supporting the use of ∆∆ _G_ as a synthetic proxy for _KD_ .
|
| 598 |
+
|
| 599 |
+
That said, free energy is not exactly computable and we have used Rosetta and FoldX scores as weak approximations. The distribution of Rosetta-computed ∆∆ _G_ is still well-separated for binders and non-binders from fluorescence-activated cell sorting (FACS) and the separation signal is even stronger for binders from surface plasmon resonance (SPR) (Mason et al., 2021; Mahajan et al., 2022). (FACS is a higher-throughput but noisier method of identifying binders compared to SPR.)
|
| 600 |
+
|
| 601 |
+
In the case of environments 0 - 3, there is significant noise in the computed ∆∆ _G_ between -1 and 1 kcal/mol, because Rosetta and FoldX are less accurate at predicting ∆∆ _G_ for mutations with only a small effect on binding (Sirin et al., 2016; Hummer et al., 2023). We therefore remove highly uncertain labels between -0.1 and 0.1 kcal/mol before attaching binary labels: label 1 if ∆∆ _G < −_ 0 _._ 1 (stabilizing) and label 0 if ∆∆ _G >_ 0 _._ 1 (destabilizing). We follow the following sign convention:
|
| 602 |
+
|
| 603 |
+
**==> picture [268 x 11] intentionally omitted <==**
|
| 604 |
+
|
| 605 |
+
such that negative ∆∆ _G_ is stabilizing. Note that this represents a sign flip relative to the convention followed by Hummer et al. (2023).
|
| 606 |
+
|
| 607 |
+
To validate the benefit of ∆∆ _G_ labels for predicting experimental binding measurements, we introduce environment 5, with details and description in Table 1. This environment consists solely of antibodies targeting a variant of the HER2 antigen. Binding labels were obtained from internally conducted surface plasmon resonance (SPR) experiments.
|
| 608 |
+
|
| 609 |
+
These variants overlap partially with antigen sequences in environment 4 (overlap between 30 - 70%); environment 4 is a subset of Graphinity (Hummer et al., 2023) and consists of synthetic single point designs aimed at HER2. The antibody sequences did not overlap with environment 4.
|
| 610 |
+
|
| 611 |
+
We report two baselines for evaluating the usefulness of training on ∆∆ _G_ labels:
|
| 612 |
+
|
| 613 |
+
- a random classifier.
|
| 614 |
+
|
| 615 |
+
- a binding affinity classifier, trained on 5K pairs of antibodies and binding measurements for 4 internal targets (none of them HER2). This baseline mimicks the vanilla setup in drug discovery, where predictive models are confronted to a zero-shot setting where they are evaluated on new targets that differ from previous in-vitro experiments. This binding affinity classifier has accuracy of 0.64, precision 0.49 and recall 0.5.
|
| 616 |
+
|
| 617 |
+
We then run Antibody Domain bed as previously, training on env 0-4 but now evaluating on env 5. Our results are included in Table 6 and 7. We highlight two main results:
|
| 618 |
+
|
| 619 |
+
- All algorithms, including ERM achieve better results than the two baselines (binding classifier and random). This reconfirms the benefit of ∆∆ _G_ labels.
|
| 620 |
+
|
| 621 |
+
- CORAL, and CORAL-ENS achieve highest ac curacy, confirming the benefit of leveraging the DG algorithms and our Antibody Domainbed benchmark.
|
| 622 |
+
|
| 623 |
+
- B.2 SEQUENCE DISTANCE ACROSS ENVIRONMENTS IN ANTIBODY DOMAINBED
|
| 624 |
+
|
| 625 |
+
In what follows we compare the different environments in terms of sequence similarity. A common unit for comparison in the antibody design space is the edits, or sequence distance which is a discrete value representing number of positions with different amino-acids between two or more antibody (protein) sequences.
|
| 626 |
+
|
| 627 |
+
As we tried to separate the effect of the different generative models, by placing their corresponding designs into different environments, such split also amounts to gradually increasing the sequence distance to the seeds as the environment number progresses. From Figure 11 we notice that highest sigma environment (env 2, WJS _σ_ = 2) include the smaller sequence distance environments (env 0 and 1, WJS _σ ∈{_ 0 _._ 5 _,_ 1 _,_ 1 _._ 5 _}_ .
|
| 628 |
+
|
| 629 |
+
Intuitively, smaller distances between sequences should amount to similar properties, however such intuition has never been confirmed fully as there is always a counter example where even a single
|
| 630 |
+
|
| 631 |
+
19
|
| 632 |
+
|
| 633 |
+
Table 6: Model selection: Train-domain validation set for env 5, _Kd_ measurements prediction.
|
| 634 |
+
|
| 635 |
+
|SeqCNN|**Accuracy**|**Precision**|**Recall**|
|
| 636 |
+
|---|---|---|---|
|
| 637 |
+
|random classifer|70.0|84.0|50.1|
|
| 638 |
+
|binding affnity classifer|64.0|49.0|50.0|
|
| 639 |
+
|ERM|76.0_±_5.7|**99.7**_±_**0.3**|81.4_±_6.4|
|
| 640 |
+
|ERM-ENS|72.6|98.31|**91.37**|
|
| 641 |
+
|SMA|61.7_±_8.6|99.2_±_0.0|85.0_±_7.5|
|
| 642 |
+
|SMA-ENS|76.92|98.49|76.86|
|
| 643 |
+
|VREx|68.3_±_5.8|98.9_±_0.2|72.6_±_12.4|
|
| 644 |
+
|VREx-ENS|60.00|99.28|54.12|
|
| 645 |
+
|CORAL|81.1_±_8.0|99.4_±_0.0|76.2_±_10.2|
|
| 646 |
+
|CORAL-ENS|**88.08**|98.71|89.80|
|
| 647 |
+
|
| 648 |
+
Table 7: Model selection: test-domain validation set for env 5, _Kd_ measurements prediction.
|
| 649 |
+
|
| 650 |
+
|SeqCNN|**Accuracy**|**Precision**|**Recall**|
|
| 651 |
+
|---|---|---|---|
|
| 652 |
+
|random classifer|70.0|84.0|50.1|
|
| 653 |
+
|binding affnity classifer|64.0|49.0|50.0|
|
| 654 |
+
|ERM|88.1_±_1.8|98.0_±_0.5|88.9_±_1.8|
|
| 655 |
+
|ERM-ENS|94.23|98.22|86.67|
|
| 656 |
+
|SMA|88.0_±_1.6|99.1_±_0.4|89.4_±_1.5|
|
| 657 |
+
|SMA-ENS|94.23|98.35|93.33|
|
| 658 |
+
|VREx|89.1_±_2.6|97.7_±_0.7|90.2_±_2.4|
|
| 659 |
+
|VREx-ENS|93.85|98.73|91.76|
|
| 660 |
+
|CORAL|91.0_±_3.5|97.7_±_1.0|89.7_±_2.1|
|
| 661 |
+
|CORAL-ENS|82.69|98.66|86.67|
|
| 662 |
+
|
| 663 |
+
point mutation may destroy some property of the antibody, depending on where its positioning in the sequence as well as its interaction with other atoms in the molecule or its’ surroundings. We also notice this paradox in our results, the smallest distance environments usually being the most challenging one for all DG models, regardless of the backbone or the fact that such sequences have also been generated by the generative models in the other environments.
|
| 664 |
+
|
| 665 |
+
## B.3 MODEL SIZE ROBUSTNESS
|
| 666 |
+
|
| 667 |
+
We additionally explored the necessity for larger models, by fine-tuning a 4x larger ESM model with 35M parameters. Due to memory issues, we had to reduce the batch size to 8 (while ESM 8M was run with batch size 12), and to compensate we increased the number of steps to 30 000 (ESM 8M had 15 000 steps). We repeated this experiment 3 times for 5 combinations of hyper parameters. Due to the computational intensity of this model and time constraints, we could only include three of the baseline in our current results. We don’t notice any gain in the performance for Antibody Domainbed by increasing the model size.
|
| 668 |
+
|
| 669 |
+
## C CONTEXT - ANTIBODY STRUCTURE
|
| 670 |
+
|
| 671 |
+
Antibodies or immunoglobulins (Ig) maintain a common four -piece structure consisted of two identical heavy chains (HCs) and two identical light chains (LCs). The subunites are connected by disulfide bridges linking HCs and LCs together, forming the canonical “Y” shape of antibodies.
|
| 672 |
+
|
| 673 |
+
The most important regions for antibody design are the variable domains (V) of both the heavy and light chains (VH and VL, respectively). These are the regions that interact with the antigens. These domains determine the specificity of an antibody (how likely it is to attach to other molecules in the
|
| 674 |
+
|
| 675 |
+
20
|
| 676 |
+
|
| 677 |
+
**==> picture [338 x 98] intentionally omitted <==**
|
| 678 |
+
|
| 679 |
+
Figure 10: Sequence distances between antibody designs and their corresponding seeds. Colored by environment according to the split presented in Table 1.
|
| 680 |
+
|
| 681 |
+
**==> picture [318 x 91] intentionally omitted <==**
|
| 682 |
+
|
| 683 |
+
**==> picture [318 x 92] intentionally omitted <==**
|
| 684 |
+
|
| 685 |
+
**==> picture [318 x 92] intentionally omitted <==**
|
| 686 |
+
|
| 687 |
+
**==> picture [318 x 91] intentionally omitted <==**
|
| 688 |
+
|
| 689 |
+
Figure 11: Sequence distances between antibody designs and their corresponding seeds for each WJS generative model.
|
| 690 |
+
|
| 691 |
+
21
|
| 692 |
+
|
| 693 |
+
Table 8: ESM 35M: Model selection with train and test-domain validation set.
|
| 694 |
+
|
| 695 |
+
|**Algorithm**|**env0**|**env1**|**env2**|**env3**|**Average**|
|
| 696 |
+
|---|---|---|---|---|---|
|
| 697 |
+
|||ESM 35M: train-domain||||
|
| 698 |
+
|ERM|61.3_±_1.7|66.5_±_0.5|63.8_±_3.7|64.5_±_0.6|64.0|
|
| 699 |
+
|SMA|62.6_±_1.6|66.8_±_0.8|70.5_±_0.0|63.1_±_1.5|65.7|
|
| 700 |
+
|VREx|61.9_±_0.8|66.5_±_0.0|65.9_±_3.4|66.0_±_0.2|65.1|
|
| 701 |
+
|VREx-ENS|62.39|68.27|71.10|67.49|67.31|
|
| 702 |
+
|||ESM 35M: test-domain||||
|
| 703 |
+
|ERM|60.6_±_0.7|66.8_±_0.7|60.0_±_6.1|63.9_±_0.4|62.8|
|
| 704 |
+
|SMA|62.8_±_1.5|66.8_±_1.2|69.2_±_0.0|63.8_±_2.0|65.6|
|
| 705 |
+
|VREx|61.3_±_0.8|66.7_±_0.5|64.0_±_4.4|65.8_±_0.3|64.4|
|
| 706 |
+
|VREx-ENS|60.78|68.34|71.27|67.14|66.9|
|
| 707 |
+
|
| 708 |
+
**==> picture [318 x 174] intentionally omitted <==**
|
| 709 |
+
|
| 710 |
+
Figure 12: The antigen binding site of an antibody contains CDR and FR regions. CDR regions (L1-3 and H1-3) make up the antigen binding site on the N-terminus of the antibody.
|
| 711 |
+
|
| 712 |
+
body) through highly variable amino acid sequences. On the other hand, the constant domains (C) on heavy and light chains interact with effector proteins and molecules Figure 12.
|
| 713 |
+
|
| 714 |
+
On a more granlular level, in the VH and VL domains, there are three complementarity-determining regions: CDR-H1, CDR-H2, and CDR-H3 for VH and CDR-L1, CDR-L2, CDR-L3 for VL. These subregions are highly variable in their amino acid sequences, and they form distinct loops creating a surface complementary to distinct antigens. CDR-H3 is known to be the main contributor to antigen recognition due to its sequence diversity, length, and favourable location. Since CDR-H3 loop has an impact on the loop conformations and antigen binding at the other CDRs, it is the main driver of specificity and binding affinity. In-between the CDRs, we see the framework regions (FR). Frameworks entail less variability and provide structural stability for the whole domain. The FR regions induce a _β_ sheet structure, at which the CDR loops are located at the outer edge, forming an antigen-binding site.
|
| 715 |
+
|
| 716 |
+
22
|
| 717 |
+
|
open_review/iclr2024_9077.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9077",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Efficient Unsupervised Knowledge Distillation with Space Similarity",
|
| 6 |
+
"abstract": "In this paper, we aim to boost performance of knowledge distillation without the ground-truth labels. Hence, a student can only rely on the response generated by its teacher. Many existing approaches under this setting rely on some form of feature/embedding queue to capture neighbourhood information. These queues can be as large as over 100k samples. Also, some of these methods rely on multitude of operations which as a result increases the memory requirement for training many folds. In this work, we show that merely working with the input batch (often of size $256$) it is possible to not only incorporate neighbourhood information but also obtain state of the art unsupervised distillation performance. We achieve this by introducing a simple space similarity loss component which works alongside the well known normalized cosine similarity computed on the final features. In this loss, we motivate each dimension of a student's feature space to be similar to the corresponding dimension of its teacher. With this seemingly simple addition, we are able to compete against many contemporary methods which either rely on large number of queued features or heavy pre-processing. We perform extensive experiments comparing our proposed approach to other state of the art methods on various computer vision tasks for established architectures.",
|
| 7 |
+
"rebuttal": "Thank you for dedicating your time to reviewing our paper and offering valuable insights and suggestions. As today marks the final day of discussion, we're curious if you've had an opportunity to review our responses to your queries. We're more than willing to provide further explanations or address any additional questions you may have. Your feedback is greatly appreciated.\n\n### Author Response\nWe thank the reviewer for providing clarification. \n\nTo answer reviewer's query with the standard KD loss (with only KL), we are sharing results below for the ImageNet (ResNet-18, EfficientNet-b0), CIFAR-100 tasks with the aforementioned loss. Moreover, we also share the runtime and TTR for the ResNet-18 distillation on ImageNet. \n\n**ImageNet**\n\n| **Method** | **ResNet-18 (top-1)** | **ResNet-18 (kNN)** | **Eff-b0 (top-1)** | **Eff-b0 (kNN)** |\n|--------|-------------|----------------|-----------|-----------|\n| KD | 58.16 | 54.31 | 61.49 | 56.10 | \n| CoSS | [...]\n\n### Author Response\nWe express our gratitude to the reviewer for their consistent and valuable feedback.\n\n> **It does not support the initial statement \"peak memory is often used as a reliable metric[1]\", but sounds more like the authors' opinion.**\n\nWe appreciate the reviewer feedback and subsequently have removed the peak-memory usage from Table 2. \n\n\n> **It is good to learn that the authors use the same batch size across methods. The reviewer suggests adding the clarifications to the paper.** \n\nWe appreciate the reviewer's acknowledgement. We will incorporate the suggested clarifications in [...]\n\n### Author Response\nWe thank the reviewer for their feedback and engagement in the discussion process.\n\n> **The clarification about positive samples is important to understand the difference from other contrastive learning methods. Here is a reference [1] that may be helpful to you.**\n\nWe thank the reviewer for sharing the reference. We have taken it into account to enrich our text in section 4 and section 6. \n\n> **Regarding Sec. 4, it would be helpful if you add these discussions** \n\nReviewing [1] and reviewer feedback, we have added further discussion in light of SSL training. Similar to [1] [...]\n\n### Author Response\n> Can authors conduct the experiment without $L_{co}$?\n\nBelow we compare results with only individual components of the loss. \n\n| | $L_{co}$ | $L_{ss}$ | $L_{coss}$ |\n|--------------|:--------:|:--------:|------------|\n| Resnet8x/32x | 72.05 | 73.53 | **73.90** |\n| Resnet-20/56 | 70.58 | 70.42 | **71.11** |\n\n> For the comparison with DIST, Did you use Pearson’s distance for DIST?\n\nYes, we utilised the Pearson's distance for DIST.\n\n### Author Response\n> **While the authors claim that the peak memory is often used as a reliable metric in [1], the reviewer couldn't shortly find any such claims in the paper. Where can we find such claims and data points in [1]?**\n\nIn the main paper, they don't cover what their metric 'GPU memory' corresponds to, but, in the appendix Tables 4,5 they specify the usage of peak GPU consumption as the metric. These numerical results correspond to the Figures 2,3 in their main paper (their section 5.3 highlights this fact) . Based on this, we believe that throughout their paper, the memory they r [...]\n\n### Author Response\n> **This is still a concern for the reviewer. Taking an average of peaked GPU spaces over batches should be noisy as only one data point is extracted at each batch, and the reviewer suggests discussing the GPU requirements using a more practical metric such as (how much GPU memory is consumed by a method) * (how long the method takes to complete the training)**\n\nWe thank the reviewer for their continued engagement. We’d like to highlight that the GPU space occupied is computed at each iteration and peak memory is often used as a reliable metric[1]. Though it may be noisy, b [...]\n\n### Author Response\n**We extend our sincere gratitude to the reviewer for investing their valuable time and expertise in reviewing our work. We're thrilled to hear their positive assessment of our work, particularly the elegant formulation of the proposed space similarity and the diverse experimental settings presented. We value the reviewer’s feedback and have carefully considered each suggestion to enhance the quality of our manuscript.** \n\n**We will be uploading the new version of our paper once we address the concerns and suggestions of all reviewers. We appreciate the reviewer’s patience [...]\n\n### Author Response (1/1)\n**We’d like to thank the reviewer for dedicating their valuable time to review our work. In particular, we are pleased to find that the reviewer appreciated the simplicity and presentation of our work. They have raised interesting points, which we aim to address below.**\n\n**We will be uploading the new version of our paper once we address the concerns and suggestions of all reviewers. We appreciate the reviewer’s patience in this regard.**\n\n> **Q1 & W1**: The space similarity is like the traditional cosine similarity loss. But the comparison over the cosine similarity [...]\n\n### Author Response (1/2)\n**We thank the reviewer for recognising the effort we put into conducting extensive experiments. Their acknowledgment of our work is truly appreciated. We value the opportunity to engage in a meaningful discussion about our submission, and the reviewer’s comments contribute significantly to that dialogue.** \n\n**We will be uploading the new version of our work once we address the concerns and suggestions of all reviewers. We appreciate the reviewer’s patience in this regard.**\n\n> **W1.A**: The proposed feature similarity and space similarity is neither well-explained n [...]\n\n### Author Response (1/2)\n**We would like to express our sincere gratitude to the reviewer for their time to evaluate and provide feedback on our work. In particular, we would like to thank the reviewer for recognizing the simplicity and efficiency of our approach. We are al\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
6,
|
| 11 |
+
6,
|
| 12 |
+
3,
|
| 13 |
+
5
|
| 14 |
+
],
|
| 15 |
+
"score_mean": 5.0,
|
| 16 |
+
"score_variance": 1.5,
|
| 17 |
+
"score_spread": 3,
|
| 18 |
+
"score_min": 3,
|
| 19 |
+
"score_max": 6,
|
| 20 |
+
"decision": "Reject",
|
| 21 |
+
"rebuttal_validity_ground_truth": false,
|
| 22 |
+
"meta_review": "This paper proposes a method for Knowledge Distillation (KD) from a teacher to a student model in an unsupervised setting, eliminating the need of having class labels during distillation. The authors show that applying a penalty term on the similarity between latent dimensions of teacher and student models can be beneficial.\n\n**Strengths**\n- The problem tackled is significant due to the limited research in unsupervised KD.\n- The authors have diligently tested their algorithm across a range of models and datasets, providing new evidence during the author-reviewer discussion phase.\n\n**Weaknesses**\n- The proposed method seems unable to capture the similarity of teacher-student latent spaces when, for example, one is a rotated version of the other.\n- Related to the above, the method is not designed to work with spaces of different dimensionalities. In such cases, the authors employ a projection for distillation, but this approach lacks sufficient insights and justifications.\n- There are concerns regarding the baseline results, suggesting a potential lack of rigorous validation against existing methods.\n- The effectiveness of the proposed method in semi-supervised or supervised settings remains unclear in the current submission.\n\nWhile the paper has its own merits, it appears that in its present form, it fails to adequately justify its claims, leading to the recommendation against acceptance.",
|
| 23 |
+
"forum_id": "QHVTxso1Is",
|
| 24 |
+
"primary_area": "unsupervised, self-supervised, semi-supervised, and supervised representation learning",
|
| 25 |
+
"n_reviews": 5,
|
| 26 |
+
"per_review": [
|
| 27 |
+
{
|
| 28 |
+
"reviewer": "Reviewer_jpJi",
|
| 29 |
+
"review_id": "uHT6Yuz2Uq",
|
| 30 |
+
"scores": {
|
| 31 |
+
"rating": 5,
|
| 32 |
+
"soundness": 2,
|
| 33 |
+
"presentation": 2,
|
| 34 |
+
"contribution": 3,
|
| 35 |
+
"confidence": 3
|
| 36 |
+
},
|
| 37 |
+
"review_text_chars": 2475,
|
| 38 |
+
"edit_detected": true,
|
| 39 |
+
"edit_delta_seconds": 764495,
|
| 40 |
+
"post_rebuttal_text_signal": false,
|
| 41 |
+
"score_mentions_in_text": []
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"reviewer": "Reviewer_ahHP",
|
| 45 |
+
"review_id": "hOKegXaI9u",
|
| 46 |
+
"scores": {
|
| 47 |
+
"rating": 6,
|
| 48 |
+
"soundness": 3,
|
| 49 |
+
"presentation": 2,
|
| 50 |
+
"contribution": 2,
|
| 51 |
+
"confidence": 4
|
| 52 |
+
},
|
| 53 |
+
"review_text_chars": 1611,
|
| 54 |
+
"edit_detected": true,
|
| 55 |
+
"edit_delta_seconds": 867934,
|
| 56 |
+
"post_rebuttal_text_signal": false,
|
| 57 |
+
"score_mentions_in_text": []
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"reviewer": "Reviewer_VMp2",
|
| 61 |
+
"review_id": "iSaNXU3Pkd",
|
| 62 |
+
"scores": {
|
| 63 |
+
"rating": 6,
|
| 64 |
+
"soundness": 2,
|
| 65 |
+
"presentation": 3,
|
| 66 |
+
"contribution": 2,
|
| 67 |
+
"confidence": 3
|
| 68 |
+
},
|
| 69 |
+
"review_text_chars": 2472,
|
| 70 |
+
"edit_detected": true,
|
| 71 |
+
"edit_delta_seconds": 1979373,
|
| 72 |
+
"post_rebuttal_text_signal": false,
|
| 73 |
+
"score_mentions_in_text": []
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"reviewer": "Reviewer_sCnR",
|
| 77 |
+
"review_id": "vxdyvQLPpa",
|
| 78 |
+
"scores": {
|
| 79 |
+
"rating": 3,
|
| 80 |
+
"soundness": 3,
|
| 81 |
+
"presentation": 3,
|
| 82 |
+
"contribution": 2,
|
| 83 |
+
"confidence": 4
|
| 84 |
+
},
|
| 85 |
+
"review_text_chars": 3041,
|
| 86 |
+
"edit_detected": true,
|
| 87 |
+
"edit_delta_seconds": 989356,
|
| 88 |
+
"post_rebuttal_text_signal": false,
|
| 89 |
+
"score_mentions_in_text": []
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"reviewer": "Reviewer_u1Un",
|
| 93 |
+
"review_id": "Xt7y1V5qBM",
|
| 94 |
+
"scores": {
|
| 95 |
+
"rating": 5,
|
| 96 |
+
"soundness": 2,
|
| 97 |
+
"presentation": 2,
|
| 98 |
+
"contribution": 2,
|
| 99 |
+
"confidence": 4
|
| 100 |
+
},
|
| 101 |
+
"review_text_chars": 5574,
|
| 102 |
+
"edit_detected": true,
|
| 103 |
+
"edit_delta_seconds": 2111289,
|
| 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_9077.md
ADDED
|
@@ -0,0 +1,756 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## EFFICIENT UNSUPERVISED KNOWLEDGE DISTILLATION WITH SPACE SIMILARITY
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
In this paper, we aim to boost performance of knowledge distillation without the ground-truth labels. Hence, a student can only rely on the response generated by its teacher. Many existing approaches under this setting rely on some form of feature/embedding queue to capture teacher’s knowledge. These queues can be as large as over 100k samples. Also, these methods rely on multitude of operations which as a result increases the memory requirement for training many folds. In this work, we show that merely working with the input batch (often of size 256) it is possible to not only incorporate neighbourhood information but also obtain strong unsupervised distillation performance. We achieve this by introducing a simple space similarity loss component which works alongside the well known normalized cosine similarity computed on the final features. In this loss, we motivate each dimension of a student’s feature space to be similar to the corresponding dimension of its teacher. With this seemingly simple addition, we are able to compete against many contemporary methods which either rely on large number of queued features or heavy pre-processing. We perform extensive experiments comparing our proposed approach to other state of the art methods on various computer vision tasks for established architectures. We will be sharing the official implementations to replicate our results and weights for the pre-trained models.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Deep learning has achieved remarkable empirical success with the ever-increasing model sizes (Radford et al., 2019; Dai et al., 2021). However, these memory-intensive models pose a challenge when migrating their empirical success to smaller devices, which require lightweight and fast solutions. Furthermore, training a large network under a budget that requires significant computation may be infeasible for a wider audience. Nevertheless, larger networks have the advantage of being more capable of extracting meaningful information from data than their lightweight counterparts.
|
| 14 |
+
|
| 15 |
+
**==> picture [198 x 148] intentionally omitted <==**
|
| 16 |
+
|
| 17 |
+
As a solution to the above mentioned scenario, knowledge distillation is proposed to transfer this rich knowledge from the larger network, Figure 1: **Resources required to distill a ResNet-18** referred to as “teacher”, to a much smaller net- **from a ResNet-50 teacher.** We report the runtime per itwork, the “student” (Hinton et al., 2015; Bueration in seconds and the total training resources (TTR) cilua et al., 2006).ˇ Hinton et al. (2015) extends required in GB hours. The evaluations were performed ˇ the idea of model compression by Bucilua et al. on a single DGX-A100 (80GB) GPU. Text annotations with the methods highlight the k-nearest classification (2006) for distilling knowledge of deep neural accuracy (k=10) on ImageNet networks. The approach is task-specific and described for a supervised setting which relied on the task-specific output probability distribution over the target classes. Many methods since then
|
| 18 |
+
|
| 19 |
+
Figure 1: **Resources required to distill a ResNet-18 from a ResNet-50 teacher.** We report the runtime per iteration in seconds and the total training resources (TTR) required in GB hours. The evaluations were performed on a single DGX-A100 (80GB) GPU. Text annotations with the methods highlight the k-nearest classification accuracy (k=10) on ImageNet
|
| 20 |
+
|
| 21 |
+
1
|
| 22 |
+
|
| 23 |
+
**==> picture [358 x 120] intentionally omitted <==**
|
| 24 |
+
|
| 25 |
+
**----- Start of picture text -----**<br>
|
| 26 |
+
feature similarity<br>, )<br>! "(<br>teacher model<br>space similarity<br>, )<br>! "(<br>student model ! ∈{0, 1,2, … }<br>batch of the input images<br>**----- End of picture text -----**<br>
|
| 27 |
+
|
| 28 |
+
Figure 2: **The proposed CoSS distillation framework.** In the graphic, we demonstrate similarity of one pair of corresponding feature dimension being maximised. We perform this maximisation for every corresponding pair for the teacher and student.
|
| 29 |
+
|
| 30 |
+
have introduced different novelties to transfer knowledge via some form of divergence minimisation or similarity maximisation (Romero et al., 2014; Tung & Mori, 2019; Zagoruyko & Komodakis, 2017; Chen et al., 2021a). However, most of these methods require ground-truth labels during the distillation process.
|
| 31 |
+
|
| 32 |
+
In recent years, the development of self-supervised learning (SSL) has allowed networks to be trained on larger datasets without labels, leading to generic representations that are task agnostic and superior downstream performances once fine-tuned (Doersch et al., 2015; Misra & Maaten, 2020; Jing & Tian, 2021). As a result, SSL is an active area of reasearch. However, smaller networks do not readily benefit from SSL due to the smaller number of parameters, leading to the failure of these models in learning underlying discriminative representations (Fang et al., 2021). To address this issue, Fang et al. (2021) proposes an unsupervised knowledge distillation framework called SEED that allows smaller networks to take advantage of the large amount of data for pre-training. Since the introduction of SEED, many other approaches have followed suite (Xu et al., 2022; Koohpayegani et al., 2020).
|
| 33 |
+
|
| 34 |
+
A common theme amongst existing unsupervised knowledge distillation methods is that they
|
| 35 |
+
|
| 36 |
+
1. Employ contrastive loss, which aims to minimise the deviation between the student and teacher embeddings.
|
| 37 |
+
|
| 38 |
+
2. Utilize a large common embedding queue(s) against which similarity is computed for a training sample.
|
| 39 |
+
|
| 40 |
+
3. Batch sampling or pair generation to focus on ‘important’ samples.
|
| 41 |
+
|
| 42 |
+
Though these operations have proven to be beneficial, we found that they often require extensive amount of resources to function. From figure 1, it can be observed that the recent approaches of unsupervised distillation require a significantly large amount of computing. Moreover, as many approaches require multiple steps of processing and sample gathering, the training also becomes significantly slower. We found training these methods to be challenging, even with modest configurations. In comparison, our proposed method CoSS, consumes the least amount of GPU resources while also being considerably faster than its peers. This efficiency in distillation does not compromise the quality of the student, as is evident from the corresponding classification performance. CoSS requires roughly similar GPU to SEED but achieves +5% in accuracy. Moreover, compared to BINGO, CoSS is roughly 3 _×_ faster and requires 3 _×_ less GPU memory while providing comparable accuracy.
|
| 43 |
+
|
| 44 |
+
In this paper, we aim to perform unsupervised knowledge distillation while also keeping the required resources to a minimum. We believe that for distilling a small network, we should not require drastically large amount of resources. We hypothesize that, if the unnormalized embedding manifold of the student is similar to its teacher, the student has learnt its teacher’s knowledge adequately. This would imply that student has learnt to map inputs in the ‘same’ way as the teacher onto the latent space. This will indirectly preserve various properties such as locality preservation, relative similarities which is often employed by existing distillation approaches. For this purpose, we propose a simple **space similarity** objective which works in conjunction with a traditional cosine similarity loss. In this loss, for each feature dimension of a student, we aim to maximise its similarity to the corresponding feature dimension of the teacher. Since this is processed over a training batch and only matching dimensions are considered, we manage to restrict the memory requirement for distillation
|
| 45 |
+
|
| 46 |
+
2
|
| 47 |
+
|
| 48 |
+
while also ensuring faster training. Figure 2 highlights our proposed loss component. Our main contributions are as follows:
|
| 49 |
+
|
| 50 |
+
- We introduce CoSS, a space similarity inclusive objective which motivates the student to mimic its teacher’s embedding structure.
|
| 51 |
+
|
| 52 |
+
- Our simple method performs more efficient unsupervised distillation than other state-of-theart methods.
|
| 53 |
+
|
| 54 |
+
- The simplicity of our approach does not impede the final performance of trained students. We report competitive results on standard distillation metrics.
|
| 55 |
+
|
| 56 |
+
- We evaluate various downstream tasks and find that the trained students with CoSS are more robust, transfers well, and are overall well-rounded.
|
| 57 |
+
|
| 58 |
+
The structure of the paper is as follows. In the subsequent section 2, we delve deeper into prior work. In section 3, we provide the details of our simple yet effective method. In section 4, utilizing a toy experiment, we demonstrate the importance of space alignment. In section 5, we report results on various benchmarks. We discuss the implications of our work and findings in section 6. Lastly, we conclude with final remarks in section 7.
|
| 59 |
+
|
| 60 |
+
## 2 RELATED WORK
|
| 61 |
+
|
| 62 |
+
Our study in this paper focuses on **unsupervised** distillation. Before we detail related works in the unsupervised regime, we first provide an introduction to the supervised distillation regime, which has a longer history, to better contextualize our proposed method.
|
| 63 |
+
|
| 64 |
+
## 2.1 SUPERVISED DISTILLATION
|
| 65 |
+
|
| 66 |
+
Early solutions for distillation have been designed for a fully supervised environment. Soft-label distillation (Hinton et al., 2015) is amongst the first work towards training smaller networks with guidance from larger teacher networks. Apart from supervised loss from the ground-truth labels, it minimises cross-entropy between the teacher’s and the student’s output distribution. The method relies on the teacher to be trained on a specific task and hence is dependent on a teacher’s training methodology. Many subsequent approaches since then have incorporated internal layers, attention mechanisms etc. to match various novel objectives between student and the teacher (Romero et al., 2014; Zagoruyko & Komodakis, 2017; Yim et al., 2017; Huang & Wang, 2017; Kim et al., 2018; Koratana et al., 2019; Tung & Mori, 2019; Ahn et al., 2019). However, as most of these approaches require careful selection of an appropriate statistic, it can be a drawback in practice for defining the distillation procedure for newer architectures.
|
| 67 |
+
|
| 68 |
+
Another set of methods exploit local and global relationships (Yu et al., 2019; Peng et al., 2019; Park et al., 2019). They mostly differ in the relationships for optimisation: PKT (Passalis & Tefas, 2018) models the interactions between the data samples in the feature space as a probability distribution. RKD (Park et al., 2019) enforces the student to learn similar distances and angles between the training samples to that of its teacher. DarkRank (Chen et al., 2018) employes learning to rank framework (Cao et al., 2007; Xia et al., 2008) for distillation with a focus on metric learning. LP (Chen et al., 2021a) further develops the idea of FitNets and introduces locality-preserving loss, which relies on identifying K-nearest neighbours within the training batch. Huang et al. (2022) introduces a correlation based formulation which is very similar to ours. The key difference apart from the problem setting (supervised vs. unsupervised) is that they normalise the predictions (via. softmax) and then compute inter and intra-class similarities afterwards. Whereas, we independently normalize spatial and feature dimensions. From the perspective of computing intra-class similarity, it is logical to apply the softmax beforehand for generating class-wise scores, however, when operating on the embedding space, any normalisation on the features alters the space information as well.
|
| 69 |
+
|
| 70 |
+
There are also methods which utilize self-supervision for knowledge distillation. CRD (Tian et al., 2020), WKD (Chen et al., 2021b) and SSKD (Xu et al., 2020) fall into this category. Specific to the vision transformers, DeiT (Touvron et al., 2021) is a fully supervised distillation method that uses distillation tokens. Distillation token plays a similar role as a class token, except that it aims at reproducing the label estimated by the teacher. Other approaches such as Coadvice(Ren et al., 2022) and DeadKD (Chen et al., 2022) focus on the data inefficiency aspect of supervised distillation. Lastly, there are also approaches which perform softmax regression (Yang et al., 2021), neural architecture search(Dong et al., 2023), and two stage training with novel modules(Liu et al., 2023).
|
| 71 |
+
|
| 72 |
+
3
|
| 73 |
+
|
| 74 |
+
## 2.2 UNSUPERVISED DISTILLATION
|
| 75 |
+
|
| 76 |
+
SEED (Fang et al., 2021) is the first work, to the best of our knowledge, that attempts to distill knowledge in a purely unsupervised fashion. They perform knowledge distillation of a self-supervised teacher by minimizing the divergence between the similarity response of teacher and student on a **common embedding queue** . This approach is similar to the supervised method of SSKD (Xu et al., 2020), but instead of the mini-batch, a much larger queue is used. CompRes (Koohpayegani et al., 2020) introduces two features queues for each teacher and student. DisCo (Gao et al., 2022) performs a consistency regularization between augmented versions of the input in addition to unsupervised distillation. BINGO (Xu et al., 2022) is a two-stage method for performing unsupervised distillation, and both stages are resource intensive in terms of memory and time. Also, like many other approaches, it also relies on a **large feature queue** with a relatively heavier augmentation in the form of CutMix(Yun et al., 2019). SMD (Liu & Ye, 2022) focuses on mining hard positive and negative pairs rather than operating on all pairs for distillation. To counter the influence of wrongly assigning positive and negative labels, they utilized a weighting strategy. Though they did not use a feature queue, the costly operations of finding hard samples and learning the weighting strategy added to the resource overhead.
|
| 77 |
+
|
| 78 |
+
## 2.3 KEY DIFFERENCES
|
| 79 |
+
|
| 80 |
+
Our proposed method is designed for unsupervised distillation, but we believe it stands out from existing methods in both supervised and unsupervised regimes, despite its simplicity. In particular, our approach focuses on directly motivating the student to learn its teacher’s latent manifold.. As a quantitative summary, CoSS differs from existing methods in the absence of (i) feature queues, (ii) contrastive objectives, (iii) heavy augmentations, and (iv) and custom batch composition (sampling strategy).
|
| 81 |
+
|
| 82 |
+
## 3 METHOD
|
| 83 |
+
|
| 84 |
+
We first introduce notations and then explain the CoSS objective. Let _ft_ and _fs_ be the teacher and student deep neural networks respectively. Since, we are working in an unsupervised setting, the labels are not known. We consider a dataset _D_ = _{x_ 0 _, x_ 1 _. . . xn}_ consisting of _n_ data points. The embeddings _ft_ ( _x_ ) _∈R[d][t]_ and _fs_ ( _x_ ) _∈R[d][s]_ is the response gathered at the penultimate layer of a network (typically after global average pooling (Lin et al., 2014a)). The scenario where _ds_ = _dt_ , we can use a small projection head for the student which can then be discarded after the distillation process (Fang et al., 2021; Xu et al., 2022). We thus simply replace _dt_ and _ds_ by _d_ . Let _B_ be the current mini-batch in training of size _b_ . We can denote the embedding representations of all inputs in _B_ generated by the teacher and student as matrices _At_ and _As ∈ R[b][×][d]_ respectively. Here, _A[i] ∗_[is the] embedding output _f∗_ ( _xi_ ).
|
| 85 |
+
|
| 86 |
+
ˆ Let, _A_ ˆ _∗_ = [ _._ denote a L2 normalized vector. _A_[ˆ][0] _∗[,][A]_[ˆ][1] _∗[, . . .][A]_[ˆ] _[b] ∗_[]] _[T]_[ .][The widely known normalized cosine similarity loss on features is defined] We can then compose a matrix of normalized feature vectors as:
|
| 87 |
+
|
| 88 |
+
**==> picture [263 x 30] intentionally omitted <==**
|
| 89 |
+
|
| 90 |
+
The loss computes the cosine similarity between corresponding embeddings of the teacher and student. Similarly, we can also compute similarity for each feature dimension. We define transpose matrix of features _Z∗_ = _A[T] ∗_[and its normalized version as] _Z_[ˆ] _∗_ . The space similarity component of our final loss is
|
| 91 |
+
|
| 92 |
+
**==> picture [264 x 31] intentionally omitted <==**
|
| 93 |
+
|
| 94 |
+
It is very simple to implement and only requires one to transpose the feature matrices prior to the similarity computation. Our final objective is composed of weighted combination of **Co** sine similarity and **S** pace **S** imilarity:
|
| 95 |
+
|
| 96 |
+
_LCoSS_ = _Lco_ + _λLss_ (3)
|
| 97 |
+
|
| 98 |
+
4
|
| 99 |
+
|
| 100 |
+
**==> picture [96 x 92] intentionally omitted <==**
|
| 101 |
+
|
| 102 |
+
**==> picture [96 x 91] intentionally omitted <==**
|
| 103 |
+
|
| 104 |
+
**==> picture [100 x 90] intentionally omitted <==**
|
| 105 |
+
|
| 106 |
+
**==> picture [96 x 89] intentionally omitted <==**
|
| 107 |
+
|
| 108 |
+
**==> picture [96 x 91] intentionally omitted <==**
|
| 109 |
+
|
| 110 |
+
**==> picture [96 x 91] intentionally omitted <==**
|
| 111 |
+
|
| 112 |
+
**==> picture [96 x 91] intentionally omitted <==**
|
| 113 |
+
|
| 114 |
+
**==> picture [96 x 89] intentionally omitted <==**
|
| 115 |
+
|
| 116 |
+
**==> picture [348 x 9] intentionally omitted <==**
|
| 117 |
+
|
| 118 |
+
**----- Start of picture text -----**<br>
|
| 119 |
+
(a) Training Samples (b) Teacher (c) SEED (d) CoSS<br>**----- End of picture text -----**<br>
|
| 120 |
+
|
| 121 |
+
Figure 3: **Plots comparing the latent space of the teacher with SEED and CoSS students.** Eventhough the SEED student is able to learn a viable solution (achieving comparable downstream accuracy), the latent space learnt is significantly different from its teacher. CoSS, on the other hand, is able to faithfully model it’s teacher’s embedding space better.
|
| 122 |
+
|
| 123 |
+
Figure 2 provides a pictorial representation of our approach. Feature similarity compares the features being extracted for a single sample by the teacher and student whereas, space similarity compares features from different input samples together.
|
| 124 |
+
|
| 125 |
+
CoSS only performs pairwise comparison which is one of the main differences from existing unsupervised distillation methods which leverage a contrastive learning framework and perform one-to-many comparisons. This pair is formed only of “positive” samples, i.e. the output embeddings for the same input for teacher and student for _Lco_ and corresponding spatial dimensions of teacher and student for _Lss_ . Pairwise alignment or considering only positives has been explored successfully in the setting of self-supervised learning (Grill et al., 2020; Chen & He, 2021) which we have applied to the problem of unsupervised distillation.
|
| 126 |
+
|
| 127 |
+
## 4 IMPORTANCE OF SPACE SIMILARITY
|
| 128 |
+
|
| 129 |
+
In deep learning, it is generally accepted that neural networks learn a mapping from high dimensional space to a low dimensional manifold. However, explicit statements about the assumption of a locally euclidean manifold in the context of unsupervised learning can be relatively rare, as this assumption is often fundamental to the underlying methods without being explicitly articulated in the papers. For example, many unsupervised learning methods employ manifold learning based data visualisations(Oord et al., 2018; Zhuang et al., 2021). These manifold learning approaches in their workings assume the embedding manifold to be locally eucldiean(Cayton et al., 2008; Van der Maaten & Hinton, 2008). This assumption of the manifold being locally euclidean, allows us to treat the embedded manifold as a topological manifold. Here, we present a simple argument to show that methods only relying on an embedding queue cannot learn the teacher’s embedding structure reliably. **Definition 4.1.** _Two topological spaces X , Y are homeomorphic if there exists a mapping f_ : _X →Y s.t. f is continuous, bijective and its inverse function f[−]_[1] _is also continuous._ Homeomorphism(Poincare, 2010) defines the concept of similarity (equivalence) between the two´ topological spaces. For SEED (Fang et al., 2021) and similar others, which only rely on normalized cosine similarity, the student’s normalized manifold and the original teacher’s manifold are not homeomorphic. This is because the operation of _L_ 2 normalisation is not a homeomorphism. It is not continuous, bijective, and lacks a continuous inverse. A straight forward example to support it is that, all points lying on the ray starting from the origin will result in multiple points being mapped onto the same point on a _d−_ dimensional hyper-sphere. Hence, minimisation of an objective operating on the normalized space will not preserve the original **un-normalized** structure. With space similarity, for a point, dimension-wise normalization (or scaling down) is a bijective and continuous mapping with a differentiable inverse. This implies that dimension normalisation preserves the similarity between
|
| 130 |
+
|
| 131 |
+
5
|
| 132 |
+
|
| 133 |
+
unnormalized and normalized manifolds. With this added objective, we aim to approximate the normalized embedding space of a teacher thereby, also approximating the original un-normalized space.
|
| 134 |
+
|
| 135 |
+
With figure 3, we demonstrate our argument with a set of toy experiments (training details in section A.1). Using simple datasets, we first train the teacher for a classification task. It can be observed that the teacher’s embedding manifold has a non-trivial structure associated with it. Next, using SEED and CoSS’ objectives, we perform the unsupervised knowledge distillation. SEED, though able to produce linearly separable latent embeddings, fails to adequately replicate teacher’s manifold. However, with CoSS, we are able to replicate finer structures in the teacher’s latent space. In Appendix A.3, we quantitatively measure goodness of CoSS’ learnt latent embedding space. Specifically, we measure the similarity of local neighbourhood between a student and its teacher.
|
| 136 |
+
|
| 137 |
+
## 5 EXPERIMENTS
|
| 138 |
+
|
| 139 |
+
## 5.1 UNSUPERVISED DISTILLATION
|
| 140 |
+
|
| 141 |
+
We follow SEED’s protocols for training and distilling the student networks. For SMD, however, we followed the authors’ reported training recipe which was different to that of SEED. We compare our work with existing unsupervised distillation approaches of SEED, BINGO, DisCo, and SMD. We also include the extension of standard KD objective (Hinton et al., 2015) to the feature space and denote is as SKD. Previously, this extension has been applied for self-supervised learning (Caron et al., 2021).Further implementation details are provided in the Appendix (section A.1).
|
| 142 |
+
|
| 143 |
+
**Linear evaluation:** We train the classification layer while freezing the remainder of the student network. In table 1, we report the top-1 accuracy computed over the ImageNet validation set. CoSS consistently outperforms SEED while providing competing performance to resource hungry BINGO and DisCo on ResNet-18 and Efficientnet-b0. SKD, where we applied the standard KD in the feature space performs well on the unsupervised distillation task. It is also interesting to note that for ViT, there is a significant drop in performance of baselines. Often, a drop in performance is observed during the cross-architecture distillation (Tian et al., 2020). The reason given for such an observation is the difference in the inductive biases of the networks. We suspect that in addition to this, our alignment based objective is less constraining than the contrastive loss based objectives of the baselines.
|
| 144 |
+
|
| 145 |
+
**KNN classification:** Linear evaluation introduces additional parameters to the benchmarking. It often requires extensive hyper-parameter tuning to find optimal parameters. K-nearest classification on the other hand, allows us to evaluate the methods directly without the need of tuning parameters (Xu et al., 2022; Fang et al., 2021). As a result, we believe KNN is a fairer evaluation strategy for comparing different distillation methods.
|
| 146 |
+
|
| 147 |
+
We choose 10 nearest neighbours from the training samples and assign the majority class as the prediction (ablation in section A.2 provides results on different neighbourhood size). As shown in table 1, CoSS achieves state of the art performance for this metric. Also, it is interesting to note that even though for scenarios where CoSS performed lower in top-1, we achieved better KNN accuracy. We believe that this is due to the better modelling of the manifold which the space similarity objective provides.
|
| 148 |
+
|
| 149 |
+
## 5.2 EFFICIENCY
|
| 150 |
+
|
| 151 |
+
A main goal for distillation is to train a smaller netowork which is on par with its teacher. We believe in-order to distill onto a small student the resources required should not be drastically large. Here, we show that our approach requires the least amount of resources to perform unsupervised distillation. Mainly, we measure and report training time per iteration (in seconds) computed over 1000 iterations and Total-training-resources (TTR) required to train the student model. We compute TTR as the product of total number of training iterations, mean peak GPU memory usage per iteration and total training time of the distillation process. It captures the total amount of memory consumed for the entirety of training (reported in GB Hours). For a fair comparison, we computed each method on identical machines (Nvidia-A100 80GB) with auto-mixed precision disabled where necessary and set the batch size as 256.
|
| 152 |
+
|
| 153 |
+
6
|
| 154 |
+
|
| 155 |
+
Table 1: **Unsupervised distillation of a (self-supervised) teacher on ImageNet-1K.** The _teacher_ and _student_ correspond to models trained using Moco-v2. Values with ***** are reported directly from the original paper. DisCo training fails for the ViT and hence the missing entry. We highlight the best student performance in **bold**
|
| 156 |
+
|
| 157 |
+
|Methods|ResNet-18<br>Top-1<br>KNN-10|ResNet-50 (67.40)<br>ResNet-34<br>Top-1<br>KNN-10|Eff-b0<br>Top-1<br>KNN-10|ViT-Ti<br>Top-1<br>KNN-10|
|
| 158 |
+
|---|---|---|---|---|
|
| 159 |
+
|Student|51.38<br>41.99|57.40<br>41.50|41.81<br>31.10|27.70<br>23.27|
|
| 160 |
+
|SKD (Hinton et al., 2015)<br>SEED (Fang et al., 2021)<br>BINGO (Xu et al., 2022)<br>DisCo (Gao et al., 2022)<br>SMD (Liu & Ye, 2022)<br>CoSS (ours)|58.16<br>54.31<br>57.96<br>50.12<br>**60.10**<br>54.28<br>60.01<br>52.27<br>59.56<br>49.69<br>59.24<br>**55.04**|–<br>–<br>58.50*<br>45.20*<br>**63.50***<br>_×_<br>61.74<br>53.65<br>–<br>–<br>60.95<br>**55.61**|61.49<br>56.10<br>61.44<br>53.11<br>62.01<br>54.75<br>**63.95**<br>54.78<br>–<br>–<br>63.55<br>**58.32**|–<br>–<br>51.93<br>42.15<br>48.67<br>51.14<br>–<br>–<br>–<br>–<br>**61.75**<br>**57.96**|
|
| 161 |
+
|
| 162 |
+
We present our findings in table 2. SEED, SKD, and CoSS, which rely on simpler objectives require the least amount of resources for training. The higher TTR for SEED is the result of extra memory consumed in form of a feature queue. BINGO, consumes the most amount of resources owing to its bagging datasets and sampling strategies. TTR on SMD is relatively lower even though it is comparable to DisCo on runtime is because it is trained for 100 epochs instead of the 200 which was used for DisCo.
|
| 163 |
+
|
| 164 |
+
Table 2: **Comparison of run-time efficiencies of different methods.** We report the mean time (seconds) per iteration and total-training resources. Lower is better
|
| 165 |
+
|
| 166 |
+
|Method|Runtime (seconds)<br>ResNet-18<br>Eff-b0|TTR (GB Hours)<br>ResNet-18<br>Eff-b0|
|
| 167 |
+
|---|---|---|
|
| 168 |
+
|SKD<br>SEED<br>BINGO<br>DisCo<br>SMD<br>CoSS|**0.19**<br>**0.41**<br>**0.19**<br>**0.41**<br>0.59<br>1.26<br>0.47<br>0.82<br>0.42<br>0.98<br>**0.19**<br>**0.41**|**322.26**<br>**2745.18**<br>463.32<br>3035.89<br>3461.51<br>26,195.66<br>1945.91<br>11,174.55<br>685.51<br>6492.18<br>**322.26**<br>**2745.18**|
|
| 169 |
+
|
| 170 |
+
## 5.3 TRANSFER LEARNING
|
| 171 |
+
|
| 172 |
+
To understand the transferability of the learnt students, we perform the benchmark using the public implementation of Ericsson et al. (2021). Under this evaluation, we freeze the backbone and only learn the classification layer on top of the network. To make the evaluation fair, we perform a hyper-parameter sweep across numerous values to identify the best set of values for each model for every dataset. We report the top-1 classification from the identified best setting.
|
| 173 |
+
|
| 174 |
+
As it can be observed from table 14, the classification accuracy is highest for CoSS across various datasets. Previously, we had noticed that baseline methods performed well on linear evaluation for ImageNet. However, we now observe that under a fairer hyper-parameter search based linear evaluation, CoSS achieves higher performance for ResNet-18 and Efficientnet-b0 reflecting the good quality of learnt features.
|
| 175 |
+
|
| 176 |
+
Table 3: **Transfer learning evaluation of distilled ResNet-18 and Efficientnet-b0.** Here, we report the top-1 accuracy. In the appendix, we report the KNN accuracy of the models.
|
| 177 |
+
|
| 178 |
+
|Method|CIFAR-10|CIFAR-100<br>ResNet-18<br>Eff-b0|STL-10<br>ResNet-18<br>Eff-b0|Caltech-101<br>ResNet-18<br>Eff-b0|Pets<br>ResNet-18<br>Eff-b0|Flowers<br>ResNet-18<br>Eff-b0|DTD<br>ResNet-18<br>Eff-b0|
|
| 179 |
+
|---|---|---|---|---|---|---|---|
|
| 180 |
+
||ResNet-18<br>Eff-b0|||||||
|
| 181 |
+
|SKD<br>SEED<br>BINGO<br>DisCo<br>SMD|88.97<br>–<br>85.27<br>88.85<br>87.67<br>89.74<br>88.11<br>91.63<br>86.47<br>–|70.12<br>–<br>62.75<br>69.87<br>66.14<br>70.25<br>67.50<br>73.97<br>64.42<br>–|93.80<br>–<br>93.99<br>94.90<br>94.99<br>94.75<br>95.04<br>**95.78**<br>94.24<br>–|86.90<br>–<br>80.26<br>84.98<br>83.84<br>86.48<br>84.65<br>86.44<br>80.59<br>–|78.31<br>–<br>76.18<br>78.81<br>79.24<br>80.80<br>77.86<br>81.20<br>74.59<br>–|**88.60**<br>–<br>75.10<br>88.44<br>83.62<br>90.35<br>83.69<br>89.52<br>78.97<br>–|72.34<br>–<br>67.34<br>69.79<br>70.00<br>70.85<br>69.89<br>71.91<br>69.31<br>–|
|
| 182 |
+
|CoSS (ours)|**89.84**<br>**92.51**|**70.03**<br>**76.72**|**95.31**<br>95.41|**87.06**<br>**89.26**|**80.31**<br>**82.42**|87.04<br>**92.57**|**71.54**<br>**74.84**|
|
| 183 |
+
|
| 184 |
+
7
|
| 185 |
+
|
| 186 |
+
## 5.4 ROBUSTNESS
|
| 187 |
+
|
| 188 |
+
Various studies have indicated that deep learning systems often break down when encountered with data outside the training distribution(Hendrycks & Dietterich, 2019; Geirhos et al., 2019; Wang et al., 2019). Due to the wide spread applicability of deep learning systems in the real world, it becomes important to ensure a high degree of robustness of such systems. In this experiment we explore the robustness of trained students under different kinds of shifts in the input data. ImageNet-v2 is a natural image dataset which closely resembles the sampling process of the original ImageNet dataset. It has been employed by various studies to understand the robustness of models under natural data shift (Taori et al., 2020; Ovadia et al., 2019). ImageNet-S consists of sketch images for ImageNet classes. It is a stronger deviation from the types of images present in the training set. ImageNet-C is a synthetically generated dataset for evaluating a model’s performance under various forms of corruptions. We utilised corruption=1 for our evaluation.
|
| 189 |
+
|
| 190 |
+
Results reported in table 4 demonstrate that CoSS is robust across various input distribution shifts. It even outperforms BINGO which employs stronger data augmentations in the form of CutMix. Strong data augmentations such as CutMix have been shown to improve the robustness.
|
| 191 |
+
|
| 192 |
+
Table 4: **Robustness evaluation of ImageNet distilled ResNet18s.** To emphasize on the quality of embeddings learnt, we report the KNN-10 accuracy. We highlight the best performance in **bold** . We report the robustness evaluation of efficientnet-b0 in the appendix
|
| 193 |
+
|
| 194 |
+
|Method|ImageNet-v2<br>MF<br>Tr<br>Top|ImageNet-v2<br>MF<br>Tr<br>Top|ImageNet-v2<br>MF<br>Tr<br>Top|ImageNet-S|brightness|contrast|defocus|elastic|fog|frost|ImageNet-C<br>gaussian<br>glass|ImageNet-C<br>gaussian<br>glass|impulse|jpeg|motion|pixelate|shot|snow|zoom|
|
| 195 |
+
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 196 |
+
|SEED|37.58|45.11|51.20|10.41|47.32|42.38|32.20|43.01|32.47|34.98|35.26|30.58|20.35|34.51|35.34|41.35|33.26|27.73|24.68|
|
| 197 |
+
|BINGO|41.01|48.99|55.03|12.78|51.40|47.02|36.16|47.17|37.20|39.44|37.57|33.67|20.25|40.60|37.46|46.14|36.29|**31.28**|27.02|
|
| 198 |
+
|DisCo|39.49|46.96|53.18|12.37|49.89|45.61|35.54|45.60|35.69|38.11|37.37|33.90|21.98|38.39|38.79|45.06|36.28|30.31|26.77|
|
| 199 |
+
|SMD|37.86|44.45|50.83|10.27|47.06|42.78|32.89|42.92|32.46|34.04|33.17|30.39|17.87|35.48|34.69|41.64|31.67|26.68|24.74|
|
| 200 |
+
|CoSS (ours)|**41.74**|**49.10**|**55.44**|**12.85**|**52.65**|**49.03**|**39.02**|**48.12**|**38.40**|**39.57**|**40.27**|**35.94**|**23.56**|**43.49**|**40.82**|**48.52**|**37.98**|31.12|**28.68**|
|
| 201 |
+
|
| 202 |
+
## 5.5 IMAGE SEGMENTATION
|
| 203 |
+
|
| 204 |
+
We evaluate trained students under two settings (more details in A.1) 1. Traditional image semgentation, where we train a FCN(Long et al., 2015) head on top of the student. We evaluate this model on CityScapes(Cordts et al., 2016) and CamVid(Brostow et al., 2009) datasets. 2. Following Caron et al. (2021), we employ the self attention maps and threshold it to obtain segmentation masks. We evaluate the maps on the PascalVOC dataset(Everingham et al., 2015), MSRA(Liu et al., 2007; Hou et al., 2019) and ECSSD(Yan et al., 2013).
|
| 205 |
+
|
| 206 |
+
For traditional image segmentation, as reported in 5, we can observe that the CoSS trained student serves as an improved backbone over the baselines. For the segmentation evaluation using the attention maps, we found that BINGO ignores [CLS] token after a certain depth (6 in this case). Our probing indicated that towards the end of the network, BINGO distilled ViT-tiny gave equal attention to all input patches which resulted in poor image segmentation performance. We report the [CLS] self-attention maps evaluated prior to the degradation using[+] . The results indicate that the quality of attention maps generated by CoSS is superior to those from the baselines. We’d like to emphasize that for this evaluation, no additional training is performed. We provide visualisations of the self-attention maps in figure 5.
|
| 207 |
+
|
| 208 |
+
Table 5: **Image segmentation evaluation** . Higher is Table 6: **DAVIS 2017 Video object segmentation** . better. Higher is better
|
| 209 |
+
|
| 210 |
+
|Method<br>CamVid<br>Cityscapes<br>Acc_p_<br>IoU_m_<br>Acc_p_<br>IoU_m_|VOC<br>MSR<br>ECSSD<br>IoU_m_<br>IoU_m_<br>IoU_m_<br>34.01<br>34.30<br>29.96<br>37.31+<br>41.34+<br>43.11+<br>–<br>–<br>–<br>–<br>–<br>–<br>**42.28**<br>**47.71**<br>**49.84**<br>Method<br>J_m_<br>J_r_<br>F_m_<br>F_r_<br>(J&F)_m_<br>SEED<br>50.74<br>58.37<br>54.61<br>64.29<br>52.68<br>BINGO+<br>53.78<br>65.35<br>57.80<br>70.65<br>55.79<br>CoSS<br>**56.07**<br>**66.98**<br>**59.07**<br>**71.32**<br>**57.58**|
|
| 211 |
+
|---|---|
|
| 212 |
+
|SEED<br>86.17<br>0.2573<br>82.53<br>0.2867<br>BINGO<br>87.43<br>0.2761<br>83.64<br>0.3099<br>DisCo<br>86.91<br>0.2791<br>82.85<br>0.2933<br>SMD<br>75.67<br>0.1620<br>82.38<br>0.2774<br>CoSS<br>**88.00**<br>**0.2855**<br>**84.39**<br>**0.3115**||
|
| 213 |
+
|
| 214 |
+
5.6 VIDEO INSTANCE SEGMENTATION
|
| 215 |
+
|
| 216 |
+
This evaluation accesses the quality of frozen features on video instance tracking for imagenet distilled ViT-tiny networks. In table 6, following the experiment protocols of Jabri et al. (2020), we evaluate the self-attention maps on the DAVIS-2017 video instance segmentation task. In this evaluation, a scene is segmented by directly computing the nearest neighbours between consecutive
|
| 217 |
+
|
| 218 |
+
8
|
| 219 |
+
|
| 220 |
+
**==> picture [270 x 9] intentionally omitted <==**
|
| 221 |
+
|
| 222 |
+
**----- Start of picture text -----**<br>
|
| 223 |
+
SEED BINGO [+] CoSS<br>**----- End of picture text -----**<br>
|
| 224 |
+
|
| 225 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 226 |
+
|
| 227 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 228 |
+
|
| 229 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 230 |
+
|
| 231 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 232 |
+
|
| 233 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 234 |
+
|
| 235 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 236 |
+
|
| 237 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 238 |
+
|
| 239 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 240 |
+
|
| 241 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 242 |
+
|
| 243 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 244 |
+
|
| 245 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 246 |
+
|
| 247 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 248 |
+
|
| 249 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 250 |
+
|
| 251 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 252 |
+
|
| 253 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 254 |
+
|
| 255 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 256 |
+
|
| 257 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 258 |
+
|
| 259 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 260 |
+
|
| 261 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 262 |
+
|
| 263 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 264 |
+
|
| 265 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 266 |
+
|
| 267 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 268 |
+
|
| 269 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 270 |
+
|
| 271 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 272 |
+
|
| 273 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 274 |
+
|
| 275 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 276 |
+
|
| 277 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 278 |
+
|
| 279 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 280 |
+
|
| 281 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 282 |
+
|
| 283 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 284 |
+
|
| 285 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 286 |
+
|
| 287 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 288 |
+
|
| 289 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 290 |
+
|
| 291 |
+
**==> picture [40 x 41] intentionally omitted <==**
|
| 292 |
+
|
| 293 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 294 |
+
|
| 295 |
+
**==> picture [40 x 40] intentionally omitted <==**
|
| 296 |
+
|
| 297 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 298 |
+
|
| 299 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 300 |
+
|
| 301 |
+
**==> picture [41 x 41] intentionally omitted <==**
|
| 302 |
+
|
| 303 |
+
**==> picture [41 x 40] intentionally omitted <==**
|
| 304 |
+
|
| 305 |
+
Figure 4: **Self-attention maps of [CLS] token from the** 3 **ViT-tiny heads.** We follow Caron et al. (2021) to visualize the attention maps. The images are randomly selected from COCO validation set, and are not used during training Lin et al. (2014b). The bright regions denote the patches of interest to the model. SEED’s generated maps are relatively noisier and often deviate from the primary subject in the image. More visualisations are provided in the appendix
|
| 306 |
+
|
| 307 |
+
Table 7: **Top-1 accuracy of supervised methods adapted for unsupervised distillation** . We report the distillation performance of the methods without the contribution from the supervised losses. We also report the supervised performance as a baseline measure for both the student and the teacher
|
| 308 |
+
|
| 309 |
+
|Methods|ResNet56(0.86M)<br>ResNet20(0.27M)|VGG-13(9.45M)<br>VGG-8(3.96M)|ResNext32x4(7.43M)<br>ResNext8x4(1.23M)|WRN-40-2(2.25M)<br>WRN-16-2(0.7M)|ConvMixer-256/12(0.95M)<br>ConvMixer-256/4(0.19M)|ViT-384/12/7(6.26M)<br>ViT-384/4/3(2.7M)|
|
| 310 |
+
|---|---|---|---|---|---|---|
|
| 311 |
+
|Teacher|72.41|74.64|79.42|75.61|73.45|66.70|
|
| 312 |
+
|Student|69.10|70.31|71.79|73.01|68.02|63.52|
|
| 313 |
+
|ATT (Zagoruyko & Komodakis, 2017)|49.00|56.22|43.11|–|–|–|
|
| 314 |
+
|SP (Tung & Mori, 2019)|63.14|71.62|62.51|–|–|–|
|
| 315 |
+
|VID (Ahn et al., 2019)|68.61|73.65|69.60|–|–|–|
|
| 316 |
+
|RKD (Park et al., 2019)|56.28|44.50|32.33|52.38|46.41|28.17|
|
| 317 |
+
|PKT (Passalis & Tefas, 2018)|61.58|71.81|64.53|70.75|53.82|29.64|
|
| 318 |
+
|Factor (Kim et al., 2018)|46.63|39.71|36.64|–|–|–|
|
| 319 |
+
|NST (Huang & Wang, 2017)|25.62|42.78|41.27|–|–|–|
|
| 320 |
+
|CRD (Tian et al., 2020)|65.03|69.73|65.78|70.62|61.89|48.70|
|
| 321 |
+
|SRRL (Yang et al., 2021)|69.31|72.85|69.19|73.44|–|–|
|
| 322 |
+
|DIST (Huang et al., 2022)|67.13|73.40|67.67|72.85|–|–|
|
| 323 |
+
|SKD|68.69|73.33|72.52|73.01|–|–|
|
| 324 |
+
|CoSS (Ours)|**71.11**|**74.58**|**73.90**|**74.65**|**72.73**|**63.31**|
|
| 325 |
+
|
| 326 |
+
frames utilizing the features from different depths of the frozen network. We report mean region similarity _Jm_ , region similarity recall _Jr_ , mean contour-based accuracy _Fm_ and contour-based recall _Fr_ . As the results indicate, the features learnt by CoSS are able to retain better spatial information than the baselines.
|
| 327 |
+
|
| 328 |
+
## 5.7 (UN)SUPERVISED DISTILLATION
|
| 329 |
+
|
| 330 |
+
In previous experiments we have compared CoSS against methods designed for unsupervised distillation. In section 2, we discussed about supervised distillation methods. A key point to note about majority of supervised methods is that even though they were proposed for a supervised setting, often, the key novelty lied in an unsupervised component. In this section, we adapt and benchmark existing supervised distillation methods for the task of unsupervised distillation.
|
| 331 |
+
|
| 332 |
+
**Methodology:** Apart from using the batch size of 256, we strictly follow the benchmark evaluation protocol of CRD(Tian et al., 2020) on CIFAR-100 for this task. The teachers are trained with supervision and for the process of distillation we remove the final classification layer to simulate an unsupervised setting. In recent architectures, for methods which rely on intermediate layer, we select the layers midway across the depth of a network.
|
| 333 |
+
|
| 334 |
+
**Results:** As shown in table 7, many supervised methods don’t readily adapt to the unsupervised scenario. They either fail completely or they fail to provide any adequate performance. CoSS due to its simplicity can be employed by any teacher-student pair.
|
| 335 |
+
|
| 336 |
+
9
|
| 337 |
+
|
| 338 |
+
## 6 DISCUSSION
|
| 339 |
+
|
| 340 |
+
Unsupervised knowledge distillation is an important problem that we have addressed in this work. Existing solutions to this problem require significant computing and training time. For smaller networks that can be conventionally trained on smaller GPUs, it becomes hard to justify the need of deploying GPU clusters to perform distillation. CoSS provides the benefit of faster and more efficient distillation without compromising on the final performance.
|
| 341 |
+
|
| 342 |
+
Objective of CoSS only relies on positive pairs of samples, this is a prominent difference from contrastive learning baselines. Tian et al. (2021) study various factors which impact training with only positive samples in the context of SSL. We observed that unlike in an SSL training, for an unsupervised distillation, predictor/projection was not a hard requirement. CIFAR-100 experiments were performed in the absence of a predictor head and the distillation concluded without any difficulties. This leads us to believe that observations which hold true for an online SSL approach may not hold true for its adaptation for an unsupervised distillation. Subsequently, this direction warrants further investigation in the future to elucidate any potential relationships.
|
| 343 |
+
|
| 344 |
+
Furthermore, rather than distilling only similarity assisted by feature queues, we directly focused on approximating the learnt manifold using space similarity. Toy experiments and analysis of common embedding neighbours supports our intuition. The local neighbourhood is preserved even in comparison to BINGO, which applies an explicit KNN over the entire training data. In section B, we demonstrate that, in theory we can utilise BatchNorm (Ioffe & Szegedy, 2015) to model teacher’s embedding manifold. We believe better approaches to latent space modelling will improve the distillation performance further.
|
| 345 |
+
|
| 346 |
+
For large-scale datasets like ImageNet, we found that CoSS often performed competitively compared to GPU-intensive methods. However, a KNN-based evaluation showed that embeddings learnt by CoSS are indeed meaningful and better. This performance is also maintained across a wide range of nearest neighbour sizes. Recent studies have also advocated reliance on KNN accuracy for drawing meaningful conclusions (Fang et al., 2021; Caron et al., 2021). Furthermore, qualitative analysis of the tasks of transfer learning and robustness further strengthens our argument.
|
| 347 |
+
|
| 348 |
+
We also reported cross-architecture distillation results on ViT-tiny. We observed difficulty in utilising existing methods for ViT. For DisCo, the training fails arbitrarily as the loss value becomes undefined. For BINGO, the distillation process ignored the [CLS] token in the model after a certain depth. Compared to the baselines, CoSS operates as intended and is able to produce a fully functional student ViT-tiny.
|
| 349 |
+
|
| 350 |
+
We found that applying existing (supervised) methods to newer architectures in an unsupervised setting does not extend well. They either fail to train or underperform. This hints towards high dependency on data labels for these methods to work effectively. Moreover, many of these methods rely on defining correspondences between intermediate layers. Defining such a mapping is non-trivial and requires a number of trials and errors. Recalling that in a supervised setting, the novelty often lies in an unsupervised component and due to the simplicity of CoSS, we believe that our approach can easily be extended to a supervised setting.
|
| 351 |
+
|
| 352 |
+
Lastly, due to the simplicity of our approach, we believe that it can also be extended into the problem settings of cross domain distillation (Zhang et al., 2021), distillation of joint vision-language models, cross lingual distillation(Reimers & Gurevych, 2020; Gupta et al., 2023). We aim to explore these avenues in the future.
|
| 353 |
+
|
| 354 |
+
## 7 CONCLUSION
|
| 355 |
+
|
| 356 |
+
In this paper, inspired by the need that large models trained with self-supervised learning will also be considered to distilled into smaller models, but the labels used to train these large models are usually not available, we investigated the knowledge distillation in a pure unsupervised setting.
|
| 357 |
+
|
| 358 |
+
In this setting, we showed that unsupervised feature distillation can be performed without storing a feature queue. To enable this, we proposed CoSS, a feature and space similarity loss. We demonstrated that the proposed method is able to retain the local neighbourhood similar to that of its teacher. Moreover, across various benchmarks, it achieves better performance than the existing state-of-the-art methods. Focusing on Vision Transformers, we demonstrated the high quality of attention maps being learnt through our approach with an added benefit of a stable training.
|
| 359 |
+
|
| 360 |
+
10
|
| 361 |
+
|
| 362 |
+
## REFERENCES
|
| 363 |
+
|
| 364 |
+
Sungsoo Ahn, Shell Xu Hu, Andreas Damianou, Neil D Lawrence, and Zhenwen Dai. Variational information distillation for knowledge transfer. In _CVPR_ , pp. 9163–9171, 2019.
|
| 365 |
+
|
| 366 |
+
- Gabriel J. Brostow, Julien Fauqueur, and Roberto Cipolla. Semantic object classes in video: A highdefinition ground truth database. _Pattern Recognition Letters_ , 30(2):88–97, 2009. ISSN 0167-8655. doi: [URL removed] URL [URL removed] com/science/article/pii/S0167865508001220.
|
| 367 |
+
|
| 368 |
+
- Cristian Bucilua, Rich Caruana, and Alexandru Niculescu-Mizil.ˇ Model compression. In _Proceedings of the 12th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining_ , pp. 535–541, 2006.
|
| 369 |
+
|
| 370 |
+
- Zhe Cao, Tao Qin, Tie-Yan Liu, Ming-Feng Tsai, and Hang Li. Learning to rank: From pairwise approach to listwise approach. In _ICML_ , 2007.
|
| 371 |
+
|
| 372 |
+
- Mathilde Caron, Hugo Touvron, Ishan Misra, Herve J´ egou, Julien Mairal, Piotr Bojanowski, and´ Armand Joulin. Emerging properties in self-supervised vision transformers. In _ICCV_ , 2021.
|
| 373 |
+
|
| 374 |
+
- Lawrence Cayton et al. _Algorithms for manifold learning_ . eScholarship, University of California, 2008.
|
| 375 |
+
|
| 376 |
+
- Hanting Chen, Yunhe Wang, Chang Xu, Chao Xu, and Dacheng Tao. Learning student networks via feature embedding. _IEEE Transactions on Neural Networks and Learning Systems_ , 32(1):25–35, 2021a. doi: 10.1109/TNNLS.2020.2970494.
|
| 377 |
+
|
| 378 |
+
- Liqun Chen, Dong Wang, Zhe Gan, Jingjing Liu, Ricardo Henao, and Lawrence Carin. Wasserstein contrastive representation distillation. In _CVPR_ , June 2021b.
|
| 379 |
+
|
| 380 |
+
- Xianing Chen, Qiong Cao, Yujie Zhong, Jing Zhang, Shenghua Gao, and Dacheng Tao. Dearkd: Data-efficient early knowledge distillation for vision transformers. In _CVPR_ , pp. 12042–12052, 2022. doi: 10.1109/CVPR52688.2022.01174.
|
| 381 |
+
|
| 382 |
+
- Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 15750–15758, 2021.
|
| 383 |
+
|
| 384 |
+
- Yuntao Chen, Naiyan Wang, and Zhaoxiang Zhang. Darkrank: Accelerating deep metric learning via cross sample similarities transfer. _Proceedings of the AAAI Conference on Artificial Intelligence_ , 2018.
|
| 385 |
+
|
| 386 |
+
- M. Cimpoi, S. Maji, I. Kokkinos, S. Mohamed, , and A. Vedaldi. Describing textures in the wild. In _CVPR_ , 2014.
|
| 387 |
+
|
| 388 |
+
Adam Coates, Andrew Ng, and Honglak Lee. An Analysis of Single Layer Networks in Unsupervised Feature Learning. In _AISTATS_ , 2011.
|
| 389 |
+
|
| 390 |
+
- Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The cityscapes dataset for semantic urban scene understanding. In _Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ , 2016.
|
| 391 |
+
|
| 392 |
+
- Zihang Dai, Hanxiao Liu, Quoc V. Le, and Mingxing Tan. Coatnet: Marrying convolution and attention for all data sizes. In _NeurIPS_ , 2021.
|
| 393 |
+
|
| 394 |
+
- Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In _CVPR_ , pp. 248–255. Ieee, 2009.
|
| 395 |
+
|
| 396 |
+
- Carl Doersch, Abhinav Kumar Gupta, and Alexei A. Efros. Unsupervised visual representation learning by context prediction. _ICCV_ , 2015.
|
| 397 |
+
|
| 398 |
+
- Peijie Dong, Lujun Li, and Zimian Wei. Diswot: Student architecture search for distillation without training. In _CVPR_ , pp. 11898–11908, June 2023.
|
| 399 |
+
|
| 400 |
+
11
|
| 401 |
+
|
| 402 |
+
- Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. _ICLR_ , 2021.
|
| 403 |
+
|
| 404 |
+
- Linus Ericsson, Henry Gouk, and Timothy M. Hospedales. How Well Do Self-Supervised Models Transfer? In _CVPR_ , 2021.
|
| 405 |
+
|
| 406 |
+
- M. Everingham, S. M. A. Eslami, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman. The pascal visual object classes challenge: A retrospective. _IJCV_ , 111(1):98–136, January 2015.
|
| 407 |
+
|
| 408 |
+
- Zhiyuan Fang, Jianfeng Wang, Lijuan Wang, Lei Zhang, Yezhou Yang, and Zicheng Liu. Seed: Self-supervised distillation for visual representation. _ICLR_ , 2021.
|
| 409 |
+
|
| 410 |
+
- Li Fei-Fei, Rob Fergus, and Pietro Perona. One-shot learning of object categories. _IEEE Trans. Pattern Anal. Mach. Intell._ , 2006.
|
| 411 |
+
|
| 412 |
+
- Yuting Gao, Jia-Xin Zhuang, Shaohui Lin, Hao Cheng, Xing Sun, Ke Li, and Chunhua Shen. Disco: Remedy self-supervised learning on lightweight models with distilled contrastive learning. _European Conference on Computer Vision(ECCV)_ , 2022.
|
| 413 |
+
|
| 414 |
+
- Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A Wichmann, and Wieland Brendel. Imagenet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. In _ICLR_ , 2019. URL [URL removed] forum?id=Bygh9j09KX.
|
| 415 |
+
|
| 416 |
+
- Jean-Bastien Grill, Florian Strub, Florent Altche,´ Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Koray Kavukcuoglu, Remi Munos, and Michal Valko.´ Bootstrap your own latent: A new approach to self-supervised learning. In _NeurIPS_ , 2020.
|
| 417 |
+
|
| 418 |
+
- Shivanshu Gupta, Yoshitomo Matsubara, Ankit Chadha, and Alessandro Moschitti. Cross-lingual knowledge distillation for answer sentence selection in low-resource languages. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), _Findings of the Association for Computational Linguistics: ACL 2023_ , July 2023.
|
| 419 |
+
|
| 420 |
+
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In _CVPR_ , 2016a.
|
| 421 |
+
|
| 422 |
+
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling (eds.), _ECCV_ , 2016b.
|
| 423 |
+
|
| 424 |
+
- Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. _ICLR_ , 2019.
|
| 425 |
+
|
| 426 |
+
- Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. _arXiv preprint arXiv:1503.02531_ , 2015.
|
| 427 |
+
|
| 428 |
+
- Qibin Hou, Ming-Ming Cheng, Xiaowei Hu, Ali Borji, Zhuowen Tu, and Philip Torr. Deeply supervised salient object detection with short connections. _IEEE TPAMI_ , 41(4):815–828, 2019. doi: 10.1109/TPAMI.2018.2815688.
|
| 429 |
+
|
| 430 |
+
- Tao Huang, Shan You, Fei Wang, Chen Qian, and Chang Xu. Knowledge distillation from a stronger teacher. _Advances in Neural Information Processing Systems_ , 35:33716–33727, 2022.
|
| 431 |
+
|
| 432 |
+
- Zehao Huang and Naiyan Wang. Like what you like: Knowledge distill via neuron selectivity transfer. _arXiv preprint arXiv:1707.01219_ , 2017.
|
| 433 |
+
|
| 434 |
+
- Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In _International conference on machine learning_ , pp. 448–456. pmlr, 2015.
|
| 435 |
+
|
| 436 |
+
- Allan Jabri, Andrew Owens, and Alexei A Efros. Space-time correspondence as a contrastive random walk. _Advances in Neural Information Processing Systems_ , 2020.
|
| 437 |
+
|
| 438 |
+
12
|
| 439 |
+
|
| 440 |
+
- L. Jing and Y. Tian. Self-supervised visual feature learning with deep neural networks: A survey. _IEEE Transactions on Pattern Analysis & Machine Intelligence_ , 2021.
|
| 441 |
+
|
| 442 |
+
- Jangho Kim, SeongUk Park, and Nojun Kwak. Paraphrasing complex network: Network compression via factor transfer. In _NeurIPS_ , pp. 2760–2769, 2018.
|
| 443 |
+
|
| 444 |
+
- Soroush Abbasi Koohpayegani, Ajinkya Tejankar, and Hamed Pirsiavash. Compress: Self-supervised learning by compressing representations. In _NeurIPS_ , 2020.
|
| 445 |
+
|
| 446 |
+
- Animesh Koratana, Daniel Kang, Peter Bailis, and Matei Zaharia. LIT: Learned intermediate representation training for model compression. In _ICML_ , pp. 3509–3518, 09–15 Jun 2019.
|
| 447 |
+
|
| 448 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009.
|
| 449 |
+
|
| 450 |
+
Min Lin, Qiang Chen, and Shuicheng Yan. Network in network. _ICLR_ , 2014a.
|
| 451 |
+
|
| 452 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Doll´ar, and C. Lawrence Zitnick. Microsoft coco: Common objects in context. In _ECCV_ , 2014b.
|
| 453 |
+
|
| 454 |
+
- Hao Liu and Mang Ye. Improving self-supervised lightweight model learning via hard-aware metric distillation. In _ECCV_ , pp. 295–311. Springer, 2022.
|
| 455 |
+
|
| 456 |
+
- Tie Liu, Jian Sun, Nan-Ning Zheng, Xiaoou Tang, and Heung-Yeung Shum. Learning to detect a salient object. In _2007 IEEE Conference on Computer Vision and Pattern Recognition_ , pp. 1–8, 2007. doi: 10.1109/CVPR.2007.383047.
|
| 457 |
+
|
| 458 |
+
- Xiaolong Liu, Lujun Li, Chao Li, and Anbang Yao. Norm: Knowledge distillation via n-to-one representation matching. In _ICLR_ , 2023. URL [URL removed] CRNwGauQpb6.
|
| 459 |
+
|
| 460 |
+
- Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In _Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ , June 2015.
|
| 461 |
+
|
| 462 |
+
Ishan Misra and Laurens van der Maaten. Self-supervised learning of pretext-invariant representations. In _CVPR_ , 2020.
|
| 463 |
+
|
| 464 |
+
- Maria-Elena Nilsback and Andrew Zisserman. A visual vocabulary for flower classification. In _CVPR_ , volume 2, pp. 1447–1454, 2006.
|
| 465 |
+
|
| 466 |
+
- Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. _arXiv preprint arXiv:1807.03748_ , 2018.
|
| 467 |
+
|
| 468 |
+
- Yaniv Ovadia, Emily Fertig, Jie Ren, Zachary Nado, D. Sculley, Sebastian Nowozin, Joshua Dillon, Balaji Lakshminarayanan, and Jasper Snoek. Can you trust your model's uncertainty? evaluating predictive uncertainty under dataset shift. In _NeurIPS_ , 2019.
|
| 469 |
+
|
| 470 |
+
- Wonpyo Park, Dongju Kim, Yan Lu, and Minsu Cho. Relational knowledge distillation. In _CVPR_ , pp. 3967–3976, 2019.
|
| 471 |
+
|
| 472 |
+
- Omkar M. Parkhi, Andrea Vedaldi, Andrew Zisserman, and C. V. Jawahar. Cats and dogs. In _CVPR_ , 2012.
|
| 473 |
+
|
| 474 |
+
Nikolaos Passalis and Anastasios Tefas. Learning deep representations with probabilistic knowledge transfer. In _ECCV_ , pp. 268–284, 2018.
|
| 475 |
+
|
| 476 |
+
- Baoyun Peng, Xiao Jin, Jiaheng Liu, Dongsheng Li, Yichao Wu, Yu Liu, Shunfeng Zhou, and Zhaoning Zhang. Correlation congruence for knowledge distillation. In _ICCV_ , pp. 5007–5016, 2019.
|
| 477 |
+
|
| 478 |
+
- Henri Poincare.´ _Papers on topology: analysis situs and its five supplements_ , volume 37. American Mathematical Soc., 2010.
|
| 479 |
+
|
| 480 |
+
- Jordi Pont-Tuset, Federico Perazzi, Sergi Caelles, Pablo Arbelaez, Alexander Sorkine-Hornung, and´ Luc Van Gool. The 2017 davis challenge on video object segmentation. _arXiv:1704.00675_ , 2017.
|
| 481 |
+
|
| 482 |
+
13
|
| 483 |
+
|
| 484 |
+
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. _OpenAI blog_ , 2019.
|
| 485 |
+
|
| 486 |
+
Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. Do ImageNet classifiers generalize to ImageNet? In _ICML_ , 2019.
|
| 487 |
+
|
| 488 |
+
- Nils Reimers and Iryna Gurevych. Making monolingual sentence embeddings multilingual using knowledge distillation. In _Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)_ , November 2020.
|
| 489 |
+
|
| 490 |
+
- Sucheng Ren, Zhengqi Gao, Tianyu Hua, Zihui Xue, Yonglong Tian, Shengfeng He, and Hang Zhao. Co-advise: Cross inductive bias distillation. In _CVPR_ , pp. 16752–16761, 2022. doi: 10.1109/CVPR52688.2022.01627.
|
| 491 |
+
|
| 492 |
+
- Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. _arXiv preprint arXiv:1412.6550_ , 2014.
|
| 493 |
+
|
| 494 |
+
- Mingxing Tan and Quoc Le. EfficientNet: Rethinking model scaling for convolutional neural networks. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), _ICML_ , volume 97 of _Proceedings of Machine Learning Research_ , pp. 6105–6114. PMLR, 09–15 Jun 2019.
|
| 495 |
+
|
| 496 |
+
- Rohan Taori, Achal Dave, Vaishaal Shankar, Nicholas Carlini, Benjamin Recht, and Ludwig Schmidt. Measuring robustness to natural distribution shifts in image classification. In _NeurIPS_ , 2020.
|
| 497 |
+
|
| 498 |
+
Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive representation distillation. _ICLR_ , 2020.
|
| 499 |
+
|
| 500 |
+
- Yuandong Tian, Xinlei Chen, and Surya Ganguli. Understanding self-supervised learning dynamics without contrastive pairs. In _Proceedings of the 38th International Conference on Machine Learning_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 10268–10278. PMLR, 18–24 Jul 2021.
|
| 501 |
+
|
| 502 |
+
- Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Herve Jegou. Training data-efficient image transformers & distillation through attention. In _ICML_ , 2021.
|
| 503 |
+
|
| 504 |
+
- Frederick Tung and Greg Mori. Similarity-preserving knowledge distillation. In _ICCV_ , pp. 1365–1374, 2019.
|
| 505 |
+
|
| 506 |
+
- Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. _Journal of machine learning research_ , 9(11), 2008.
|
| 507 |
+
|
| 508 |
+
- Haohan Wang, Songwei Ge, Zachary Lipton, and Eric P Xing. Learning robust global representations by penalizing local predictive power. In _NeurIPS_ , 2019.
|
| 509 |
+
|
| 510 |
+
- Fen Xia, Tie-Yan Liu, Jue Wang, Wensheng Zhang, and Hang Li. Listwise approach to learning to rank: Theory and algorithm. In _ICML_ , 2008.
|
| 511 |
+
|
| 512 |
+
- Saining Xie, Ross Girshick, Piotr Dollar,´ Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. _arXiv preprint arXiv:1611.05431_ , 2016.
|
| 513 |
+
|
| 514 |
+
- Guodong Xu, Ziwei Liu, Xiaoxiao Li, and Chen Change Loy. Knowledge distillation meets selfsupervision. In _ECCV_ , 2020.
|
| 515 |
+
|
| 516 |
+
- Haohang Xu, Jiemin Fang, Xiaopeng Zhang, Lingxi Xie, Xinggang Wang, Wenrui Dai, Hongkai Xiong, and Qi Tian. Bag of instances aggregation boosts self-supervised distillation. 2022.
|
| 517 |
+
|
| 518 |
+
- Qiong Yan, Li Xu, Jianping Shi, and Jiaya Jia. Hierarchical saliency detection. In _Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ , June 2013.
|
| 519 |
+
|
| 520 |
+
- Jing Yang, Brais Martinez, Adrian Bulat, and Georgios Tzimiropoulos. Knowledge distillation via softmax regression representation learning. In _ICLR2021_ , 2021.
|
| 521 |
+
|
| 522 |
+
- Junho Yim, Donggyu Joo, Jihoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In _CVPR_ , pp. 4133–4141, 2017.
|
| 523 |
+
|
| 524 |
+
14
|
| 525 |
+
|
| 526 |
+
- Lu Yu, Vacit Oguz Yazici, Xialei Liu, Joost van de Weijer, Yongmei Cheng, and Arnau Ramisa. Cvpr. In _CVPR_ , 2019.
|
| 527 |
+
|
| 528 |
+
- Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In _ICCV_ , 2019.
|
| 529 |
+
|
| 530 |
+
- Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. In _ICLR_ , 2017.
|
| 531 |
+
|
| 532 |
+
- Bo Zhang, Xiaoming Zhang, Yun Liu, Lei Cheng, and Zhoujun Li. Matching distributions between model and data: Cross-domain knowledge distillation for unsupervised domain adaptation. In _Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)_ , pp. 5423–5433, 2021.
|
| 533 |
+
|
| 534 |
+
- Weiming Zhuang, Xin Gan, Yonggang Wen, Shuai Zhang, and Shuai Yi. Collaborative unsupervised visual representation learning from decentralized data. In _Proceedings of the IEEE/CVF international conference on computer vision_ , pp. 4912–4921, 2021.
|
| 535 |
+
|
| 536 |
+
15
|
| 537 |
+
|
| 538 |
+
## A APPENDIX
|
| 539 |
+
|
| 540 |
+
## A.1 IMPLEMENTATION DETAILS
|
| 541 |
+
|
| 542 |
+
**Teacher model:** Following SEED, we utilize the Moco ~~v~~ 2 trained ResNet-50 as the teacher in our experiments. We discard the projection head of the teacher and work directly with the 2048 dimensional features from ResNet-50. We utilized their official implementation in our ImageNet based experiments.
|
| 543 |
+
|
| 544 |
+
**Student models:** We employ a mix of established and recent architectures in our study. We perform distillation on ResNet-18(He et al., 2016a), Efficientnet-b0(Tan & Le, 2019), ViT-tiny(Dosovitskiy et al., 2021). The student models are trained from scratch. To match the final representation sizes, similar to DisCo, we add a 2-layered MLP on top of the student network which is discarded after distillation. For training on CIFAR-100, ResNet56/20, ResNet32x4/ResNet8x4, VGG13/8 and WRN ~~4~~ 0 ~~2~~ /WRN ~~1~~ 6 ~~2~~ are detailed in CRD. For the Convmixer, we set it embedding dimension as 256, depth 12 for teacher and 4 for the student, and kernel size of 7 and patch size of 1. For ViT, we set the embedding dimension as 384, num ~~h~~ eads=12 for teacher and 4 for the student, and number of layers 7 for the teacher and 3 for the student. We would like to note that architectures for convmixer and ViT maybe not be optimal for CIFAR-100 and there may exist better configurations.
|
| 545 |
+
|
| 546 |
+
**Training:** For training, we use the configuration of SEED. Under this setting, the distillation process is performed for 200 epochs with a batch size of 256. The starting learning rate is 0 _._ 03 which is slowly reduced to 0 using a cosine scheduler over the course of training. SGD is used as the optimizer with momentum (0.9) and weight decay (0.0001). For CoSS, we set _λ_ = 0 _._ 5. For the baselines, we utilize their corresponding official implementations. For more detail please refer SEED(Fang et al., 2021). We reproduced SMD’s results using their official source code and hyper-parameters. For SKD, we used the temperature scaling parameters for student and teacher as _τs_ = 0 _._ 1 and _τt_ = 0 _._ 07 respectively as per Caron et al. (2021). For SKD, we also used a loss scaling parameter _β_ = 100 _._ 0.
|
| 547 |
+
|
| 548 |
+
**Datasets:** We utilize a large collection of datasets in our work. We primarily use ImageNet (Deng et al., 2009) for performing unsupervised distillation. To evaluate the quality of representations learnt, we perform transfer learning on CIFARs(Krizhevsky, 2009), STL-10 (Coates et al., 2011), Caltech-101 (Fei-Fei et al., 2006), Oxford-IIIT Pets (Parkhi et al., 2012), Flowers (Nilsback & Zisserman, 2006) and DTD (Cimpoi et al., 2014). We also utilize various ImageNet variants namely, ImageNet-v2 (Recht et al., 2019), ImageNet-Sketch (Wang et al., 2019) and ImageNet-C (Hendrycks & Dietterich, 2019) to understand robustness of distilled networks. For visualization of attention maps and their quantitative analysis, we utilize COCO (Lin et al., 2014b), PascalVOC (Everingham et al., 2015), MSRA(Liu et al., 2007; Hou et al., 2019), ECSSDYan et al. (2013) DAVIS (Pont-Tuset et al., 2017).
|
| 549 |
+
|
| 550 |
+
**Toy Experiment:** For the toy experiment we use a 5 layered MLP with [4 _,_ 8 _,_ 4 _,_ 2 _,_ 2] neurons at each depth for both teacher and student. We also utilised batch normalisation for internal layers and relu non-activation. We generate 2500 samples from moons and circles dataset from scikit-learn[1] with noise=0.125. The teacher is trained on a classification task and the student is trained via. unsupervised distillation.
|
| 551 |
+
|
| 552 |
+
**Image Segmentation** : We trained FCN on top of the frozen backbones using the Pytorch implementation[2] . We trained a FCN32 head, for 200 epochs with a learning rate of 1 _e −_ 4 and batch size of 20. The learning rate wa halved every 25 epochs. **CIFAR-100:** For a fair evaluation, we scaled the _β_ parameter of the adapted supervised distillation methods by a factor of 0.5, 1.0, 2.0, 4.0, 8.0, 16.0. We report below the optimal values we identified for each of the baseline methods.
|
| 553 |
+
|
| 554 |
+
## A.2 ABLATION STUDY
|
| 555 |
+
|
| 556 |
+
## A.2.1 IMPACT OF LOSS COMPONENTS
|
| 557 |
+
|
| 558 |
+
We perform this study to understand the importance of feature similarity and space similarity in our distillation framework. We provide results on CIFAR-100. In table 10, we report the unsupervised distillation performances from individual loss components. _Lco_ corresponds to the training with
|
| 559 |
+
|
| 560 |
+
> 1scikit-learn
|
| 561 |
+
|
| 562 |
+
> 2[URL removed]
|
| 563 |
+
|
| 564 |
+
16
|
| 565 |
+
|
| 566 |
+
Table 8: **Variation in performance for different** _λ_ . We report top-1 accuracy
|
| 567 |
+
|
| 568 |
+
|Student/Teacher|_λ_= 0|_λ_= 0_._25|_λ_= 0_._5|_λ_= 1|
|
| 569 |
+
|---|---|---|---|---|
|
| 570 |
+
|ResNet8x4/32x4|72.05|73.44|73.90|**73.91**|
|
| 571 |
+
|ResNet20/56|70.58|**71. 34**|71.11|70.68|
|
| 572 |
+
|
| 573 |
+
Table 9: **Variation in performance for different nearest neighbourhood size**
|
| 574 |
+
|
| 575 |
+
|Methods|KNN-1|KNN-51|KNN-101|
|
| 576 |
+
|---|---|---|---|
|
| 577 |
+
|SEED|44.80|49.95|49.05|
|
| 578 |
+
|BINGO|48.90|53.92|53.19|
|
| 579 |
+
|DisCo|47.08|52.01|50.96|
|
| 580 |
+
|CoSS (ours)|**49.41**|**54.68**|**53.70**|
|
| 581 |
+
|
| 582 |
+
Table 11: **Values for the loss scaling**
|
| 583 |
+
|
| 584 |
+
Table 10: **Unsupervised distillation with individual CoSS components** .
|
| 585 |
+
|
| 586 |
+
|Models|_Lco_|_Lss_|_Lcoss_|
|
| 587 |
+
|---|---|---|---|
|
| 588 |
+
|Resnet8x4/32x4|72.05|73.53|**73.90**|
|
| 589 |
+
|ResNet20/56|70.58|70.42|**71.11**|
|
| 590 |
+
|
| 591 |
+
|Method|_β_|
|
| 592 |
+
|---|---|
|
| 593 |
+
|ATT|1000|
|
| 594 |
+
|SP|3000|
|
| 595 |
+
|VID|2.0|
|
| 596 |
+
|RKD|1.0|
|
| 597 |
+
|PKT|30000|
|
| 598 |
+
|Factor|200|
|
| 599 |
+
|NST|100|
|
| 600 |
+
|CRD|1.0|
|
| 601 |
+
|SRRL|1.0|
|
| 602 |
+
|SKD|100.0|
|
| 603 |
+
|CoSS|140|
|
| 604 |
+
|
| 605 |
+
only feature similarity. This training is similar to BYOL(Grill et al., 2020), a SSL method. _Lss_ corresponds to the results obtained by only relying on the space similarity loss. We observe that combining both both the losses performs better and thus is valuable for the process of distillation.
|
| 606 |
+
|
| 607 |
+
## A.2.2 VALUES OF _λ_
|
| 608 |
+
|
| 609 |
+
In table, we report the performance of CoSS for different values of _λ_ . We perform this ablation on the CIFAR-100 dataset following the CRD training protocol. We observe that different architectures respond to different strength of the space-similrity component. Though other values of _λ_ provide better results, we selected _λ_ = 0 _._ 5 in our experiments.
|
| 610 |
+
|
| 611 |
+
For ImageNet, using only _λ_ = 0 degrades the performance by 0.8% and 0 _._ 9% for ResNet-18 and Efficientnet-b0 respectively.
|
| 612 |
+
|
| 613 |
+
## A.2.3 K-NEAREST NEIGHBOURS
|
| 614 |
+
|
| 615 |
+
In table 11, we report the KNN performance for different values of the nearest neighbourhoods. For the ImageNet distilled ResNet-18, we report KNN performance for sizes 1, 51 and 101. CoSS maintains better performance for a wide range of neighbourhood sizes.
|
| 616 |
+
|
| 617 |
+
## A.3 GOODNESS OF SPACE ALIGNMENT
|
| 618 |
+
|
| 619 |
+
To ascertain tthe quality of learnt embedding space after training, we compute the intersectionover-union of the nearest neighbours for both the student and the teacher. Formally, we report _iouk_ = _|D[test]_ 1 _|_ � _x∈D[test] KK_ (( _ffss,x,,x,DD[train][train] ,k,k_ ))[�][�] _KK_ (( _fftt,x,,x,DD[train][train] ,k,k_ ))[.][Where,] _[K]_[returns][a][set][of] _[k]_[nearest] samples to _x_ in the training data for the model _f_ ( _._ ).
|
| 620 |
+
|
| 621 |
+
In table 12, we report the mean intersection-over-union of the neighbourhood for each input sample. It illustrates that student when trained with CoSS (our method) is able to learn the mapping which preserves the local neighbourhood in the latent space better than its peers. Also, as the neighbourhood size is increased we observe the trend of diminishing differences between the iou between different approaches. This indicates that baselines are only able to capture the local relationship at a much coarser level.
|
| 622 |
+
|
| 623 |
+
17
|
| 624 |
+
|
| 625 |
+
Table 12: **Comparison of common nearest neighbours for a student Resnet-18 with its teacher** . We report the Intersection-over-Union of the local neighbourhood for the ImageNet validation set. For each sample of the validation set, the nearest neighbours are searched in the training set. We observe that CoSS is better at modelling the local neighbourhood of its teacher than the other methods which rely on feature queues
|
| 626 |
+
|
| 627 |
+
|Methods|IoU1|IoU5|IoU11|IoU21|
|
| 628 |
+
|---|---|---|---|---|
|
| 629 |
+
|SEED|0.286|0.364|0.405|0.439|
|
| 630 |
+
|BINGO|0.289|0.360|0.397|0.427|
|
| 631 |
+
|DisCo|0.316|0.388|0.424|**0.454**|
|
| 632 |
+
|CoSS (ours)|**0.338**|**0.399**|**0.430**|**0.454**|
|
| 633 |
+
|
| 634 |
+
## B BATCH NORMALISATION FOR SPACE & SIMILARITY
|
| 635 |
+
|
| 636 |
+
Batch Normalisation (BN) was proposed to reduce the covariate shift which occurs during the mapping of inputs from one layer to another (Ioffe & Szegedy, 2015). Since its introduction, BN has found place in numerous deep learning architectures(He et al., 2016a;b; Xie et al., 2016). Here, we show how one can directly aim the distillation process to match student and network’s embeddings and subsequently compare its performance with our formulation.
|
| 637 |
+
|
| 638 |
+
BN operates on a batch of input data, _X ∈ R[b][×][d]_ where batch size is _b_ and _d_ is the feature dimension. It first performs standardisation _X_[ˆ] : _,i_ = _[X]_[:] _[,] σ[i][−] i[µ][i]_ where, : denotes all the entries in the batch dimension and _µi_ , _σi_ are the mean and variances respectively for the _i[th]_ feature dimension. The normalized values are then scaled by trainable parameters _γi_ and _βi_ as:
|
| 639 |
+
|
| 640 |
+
**==> picture [234 x 13] intentionally omitted <==**
|
| 641 |
+
|
| 642 |
+
here, _γi_ and _βi_ can be interpreted as affine transformations which operate independently for different spatial dimensions. We can utilise it to map the standardised student embeddings to the teacher’s unnormalized embedding space. The corresponding loss can be defined as follows:
|
| 643 |
+
|
| 644 |
+
**==> picture [106 x 30] intentionally omitted <==**
|
| 645 |
+
|
| 646 |
+
where, _Xi[t]_[is the teacher’s embedding for the] _[ i][th]_[sample and] _[ Z] i[s]_[corresponds to the BatchNormalized] student’s embeddings. In table 13, we report the results using this approach on CIFAR-100 distillation task. We utilised mean-squared-error for the metric _D_ .
|
| 647 |
+
|
| 648 |
+
Table 13: **CIFAR-100 unsupervised distillation with BN.**
|
| 649 |
+
|
| 650 |
+
|Methods|VGG13|Resnet32x/8x|WRN-40/16|
|
| 651 |
+
|---|---|---|---|
|
| 652 |
+
|BN|74.01|72.22|73.42|
|
| 653 |
+
|CoSS|74.58|73.90|74.65|
|
| 654 |
+
|
| 655 |
+
## C TRANSFER LEARNING
|
| 656 |
+
|
| 657 |
+
The transfer learning experiment performed in the main paper consisted of fine-tuning a classification layer after extensive hyper-parameter tuning. In this section, we report the KNN10 accuracies obtained by the distilled ResNet-18s and Efficientnet-b0s. This way, we avoid the variability introduced by the final classification layer and can gauge the quality of embedding spaces of different networks.
|
| 658 |
+
|
| 659 |
+
From table 14 it can be observed that CoSS provides significant improvements over the baselines. This trend is similar to the top-1 results reported in the main paper.
|
| 660 |
+
|
| 661 |
+
18
|
| 662 |
+
|
| 663 |
+
Table 14: **Transfer learning evaluation of distilled ResNet-18 and Efficientnet-b0.** We report the KNN-10 accuracy
|
| 664 |
+
|
| 665 |
+
|Method<br>CIFAR-10(Krizhevsky, 2009)<br>ResNet-18<br>Eff-b0|CIFAR-100<br>STL-10(Coates et al., 2011)<br>Caltech-101(Fei-Fei et al., 2006)<br>Pets(Parkhi et al., 2012)<br>Flowers(Nilsback & Zisserman, 2006)<br>DTD(Cimpoi et al., 2014)<br>ResNet-18<br>Eff-b0<br>ResNet-18<br>Eff-b0<br>ResNet-18<br>Eff-b0<br>ResNet-18<br>Eff-b0<br>ResNet-18<br>Eff-b0<br>ResNet-18<br>Eff-b0|
|
| 666 |
+
|---|---|
|
| 667 |
+
|SEED<br>80.86<br>84.96<br>BINGO<br>84.01<br>85.61<br>DisCo<br>84.45<br>86.80<br>CoSS (ours)<br>**85.92**<br>**87.61**|52.09<br>60.38<br>91.20<br>92.97<br>73.60<br>76.78<br>60.40<br>66.53<br>47.18<br>65.54<br>56.91<br>61.38<br>58.09<br>60.43<br>93.31<br>92.71<br>77.02<br>76.92<br>66.50<br>67.76<br>58.79<br>68.78<br>60.00<br>61.97<br>56.80<br>62.68<br>92.46<br>92.00<br>77.05<br>76.58<br>64.95<br>65.69<br>59.85<br>64.94<br>61.28<br>62.18<br>**60.14**<br>**66.06**<br>**92.33**<br>**93.56**<br>**77.13**<br>**79.19**<br>**67.27**<br>**68.79**<br>**64.87**<br>**72.82**<br>**62.39**<br>**64.26**|
|
| 668 |
+
|
| 669 |
+
## D ROBUSTNESS
|
| 670 |
+
|
| 671 |
+
In table 15, we provide the results of KNN10 evaluation of the Efficient-b0 on the robustness benchmarks. Similar to the ResNet-18, Efficientnet-b0 distilled using CoSS is significantly more robust.
|
| 672 |
+
|
| 673 |
+
Table 15: **Robustness evaluation of ImageNet distilled Efficientnet-b0.** To emphasize on the quality of embeddings learnt, we report the KNN-10 accuracy. We highlight the best performance in **bold**
|
| 674 |
+
|
| 675 |
+
|Method|ImageNet-v2(Recht<br>MF<br>Tr|ImageNet-v2(Recht<br>MF<br>Tr|et al., 2019)<br>Top|ImageNet-S(Wang et al., 2019)|brightness|contrast|defocus|elastic|ImageNet-C(Hendrycks & Dietterich, 2019)<br>fog<br>frost<br>gaussian<br>glass<br>impulse<br>jpeg|ImageNet-C(Hendrycks & Dietterich, 2019)<br>fog<br>frost<br>gaussian<br>glass<br>impulse<br>jpeg|ImageNet-C(Hendrycks & Dietterich, 2019)<br>fog<br>frost<br>gaussian<br>glass<br>impulse<br>jpeg|ImageNet-C(Hendrycks & Dietterich, 2019)<br>fog<br>frost<br>gaussian<br>glass<br>impulse<br>jpeg|ImageNet-C(Hendrycks & Dietterich, 2019)<br>fog<br>frost<br>gaussian<br>glass<br>impulse<br>jpeg|ImageNet-C(Hendrycks & Dietterich, 2019)<br>fog<br>frost<br>gaussian<br>glass<br>impulse<br>jpeg|motion|pixelate|shot|snow|zoom|
|
| 676 |
+
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 677 |
+
|SEED|40.60|48.17|53.72|12.72|50.58|45.69|35.52|46.82|36.48|39.81|37.32|34.15|26.41|39.78|39.60|45.04|36.14|33.49|27.54|
|
| 678 |
+
|BINGO|41.47|49.15|54.65|13.15|51.45|46.62|35.83|47.47|38.29|40.73|37.69|34.73|27.30|40.51|40.22|44.31|36.37|33.84|26.81|
|
| 679 |
+
|DisCo|41.10|48.49|54.32|11.17|52.05|47.22|37.55|47.42|33.94|37.71|37.09|33.82|24.26|41.55|38.54|46.61|35.34|29.22|23.37|
|
| 680 |
+
|CoSS (ours)|**44.40**|**52.07**|**58.13**|**13.50**|**55.68**|**51.71**|**42.04**|**51.90**|**41.33**|**43.66**|**41.49**|**39.59**|**28.62**|**45.77**|**43.74**|**50.87**|**40.30**|**36.69**|**32.19**|
|
| 681 |
+
|
| 682 |
+
## E VISUALISATIONS
|
| 683 |
+
|
| 684 |
+
In figure 5, we provide the visualisations of the self-attention maps generated by the CoSS student on randomly selected images from the MSRA10K dataset. It is interesting to note that each head focuses on different aspects of an input image such as the foreground, background, or discriminating features.
|
| 685 |
+
|
| 686 |
+
19
|
| 687 |
+
|
| 688 |
+
**==> picture [271 x 10] intentionally omitted <==**
|
| 689 |
+
|
| 690 |
+
**----- Start of picture text -----**<br>
|
| 691 |
+
Image GT Self-attention maps<br>**----- End of picture text -----**<br>
|
| 692 |
+
|
| 693 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 694 |
+
|
| 695 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 696 |
+
|
| 697 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 698 |
+
|
| 699 |
+
**==> picture [73 x 73] intentionally omitted <==**
|
| 700 |
+
|
| 701 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 702 |
+
|
| 703 |
+
**==> picture [73 x 73] intentionally omitted <==**
|
| 704 |
+
|
| 705 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 706 |
+
|
| 707 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 708 |
+
|
| 709 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 710 |
+
|
| 711 |
+
**==> picture [72 x 73] intentionally omitted <==**
|
| 712 |
+
|
| 713 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 714 |
+
|
| 715 |
+
**==> picture [72 x 73] intentionally omitted <==**
|
| 716 |
+
|
| 717 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 718 |
+
|
| 719 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 720 |
+
|
| 721 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 722 |
+
|
| 723 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 724 |
+
|
| 725 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 726 |
+
|
| 727 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 728 |
+
|
| 729 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 730 |
+
|
| 731 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 732 |
+
|
| 733 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 734 |
+
|
| 735 |
+
**==> picture [72 x 73] intentionally omitted <==**
|
| 736 |
+
|
| 737 |
+
**==> picture [72 x 73] intentionally omitted <==**
|
| 738 |
+
|
| 739 |
+
**==> picture [73 x 73] intentionally omitted <==**
|
| 740 |
+
|
| 741 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 742 |
+
|
| 743 |
+
**==> picture [72 x 72] intentionally omitted <==**
|
| 744 |
+
|
| 745 |
+
**==> picture [73 x 72] intentionally omitted <==**
|
| 746 |
+
|
| 747 |
+
**==> picture [72 x 73] intentionally omitted <==**
|
| 748 |
+
|
| 749 |
+
**==> picture [72 x 73] intentionally omitted <==**
|
| 750 |
+
|
| 751 |
+
**==> picture [73 x 73] intentionally omitted <==**
|
| 752 |
+
|
| 753 |
+
Figure 5: **Self-attention maps of [CLS] token from the** 3 **ViT-tiny heads.** The bright regions denote the patches of interest to the model
|
| 754 |
+
|
| 755 |
+
20
|
| 756 |
+
|
open_review/iclr2024_9081.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9081",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Mitigating backdoor attacks with generative modelling and dataset relabelling",
|
| 6 |
+
"abstract": "Data-poisoning attacks \nchange a small portion \nof the training dataset\nby introducing hand-crafted triggers \nand rewiring the corresponding labels \ntowards a desired target class.\nTraining on such data injects \na backdoor into the model, \nthat causes incorrect inference \nin selected test examples.\nExisting defenses mitigate \nthe risks of such attacks \nthrough various modifications\nof the standard discriminative learning procedure.\nThis paper explores a different approach\nthat promises clean models \nby means of per-class generative modelling. \nWe start by mapping the input data\ninto a suitable latent space\nby leveraging a pre-trained \nself-supervised feature extractor.\nInterestingly, these representations\nget either preserved or heavily disturbed\nunder recent backdoor attacks.\nIn both cases, we find that \nper-class generative models\ngive rise to probabilistic densities\nthat allow both to detect the poisoned data\nand to find their original classes.\nThis allows to patch the poisoned dataset\nby reverting the original labels\nand considering the triggers \nas a kind of augmentation.\nOur experiments show that\ntraining on patched datasets\ngreatly reduces attack success rate\nand retains the clean accuracy.",
|
| 7 |
+
"rebuttal": "**Weaknesses:**\n\n>The authors define $D^y_{F}=\\{f_{\\theta_F}(x_i) \\vert y_i = y \\}$. As I understand it, $D^y_F$ contains the set of features for all training instances whose **true label** is $y$. [...]\n\nWe apologize, we have made an error in the definition of $D^y_\\text{F}$ by omitting $(x_i,y_i) \\in \\widetilde{\\mathcal D}$. \nThe original labels are not known and the definition should have been $D^y_\\text{F}=\\{f_{\\theta_F}(x_i) \\mid (x_i,y_i) \\in \\widetilde{\\mathcal D}, y_i = y \\}$.\n\n>I **strongly** recommend either removing or redesigning Figure 2. [...]\n>One potential way to solve this problem entirely is to change Figure 2 to an algorithm.\n\nWould you consider a description like this as an improvement over Figure 2?\n\n1. Train a self-supervised feature extractor $f_{\\theta_{\\text{E}}}$ on images from the potentially poisoned dataset $\\tilde D$.\n2. Learn per-class densities $p_{\\theta_{y}}(z)$ self-supervised features $z=f_{\\theta_{\\text{E}}}(x)$.\n3. Identify disruptively and non-disruptively poisoned classes.\n4. Assign poisoning scores $s_y(z)=\\frac{p_{\\theta_y}(z)}{\\arg\\max_{y'\\neq y} p_{\\theta_{y'}}(z)}$ to examples from classes $y$ identified as poisonous.\n5. Split $\\tilde D$ into subsets based on poisoning scores $s_y(z)$:\n\t* $\\hat D_\\text{P}$: poisoned examples,\n\t* $\\hat D_\\text{O}$: uncertain examples,\n\t* $\\hat D_\\text{C}$: clean examples from classes identified as targets and all examples from classes identified as clean.\n6. Produce the cleansed poisoned subset $D_\\text{P}'$ by assigning pseudo-labels to the examples from $\\hat D_\\text{P}$ according to $\\arg\\max_{y'\\neq y}p_{\\theta_{y'}}(z)$.\n7. Produce the cleansed dataset as $\\hat D' = \\hat D_C \\cup D_P'$.\n8. Train a discriminative model on $\\hat D'$.\n\n>Several typographical issues\n\nThank you!\n\n>Table 4 should show the minimum poisoning rate where either the attacks or the defenses start to fail. For example, does your defense still work at 0.1% poisoning rate.\n\nThis is a valuable suggestion. In our recent experiments,\nwe discovered that a poisoning rate of 0.1% is indeed \nsufficient to compromise our defense. The scarcity of poisoned samples results in the failure to accurately identify the target class, consequently preventing the elimination of these poisoned samples.\n\n>Poisoning rate is also only one dimension of an attack's strength. Perturbation strength is an orthogonal dimension of attack strength against which the authors' defense is surely highly susceptible but is not explored in the empirical evaluation.\n\nWe have noticed that some attacks that are non-disruptive become distruptive above some poisoning rate threshold.\nIt also seems intuitive that stronger perturbations might make the attack more likely to be disruptive because the poisoned examples then bear less resemblance to their original class. \nIn all our experiments, our defense has worked well in both cases.\n\n>The empirical evaluation's main results use either a 10% or 25% poisoning rate. In my view, those attack rates are wholly unrealistic for any marginally plausible real-world scenario. I would go so far as to consider those poisoning rates not meaningful to study since I cannot see a case where an attacker is inserting 25% poisoned data.\n\nWe apologize if it was not clear: the 25% denotes that only 25% of the poisoned class consists of poisoned examples when the clean-label attack (LC) is used.\nWe will run additional experiments with the clean-label attacks suggested by reviewer U1ob.\n\nWe have considered attacks that poison 10% examples in order to be in line with previous work [1, 2].\nDo you have any suggestions about what to read to get a better idea of the attacker capabilities in important real-world scenarios?\n\n**Questions:**\n\n>At the beginning of Section 3.1, the authors write, \"_We consider backdoor defenses that avoid standard supervised learning due to its sensitivity to poisoned labels and susceptibility to overfitting_.\" When I encountered this sentence when reading through the paper the first time, I did not understand what the authors meant, and after completing the paper, I am not sure I understood it.\n\nWe aim for our defense to rely on self-supervised training, without labels. \nThis approach is preferred because it is less likely to treat the trigger as a significant feature. \nIn contrast, supervised training is likely to consider the trigger as the primary feature for identifying the label of poisoned examples.\nWe will make this more clear in future revisions of our work.\n\nPlease find the answers to your other comments in our response to all reviewers.\n\n[1] Li et al. - Neural Attention Distillation, https://arxiv.org/abs/2101.05930 \n[2] Li et al. - Anti-Backdoor Learning, https://arxiv.org/abs/2110.11571\n\nThank you for your feedback!\n\n>The last two sentences in Section 4.5 are confusing. Although the numerator is extremely low, why is the score significantly higher? Also, if the poisoned samples score significantly higher than clean samples, aren't those poisoned samples mislabeled into the clean set? Finally, the arguments may be invalid by ignoring the change of the denominator.\n\nWe apologize. The penultimate sentence should have said *denominator* instead of *numerator*. \nThe numerator will be higher because the generative model of the poisoned class is trained on the poisoned examples.\n\nIf [...]\n\nThank you for your feedback!\n\n**Weaknesses**\n\nIn case of a dataset with input size $224\\times224$, 10 classes and ~5000 example per class, \nself-supervised representation learning takes 10000 s,\nsupervised training (200 epochs) takes 2750 s, \nwhile the training of generative classifiers takes about 90 s per class regardless of image size. \nWe observe that our generative setups involve a neglectable processing overhead. \nMoreover, this can be further improved by replacing C per-class models with 1 model of joint density $p[z, y]$. \nSelf-supervised learning indeed is computationally expensive, h [...]\n\nThank you for your feedback!\n\n>I think \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
5,
|
| 11 |
+
5,
|
| 12 |
+
3
|
| 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 proposes to model the per-class distribution with a generative model and uses it to purify the data against backdoors. However, the paper still has a lot of problems like hyper-parameter sensitivity, computation cost, and others pointed out by reviewers. Thereby, I agree with all the reviewer's decision to reject this paper. Hope the authors can modify their work in the revision according to the reviewers' advice.",
|
| 22 |
+
"forum_id": "bXI0thP733",
|
| 23 |
+
"primary_area": "societal considerations including fairness, safety, privacy",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_rmHx",
|
| 28 |
+
"review_id": "qZplFIaMi3",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1364,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 305210,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_gUtc",
|
| 44 |
+
"review_id": "t7Z9N8zXf1",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 6736,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 743665,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_U1ob",
|
| 60 |
+
"review_id": "WdaL9c9tV9",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 4756,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 995485,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_y1uP",
|
| 76 |
+
"review_id": "4TcDljqNFt",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 1,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 1,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 5313,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1253052,
|
| 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_9081.md
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## MITIGATING BACKDOOR ATTACKS WITH GENERATIVE MODELLING AND DATASET RELABELING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Data-poisoning attacks change a small portion of the training dataset by introducing hand-crafted triggers and rewiring the corresponding labels towards a desired target class. Training on such data injects a backdoor into the model, that causes incorrect inference in selected test examples. Existing defenses mitigate the risks of such attacks through various modifications of the standard discriminative learning procedure. This paper explores a different approach that promises clean models by means of per-class generative modelling. We start by mapping the input data into a suitable latent space by leveraging a pre-trained self-supervised feature extractor. Interestingly, these representations get either preserved or heavily disturbed under recent backdoor attacks. In both cases, we find that per-class generative models give rise to probabilistic densities that allow both to detect the poisoned data and to find their original classes. This allows to patch the poisoned dataset by reverting the original labels and considering the triggers as a kind of augmentation. Our experiments show that training on patched datasets greatly reduces attack success rate and retains the clean accuracy. We aim to publish the source code for reproducing our experiments in the final version of the paper.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Deep neural networks (DNNs) are progressively establishing themselves as the default approach for resolving diverse problems across various domains He et al. (2016); Xiong et al. (2016); Silver et al. (2016). However, their extraordinary capacity leaves them vulnerable to various cybernetic attacks (Biggio & Roli, 2018). One type of those attacks inserts a backdoor to trained models by introducing subtle changes to the training dataset (Mei & Zhu, 2015). We often denote these changes as data poisoning. The installed backdoor appropriates some of the model capacity in order to embed malicious behaviour according to the attacker’s goals Laskov & Lippmann (2010). In discriminative models, the malicious behaviour often involves a wrong prediction in presence of a pre-defined trigger Chen et al. (2017). These attacks typically promote the backdoor stealthines by retaining high generalization performance on benign samples Gu et al. (2019).
|
| 14 |
+
|
| 15 |
+
Data poisoning attacks must trade-off stealthiness with applicability. Localized attacks can be easily applied in the physical world, however they can be uncovered by careful visual inspection (Gu et al., 2019; Chen et al., 2017). Pervasive attacks may be imperceptible to the human eye but they can not be applied with a sticker (Wang et al., 2019; Li et al., 2021c). Many early defenses are effective only on particular kinds of attacks (Wang et al., 2019). Recent defenses aim at broad applicability by avoiding any prior knowledge about the attack (Huang et al., 2022; Chen et al., 2022; Gao et al., 2023). Our approach shares this ambition while bringing forward several novelties.
|
| 16 |
+
|
| 17 |
+
In this work, we propose a novel approach to prevent the backdoor deployment given a potentially poisoned dataset from an untrusted source Wang et al. (2019). Besides the removal of poisoned samples, our method allows to relabel some of the poisoned samples according to the predictions from a generative classifier Mackowiak et al. (2021). The attack gets neutralized due to changed labels even though the triggers remain in images. Experiments show that this step succeeds to improve the accuracy on clean test data without increasing the attack success rate.
|
| 18 |
+
|
| 19 |
+
We hypothesize that poisoning attacks give rise to strong semantic difference between the clean and poisoned samples of the target class. Poisoned samples are generated by either **i)** injecting triggers to the images of non-target classes (Gu et al., 2019; Chen et al., 2017; Qi et al., 2022) or **ii)**
|
| 20 |
+
|
| 21 |
+
1
|
| 22 |
+
|
| 23 |
+
applying strong perturbations to the images of the target class (Turner et al., 2019). In both cases, the poisoned samples get displaced outside of the target class manifold. Hence, one could expect that a generative model of the target class should assign these samples a lower likelihood. However, generative modelling of RGB images may behave in an unintuitive manner. Specifically, studies have shown that generative models may assign high likelihoods to outliers (Nalisnick et al., 2018; Serr`a et al., 2019). In order to avoid that, we decide to escape from the input space into the latent space by relying on a separately trained self-supervised feature extractor.
|
| 24 |
+
|
| 25 |
+
We proceed by modelling the probabilistic distribution for each class. We identify potentially poisoned data according to the following two tests. The first test identifies samples residing within the distribution of a class that differs from their label. The second test identifies samples that are outside the distribution of the entire dataset. This step cleanses most of the poisoned samples from the dataset. We attempt to restore the original labels of poisoned samples through generative classification Mackowiak et al. (2021). Finally, we train the deployment model on relabeled data.
|
| 26 |
+
|
| 27 |
+
To summarize, our contributions encompass three key aspects. (1) We categorize effects of various backdoor attacks to self-supervised image representations. (2) We propose the first backdoor defense based on generative modelling. (3) The proposed method can cleanse the dataset by pseudo-labeling the poisoned samples according to the predictions of our generative classifier. Our experiments demonstrate the effectiveness of our approach in comparison to several state-of-the-art defenses. Importantly, our method successfully defends against a variety of attack types, including the latest advances that claim to undermine defenses based on latent-separability (Qi et al., 2022).
|
| 28 |
+
|
| 29 |
+
## 2 RELATED WORK
|
| 30 |
+
|
| 31 |
+
Backdoor attacks are an emerging and rapidly growing research area that poses serious security threats to the usage of DNNs in the community. This paper focuses on the poisoning-based backdoor attacks, where the attacker can only inject poisoned examples into the training set while being unable to modify other components, such as training loss and model architecture. The main goal of existing backdoor attacks is to increase the attack success rate (Li et al., 2022) while retaining stealthy triggers and low poisoning rates (Gu et al., 2019). Crafting inventive triggers can significantly contribute to the attack stealthiness Li et al. (2020). Many kinds of triggers were introduced, including black-white checkerboards (Gu et al., 2019), blending backgrounds (Chen et al., 2017), invisible noise Li et al. (2020), adversarial patterns (Zhao et al., 2020b) and sample-specific patterns (Li et al., 2021c; Nguyen & Tran, 2020). Existing attacks can further be divided into poisoned-label and clean-label types. Poisoned-label approaches (Gu et al., 2019; Chen et al., 2017; Nguyen & Tran, 2021; Li et al., 2021c; Nguyen & Tran, 2020) connect the trigger with the target class by relabeling poisoned samples as target labels. Clean-label approaches affect samples from the target class while leaving the labels unchanged. However, they suffer from lower performance compared to poison-label attacks (Zhang et al., 2020; Li et al., 2022).
|
| 32 |
+
|
| 33 |
+
Recent work has explored various methods to mitigate the risks of the backdoor-related threats. Existing defenses can be classified into three categories, including i) detection-based defenses (Tran et al., 2018; Chen et al., 2018; Xu et al., 2021; Guo et al., 2023), ii) training-time defenses (Li et al., 2021b;a; Huang et al., 2022; Gao et al., 2023) and iii) post-processing backdoor defenses (Liu et al., 2018; Wang et al., 2019; Dong et al., 2021; Tao et al., 2022; Zhao et al., 2020a). The goal of detection-based defenses is to discover backdoored DNNs or poisoned samples in order to deny their impact. Training-time defenses aim to develop a clean model from a potentially poisoned dataset. Post-processing defenses intend to eliminate or reduce the impact of the backdoor within the already poisoned model. Our defense shares some attributes with detection-based and training-time defenses. Its core revolves around identification and removal of the poisoned samples. Our ultimate objective is to restore the correct labels and to produce a clean model with efficient performance.
|
| 34 |
+
|
| 35 |
+
The primary drawback of detection-based defenses is the unused potential of the filtered poisoned samples (Chen et al., 2018). On the other hand, training-time defenses Huang et al. (2022); Gao et al. (2023) remain vulnerable to the retained poisoned samples Jia et al. (2022). We address these limitations by proposing a novel approach that detects poisoned samples and corrects their labels through generative inference. Now the triggered data act as data augmentation instead of being an instrument for backdoor deployment. This effectively prevents the model to learn the association between the trigger and the target class.
|
| 36 |
+
|
| 37 |
+
2
|
| 38 |
+
|
| 39 |
+
## 3 MOTIVATION
|
| 40 |
+
|
| 41 |
+
Data poisoning attacks pose a great challenge since the attackers hold the first-mover advantage (Gu et al., 2019). Nevertheless, we know that the triggers must not disturb the image semantics in order to promote stealthiness (Li et al., 2022). We propose to take advantage of this constraint by grounding our defense on image content while minimizing the influence of poisoned labels.
|
| 42 |
+
|
| 43 |
+
## 3.1 EMBEDDING THE INPUT DATA INTO THE LATENT SPACE
|
| 44 |
+
|
| 45 |
+
We consider backdoor defenses that avoid standard supervised learning due to its sensitivity to poisoned labels and susceptibility to overfitting. Consider a poisoned traffic sign dataset where the priority road class contains some triggered instances of the stop sign (Gu et al., 2019). Then, an ideal approach would aim to detect triggered stop signs according to some generative anomaly score.
|
| 46 |
+
|
| 47 |
+
However, generative models of RGB images learn low-level features that do not correlate with high-level semantics (Kirichenko et al., 2020). Nevertheless, we know that generative modelling may deliver more intuitive performance in semantic latent spaces (Zhang et al., 2020; Blum et al., 2021). Consequently, we embed the input data into the class-agnostic latent space of a popular self-supervised model Chen et al. (2020).
|
| 48 |
+
|
| 49 |
+
The chosen embedding compresses the input data by eliminating extraneous details and noise, and thus makes it suitable for generative modelling. Experiments confirm our intuition that backdoor attacks affect self-supervised features to a lesser extent than their supervised counterparts. In fact, poisoned self-supervised embeddings remain on the manifolds of their clean class in cases of most recent attacks as we show next.
|
| 50 |
+
|
| 51 |
+
## 3.2 BEHAVIOUR IN FEATURE SPACE
|
| 52 |
+
|
| 53 |
+
Recent studies develop their intuitions by visualizing the effects of poisoning within the latent space (Huang et al., 2022; Chen et al., 2022). We apply their methodology to study effects of prominent poisoning attacks to self-supervised embeddings.
|
| 54 |
+
|
| 55 |
+
Figure 1 (left) shows that most attacks disperse poisoned samples among the clean samples of their original class (Gu et al., 2019; Chen et al., 2017; Nguyen & Tran, 2021; Qi et al., 2022). We refer to this scenario as non-disruptive poisoning since it exerts only a minor influence to self-supervised embeddings. This behaviour is intuitively clear since poisoned samples share more similarities with their original class than with the target class. We remind the reader that the triggers are designed for minimal visual impact in order to conceal the attack.
|
| 56 |
+
|
| 57 |
+
Figure 1 (right) illustrates the attacks that operate by isolating the poisoned samples from the rest of the data (Turner et al., 2019). The isolation occurs due to influential triggers or strong perturbations of the original images. Consequently, we denote this scenario as disruptive poisoning. A prominent representative of this type is the clean-label attack, which adversarially perturbs samples within the target class in order to make the predictions uncertain (Turner et al., 2019).
|
| 58 |
+
|
| 59 |
+
## 3.3 MODELING PER-CLASS DISTRIBUTIONS
|
| 60 |
+
|
| 61 |
+
Both scenarios from Figure 1, displace the poisoned samples far away from the clean samples of the target class. We propose to expose this occurrence by comparing probabilistic per-class densities of the latent embedings. These densities can be recovered by learning per-class generative models such as normalizing flows (Rezende & Mohamed, 2015) or variational encoders (Kingma & Welling, 2014). Moreover, in the non-disruptive scenario, the original class of the poisoned sample can be recovered through generative classification.
|
| 62 |
+
|
| 63 |
+
## 4 PROPOSED METHOD
|
| 64 |
+
|
| 65 |
+
## 4.1 PROBLEM FORMULATION
|
| 66 |
+
|
| 67 |
+
**Threat model.** We adopt the poisoning-based threat model where the attacker poisons a subset of the original benign training dataset _D_ = _{_ ( _**x** i,yi_ ) _}[N] i_ =1 _[⊂X][× Y]_[,][where] _[X]_[contains][all][possible]
|
| 68 |
+
|
| 69 |
+
3
|
| 70 |
+
|
| 71 |
+
**==> picture [193 x 193] intentionally omitted <==**
|
| 72 |
+
|
| 73 |
+
**==> picture [193 x 193] intentionally omitted <==**
|
| 74 |
+
|
| 75 |
+
Figure 1: 2D UMAP visualization of clean and poisoned samples in the self-supervised feature space for CIFAR-10. Poisoned samples are shown in black, clean targets are in brown, while clean samples from other classes are shown in other colors. Non-disruptive attacks (left, Gu et al. (2019)) displace the samples within the borders of their original manifold. Disruptive attacks (right, Turner et al. (2019)) make the poisoned samples completely distinct from the rest of the dataset.
|
| 76 |
+
|
| 77 |
+
inputs and _Y_ is the set of classes (Gao et al., 2023; Huang et al., 2022). The attack specifies a single target labelis _D_ P = _{_ (¯ _**x** yi_ T _,y ∈Y_ T) _}i∈I_ and an operationP , where _**x**_ ˜ _i_ = _**x** ⊕i ⊕_ that adds a trigger _**δ**_ and _I_ P is the set of poisoned indices. _**δ**_ to an input. Hence, the poisoned subsetNote that _y_ T may equal the clean label _yi_ (Turner et al., 2019). The remaining samples from _D_ form the clean subset _D_ C, which is combined with _D_ P to form the poisoned dataset _D_[˜] = _D_ C _∪D_ P. The aim of the attack is for a model trained on _D_[˜] to classify triggered test inputs into the target class _y_ T without affecting the performance on clean inputs.
|
| 78 |
+
|
| 79 |
+
**Defender’s goals.** We assume that the defender completely controls the training process. Given a possibly poisoned training set _D_[˜] , the defender’s objective is to obtain a trained model instance without a backdoor while preserving high accuracy on benign samples. Our defense aims to achieve this goal by transforming _D_[˜] into a cleansed dataset _D_[ˆ] that allows safe training according to the standard training procedure.
|
| 80 |
+
|
| 81 |
+
## 4.2 DEFENSE OVERVIEW
|
| 82 |
+
|
| 83 |
+
The input to our method is a potentially poisoned dataset, denoted as _D_[˜] . Figure 2 shows that our method consists of two stages. The first stage starts by training a self-supervised feature extractor _f_ _**θ**_ F : _**x** �→_ _**z**_ on _D_[˜] . Then, it trains per-class generative models _p_ _**θ** y_ : _**z** �→ p_ ( _**z** | y,_ _**θ**_ g) on the features _{f_ _**θ**_ F ( _**x** i_ ) _| yi_ = _y}_ for each class _y ∈Y_ . We hypothesize inductive biases such that the model for class _y_ assigns high densities to poisoned samples of the original class _y_ . Each class with a considerable number of low density samples can be considered a potential target class.
|
| 84 |
+
|
| 85 |
+
Once we identify the target classes, we separate their samples into three distinct categories. The clean category _D_[ˆ] C contains samples of the target classes with high density of the label class and low density of other classes. The poisoned category _D_[ˆ] P contains samples with high density of non-label classes and lower density of the label class. Finally, the category _D_[ˆ] O contains ambiguous samples with uncertain poisoning status and class membership.
|
| 86 |
+
|
| 87 |
+
We can safely reintegrate clean samples _D_[ˆ] C back into the cleansed dataset _D_[ˆ] . We reject samples from _D_[ˆ] O and reintegrate samples from _D_[ˆ] P into _D_[ˆ] after relabeling them with the class exhibiting the highest density. The dataset _D_[ˆ] is the outcome of our defense and it is sent back to the retraining process.
|
| 88 |
+
|
| 89 |
+
4
|
| 90 |
+
|
| 91 |
+
**==> picture [376 x 108] intentionally omitted <==**
|
| 92 |
+
|
| 93 |
+
**----- Start of picture text -----**<br>
|
| 94 |
+
potentially poisoned dataset D [˜]<br>Train the self-supervised feature extractor f θ F Assign poisoning scores sy ( x i )<br>Extract features D F Filter and relabel suspected samples D ˆ<br>Learn per-class feature densities p θ y Train the final classifier h θ d<br>**----- End of picture text -----**<br>
|
| 95 |
+
|
| 96 |
+
Figure 2: Overview of the proposed defense. _D_ F denotes the set of all features _{f_ _**θ**_ F ( _**x** i_ ) _}_ .
|
| 97 |
+
|
| 98 |
+
**==> picture [3 x 2] intentionally omitted <==**
|
| 99 |
+
|
| 100 |
+
**----- Start of picture text -----**<br>
|
| 101 |
+
.<br>**----- End of picture text -----**<br>
|
| 102 |
+
|
| 103 |
+
- 4.3 MODELING PER-CLASS DENSITIES OF SELF-SUPERVISED FEATURES
|
| 104 |
+
|
| 105 |
+
We learn a self-supervised feature extractor _f_ _**θ**_ F by applying SimCLR (Chen et al., 2020) to _D_[˜] . Then, we learn class-conditional densities of features _**z** i_ = _f_ _**θ**_ F ( _**x** i_ ) with lightweight per-class normalizing flows.
|
| 106 |
+
|
| 107 |
+
A normalizing flow is a bijective mapping _g_ _**θ**_ NF that transforms the input _**z**_ with a complex distribution into an output _**u**_ with a fixed simple distribution. The simple distribution is usually chosen to be an isotropic Gaussian with a zero mean and unit variance: _g_ _**θ**_ NF ( _**z**_ ) = _**u** ∼N_ ( **0** _d,_ **I** _d_ ), where _d_ is the dimension of the input. Assuming the bijective mapping has the necessary properties, the density of the inputs can be computed by applying change of variables:
|
| 108 |
+
|
| 109 |
+
**==> picture [243 x 26] intentionally omitted <==**
|
| 110 |
+
|
| 111 |
+
A normalizing flow is usually implemented as a sequence of simpler invertible mappings with learnable parameters, such as affine coupling layers (Dinh et al., 2016).
|
| 112 |
+
|
| 113 |
+
We define a simple class-conditional model as a set of normalizing flows with separate parameters _**θ** y_ for each class. We express the class-conditional density as _p_ _**θ** y_ ( _**z**_ ) = _p_ ( _**z** | y,_ _**θ**_ g), where _**θ** y_ = _**θ**_ g[ _y_ ] are the parameters of the model instance that corresponds to class _y_ . Let _D_ F _[y]_[=] _[ {][f]_ _**[θ]**_ F[(] _**[x]**[i]_[)] _[ |][ y][i]_[ =] _[ y][}]_[.] We train the generative models by minimizing the average negative log-likelihood:
|
| 114 |
+
|
| 115 |
+
**==> picture [270 x 18] intentionally omitted <==**
|
| 116 |
+
|
| 117 |
+
Each normalizing flow consists of a pair of affine coupling modules. Each coupling layer contains two learnable affine operations with a ReLU activation between them.
|
| 118 |
+
|
| 119 |
+
After estimating the densities, our next objective is to determine whether the poisoning is disruptive and to identify the classes containing poisoned samples.
|
| 120 |
+
|
| 121 |
+
## 4.4 IDENTIFYING TARGET CLASSES
|
| 122 |
+
|
| 123 |
+
We first check for the presence of non-disruptive poisoning by assuming that the poisoned samples resemble their source classes in the self-supervised feature space. In this case, the generative model of the target class will assign moderate densities to many foreign examples due to learning on triggered examples. This behaviour will be much less pronounced in non-target classes since the triggered examples represent a minority of the whole dataset. Consequently, we propose to identify target classes according to the average log-density over all foreign examples.
|
| 124 |
+
|
| 125 |
+
**==> picture [265 x 12] intentionally omitted <==**
|
| 126 |
+
|
| 127 |
+
We classify a class _y_ as non-disruptively poisoned if _S_ ND _[y]_[is lower than the threshold] _[ β]_[ND][.]
|
| 128 |
+
|
| 129 |
+
Next we search for disruptive poisoning. The defining characteristic of this type of poisoning, is that the poisoned samples are much more dissimilar from the clean samples than the clean samples
|
| 130 |
+
|
| 131 |
+
5
|
| 132 |
+
|
| 133 |
+
of different classes among themselves. As a consequence, we expect the foreign densities in such samples to be much lower than the foreign densities in the clean samples. Our approach searches for classes with a significant number of such outliers. We formalize this idea by first defining the maximum foreign density score for each example:
|
| 134 |
+
|
| 135 |
+
**==> picture [252 x 16] intentionally omitted <==**
|
| 136 |
+
|
| 137 |
+
We classify a class as disruptively poisoned if the fraction of samples with low _v_ scores (4) exceeds the threshold _β_ D. More precisely, for each class _y_ , we i) compute the set of v scores of the corresponding samples _Vy_ = _{vyi_ ( _**z** i_ ) _| yi_ = _y}_ , ii) compute a histogram with 30 bins of equal widths for _Vy_ as shown in Figure 3, iii) find the value _µy_ of the minimum of the histogram on the left from the hyperparameter _λ_ , and (iv) compute the fraction of examples with _vy_ ( _**z** i_ ) _< µy_ :
|
| 138 |
+
|
| 139 |
+
**==> picture [268 x 24] intentionally omitted <==**
|
| 140 |
+
|
| 141 |
+
Finally, we classify a class _y_ as disruptively poisoned if _S_ D _[y]_[is][less][than][the][threshold] _[β]_[D][.][We][can] interpret _β_ D as the minimum fraction of poisoned samples per class. Too low values of _β_ D can result in false positives, while too high values can result in false negatives when the fraction of poisoned samples is smaller.
|
| 142 |
+
|
| 143 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 144 |
+
|
| 145 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 146 |
+
|
| 147 |
+
**==> picture [95 x 71] intentionally omitted <==**
|
| 148 |
+
|
| 149 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 150 |
+
|
| 151 |
+
(a) Clean classes (b) Poisoned classes
|
| 152 |
+
|
| 153 |
+
Figure 3: The histograms illustrate the distribution of the maximum foreign density scores _vy_ ( _**z**_ ) of clean and poisoned classes. In contrast to clean classes, the poisoned classes exhibit strong bimodality. On the right, the first histogram refers to the poisoned CIFAR-10 class with the LC attack (Turner et al., 2019), and other to the ImageNet class poisoned with the BadNets attack (Gu et al., 2019).
|
| 154 |
+
|
| 155 |
+
## 4.5 IDENTIFYING POISONED EXAMPLES
|
| 156 |
+
|
| 157 |
+
After _D_ ˆP. We identify poisoned examples by computing the poisoning score for each example from everyidentifying the poisoned classes, this steps extracts clean samples _D_ C and poisoned samples class _y_ classified as poisoned:
|
| 158 |
+
|
| 159 |
+
**==> picture [263 x 27] intentionally omitted <==**
|
| 160 |
+
|
| 161 |
+
The poisoning score assumes that, on average, the numerator _p_ _**θ** y_ ( _**z**_ ) will be higher for clean samples than for poisoned ones. In the case of non-disruptive poisoning, we expect the denominator to be relatively high due to similarity with other samples from its original class. Consequently, clean samples score higher than the poisoned ones. In disruptive poisoning, the numerator will be extremely low because the poisoned samples are entirely outside the distributions of all clean classes. Consequently, in this case, the poisoned samples will score significantly higher than clean samples.
|
| 162 |
+
|
| 163 |
+
## 4.6 FILTERING AND RELABELING OF POISONED EXAMPLES
|
| 164 |
+
|
| 165 |
+
We split the samples from identified target classes into three parts according to the hyperparameter _α ∈_ (0 _.._ 0 _._ 5]. We include the samples with _α_ highest poisoning scores in _D_[ˆ] P, and include the samples
|
| 166 |
+
|
| 167 |
+
6
|
| 168 |
+
|
| 169 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 170 |
+
|
| 171 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 172 |
+
|
| 173 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 174 |
+
|
| 175 |
+
**==> picture [94 x 71] intentionally omitted <==**
|
| 176 |
+
|
| 177 |
+
**==> picture [320 x 9] intentionally omitted <==**
|
| 178 |
+
|
| 179 |
+
**----- Start of picture text -----**<br>
|
| 180 |
+
(a) Non-disruptive poisoning attacks (b) Disruptive poisoning attacks<br>**----- End of picture text -----**<br>
|
| 181 |
+
|
| 182 |
+
Figure 4: The values of the score metric for all samples within one target class. Clean samples are shown in blue, poisoned in red. Results displayed on the left correspond to the BadNets and Blend attacks on CIFAR-10, while results shown on the right are for the Label-Consistent attack on CIFAR-10 and BadNets attack on ImageNet.
|
| 183 |
+
|
| 184 |
+
with the _α_ lowest poisoning scores together with samples from identified clean classes in _D_[ˆ] C, and ignore the 1 _−_ 2 _α_ of intermediate samples with uncertain poisoning scores.
|
| 185 |
+
|
| 186 |
+
Finally, the clean and relabeled samples are combined into the cleansed dataset:
|
| 187 |
+
|
| 188 |
+
**==> picture [305 x 21] intentionally omitted <==**
|
| 189 |
+
|
| 190 |
+
Then, we can train a classifier on the _D_[ˆ] using the standard training procedure.
|
| 191 |
+
|
| 192 |
+
## 5 EXPERIMENTS
|
| 193 |
+
|
| 194 |
+
## 5.1 EXPERIMENTAL SETUPS
|
| 195 |
+
|
| 196 |
+
**Datasets and DNNs** We evaluate our defenses on three datasets: CIFAR-10 (Krizhevsky et al., 2009), the standard ImageNet subset (Deng et al., 2009), and the standard VGGFace2 subset (Cao et al., 2018). We use ResNet18 (He et al., 2016) on CIFAR-10 and Imagenet, and DenseNet-121 (Huang et al., 2017) on VGGFace2. We provide additional training details in Appendix B.
|
| 197 |
+
|
| 198 |
+
**Attack baselines and configurations** We consider the f owing 6 baselines: BadNets (Gu et al., 2019), Blend backdoor attack (Blend) Chen et al. (2017), Warping based backdoor attack (WaNet) (Nguyen & Tran, 2021), Sample specific backdoor attack (ISSBA) (Li et al., 2021c), clean-label attack with adversarial perturbations (LC) (Turner et al., 2019) and a recent attack claiming to beat defenses based on latent separability (Adap-Patch and Adap-Blend) (Qi et al., 2022). By choosing those baselines, we cover visible patch-based attacks (BadNets), invisible attacks (WaNet and Blend), sample0specific attacks (ISSBA) and clean-label attacks (LC). We set the target label as 0 ( _yt_ = 0), and the poisoning rate to 10% in poison-label attacks, and 25% in the clean-label attack. We omit some attacks on ImageNet and VGGFace2 since we were not able to reproduce the performance from their papers. We provide detailed per-attack configurations in Appendix B.
|
| 199 |
+
|
| 200 |
+
**Defense baselines and configurations** We compare our method with 4 state-of-the-art defenses: Neural attention distillation (NAD) (Li et al., 2021b), Anti backdoor learning (ABL) (Li et al., 2021a), Decoupling based defense (DBD) (Huang et al., 2022) and Backdoor defense via adaptive splitting (ASD) (Gao et al., 2023). Due to their lower complexity, we perform hyperparameter search for NAD and ABL baselines. We implement DBD and ASD defenses by leveraging the official implementation (Huang et al., 2022; Gao et al., 2023) and original hyperparameters. It is also worth mentioning that NAD and ASD require a small subset of clean data for each class.
|
| 201 |
+
|
| 202 |
+
Our defense uses the ResNet-18 backbone (He et al., 2016) for self-supervised features. We use Adam with ( _β_ 1 _,β_ 2) = (0 _._ 9 _,_ 0 _._ 99), lr = 3 _·_ 10 _[−]_[4] . and batch ~~s~~ ize = 256 on all datasets. We train each normalizing flow for 50 epochs with Adam, ( _β_ 1 _,β_ 2) = (0 _._ 9 _,_ 0 _._ 99), lr = 10 _[−]_[3] and batch ~~s~~ ize = 16. We set _β_ ND = 0 _._ 6, _β_ D = 0 _._ 05, _λ_ = 0 _._ 75 and _α_ = 0 _._ 15 based on early validation experiments.
|
| 203 |
+
|
| 204 |
+
**Evaluation metrics** We adopt two commonly used metrics to evaluate the defense performance, including the accuracy on the clean test dataset (ACC) and the accuracy of predicting poisoned samples as the target label, referred to as attack success rate (ASR).
|
| 205 |
+
|
| 206 |
+
7
|
| 207 |
+
|
| 208 |
+
## 5.2 MAIN RESULTS
|
| 209 |
+
|
| 210 |
+
Table 1 evaluates effectiveness of our defense under state-of-the-art attacks and compare it with the state-of-the-art defenses. Our defense consistently achieves significantly lower average ASR than the alternatives, with ASR falling below 1% in the majority of assays. We concurrently maintain consistently high ACC accross all datasets. Note that ASD exhibits higher ACC on CIFAR-10 and VGGFace2, but often at the expense of significantly higher ASR. Note also that ASD requires a small number of clean samples of each class, whereas our defense operates without such requirement.
|
| 211 |
+
|
| 212 |
+
We especially emphasize the superior performance of our defense under Adap-Patch and AdapBlend attacks. In spite of the intention of these attacks to suppress the latent separation between poisoned samples and the rest of the dataset, self-supervised representations of the poisoned samples still exhibit semantic similarity with their original classes. For that reason, our method successfully defends against such attacks. Conversely, when we examine the outcomes of the ABL, DBD, and ASD defenses against the Adap-Blend attack, we observe a counterintuitive trend: the resulting ASR becomes even higher than without the defense.
|
| 213 |
+
|
| 214 |
+
Table 1: Comparisons of our proposed method with 4 backdoor-removal defenses on CIFAR-10, Imagenet and VGGFace2 datasets. We mark defenses requiring extra clean data with *. We report the clean test accuracy as ACC (%) and the attack success rate ASR (%). The best defense method, marked in **bold** , should exhibit highest ACC - ASR.
|
| 215 |
+
|
| 216 |
+
|Dataset_↓_|Defense_→_<br>Attack _↓_|No Defense|NAD*|ABL|DBD|ASD*|Ours|
|
| 217 |
+
|---|---|---|---|---|---|---|---|
|
| 218 |
+
|||ACC ASR|ACC ASR|ACC ASR|ACC ASR|ACC ASR|ACC ASR|
|
| 219 |
+
|CIFAR10|BadNets<br>Blend<br>WaNet<br>LC<br>ISSBA<br>Adap-Patch<br>Adap-Blend|94.9<br>100<br>94.2 98.25<br>94.3 98.00<br>94.9 99.33<br>94.5<br>100<br>95.2<br>80.9<br>95.0<br>64.9|88.2<br>4.60<br>85.8<br>3.40<br>71.3<br>6.70<br>86.4<br>9.50<br>90.7<br>0.64<br>91.1<br>2.96<br>88.3<br>2.11|**93.8**<br>**1.10**<br>91.9<br>1.60<br>84.1<br>2.20<br>86.6<br>1.30<br>89.2<br>1.20<br>81.9<br>0.00<br>91.5 81.93|92.4<br>0.96<br>92.2<br>1.73<br>91.2<br>0.39<br>89.7<br>0.01<br>83.2<br>0.53<br>**92.9**<br>**1.77**<br>90.1 99.97|92.1<br>3.00<br>**93.4**<br>**1.00**<br>**93.3**<br>**1.20**<br>93.1<br>0.90<br>92.4<br>2.13<br>93.6<br>100<br>94.0 93.90|92.6<br>0.20<br>92.4<br>2.00<br>92.0<br>0.28<br>**92.8**<br>**0.06**<br>**90.9**<br>**0.11**<br>90.6<br>0.13<br>**90.5**<br>**0.00**|
|
| 220 |
+
||Average|-<br>-|85.6<br>4.27|88.4 12.76|90.2 15.05|93.1 28.87|**91.7**<br>**0.40**|
|
| 221 |
+
|||||||||
|
| 222 |
+
|ImageNet|BadNets<br>Blend<br>WaNet|95.3 99.98<br>93.7 99.93<br>93.5<br>100|92.7<br>0.42<br>90.0<br>0.51<br>90.7<br>0.56|94.3<br>0.24<br>93.1<br>0.14<br>92.0<br>1.33|91.2<br>0.54<br>90.3<br>0.58<br>90.5<br>0.48|90.7<br>9.72<br>89.9<br>2.07<br>88.8<br>2.89|**94.8**<br>**0.00**<br>**93.5**<br>**0.45**<br>**93.4**<br>**1.33**|
|
| 223 |
+
||Average|-<br>-|91.1<br>0.50|93.1<br>1.71|90.7<br>0.53|89.8<br>4.89|**93.9**<br>**0.59**|
|
| 224 |
+
|||||||||
|
| 225 |
+
|VGGFace2|BadNets<br>Blend<br>WaNet|93.2<br>100<br>92.8 99.95<br>93.7 99.60|56.1<br>6.50<br>50.8<br>7.30<br>50.4<br>4.20|93.9<br>2.67<br>93.4<br>5.40<br>93.2<br>1.48|90.3<br>0.00<br>90.2<br>0.04<br>87.2<br>0.00|96.2<br>99.1<br>**96.0**<br>**0.18**<br>96.9<br>96.5|**95.2**<br>**0.09**<br>94.2<br>0.42<br>**94.9**<br>**0.14**|
|
| 226 |
+
||Average|-<br>-|52.4<br>6.00|93.5<br>3.18|89.2<br>0.01|96.4 65.26|**94.8**<br>**0.22**|
|
| 227 |
+
|
| 228 |
+
Table 2 reports relabeling accuracies of our generative classifier. We measure these accuracies by evaluating our generative classifier against the original labels, as they were prior to poisoning. We observe the lowest accuracy in cases of Adap-Patch and Adap-Blend attacks. We attribute this discrepancy to the tendency of these attacks to enhance the similarity between the clean and poisoned samples within the latent space. Consequently, during the relabeling process, certain clean samples may become entangled with the poisoned samples, leading to decreased classification accuracy.
|
| 229 |
+
|
| 230 |
+
Table 2: Relabeling accuracies (%) of non-disruptive attacks. As stated, the relabeling in our method only occurs if the attack is classified as non-disruptive.
|
| 231 |
+
|
| 232 |
+
|Attack_→_<br>Dataset _↓_|BadNets|Blend|WaNet|ISSBA|Adap-Patch|Adap-Blend|
|
| 233 |
+
|---|---|---|---|---|---|---|
|
| 234 |
+
|CIFAR-10|92.6|88.3|90.3|92.6|42.1|36.5|
|
| 235 |
+
|
| 236 |
+
8
|
| 237 |
+
|
| 238 |
+
## 5.3 ABLATION STUDIES
|
| 239 |
+
|
| 240 |
+
**Importance of self-supervision.** Table 3 validates the choice of the pre-trained feature extractor. We compare our choice of SimCLR with supervised training and CLIP, a feature extractor pre-trained on an extremely large dataset of images and the corresponding captions (Radford et al., 2021). We can see that SimCLR and CLIP deliver similar overall performance, while greatly outperforming the supervised representations. This improvement occurs since self-supervised learning is less affected by triggers and not affected by target labels. Interestingly, our defense still works well and maintains high accuracy against the WaNet attack even with supervised representations. Additionally, we notice that CLIP performs quite well. This suggests that the computationally expensive pre-training on the poisoned dataset may not be necessary. Instead, using pre-trained feature extractors like CLIP can be effective. However, the assumption of obtaining a clean pre-trained feature extractor, such as CLIP, may face challenges, as recent research shows how similar models can be backdoored (Carlini & Terzis, 2021; Carlini et al., 2023).
|
| 241 |
+
|
| 242 |
+
Table 3: Comparison of different approaches for feature extractor learning on CIFAR10
|
| 243 |
+
|
| 244 |
+
|Attack_→_<br>Feature extractor _↓_|BadNets|Blend|WaNet|
|
| 245 |
+
|---|---|---|---|
|
| 246 |
+
||ACC<br>ASR|ACC<br>ASR|ACC<br>ASR|
|
| 247 |
+
|Supervised<br>Self-supervised (ours)<br>CLIP|75.1<br>6.00<br>**92.6**<br>**0.20**<br>93.1<br>0.85|76.7<br>76.4<br>92.4<br>2.00<br>**93.3**<br>**1.90**|92.4<br>0.42<br>92.0<br>0.28<br>**92.6**<br>**0.33**|
|
| 248 |
+
|
| 249 |
+
**Robustness to different poisoning rates.** Table 4 validates the robustness of our defense under different poisoning rates. We observe a slight increase in ASR for Blend and WaNet attacks with higher poisoning rates. We attribute that to the larger proportion of poisoned samples in the target class, making it harder for our score _s_ to filter out the completely clean subset. While we contend that poisoning attacks should ideally maintain low poisoning rates to enhance their stealthiness, we acknowledge this as one of the limitations of our defense approach.
|
| 250 |
+
|
| 251 |
+
Table 4: Resistance of our defense to different poisoning rates on CIFAR10
|
| 252 |
+
|
| 253 |
+
|Poisoning rate_↓_|Attack_→_<br>Defense _↓_|BadNets|Blend|WaNet|
|
| 254 |
+
|---|---|---|---|---|
|
| 255 |
+
|||ACC<br>ASR|ACC<br>ASR|ACC<br>ASR|
|
| 256 |
+
|1%|No Defense<br>Ours|95.2<br>99.96<br>90.3<br>0.04|95.2<br>94.5<br>89.7<br>0.01|94.7<br>60.05<br>90.3<br>0.03|
|
| 257 |
+
|5%|No Defense<br>Ours|94.5<br>100<br>91.5<br>0.26|94.7<br>99.3<br>90.8<br>0.10|94.4<br>95.7<br>91.6<br>0.1|
|
| 258 |
+
|10%|No Defense<br>Ours|95.0<br>100<br>92.6<br>0.20|94.6<br>99.69<br>92.4<br>2.00|94.5<br>99.0<br>92.0<br>0.28|
|
| 259 |
+
|15%|No Defense<br>Ours|94.5<br>100<br>92.6<br>0.60|94.3<br>99.92<br>82.6<br>3.60|94.2<br>99.7<br>91.7<br>8.9|
|
| 260 |
+
|20%|No Defense<br>Ours|94.5<br>100<br>92.4<br>1.20|94.4<br>99.90<br>92.3<br>20.30|94.1<br>98.83<br>92.2<br>14.5|
|
| 261 |
+
|
| 262 |
+
## 6 CONCLUSION
|
| 263 |
+
|
| 264 |
+
We have presented a novel analysis of the effects of backdoor attacks on self-supervised image representations. Results of that analysis inspired us to propose a novel backdoor defense that allows to detect poisoned classes and samples, as well as to alleviate the damage through relabeling. Extensive evaluation against the state-of-the-art reveals competitive performance. In particular, we note extremely effective ASR reduction of latent separability attacks Adap-Patch and Adap-Blend. We hope that our method can contribute as a tool for increasing the robustness of deep learning applications. Our future work will attempt to further improve the success of generative relabeling.
|
| 265 |
+
|
| 266 |
+
9
|
| 267 |
+
|
| 268 |
+
## REFERENCES
|
| 269 |
+
|
| 270 |
+
Battista Biggio and Fabio Roli. Wild patterns: Ten years after the rise of adversarial machine learning. _Pattern Recognit._ , 84:317–331, 2018.
|
| 271 |
+
|
| 272 |
+
- Hermann Blum, Paul-Edouard Sarlin, Juan I. Nieto, Roland Siegwart, and Cesar Cadena. The fishyscapes benchmark: Measuring blind spots in semantic segmentation. _Int. J. Comput. Vis._ , 129(11):3119–3135, 2021.
|
| 273 |
+
|
| 274 |
+
- Qiong Cao, Li Shen, Weidi Xie, Omkar M Parkhi, and Andrew Zisserman. Vggface2: A dataset for recognising faces across pose and age. In _2018 13th IEEE international conference on automatic face & gesture recognition (FG 2018)_ , pp. 67–74. IEEE, 2018.
|
| 275 |
+
|
| 276 |
+
- Nicholas Carlini and Andreas Terzis. Poisoning and backdooring contrastive learning. _arXiv preprint arXiv:2106.09667_ , 2021.
|
| 277 |
+
|
| 278 |
+
- Nicholas Carlini, Matthew Jagielski, Christopher A Choquette-Choo, Daniel Paleka, Will Pearce, Hyrum Anderson, Andreas Terzis, Kurt Thomas, and Florian Tram`er. Poisoning web-scale training datasets is practical. _arXiv preprint arXiv:2302.10149_ , 2023.
|
| 279 |
+
|
| 280 |
+
- Bryant Chen, Wilka Carvalho, Nathalie Baracaldo, Heiko Ludwig, Benjamin Edwards, Taesung Lee, Ian Molloy, and Biplav Srivastava. Detecting backdoor attacks on deep neural networks by activation clustering. _arXiv preprint arXiv:1811.03728_ , 2018.
|
| 281 |
+
|
| 282 |
+
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In _International conference on machine learning_ , pp. 1597–1607. PMLR, 2020.
|
| 283 |
+
|
| 284 |
+
- Weixin Chen, Baoyuan Wu, and Haoqian Wang. Effective backdoor defense by exploiting sensitivity of poisoned samples. _Advances in Neural Information Processing Systems_ , 35:9727–9737, 2022.
|
| 285 |
+
|
| 286 |
+
- Xinyun Chen, Chang Liu, Bo Li, Kimberly Lu, and Dawn Song. Targeted backdoor attacks on deep learning systems using data poisoning. _arXiv preprint arXiv:1712.05526_ , 2017.
|
| 287 |
+
|
| 288 |
+
- Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In _2009 IEEE conference on computer vision and pattern recognition_ , pp. 248–255. Ieee, 2009.
|
| 289 |
+
|
| 290 |
+
- Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using real nvp. _arXiv preprint arXiv:1605.08803_ , 2016.
|
| 291 |
+
|
| 292 |
+
- Yinpeng Dong, Xiao Yang, Zhijie Deng, Tianyu Pang, Zihao Xiao, Hang Su, and Jun Zhu. Blackbox detection of backdoor attacks with limited information and data. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 16482–16491, 2021.
|
| 293 |
+
|
| 294 |
+
- Kuofeng Gao, Yang Bai, Jindong Gu, Yong Yang, and Shu-Tao Xia. Backdoor defense via adaptively splitting poisoned dataset. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 4005–4014, 2023.
|
| 295 |
+
|
| 296 |
+
- Tianyu Gu, Kang Liu, Brendan Dolan-Gavitt, and Siddharth Garg. Badnets: Evaluating backdooring attacks on deep neural networks. _IEEE Access_ , 7:47230–47244, 2019.
|
| 297 |
+
|
| 298 |
+
- Junfeng Guo, Yiming Li, Xun Chen, Hanqing Guo, Lichao Sun, and Cong Liu. Scale-up: An efficient black-box input-level backdoor detection via analyzing scaled prediction consistency. _arXiv preprint arXiv:2302.03251_ , 2023.
|
| 299 |
+
|
| 300 |
+
- 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.
|
| 301 |
+
|
| 302 |
+
- Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 4700–4708, 2017.
|
| 303 |
+
|
| 304 |
+
10
|
| 305 |
+
|
| 306 |
+
Kunzhe Huang, Yiming Li, Baoyuan Wu, Zhan Qin, and Kui Ren. Backdoor defense via decoupling the training process. _arXiv preprint arXiv:2202.03423_ , 2022.
|
| 307 |
+
|
| 308 |
+
- Jinyuan Jia, Yupei Liu, and Neil Zhenqiang Gong. BadEncoder: Backdoor attacks to pre-trained encoders in self-supervised learning. In _IEEE Symposium on Security and Privacy_ , 2022.
|
| 309 |
+
|
| 310 |
+
- Diederik P. Kingma and Max Welling. Auto-encoding variational bayes. In Yoshua Bengio and Yann LeCun (eds.), _2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings_ , 2014.
|
| 311 |
+
|
| 312 |
+
- Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Why normalizing flows fail to detect out-of-distribution data. In Hugo Larochelle, Marc’Aurelio Ranzato, Raia Hadsell, MariaFlorina Balcan, and Hsuan-Tien Lin (eds.), _Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual_ , 2020.
|
| 313 |
+
|
| 314 |
+
- Alex Krizhevsky, Vinod Nair, and Geoffrey Hinton. Cifar-10 (canadian institute for advanced research). 2009. URL [URL removed]
|
| 315 |
+
|
| 316 |
+
- Pavel Laskov and Richard Lippmann. Machine learning in adversarial environments. _Mach. Learn._ , 81(2):115–119, 2010. doi: 10.1007/s10994-010-5207-6. URL [URL removed] 1007/s10994-010-5207-6.
|
| 317 |
+
|
| 318 |
+
- Shaofeng Li, Minhui Xue, Benjamin Zi Hao Zhao, Haojin Zhu, and Xinpeng Zhang. Invisible backdoor attacks on deep neural networks via steganography and regularization. _IEEE Transactions on Dependable and Secure Computing_ , 18(5):2088–2105, 2020.
|
| 319 |
+
|
| 320 |
+
- Yige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu, Bo Li, and Xingjun Ma. Anti-backdoor learning: Training clean models on poisoned data. _Advances in Neural Information Processing Systems_ , 34:14900–14912, 2021a.
|
| 321 |
+
|
| 322 |
+
- Yige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu, Bo Li, and Xingjun Ma. Neural attention distillation: Erasing backdoor triggers from deep neural networks. _arXiv preprint arXiv:2101.05930_ , 2021b.
|
| 323 |
+
|
| 324 |
+
- Yiming Li, Yong Jiang, Zhifeng Li, and Shu-Tao Xia. Backdoor learning: A survey. _IEEE Transactions on Neural Networks and Learning Systems_ , 2022.
|
| 325 |
+
|
| 326 |
+
- Yuezun Li, Yiming Li, Baoyuan Wu, Longkang Li, Ran He, and Siwei Lyu. Invisible backdoor attack with sample-specific triggers. In _Proceedings of the IEEE/CVF international conference on computer vision_ , pp. 16463–16472, 2021c.
|
| 327 |
+
|
| 328 |
+
- Kang Liu, Brendan Dolan-Gavitt, and Siddharth Garg. Fine-pruning: Defending against backdooring attacks on deep neural networks. In _International symposium on research in attacks, intrusions, and defenses_ , pp. 273–294. Springer, 2018.
|
| 329 |
+
|
| 330 |
+
- Radek Mackowiak, Lynton Ardizzone, Ullrich Kothe, and Carsten Rother. Generative classifiers as a basis for trustworthy image classification. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 2971–2981, 2021.
|
| 331 |
+
|
| 332 |
+
- Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. _arXiv preprint arXiv:1706.06083_ , 2017.
|
| 333 |
+
|
| 334 |
+
- Shike Mei and Xiaojin Zhu. Using machine teaching to identify optimal training-set attacks on machine learners. In Blai Bonet and Sven Koenig (eds.), _Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, January 25-30, 2015, Austin, Texas, USA_ , pp. 2871–2877. AAAI Press, 2015.
|
| 335 |
+
|
| 336 |
+
- Eric Nalisnick, Akihiro Matsukawa, Yee Whye Teh, Dilan Gorur, and Balaji Lakshminarayanan. Do deep generative models know what they don’t know? _arXiv preprint arXiv:1810.09136_ , 2018.
|
| 337 |
+
|
| 338 |
+
- Anh Nguyen and Anh Tran. Wanet–imperceptible warping-based backdoor attack. _arXiv preprint arXiv:2102.10369_ , 2021.
|
| 339 |
+
|
| 340 |
+
11
|
| 341 |
+
|
| 342 |
+
Tuan Anh Nguyen and Anh Tran. Input-aware dynamic backdoor attack. _Advances in Neural Information Processing Systems_ , 33:3454–3464, 2020.
|
| 343 |
+
|
| 344 |
+
- Xiangyu Qi, Tinghao Xie, Yiming Li, Saeed Mahloujifar, and Prateek Mittal. Revisiting the assumption of latent separability for backdoor defenses. In _The eleventh international conference on learning representations_ , 2022.
|
| 345 |
+
|
| 346 |
+
- Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In _International conference on machine learning_ , pp. 8748–8763, 2021.
|
| 347 |
+
|
| 348 |
+
- Danilo Jimenez Rezende and Shakir Mohamed. Variational inference with normalizing flows. In Francis R. Bach and David M. Blei (eds.), _Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, Lille, France, 6-11 July 2015_ , volume 37 of _JMLR Workshop and Conference Proceedings_ , pp. 1530–1538. JMLR.org, 2015.
|
| 349 |
+
|
| 350 |
+
- Joan Serr`a, David Alvarez,[´] Vicenc¸ G´omez, Olga Slizovskaia, Jos´e F N´u˜nez, and Jordi Luque. Input complexity and out-of-distribution detection with likelihood-based generative models. _arXiv preprint arXiv:1909.11480_ , 2019.
|
| 351 |
+
|
| 352 |
+
- David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. _nature_ , 529(7587):484–489, 2016.
|
| 353 |
+
|
| 354 |
+
- Guanhong Tao, Guangyu Shen, Yingqi Liu, Shengwei An, Qiuling Xu, Shiqing Ma, Pan Li, and Xiangyu Zhang. Better trigger inversion optimization in backdoor scanning. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 13368–13378, 2022.
|
| 355 |
+
|
| 356 |
+
- Brandon Tran, Jerry Li, and Aleksander Madry. Spectral signatures in backdoor attacks. _Advances in neural information processing systems_ , 31, 2018.
|
| 357 |
+
|
| 358 |
+
Alexander Turner, Dimitris Tsipras, and Aleksander Madry. Label-consistent backdoor attacks. _arXiv preprint arXiv:1912.02771_ , 2019.
|
| 359 |
+
|
| 360 |
+
- Bolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li, Bimal Viswanath, Haitao Zheng, and Ben Y Zhao. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In _2019 IEEE Symposium on Security and Privacy (SP)_ , pp. 707–723. IEEE, 2019.
|
| 361 |
+
|
| 362 |
+
- Wayne Xiong, Jasha Droppo, Xuedong Huang, Frank Seide, Mike Seltzer, Andreas Stolcke, Dong Yu, and Geoffrey Zweig. Achieving human parity in conversational speech recognition. _arXiv preprint arXiv:1610.05256_ , 2016.
|
| 363 |
+
|
| 364 |
+
- Xiaojun Xu, Qi Wang, Huichen Li, Nikita Borisov, Carl A Gunter, and Bo Li. Detecting ai trojans using meta neural analysis. In _2021 IEEE Symposium on Security and Privacy (SP)_ , pp. 103–120. IEEE, 2021.
|
| 365 |
+
|
| 366 |
+
- Hongjie Zhang, Ang Li, Jie Guo, and Yanwen Guo. Hybrid models for open set recognition. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm (eds.), _Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part III_ , volume 12348 of _Lecture Notes in Computer Science_ , pp. 102–117. Springer, 2020.
|
| 367 |
+
|
| 368 |
+
- Tong Zhang. Solving large scale linear prediction problems using stochastic gradient descent algorithms. In _Proceedings of the twenty-first international conference on Machine learning_ , pp. 116, 2004.
|
| 369 |
+
|
| 370 |
+
- Pu Zhao, Pin-Yu Chen, Payel Das, Karthikeyan Natesan Ramamurthy, and Xue Lin. Bridging mode connectivity in loss landscapes and adversarial robustness. _arXiv preprint arXiv:2005.00060_ , 2020a.
|
| 371 |
+
|
| 372 |
+
- Shihao Zhao, Xingjun Ma, Xiang Zheng, James Bailey, Jingjing Chen, and Yu-Gang Jiang. Cleanlabel backdoor attacks on video recognition models. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 14443–14452, 2020b.
|
| 373 |
+
|
| 374 |
+
12
|
| 375 |
+
|
| 376 |
+
## A IMPLEMENTATION DETAILS
|
| 377 |
+
|
| 378 |
+
## A.1 DATASETS AND DNNS
|
| 379 |
+
|
| 380 |
+
We show the details for each dataset used in our evaluations in Table 5. We opted to randomly select 30 classes from the ImageNet and VGGFace2 datasets to create a subset, primarily to address computational time and cost constraints.
|
| 381 |
+
|
| 382 |
+
Table 5: Summary of datasets and DNN models used in our experiments.
|
| 383 |
+
|
| 384 |
+
|Dataset|# Input size|# Classes# Training<br>images|# Classes# Training<br>images|# Testing<br>images|Models|
|
| 385 |
+
|---|---|---|---|---|---|
|
| 386 |
+
|CIFAR-10|3_×_32_×_32|10|50000|10000|ResNet-18|
|
| 387 |
+
|ImageNet|3_×_224_×_224|30|39000|3000|ResNet-18|
|
| 388 |
+
|VGGFace2|3_×_224_×_224|30|9000|2250|DenseNet-121|
|
| 389 |
+
|
| 390 |
+
## B ATTACK CONFIGURATIONS
|
| 391 |
+
|
| 392 |
+
**Training setups** We perform backdoor attacks on CIFAR-10 (Krizhevsky et al., 2009) for 200 epochs, adopting the SGD (Zhang, 2004) optimizer with the learning rate set to 0.1, momentum to 0.9 and weight decay to 0.0005. We divide the learning rate by 10 at epochs 100 and 150. We perform random resized crop, random horizontal flip and normalization as data augmentations. On ImageNet (Deng et al., 2009) and VGGFace2 (Cao et al., 2018) we train for 90 epochs. All images are resized to 224 _x_ 224 _x_ 3 before the trigger injection. The other training configurations are same as in CIFAR-10 trainig. We set batch size to 128 in all experiments.
|
| 393 |
+
|
| 394 |
+
**BadNets** To perform BadNets attacks, we follow the configurations of Gu et al. (2019); Huang et al. (2022); Gao et al. (2023). On CIFAR-10, the trigger pattern is 2 _x_ 2 square in the upper left corner of the image. On ImageNet and VGGFace2, we opt for 32 _x_ 32 apple logo also placed in the upper left corner.
|
| 395 |
+
|
| 396 |
+
**Blend** Following (Chen et al., 2017; Huang et al., 2022; Gao et al., 2023), we use ”Hello Kitty” pattern on CIFAR-10 and random noise patterns on ImageNet and VGGFace2. Blending ratio on all datasets is set to 0.1.
|
| 397 |
+
|
| 398 |
+
**WaNet** Although WaNet (Nguyen & Tran, 2021) belongs to the training time attacks, we follow Huang et al. (2022); Gao et al. (2023) to use the warping-based operation to directly generate the trigger pattern. The operation hyperparameters are the same as in Gao et al. (2023).
|
| 399 |
+
|
| 400 |
+
**Label Consistent** Following Turner et al. (2019), we use projected gradient descent (Madry et al., 2017) to generate the adversarial perturbations within _l∞_ ball. Maximum magnitude _η_ is set to 16, step size to 1.5 and perturbation steps to 30. Trigger pattern is 3 _x_ 3 grid pattern in each corner of the image
|
| 401 |
+
|
| 402 |
+
**ISSBA** We replicate the ISSBA (Li et al., 2021c) attack by training the encoder model for 20 epochs with secret size 20. We then leverage the pre-trained encoder to generate the poisoned dataset.
|
| 403 |
+
|
| 404 |
+
**Adap-Patch and Adap-Blend** To replicate these attacks, we search for the combination of cover and poison rate giving the best ASR, while keeping in mind that those rates should not be too high for attack to remain stealthy, as stated in Qi et al. (2022). We set poison and cover rate both to 0.01. Trigger patterns used are the same as in Qi et al. (2022).
|
| 405 |
+
|
| 406 |
+
13
|
| 407 |
+
|
| 408 |
+
## C DEFENSE CONFIGURATIONS
|
| 409 |
+
|
| 410 |
+
**NAD** We implement this method based on the open source code[1] . We find NAD Li et al. (2021b) to be sensitive to its hyperparameter _β_ , which is why we perform hyperparameter search for the best results among values _β ∈{_ 500 _,_ 1000 _,_ 1500 _,_ 2000 _,_ 5000 _}_ .
|
| 411 |
+
|
| 412 |
+
**ABL** To reproduce ABL experiments, we also refer to the open source library[2] . We first poison the model for 20 epochs, followed by the process of backdoor isolation which takes 70 epochs. Lastly, we unlearn the backdoor for 5 epochs on CIFAR-10 and ImageNet, and for 20 epochs to VGGFace2. We search for the best results given hyperparameter _γ ∈{_ 0 _,_ 0 _._ 2 _,_ 0 _._ 4 _}_ .
|
| 413 |
+
|
| 414 |
+
**DBD** In order to reproduce DBD (Huang et al., 2022), we use the official implementation[3] . We follow all configurations as clarified in Huang et al. (2022).
|
| 415 |
+
|
| 416 |
+
**ASD** By following the official implementation[4] , we reproduce the ASD (Gao et al., 2023). Similar as for DBD, we follow all defense configurations from Gao et al. (2023)
|
| 417 |
+
|
| 418 |
+
> 1[URL removed]
|
| 419 |
+
|
| 420 |
+
> 2[URL removed]
|
| 421 |
+
|
| 422 |
+
> 3[URL removed]
|
| 423 |
+
|
| 424 |
+
> 4[URL removed]
|
| 425 |
+
|
| 426 |
+
14
|
| 427 |
+
|
open_review/iclr2024_9082.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9082",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Tasks",
|
| 6 |
+
"abstract": "In-context learning (ICL) has become the default method for using large language models (LLMs), making the exploration of its limitations and understanding the underlying causes crucial. In this paper, we find that ICL falls short of handling specification-heavy tasks, which are tasks with complicated and extensive task specifications, requiring several hours for ordinary humans to master, such as traditional information extraction tasks. The performance of ICL on these tasks mostly cannot reach half of the state-of-the-art results. To explore the reasons behind this failure, we conduct comprehensive experiments on $18$ specification-heavy tasks with various LLMs and identify three primary reasons: inability to specifically understand context, misalignment in task schema comprehension with humans, and inadequate long-text understanding ability. Furthermore, we demonstrate that through fine-tuning, LLMs can achieve decent performance on these tasks, indicating that the failure of ICL is not an inherent flaw of LLMs, but rather a drawback of existing alignment methods that renders LLMs incapable of handling complicated specification-heavy tasks via ICL. To substantiate this, we perform dedicated instruction tuning on LLMs for these tasks and observe a notable improvement. We hope the analyses in this paper could facilitate advancements in alignment methods enabling LLMs to meet more sophisticated human demands.",
|
| 7 |
+
"rebuttal": "Thanks for your detailed and insightful review!\n\nRegarding the Weakness #1: Thank you for the insightful suggestion. We will design tasks that are 'specification-heavy but familiar (to LLMs)' to analyze the sources of inability more effectively. Additionally, regarding the discussion on 'can general specifications assist complex task-specific specification understanding?', we intend to explore this in our future work. Our aim is to enhance LLMs' capabilities in instruction understanding and reasoning through the use of general specifications.\n\nRegarding the Weakness #2: In Section 3, we primarily focused on observing and experimentally analyzing errors in LLMs, aiming to provide insights for future work. Following your suggestion, we will condense this section in our subsequent revisions and include more extensive analysis at the modeling level.\n\nThank you for your valuable review!\n\nRegarding the Weakness #1: Regarding the first question, the three primary error causes were identified through our error analysis. We have conducted additional experimental analyses for each of these causes, detailed in their respective subsections. For the 'tractor' example in Figure 2, we will include descriptions for each category in the task instructions in future experiments. This will help us more accurately differentiate between 'unspecific context understanding' and 'Misaligned Schema Understanding' as reasons of error.\n\nFor the second question, th [...]\n\nThank you for your valuable review!\n\nRegarding the Weakness #1: Thank you for your suggestion. We respond to this issue in our general response. We will conduct additional experiments using more detailed prompts.\n\nRegarding the Weakness #2: Thank you for your valuable suggestion. Holding out a task each time is a more reasonable approach. In light of this, we plan to revise the settings of all our experiments to hold out one task, in line with the practices in the FLAN series. \n\nRegarding the Question #1: The inferior performance on the MAVEN-Subevent task may be attributed to the sparse annot [...]\n\nThanks for your review!\n\nFor the Weakness #1: We politely disagree that in-context learning can only be performed with demonstrations. The original definition of ICL in the GPT-3 paper [1] is explicitly characterized as encompassing both instructions and demonstrations. Additionally, if ICL were to include only demonstrations, the community would have no rationale to create a new term instead of directly employing the widely-accepted term 'few-shot learning'.\n\nFor the Weakness #2: It appears there may be some ambiguity in the question posed. We have employed instruction tuning method to enhanc [...]\n\nThank you for your meticulous reviews, which are invaluable for helping us improve this paper. We have summarized the common concerns raised and provide our responses here.\n\nA major concern among reviewers is the insufficiency of the prompts, such as the lack of descriptions for classes and the failure to cover the entire label space in the demonstrations, leading to suboptimal performance of LLMs on these tasks. In Table 3 and 16 of the paper, we conducted experiments with descriptions of classes. These experiments indicate that even with the descriptions, the improvement in LLM performance is limited and may even lead to a decrease. Regarding the incomplete coverage of the label space, our approach was to follow the common practice of previous works [1,2], which sample a number of examples as demonstrations. This indeed might contribute to reduced effectiveness and we will try to mitigate this in our future version.\n\nWe appreciate the valuable suggestions from reviewers. In our revised version, we will employ more detailed prompts, such as more detailed instructions and more demonstrations to enhance the credibility of our results.\n\n[1] Han, Ridong et al. “Is Information Extraction Solved by ChatGPT? An Analysis of Performance, Evaluation Criteria, Robustness and Errors.” *ArXiv* abs/2305.14450 (2023).\n\n[2] Yu, Jifan et al. “KoLA: Carefully Benchmarking World Knowledge of Large Language Models.” *ArXiv* abs/2306.09296 (2023).",
|
| 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": "The paper investigates the application of the in-context-learning (ICL) in Large Language Models (LLMs) for specifications-heavy tasks, such as relation extraction. It finds that few-shot ICL faces challenges in understanding context specifics, limited comprehension of task schema, and the LLM's constrained ability to grasp long contexts. Reviewers raised concerns regarding the experimental set up and lacking of enough analysis.",
|
| 22 |
+
"forum_id": "Cw6lk56w6z",
|
| 23 |
+
"primary_area": "representation learning for computer vision, audio, language, and other modalities",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_3cva",
|
| 28 |
+
"review_id": "GcEgd10Pb2",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 3,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 1,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2247,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 25206,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_KipK",
|
| 44 |
+
"review_id": "CDorENijEC",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2929,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 862264,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_Huq3",
|
| 60 |
+
"review_id": "nYxK4HXjgJ",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3306,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 919211,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_hYr5",
|
| 76 |
+
"review_id": "rcxUqSMhXg",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 4,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2032,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2570163,
|
| 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_9082.md
ADDED
|
@@ -0,0 +1,650 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - WHEN DOES IN CONTEXT LEARNING FALL SHORT AND WHY? A STUDY ON _Specification-Heavy_ TASKS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
In-context learning (ICL) has become the default method for using large language models (LLMs), making the exploration of its limitations and understanding the underlying causes crucial. In this paper, we find that ICL falls short of handling _specification-heavy_ tasks, which are tasks with complicated and extensive task specifications, requiring several hours for ordinary humans to master, such as traditional information extraction tasks. The performance of ICL on these tasks mostly cannot reach half of the state-of-the-art results. To explore the reasons behind this failure, we conduct comprehensive experiments on 18 specificationheavy tasks with various LLMs and identify three primary reasons: inability to specifically understand context, misalignment in task schema comprehension with humans, and inadequate long-text understanding ability. Furthermore, we demonstrate that through fine-tuning, LLMs can achieve decent performance on these tasks, indicating that the failure of ICL is not an inherent flaw of LLMs, but rather a drawback of existing alignment methods that renders LLMs incapable of handling complicated specification-heavy tasks via ICL. To substantiate this, we perform dedicated instruction tuning on LLMs for these tasks and observe a notable improvement. We hope the analyses in this paper could facilitate advancements in alignment methods enabling LLMs to meet more sophisticated human demands.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Large language models (LLMs) have demonstrated exceptional language capabilities (Brown et al., 2020; OpenAI, 2023c; Anil et al., 2023). Due to their immense parameter scale, the predominant usage method of LLMs is in-context learning (ICL), i.e., LLMs implicitly learn how to handle a task with only the task instruction and a few demonstrations (Brown et al., 2020). Enhanced by alignment techniques such as instruction tuning (Wei et al., 2021; Chung et al., 2022; Iyer et al., 2022) and reinforcement learning from human feedback (Ouyang et al., 2022), the “LLM+ICL” paradigm is capable of serving extensive human needs, forming the foundation for many applications (Jiao et al., 2023; Gao et al., 2023b; Koco´n et al., 2023; Tan et al., 2023; Dao & Le, 2023). This brings the increasing importance of understanding the ability boundaries and limitations of LLM+ICL.
|
| 14 |
+
|
| 15 |
+
In this paper, we find that LLM+ICL falls short of handling _specification-heavy_ tasks. Specificationheavy tasks refer to tasks with complex and extensive task specifications, often requiring ordinary humans to undergo substantial training time to master. As an example, Figure 1 illustrates a part of the ACE 2005 event detection (Walker et al., 2006) task specifications. Its full annotation guideline (Consortium, 2005) spans 77 pages. Even when we try to describe the essential task content with minimal language in our prompt design, the final prompt requires about 200 tokens. In our empirical study (§ 2), we collect 18 specification-heavy tasks from the range of conventional natural language understanding tasks and evaluate 6 competitive LLMs including GPT-4 (OpenAI, 2023c), Vicuna (Vicuna, 2023), FLAN-UL2 (Tay et al., 2022), etc. Experimental results demonstrate that the ICL performance of these LLMs often falls far below half of the previous state-of-the-art (SoTA) achieved by fine-tuned small-scale models.
|
| 16 |
+
|
| 17 |
+
To explore _why LLM+ICL falls short on specification-heavy tasks_ (§ 3), we conduct intensive error analyses along with dedicated analytical experiments and identify three main failure reasons: (1) Inability to specifically understand context. Specification-heavy tasks often require a fine-grained understanding of given contexts to finish meticulous tasks, but LLMs lack specific understanding
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
**==> picture [393 x 149] intentionally omitted <==**
|
| 22 |
+
|
| 23 |
+
**----- Start of picture text -----**<br>
|
| 24 |
+
ACE 2005 Event Annotation Specifications<br>① Basic Concepts : An Event is a specific occurrence involving participants. … We will not be<br>tagging all Events, but only examples of a particular set of types and subtypes. Specifically,<br>we will be interested in annotating LIFE, MOVEMENT, TRANSACTION, BUSINESS,<br>CONFLICT, CONTACT, PERSONNEL and JUSTICE Events and among these a particular set of<br>subtypes. The types and subtypes will be more thoroughly discussed in below. …<br>② [Annotating Event Triggers: ] [An Event’s Trigger is the word (in its scope) that most clearly ]<br>expresses its occurrence. In many cases, this will merely be the main verb in the part of<br>the sentence (extent) that most directly describes the Event. Note that the following<br>examples mark in bold only those triggers that are main verbs. …<br>③ Annotating Complex Examples: Most of the rules for identifying Event triggers discussed<br>so far seem to work fairly well for the more simple examples. But the real challenge is to<br>use these rules consistently for the complex cases as well. …<br>…<br>In-Context<br>Learning<br>Learning<br>**----- End of picture text -----**<br>
|
| 25 |
+
|
| 26 |
+
Figure 1: An example specification-heavy task: ACE 2005 event detection. This task involves heavy specifications which would take ordinary humans substantial time to learn. Therefore, solving the task using LLMs with in-context learning is challenging.
|
| 27 |
+
|
| 28 |
+
abilities. In the majority of error cases, LLMs either completely ignore the context, solely relying on their internal knowledge to make predictions (Longpre et al., 2021; Zhou et al., 2023b; Xie et al., 2023; Zhong et al., 2023) or overlook some important specific words within the context. (2) Misalignment in task schema comprehension with humans. Since the heavy task specifications often cannot be completely input to LLMs, specification-heavy tasks are often _underspecified_ to LLMs. In the underspecified scenario, LLMs’ understandings of task schema are often not fully aligned with human definitions (Si et al., 2023). As the task schema (event types) shown in Figure 1, we observe that LLMs consistently misclassify certain types, such as predicting BUSINESS as TRANSACTION. (3) Inadequate long-text understanding ability. It has been widely known that LLMs are often inadequate for understanding long contexts (Press et al., 2021; Shaham et al., 2022; Liu et al., 2023b). For specification-heavy tasks, this not only implies that LLMs would perform worse with longer given contexts similar to ordinary tasks, but more severely, we are unable to have LLMs fully utilize long task specifications, making the issue of underspecification hard to resolve.
|
| 29 |
+
|
| 30 |
+
For the aforementioned drawbacks of the LLM+ICL paradigm, _should we blame LLM or ICL_ ? To answer this question, we perform fine-tuning experiments to investigate the upper-bound performance of LLMs on the tasks (§ 4.1). Specifically, we fine-tune FLAN-UL2 (Tay et al., 2022), an LLM with 20 billion parameters, on each of the investigated specification-heavy tasks. The achieved results are much better than ICL performance and mostly comparable with existing SoTA. Moreover, we fine-tune a series of LLMs with different scales and observe a clear positive scaling effect, i.e., the fine-tuning performance on specification-heavy tasks improves with the increase in model size. These results indicate that the failure is not an inherent flaw of LLMs. The limitations on handling specification-heavy tasks come from ICL.
|
| 31 |
+
|
| 32 |
+
We posit that the inability of ICL to effectively handle specification-heavy tasks is due to the neglect of existing alignment methods. Existing alignment methods, such as instruction tuning (Wei et al., 2021; Chung et al., 2022) and RLHF (Ouyang et al., 2022), benefit from highly diverse data and tasks (Zhou et al., 2023a; Yue et al., 2023). However, existing alignment datasets often do not well cover complicated specification-heavy tasks (Wang et al., 2022d; Mishra et al., 2022b; Wang et al., 2022c; Wei et al., 2021; Longpre et al., 2023), resulting in the limitation of LLMs’ ICL ability. To substantiate this, we conduct a preliminary experiment (§ 4.2). We perform straightforward instruction tuning to align FLAN-UL2 (Tay et al., 2022) on the investigated specification-heavy tasks. Following FLAN (Wei et al., 2021), we manually curate 10 instructions per task and diversify the set through augmentation techniques such as random shuffling of the predefined task schema. After our alignment, the ICL performance on specification-heavy tasks of FLAN-UL2 (20B) is obviously improved and reaches the level of text-davinci-003, which demonstrates the substantial potential of LLMs that could be unleashed with alignment. In light of this, we advocate for further research on alignment on specification-heavy tasks and discuss some possible directions (§ 5). Broadly, this will enable humans to fulfill more sophisticated demands with LLMs in the accessible ICL way.
|
| 33 |
+
|
| 34 |
+
2
|
| 35 |
+
|
| 36 |
+
|Type|Task|SoTA<br>FLAN-UL2<br>Alpaca<br>Vicuna<br>ChatGPT<br>Davinci<br>GPT-4|
|
| 37 |
+
|---|---|---|
|
| 38 |
+
|NER|CoNLL 2003<br>ACE 2005<br>FewNERD|94_._6(Wang et al.,2021a)<br>43_._0<br>40_._7<br>31_._1<br>61_._8<br>41_._2<br>76_._0<br>89_._5(Zhang et al.,2022)<br>4_._7<br>15_._9<br>24_._6<br>34_._0<br>32_._8<br>42_._3<br>68_._9(Ding et al.,2021)<br>1_._8<br>18_._1<br>17_._0<br>44_._1<br>31_._2<br>52_._2|
|
| 39 |
+
|RE|TACRED<br>SemEval<br>FewRel 2.0<br>DocRED|76_._8(Wang et al.,2022a)<br>2_._9<br>0_._0<br>0_._0<br>7_._3<br>15_._8<br>25_._2<br>91_._9(Cohen et al.,2020)<br>14_._0<br>9_._2<br>6_._2<br>24_._0<br>16_._1<br>39_._5<br>73_._9(Li et al.,2023b)<br>10_._0<br>0_._0<br>0_._0<br>46_._0<br>40_._0<br>68_._0<br>67_._5(Ma et al.,2023)<br>1_._9<br>0_._0<br>0_._0<br>12_._4<br>22_._9<br>27_._9|
|
| 40 |
+
|ED|ACE 2005<br>MAVEN<br>RichERE|73_._5(Wang et al.,2022a)<br>0_._5<br>3_._5<br>4_._3<br>27_._0<br>22_._6<br>33_._7<br>68_._5(Wang et al.,2021b)<br>0_._3<br>1_._9<br>2_._1<br>18_._8<br>20_._6<br>28_._9<br>62_._0(Van Nguyen et al.,2022)<br>0_._0<br>5_._1<br>1_._7<br>18_._8<br>15_._3<br>23_._8|
|
| 41 |
+
|EAE|ACE 2005<br>RichERE|72_._7(Ma et al.,2022)<br>0_._7<br>5_._9<br>0_._3<br>23_._4<br>27_._2<br>36_._2<br>68_._3(Peng et al.,2023)<br>0_._2<br>10_._6<br>6_._3<br>28_._7<br>29_._2<br>41_._0|
|
| 42 |
+
|ERE|MATRES<br>MAVEN-Causal<br>MAVEN-Subevent<br>MAVEN-Temporal|84_._0(Zhou et al.,2022)<br>29_._2<br>29_._9<br>5_._1<br>41_._0<br>47_._0<br>59_._0<br>31_._5(Wang et al.,2022b)<br>1_._4<br>17_._6<br>1_._0<br>16_._3<br>9_._0<br>9_._0<br>27_._5(Wang et al.,2022b)<br>5_._2<br>6_._7<br>15_._4<br>24_._8<br>1_._5<br>2_._2<br>56_._0(Wang et al.,2022b)<br>12_._1<br>6_._8<br>6_._9<br>13_._2<br>30_._4<br>31_._3|
|
| 43 |
+
|SA|GoEmotions<br>SST-5|46_._0(Demszky et al.,2020)<br>29_._6<br>18_._3<br>11_._9<br>27_._4<br>26_._7<br>31_._8<br>59_._8(Heinsen,2022)<br>45_._3<br>31_._1<br>39_._2<br>55_._0<br>54_._0<br>58_._0|
|
| 44 |
+
|
| 45 |
+
Table 1: ICL performance (F1, %) of investigated LLMs on specification-heavy tasks.
|
| 46 |
+
|
| 47 |
+
## 2 PILOT EXPERIMENT: LLM+ICL FAILS ON SPECIFICATION-HEAVY TASKS
|
| 48 |
+
|
| 49 |
+
The section introduces pilot experiments on specification-heavy tasks, including investigated specification-heavy tasks (§ 2.1), experimental setup (§ 2.2), and experimental results (§ 2.3).
|
| 50 |
+
|
| 51 |
+
## 2.1 INVESTIGATED SPECIFICATION-HEAVY TASKS
|
| 52 |
+
|
| 53 |
+
Specification-heavy tasks involve complex specifications and typically require significant training time for ordinary humans to master. Based on the complexity of annotation guidelines, we collect 18 tasks across 6 different types from conventional natural language understanding tasks, including: (1) **Named Entity Recognition (NER)** , including CoNLL 2003 (Sang & De Meulder, 2003), ACE 2005 (Christopher et al., 2005), and FewNERD (Ding et al., 2021) tasks. The tasks aim to identify entities from texts and classify them into predefined types, such as _person_ , _location_ , etc. (2) **Relation Extraction (RE)** , including TACRED (Zhang et al., 2017), SemEval (Hendrickx et al., 2010), FewRel 2.0 (Gao et al., 2019), and DocRED (Yao et al., 2019) tasks. The tasks require extracting the relationship from a predefined relationship set between two entities mentioned in texts. (3) **Event Detection (ED)** , including MAVEN (Wang et al., 2020), ACE 2005 (Christopher et al., 2005), and RichERE (Song et al., 2015) tasks. The tasks aim to detect events from texts and classify them into predefined types, e.g., _attack_ . (4) **Event Argument Extraction (EAE)** , including ACE 2005 (Christopher et al., 2005) and RichERE (Song et al., 2015). The tasks intend to extract arguments for events, e.g., _time_ . (5) **Event Relation Extraction (ERE)** , including MATRES (Ning et al., 2018), aiming to extract temporal relations for events, and MAVEN-ERE (Wang et al., 2022b), which contains three tasks: MAVEN-Causal, MAVEN-SubEvent, and MAVEN-Temporal, aiming to extract causal, subevent, and temporal relations. (6) **Sentiment Classification (SC)** , including SST-5 (Socher et al., 2013) and GoEmotions (Demszky et al., 2020). The tasks require sentiment analysis of given texts and classifying them into an appropriate sentiment category, e.g., _positive_ .
|
| 54 |
+
|
| 55 |
+
## 2.2 EXPERIMENTAL SETUP
|
| 56 |
+
|
| 57 |
+
We investigate several competitive LLMs, including **FLAN-UL2** (Tay et al., 2022), which is a FLAN-style (Wei et al., 2021) instruction tuned UL2 (Tay et al., 2022); **Alpaca** (Taori et al., 2023), which is aligned based on LLaMA (Touvron et al., 2023) using 52k high-quality instructionfollowing demonstrations; **Vicuna** (Vicuna, 2023), a LLaMA variant distilled from ChatGPT using 70K conversations; **GPT-3.5 Turbo** (OpenAI, 2022), abbreviated as **ChatGPT** in the following context; **text-davinci-003** (Ouyang et al., 2022), abbreviated as **Davinci** in the following context; **GPT-4** (OpenAI, 2023c). We conduct all experiments using human-written instructions and 8-shot demonstrations, except for 2-shot for DocRED and MAVEN-ERE (due to the limited input length), and 10-shot for FewRel 2.0 (to be consistent with previous SoTA). The demonstrations are sam-
|
| 58 |
+
|
| 59 |
+
3
|
| 60 |
+
|
| 61 |
+
**==> picture [389 x 127] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
**----- Start of picture text -----**<br>
|
| 64 |
+
Error Type: Unspecific Context Understanding<br>Error Type:<br>Context: The John Deere 435 is a tractor that was built for two<br>Data Noise 56%<br>years, 1959 and 1960.<br>Task: Named Entity Recognition<br>Label: John Deere 435:product-car; tractor:product-car<br>5% Prediction: John Deere 435:product-other<br>Error Type: Misaligned Schema Understanding<br>10% Context: What proportion of that 60 billion dollars do you<br>think is spent on the Falklands?<br>Task: Event Detection<br>Error Type: Label: spent:transfermoney<br>Instruction Following 29% Prediction: spent:transaction<br>**----- End of picture text -----**<br>
|
| 65 |
+
|
| 66 |
+
Figure 2: Error types with proportions from GPT-4. “ _Unspecific Context Understanding_ ” means the lack of specific context understanding. “ _Misaligned Schema Understanding_ ” represents LLMs’ understanding of task schema is not fully aligned with humans. “ _Instruction Following_ ” represents LLMs do not follow the instructions. “ _Data Noise_ ” means the annotations are incorrect.
|
| 67 |
+
|
| 68 |
+
pled from the corresponding training set. Without loss of generality, we sample 1 _,_ 000 instances from each test set. If a test set contains fewer than 1 _,_ 000 instances, we incorporate the entire set. The evaluation metrics are all F1 scores calculated via string matching with ground-truth annotations (Liang et al., 2022). More experimental details are described in appendix A.1.
|
| 69 |
+
|
| 70 |
+
## 2.3 EXPERIMENTAL RESULTS
|
| 71 |
+
|
| 72 |
+
All the experimental results are shown in Table 1. We can observe that all LLMs perform poorly on the investigated specification-heavy tasks under ICL, especially the three open-sourced LLMs: FLAN-UL2, Alpaca, and Vicuna. Despite surpassing other LLMs, OpenAI’s most advanced model, GPT-4, still often falls short half of previous SoTA models, almost all of which have less than 1B parameters. It indicates that specification-heavy tasks pose significant challenges to the existing LLM+ICL framework. We will explore why LLM+ICL fails on these tasks in the following sections.
|
| 73 |
+
|
| 74 |
+
## 3 WHY LLM+ICL FAILS?
|
| 75 |
+
|
| 76 |
+
To explore why LLM+ICL falls short on specification-heavy tasks, we conduct intensive error analyses based on the outputs of the top-performing GPT-4. Specifically, we sample 50 error cases from FewNERD, TACRED, two ACE 2005 tasks, and three MAVEN-ERE tasks, respectively. We analyze and categorize four main error types, which are shown in Figure 2. We additionally conduct dedicated analytical experiments and identify three main failure reasons.
|
| 77 |
+
|
| 78 |
+
## 3.1 INABILITY TO SPECIFICALLY UNDERSTAND CONTEXTS
|
| 79 |
+
|
| 80 |
+
Specification-heavy tasks often require fine-grained comprehension of the information in given contexts to accomplish meticulous tasks, which is also why these tasks need extensive and detailed task specifications. However, we find that LLMs with ICL often lack fine-grained context understanding on these tasks, i.e., the inability to specifically understand context. As shown in Figure 2, around 56% of the errors can be attributed to unspecific context understanding. In these error cases, LLMs either ignore all the contexts and give predictions only based on their parametric knowledge (Longpre et al., 2021; Zhou et al., 2023b; Xie et al., 2023; Zhong et al., 2023) or overlook some important specific words within the contexts. As the example in Figure 2, LLMs neglect the word “ _tractor_ ” in the context, which leads to the wrong type prediction for “ _John Deere 435_ ”.
|
| 81 |
+
|
| 82 |
+
We further conduct analytical experiments to validate the inability of LLMs to specifically understand contexts. We first sample a collection of 50 instances from the _accurate_ predictions on the FewNERD, TACRED, ACE 2005, MAVEN-ERE, and GoEmotions tasks. We then conduct minor modifications in the contexts of the sampled instances such as word replacement, resembling the text attack methods (Zang et al., 2020), and ensure the modifications change the golden labels. We evaluate GPT-4 on the modified instances and observe that more than half of predictions (27 out
|
| 83 |
+
|
| 84 |
+
4
|
| 85 |
+
|
| 86 |
+
of 50) remain unchanged. Among the unchanged instances, LLMs ignore all the contexts in 18 instances (67%) and utilize the contexts for predictions but neglect minor modifications in the other 9 instances (33%). It demonstrates that LLMs lack capabilities for specific context understanding. More details of analytical experiments are placed in appendix A.2.
|
| 87 |
+
|
| 88 |
+
## 3.2 MISALIGNMENT WITH HUMANS IN TASK SCHEMA COMPREHENSION
|
| 89 |
+
|
| 90 |
+
Specification-heavy tasks typically contain lengthy specifications, e.g., the specifications for ACE 2005 event detection span 77 pages (Consortium, 2005), hence it is nearly intractable to completely input them to LLMs via in-context learning. Therefore, specificationheavy tasks are inevitably _underspecified_ for LLMs under the ICL setting. In the underspecified scenario, LLMs’ understanding of tasks, e.g., task schema, may not be aligned with human expectations (Si et al., 2023). We find that the underspecification for specification-heavy tasks leads to a substantial proportion of errors.
|
| 91 |
+
|
| 92 |
+
||Proportion<br>55%<br>82%<br>87%|Golden Label_→_False Prediction<br>Artifact_→_Agent<br>Chemical Thing_→_Medical<br>Transfer Money_→_Transaction|
|
| 93 |
+
|---|---|---|
|
| 94 |
+
|
| 95 |
+
Table 2: Cases of misclassification. The proportion refers to the number of a certain _incorrect_ prediction divided by the number of positive instances for a golden label. LLMs consistently misclassify certain types to others.
|
| 96 |
+
|
| 97 |
+
As shown in Figure 2, about 29% of errors come from the misaligned schema understanding. For example, LLMs often confuse two event types transaction and transfermoney on ACE 2005 event detection. While human annotators can consult the specifications to understand the differences between the two types, the under-alignment of LLMs cannot be simply solved with ICL.
|
| 98 |
+
|
| 99 |
+
We further investigate the errors of GPT-4 and find it consistently misclassifies certain types. Table 2 shows several frequent instances where LLMs misclassify a type into another, for example, predicting Chemical Thing as Medical. It suggests that there surely exists a misalignment with humans in task schema comprehension. While eliminating the misalignment requires inputting extensive specifications to LLMs, we will point out in the next section that it is non-trivial due to the LLMs’ inadequate long-text understanding ability.
|
| 100 |
+
|
| 101 |
+
## 3.3 INADEQUATE LONG-TEXT UNDERSTANDING ABILITY
|
| 102 |
+
|
| 103 |
+
It is widely known that LLMs lack sufficient capabilities to handle long texts (Press et al., 2021; Shaham et al., 2022; Liu et al., 2023b), which typically refer to the issue of modeling long contextual texts. We observe similar phenomena in specification-heavy tasks. As shown in Table 1, LLMs particularly underperform on tasks featuring long contexts: DocRED, MATRES, and MAVEN-ERE. We further investigate GPT-4 performance on DocRED instances with different context lengths and find that the performance consistently decreases as the contexts lengthen. Specifically, the F1 score decreases from 35% to 5% as the context length increases from 20 to 200 words. The full curve of the decreased performance is placed in appendix A.2.
|
| 104 |
+
|
| 105 |
+
The inadequate long-text understanding ability poses challenges to solving specification-heavy tasks with in-context learning, as specification-heavy tasks require extensive specifications to avoid underspecification issues. We further conduct experiments to explore whether extensive prompts can help LLMs solve the tasks. We sample 100 instances for five investigated tasks and employ more detailed descriptions of their task schemata rather than only minimal names. The results are shown in Table 3, and we can observe that utilizing extensive prompts even hurts the performance. To demonstrate more comprehensive trends, we also investigate the “ _relative performance_ ”, which is the ratio of LLM+ICL performance over SoTA indicating the difficulty of a task for LLM+ICL, on all the tasks with different specification lengths. Figure 3 shows that generally the longer the specification, the poorer the “ _relative performance_ ” of the LLM+ICL paradigm[1] , which further demonstrates the challenges that specification-heavy tasks present to the LLM+ICL paradigm. It suggests that due to inadequate long-text understanding ability, resolving the underspecification issue of specificationheavy tasks with ICL is difficult. More experimental details are shown in appendix A.2.
|
| 106 |
+
|
| 107 |
+
> 1There are some outliers (FewRel 2.0, FewNERD, and GoEmotions) in OpenAI’s LLMs (ChatGPT, Davinci, and GPT-4), for which we postulate two potential reasons: (1) These LLMs may have been aligned on similar tasks. (2) The SoTA of FewRel 2.0 and FewNERD are relatively low due to original few-shot setting.
|
| 108 |
+
|
| 109 |
+
5
|
| 110 |
+
|
| 111 |
+
**==> picture [387 x 110] intentionally omitted <==**
|
| 112 |
+
|
| 113 |
+
**----- Start of picture text -----**<br>
|
| 114 |
+
1.0 GPT-4 FLAN-UL2<br>ChatGPT Alpaca<br>0.8 Davinci Vicuna Dataset w/o desc. w/ desc.<br>0.6 FewNERD 48 . 9 48 . 5<br>TACRED 25 . 2 23 . 8<br>0.4 ACE 2005 (ED) 31 . 2 36 . 9<br>ACE 2005 (EAE) 39 . 5 39 . 3<br>0.2 GoEmotions 26 . 0 25 . 3<br>0.0<br>30 60 #Tokens of Specifications100 200 400 800 Table 3: ICL experimental results (%) of<br>ICL F1 / SoTA Ratio<br>**----- End of picture text -----**<br>
|
| 115 |
+
|
| 116 |
+
Table 3: ICL experimental results (%) of GPT-4 without (w/o) and with (w/) detailed descriptions (desc.) of task schema.
|
| 117 |
+
|
| 118 |
+
Figure 3: ICL F1 / SoTA ratios on all the tasks with specifications of varying length.
|
| 119 |
+
|
| 120 |
+
## 4 DO LLMS REALLY FAIL?
|
| 121 |
+
|
| 122 |
+
For the failures of LLM+ICL in specification-heavy tasks, _should we blame LLM or ICL_ ? Do LLMs inherently lack the ability to handle those tasks? If not, how to effectively handle specification-heavy tasks using LLMs? The section conducts comprehensive experiments to answer these questions.
|
| 123 |
+
|
| 124 |
+
## 4.1 FINE-TUNING LLMS ACHIEVES DECENT PERFORMANCE
|
| 125 |
+
|
| 126 |
+
The aforementioned analyses have showcased many issues of “LLM+ICL”. To attribute the blame between LLMs and ICL, we unleash all the potentials of LLMs by fine-tuning them on specificationheavy tasks and observe their upper-bound performance. Specifically, we fine-tune FLAN-UL2 (Tay et al., 2022), an LLM with 20B parameters, on each of the investigated specification-heavy tasks.
|
| 127 |
+
|
| 128 |
+
**Experimental Setup** As FLAN-UL2 is a sequence-to-sequence model, we convert all the datasets into text-generation format. The input and output format for fine-tuning FLAN-UL2 is detailed in appendix A.3. Similar to Wang et al. (2022a), the output format is in the form of triplets separated with a special symbol. For each task, we fine-tune FLAN-UL2 on the training set and choose the model with the best performance on the validation set. We calculate the metrics via string matching, which is the same as in § 2.2. The hyper-parameters and other details are introduced in appendix A.3.
|
| 129 |
+
|
| 130 |
+
**Experimental Results** The experimental results are shown in Table 4. We can observe that finetuning FLAN-UL2 performs much better than in-context learning in Table 1. The fine-tuning results are on par with or even surpass previous SoTA. It demonstrates that existing LLMs are inherently capable of addressing specification-heavy tasks. Therefore, we _should not_ attribute the failures of LLM+ICL on specification-heavy tasks to LLMs themselves.
|
| 131 |
+
|
| 132 |
+
**Scaling Law** We further investigate whether specification-heavy tasks can benefit from scaling up models. Specifically, we fine-tune FLAN-UL2 and the similar FLAN-T5 (Chung et al., 2022) model family (from SMALL to XXL). Figure 5 illustrates the curves of fine-tuning performance at different model scales. We present the average results of the same-type tasks. The detailed results of each task are shown in appendix A.3. We can observe a clear positive scaling effect, i.e., fine-tuned larger models perform better on specification-heavy tasks. It demonstrates that specification-heavy tasks do not possess particular characteristics for LLMs and the failures of LLM+ICL are mainly due to the limitations of in-context learning.
|
| 133 |
+
|
| 134 |
+
## 4.2 NEGLECT OF ALIGNMENT CAUSES ICL INABILITY
|
| 135 |
+
|
| 136 |
+
Why cannot in-context learning handle specification-heavy tasks? Previous studies have demonstrated that the strong generalization of ICL benefits from alignment on highly diverse data and tasks (Zhou et al., 2023a; Yue et al., 2023). However, tasks covered by existing alignment datasets usually can be specified in concise terms and not well cover complicated specification-heavy tasks (Wang et al., 2022d; Mishra et al., 2022b; Wang et al., 2022c; Wei et al., 2021; Longpre et al., 2023), which could limit LLMs’ ICL capability and might also be the inherent reason for the fail-
|
| 137 |
+
|
| 138 |
+
6
|
| 139 |
+
|
| 140 |
+
**==> picture [365 x 119] intentionally omitted <==**
|
| 141 |
+
|
| 142 |
+
**----- Start of picture text -----**<br>
|
| 143 |
+
SST-5 TACRED<br>ACE 2005 Instruction: Please classify the<br>FewNERD relationship to the given set of<br>Instruction: Please recognize relationships between two entities<br>entities for the given text and Jeremy and Andrew . The set of<br>classify them into a suitable Instruction-tune Inference relations is as follows: founded ,<br>type. The collection of types is as follows: island , disaster , (Excluding TACRED) Aligned LLM On TACRED subsidiariesemployee of , , …. If there is no date of birth , spouse ,<br>actor , hotel , …. relation, please output 'NA'.<br>Text: Pune lost the match 13 Text: Jeremy and Andrew were<br>with all three goals coming<br>after Amrinder came on. married in Connecticut in June.<br>Output: (Pune; is; sportsteam) Output: The relation Jeremy<br>| (Amrinder; is; athlete) and Andrew is spouse.<br>**----- End of picture text -----**<br>
|
| 144 |
+
|
| 145 |
+
Figure 4: Illustration of instruction tuning. We hold out a task for evaluation and use the other tasks for instruction tuning. In this figure, we take TACRED as an example held-out task.
|
| 146 |
+
|
| 147 |
+
|Type|Task|FT<br>Aligned ICL|50<br>20<br>30<br>40<br>50<br>60<br>70<br>80<br>F1 (%)<br>Figure|NER<br>RE<br>ED<br>EAE<br>ERE<br>SA|
|
| 148 |
+
|---|---|---|---|---|
|
| 149 |
+
|NER|CoNLL 2003<br>ACE 2005<br>FewNERD|92_._5<br>52_._3<br>89_._3<br>36_._3<br>67_._4<br>38_._7|||
|
| 150 |
+
|RE|TACRED<br>SemEval<br>FewRel 2.0<br>DocRED|72_._7<br>12_._7<br>87_._9<br>16_._1<br>74_._2<br>36_._4<br>54_._5<br>4_._1|||
|
| 151 |
+
|ED<br>ACE 2005<br>70_._5<br>29_._0<br>MAVEN<br>64_._2<br>25_._2<br>RichERE<br>61_._3<br>24_._3|||||
|
| 152 |
+
|EAE|ACE 2005<br>RichERE|74_._3<br>24_._0<br>72_._1<br>13_._4|||
|
| 153 |
+
|ERE|MATRES<br>MAVEN-Causal<br>MAVEN-Subevent<br>MAVEN-Temporal|35_._9<br>57_._6<br>27_._7<br>6_._2<br>22_._9<br>1_._9<br>24_._5<br>23_._4|||
|
| 154 |
+
|||||5: Scaling law of fne-tuning models|
|
| 155 |
+
|SA|GoEmotions<br>SST-5|55_._1<br>23_._0<br>62_._0<br>38_._8|||
|
| 156 |
+
|
| 157 |
+
Figure 5: Scaling law of fine-tuning models at different scales on specification-heavy tasks. The reported results are the average within task types. Larger models perform better across all the investigated task types.
|
| 158 |
+
|
| 159 |
+
Table 4: F1 scores (%) of FLAN-UL2 with fine-tuning (FT) and zero-shot ICL after our alignment (Aligned ICL).
|
| 160 |
+
|
| 161 |
+
ures of ICL in specification-heavy tasks. To substantiate this assumption, we conduct preliminary experiments on aligning LLMs for specification-heavy tasks. Specifically, we align FLAN-UL2 with humans on specification-heavy tasks using a straightforward alignment method, instruction tuning (Wei et al., 2021; Chung et al., 2022).
|
| 162 |
+
|
| 163 |
+
**Experimental Setup** We construct the instructions of alignment data following the practice of FLAN (Wei et al., 2021). Specifically, we first manually curate 10 instructions for each task. The instructions consist of task descriptions and corresponding task schema. To diversify the instructions, we randomly shuffle the task schema and utilize various output formats, e.g., natural text outputs or triplets as in § 4.1. We use the training sets of considered tasks to instruction-tune FLAN-UL2. To validate the performance of our aligned model, we adopt the same evaluation method as FLAN, i.e., we hold out one task for evaluation while using all the other tasks for instruction-tuning. The instruction tuning and evaluation process is demonstrated in Figure 4. For evaluation, we adopt zero-shot evaluation, i.e., in-context learning with only instructions on test sets, which is also the same as FLAN. A more detailed experiment setup is shown in appendix A.4.
|
| 164 |
+
|
| 165 |
+
**Experimental Results** The experimental results are shown in Table 4. Compared with the results in Table 1, we can observe that after our instruction tuning, the zero-shot ICL performance of FLAN-UL2 is much better than the original few-shot ICL performance. The performance is even
|
| 166 |
+
|
| 167 |
+
7
|
| 168 |
+
|
| 169 |
+
comparable to ChatGPT and Davinci. It indicates that instruction tuning on specification-heavy tasks effectively aligns FLAN-UL2 with human expectations. After alignment on the tasks, FLANUL2 can well comprehend the basic instructions of the tasks and generalize to other tasks. Taking FewNERD as an example, this task contains 66 entity types. Directly handling FewNERD with underaligned FLAN-UL2 using in-context learning is difficult, resulting in an F1 of 1 _._ 8%. However, after alignment with instruction tuning, FLAN-UL2 significantly improves its performance to 38 _._ 7% F1, while FewNERD is excluded from the training process and almost all types are unseen by LLMs. It reveals that current LLMs are underaligned on specification-heavy tasks, and the neglect of alignment causes the failures of in-context learning. In the LLMs era, we advocate for more research to enhance the alignment of LLMs with humans on specification-heavy tasks.
|
| 170 |
+
|
| 171 |
+
## 5 DISCUSSION
|
| 172 |
+
|
| 173 |
+
This section preliminarily discusses how to handle specification-heavy tasks and how to align LLMs with humans on specification-heavy tasks.
|
| 174 |
+
|
| 175 |
+
**Best Practice for Handling Specification-Heavy Tasks** From a practical application perspective, fine-tuning models remain the most effective practice for handling specification-heavy tasks at present. As shown in Figure 5, the fine-tuning performance of FLAN-T5BASE, which only has 250 million parameters, is significantly better than FLAN-UL2 (20B) with ICL, which has 80x more parameters. We also observe that continual training on instruction-tuned FLAN-UL2 for individual tasks can further enhance fine-tuning performance, which we place the details in appendix A.5. Fine-tuning performance on specification-heavy tasks consistently improves along with the increasing model size, but the computation cost is also higher, i.e., there is a trade-off between performance and computation cost. Therefore, one may adopt parameter-efficient fine-tuning (PEFT) in specificition-heavy tasks, which can achieve comparable performance to fine-tuning all parameters with lower cost (Houlsby et al., 2019; He et al., 2021; Ding et al., 2022). PEFT is also proven to be better and cheaper than in-context learning (Liu et al., 2022) and thus a competitive alternative.
|
| 176 |
+
|
| 177 |
+
In the era of LLMs, how to combine LLMs with fine-tuned small models is also an active area of research. One can enhance fine-tuning by using LLMs as tools, such as data augmentation using LLMs (Xu et al., 2023b; Whitehouse et al., 2023; Yu et al., 2023b). Many works have also explored the use of LLMs as agents in leveraging fine-tuned models as tools (Lu et al., 2023; Shen et al., 2023; Hsieh et al., 2023). Therefore, it is still worth exploring the combination of LLMs and fine-tuned models for specification-heavy tasks, which could potentially be a competitive practice in the future.
|
| 178 |
+
|
| 179 |
+
**Aligning LLMs with Humans on Specification-Heavy Tasks** Alignment aims to align LLMs with human expectations (Wang et al., 2023; OpenAI, 2023b) and currently includes two main method categories: reinforcement learning from human feedback (RLHF) (Ouyang et al., 2022) and instruction tuning (Wei et al., 2021). In this paper, we preliminarily try to adopt instruction tuning to align LLMs on specification-heavy tasks. However, the aligned LLM still falls significantly short of the existing SoTA, indicating the need for further exploration of alignment methods.
|
| 180 |
+
|
| 181 |
+
Given the complexity of specification-heavy tasks, even humans need several rounds of trial and feedback to master these tasks. Inspired by this process, a possible alignment method is to decompose the task into multiple steps and align LLMs with humans step by step, which has been explored for mathematical reasoning (OpenAI, 2023a; Lightman et al., 2023). Taking the relation extraction task, which aims to extract the relationship between two entities, as an example, LLMs may be aligned in the following steps, which take inspiration from the human workflow of conducting relation extraction: (1) Let LLMs output the corresponding entity types of mentioned entities, which constrain the set of candidate relationships (Getoor & Taskar, 2007; Pawar et al., 2017). (2) Let LLMs determine the corresponding candidate relationships based on the entity types. (3) Evaluate one by one whether the two entities possess the relationship in the candidate set. The fine-grained alignment method may not only enhance performance on specification-heavy tasks but also improve the explainability of LLMs’ output (Lightman et al., 2023).
|
| 182 |
+
|
| 183 |
+
Essentially, the major advantage of ICL is that it makes LLMs more accessible to average users without techniques such as fine-tuning. Alignment is the key to enhancing this (Zhou et al., 2023a; Wang et al., 2023). We believe that trying to handle specification-heavy tasks with ICL by better
|
| 184 |
+
|
| 185 |
+
8
|
| 186 |
+
|
| 187 |
+
aligning LLMs enhances LLMs’ ability to cater to more complex and diverse human requirements, thus contributing to production and creativity development.
|
| 188 |
+
|
| 189 |
+
## 6 RELATED WORK
|
| 190 |
+
|
| 191 |
+
**Limitations of In-context Learning and LLMs** One of the main limitations of in-context learning is its oversensitivity to many factors of prompt, including demonstration format (Mishra et al., 2022a), demonstration permutation (Lu et al., 2022; Zhao et al., 2021), and label word (Zhao et al., 2021), which poses a challenge for the application of ICL as poor prompts might even cause ICL falls into random guessing (Dong et al., 2022; Weng, 2023). Although ICL has become the default method for using LLMs, its specific working conditions are still unclear. Many studies find that in-context learning can still perform well even when using “unreasonable prompts” (Kaddour et al., 2023), such as irrelevant prompt (Webson & Pavlick, 2022), flipped or random labels (Min et al., 2022; Wei et al., 2023; Pan et al., 2023). These limitations may pose potential risks to the application of ICL (Ganguli et al., 2022; Perez et al., 2022).
|
| 192 |
+
|
| 193 |
+
In the era of LLMs, particularly since the introduction of ChatGPT (OpenAI, 2022), many works have focused on examining the limitations of LLMs’ capabilities. Numerous studies have identified the limitations of LLMs in addressing certain natural language tasks, such as mathematical reasoning (Hendrycks et al., 2021; Bang et al., 2023; Frieder et al., 2023; Zhuang et al., 2023), logical reasoning (Liu et al., 2023a; Qin et al., 2023; Xu et al., 2023a; Bang et al., 2023), world knowledge recalling (Yu et al., 2023a; Sun et al., 2023a; Mallen et al., 2023), and information extraction (Jimenez Gutierrez et al., 2022; Li et al., 2023a; Han et al., 2023; Gao et al., 2023a). These works typically evaluate LLMs using in-context learning and often attribute failures to the limitations of LLMs themselves, overlooking the potential limitations of in-context learning. For example, Li et al. (2023a); Han et al. (2023) observe that LLMs underperform in information extraction (IE) tasks, which are mostly covered by specification-heavy tasks, and conclude that LLMs are incapable of effectively tackling IE tasks. However, through the decoupling analysis of LLMs and in-context learning, we find that it is the in-context learning, not the LLMs, that causes the poor performance.
|
| 194 |
+
|
| 195 |
+
In the paper, we identify the limitations of ICL in handling specification-heavy tasks and demonstrate that the neglect of alignment causes the limitations of ICL. We call for more research on uncovering the limitations of ICL for a more helpful, safe, and trustworthy application of LLM+ICL paradigm.
|
| 196 |
+
|
| 197 |
+
**LLM Alignment** The general goal of alignment is to align AI models with **human expectations** (Kenton et al., 2021; Wang et al., 2023; OpenAI, 2023b), which is also the focus of alignment in the paper. The rise of LLMs raises broad safety and ethics concerns, rendering that recent alignment studies mainly focus on alignment with human values (Leike et al., 2018; Ray et al., 2019; Hendrycks et al., 2020; Gabriel, 2020; Tamkin et al., 2021; Bai et al., 2022a). The mainstream alignment methods can be primarily categorized into two types: reinforcement learning from human feedback (RLHF) (Ouyang et al., 2022; Bai et al., 2022b; Dong et al., 2023) and instruction tuning (Wei et al., 2021; Chung et al., 2022; Iyer et al., 2022; Wang et al., 2022c; Sun et al., 2023b; Zhou et al., 2023a; Li et al., 2023c). In the paper, we preliminarily utilize the instruction tuning method to align LLMs with humans on specification-heavy tasks. The performance of in-context learning is significantly improved after alignment, but still well below that of SoTA. We advocate for further research on developing more advanced alignment methods for specification-heavy tasks.
|
| 198 |
+
|
| 199 |
+
## 7 CONCLUSION AND FUTURE WORK
|
| 200 |
+
|
| 201 |
+
In this paper, we find that the dominating LLM+ICL paradigm falls short of handling specificationheavy tasks. We conduct intensive analyses and identify three main reasons for the failures: inability to specifically understand context, misalignment in task schema comprehension with humans, and inadequate long-text understanding ability. Furthermore, we discover that LLMs can handle specification-heavy tasks by fine-tuning, and these drawbacks come from the limitations of ICL. By preliminarily aligning an LLM on specification-heavy tasks with instruction tuning, we infer that the ICL inability is due to the neglect of existing alignment efforts. In the future, we will explore aligning LLMs on specification-heavy tasks using more advanced techniques such as the progress alignment method for mathematical reasoning (OpenAI, 2023a; Lightman et al., 2023).
|
| 202 |
+
|
| 203 |
+
9
|
| 204 |
+
|
| 205 |
+
## ETHICS STATEMENT
|
| 206 |
+
|
| 207 |
+
We discuss the ethical considerations and broader impact of this work here: (1) **Intellectual property** . Among our investigated tasks, the copyright of TACRED, ACE 2005, and RichERE belongs to LDC[2] and we access them through our LDC membership. All the other datasets are open-sourced, and we strictly adhere to their licenses. We believe all the datasets are well-desensitized. For the investigated LLMs, we query OpenAI’s LLMs (ChatGPT, Davinci, and GPT-4) through paid APIs. For Alpaca and Vicuna, we strictly adhere to the LLaMA license[3] , which originally is proposed for LLaMA (Touvron et al., 2023). We obtain the LLaMA’s checkpoint by applying to Facebook[4] . (2) **Intended Use** . This paper finds the limitations of ICL in specification-heavy tasks and the reasons why ICL fails. We aim to provide meaningful insights regarding LLMs and ICL to the academic community through the intensive analyses in this paper, thereby promoting research on alignment in specification-heavy tasks. (3) **Misuse risks** . This paper reveals the inability of LLM+ICL in handling specification-heavy tasks. This inability could potentially result in erroneous or even harmful outputs. One **should not** exploit this flaw to attack LLMs for producing illegal information.
|
| 208 |
+
|
| 209 |
+
## REPRODUCIBILITY
|
| 210 |
+
|
| 211 |
+
To promote reproducibility, we provide experimental details in the appendices, including the details of pilot experiments (appendix A.1), analytical experiments (appendix A.2), fine-tuning (appendix A.3), and instruction tuning (appendix A.4). The evaluation source codes for the experiments are submitted as supplementary material.
|
| 212 |
+
|
| 213 |
+
## REFERENCES
|
| 214 |
+
|
| 215 |
+
- Rohan Anil, Andrew M Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, et al. PaLM 2 technical report. _arXiv preprint arXiv:2305.10403_ , 2023. URL [URL removed] pdf.
|
| 216 |
+
|
| 217 |
+
- 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_ , 2022a. URL [URL removed]
|
| 218 |
+
|
| 219 |
+
- Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional AI: Harmlessness from AI feedback. _arXiv preprint arXiv:2212.08073_ , 2022b. URL [URL removed]
|
| 220 |
+
|
| 221 |
+
- Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wenliang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, et al. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. _arXiv preprint arXiv:2302.04023_ , 2023. URL [URL removed]
|
| 222 |
+
|
| 223 |
+
- Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In _Proceedings of NeurIPS_ , 2020. URL [URL removed] 1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html.
|
| 224 |
+
|
| 225 |
+
- Walker Christopher, Strassel Stephanie, Medero Julie, and Maeda Kazuaki. ACE 2005 multilingual training corpus, 2005. URL [URL removed]
|
| 226 |
+
|
| 227 |
+
> 2[URL removed]
|
| 228 |
+
|
| 229 |
+
> 3[URL removed]
|
| 230 |
+
|
| 231 |
+
> 4[URL removed]
|
| 232 |
+
|
| 233 |
+
10
|
| 234 |
+
|
| 235 |
+
- Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction-finetuned language models. _arXiv preprint arXiv:2210.11416_ , 2022. URL [URL removed] 11416.pdf.
|
| 236 |
+
|
| 237 |
+
- Amir DN Cohen, Shachar Rosenman, and Yoav Goldberg. Relation classification as two-way span-prediction. _arXiv preprint arXiv:2010.04829_ , 2020. URL [URL removed] 2010.04829.pdf.
|
| 238 |
+
|
| 239 |
+
- Linguistic Data Consortium. ACE (Automatic Content Extraction) English annotation guidelines for events. _Version_ , 5(4), 2005. URL [URL removed] upenn.edu/files/english-events-guidelines-v5.4.3.pdf.
|
| 240 |
+
|
| 241 |
+
- Xuan-Quy Dao and Ngoc-Bich Le. Investigating the effectiveness of chatgpt in mathematical reasoning and problem solving: Evidence from the vietnamese national high school graduation examination. _arXiv preprint arXiv:2306.06331_ , 2023. URL [URL removed] 2306.06331.pdf.
|
| 242 |
+
|
| 243 |
+
- Dorottya Demszky, Dana Movshovitz-Attias, Jeongwoo Ko, Alan Cowen, Gaurav Nemade, and Sujith Ravi. GoEmotions: A dataset of fine-grained emotions. In _Proceedings of ACL_ , pp. 4040– 4054, 2020. URL [URL removed]
|
| 244 |
+
|
| 245 |
+
- Ning Ding, Guangwei Xu, Yulin Chen, Xiaobin Wang, Xu Han, Pengjun Xie, Haitao Zheng, and Zhiyuan Liu. Few-NERD: A few-shot named entity recognition dataset. In _Proceedings of ACLIJCNLP_ , pp. 3198–3213, 2021. URL [URL removed] 248.pdf.
|
| 246 |
+
|
| 247 |
+
- Ning Ding, Yujia Qin, Guang Yang, Fuchao Wei, Zonghan Yang, Yusheng Su, Shengding Hu, Yulin Chen, Chi-Min Chan, Weize Chen, et al. Delta tuning: A comprehensive study of parameter efficient methods for pre-trained language models. _arXiv preprint arXiv:2203.06904_ , 2022. URL [URL removed]
|
| 248 |
+
|
| 249 |
+
- Hanze Dong, Wei Xiong, Deepanshu Goyal, Rui Pan, Shizhe Diao, Jipeng Zhang, Kashun Shum, and Tong Zhang. RAFT: Reward ranked finetuning for generative foundation model alignment. _arXiv preprint arXiv:2304.06767_ , 2023. URL [URL removed] pdf.
|
| 250 |
+
|
| 251 |
+
- Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Zhiyong Wu, Baobao Chang, Xu Sun, Jingjing Xu, and Zhifang Sui. A survey for in-context learning. _arXiv preprint arXiv:2301.00234_ , 2022. URL [URL removed]
|
| 252 |
+
|
| 253 |
+
- 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. URL [URL removed] 13867.pdf.
|
| 254 |
+
|
| 255 |
+
- Iason Gabriel. Artificial intelligence, values, and alignment. _Minds and machines_ , 30(3):411–437, 2020. URL [URL removed]
|
| 256 |
+
|
| 257 |
+
- Deep Ganguli, Liane Lovitt, Jackson Kernion, Amanda Askell, Yuntao Bai, Saurav Kadavath, Ben Mann, Ethan Perez, Nicholas Schiefer, Kamal Ndousse, et al. Red teaming language models to reduce harms: Methods, scaling behaviors, and lessons learned. _arXiv preprint arXiv:2209.07858_ , 2022. URL [URL removed]
|
| 258 |
+
|
| 259 |
+
- Jun Gao, Huan Zhao, Changlong Yu, and Ruifeng Xu. Exploring the feasibility of ChatGPT for event extraction. _arXiv preprint arXiv:2303.03836_ , 2023a. URL [URL removed] 2303.03836.pdf.
|
| 260 |
+
|
| 261 |
+
- Tianyu Gao, Xu Han, Hao Zhu, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. FewRel 2.0: Towards more challenging few-shot relation classification. In _Proceedings of EMNLP-IJCNLP_ , pp. 6250–6255, 2019. URL [URL removed]
|
| 262 |
+
|
| 263 |
+
11
|
| 264 |
+
|
| 265 |
+
Yuan Gao, Ruili Wang, and Feng Hou. How to design translation prompts for ChatGPT: An empirical study. _arXiv preprint arXiv:2304.02182_ , 2023b. URL [URL removed] 2304.02182.pdf.
|
| 266 |
+
|
| 267 |
+
- Siddhant Garg, Thuy Vu, and Alessandro Moschitti. TANDA: Transfer and adapt pre-trained transformer models for answer sentence selection. In _Proceedings of AAAI_ , pp. 7780–7788, 2020. URL [URL removed]
|
| 268 |
+
|
| 269 |
+
- Lise Getoor and Ben Taskar. Global inference for entity and relation identification via linear programming formulation, 2007. URL [URL removed] RothYi07.pdf.
|
| 270 |
+
|
| 271 |
+
- Ridong Han, Tao Peng, Chaohao Yang, Benyou Wang, Lu Liu, and Xiang Wan. Is information extraction solved by ChatGPT? An analysis of performance, evaluation criteria, robustness and errors. _arXiv preprint arXiv:2305.14450_ , 2023. URL [URL removed] 14450.pdf.
|
| 272 |
+
|
| 273 |
+
- Junxian He, Chunting Zhou, Xuezhe Ma, Taylor Berg-Kirkpatrick, and Graham Neubig. Towards a unified view of parameter-efficient transfer learning. In _Proceedings of ICLR_ , 2021. URL [URL removed]
|
| 274 |
+
|
| 275 |
+
- Franz A Heinsen. An algorithm for routing vectors in sequences. _arXiv preprint arXiv:2211.11754_ , 2022. URL [URL removed]
|
| 276 |
+
|
| 277 |
+
- Iris Hendrickx, Su Nam Kim, Zornitsa Kozareva, Preslav Nakov, Diarmuid O S´eaghdha, Sebastian Pad´o, Marco Pennacchiotti, Lorenza Romano, and Stan Szpakowicz. SemEval-2010 task 8: Multi-way classification of semantic relations between pairs of nominals. _ACL 2010_ , pp. 33, 2010. URL [URL removed]
|
| 278 |
+
|
| 279 |
+
- Dan Hendrycks, Collin Burns, Steven Basart, Andrew Critch, Jerry Li, Dawn Song, and Jacob Steinhardt. Aligning AI with shared human values. In _Proceedings of ICLR_ , 2020. URL https: //openreview.net/pdf?id=dNy_RKzJacY.
|
| 280 |
+
|
| 281 |
+
- Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In _Proceedings of NeurIPS Datasets and Benchmarks Track (Round 2)_ , 2021. URL [URL removed]
|
| 282 |
+
|
| 283 |
+
- Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for NLP. In _Proceedings of ICML_ , pp. 2790–2799, 2019. URL [URL removed] press/v97/houlsby19a/houlsby19a.pdf.
|
| 284 |
+
|
| 285 |
+
- Cheng-Yu Hsieh, Si-An Chen, Chun-Liang Li, Yasuhisa Fujii, Alexander Ratner, Chen-Yu Lee, Ranjay Krishna, and Tomas Pfister. Tool documentation enables zero-shot tool-usage with large language models. _arXiv preprint arXiv:2308.00675_ , 2023. URL [URL removed] 2308.00675.pdf.
|
| 286 |
+
|
| 287 |
+
- Srinivasan Iyer, Xi Victoria Lin, Ramakanth Pasunuru, Todor Mihaylov, D´aniel Simig, Ping Yu, Kurt Shuster, Tianlu Wang, Qing Liu, Punit Singh Koura, et al. OPT-IML: Scaling language model instruction meta learning through the lens of generalization. _arXiv preprint arXiv:2212.12017_ , 2022. URL [URL removed]
|
| 288 |
+
|
| 289 |
+
- Wenxiang Jiao, Wenxuan Wang, JT Huang, Xing Wang, and ZP Tu. Is ChatGPT a good translator? Yes with gpt-4 as the engine. _arXiv preprint arXiv:2301.08745_ , 2023. URL [URL removed] org/pdf/2301.08745.pdf.
|
| 290 |
+
|
| 291 |
+
- Bernal Jimenez Gutierrez, Nikolas McNeal, Clayton Washington, You Chen, Lang Li, Huan Sun, and Yu Su. Thinking about GPT-3 in-context learning for biomedical IE? think again. In _Findings of EMNLP_ , pp. 4497–4512, 2022. doi: 10.18653/v1/2022.findings-emnlp.329. URL https: //aclanthology.org/2022.findings-emnlp.329.
|
| 292 |
+
|
| 293 |
+
12
|
| 294 |
+
|
| 295 |
+
Jean Kaddour, Joshua Harris, Maximilian Mozes, Herbie Bradley, Roberta Raileanu, and Robert McHardy. Challenges and applications of large language models. _arXiv preprint arXiv:2307.10169_ , 2023. URL [URL removed]
|
| 296 |
+
|
| 297 |
+
- Zachary Kenton, Tom Everitt, Laura Weidinger, Iason Gabriel, Vladimir Mikulik, and Geoffrey Irving. Alignment of language agents. _arXiv preprint arXiv:2103.14659_ , 2021. URL https: //arxiv.org/pdf/2103.14659.pdf.
|
| 298 |
+
|
| 299 |
+
- Jan Koco´n, Igor Cichecki, Oliwier Kaszyca, Mateusz Kochanek, Dominika Szydło, Joanna Baran, Julita Bielaniewicz, Marcin Gruza, Arkadiusz Janz, Kamil Kanclerz, et al. ChatGPT: Jack of all trades, master of none. _Information Fusion_ , pp. 101861, 2023. URL [URL removed] pdf/2302.10724.pdf.
|
| 300 |
+
|
| 301 |
+
- Jan Leike, David Krueger, Tom Everitt, Miljan Martic, Vishal Maini, and Shane Legg. Scalable agent alignment via reward modeling: A research direction. _arXiv preprint arXiv:1811.07871_ , 2018. URL [URL removed]
|
| 302 |
+
|
| 303 |
+
- Bo Li, Gexiang Fang, Yang Yang, Quansen Wang, Wei Ye, Wen Zhao, and Shikun Zhang. Evaluating ChatGPT’s information extraction capabilities: An assessment of performance, explainability, calibration, and faithfulness. _arXiv preprint arXiv:2304.11633_ , 2023a. URL [URL removed] org/pdf/2304.11633.pdf.
|
| 304 |
+
|
| 305 |
+
- Jing Li, Shanshan Feng, and Billy Chiu. Few-shot relation extraction with dual graph neural network interaction. _IEEE Transactions on Neural Networks and Learning Systems_ , 2023b. URL https: //ieeexplore.ieee.org/document/10143375.
|
| 306 |
+
|
| 307 |
+
- Yuhui Li, Fangyun Wei, Jinjing Zhao, Chao Zhang, and Hongyang Zhang. RAIN: Your language models can align themselves without finetuning. _arXiv preprint arXiv:2309.07124_ , 2023c. URL [URL removed]
|
| 308 |
+
|
| 309 |
+
- Zhongyang Li, Xiao Ding, and Ting Liu. Story ending prediction by transferable BERT. In _Proceedings of IJCAI_ , pp. 1800–1806, 2019. URL [URL removed] 2019/0249.pdf.
|
| 310 |
+
|
| 311 |
+
- Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, et al. Holistic evaluation of language models. _arXiv preprint arxiv:2211.09110_ , 2022. URL [URL removed] 09110.pdf.
|
| 312 |
+
|
| 313 |
+
- Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step, 2023. URL [URL removed]
|
| 314 |
+
|
| 315 |
+
- Hanmeng Liu, Ruoxi Ning, Zhiyang Teng, Jian Liu, Qiji Zhou, and Yue Zhang. Evaluating the logical reasoning ability of ChatGPT and GPT-4. _arXiv preprint arXiv:2304.03439_ , 2023a. URL [URL removed]
|
| 316 |
+
|
| 317 |
+
- Haokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta, Tenghao Huang, Mohit Bansal, and Colin A Raffel. Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning. _Advances in Neural Information Processing Systems_ , 35:1950–1965, 2022. URL [URL removed] file/0cde695b83bd186c1fd456302888454c-Paper-Conference.pdf.
|
| 318 |
+
|
| 319 |
+
- Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. _arXiv preprint arXiv:2307.03172_ , 2023b. URL [URL removed]
|
| 320 |
+
|
| 321 |
+
- Shayne Longpre, Kartik Perisetla, Anthony Chen, Nikhil Ramesh, Chris DuBois, and Sameer Singh. Entity-based knowledge conflicts in question answering. In _Proceedings of EMNLP_ , pp. 7052– 7063, 2021. URL [URL removed]
|
| 322 |
+
|
| 323 |
+
13
|
| 324 |
+
|
| 325 |
+
Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. The flan collection: Designing data and methods for effective instruction tuning. _arXiv preprint arXiv:2301.13688_ , 2023. URL [URL removed] pdf/2301.13688.pdf.
|
| 326 |
+
|
| 327 |
+
- Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In _Proceedings of ICLR_ , 2018. URL [URL removed]
|
| 328 |
+
|
| 329 |
+
- Pan Lu, Baolin Peng, Hao Cheng, Michel Galley, Kai-Wei Chang, Ying Nian Wu, Song-Chun Zhu, and Jianfeng Gao. Chameleon: Plug-and-play compositional reasoning with large language models. _arXiv preprint arXiv:2304.09842_ , 2023. URL [URL removed] 09842.pdf.
|
| 330 |
+
|
| 331 |
+
- Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In _Proceedings of ACL_ , pp. 8086–8098, 2022. URL [URL removed] 556.pdf.
|
| 332 |
+
|
| 333 |
+
- Youmi Ma, An Wang, and Naoaki Okazaki. DREEAM: Guiding attention with evidence for improving document-level relation extraction. In _Proceedings of EACL_ , pp. 1963–1975, 2023. URL [URL removed]
|
| 334 |
+
|
| 335 |
+
Yubo Ma, Zehao Wang, Yixin Cao, Mukai Li, Meiqi Chen, Kun Wang, and Jing Shao. Prompt for Extraction? PAIE: Prompting argument interaction for event argument extraction. In _Proceedings of ACL_ , pp. 6759–6774, 2022. URL [URL removed] 466.pdf.
|
| 336 |
+
|
| 337 |
+
- Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories. In _Proceedings of ACL_ , pp. 9802–9822, 2023. URL [URL removed] org/2023.acl-long.546.pdf.
|
| 338 |
+
|
| 339 |
+
- Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning work? In _Proceedings of EMNLP_ , pp. 11048–11064, 2022. URL [URL removed] 2022.emnlp-main.759.pdf.
|
| 340 |
+
|
| 341 |
+
- Swaroop Mishra, Daniel Khashabi, Chitta Baral, Yejin Choi, and Hannaneh Hajishirzi. Reframing instructional prompts to GPTk’s language. In _Findings of ACL_ , pp. 589–612, 2022a. URL [URL removed]
|
| 342 |
+
|
| 343 |
+
- Swaroop Mishra, Daniel Khashabi, Chitta Baral, and Hannaneh Hajishirzi. Cross-task generalization via natural language crowdsourcing instructions. In _Proceedings of ACL_ , pp. 3470–3487, 2022b. URL [URL removed]
|
| 344 |
+
|
| 345 |
+
- Qiang Ning, Hao Wu, and Dan Roth. A multi-axis annotation scheme for event temporal relations. In _Proceedings of ACL_ , pp. 1318–1328, 2018. URL [URL removed] P18-1122.pdf.
|
| 346 |
+
|
| 347 |
+
OpenAI. Introducing ChatGPT, 2022. URL [URL removed]
|
| 348 |
+
|
| 349 |
+
OpenAI. Improving mathematical reasoning with process supervision, 2023a. URL [URL removed] improving-mathematical-reasoning-with-process-supervision.
|
| 350 |
+
|
| 351 |
+
OpenAI. Introducing superalignment, 2023b. URL [URL removed] introducing-superalignment.
|
| 352 |
+
|
| 353 |
+
R OpenAI. GPT-4 technical report. _arXiv preprint arXiv:2303.08774_ , 2023c. URL https: //arxiv.org/pdf/2303.08774.pdf.
|
| 354 |
+
|
| 355 |
+
14
|
| 356 |
+
|
| 357 |
+
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. _Advances in Neural Information Processing Systems_ , 35:27730–27744, 2022. URL [URL removed] b1efde53be364a73914f58805a001731-Paper-Conference.pdf.
|
| 358 |
+
|
| 359 |
+
- Jane Pan, Tianyu Gao, Howard Chen, and Danqi Chen. What in-context learning” learns” in-context: Disentangling task recognition and task learning. _arXiv preprint arXiv:2305.09731_ , 2023. URL [URL removed]
|
| 360 |
+
|
| 361 |
+
- Sachin Pawar, Girish K Palshikar, and Pushpak Bhattacharyya. Relation extraction: A survey. _arXiv preprint arXiv:1712.05191_ , 2017. URL [URL removed]
|
| 362 |
+
|
| 363 |
+
- Hao Peng, Xiaozhi Wang, Feng Yao, Zimu Wang, Chuzhao Zhu, Kaisheng Zeng, Lei Hou, and Juanzi Li. OmniEvent: A comprehensive, fair, and easy-to-use toolkit for event understanding. _arXiv preprint arXiv:2309.14258_ , 2023. URL [URL removed] pdf.
|
| 364 |
+
|
| 365 |
+
- Ethan Perez, Saffron Huang, Francis Song, Trevor Cai, Roman Ring, John Aslanides, Amelia Glaese, Nat McAleese, and Geoffrey Irving. Red teaming language models with language models. In _Proceedings of EMNLP_ , pp. 3419–3448, 2022. URL [URL removed] 2022.emnlp-main.225.pdf.
|
| 366 |
+
|
| 367 |
+
- Jason Phang, Thibault F´evry, and Samuel R Bowman. Sentence encoders on stilts: Supplementary training on intermediate labeled-data tasks. _arXiv preprint arXiv:1811.01088_ , 2018. URL [URL removed]
|
| 368 |
+
|
| 369 |
+
- Ofir Press, Noah A Smith, and Mike Lewis. Train short, test long: Attention with linear biases enables input length extrapolation. _arXiv preprint arXiv:2108.12409_ , 2021. URL [URL removed]
|
| 370 |
+
|
| 371 |
+
- Chengwei Qin, Aston Zhang, Zhuosheng Zhang, Jiaao Chen, Michihiro Yasunaga, and Diyi Yang. Is ChatGPT a general-purpose natural language processing task solver? _arXiv preprint arXiv:2302.06476_ , 2023. URL [URL removed]
|
| 372 |
+
|
| 373 |
+
- Xipeng Qiu, Tianxiang Sun, Yige Xu, Yunfan Shao, Ning Dai, and Xuanjing Huang. Pre-trained models for natural language processing: A survey. _Science China Technological Sciences_ , 63(10): 1872–1897, 2020. URL [URL removed]
|
| 374 |
+
|
| 375 |
+
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-totext transformer. _The Journal of Machine Learning Research_ , 21(1):5485–5551, 2020. URL [URL removed]
|
| 376 |
+
|
| 377 |
+
- Alex Ray, Joshua Achiam, and Dario Amodei. Benchmarking safe exploration in deep reinforcement learning. _arXiv preprint arXiv:1910.01708_ , 7(1):2, 2019. URL [URL removed] 1910.01708.pdf.
|
| 378 |
+
|
| 379 |
+
- Erik Tjong Kim Sang and Fien De Meulder. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In _Proceedings of CoNLL_ , pp. 142–147, 2003. URL [URL removed]
|
| 380 |
+
|
| 381 |
+
- Uri Shaham, Elad Segal, Maor Ivgi, Avia Efrat, Ori Yoran, Adi Haviv, Ankit Gupta, Wenhan Xiong, Mor Geva, Jonathan Berant, and Omer Levy. SCROLLS: Standardized CompaRison over long language sequences. In _Proceedings of EMNLP_ , pp. 12007–12021, 2022. doi: 10.18653/v1/2022. emnlp-main.823. URL [URL removed]
|
| 382 |
+
|
| 383 |
+
- Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. HuggingGPT: Solving AI tasks with ChatGPT and its friends in Hugging Face. _arXiv preprint arXiv:2303.17580_ , 2023. URL [URL removed]
|
| 384 |
+
|
| 385 |
+
15
|
| 386 |
+
|
| 387 |
+
- Chenglei Si, Dan Friedman, Nitish Joshi, Shi Feng, Danqi Chen, and He He. Measuring inductive biases of in-context learning with underspecified demonstrations. In _Proceedings of ACL_ , pp. 11289–11310, 2023. doi: 10.18653/v1/2023.acl-long.632. URL [URL removed] org/2023.acl-long.632.
|
| 388 |
+
|
| 389 |
+
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In _Proceedings of EMNLP_ , pp. 1631–1642, 2013. URL [URL removed] org/D13-1170.pdf.
|
| 390 |
+
|
| 391 |
+
- Zhiyi Song, Ann Bies, Stephanie Strassel, Tom Riese, Justin Mott, Joe Ellis, Jonathan Wright, Seth Kulick, Neville Ryant, and Xiaoyi Ma. From light to Rich ERE: Annotation of entities, relations, and events. In _Proceedings of the 3rd Workshop on EVENTS: Definition, Detection, Coreference, and Representation_ , pp. 89–98, 2015. URL [URL removed] pdf.
|
| 392 |
+
|
| 393 |
+
- Kai Sun, Yifan Ethan Xu, Hanwen Zha, Yue Liu, and Xin Luna Dong. Head-to-Tail: How knowledgeable are large language models (LLM)? Aka will LLMs replace knowledge graphs? _arXiv preprint arXiv:2308.10168_ , 2023a. URL [URL removed]
|
| 394 |
+
|
| 395 |
+
- Zhiqing Sun, Yikang Shen, Qinhong Zhou, Hongxin Zhang, Zhenfang Chen, David Cox, Yiming Yang, and Chuang Gan. Principle-driven self-alignment of language models from scratch with minimal human supervision. _arXiv preprint arXiv:2305.03047_ , 2023b. URL [URL removed] org/pdf/2305.03047.pdf.
|
| 396 |
+
|
| 397 |
+
- Alex Tamkin, Miles Brundage, Jack Clark, and Deep Ganguli. Understanding the capabilities, limitations, and societal impact of large language models. _arXiv preprint arXiv:2102.02503_ , 2021. URL [URL removed]
|
| 398 |
+
|
| 399 |
+
- Yiming Tan, Dehai Min, Yu Li, Wenbo Li, Nan Hu, Yongrui Chen, and Guilin Qi. Evaluation of ChatGPT as a question answering system for answering complex questions. _arXiv preprint arXiv:2303.07992_ , 2023. URL [URL removed]
|
| 400 |
+
|
| 401 |
+
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Alpaca: A strong, replicable instruction-following model, 2023. URL [URL removed]
|
| 402 |
+
|
| 403 |
+
- Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Jason Wei, Xuezhi Wang, Hyung Won Chung, Dara Bahri, Tal Schuster, Steven Zheng, et al. UL2: Unifying language learning paradigms. In _Proceedings of ICLR_ , 2022. URL [URL removed] 6ruVLB727MC.
|
| 404 |
+
|
| 405 |
+
- 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_ , 2023. URL https: //arxiv.org/pdf/2302.13971.pdf.
|
| 406 |
+
|
| 407 |
+
- Minh Van Nguyen, Bonan Min, Franck Dernoncourt, and Thien Nguyen. Joint extraction of entities, relations, and events via modeling inter-instance and inter-label dependencies. In _Proceedings of NAACL-HLT_ , pp. 4363–4374, 2022. URL [URL removed] naacl-main.324.pdf.
|
| 408 |
+
|
| 409 |
+
- Vicuna. Vicuna: An open-source chatbot impressing GPT-4 with 90%* ChatGPT quality, 2023. URL [URL removed]
|
| 410 |
+
|
| 411 |
+
- Christopher Walker, Stephanie Strassel, Julie Medero, and Kazuaki Maeda. ACE 2005 multilingual training corpus. _Linguistic Data Consortium_ , 57, 2006. URL [URL removed] upenn.edu/LDC2006T06.
|
| 412 |
+
|
| 413 |
+
- Chenguang Wang, Xiao Liu, Zui Chen, Haoyun Hong, Jie Tang, and Dawn Song. DeepStruct: Pretraining of language models for structure prediction. In _Findings of ACL_ , pp. 803–823, 2022a. URL [URL removed]
|
| 414 |
+
|
| 415 |
+
16
|
| 416 |
+
|
| 417 |
+
- Xiaozhi Wang, Ziqi Wang, Xu Han, Wangyi Jiang, Rong Han, Zhiyuan Liu, Juanzi Li, Peng Li, Yankai Lin, and Jie Zhou. MAVEN: A massive general domain event detection dataset. In _Proceedings of EMNLP_ , pp. 1652–1671, 2020. URL [URL removed] emnlp-main.129.pdf.
|
| 418 |
+
|
| 419 |
+
- Xiaozhi Wang, Yulin Chen, Ning Ding, Hao Peng, Zimu Wang, Yankai Lin, Xu Han, Lei Hou, Juanzi Li, Zhiyuan Liu, et al. MAVEN-ERE: A unified large-scale dataset for event coreference, temporal, causal, and subevent relation extraction. _arXiv preprint arXiv:2211.07342_ , 2022b. URL [URL removed]
|
| 420 |
+
|
| 421 |
+
- Xinyu Wang, Yong Jiang, Nguyen Bach, Tao Wang, Zhongqiang Huang, Fei Huang, and Kewei Tu. Automated concatenation of embeddings for structured prediction. In _Proceedings of ACLIJCNLP_ , pp. 2643–2660, 2021a. URL [URL removed] 206.pdf.
|
| 422 |
+
|
| 423 |
+
- Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A Smith, Daniel Khashabi, and Hannaneh Hajishirzi. Self-instruct: Aligning language model with self generated instructions. _arXiv preprint arXiv:2212.10560_ , 2022c. URL [URL removed] pdf.
|
| 424 |
+
|
| 425 |
+
- Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Anjana Arunkumar, Arjun Ashok, Arut Selvan Dhanasekaran, Atharva Naik, David Stap, et al. Super-Naturalinstructions: Generalization via declarative instructions on 1600+ tasks. In _Proceedings of EMNLP_ , pp. 5085–5109, 2022d. URL [URL removed] emnlp-main.340.pdf.
|
| 426 |
+
|
| 427 |
+
- Yufei Wang, Wanjun Zhong, Liangyou Li, Fei Mi, Xingshan Zeng, Wenyong Huang, Lifeng Shang, Xin Jiang, and Qun Liu. Aligning large language models with human: A survey. _arXiv preprint arXiv:2307.12966_ , 2023. URL [URL removed]
|
| 428 |
+
|
| 429 |
+
- Ziqi Wang, Xiaozhi Wang, Xu Han, Yankai Lin, Lei Hou, Zhiyuan Liu, Peng Li, Juanzi Li, and Jie Zhou. CLEVE: Contrastive pre-training for event extraction. In _Proceedings of ACL-IJCNLP_ , pp. 6283–6297, 2021b. URL [URL removed]
|
| 430 |
+
|
| 431 |
+
- Albert Webson and Ellie Pavlick. Do prompt-based models really understand the meaning of their prompts? In _Proceedings of NAACL-HLT_ , pp. 2300–2344, 2022. URL [URL removed]
|
| 432 |
+
|
| 433 |
+
- Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. In _Proceedings of ICLR_ , 2021. URL [URL removed]
|
| 434 |
+
|
| 435 |
+
- Jerry Wei, Jason Wei, Yi Tay, Dustin Tran, Albert Webson, Yifeng Lu, Xinyun Chen, Hanxiao Liu, Da Huang, Denny Zhou, et al. Larger language models do in-context learning differently. _arXiv preprint arXiv:2303.03846_ , 2023. URL [URL removed]
|
| 436 |
+
|
| 437 |
+
- Lilian Weng. Prompt engineering. _lilianweng.github.io_ , Mar 2023. URL [URL removed]
|
| 438 |
+
|
| 439 |
+
- Chenxi Whitehouse, Monojit Choudhury, and Alham Fikri Aji. LLM-powered data augmentation for enhanced crosslingual performance. _arXiv preprint arXiv:2305.14288_ , 2023. URL https: //arxiv.org/pdf/2305.14288.pdf.
|
| 440 |
+
|
| 441 |
+
- Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander Rush. Transformers: State-of-the-Art natural language processing. In _Proceedings of EMNLP: System Demonstrations_ , pp. 38– 45, 2020. doi: 10.18653/v1/2020.emnlp-demos.6. URL [URL removed] 2020.emnlp-demos.6.
|
| 442 |
+
|
| 443 |
+
- Jian Xie, Kai Zhang, Jiangjie Chen, Renze Lou, and Yu Su. Adaptive chameleon or stubborn sloth: Unraveling the behavior of large language models in knowledge conflicts. _arXiv preprint arXiv:2305.13300_ , 2023. URL [URL removed]
|
| 444 |
+
|
| 445 |
+
17
|
| 446 |
+
|
| 447 |
+
- Fangzhi Xu, Qika Lin, Jiawei Han, Tianzhe Zhao, Jun Liu, and Erik Cambria. Are large language models really good logical reasoners? A comprehensive evaluation from deductive, inductive and abductive views. _arXiv preprint arXiv:2306.09841_ , 2023a. URL [URL removed] pdf/2306.09841.pdf.
|
| 448 |
+
|
| 449 |
+
- Xin Xu, Yuqi Zhu, Xiaohan Wang, and Ningyu Zhang. How to unleash the power of large language models for few-shot relation extraction? _arXiv preprint arXiv:2305.01555_ , 2023b. URL https: //arxiv.org/pdf/2305.01555.pdf.
|
| 450 |
+
|
| 451 |
+
- Yuan Yao, Deming Ye, Peng Li, Xu Han, Yankai Lin, Zhenghao Liu, Zhiyuan Liu, Lixin Huang, Jie Zhou, and Maosong Sun. DocRED: A large-scale document-level relation extraction dataset. In _Proceedings of ACL_ , pp. 764–777, 2019. URL [URL removed] org/P19-1074.pdf.
|
| 452 |
+
|
| 453 |
+
- Jifan Yu, Xiaozhi Wang, Shangqing Tu, Shulin Cao, Daniel Zhang-Li, Xin Lv, Hao Peng, Zijun Yao, Xiaohan Zhang, Hanming Li, et al. KoLA: Carefully benchmarking world knowledge of large language models. _arXiv preprint arXiv:2306.09296_ , 2023a. URL [URL removed] pdf/2306.09296.pdf.
|
| 454 |
+
|
| 455 |
+
- Yue Yu, Yuchen Zhuang, Jieyu Zhang, Yu Meng, Alexander Ratner, Ranjay Krishna, Jiaming Shen, and Chao Zhang. Large language model as attributed training data generator: A tale of diversity and bias. _arXiv preprint arXiv:2306.15895_ , 2023b. URL [URL removed] 15895.pdf.
|
| 456 |
+
|
| 457 |
+
- Xiang Yue, Xingwei Qu, Ge Zhang, Yao Fu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. MAmmoTH: Building math generalist models through hybrid instruction tuning. _arXiv preprint arXiv:2309.05653_ , 2023. URL [URL removed]
|
| 458 |
+
|
| 459 |
+
- Yuan Zang, Fanchao Qi, Chenghao Yang, Zhiyuan Liu, Meng Zhang, Qun Liu, and Maosong Sun. Word-level textual adversarial attacking as combinatorial optimization. In _Proceedings of ACL_ , pp. 6066–6080, 2020. URL [URL removed] 540.pdf.
|
| 460 |
+
|
| 461 |
+
- Sheng Zhang, Hao Cheng, Jianfeng Gao, and Hoifung Poon. Optimizing bi-encoder for named entity recognition via contrastive learning. _arXiv preprint arXiv:2208.14565_ , 2022. URL https: //arxiv.org/pdf/2208.14565.pdf.
|
| 462 |
+
|
| 463 |
+
- Yuhao Zhang, Victor Zhong, Danqi Chen, Gabor Angeli, and Christopher D Manning. Positionaware attention and supervised data improve slot filling. In _Proceedings of EMNLP_ , 2017. URL [URL removed]
|
| 464 |
+
|
| 465 |
+
- Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In _Proceedings of ICML_ , pp. 12697–12706, 2021. URL [URL removed]
|
| 466 |
+
|
| 467 |
+
- Zexuan Zhong, Zhengxuan Wu, Christopher D Manning, Christopher Potts, and Danqi Chen. MQuAKE: Assessing knowledge editing in language models via multi-hop questions. _arXiv preprint arXiv:2305.14795_ , 2023. URL [URL removed]
|
| 468 |
+
|
| 469 |
+
- Chunting Zhou, Pengfei Liu, Puxin Xu, Srini Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, Lili Yu, et al. LIMA: Less is more for alignment. _arXiv preprint arXiv:2305.11206_ , 2023a. URL [URL removed]
|
| 470 |
+
|
| 471 |
+
- Jie Zhou, Shenpo Dong, Hongkui Tu, Xiaodong Wang, and Yong Dou. RSGT: Relational structure guided temporal relation extraction. In _Proceedings of COLING_ , pp. 2001–2010, 2022. URL [URL removed]
|
| 472 |
+
|
| 473 |
+
- Wenxuan Zhou, Sheng Zhang, Hoifung Poon, and Muhao Chen. Context-faithful prompting for large language models. _arXiv preprint arXiv:2303.11315_ , 2023b. URL [URL removed] org/pdf/2303.11315.pdf.
|
| 474 |
+
|
| 475 |
+
- Yan Zhuang, Qi Liu, Yuting Ning, Weizhe Huang, Rui Lv, Zhenya Huang, Guanhao Zhao, Zheng Zhang, Qingyang Mao, Shijin Wang, et al. Efficiently measuring the cognitive ability of llms: An adaptive testing perspective. _arXiv preprint arXiv:2306.10512_ , 2023. URL [URL removed] org/pdf/2306.10512.pdf.
|
| 476 |
+
|
| 477 |
+
18
|
| 478 |
+
|
| 479 |
+
## APPENDICES
|
| 480 |
+
|
| 481 |
+
## A EXPERIMENTAL DETAILS
|
| 482 |
+
|
| 483 |
+
## A.1 PILOT EXPERIMENT
|
| 484 |
+
|
| 485 |
+
For ChatGPT, Davinci, and GPT-4, we use 8-shot demonstrations for all datasets except for 2-shot for DocRED and MAVEN-ERE (due to the limited input length), and 10-shot for FewRel 2.0 (the same setting as the previous few-shot learning). For the other LLMs, we can only use zero-shot demonstrations for DocRED and MAVEN-ERE due to the limited input length. For zero-shot experiments, we additionally incorporate an output format description in the prompt. For MATRES, MAVEN-Causal, MAVEN-Subevent, and MAVEN-Temporal, we require LLMs to output the relations for a single event pair at a time. Table 8 to 13 shows the input-output format of 6 representative tasks of each task type in the pilot experiments.
|
| 486 |
+
|
| 487 |
+
We query the APIs provided by OpenAI: gpt-3.5-turbo, text-davinci-003, and gpt-4 for utilizing ChatGPT, Davinci, and GPT-4, respectively. The time period for our access to these APIs was from June 1 to June 30, 2023. All the API parameters are set to default. The FLAN-UL2, FLAN-T5, and Vicuna models are downloaded from Hugging Face Transformers (Wolf et al., 2020) and the model keys in Transformers are google/flan-ul2, google/flan-t5- _{_ size _}_ , and lmsys/vicuna-7b-v1.1, respectively. The Alpaca model is downloaded from its official GitHub repository[5] . We obtain the LLaMA’s checkpoint by applying to Facebook[6] . The releases of Alpaca and Vicuna are the model diffs to LLaMA and we manually merge them. We use greedy search as the decoding strategy for all the open-sourced models: FLAN-UL2, FLAN-T5, Alpaca, and Vicuna.
|
| 488 |
+
|
| 489 |
+
## A.2 ANALYTICAL EXPERIMENTS
|
| 490 |
+
|
| 491 |
+
**Minor Modifications in Contexts** We conduct minor modifications in the contexts of 50 instances sampled from the _accurate_ predictions. An example of minor modification in contexts for relation extraction is shown in Table 14. We aim to minimize the number of modified words while ensuring the modification changes the gold label.
|
| 492 |
+
|
| 493 |
+
**Exploring whether LLMs Ignore all the Contexts** To investigate whether LLMs ignore all the contexts or some specific words for the 27 instances with unchanged predictions (§ 3.1), we query GPT-4 with only the questions while excluding the contexts. Take relation extraction as an example, as shown in Table 15, we omit the contexts and directly query GPT-4 the relationships of two entities with only entity names: “ _What is the relationship between Wen Qiang and bribes?_ ”. We observe that in 18 cases (66.7%), LLMs predict the same with and without contexts, which suggests that LLMs ignore all the contexts and give predictions based on their parametric knowledge. For the other cases (33.3%), LLMs utilize the contexts for predictions but neglect specific words.
|
| 494 |
+
|
| 495 |
+
**Performance Degradation as Context Length Increases** Figure 6 shows the full curve of performance degradation as context length increases on the DocRED task.
|
| 496 |
+
|
| 497 |
+
**Extensive Prompts with Schema Descriptions** We employ detailed descriptions for predefined schemata in prompts. Specifically, we sample 100 instances each from FewNERD, TACRED, ACE 2005 (ED), ACE 2005 (EAE), and GoEmotions tasks for evaluation. Table 16 shows the schema descriptions for GoEmotions.
|
| 498 |
+
|
| 499 |
+
## A.3 FINE-TUNING
|
| 500 |
+
|
| 501 |
+
We fine-tune FLAN-T5 (Small, Base, Large, XL, and XXL) and FLAN-UL2 on investigated tasks as text generation tasks. The input and output formats of fine-tuning are the same as LLM+ICL in pilot experiments except that instructions and demonstrations are excluded from input. The hyperparameters for fine-tuning are shown in Table 6. The experimental results of all fine-tuned models on
|
| 502 |
+
|
| 503 |
+
> 5[URL removed]
|
| 504 |
+
|
| 505 |
+
> 6[URL removed]
|
| 506 |
+
|
| 507 |
+
19
|
| 508 |
+
|
| 509 |
+
**==> picture [159 x 150] intentionally omitted <==**
|
| 510 |
+
|
| 511 |
+
**----- Start of picture text -----**<br>
|
| 512 |
+
0.35<br>0.30<br>0.25<br>0.20<br>0.15<br>0.10<br>40 60 80 100<br>Context Length (Number of Words)<br>F1 (%)<br>**----- End of picture text -----**<br>
|
| 513 |
+
|
| 514 |
+
Figure 6: F1 scores (%) decrease as context length, i.e., the number of words, increases.
|
| 515 |
+
|
| 516 |
+
|FewNERD|TACRED|ACE|2005|(ED)|ACE|2005|(EAE)|GoEmotions|
|
| 517 |
+
|---|---|---|---|---|---|---|---|---|
|
| 518 |
+
|67_._8|73_._4|||74_._0|||75_._8|52_._9|
|
| 519 |
+
|+0_._4|+0_._7|||+3_._5|||+1_._5|_−_2_._2|
|
| 520 |
+
|
| 521 |
+
Table 5: F1 scores (%) and improvements of continual fine-tuning on instruction-tuned FLAN-UL2. The improvements are compared to fine-tuning results in Table 4.
|
| 522 |
+
|
| 523 |
+
all the investigated specification-heavy tasks are shown in Table 7. All the fine-tuning experiments are conducted on Nvidia A100 GPUs, which approximately consume 1 _,_ 000 GPU hours.
|
| 524 |
+
|
| 525 |
+
## A.4 INSTRUCTION TUNING
|
| 526 |
+
|
| 527 |
+
We instruction-tune FLAN-UL2 on mixed datasets. The mixed datasets are sampled from original training sets and we sample up to 30k instances per dataset to balance the sizes of datasets. We utilize the examples-proportional mixing method (Raffel et al., 2020) in the training process and the mixing rate is 3k. We instruction-tune FLAN-UL2 with 32k gradient steps using AdamW (Loshchilov & Hutter, 2018) optimizer. The batch size is 32 and the learning rate is 1 _._ 0 _×_ 10 _[−]_[3] . The maximum input and output sequence lengths are all 512. The instruction tuning experiments are conducted on Nvidia A100 GPUs, which consume about 1 _,_ 200 GPU hours.
|
| 528 |
+
|
| 529 |
+
## A.5 CONTINUAL FINE-TUNING ON INSTRUCTION-TUNED FLAN-UL2
|
| 530 |
+
|
| 531 |
+
The effectiveness of fine-tuning could potentially be enhanced through existing techniques, such as two-stage fine-tuning (Phang et al., 2018; Li et al., 2019; Garg et al., 2020; Qiu et al., 2020). We follow this method to continue training on instruction-tuned FLAN-UL2 for individual tasks. We conduct experiments on FewNERD, TACRED, ACE 2005 (ED), ACE 2005 (EAE), and GoEmotions tasks and find that the results are consistently improved, which is shown in Table 5.
|
| 532 |
+
|
| 533 |
+
||FLAN-T5SMALL<br>FLAN-T5BASE<br>FLAN-T5LARGE<br>FLAN-T5XL<br>FLAN-T5XXL<br>FLAN-UL2|
|
| 534 |
+
|---|---|
|
| 535 |
+
|Epoch<br>Batch Size<br>Warmup Rate<br>Learning Rate|10<br>10<br>10<br>6<br>6<br>6<br>256<br>128<br>32<br>32<br>16<br>32<br>0_._1<br>0_._1<br>0_._1<br>0_._1<br>0_._1<br>0_._1<br>3_._0_×_10_−_5<br>3_._0_×_10_−_5<br>1_._0_×_10_−_5<br>1_._0_×_10_−_5<br>5_._0_×_10_−_6<br>1_._0_×_10_−_5|
|
| 536 |
+
|
| 537 |
+
Table 6: Hyper-parameters used in fine-tuning experiments.
|
| 538 |
+
|
| 539 |
+
20
|
| 540 |
+
|
| 541 |
+
|Task|FLAN-T5SMALL<br>FLAN-T5BASE<br>FLAN-T5LARGE<br>FLAN-T5XL<br>FLAN-T5XXL<br>FLAN-UL2|
|
| 542 |
+
|---|---|
|
| 543 |
+
|CoNLL-2003<br>ACE-2005 (NER)<br>FewNERD<br>TACRED<br>SemEval<br>FewRel 2.0<br>DocRED<br>ACE 2005 (ED)<br>MAVEN<br>RichERE (ED)<br>ACE 2005 (EAE)<br>RichERE (EAE)<br>MATRES<br>MAVEN-Causal<br>MAVEN-SubEvent<br>MAVEN-Temporal<br>GoEmotions<br>SST-5|73_._0<br>87_._0<br>89_._8<br>91_._4<br>92_._2<br>92_._5<br>67_._7<br>81_._2<br>83_._2<br>86_._4<br>88_._6<br>89_._3<br>55_._2<br>63_._8<br>65_._0<br>66_._2<br>67_._2<br>67_._4<br>64_._2<br>70_._0<br>70_._3<br>73_._0<br>73_._2<br>72_._7<br>60_._9<br>81_._2<br>73_._8<br>84_._1<br>88_._2<br>87_._9<br>60_._3<br>72_._7<br>72_._5<br>73_._1<br>74_._6<br>74_._2<br>15_._3<br>32_._8<br>36_._0<br>51_._2<br>53_._6<br>54_._5<br>40_._0<br>62_._2<br>61_._3<br>64_._9<br>69_._0<br>70_._5<br>48_._7<br>60_._0<br>60_._4<br>62_._3<br>64_._4<br>64_._2<br>35_._3<br>50_._2<br>49_._4<br>54_._0<br>57_._1<br>61_._3<br>33_._9<br>42_._5<br>42_._4<br>59_._4<br>72_._8<br>74_._3<br>42_._6<br>60_._8<br>60_._0<br>66_._7<br>71_._5<br>72_._1<br>6_._6<br>24_._8<br>12_._5<br>36_._3<br>31_._4<br>35_._9<br>7_._9<br>16_._2<br>19_._7<br>28_._9<br>27_._5<br>27_._7<br>13_._6<br>13_._5<br>18_._3<br>22_._1<br>18_._2<br>22_._9<br>13_._7<br>18_._0<br>18_._9<br>23_._5<br>23_._7<br>24_._5<br>43_._0<br>50_._9<br>48_._3<br>51_._6<br>54_._1<br>55_._1<br>51_._6<br>57_._8<br>59_._9<br>61_._3<br>61_._2<br>62_._0|
|
| 544 |
+
|
| 545 |
+
Table 7: Experimental results (%) of fine-tuned models on all the investigated tasks.
|
| 546 |
+
|
| 547 |
+
**Instruction** Please recognize entities for the given text and classify them into a suitable type. The collection of types is as follows: art-broadcastprogram, art-film, art-music, art-other, art-painting, art-writtenart, building-airport, building-hospital, building-hotel, building-library, building-other, building-restaurant, building-sportsfacility, building-theater, event-attack/battle/war/militaryconflict, event-disaster, event-election, event-other, eventprotest, event-sportsevent, location-bodiesofwater, location-GPE, location-island, location-mountain, locationother, location-park, location-road/railway/highway/transit, organization-company, organization-education, organization-government/governmentagency, organization-media/newspaper, organization-other, organizationpoliticalparty, organization-religion, organization-showorganization, organization-sportsleague, organizationsportsteam, other-astronomything, other-award, other-biologything, other-chemicalthing, other-currency, otherdisease, other-educationaldegree, other-god, other-language, other-law, other-livingthing, other-medical, person-actor, person-artist/author, person-athlete, person-director, person-other, person-politician, personscholar, person-soldier, product-airplane, product-car, product-food, product-game, product-other, productship, product-software, product-train, product-weapon. **Demonstrations** Text: Peter Nicol Russell’s company, P. N. Russell and Company, constructed the heritage listed Denison Bridge at Bathurst. Answer: Peter Nicol Russell: person-other; P. N. Russell and Company: organization-company; Denison Bridge: building-other; Bathurst: location-GPE; _<_ other demonstrations _>_ **Query** Text: In 1926, before making his first-class debut, he played two matches for the Marylebone Cricket Club ( MCC ) against Ireland in Belfast and Dublin. Answer:
|
| 548 |
+
|
| 549 |
+
**Answer** _Marylebone Cricket Club: organization-sportsteam; MCC: organization-sportsteam; Belfast: location-GPE; Dublin: location-GPE;_
|
| 550 |
+
|
| 551 |
+
Table 8: An input-output example of FewNERD. The parts **Instruction** , **Demonstrations** , and **Query** are concatenated as the input to LLMs. **Answer** shows the output format.
|
| 552 |
+
|
| 553 |
+
21
|
| 554 |
+
|
| 555 |
+
## **Instruction**
|
| 556 |
+
|
| 557 |
+
Please classify relationships between the two entities (marked with _<_ entity _>_ and _<_ /entity _>_ ). If the two entities have no relationships, please answer NA. Note the relation needs to be in the predefined set of relations. The set of relationships is as follows: org:founded, org:subsidiaries, per:date ~~o~~ f birth, per:cause ~~o~~ f ~~d~~ eath, per:age, per:stateorprovince of ~~b~~ irth, per:countries ~~o~~ f ~~r~~ esidence, per:country ~~o~~ f ~~b~~ irth, per:stateorprovinces of ~~r~~ esidence, org:website, per:cities of ~~r~~ esidence, per:parents, per:employee ~~o~~ f, per:city ~~o~~ f ~~b~~ irth, org:parents, org:political/religious ~~a~~ ffiliation, per:schools ~~a~~ ttended, per:country ~~o~~ f ~~d~~ eath, per:children, org:top ~~m~~ embers/employees, per:date ~~o~~ f ~~d~~ eath, org:members, org:alternate ~~n~~ ames, per:religion, org:member ~~o~~ f, org:city ~~o~~ f ~~h~~ eadquarters, per:origin, org:shareholders, per:charges, per:title, org:number ~~o~~ f ~~e~~ mployees/members, org:dissolved, org:country ~~o~~ f headquarters, per:alternate ~~n~~ ames, per:siblings, org:stateorprovince ~~o~~ f ~~h~~ eadquarters, per:spouse, per:other ~~f~~ amily, per:city ~~o~~ f death, per:stateorprovince ~~o~~ f ~~d~~ eath, org:founded ~~b~~ y.
|
| 558 |
+
|
| 559 |
+
**Demonstrations** Text: Named for the chief theorist of modern Zionism, Theodor Herzl, _<_ entity _>_ Kollek _<_ /entity _>_ was born in Nagyvaszony near Budapest in 1911 and raised in _<_ entity _>_ Vienna _<_ /entity _>_ . Answer: (Kollek; per:cities of ~~r~~ esidence; Vienna) _<_ other demonstrations _>_
|
| 560 |
+
|
| 561 |
+
**Query** Text: This news comes from Karr Ingham, an economist who created the _<_ entity _>_ Texas Petro Index _<_ /entity _>_ (TPI), which is a service of the _<_ entity _>_ Texas Alliance of Energy Producers _<_ /entity _>_ . Answer:
|
| 562 |
+
|
| 563 |
+
## **Answer**
|
| 564 |
+
|
| 565 |
+
_(Texas Petro Index; org:parents; Texas Alliance of Energy Producers)_
|
| 566 |
+
|
| 567 |
+
Table 9: An input-output example of TACRED.
|
| 568 |
+
|
| 569 |
+
## **Instruction**
|
| 570 |
+
|
| 571 |
+
Please identify the events in the text and classify them into appropriate categories; The collection of categories is as follows: Becoming, Creating, Process ~~s~~ tart, Name ~~c~~ onferral, Presence, Departing, Recording, Reporting, Cause ~~t~~ o ~~m~~ ake ~~p~~ rogress, Bodily ~~h~~ arm, Arranging, Supply, Getting, Change, Hold, Come ~~t~~ ogether, Destroying, Hostile ~~e~~ ncounter, Cause ~~c~~ hange ~~o~~ f ~~p~~ osition ~~o~~ n ~~a s~~ cale, Conquering, Expressing ~~p~~ ublicly, Killing, Dispersal, Agree ~~o~~ r ~~r~~ efuse ~~t~~ o ~~a~~ ct, Coming ~~t~~ o ~~b~~ e, Communication, Bringing, Achieve, Sending, Change ~~e~~ vent ~~t~~ ime, Competition, Catastrophe, Attack, Surrounding, Military ~~o~~ peration, Change sentiment, Award, Response, Commitment, Control, Process end, Motion, Deciding, Change ~~o~~ f ~~l~~ eadership, Earnings ~~a~~ nd ~~l~~ osses, Choosing, Sign ~~a~~ greement, Placing, Death, Besieging, Escaping, Motion ~~d~~ irectional, Receiving, Self ~~m~~ otion, Cause ~~t~~ o ~~a~~ malgamate, Defending, Cause ~~t~~ o ~~b~~ e ~~i~~ ncluded, Removing, Statement, Preventing ~~o~~ r ~~l~~ etting, Openness, Causation, GiveUp, Expend resource, Aiming, Education ~~t~~ eaching
|
| 572 |
+
|
| 573 |
+
## **Demonstrations**
|
| 574 |
+
|
| 575 |
+
Text: The 2008 event also included a MySpace bus, where secret sets and interviews with bands took place. Answer: included: Cause ~~t~~ o ~~b~~ e ~~i~~ ncluded; took place: Process start _<_ other demonstrations _>_
|
| 576 |
+
|
| 577 |
+
## **Query**
|
| 578 |
+
|
| 579 |
+
Text: The ruling National Command of the Arab Socialist Ba’ath Party were removed from power by a union of the party’s Military Committee and the Regional Command, under the leadership of Salah Jadid. Answer:
|
| 580 |
+
|
| 581 |
+
## **Answer**
|
| 582 |
+
|
| 583 |
+
_removed: Removing_
|
| 584 |
+
|
| 585 |
+
Table 10: An input-output example of MAVEN.
|
| 586 |
+
|
| 587 |
+
22
|
| 588 |
+
|
| 589 |
+
**Instruction** Please extract event arguments and their roles for the events marked with _<_ event _>_ and _<_ /event _>_ in the text, the possible roles must be chosen from the Roleset. If there are no roles for the event, place output “NA”. **Demonstrations** Text: Schrenko is a scumbag and, although she won’t get any actual jail time, I hope the fine she pleads to is at least as much as what she _<_ event _>_ stole _<_ /event _>_ . Role Set: Beneficiary, Time-Within, Money, Time-Starting, Time-Before, Place, Recipient, Giver, Time-Holds Answer: Schrenko: Recipient _<_ other demonstrations _>_ **Query** Text: Earlier documents in the case have included embarrassing details about perks Welch received as part of his _<_ event _>_ retirement _<_ /event _>_ package from GE at a time when corporate scandals were sparking outrage. Role Set: Time-Within, Time-Starting, Time-After, Time-Before, Time-Ending, Place, Entity, Position, Person, Time-Holds Answer: **Answer** _GE: Entity; Welch: Person_
|
| 590 |
+
|
| 591 |
+
Table 11: An input-output example of the ACE 2005 event argument extraction task.
|
| 592 |
+
|
| 593 |
+
23
|
| 594 |
+
|
| 595 |
+
## **Instruction**
|
| 596 |
+
|
| 597 |
+
Please classify the relation between two events/Timex in a given document. There are 10 types of relations: [before, overlap, contains, simultaneous, begins-on, ends-on, cause, precondition, subevent, and coreference]. In each document, 2 events/Timex are marked as _<_ event _>_ event ~~n~~ ame _<_ /event _>_ or _<_ Timex _>_ Timex ~~n~~ ame _<_ /Timex _>_ . If there is a relation type or multiple relation types, the answer form is Answer: [relation type 1, relation type 2,...].
|
| 598 |
+
|
| 599 |
+
## **Demonstrations**
|
| 600 |
+
|
| 601 |
+
Text: The 2012 Great Britain and Ireland floods were a series of weather events that affected parts of Great Britain and Ireland periodically during the course of 2012 and on through the winter into 2013. The beginning of 2012 saw much of the United Kingdom experiencing droughts and a heat wave in March. A series of low pressure systems steered by the jet stream brought the wettest April in 100 years, and _<_ event _>_ flooding _<_ /event _>_ across Britain and Ireland. Continuing through May and leading to the wettest beginning to June in 150 years, with flooding and extreme events occurring periodically throughout Britain and parts of Atlantic Europe. On 27 and 28 June and again on 7 July heavy rain events occurred from powerful thunderstorms that gathered strength as they travelled across mainland Britain. Severe weather warnings and a number of flood alerts were issued by the UK’s Environment Agency, and many areas were hit by flash floods that overwhelmed properties and caused power cuts. A motorist was killed after his vehicle was caught by floodwater and landslides halted rail services between England and Scotland. The thunderstorms were the product of two fronts that collided over the British Isles 2013 warm air travelling from the Azores and cold water-ladened air[˘] from the west. The second batch of flooding struck the South-West of England during the afternoon of 7 July, forcing the Met Office to issue its highest alert, Red (Take Action), due to the significant amounts of rainfall caused by a system travelling from Southern Europe, along with the warm, humid air the United Kingdom had seen in the run-up to the floods, which, like the June floods, caused thunderstorms. During the Autumn the most intense September low since 1981 brought widespread flooding and wind damage to the UK. Widespread flooding occurred again in November, December and _<_ Timex _>_ January 2013 _<_ /Timex _>_ as more heavy rains overwhelmed the saturated ground. The first event/ Timex : _<_ event _>_ flooding _<_ /event _>_ The second event/ Timex : _<_ Timex _>_ January 2013 _<_ /Timex _>_ Answer: [before] _<_ other demonstrations _>_
|
| 602 |
+
|
| 603 |
+
## **Query**
|
| 604 |
+
|
| 605 |
+
Text: Tropical stormrumbia, known in the philippines as tropical storm unk, brought deadly flooding to the central and southern philippines in november and december 2000. The last of three consecutive tropical cyclones of at least tropical storm intensity to strike the Philippines, Rumbia _<_ Event _>_ began _<_ /Event _>_ as a tropical depression on November 27, gradually intensifying to reach tropical storm intensity the next day. Strengthening later stagnated, and Rumbia would weaken back to depression status as it made landfall on the central Philippines on November 30. though the japan meteorological agency determined rumbia to have _<_ Event _>_ dissipated _<_ /Event _>_ on december 2, the joint typhoon warning center continued to monitor the system over the next few days as it tracked across the south china sea. For a period of time beginning on December 5, Rumbia reorganized and strengthened back to tropical storm intensity before wind shear began to weaken the system. Located south of Vietnam on December 7, the storm’s circulation center became devoid of convection, and by then Rumbia was declared by the JTWC to have dissipated. In the Philippines, Rumbia caused roughly US $1 million in damage and 48 fatalities. Several transportation routes were suspended in the lead-up to the storm’s landfall. As a result of the tropical storm, power outages occurred, especially in Surigao. Several towns and villages were flooding, displacing around 70,000 people and putting 4,100 people into temporary emergency sheltering.
|
| 606 |
+
|
| 607 |
+
The first event/ Timex : _<_ Event _>_ began _<_ /Event _>_ The second event/ Timex : _<_ Event _>_ dissipated _<_ /Event _>_ Answer:
|
| 608 |
+
|
| 609 |
+
## **Answer**
|
| 610 |
+
|
| 611 |
+
[ _before_ ]
|
| 612 |
+
|
| 613 |
+
Table 12: An input-output example of MAVEN-ERE.
|
| 614 |
+
|
| 615 |
+
24
|
| 616 |
+
|
| 617 |
+
## **Instruction**
|
| 618 |
+
|
| 619 |
+
Please comprehend the emotions expressed in the given text. The set of emotions is as follows: admiration, amusement, anger, annoyance, approval, caring, confusion, curiosity, desire, disappointment, disapproval, disgust, embarrassment, excitement, fear, gratitude, grief, joy, love, nervousness, optimism, pride, realization, relief, remorse, sadness, surprise, neutral.
|
| 620 |
+
|
| 621 |
+
## **Demonstrations**
|
| 622 |
+
|
| 623 |
+
Text: This is amazing man. Congrats and keep em coming Answer: admiration; gratitude _<_ other demonstrations _>_
|
| 624 |
+
|
| 625 |
+
**Query** Text: Help, help, I’m being repressed! Answer: **Answer** _fear_
|
| 626 |
+
|
| 627 |
+
## Table 13: An input-output example of GoEmotions.
|
| 628 |
+
|
| 629 |
+
**Original** Text: Judy Gross’ husband _<_ entity _>_ Alan Gross _<_ /entity _>_ was arrested at the _<_ entity _>_ Havana _<_ /entity _>_ airport in December 2009. Answer: (Alan Gross; per:cities ~~o~~ f ~~r~~ esidence; Havana)
|
| 630 |
+
|
| 631 |
+
## **Modified**
|
| 632 |
+
|
| 633 |
+
Text: Judy Gross’ husband _<_ entity _>_ Alan Gross _<_ /entity _>_ arrived at the _<_ entity _>_ Havana _<_ /entity _>_ airport in December 2009. Answer: NA Model output: (Alan Gross; per:cities of ~~r~~ esidence; Havana)
|
| 634 |
+
|
| 635 |
+
Table 14: An example of minor modifications in contexts for relation extraction. In this example, we change the phrase “was arrested” to “arrived”, and the golden label is also changed to NA.
|
| 636 |
+
|
| 637 |
+
**Instruction** Please classify relationships between the two entities in the input. The input format is: (entity1; entity2). Answer the relation type only. You should classify the relationships based on your knowledge about the entities. If the two entities have no relationships, please answer NA. The set of relationships is as follows: org:founded, org:subsidiaries, per:date ~~o~~ f birth, per:cause ~~o~~ f ~~d~~ eath, per:age, per:stateorprovince ~~o~~ f birth, per:countries ~~o~~ f ~~r~~ esidence, per:country ~~o~~ f birth, per:stateorprovinces ~~o~~ f residence, org:website, per:cities ~~o~~ f ~~r~~ esidence, per:parents, per:employee ~~o~~ f, per:city ~~o~~ f birth, org:parents, org:political/religious ~~a~~ ffiliation, per:schools attended, per:country ~~o~~ f ~~d~~ eath, per:children, org:top ~~m~~ embers/employees, per:date ~~o~~ f ~~d~~ eath, org:members, org:alternate ~~n~~ ames, per:religion, org:member ~~o~~ f, org:city of ~~h~~ eadquarters, per:origin, org:shareholders, per:charges, per:title, org:number ~~o~~ f employees/members, org:dissolved, org:country ~~o~~ f ~~h~~ eadquarters, per:alternate ~~n~~ ames, per:siblings, org:stateorprovince ~~o~~ f ~~h~~ eadquarters, per:spouse, per:other ~~f~~ amily, per:city ~~o~~ f ~~d~~ eath, per:stateorprovince ~~o~~ f ~~d~~ eath, org:founded ~~b~~ y. **Query** What is the relationship between Wen Qiang and bribes?
|
| 638 |
+
|
| 639 |
+
**Answer** _per:charges_ **Model Prediction** _per:charges_
|
| 640 |
+
|
| 641 |
+
Table 15: An example of TACRED omitting all the contexts. We evaluate LLMs using **Instruction** and **Query** , which contains only questions.
|
| 642 |
+
|
| 643 |
+
25
|
| 644 |
+
|
| 645 |
+
**Instruction** Please comprehend the emotions expressed in the given text. The set of emotions is as follows: admiration, amusement, anger, annoyance, approval, caring, confusion, curiosity, desire, disappointment, disapproval, disgust, embarrassment, excitement, fear, gratitude, grief, joy, love, nervousness, optimism, pride, realization, relief, remorse, sadness, surprise, neutral. You should make the decision based on the definition of each type which is given as follows. _admiration_ : Finding something impressive or worthy of respect. _amusement_ : Finding something funny or being entertained. _anger_ : A strong feeling of displeasure or antagonism. _annoyance_ : Mild anger, and irritation. _approval_ : Having or expressing a favorable opinion. _caring_ : Displaying kindness and concern for others. _confusion_ : Lack of understanding, uncertainty. _curiosity_ : A strong desire to know or learn something. _desire_ : A strong feeling of wanting something or wishing for something to happen. _disappointment_ : Sadness or displeasure caused by the nonfulfillment of one’s hopes or expectations. _disapproval_ : Having or expressing an unfavorable opinion. _disgust_ : Revulsion or strong disapproval aroused by something unpleasant or offensive. _embarrassment_ : Self-consciousness, shame, or awkwardness. _excitement_ : Feeling of great enthusiasm and eagerness. _fear_ : Being afraid or worried. _gratitude_ : A feeling of thankfulness and appreciation. _grief_ : Intense sorrow, especially caused by someone’s death. _joy_ : A feeling of pleasure and happiness. _love_ : A strong positive emotion of regard and affection. _nervousness_ : Apprehension, worry, anxiety. _optimism_ : Hopefulness and confidence about the future or the success of something. _pride_ : Pleasure or satisfaction due to one’s own achievements or the achievements of those with whom one is closely associated. _realization_ : Becoming aware of something. _relief_ : Reassurance and relaxation following release from anxiety or distress. _remorse_ : Regret or guilty feeling. _sadness_ : Emotional pain, sorrow. _surprise_ : Feeling astonished, startled by something unexpected. _neutral_ : Neither positive, negative, nor others. **Demonstrations** Text: This is amazing man. Congrats and keep em coming Answer: admiration; gratitude _<_ other demonstrations _>_ **Query** Text: Help, help, I’m being repressed! Answer: **Answer** _fear_
|
| 646 |
+
|
| 647 |
+
Table 16: Detailed descriptions of each emotion option in the GoEmotions task.
|
| 648 |
+
|
| 649 |
+
26
|
| 650 |
+
|
open_review/iclr2024_9084.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9084",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Automating Continual Learning",
|
| 6 |
+
"abstract": "General-purpose learning systems should improve themselves in open-ended fashion in ever-changing environments. Conventional learning algorithms for neural networks, however, suffer from the so-called catastrophic forgetting (CF) problem---previously acquired skills are forgotten when a new task is learned. Developing continual learning algorithms to address CF remains an open research question.\nInstead of hand-crafting such algorithms, our new Automated Continual Learning (ACL) trains self-referential neural networks to meta-learn their own in-context continual (meta-)learning algorithms. ACL encodes all desiderata---good performance on both old and new tasks---into its learning objectives. We demonstrate the effectiveness and promise of ACL on multiple few-shot and standard image classification tasks adopted for continual learning: Mini-ImageNet, Omniglot, FC100, MNIST-families, and CIFAR-10.",
|
| 7 |
+
"rebuttal": "### Common Responses to All Reviewers\n### **All Reviewers**\n> (Reviewer WhrD) The main weakness of the paper is the experimental evaluation. Despite presenting their approach as a continual learning method, the authors don't use any of the standard benchmarks (e.g. Split MNIST, Split Mini-ImageNet), nor do they compare to any previous work (regularization, replay, or parameter isolation methods).\n\n> (Reviewer jN2L) I see that the method is significantly different from other continual learning methods, still I would expect the authors to benchmark against some existing methods. \n\n> (Reviewer StyD) There are several important prior works in this domain that were not mentioned in the paper. They should also be compared as baselines.\n\nWe agree with the reviewers. To address this very important point, we conducted extra experiments on Split-MNIST (mentioned by both Reviewer WhrD and jN2L). The results can be found in the updated PDF (Table 3 and text in **Sec 4.3 and Appendix A.6). We follow the standard task definition: domain-incremental and class-incremental learning settings (using Hsu et al. 2018 [1]’s terminology).\nThis allows us to compare our method to many existing methods, including 8 classic continual learning baselines: standard optimizers SGD & Adam, L2 regularization, two elastic weight consolidation variants, synaptic Intelligence, memory-aware synapses, and learning-without-forgetting (thanks to Hsu et al. 2018 [1]’s overview), as well as one meta-continual learning baseline (Javeh and White 2019 [2]) suggested by Reviewer StyD.\n\nThe overall result we obtain is very positive: our out-of-the-box ACL model performs very competitively with the best existing methods (see our note below) in the domain-incremental setting, while it largely outperforms them in the 2-task class-incremental setting. By further fine-tuning this model with the 5-task ACL objective, we obtain a model that largely outperforms all other methods in all the settings. We hope this convinces the reviewers regarding the promise of our method.\n\nNote: Please note that our comparison does not include replay-memory or parameter-increasing methods because such methods are orthogonal to ours; they can be combined to our method to potentially further improve the performance.\n\n[1] Hsu et al., 2018. Re-evaluating continual learning scenarios: A categorization and case for strong baselines. https://arxiv.org/abs/1810.12488\n\n[2] Javeh and White, 2019. Meta-Learning Representations for Continual Learning. https://arxiv.org/abs/1905.12588\n\n\n\n### **Reviewer WhrD and Reviewer jN2L**\n\n> (Reviewer WhrD) The meta-learning formulation is also a major limitation, as the number of loss terms grows rapidly with the number of tasks and it is not clear whether the method is practical for e.g. 10 tasks (which is still a small number compared to the requirements of real-world lifelong learning).\n\n> (Reviewer jN2L) Another major concern is whether ACL can be used in a practical context in which many tasks will be learned over time (as opposed to just a handful).\n> If you examine Equation 5 on the last page, you'll notice that in order to learn a third task, they need to add three terms to the loss function. In continual learning, a five-task setting is considered small. To learn SplitMNIST, for example, they would actually need 1 + 2 + 3 + 4 + 5 (15) terms in the loss function. As a result, their method becomes quadratically more expensive in terms of computation (i.e., for Task n, you require backpropagation through (n)(n-1)/2 terms). This is clearly not practical.\n\nWe first would like to note that computing these loss terms isn’t immediately impractical because they essentially just require forwarding the network for one step, for many independent inputs/images. This can be heavily parallelized as a batch operation.\n\nWhile this is a valid concern when scaling up more, a natural open research question is: will we really need all these terms in the case we have many more tasks. Our experiments (both the new Table 3 results on Split-MNIST, and the old results on 4 tasks, now Table 4) effectively show that using more terms in the ACL loss improves performance. That said, ideally, we want these models to ‘systematically generalize’ to more tasks even when they are trained with only a handful of them. Indeed, our out-of-the-box model trained only with the 2-task ACL objective does not completely break even when evaluated on the 5-task setting of Split-MNIST (see Table 3; row “ACL (Out-of-the-box model”). We consider this as an interesting research question on generalization to be studied in a follow-up work.\n\nThank you very much for these additional comments.\nWe really appreciate the reviewer's engagement.\n\nWe understood the reviewer's point on the ID evaluation. That said, regarding:\n\n> It seems unreasonable to claim successful OOD generalization with merely 74.6% accuracy in MNIST. This score may seem strong compared to other CL baselines, but other MCL approaches achieve far better accuracy in much more challenging scenarios if an ID meta-test set is used [1, 2, 3].\n\nWe can not agree with this argument/reasoning.\nOur high-level goal/claim is to replace hand-crafted CL algorithms by a \"better\" le [...]\n\nDear Reviewer jN2L,\n\nFirst of all, if the reviewer found any of our comments offensive in any way, we deeply apologize, that was not at all our intention.\n\n> Without disclosing my identity, I have published at top-tier conferences in the area of continual learning. \n\nHere we are discussing solely based on the contents of the text provided as reviews and responses. Naturally, if a statement in the review is wrong, we point it out and try to clarify. If a reviewer's suggestion is unclear, we ask to be specific. We do the same whether the reviewer is an expert in all the areas involved in this [...]\n\nWe'd like to draw the reviewer's attention to the fact that (1) Reviewer WhrD, who has positively rated our writing from the beginning, incre\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
5,
|
| 11 |
+
5
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 5.33,
|
| 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": false,
|
| 20 |
+
"meta_review": "This submission addresses the well established Continual Learning (CL) problem, devising a new meta-learning method which “learns how to learn” continually in-context through self-referential weight matrices (which produce self-modifications as auxiliary outputs). In such settings, rather than explicitly designing algorithms to fulfill certain criteria deemed important, the meta-learning method finds an appropriate trade-off between the various competing CL objectives. \n\nReviewers seem generally positive about the idea of representing continual learning as a sequence learning problem and allowing the outer optimization problem to determine the requirements implicitly, remarking on it being “a fresh perspective” and “an exciting approach”. On the other hand, reviewers seem less optimistic about experimental evaluation, remarking on a lack of comparison to previous work and standard benchmarks (WhrD, StyD), which the authors partially addressed in their response, including “Meta-Learning Representations for Continual Learning. NeurIPS (2019)” but not other methods (“We concluded that comparing to […] is unnecessary here”). While other suggestions e.g. about missing details in task construction were addressed and code was provided, other important suggestions regarding e.g. task sequence length were unfortunately not acted upon. A general promise to “run a 10-task setting for the final version” is appreciated but does not constitute actionable result that can influence the accep",
|
| 21 |
+
"forum_id": "5twh6pM4SR",
|
| 22 |
+
"primary_area": "transfer learning, meta learning, and lifelong learning",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_WhrD",
|
| 27 |
+
"review_id": "2keBhRkTei",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 6,
|
| 30 |
+
"soundness": 2,
|
| 31 |
+
"presentation": 4,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 3
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 2025,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 1741777,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_jN2L",
|
| 43 |
+
"review_id": "pjcJSthwnY",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 5,
|
| 46 |
+
"soundness": 2,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 2,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 3982,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 861927,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_StyD",
|
| 59 |
+
"review_id": "eFmLV1tMkT",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 5,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 2,
|
| 64 |
+
"contribution": 2,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 3385,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1155794,
|
| 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_9084.md
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## AUTOMATING CONTINUAL LEARNING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
General-purpose learning systems should improve themselves in open-ended fashion in ever-changing environments. Conventional learning algorithms for neural networks, however, suffer from catastrophic forgetting (CF)—previously acquired skills are forgotten when a new task is learned. Instead of hand-crafting new algorithms for avoiding CF, we use our novel Automated Continual Learning (ACL) to train self-referential neural networks to meta-learn their own in-context continual (meta-)learning algorithms. ACL encodes all desiderata—good performance on both old and new tasks—into its learning objectives. We demonstrate the effectiveness and promise of ACL on multiple few-shot and standard image classification tasks adopted for continual learning: Mini-ImageNet, Omniglot, FC100, MNIST-families, and CIFAR-10.[1]
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Enemies of memories are other memories (Eagleman, 2020). Continually-learning artificial neural networks (NNs) are memory systems where their _weights_ store memories of task-solving skills or programs, and their _learning algorithm_ is responsible for memory read/write operations. Conventional learning algorithms—used to train NNs in the standard scenarios where all training data is available “at once” as opposed to “sequentially” in the case of continual learning (CL)—are known to be inadequate for continual learning. They suffer from the so-called catastrophic forgetting (CF; McCloskey & Cohen (1989); Ratcliff (1990); French (1999)) problem, where the NNs forget, or rather, the learning algorithm erases, previously acquired skills, in exchange of learning to solve a new task. Naturally, a certain degree of forgetting is unavoidable when the memory capacity is limited, and the amount of things to remember exceeds such an upper bound. In general, however, capacity is not the fundamental cause of CF; typically, the same NNs, suffering from CF when trained on two tasks sequentially, can perform well on both tasks when they are jointly trained on the two tasks at once instead (see, e.g., Irie et al. (2022a)). The real root of CF lies in the learning algorithm as a memory mechanism. A “good” CL algorithm should preserve previously acquired knowledge while also leveraging previous learning experiences to improve future learning, by maximally exploiting the limited memory space of model parameters. All of this is the decision-making problem of a learning algorithm. In fact, we can not blame the conventional learning algorithms for causing CF, since they are not aware of such a problem. They are designed to train NNs for a given task at hand; they treat each learning experience independently (they are stationary up to certain momentum parameters in certain optimizers), and ignore any potential influence of current learning on past or future learning experiences. Effectively, more sophisticated algorithms previously proposed against CF (Kortge, 1990; French, 1991), such as elastic weight consolidation (Kirkpatrick et al., 2017; Schwarz et al., 2018) or synaptic intelligence (Zenke et al., 2017), often introduce manually-designed constraints as regularization terms to explicitly penalize current learning for deteriorating knowledge acquired in past learning.
|
| 14 |
+
|
| 15 |
+
Here, instead of hand-crafting learning algorithms for continual learning, we train self-referential neural networks (Schmidhuber, 1992a; 1987) to meta-learn their own ‘in-context’ continual learning algorithms. We train them through gradient descent on learning objectives that reflect desiderata for continual learning algorithms—good performance on both old and new tasks, including forward and backward transfer. In fact, by extending the standard settings of few-shot or meta-learning based on sequence-processing NNs (Hochreiter et al., 2001; Younger et al., 1999; Cotter & Conwell, 1991; 1990; Mishra et al., 2018), the continual learning problem can also be formulated as a longspan sequence processing task (Irie et al., 2022c). Corresponding sequences can be obtained by
|
| 16 |
+
|
| 17 |
+
> 1Here we will add a link to our public GitHub code repository upon acceptance
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
concatenating multiple few-shot/meta-learning sub-sequences, where each sub-sequence consists of input/target examples corresponding to the task to be learned in-context. As we’ll see in Sec. 3, this setting also allows us to seamlessly express classic desiderata for continual learning (knowledge preservation, forward/backward transfer, etc.) as part of objective functions of the meta-learner.
|
| 22 |
+
|
| 23 |
+
Once formulated as such a sequence-learning task, we let gradient descent search for CL algorithms achieving the desired CL behaviors in the program space of NN weights. In principle, all typical challenges of CL—such as the stability-plasticity dilemma (Grossberg, 1982)—are automatically discovered and handled by the gradient-based program search process. Once trained, CL is automated through recursive self-modification dynamics of the trained NN, without requiring any human intervention such as adding extra regularization or even setting hyper-parameters for continual learning. Therefore, we call our method, Automated Continual Learning (ACL).
|
| 24 |
+
|
| 25 |
+
ACL requires training settings and datasets similar to those of few-shot/meta learning problems: training sequences are constructed by shuffling target labels for various combinations of underlying class categories, such that each such sequence represents a new learning experience for the model. Our experiments focus on supervised image classication, and make use of the standard few-shot image classification datasets for meta-training, namely, Mini-ImageNet (Vinyals et al., 2016; Ravi & Larochelle, 2017), Omniglot (Lake et al., 2015), and FC100 (Oreshkin et al., 2018), while we also meta-test on standard image classification datasets including MNIST families (LeCun et al., 1998; Xiao et al., 2017) and CIFAR-10 (Krizhevsky, 2009). While these datasets remain in the realm of toy tasks, they allow us to demonstrate the effectiveness and promise of our ACL principle.
|
| 26 |
+
|
| 27 |
+
## 2 BACKGROUND
|
| 28 |
+
|
| 29 |
+
Here we briefly review some background concepts that are essential for describing our method in Sec. 3: continual learning and its desiderata (Sec. 2.1), few-shot/meta learning via sequence processing (Sec. 2.2), and linear Transformer/fast weight programmer architectures (Sec. 2.3) that are foundations of the self-referential neural network we use in our experiments.
|
| 30 |
+
|
| 31 |
+
## 2.1 CONTINUAL LEARNING
|
| 32 |
+
|
| 33 |
+
Continual or lifelong learning is a special form of multi-task learning (Thrun, 1998; Caruana, 1997). In conventional multi-task learning scenarios, all datasets for different tasks are available _at once_ , and NNs are trained jointly on all of them (e.g., training batches mix examples from different datasets without any particular order). In contrast, in continual learning settings, presentation of tasks/datasets is _sequential_ ; an NN training process only has access to one task/dataset at a time. When a dataset for a new task becomes available, we lose access to the training examples from the previous task, and so on.
|
| 34 |
+
|
| 35 |
+
The main focus of this work is on continual learning in _supervised_ learning settings. In addition, we focus on the realm of CL methods that keep model sizes constant (unlike certain CL methods that incrementally add more parameters as more tasks are presented; see, e.g., Rusu et al. (2016)), and do not make use of any external replay memory (used in other CL methods; see, e.g., Robins (1995); Rolnick et al. (2019); Zhang et al. (2022)). High-level principles we discuss here also transfer to reinforcement learning settings (Ring, 1994), but our experiments focus on supervised learning.
|
| 36 |
+
|
| 37 |
+
Classic desiderata for a CL system (see, e.g., Lopez-Paz & Ranzato (2017); Veniat et al. (2021)) are typically summarized as good performance on three metrics: _classification accuracies_ on each dataset (or their average), _backward transfer_ (which measures the impact of learning a new task on the model’s performance on previous tasks; e.g., catastrophic forgetting is a negative backward transfer), and _forward transfer_ (impact of learning a task for the model’s performance on a future task). From a broader perspective of meta-learning systems, we may also measure other effects such as _learning acceleration_ (i.e., whether the system leverages previous learning experiences to accelerate future learning); here we only briefly discuss this as our primary focus remains the classic CL metrics above.
|
| 38 |
+
|
| 39 |
+
## 2.2 FEW-SHOT/META-LEARNING VIA SEQUENCE LEARNING
|
| 40 |
+
|
| 41 |
+
In Sec. 3, we’ll formulate continual learning as a long-span sequence processing task. This is a direct extension of the classic few-shot/meta learning formulated as sequence learning problem. In fact, since the seminal works by Hochreiter et al. (2001); Younger et al. (1999); Cotter & Conwell (1991;
|
| 42 |
+
|
| 43 |
+
2
|
| 44 |
+
|
| 45 |
+
1990) (see also Naik & Mammone (1992)), many sequence processing neural networks (see, e.g., Bosc (2015); Santoro et al. (2016); Duan et al. (2016); Wang et al. (2017); Munkhdalai & Yu (2017); Munkhdalai & Trischler (2018); Miconi et al. (2018; 2019); Munkhdalai et al. (2019); Kirsch & Schmidhuber (2021); Sandler et al. (2021); Huisman et al. (2023) including Transformers (Vaswani et al., 2017) as in Mishra et al. (2018)) have been trained as a meta-learner (Schmidhuber, 1987; 1992a) that learn by observing sequences of training examples (i.e., pairs of inputs and their labels) in-context. Here we briefly review such a formulation.
|
| 46 |
+
|
| 47 |
+
Let _d_ , _N_ , _K_ , _P_ be positive integers. In sequential _N_ -way _K_ -shot classification settings, a sequence processing NN with a parameter vector _θ ∈_ R _[P]_ observes a pair ( _**x** t_ , _yt_ ) where _**x** t ∈_ R _[d]_ is the input and _yt ∈{_ 1 _, ..., N }_ is its label at each step _t ∈{_ 1 _, ..., N · K}_ , corresponding to _K_ examples for each one of _N_ classes. After the presentation of these _N · K_ examples (often called the _support set_ ), one extra input _**x** ∈_ R _[d]_ (often called the _query_ ) is fed to the model without its true label but an “unknown label” token ∅ (number of input labels accepted by the model is thus _N_ + 1). The model is trained to predict its true label, i.e., the parameters of the model _θ_ are optimized to maximize the probability _p_ ( _y|_ ( _**x**_ 1 _, y_ 1) _, ...,_ ( _**x** N ·K, yN ·K_ ) _,_ ( _**x** ,_ ∅); _θ_ ) of the correct label _y ∈{_ 1 _, ..., N }_ of the input query _**x**_ . Since class-to-label associations are randomized and unique to each sequence (( _**x**_ 1 _, y_ 1) _, ...,_ ( _**x** N ·K, yN ·K_ ) _,_ ( _**x** ,_ ∅)), each such a sequence represents a new (few-shot or meta) learning experience to train the model. To be more specific, this is the _synchronous_ label setting of Mishra et al. (2018) where the learning phase (observing examples ( _**x**_ 1 _, y_ 1) _, ...,_ ( _**x** N ·K, yN ·K_ )) is separated from the prediction phase (predicting label _y_ given ( _**x** ,_ ∅)). We opt for this variant in our experiments as we empirically find this (at least in our specific settings) more stable than the _delayed_ label setting (Hochreiter et al., 2001) where the model has to make a prediction for every input, and the label is fed to the model with a delay of one time step.
|
| 48 |
+
|
| 49 |
+
## 2.3 SELF-REFERENTIAL WEIGHT MATRICES OR RECURSIVE LINEAR TRANSFORMERS
|
| 50 |
+
|
| 51 |
+
Our method (Sec. 3) can be applied to any sequence-processing NN architectures in principle. Nevertheless, certain architectures naturally fit better to parameterize a self-improving continual learner. Here we use the _modern self-referential weight matrix_ (SRWM; Irie et al. (2022c)) to build a generic self-modifying NN. An SRWM is a weight matrix (WM) that sequentially modifies itself as a response to a stream of input observations (Schmidhuber, 1992a; 1993). The modern SRWM belongs to the family of linear Transformers a.k.a. Fast Weight Programmers (FWPs; Schmidhuber (1991; 1992b); Katharopoulos et al. (2020); Choromanski et al. (2021); Peng et al. (2021); Schlag et al. (2021); Irie et al. (2021)). Linear Transformers and FWPs are an important class of the now popular Transformers (Vaswani et al., 2017): unlike the standard Transformers whose state size linearly grows with the context length, the state size of FWPs is constant w.r.t. sequence length (like in the standard RNNs). This is an important property for in-context continual learning, since, conceptually, we want such a CL system to continue to learn for an arbitrarily long, lifelong time span. Moreover, the duality between linear attention and FWPs (Schlag et al., 2021)—and likewise, between linear attention and linear layers trained by the gradient descent learning algorithm (Irie et al., 2022a; Aizerman et al., 1964)—have played a key role in certain theoretical analyses of in-context learning capabilities of Transformers (von Oswald et al., 2023a; Dai et al., 2023).
|
| 52 |
+
|
| 53 |
+
The dynamics of an SRWM (Irie et al., 2022c) are described as follows. Let _d_ in, _d_ out, _t_ be positive integers, and _⊗_ denote outer product. At each time step _t_ , an SRWM _**W** t−_ 1 _∈_ R[(] _[d]_[out][+2] _[∗][d]_[in][+1)] _[×][d]_[in] observes an input _**x** t ∈_ R _[d]_[in] , and outputs _**y** t ∈_ R _[d]_[out] , while also updating itself to _**W** t_ :
|
| 54 |
+
|
| 55 |
+
**==> picture [280 x 39] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
where _**v** t,_ ¯ _**v** t ∈_ R[(] _[d]_[out][+2] _[∗][d]_[in][+1)] are value vectors, _**q** t ∈_ R _[d]_[in] and _**k** t ∈_ R _[d]_[in] are query and key vectors, and _σ_ ( _βt_ ) _∈_ R is the learning rate. _σ_ and _ϕ_ denote sigmoid and softmax functions respectively. _ϕ_ is typically also applied to _**x** t_ in Eq. 1; here we follow Irie et al. (2022c)’s few-shot image classification setting, and use the variant without it. Eq. 3 corresponds to a rank-one update of the SRWM, from _**W** t−_ 1 to _**W** t_ , through the _delta learning rule_ (Widrow & Hoff, 1960; Schlag et al., 2021) where the self-generated patterns, _**v** t_ , _ϕ_ ( _**k** t_ ), and _σ_ ( _βt_ ), play the role of _target_ , _input_ , and _learning rate_ of the learning rule respectively. The delta rule in FWPs is typically reported to be crucial broadly across many practical tasks (Schlag et al., 2021; Irie et al., 2021; 2022b; Irie & Schmidhuber, 2023b).
|
| 58 |
+
|
| 59 |
+
3
|
| 60 |
+
|
| 61 |
+
**==> picture [368 x 176] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
Figure 1: An illustration of meta-training in Automated Continual Learning (ACL) for a selfreferential/modifying weight matrix _**W**_ 0. Weights _**W** A_ obtained by observing examples for Task A ( _blue_ ) are used to predict a test example for Task A. Weights _**W** A,B_ obtained by observing examples for Task A then those for Task B ( _yellow_ ) are used to predict a test example for Task A (backward transfer) as well as a test example for Task B (forward transfer).
|
| 64 |
+
|
| 65 |
+
The initial weight matrix _**W**_ 0 is the only trainable parameters of this layer, that encodes the initial self-modification algorithm. In practice, we use the layer above as a direct replacement to the self-attention layer in the Transformer architecture (Vaswani et al., 2017); we also use the multi-head version of the SRWM computation above. For further details, we refer to Irie et al. (2022c).
|
| 66 |
+
|
| 67 |
+
## 3 METHOD
|
| 68 |
+
|
| 69 |
+
**Task Formulation.** We formulate continual learning as a long-span sequence learning task. Consider two “training” tasks **A** and **B** to be learned sequentially (as we’ll see, this can also be straightforwardly extended to training using three or more tasks). We denote the respective training datasets as _A_ and _B_ , and test sets as _A[′]_ and _B[′]_ . Let _D_ , _N_ , _K_ , _L_ denote positive integers. We assume that each datapoint in these datasets consists of one input feature _**x** ∈_ R _[D]_ of dimension _D_ (here we generically denote _**x**_ as a vector, but it is an image in all our experiments) and one label _y ∈{_ 1 _, ..., N }_ denoting one out of _N_ classes (that is, these are _N_ -way classification tasks). We further consider two sequences of _L_ training examples �( _**x**[A]_ 1 _[, y]_ 1 _[A]_[)] _[, ...,]_[ (] _**[x]**[A] L[, y] L[A]_[)] � and �( _**x**[B]_ 1 _[, y]_ 1 _[B]_[)] _[, ...,]_[ (] _**[x]**[B] L[, y] L[B]_[)] � sampled from the respective training sets _A_ and _B_ . In practice, _L_ = _NK_ where _K_ is the number of training examples for each class (1 out of _N_ ). By concatenating these two sequences, we obtain one long sequence representing a continual learning example to be presented to the model as an input sequence. Now we also need to introduce test examples. We assume a single test example (hence, without index) for each task: ( _**x**[A][′] , y[A][′]_ ) and ( _**x**[B][′] , y[B][′]_ ) respectively; let us further simplify the notation and denote them as ( _**x**[A]_ test _[, y]_ test _[A]_[)][ and][ (] _**[x]**[B]_ test _[, y]_ test _[B]_[)][ instead.][In the next section, we describe how these test examples] are used to construct the learning objectives to train the model. Our model is a self-referential neural network that modifies its own weight matrices as a function of input observations. To simplify the notation, we denote the _state_ of our self-referential NN as a _single_ SRWM _**W** ∗_ (even though, in practice, it may have many of them) where we’ll replace _∗_ by various symbols representing the context/inputs it has observed. Given a training sequence �( _**x**[A]_ 1 _[, y]_ 1 _[A]_[)] _[, ...,]_[ (] _**[x]**[A] L[, y] L[A]_[)] _[,]_[ (] _**[x]**_ 1 _[B][, y]_ 1 _[B]_[)] _[, ...,]_[ (] _**[x]**[B] L[, y] L[B]_[)] �, our model consumes one input at a time, from left to right, in the auto-regressive fashion. Let _**W** A_ denote the state of the SRWM that has consumed the first part of the sequence corresponding to the examples from Task **A** , i.e., ( _**x**[A]_ 1 _[, y]_ 1 _[A]_[)] _[, ...,]_[ (] _**[x]**[A] L[, y] L[A]_[)][,] and let _**W** A,B_ denote the state of our SRWM having observed the entire sequence.
|
| 70 |
+
|
| 71 |
+
**ACL Meta-Training Objectives.** The ACL objective function consists in tasking the model to correctly predict the test examples of all tasks learned so far at each task boundaries. That is, in the case of two-task scenario described above (learning Task **A** then Task **B** ), we use the weight matrix
|
| 72 |
+
|
| 73 |
+
4
|
| 74 |
+
|
| 75 |
+
_**W** A_ to predict the label _y_ test _[A]_[from input][ (] _**[x]**[A]_ test _[,]_[ ∅][)][, and we use the weight matrix] _**[ W]**[A][,][B]_[to predict the] label _y_ test _[B]_[from input][ (] _**[x]**[B]_ test _[,]_[ ∅][)] _[ as well as]_[ the label] _[ y]_ test _[A]_[from input][ (] _**[x]**[A]_ test _[,]_[ ∅][)][.][By letting] _[ p]_[(] _[y][|]_ _**[x]**_[;] _**[ W]**[∗]_[)] denote the model’s output probability for label _y ∈{_ 1 _, .., N }_ given input _**x**_ and model weights/state _**W** ∗_ , the ACL objective function can be expressed as:
|
| 76 |
+
|
| 77 |
+
**==> picture [389 x 16] intentionally omitted <==**
|
| 78 |
+
|
| 79 |
+
for an input training sequence �( _**x**[A]_ 1 _[, y]_ 1 _[A]_[)] _[, ...,]_[ (] _**[x]**[A] L[, y] L[A]_[)] _[,]_[ (] _**[x]**_ 1 _[B][, y]_ 1 _[B]_[)] _[, ...,]_[ (] _**[x]**[B] L[, y] L[B]_[)] � (which can be easily extended to mini-batches with multiple such sequences), where _θ_ denotes the model parameters (for the SRWM layer, it is the initial weights _**W**_ 0). Figure 1 illustrates the overall training process of ACL. The ACL objective function above (Eq. 4) is simple but encapsulates desiderata for continual learning (reviewed in Sec. 2.1). The last term of Eq. 4 with _p_ ( _y_ test _[A][|]_ _**[x]**[A]_ test[;] _**[ W]**[A][,][B]_[)][ (or schematically] _**[ p]**_[(] _[A][′][|A][,][ B]_[)][)] optimizes for _backward transfer_ : (1) remembering the first task **A** after learning **B** (combatting catastrophic forgetting), and (2) leveraging learning of **B** to improve performance on a past task **A** . The second term of Eq. 4, _p_ ( _y_ test _[B][|]_ _**[x]**_ test _[B]_[;] _**[ W]**[A][,][B]_[)][ (or schematically] _**[ p]**_[(] _[B][′][|A][,][ B]_[)][), optimizes] _[ forward] transfer_ leveraging the past learning experience of **A** to improve predictions in the second task **B** , in addition to simply learning to solve Task **B** from the corresponding training examples. To complete, the first term of Eq. 4 is a simple, single-task meta-learning objective for Task **A** .
|
| 80 |
+
|
| 81 |
+
**Overall Model Architecture.** As we mention in Sec. 2, in our NN architecture, the core sequential dynamics of continual learning are learned by the self-referential layers. However, as an imageprocessing NN, our model makes use of a vision backend consisting of multiple convolutional layers. In practice, we use the “Conv-4” architecture of Vinyals et al. (2016) typically used in the context of few-shot learning. Overall, the model takes an image as input, process it through a feedforward convolutional NN, whose output is fed to the SRWM-layer block. Note that this is one of the limitations of this work. While our architecture with fixed vision components still allows us to experimentally demonstrate the principle of ACL, more general ACL should make use of self-modifying NNs that also learn to modify the vision components. One straightforward architecture fitting the bill is an MLP-mixer architecture (Tolstikhin et al. (2021); built of several linear layers), where all linear layers are replaced by the self-referential linear layers of Sec. 2.3. While we implemented such a model, it turned out to be too slow for us to conduct corresponding experiments. We will include our code of self-referential MLP-mixers in our public repository, but for further experiments, we leave the future work with such an architecture using more efficient CUDA kernels.
|
| 82 |
+
|
| 83 |
+
Another crucial architectural aspect that is specific to continual/multi-task image processing is the choice of normalization layers (see also Bronskill et al. (2020)). Typical convolutional NNs used in few-shot learning (e.g., Vinyals et al. (2016)) contain batch normalization (BN; Ioffe & Szegedy (2015)) layers. In our preliminary experiments, as expected, we found instance normalization (IN; Ulyanov et al. (2016)) to generalize much better than BN layers in our CL setting. Thus, all BN layers in our models are replaced by IN layers.
|
| 84 |
+
|
| 85 |
+
## 4 EXPERIMENTS
|
| 86 |
+
|
| 87 |
+
**Common Settings.** All tasks are configured to be a 5-way classification task. Not only this is one of the classic configurations for few-shot learning tasks, but this also allows us to keep the overall computational costs of our experiments reasonable (at the same time, we’ll also discuss this as a limitation in Sec. 5). For standard datasets such as MNIST, we split the dataset into sub-datasets of disjoint classes (Srivastava et al., 2013): for example for MNIST which is originally a 10-way classification task, we split it into two 5-way tasks, one consisting of images of class ‘0’ to ‘4’ (‘MNIST-04’), and another one made of class ‘5’ to ‘9’ images (‘MNIST-59’). When we refer to a dataset without specifying the class range, we refer to the first sub-set. Unless otherwise indicated, we concatenate 15 examples for each class for each task in the context for both meta-training and meta-testing (resulting in sequences of length 75 for each task). All images are resized to 32 _×_ 32-size 3-channel images, and normalized according to the original dataset statistics. Appendix A provides further details.
|
| 88 |
+
|
| 89 |
+
## 4.1 TWO-TASK EVALUATION
|
| 90 |
+
|
| 91 |
+
Here we show the essence of our method (Sec. 3) in the two-task setting. We consider two metatraining task combinations: Omniglot (Lake et al., 2015) and Mini-ImageNet (Vinyals et al., 2016;
|
| 92 |
+
|
| 93 |
+
5
|
| 94 |
+
|
| 95 |
+
Table 1: 5-way classification accuracies using 15 examples for each class in the context (i.e., as meta-testing training examples). Each row corresponds to a single model. **bold** numbers highlight cases where in-context catastrophic forgetting is avoided through ACL.
|
| 96 |
+
|
| 97 |
+
|Meta-Training Tasks<br>Task A<br>Task B<br>ACL|Meta-Test Tasks: Context/Train (top) &|Meta-Test Tasks: Context/Train (top) &|Meta-Test Tasks: Context/Train (top) &|Test (bottom)<br>B_→_A<br>A<br>B|
|
| 98 |
+
|---|---|---|---|---|
|
| 99 |
+
||A<br>A|A_→_B<br>B<br>A|B<br>B||
|
| 100 |
+
|Omniglot Mini-ImageNet<br>No 97.6_±_0.2 52.8_±_0.7 22.9_±_0.7 52.1_±_0.8 97.8_±_0.3 20.4_±_0.6<br>Yes 98.3_±_0.2 54.4_±_0.8 **98.2**_±_0.2 54.8_±_0.9 98.0_±_0.3 **54.6**_±_1.0|||||
|
| 101 |
+
|FC100<br>Mini-ImageNet<br>No 49.7_±_0.7 55.0_±_1.0 21.3_±_0.7 55.1_±_0.6 49.9_±_0.8 21.7_±_0.8<br>Yes 53.8_±_1.7 52.5_±_1.2 **46.2**_±_1.3 59.9_±_0.7 45.5_±_0.9 **53.0**_±_0.6|||||
|
| 102 |
+
|
| 103 |
+
Table 2: Similar to Table 1 above but using MNIST and CIFAR-10 (unseen domains) for meta-testing.
|
| 104 |
+
|
| 105 |
+
|Meta-Training Tasks<br>Task A<br>Task B<br>ACL|Meta-Test Tasks: Context/Train (top) &|Meta-Test Tasks: Context/Train (top) &|Meta-Test Tasks: Context/Train (top) &|Test (bottom)<br>CIFAR-10_→_MNIST<br>MNIST<br>CIFAR-10|
|
| 106 |
+
|---|---|---|---|---|
|
| 107 |
+
||MNIST<br>MNIST|MNIST_→_CIFAR-10<br>CIFAR-10<br>MNIST|CIFAR-10<br>CIFAR-10||
|
| 108 |
+
|Omniglot Mini-ImageNet<br>No 71.1_±_4.0 49.4_±_2.4 43.7_±_2.3 51.5_±_1.4 68.9_±_4.1 24.9_±_3.2<br>Yes 75.4_±_3.0 50.8_±_1.3 **81.5**_±_2.7 51.6_±_1.3 77.9_±_2.3 **51.8**_±_2.0|||||
|
| 109 |
+
|FC100<br>Mini-ImageNet<br>No 60.1_±_2.0 56.1_±_2.3 17.2_±_3.5 54.4_±_1.7 58.6_±_1.6 21.2_±_3.1<br>Yes 70.0_±_2.4 51.0_±_1.0 **68.2**_±_2.7 59.2_±_1.7 66.9_±_3.4 **52.5**_±_1.3|||||
|
| 110 |
+
|
| 111 |
+
Ravi & Larochelle, 2017) or FC100 (Oreshkin et al., 2018) (which is based on CIFAR100 (Krizhevsky, 2009)) and Mini-ImageNet. The order of appearance of two tasks within meta-training sequences is alternated for every batch. We compare systems trained with or without the backward transfer term in the ACL loss (the last term in Eq. 4).
|
| 112 |
+
|
| 113 |
+
Table 1 shows the results when the meta-trained models are meta-tested on the corresponding test sets of the few-shot learning datasets used for training. We observe that in both pairs of training tasks, the models without the ACL loss catastrophically forget the first task after learning the second one: the accuracy on the first task is at the chance level of about 20% for 5-way classification after learning the second task in-context. The ACL loss clearly addresses this problem: the CL algorithm learned through ACL preserves the performance of the first task. This effect is particularly pronounced in the Omniglot/Mini-ImageNet case (involving two rather distinct tasks).
|
| 114 |
+
|
| 115 |
+
Table 2 shows a similar evaluation but on two standard datasets, 5-way MNIST and CIFAR10. Again, ACL-trained models better preserve the memory of the first task after learning the second one. In the Omniglot/Mini-ImageNet case, we even observe certain positive backward tranfer effects: in particular, in the “MNIST-then-CIFAR10” continual learning case, the performance on MNIST noticeably improves after learning CIFAR10 (possibly leveraging ‘more data’ provided in-context).
|
| 116 |
+
|
| 117 |
+
## 4.2 IN-CONTEXT CATASTROPHIC FORGETTING IN THE BASELINES
|
| 118 |
+
|
| 119 |
+
Here we report some empirical observations on the baseline models trained **without** the backward transfer term (the last/third term in Eq. 4) in the ACL objective loss (corresponding to the **ACL/No** cases in Tables 1 and 2), namely emergence of “in-context catastrophic forgetting” during training. We focus on the Omniglot/Mini-ImageNet case, but similar trends can also be observed in the FC100/Mini-ImageNet case. Figures 2a and 2b show two cases we typically observe. These figures show an evolution of six individual loss terms (the lower the better), reported separately for the cases where Task A (here Omniglot) or Task B (here Mini-ImageNet) appears at the first (1) or second (2) position in the 2-task continual learning training sequences. 4 out of 6 curves correspond to the learning progress, showing whether the model becomes capable of in-context learning the given task (A or B) at the given position (1 or 2). The 2 remaining curves are the ACL backward tranfer loss, also measured for Task A and B separately here.
|
| 120 |
+
|
| 121 |
+
6
|
| 122 |
+
|
| 123 |
+
**==> picture [391 x 144] intentionally omitted <==**
|
| 124 |
+
|
| 125 |
+
**----- Start of picture text -----**<br>
|
| 126 |
+
1.6<br>Task A Position 1 Task A Position 1<br>1.4 Task A Position 2 Task A Position 2<br>Task B Position 1 2.0 Task B Position 1<br>1.2 Task B Position 2 Task B Position 2<br>Task A ACL bwd Task A ACL bwd<br>Task B ACL bwd Task B ACL bwd<br>1.0 1.5<br>0.8<br>1.0<br>0.6<br>0.4<br>0.5<br>0.2<br>0.0 0.0<br>0 1000 2000 3000 4000 5000 6000 0 1000 2000 3000 4000 5000<br>Training Step Training Step<br>Loss Loss<br>**----- End of picture text -----**<br>
|
| 127 |
+
|
| 128 |
+
(a) Case where the model starts to learn two tasks simultaneously.
|
| 129 |
+
|
| 130 |
+
**==> picture [197 x 17] intentionally omitted <==**
|
| 131 |
+
|
| 132 |
+
**----- Start of picture text -----**<br>
|
| 133 |
+
(b) Case where one task is learned first (here Task A)<br>then the other one is learned later.<br>**----- End of picture text -----**<br>
|
| 134 |
+
|
| 135 |
+
Figure 2: **ACL/No** -case meta-training curves displaying 6 individual loss terms, when the last term of the ACL objective (the backward tranfer loss; “ _Task A ACL bwd_ ” and “ _Task B ACL bwd_ ” in the legend) is **not** minimized ( **ACL/No** case in Tables 1 and 2). Here Task A is Omniglot and Task B is Mini-ImageNet. We observe that, in both cases, without explicit minimization, backward transfer capability ( _purple_ and _brown_ curves) of the learned learning algorithm gradually degrades as it learns to learn a new task (all other colors), causing in-context catastrophic forgetting. Note that _blue/orange_ and _green/red_ curve pairs almost overlap; indicating that when a task is learned, the model can learn it whether it is in the first or second segment of the continual learning sequence.
|
| 136 |
+
|
| 137 |
+
Figure 2a shows the case where two tasks are learned about at the same time. We observe that when the learning curves go down, the ACL losses go up, indicating that more the model learns, more it tends to forget the task in-context learned previously. This trend is similar when one task is learned before the other one as is the case in Figure 2b. Here Task A alone is learned first; while Task B is not learned, both learning and ACL curves go down for Task A (essentially, as the model does not learn the second task, there is no force that encourages forgetting). At around 3000 steps, the model also starts learning Task B. From this point, the ACL loss for Task A also starts to go up, indicating again a sort of opposing force effect between learning a new task and remembering a past task.
|
| 138 |
+
|
| 139 |
+
These observations clearly indicate that, without explicitly taking into account the backward transfer loss as part of learning objectives, the gradient descent search tends to find solutions/CL algorithms that prefer to erase previously learned knowledge (this is rather intuitive; it seems easier to find such algorithms that ignore any influence of the current learning to past learning than “better” ones that preserve prior knowledge). In all cases, we find our ACL objective to be crucial for the learned CL algorithms to be capable of remembering the old task while also learning the new task at the same.
|
| 140 |
+
|
| 141 |
+
## 4.3 GENERAL EVALUATION
|
| 142 |
+
|
| 143 |
+
**Evaluation on standard Split-MNIST.** Here we evaluate ACL on the standard Split-MNIST task in domain-incremental and class-incremental settings (Hsu et al., 2018; Van de Ven & Tolias, 2018), and compare its performance to existing CL and meta-CL algorithms (see Appendix A.6 for full references of these methods). Our comparison focuses on methods that do not require replay memory. Table 3 shows the results. Since our ACL-trained models are general-purpose learners, they can be directly evaluated (meta-tested) on a new task, here Split-MNIST. “ACL (Out-of-the-box model)” row of Table 3 corresponds to our model from Sec. 4.1 meta-trained on Omniglot and Mini-ImageNet using the 2-task ACL objective. It performs very competitively with the best existing methods in the domain-incremental setting, while it largely outperforms them in the 2-task class-incremental setting. The same model can be further meta-finetuned using the 5-task version of the ACL loss (here we only used Omniglot as the meta-training data). The resulting model (the last row of Table 3) outperforms all other methods in all settings studied here. We refer to Appendix A.6 for further discussions.
|
| 144 |
+
|
| 145 |
+
**Evaluation on diverse task domains.** Here we evaluate our ACL-trained models for CL involving more tasks/domains; using meta-test sequences made of MNIST, CIFAR-10, and Fashion MNIST. We also evaluate the impact of the number of tasks in the ACL objective: in addition to the model trained
|
| 146 |
+
|
| 147 |
+
7
|
| 148 |
+
|
| 149 |
+
Table 3: Classification accuracies (%) on the **Split-MNIST** domain-incremental and class-incremental learning (CIL) settings (Hsu et al., 2018). Both tasks are 5-task CL problems. For the CIL case, we also report the 2-task case for which we can directly evaluate our out-of-the-box ACL meta-learner of Sec. 4.1 (trained with a 5-way output and the 2-task ACL loss) which, however, is not applicable (N.A.) to the 5-task CIL requiring a 10-way output. Mean/std over 10 training/meta-testing runs. None of the methods here requires replay memory. See Appendix A.6 for further details.
|
| 150 |
+
|
| 151 |
+
|Domain Incremental<br>Method<br>5-task|Domain Incremental<br>Method<br>5-task|Class Incremental<br>2-task<br>5-task|
|
| 152 |
+
|---|---|---|
|
| 153 |
+
|Stochastic Gradient Descent (SGD)<br>Adam|63.2_±_0.4<br>48.8_±_0.1 19.5_±_0.1<br>55.2_±_1.4<br>49.7_±_0.1 19.7_±_0.1||
|
| 154 |
+
|Adam + L2<br>Elastic Weight Consolidation (EWC)<br>Online EWC<br>Synaptic Intelligence (SI)<br>Memory Aware Synapses (MAS)<br>Learning w/o Forgetting (LwF)|66.0_±_3.7<br>51.8_±_1.9 22.5_±_1.1<br>58.9_±_2.6<br>49.7_±_0.1 19.8_±_0.1<br>57.3_±_1.4<br>49.7_±_0.1 19.8_±_0.1<br>64.8_±_3.1<br>49.4_±_0.2 19.7_±_0.1<br>68.6_±_6.9<br>49.6_±_0.1 19.5_±_0.3<br>71.0_±_1.3<br>-<br>24.2_±_0.3||
|
| 155 |
+
|Online-aware Meta Learning (OML; Out-of-the-box)<br>+ optimized # meta-testing iterations|69.9_±_2.8<br>46.6_±_7.2 24.9_±_4.1<br>73.6_±_5.3<br>62.1_±_7.9 34.2_±_4.6||
|
| 156 |
+
|ACL (Out-of-the-box model; Sec. 4.1)<br>+ meta-fnetuned with 5-task ACL loss|72.2_±_0.9<br>71.5_±_5.9<br>N.A.<br>**84.3**_±_1.2<br>**93.4**_±_1.2 **74.6**_±_2.3||
|
| 157 |
+
|
| 158 |
+
on Omniglot/Mini-ImageNet using the 2-task ACL (Sec. 4.1), we also meta-train a model (with the same architecture and hyper-parameters) using 3 tasks, Omniglot, Mini-ImageNet, and FC100, using the 3-task ACL objective (see Appendix A.4). Note that the 3-task version is not only meta-trained for longer CL, but also meta-trained using more data. Table 4 shows the results. We observe that both ACL-trained models are indeed capable of retaining the knowledge without catastrophic forgetting for multiple tasks during meta-testing, while we also observe that the performance on prior tasks gradually degrade as the model learns new tasks. The 3-task version outperforms the 2-task one overall, encouragingly indicating a potential for further improvements even with a fixed parameter count.
|
| 159 |
+
|
| 160 |
+
## 5 DISCUSSION
|
| 161 |
+
|
| 162 |
+
**Prior work.** While there are several prior works that are catagorized as ‘meta-continual learning’ or ‘continual meta-learning’ (see, e.g., Javed & White (2019); Beaulieu et al. (2020); Caccia et al. (2020); He et al. (2019); Yap et al. (2021); Munkhdalai & Yu (2017), most of them are based on “model-agnostic meta-learning” (MAML; Finn et al. (2017); Finn & Levine (2018)) and learn _representations_ for CL but still make use of classic CL algorithms. In particular, tuning of the learning rate and number of iterations is still required for optimal performance (see, e.g., Appendix A.6). In contrast, our approach learn _learning algorithms_ in the spirit of Hochreiter et al. (2001); Younger et al. (1999); this may be categorized as ‘in-context continual learning’. Several recent works (see, e.g., Irie & Schmidhuber (2023a); Coda-Forno et al. (2023); von Oswald et al. (2023b)) mention the possibility of such in-context CL without any concrete study. We show that in-context learning also suffers from catastrophic forgetting (Sec. 4.1-4.2) and propose ACL to address this problem.
|
| 163 |
+
|
| 164 |
+
**Artificial v. Natural ACL in Large Language Models?** Recently, “on-the-fly” or few-shot/meta learning capability of sequence processing NNs has attracted broader interests in the context of large language models (LLMs; Radford et al. (2019)). In fact, the task of language modeling itself has a form of _sequence processing with error feedback_ (essential for meta-learning (Schmidhuber, 1990)): the correct label to be predicted is fed to the model with a delay of one time step in an auto-regressive manner. Trained on a large amount of text covering a wide variety of credit assignment paths, LLMs exhibit certain sequential few-shot learning capabilities in practice (Brown et al., 2020). This was rebranded as _in-context learning_ , and has been the subject of numerous recent studies (e.g., Xie et al. (2022); Min et al. (2022); Yoo et al. (2022); Chan et al. (2022b;a); Kirsch et al. (2022); Akyurek et al.¨ (2023); von Oswald et al. (2023a); Dai et al. (2023)). Here we explicitly/artificially construct ACL
|
| 165 |
+
|
| 166 |
+
8
|
| 167 |
+
|
| 168 |
+
Table 4: 5-way classification accuracies using 15 examples for each class for each task in the context. 2-task models are meta-trained on Omniglot and Mini-ImageNet, while 3-task models are in addition meta-trained on FC100. ‘A, B’ in ‘Context/Train’ column indicates that models sequentially observe meta-test training examples of Task A then B; evaluation is only done at the end of the sequence.
|
| 169 |
+
|
| 170 |
+
||Meta-Testing Tasks<br>Context/Train<br>Test|ACL<br>Number ofMeta-TrainingTasks<br>2<br>3|
|
| 171 |
+
|---|---|---|
|
| 172 |
+
||A: MNIST-04<br>A<br>B: CIFAR10-04<br>B<br>C: MNIST-59<br>C<br>D: FMNIST-04<br>D<br>Average|75.4_±_3.0<br>89.7_±_1.6<br>51.6_±_1.3<br>55.3_±_0.9<br>63.0_±_3.3<br>76.1_±_2.0<br>54.8_±_1.3<br>59.2_±_4.0<br>61.2<br>70.1|
|
| 173 |
+
||A, B<br>A<br>B<br>Average|81.5_±_2.7<br>88.0_±_2.2<br>50.8_±_1.3<br>52.9_±_1.2<br>66.1<br>70.5|
|
| 174 |
+
||A, B, C<br>A<br>B<br>C<br>Average|64.5_±_6.0<br>82.2_±_1.7<br>50.8_±_1.2<br>50.3_±_2.0<br>33.7_±_2.2<br>44.3_±_3.0<br>49.7<br>58.9|
|
| 175 |
+
||A, B, C, D<br>A<br>B<br>C<br>D<br>Average|64.3_±_4.8<br>78.9_±_2.3<br>47.5_±_1.0<br>49.2_±_1.3<br>32.7_±_1.9<br>45.4_±_3.9<br>31.2_±_4.9<br>30.1_±_5.8<br>43.9<br>50.9|
|
| 176 |
+
|
| 177 |
+
training sequences and its objectives, but in modern large language models trained on a large amount of data mixing a large diversity of dependencies using a large backpropagation span, it is conceivable that some ACL-like objectives may naturally appear in the data.
|
| 178 |
+
|
| 179 |
+
**Limitations.** While we argue that our ACL is a promising approach for automating development of CL algorithms, there are also several limitations. First of all, directly scaling ACL for real-world tasks requiring many more classes does not seem straightforward: it would require very long training sequences. That said, it is also possible that ACL could be achieved without exactly following the process we propose; as we mention above for the case of LLMs, certain real-world data may naturally give rise to an ACL-like objective. Another limitation of this work is training within the limited span. It should be noted that unlike the standard Transformers, linear Transformers/FWPs like SRWMs can be trained by _carrying over states_ across two consecutive batches for arbitrarily long sequences. Such an approach has been successfully applied to language modeling with FWPs (Schlag et al., 2021). This possibility, however, has not been investigated here, and is left for future work. This work is also limited to the task of image classification, which can be solved by feedforward NNs. Future work may investigate the possibility to extend ACL to continual learning of sequence learning tasks, such as continually learning new languages. Finally, ACL learns CL algorithms that are specific to the prespecified model architecture; more general meta-learning algorithms may aim at achieving learning algorithms that are applicable to any model, as is the case for many classic learning algorithms.
|
| 180 |
+
|
| 181 |
+
## 6 CONCLUSION
|
| 182 |
+
|
| 183 |
+
Our novel Automated Continual Learning (ACL) formulates continual learning as sequence learning across long time lags, and trains sequence-processing self-referential neural networks (SRNNs) to learn their own in-context continual (meta-)learning algorithms. ACL encodes classic desiderata for continual learning (such as knowledge preservation, forward and backward transfer, etc.) into the objective function of the meta-learner. ACL uses gradient descent to deal with classic challenges of CL, to automatically discover CL algorithms with good behavior. Once trained, our SRNNs autonomously run their own continual learning algorithms without requiring any human intervention. Our experiments demonstrate the effectiveness and promise of the proposed approach.
|
| 184 |
+
|
| 185 |
+
9
|
| 186 |
+
|
| 187 |
+
## REFERENCES
|
| 188 |
+
|
| 189 |
+
Mark A. Aizerman, Emmanuil M. Braverman, and Lev I. Rozonoer. Theoretical foundations of potential function method in pattern recognition. _Automation and Remote Control_ , 25(6):917–936, 1964.
|
| 190 |
+
|
| 191 |
+
- Ekin Akyurek,¨ Dale Schuurmans, Jacob Andreas, Tengyu Ma, and Denny Zhou. What learning algorithm is in-context learning? investigations with linear models. In _Int. Conf. on Learning Representations (ICLR)_ , Kigali, Rwanda, May 2023.
|
| 192 |
+
|
| 193 |
+
- Rahaf Aljundi, Francesca Babiloni, Mohamed Elhoseiny, Marcus Rohrbach, and Tinne Tuytelaars. Memory aware synapses: Learning what (not) to forget. In _Proc. European Conf. on Computer Vision (ECCV)_ , pp. 144–161, Munich, Germany, September 2018.
|
| 194 |
+
|
| 195 |
+
- Shawn Beaulieu, Lapo Frati, Thomas Miconi, Joel Lehman, Kenneth O. Stanley, Jeff Clune, and Nick Cheney. Learning to continually learn. In _Proc. European Conf. on Artificial Intelligence (ECAI)_ , pp. 992–1001, August 2020.
|
| 196 |
+
|
| 197 |
+
- Tom Bosc. Learning to learn neural networks. In _NIPS Workshop on Reasoning, Attention, Memory_ , Montreal, Canada, December 2015.
|
| 198 |
+
|
| 199 |
+
- John Bronskill, Jonathan Gordon, James Requeima, Sebastian Nowozin, and Richard E. Turner. TaskNorm: Rethinking batch normalization for meta-learning. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 1153–1164, Virtual only, 2020.
|
| 200 |
+
|
| 201 |
+
- Tom B Brown et al. Language models are few-shot learners. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , Virtual only, December 2020.
|
| 202 |
+
|
| 203 |
+
- Massimo Caccia, Pau Rodr´ıguez, Oleksiy Ostapenko, Fabrice Normandin, Min Lin, Lucas PageCaccia, Issam Hadj Laradji, Irina Rish, Alexandre Lacoste, David Vazquez, and Laurent Charlin.´ Online fast adaptation and knowledge accumulation (OSAKA): a new approach to continual learning. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , Virtual only, December 2020.
|
| 204 |
+
|
| 205 |
+
## Rich Caruana. Multitask learning. _Machine learning_ , 28:41–75, 1997.
|
| 206 |
+
|
| 207 |
+
- Stephanie CY Chan, Ishita Dasgupta, Junkyung Kim, Dharshan Kumaran, Andrew K Lampinen, and Felix Hill. Transformers generalize differently from information stored in context vs in weights. In _NeurIPS Workshop on Memory in Artificial and Real Intelligence (MemARI)_ , New Orleans, LA, USA, November 2022a.
|
| 208 |
+
|
| 209 |
+
- Stephanie CY Chan, Adam Santoro, Andrew Kyle Lampinen, Jane X Wang, Aaditya K Singh, Pierre Harvey Richemond, James McClelland, and Felix Hill. Data distributional properties drive emergent in-context learning in transformers. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , New Orleans, LA, USA, November 2022b.
|
| 210 |
+
|
| 211 |
+
- Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al. Rethinking attention with performers. In _Int. Conf. on Learning Representations (ICLR)_ , Virtual only, 2021.
|
| 212 |
+
|
| 213 |
+
- Julian Coda-Forno, Marcel Binz, Zeynep Akata, Matthew Botvinick, Jane X Wang, and Eric Schulz. Meta-in-context learning in large language models. _Preprint arXiv:2305.12907_ , 2023.
|
| 214 |
+
|
| 215 |
+
- Neil E Cotter and Peter R Conwell. Fixed-weight networks can learn. In _Proc. Int. Joint Conf. on Neural Networks (IJCNN)_ , pp. 553–559, San Diego, CA, USA, June 1990.
|
| 216 |
+
|
| 217 |
+
- Neil E Cotter and Peter R Conwell. Learning algorithms and fixed dynamics. In _Proc. Int. Joint Conf. on Neural Networks (IJCNN)_ , pp. 799–801, Seattle, WA, USA, July 1991.
|
| 218 |
+
|
| 219 |
+
- Damai Dai, Yutao Sun, Li Dong, Yaru Hao, Shuming Ma, Zhifang Sui, and Furu Wei. Why can GPT learn in-context? language models secretly perform gradient descent as meta-optimizers. In _Proc. Findings Association for Computational Linguistics (ACL)_ , pp. 4005–4019, Toronto, Canada, July 2023.
|
| 220 |
+
|
| 221 |
+
10
|
| 222 |
+
|
| 223 |
+
- Tristan Deleu, Tobias Wurfl, Mandana Samiei, Joseph Paul Cohen, and Yoshua Bengio.¨ Torchmeta: A meta-learning library for PyTorch. _Preprint arXiv:1909.06576_ , 2019.
|
| 224 |
+
|
| 225 |
+
- Yan Duan, John Schulman, Xi Chen, Peter L Bartlett, Ilya Sutskever, and Pieter Abbeel. RL[2] : Fast reinforcement learning via slow reinforcement learning. _Preprint arXiv:1611.02779_ , 2016.
|
| 226 |
+
|
| 227 |
+
David Eagleman. _Livewired: The inside story of the ever-changing brain_ . 2020.
|
| 228 |
+
|
| 229 |
+
- Chelsea Finn and Sergey Levine. Meta-learning and universality: Deep representations and gradient descent can approximate any learning algorithm. In _Int. Conf. on Learning Representations (ICLR)_ , Vancouver, Canada, April 2018.
|
| 230 |
+
|
| 231 |
+
- Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 1126–1135, Sydney, Australia, August 2017.
|
| 232 |
+
|
| 233 |
+
- Robert M French. Using semi-distributed representations to overcome catastrophic forgetting in connectionist networks. In _Proc. Cognitive science society conference_ , volume 1, pp. 173–178, 1991.
|
| 234 |
+
|
| 235 |
+
- Robert M French. Catastrophic forgetting in connectionist networks. _Trends in cognitive sciences_ , 3 (4):128–135, 1999.
|
| 236 |
+
|
| 237 |
+
Stephen T Grossberg. _Studies of mind and brain: Neural principles of learning, perception, development, cognition, and motor control_ . Springer, 1982.
|
| 238 |
+
|
| 239 |
+
- Xu He, Jakub Sygnowski, Alexandre Galashov, Andrei A Rusu, Yee Whye Teh, and Razvan Pascanu. Task agnostic continual learning via meta learning. _Preprint arXiv:1906.05201_ , 2019.
|
| 240 |
+
|
| 241 |
+
- Sepp Hochreiter, A. Steven Younger, and Peter R. Conwell. Learning to learn using gradient descent. In _Proc. Int. Conf. on Artificial Neural Networks (ICANN)_ , volume 2130, pp. 87–94, Vienna, Austria, August 2001.
|
| 242 |
+
|
| 243 |
+
- Yen-Chang Hsu, Yen-Cheng Liu, Anita Ramasamy, and Zsolt Kira. Re-evaluating continual learning scenarios: A categorization and case for strong baselines. In _NeurIPS Workshop on Continual Learning_ , Montr´eal, Canada, December 2018.
|
| 244 |
+
|
| 245 |
+
Mike Huisman, Thomas M Moerland, Aske Plaat, and Jan N van Rijn. Are LSTMs good few-shot learners? _Machine Learning_ , pp. 1–28, 2023.
|
| 246 |
+
|
| 247 |
+
- Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 448–456, Lille, France, July 2015.
|
| 248 |
+
|
| 249 |
+
- Kazuki Irie and Jurgen Schmidhuber.¨ Accelerating neural self-improvement via bootstrapping. In _ICLR Workshop on Mathematical and Empirical Understanding of Foundation Models_ , Kigali, Rwanda, May 2023a.
|
| 250 |
+
|
| 251 |
+
- Kazuki Irie and Jurgen¨ Schmidhuber. Images as weight matrices: Sequential image generation through synaptic learning rules. In _Int. Conf. on Learning Representations (ICLR)_ , Kigali, Rwanda, May 2023b.
|
| 252 |
+
|
| 253 |
+
- Kazuki Irie, Imanol Schlag, Robert Csord´ as, and J´ urgen Schmidhuber. Going beyond linear transform-¨ ers with recurrent fast weight programmers. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , Virtual only, December 2021.
|
| 254 |
+
|
| 255 |
+
- Kazuki Irie, Robert Csord´ as, and J´ urgen Schmidhuber.¨ The dual form of neural networks revisited: Connecting test time predictions to training patterns via spotlights of attention. In _Proc. Int. Conf. on Machine Learning (ICML)_ , Baltimore, MD, USA, July 2022a.
|
| 256 |
+
|
| 257 |
+
- Kazuki Irie, Francesco Faccio, and Jurgen Schmidhuber.¨ Neural differential equations for learning to program neural nets through continuous learning rules. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , New Orleans, LA, USA, December 2022b.
|
| 258 |
+
|
| 259 |
+
11
|
| 260 |
+
|
| 261 |
+
- Kazuki Irie, Imanol Schlag, Robert Csord´ as, and J´ urgen Schmidhuber.¨ A modern self-referential weight matrix that learns to modify itself. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 9660–9677, Baltimore, MA, USA, July 2022c.
|
| 262 |
+
|
| 263 |
+
- Khurram Javed and Martha White. Meta-learning representations for continual learning. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , pp. 1818–1828, Vancouver, BC, Canada, December 2019.
|
| 264 |
+
|
| 265 |
+
- Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and Franc¸ois Fleuret. Transformers are RNNs: Fast autoregressive transformers with linear attention. In _Proc. Int. Conf. on Machine Learning (ICML)_ , Virtual only, July 2020.
|
| 266 |
+
|
| 267 |
+
- James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. _Proc. National academy of sciences_ , 114(13):3521– 3526, 2017.
|
| 268 |
+
|
| 269 |
+
- Louis Kirsch and Jurgen Schmidhuber.¨ Meta learning backpropagation and improving it. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , pp. 14122–14134, Virtual only, December 2021.
|
| 270 |
+
|
| 271 |
+
- Louis Kirsch, James Harrison, Jascha Sohl-Dickstein, and Luke Metz. General-purpose in-context learning by meta-learning transformers. In _NeurIPS Workshop on Memory in Artificial and Real Intelligence (MemARI)_ , New Orleans, LA, USA, November 2022.
|
| 272 |
+
|
| 273 |
+
- Chris A Kortge. Episodic memory in connectionist networks. In _12th Annual Conference. CSS Pod_ , pp. 764–771, 1990.
|
| 274 |
+
|
| 275 |
+
- A. Krizhevsky. Learning multiple layers of features from tiny images. Master’s thesis, Computer Science Department, University of Toronto, 2009.
|
| 276 |
+
|
| 277 |
+
- Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. _Science_ , 350(6266):1332–1338, 2015.
|
| 278 |
+
|
| 279 |
+
Yann LeCun, Corinna Cortes, and Christopher JC Burges. The MNIST database of handwritten digits. URL [URL removed] lecun. com/exdb/mnist, 1998.
|
| 280 |
+
|
| 281 |
+
- Zhizhong Li and Derek Hoiem. Learning without forgetting. In _Proc. European Conf. on Computer Vision (ECCV)_ , pp. 614–629, Amsterdam, Netherlands, October 2016.
|
| 282 |
+
|
| 283 |
+
- David Lopez-Paz and Marc’Aurelio Ranzato. Gradient episodic memory for continual learning. In _Proc. Advances in Neural Information Processing Systems (NIPS)_ , pp. 6467–6476, Long Beach, CA, USA, December 2017.
|
| 284 |
+
|
| 285 |
+
- Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In _Psychology of learning and motivation_ , volume 24, pp. 109–165. 1989.
|
| 286 |
+
|
| 287 |
+
- Thomas Miconi, Kenneth Stanley, and Jeff Clune. Differentiable plasticity: training plastic neural networks with backpropagation. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 3559–3568, Stockholm, Sweden, July 2018.
|
| 288 |
+
|
| 289 |
+
- Thomas Miconi, Aditya Rawal, Jeff Clune, and Kenneth O. Stanley. Backpropamine: training self-modifying neural networks with differentiable neuromodulated plasticity. In _Int. Conf. on Learning Representations (ICLR)_ , New Orleans, LA, USA, May 2019.
|
| 290 |
+
|
| 291 |
+
- Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning work? In _Proc. Conf. on Empirical Methods in Natural Language Processing (EMNLP)_ , pp. 11048–11064, Abu Dhabi, UAE, December 2022.
|
| 292 |
+
|
| 293 |
+
- Nikhil Mishra, Mostafa Rohaninejad, Xi Chen, and Pieter Abbeel. A simple neural attentive metalearner. In _Int. Conf. on Learning Representations (ICLR)_ , Vancouver, Cananda, 2018.
|
| 294 |
+
|
| 295 |
+
12
|
| 296 |
+
|
| 297 |
+
- Tsendsuren Munkhdalai and Adam Trischler. Metalearning with Hebbian fast weights. _Preprint arXiv:1807.05076_ , 2018.
|
| 298 |
+
|
| 299 |
+
- Tsendsuren Munkhdalai and Hong Yu. Meta networks. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 2554–2563, Sydney, Australia, August 2017.
|
| 300 |
+
|
| 301 |
+
- Tsendsuren Munkhdalai, Alessandro Sordoni, Tong Wang, and Adam Trischler. Metalearned neural memory. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , pp. 13310– 13321, Vancouver, Canada, December 2019.
|
| 302 |
+
|
| 303 |
+
- Devang K Naik and Richard J Mammone. Meta-neural networks that learn by learning. In _Proc. International Joint Conference on Neural Networks (IJCNN)_ , volume 1, pp. 437–442, Baltimore, MD, USA, June 1992.
|
| 304 |
+
|
| 305 |
+
- Boris N. Oreshkin, Pau Rodr´ıguez Lopez, and Alexandre Lacoste.´ TADAM: task dependent adaptive metric for improved few-shot learning. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , pp. 719–729, Montr´eal, Canada, December 2018.
|
| 306 |
+
|
| 307 |
+
- Hao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz, Noah A Smith, and Lingpeng Kong. Random feature attention. In _Int. Conf. on Learning Representations (ICLR)_ , Virtual only, 2021.
|
| 308 |
+
|
| 309 |
+
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. [Online]. : [URL removed] 2019.
|
| 310 |
+
|
| 311 |
+
- Roger Ratcliff. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. _Psychological review_ , 97(2):285, 1990.
|
| 312 |
+
|
| 313 |
+
- Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. In _Int. Conf. on Learning Representations (ICLR)_ , Toulon, France, April 2017.
|
| 314 |
+
|
| 315 |
+
- Mark B. Ring. _Continual Learning in Reinforcement Environments_ . PhD thesis, University of Texas at Austin, Austin, TX, USA, 1994.
|
| 316 |
+
|
| 317 |
+
- Anthony Robins. Catastrophic forgetting, rehearsal and pseudorehearsal. _Connection Science_ , 7(2): 123–146, 1995.
|
| 318 |
+
|
| 319 |
+
- David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy P. Lillicrap, and Gregory Wayne. Experience replay for continual learning. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , pp. 348–358, Vancouver, Canada, December 2019.
|
| 320 |
+
|
| 321 |
+
- Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. _Preprint arXiv:1606.04671_ , 2016.
|
| 322 |
+
|
| 323 |
+
- Mark Sandler, Max Vladymyrov, Andrey Zhmoginov, Nolan Miller, Tom Madams, Andrew Jackson, and Blaise Aguera¨ y Arcas. Meta-learning bidirectional update rules. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 9288–9300, Virtual only, July 2021.
|
| 324 |
+
|
| 325 |
+
- Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy P. Lillicrap. Meta-learning with memory-augmented neural networks. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 1842–1850, New York City, NY, USA, June 2016.
|
| 326 |
+
|
| 327 |
+
- Imanol Schlag, Kazuki Irie, and Jurgen Schmidhuber.¨ Linear Transformers are secretly fast weight programmers. In _Proc. Int. Conf. on Machine Learning (ICML)_ , Virtual only, July 2021.
|
| 328 |
+
|
| 329 |
+
- Jurgen Schmidhuber.¨ _Evolutionary principles in self-referential learning, or on learning how to learn: the meta-meta-... hook_ . PhD thesis, Technische Universit¨at M¨unchen, 1987.
|
| 330 |
+
|
| 331 |
+
- Jurgen¨ Schmidhuber. Making the world differentiable: On using fully recurrent self-supervised neural networks for dynamic reinforcement learning and planning in non-stationary environments. _Institut f¨ur Informatik, Technische Universit¨at M¨unchen. Technical Report FKI-126_ , 90, 1990.
|
| 332 |
+
|
| 333 |
+
13
|
| 334 |
+
|
| 335 |
+
Jurgen Schmidhuber.¨ Learning to control fast-weight memories: An alternative to recurrent nets. Technical Report FKI-147-91, Institut fur Informatik, Technische Universit¨ at M¨ unchen, March¨ 1991.
|
| 336 |
+
|
| 337 |
+
- Jurgen Schmidhuber.¨ Steps towards “self-referential” learning. Technical Report CU-CS-627-92, Dept. of Comp. Sci., University of Colorado at Boulder, November 1992a.
|
| 338 |
+
|
| 339 |
+
Jurgen Schmidhuber.¨ Learning to control fast-weight memories: An alternative to dynamic recurrent networks. _Neural Computation_ , 4(1):131–139, 1992b.
|
| 340 |
+
|
| 341 |
+
- Jurgen¨ Schmidhuber. A self-referential weight matrix. In _Proc. Int. Conf. on Artificial Neural Networks (ICANN)_ , pp. 446–451, Amsterdam, Netherlands, September 1993.
|
| 342 |
+
|
| 343 |
+
- Jonathan Schwarz, Wojciech Czarnecki, Jelena Luketina, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 4535–4544, Stockholm, Sweden, July 2018.
|
| 344 |
+
|
| 345 |
+
- Rupesh Kumar Srivastava, Jonathan Masci, Sohrob Kazerounian, Faustino J. Gomez, and Jurgen¨ Schmidhuber. Compete to compute. In _Proc. Advances in Neural Information Processing Systems (NIPS)_ , pp. 2310–2318, Lake Tahoe, NV, USA, December 2013.
|
| 346 |
+
|
| 347 |
+
Sebastian Thrun. Lifelong learning algorithms. In _Learning to learn_ , pp. 181–209. 1998.
|
| 348 |
+
|
| 349 |
+
- Ilya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Thomas Unterthiner, Jessica Yung, Andreas Steiner, Daniel Keysers, Jakob Uszkoreit, Mario Lucic, and Alexey Dosovitskiy. Mlp-mixer: An all-mlp architecture for vision. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , pp. 24261–24272, Virtual only, December 2021.
|
| 350 |
+
|
| 351 |
+
- Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. _Preprint arXiv:1607.08022_ , 2016.
|
| 352 |
+
|
| 353 |
+
- Gido M Van de Ven and Andreas S Tolias. Three scenarios for continual learning. In _NeurIPS Workshop on Continual Learning_ , Montr´eal, Canada, December 2018.
|
| 354 |
+
|
| 355 |
+
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In _Proc. Advances in Neural Information Processing Systems (NIPS)_ , pp. 5998–6008, Long Beach, CA, USA, December 2017.
|
| 356 |
+
|
| 357 |
+
- Tom Veniat, Ludovic Denoyer, and Marc’Aurelio Ranzato. Efficient continual learning with modular networks and task-driven priors. In _Int. Conf. on Learning Representations (ICLR)_ , Virtual only, May 2021.
|
| 358 |
+
|
| 359 |
+
- Oriol Vinyals, Charles Blundell, Tim Lillicrap, Koray Kavukcuoglu, and Daan Wierstra. Matching networks for one shot learning. In _Proc. Advances in Neural Information Processing Systems (NIPS)_ , pp. 3630–3638, Barcelona, Spain, December 2016.
|
| 360 |
+
|
| 361 |
+
- Johannes von Oswald, Eyvind Niklasson, Ettore Randazzo, Joao Sacramento, Alexander Mordvintsev,˜ Andrey Zhmoginov, and Max Vladymyrov. Transformers learn in-context by gradient descent. In _Proc. Int. Conf. on Machine Learning (ICML)_ , Honolulu, HI, USA, July 2023a.
|
| 362 |
+
|
| 363 |
+
- Johannes von Oswald, Eyvind Niklasson, Maximilian Schlegel, Seijin Kobayashi, Nicolas Zucchet, Nino Scherrer, Nolan Miller, Mark Sandler, Max Vladymyrov, Razvan Pascanu, et al. Uncovering mesa-optimization algorithms in Transformers. _Preprint arXiv:2309.05858_ , 2023b.
|
| 364 |
+
|
| 365 |
+
- Jane Wang, Zeb Kurth-Nelson, Hubert Soyer, Joel Z. Leibo, Dhruva Tirumala, Remi Munos, Charles´ Blundell, Dharshan Kumaran, and Matt M. Botvinick. Learning to reinforcement learn. In _Proc. Annual Meeting of the Cognitive Science Society (CogSci)_ , London, UK, July 2017.
|
| 366 |
+
|
| 367 |
+
- Bernard Widrow and Marcian E Hoff. Adaptive switching circuits. In _Proc. IRE WESCON Convention Record_ , pp. 96–104, Los Angeles, CA, USA, August 1960.
|
| 368 |
+
|
| 369 |
+
- Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. _Preprint arXiv:1708.07747_ , 2017.
|
| 370 |
+
|
| 371 |
+
14
|
| 372 |
+
|
| 373 |
+
- Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. An explanation of in-context learning as implicit bayesian inference. In _Int. Conf. on Learning Representations (ICLR)_ , Virtual only, April 2022.
|
| 374 |
+
|
| 375 |
+
- Pau Ching Yap, Hippolyt Ritter, and David Barber. Addressing catastrophic forgetting in few-shot problems. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 11909–11919, Virtual only, July 2021.
|
| 376 |
+
|
| 377 |
+
- Kang Min Yoo, Junyeob Kim, Hyuhng Joon Kim, Hyunsoo Cho, Hwiyeol Jo, Sang-Woo Lee, Sang-goo Lee, and Taeuk Kim. Ground-truth labels matter: A deeper look into input-label demonstrations. In _Proc. Conf. on Empirical Methods in Natural Language Processing (EMNLP)_ , pp. 2422–2437, Abu Dhabi, UAE, December 2022.
|
| 378 |
+
|
| 379 |
+
- A Steven Younger, Peter R Conwell, and Neil E Cotter. Fixed-weight on-line learning. _IEEE Transactions on Neural Networks_ , 10(2):272–283, 1999.
|
| 380 |
+
|
| 381 |
+
- Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In _Proc. Int. Conf. on Machine Learning (ICML)_ , pp. 3987–3995, Sydney, Australia, August 2017.
|
| 382 |
+
|
| 383 |
+
- Yaqian Zhang, Bernhard Pfahringer, Eibe Frank, Albert Bifet, Nick Jin Sean Lim, and Yunzhe Jia. A simple but strong baseline for online continual learning: Repeated augmented rehearsal. In _Proc. Advances in Neural Information Processing Systems (NeurIPS)_ , New Orleans, LA, USA, December 2022.
|
| 384 |
+
|
| 385 |
+
15
|
| 386 |
+
|
| 387 |
+
## A EXPERIMENTAL DETAILS
|
| 388 |
+
|
| 389 |
+
## A.1 DATASETS
|
| 390 |
+
|
| 391 |
+
For classic image classification datasets such as MNIST (LeCun et al., 1998), CIFAR10 (Krizhevsky, 2009), and FashionMNIST (FMNIST; Xiao et al. (2017)) we refer to the original references for details.
|
| 392 |
+
|
| 393 |
+
For Omniglot (Lake et al., 2015), we use Vinyals et al. (2016)’s 1028/172/432-split for the train/validation/test set, as well as their data augmentation methods using rotation of 90, 180, and 270 degrees. Original images are grayscale hand-written characters from 50 different alphabets. There are 1632 different classes with 20 examples for each class.
|
| 394 |
+
|
| 395 |
+
Mini-ImageNet contains color images from 100 classes with 600 examples for each class. We use the standard train/valid/test class splits of 64/16/20 following (Ravi & Larochelle, 2017).
|
| 396 |
+
|
| 397 |
+
FC100 is based on CIFAR100 (Krizhevsky, 2009). 100 color image classes (600 images per class, each of size 32 _×_ 32) are split into train/valid/test classes of 60/20/20 (Oreshkin et al., 2018).
|
| 398 |
+
|
| 399 |
+
We use torchmeta (Deleu et al., 2019) which provides common few-shot/meta learning settings for these datasets to sample and construct their meta-train/test datasets.
|
| 400 |
+
|
| 401 |
+
## A.2 HYPER-PARAMETERS
|
| 402 |
+
|
| 403 |
+
We use the same model and training hyper-parameters in all our experiments. All hyper-parameters are summarized in Table 5. We use the Adam optimizer with the standard Transformer learning rate warmup scheduling (Vaswani et al., 2017). The vision backend is the classic 4-layer convolutional NN of Vinyals et al. (2016). Most configurations follow those of Irie et al. (2022c); except that we initialize the ‘query’ sub-matrix in the self-referential weight matrix using a normal distribution with a mean value of 0 and standard deviation of 0 _._ 01 _/[√] d_ head while other sub-matrices use an std of 1 _/[√] d_ head (motivated by the fact that a generated query vector is immediately multiplied with the same SRWM to produce a value vector). For any further details, we’ll refer the readers to our public code we’ll release upon acceptance.
|
| 404 |
+
|
| 405 |
+
Table 5: Hyper-parameters.
|
| 406 |
+
|
| 407 |
+
|Parameters|Values|
|
| 408 |
+
|---|---|
|
| 409 |
+
|Number of SRWM layers|2|
|
| 410 |
+
|Total hidden size|256|
|
| 411 |
+
|Feedforward block multiplier|2|
|
| 412 |
+
|Number of heads|16|
|
| 413 |
+
|Batch size|16 or 32|
|
| 414 |
+
|
| 415 |
+
## A.3 EVALUATION PROCEDURE
|
| 416 |
+
|
| 417 |
+
For evaluation on few-shot learning datasets (i.e., Omniglot, Mini-Imagenet and FC100), we use 5 different sets consisting of 32 K random test episodes each, and report mean and standard deviation.
|
| 418 |
+
|
| 419 |
+
For evaluation on standard datasets, we use 5 different random support sets for in-context learning, and evaluate on the entire test set. We report the corresponding mean and standard deviation across these 5 evaluation runs.
|
| 420 |
+
|
| 421 |
+
## A.4 THREE-TASK ACL
|
| 422 |
+
|
| 423 |
+
We can straightforwardly extend the 2-task version of ACL presented in Sec. 3 to more tasks. In the 3-task case (we denote the three tasks as **A** , **B** , and **C** ) used in Sec. 4.3, the objective function contains six terms. Following three terms are added to Eq. 4:
|
| 424 |
+
|
| 425 |
+
16
|
| 426 |
+
|
| 427 |
+
**==> picture [384 x 14] intentionally omitted <==**
|
| 428 |
+
|
| 429 |
+
## A.5 AUXILIARY 1-SHOT LEARNING OBJECTIVE
|
| 430 |
+
|
| 431 |
+
In practice, instead of training the models only for “15-shot learning,” we also add an auxiliary loss for 1-shot learning. This naturally encourages the models to learn in-context from the first examples.
|
| 432 |
+
|
| 433 |
+
## A.6 DETAILS OF THE SPLIT-MNIST EXPERIMENT
|
| 434 |
+
|
| 435 |
+
Here we provide details of the Split-MNIST experiments presented in Sec. 4 and Table 3. The baseline methods presented in Table 3 include: standard SGD and Adam optimizers, Adam with the L2 regularization, elastic weight consolidation (Kirkpatrick et al., 2017) and its online variant (Schwarz et al., 2018), synaptic intelligence (Zenke et al., 2017), memory aware synapses (Aljundi et al., 2018), learning without forgetting (LwF; Li & Hoiem (2016)). For these methods, we directly take the numbers reported in Hsu et al. (2018) for the 5-task domain/class-incremental settings.
|
| 436 |
+
|
| 437 |
+
For the 2-task class incremental setting, we use Hsu et al. (2018)’s code to train the correspond models (the number for LwF is currently missing as it is not implemented in their code base; we will add the corresponding/missing entry in Table 3 for the final version of this paper).
|
| 438 |
+
|
| 439 |
+
Finally we also evaluate a MAML-based meta-learning approach, OML (Javed & White, 2019). We note that as reported by Javed & White (2019) in their public code repository; after some critical bug fix, the performance of their OML matches that of Beaulieu et al. (2020) (which is a direct application of OML to another model architecture). Therefore, we focus on OML as our main meta-continual learning baseline. We take the out-of-the-box model (meta-trained for Omniglot, with a 1000-way output) made publicly available by (Javed & White, 2019). We evaluate the corresponding model in two ways. In the first, ‘out-of-the-box’ case, we take the meta-pre-trained model and only tune its meta-testing learning rate (which is done by (Javed & White, 2019) even for Omniglot meta-testing). We find that this method does not perform very well. In the other case (‘optimized # meta-testing iterations’), we additionally tune the number of meta-test training iterations. We’ve done a grid search of the meta-test learning rate in 3 _∗{_ 1 _e[−]_[2] _,_ 1 _e[−]_[3] _,_ 1 _e[−]_[4] _,_ 1 _e[−]_[5] _}_ and the number of meta-test training steps in _{_ 1 _,_ 2 _,_ 5 _,_ 8 _,_ 10 _}_ ; we found the learning rate of 3 _e[−]_[4] and 8 steps to consistently perform the best in all our settings. We’ve also tried it ‘with’ and ‘without’ the standard mean/std normalization of the MNIST dataset; better performance was achieved without such normalization (which is in fact consistent as they do not normalize the Omniglot dataset for their meta-training/testing). Their performance on the 5-task class-incremental setting is somewhat surprising/disappointing (since genenralization from Omniglot to MNIST is typically straightforward, at least, in common noncontinual few-shot learning settings; see, e.g., Munkhdalai & Yu (2017)). At the same time, to the best of our knowledge, OML-trained models have not been tested in such a condition in prior work; from what we observe, the publicly available out-of-the-box model might be overtuned for Omniglot/Mini-ImageNet or the frozen ‘representation network’ is not ideal for genenralization.
|
| 440 |
+
|
| 441 |
+
Unlike any other methods above, our out-of-the-box ACL models (trained on Omniglot and MiniImageNet) do not require any tuning at meta-test time. Nevertheless, we’ve checked the effect of the number of meta-test training examples (5 vs. 15; 15 is the number used using meta-training); we found 15 examples to work better. For the version that is meta-finetuned using the 5-task ACL objective (using only the Omniglot dataset), we use 5 examples for both meta-train and meta-test training.
|
| 442 |
+
|
| 443 |
+
17
|
| 444 |
+
|
open_review/iclr2024_9087.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9087",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Tensor-Train Point Cloud Compression and Efficient Approximate Nearest Neighbor Search",
|
| 6 |
+
"abstract": "Nearest-neighbor search in large vector databases is crucial for various machine learning applications.\n This paper introduces a novel method using **tensor-train** (TT) low-rank tensor decomposition to efficiently represent point clouds and enable fast approximate nearest-neighbor searches.\n We propose a probabilistic interpretation and utilize density estimation losses like Sliced Wasserstein to train TT decompositions, resulting in robust point cloud compression.\n We reveals an inherent hierarchical structure within TT point clouds, facilitating efficient approximate nearest-neighbor searches.\n In our paper, we provide detailed insights into the methodology and conduct comprehensive comparisons with existing methods.\n We demonstrate its effectiveness in various scenarios, including out-of-distribution (OOD) problems and approximate nearest-neighbor (ANN) search tasks.",
|
| 7 |
+
"rebuttal": "Thank you for your insightful comments and constructive feedback. I truly believe that your suggestions will contribute significantly to making this work better!\n\n\n1. Equation 19 estimates the number of points to process during the search without prior knowledge about the distribution of the query vector $q$. Thus, if we are given some query vector and the closest centroid is the $i$-th one with probability $p_i$, then we will process size($i$-th centroid) points with probability $p_i$. Because of that, the estimation is $\\sum_i p_i N_i$.\n2. TT can outperform clustering methods. For example, (G)NO-IMI outperforms KMeans for ANN search as index structure, and we showed that the TT point cloud is able to build a better index structure than (G)NO-IMI. But deeper research on the possibility of using the TT point cloud as a clustering method for other use cases is an important future work direction. \n3. For the sizes of training datasets and TT point clouds used in the paper, training times are quite small and vary by about 10 minutes for the MVTec Ad subsets and 30 minutes for the 10M subset of the Deep1B considered in the paper. We will add comparisons to the main text. Thank you very much for the suggestion!\n\nFirst of all, Thank you for insightful comments and constructive feedback. I truly believe that your suggestions will contribute significantly to making this work better!\n\n\n\n1. Operator reshaping resembles similar operators from the numpy or torch.\nIn Equation 8, we choose $K$ closest first-level centroids. $q$ here is a query vector, and $y_i$ are different first-level centroids. operator K-argmin will choose such $K$ indices $i_1, i_2, …, i_K$, that corresponding vectors $y_{i_1}, …, y_{i_k}$ are closest to $q$ among all $y_i$ and the resulting set of indices is stored in $J_1$. Then, in the [...]\n\nThank you for insightful comments and constructive feedback. I truly believe that your suggestions will contribute significantly to making this work better.\n\nSliced Wasserstein loss alone is good enough to approximately fit the cloud in terms of overall shape, scale, location, and form. So visually, the two-dimensional PCA projections of the training cloud and the approximated cloud are very similar. But it has very poor actual task-dependent quality metrics (like quality of OOD detection or recall for ANN search). That means that Sliced Wasserstein cannot achieve precision on smaller, point-t [...]\n\n1. First of all, thank you for insightful comments and constructive feedback. I truly believe that your suggestions will contribute significantly to making this work better.\n\n The main difference between classical tensor compressions based on Tensor-Train representation and our approach is exactly the independence of the enumeration of samples in the dataset. The standard way of TT application requires constructing the actual compressible tensor, thus fixing a map from the multiindex to the values of the tensor. If a compressible tensor is built explicitly, then this map is an actual multid [...]",
|
| 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": "This paper proposes to utilize tensor-train low-rank tensor decomposition to model point clouds and enable fast approximate nearest-neighbor searches. The paper utilizes Sliced Wasserstein loss to train tensor-train decomposition, and reveals an inherent hierarchical structure for efficient approximate nearest-neighbor searches. The paper further demonstrates the applications on OOD sample detection and approximate nearest neighbor search.\n\nStrengths: The paper demonstrates a tensor-train low-rank tensor decomposition for point clouds, and show its effective applications.\n\nWeaknesses: The paper is hard to follow as commented by all reviewers and the comparison is weak as commented by reviewers.",
|
| 22 |
+
"forum_id": "xw3fStKCwm",
|
| 23 |
+
"primary_area": "general machine learning (i.e., none of the above)",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_ZRyV",
|
| 28 |
+
"review_id": "mDrKKjruNr",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 3,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 1,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 5141,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 560236,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_bPyW",
|
| 44 |
+
"review_id": "hQm5VviisS",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2284,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 581152,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_xaNX",
|
| 60 |
+
"review_id": "crxnuOmMU3",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 1,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3051,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 820637,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_KPPr",
|
| 76 |
+
"review_id": "6Mt8pwOeEs",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 1,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 1739,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1333849,
|
| 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_9087.md
ADDED
|
@@ -0,0 +1,366 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - TENSOR-TRAIN POINT CLOUD COMPRESSION AND EF FICIENT APPROXIMATE NEAREST NEIGHBOR SEARCH
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Nearest-neighbor search in large vector databases is crucial for various machine learning applications. This paper introduces a novel method using **tensor-train** (TT) low-rank tensor decomposition to efficiently represent point clouds and enable fast approximate nearest-neighbor searches. We propose a probabilistic interpretation and utilize density estimation losses like Sliced Wasserstein to train TT decompositions, resulting in robust point cloud compression. We reveals an inherent hierarchical structure within TT point clouds, facilitating efficient approximate nearest-neighbor searches. In our paper, we provide detailed insights into the methodology and conduct comprehensive comparisons with existing methods. We demonstrate its effectiveness in various scenarios, including out-of-distribution (OOD) problems and approximate nearest-neighbor (ANN) search tasks.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Nearest-neighbour search in large vector databases (clouds of high-dimensional points) constitutes a fundamental component in numerous computer science applications, like local or global image matching, semantic search, out-of-distribution and anomaly detection, among others.
|
| 14 |
+
|
| 15 |
+
In this paper, we propose to use _tensor-train_ (TT) Oseledets (2011) low-rank tensor decomposition to represent point clouds and to facilitate fast approximate nearest-neighbour search. The TT decomposition method has gained prominence in deep learning, primarily to compress large tensors of neural network parameters. When representing point clouds as matrices, we artificially order vectors and thus direct application of TT to compress this matrix with standard tensor approximation algorithms (such as TT-SVD Oseledets (2011); Cichocki et al. (2016), TT-cross approximation Oseledets & Tyrtyshnikov (2010) or ALS Holtz et al. (2012)) would result in a very poor quality. To address this issue, we propose probabilistic interpretation of the point cloud. Specifically, we suggest training TT to compress point cloud using loss functions from density estimation, notably Sliced Wateriness loss, through standard gradient descent method: Section 2.
|
| 16 |
+
|
| 17 |
+
Moreover, we observe the ability of the TT point cloud to implicitly contain inner hierarchical structure of points: we can consider it as a hierarchical KMeans clusterization and TT format allows fast computation of centroids of different levels. This observation allows us to build a highly efficient approximate nearest-neighbors search algorithm on top of the compressed TT point cloud: Section 2.
|
| 18 |
+
|
| 19 |
+
Due to the nature of the proposed method, points inside compressed TT point cloud do not have a direct correspondence with points in original point cloud. However, in out-of-distribution (OOD) detection methods that use distance to the normal point cloud as a score, this is not a problem. The state-of-the-art method that builds upon this methodology is PatchCore Roth et al. (2022). Patchcore utilizes greedy coreset subsampling to reduce redundancy in the point cloud and required storage memory. We demonstrate how to use TT point cloud compression in this setting in Section 2 and show that our method can significantly outperform coreset-based point cloud subsampling in Sections 2 and 4.2.
|
| 20 |
+
|
| 21 |
+
For the case of nearest-neighbour search, where the output of the search should be from the original point cloud we suggest to use TT as a search index structure as a replacement for indexes like FAISS Johnson et al. (2017), IMI Babenko & Lempitsky (2015), (G)NO-IMI Babenko & Lempitsky (2016), as detailed in Sections 2 and 4.3.
|
| 22 |
+
|
| 23 |
+
1
|
| 24 |
+
|
| 25 |
+
**==> picture [397 x 129] intentionally omitted <==**
|
| 26 |
+
|
| 27 |
+
Figure 1: Diagram of the TT point cloud in Penrose graphical notation. Each tensor is depicted as a vertex, and each vertex has as many edges as the dimensionality of the corresponding tensor. Two tensors are connected with a common edge if these two tensors are contracted along the corresponding dimension.
|
| 28 |
+
|
| 29 |
+
## 2 METHOD
|
| 30 |
+
|
| 31 |
+
**Point Cloud Tensorization.** In the context of the OOD detection based on normal (in-distribution) points or ANN problems requiring k-nearest-neighbor search, we begin by considering a set of _D_ -dimensional vectors _Y_ = � _**y** i ∈_ R _[D]_[�] _[N] i_ =1[.][It is a natural approach to store this set as a matrix] _**Y** ∈_ R _[N][×][D]_ , such that _**y** i_ corresponds to the _i_ -th row of matrix _**Y**_ .
|
| 32 |
+
|
| 33 |
+
Low-rank tensor methods are wide popular in tensor compression and representation. We chose _tensor-train_ (TT) decomposition due to its efficiency and computational synergies with our method. TT decomposition of a matrix _**Y**_ starts with matrix tensorization, which involves reshaping matrix into a high-dimensional tensor. In our specific case, we factorize rows dimension (samples dimension) of matrix _**Y**_ : _N_ = _N_ 1 _× N_ 2 _× · · · × Nk_ while leaving the columns dimension (features dimension) _D_ unchanged:
|
| 34 |
+
|
| 35 |
+
**==> picture [283 x 11] intentionally omitted <==**
|
| 36 |
+
|
| 37 |
+
Low-rank decomposition of tensor _**Y**_ reshaped is parameterized by _k_ 3-dimensional tensors, referred to as tensor-train cores. The first core, _**G**_ 1 _∈_ R _[D][×][N]_[1] _[×][r]_[1] , factorizes out feature dimension _D_ and the first sample dimension _N_ 1. The remaining _k −_ 1 cores, _**G** i ∈_ R _[r][i][−]_[1] _[×][N][i][×][r][i]_ , separate all remaining sample dimensions _N_ 2 _, · · · , Nk_ :
|
| 38 |
+
|
| 39 |
+
**==> picture [321 x 12] intentionally omitted <==**
|
| 40 |
+
|
| 41 |
+
Here, ( _i_ 1 _, · · · , ik_ ) represents a multiindex of a sample, which replaces the standard index _i_ after reshape. The dimensions _r_ 1 _, · · · , rk_ are known as _tensor-train ranks_ (TT-ranks) and are subject to the constraint that _rk_ = 1. While TT-ranks are hyperparameters and in general can be different, in our work, we take _r_ 1 = _· · ·_ = _rk−_ 1 = _r_ . The entire TT construction is depicted in Fig. 1 using Penrose notation. In the subsequent sections, we denote the matrix obtained as TT with cores _**G**_ = ( _**G**_ 1 _, · · · ,_ _**G** k_ ) as _**Y**_ TT( _**G**_ ) or simply _**Y**_ TT.
|
| 42 |
+
|
| 43 |
+
**OOD Detection with TT Point Cloud.** TT point cloud compression is well-suited for OOD detection methods that determine the in-distribution or out-of-distribution status of a query point based on its distance to the nearest neighbor in the normal point cloud (a databank of in-distribution samples). That means, that if the normal point cloud originates from some unknown probability distribution _p_ true, then replacing it with another point cloud that comes from the same (or very close) distribution will not degrade the quality of OOD detection. Therefore, replacing the normal point cloud with TT-compressed point cloud in this setting is straightforward. In comparison to standard techniques where the normal cloud is simply subsampled, either randomly or using methods like coresets, memory gain is achieved due to a more parameter-efficient point cloud representation.
|
| 44 |
+
|
| 45 |
+
**Approximate Nearest-Neighbour Search.** TT-point clouds cannot be directly applied to the approximate nearest-neighbor search (ANN) problem, as the points contained within them do not
|
| 46 |
+
|
| 47 |
+
2
|
| 48 |
+
|
| 49 |
+
have a direct correspondence with the original vectors. Instead, they are “resampled“ from an approximation of the unknown underlying distribution _p_ true. To efficiently address the ANN problem, many approaches first construct an _index_ structure on top of the vector database. These index structures serve as sparsifications with a significantly lower number of vectors. All vectors from the database are organized into buckets corresponding to the nearest point from the index structure. For each query vector, one must first find the _K_ nearest neighbors from the index structure and then perform an exhaustive search within their respective buckets.
|
| 50 |
+
|
| 51 |
+
We propose adapting this approach and using TT-compressed point clouds as an index structure. This approach allows for a much larger in-memory index with better coverage of the vector database. Consequently, this results in more evenly distributed bucket sizes, fewer empty buckets, and overall improved search performance.
|
| 52 |
+
|
| 53 |
+
One crucial component for this approach to work efficiently is the ability to perform ANN search within the index itself. We demonstrate how this can be achieved for TT point clouds through the utilization of a hierarchical structure implicitly encompassed within in the following section.
|
| 54 |
+
|
| 55 |
+
**Hierarchical Structure.** Each row index of the matrix _**Y**_ TT corresponds to some multiindex ( _i_ 1 _, · · · , ik_ ) of the tensor _**Y**_ TT. The TT structure enables rapid computation of marginalization along a suffix of indices in the multiindex. Let’s define the mean vector of tensor _**Y**_ TT along some suffix of indices ( _ia_ +1 _, · · · , ik_ ) as _**y** i_[(] 1 _[a] ,_[)] _··· ,ia_[:]
|
| 56 |
+
|
| 57 |
+
**==> picture [303 x 28] intentionally omitted <==**
|
| 58 |
+
|
| 59 |
+
The TT representation allows for the efficient evaluation of such sums. Specifically, marginalization along the last index _ik_ has its own TT structure:
|
| 60 |
+
|
| 61 |
+
**==> picture [299 x 52] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
Note that the last two cores, _**G** k−_ 1 and _**G** k_ , have been contracted together to form a new core, _**G**_[�] _k−_ 1. All other cores remain unchanged. The process of marginalization over a suffix of any length can be obtained by induction:
|
| 64 |
+
|
| 65 |
+
**==> picture [284 x 52] intentionally omitted <==**
|
| 66 |
+
|
| 67 |
+
These marginals essentially serve as centroids of clusters, where each cluster is defined by fixing some prefix of indices in _**Y**_ TT and together organizes into a hierarchical clusterization structure. It is important to note that there are no guarantees that this clusterization is inherently “good“, meaning that each cluster is well-localized and does not intersect with other clusters, however, if it is, efficient approximate nearest-neighbor search can be employed. We consider a beam search-like greedy search approach. For a query vector **q** , we select the _K_ nearest neighbors from among the cluster centroids at the top level:
|
| 68 |
+
|
| 69 |
+
**==> picture [284 x 22] intentionally omitted <==**
|
| 70 |
+
|
| 71 |
+
Then, in an iterative fashion, we continue to descend in the hierarchical clusterization structure while maintaining a set of the _K_ best candidates for the current centroids level.
|
| 72 |
+
|
| 73 |
+
**==> picture [300 x 29] intentionally omitted <==**
|
| 74 |
+
|
| 75 |
+
**==> picture [205 x 10] intentionally omitted <==**
|
| 76 |
+
|
| 77 |
+
**==> picture [336 x 30] intentionally omitted <==**
|
| 78 |
+
|
| 79 |
+
3
|
| 80 |
+
|
| 81 |
+
The resulting approximate nearest-neighbor is the best candidate among _Jk_ . Both operations, marginalization, and indexing, required for the fast ANN algorithm, can be efficiently implemented for TT in such a way that on each iteration of Eq. (9), the algorithm works with only one core of TT representation. The complete algorithm is described in detail with a code listing in Appendix A.
|
| 82 |
+
|
| 83 |
+
## 3 LOSSES AND OPTIMIZATION
|
| 84 |
+
|
| 85 |
+
**Probabilistic Interpretation.** While there exist efficient methods to obtain a TT approximation with a given rank for a given matrix (such as SVD-based methods Oseledets (2011) and optimizationbased methods Oseledets & Tyrtyshnikov (2010); Holtz et al. (2012)), the immediate application of such methods to the matrix _**Y**_ can yield variable results. This is because rearranging the rows of matrix _**Y**_ can influence its TT-rank. This implies that for some row orders (enumerations of vectors in the set _Y_ ), a more accurate compression of the matrix _**Y**_ into TT format with a low rank may be achieved, while for other row orders, compression can be highly inaccurate. Notably, the order of rows has no impact on similarity or nearest-neighbor search in the database. To address the sensitivity of TT approximation to row ordering in the matrix _**Y**_ , we propose a probabilistic interpretation. We consider matrix _**Y**_ (set _Y_ ) as the first point cloud, with elements drawn from a probability distribution _p_ _**Y**_ . The vectors, encoded in TT format within the matrix _**Y**_ TT, represent the second point cloud, defining a discrete finite distribution _p_ _**Y**_ TT . Distribution _p_ _**Y**_ TT depends on parameters of TT decomposition – cores ( _**G**_ 1 _, · · · ,_ _**G** k_ ). To closely approximate the distribution _p_ _**Y**_ , we adapt density estimation losses and optimize them using standard SGD methods. In our work, we employ a combination of Sliced Wasserstein Loss Deshpande et al. (2018) and Nearest Neighbor Distance Loss Hennig & Latecki (2003).
|
| 86 |
+
|
| 87 |
+
**Sliced Wasserstein Loss.** In our work, we utilize the Sliced Wasserstein Loss to train TT parameters. The Wasserstein Distance, defined between two probability distributions, exhibits many appealing properties, making it suitable for scenarios involving discrete distributions and distributions with different supports, which is particularly important in our case. However, for the general _D_ -dimensional case, analytical computation of Wasserstein Distance becomes intractable. In the one-dimensional case, Wasserstein Distance has a simple closed-form solution and can be easily calculated for distributions defined by samples:
|
| 88 |
+
|
| 89 |
+
**==> picture [283 x 22] intentionally omitted <==**
|
| 90 |
+
|
| 91 |
+
where _ik_ and _jk_ are the indices that sort the sequences _xi_ and _yj_ , correspondingly:
|
| 92 |
+
|
| 93 |
+
**==> picture [255 x 11] intentionally omitted <==**
|
| 94 |
+
|
| 95 |
+
The Sliced Wasserstein Loss is Wasserstein Distance calculated for random one-dimensional projection of the data. This approach combines the best from both worlds by providing a tractable distance measure for high-dimensional distributions.
|
| 96 |
+
|
| 97 |
+
**==> picture [339 x 19] intentionally omitted <==**
|
| 98 |
+
|
| 99 |
+
Here, _{_ _**x** i}[N] i_ =1[and] _[ {]_ _**[y]**[j][}][N] j_ =1[are samples from two distributions.] _[S][D][−]_[1][ denotes a unit sphere in the] D-dimensional space, and _U_ [ _S[D][−]_[1] ] is a uniform distribution on this unit sphere. During training, we estimate the expectation on the right-hand side of Eq. (14) using Monte Carlo estimation.
|
| 100 |
+
|
| 101 |
+
SW loss works very effectively in the initial optimization stages, capturing the overall similarity in the shapes of two point clouds and achieving strong alignment at a macroscopic level. However, it may struggle to establish precise point-to-point correspondence between the two point clouds at smaller scales. For this reason, we use it in combination with another loss: Nearest Neighbor Distance loss.
|
| 102 |
+
|
| 103 |
+
**Nearest Neighbour Distance** loss is a classical loss commonly used in applications like KMeans clustering. In this loss, for each point in the first cloud, we find its nearest neighbor in the second cloud and then summat such distances:
|
| 104 |
+
|
| 105 |
+
**==> picture [272 x 30] intentionally omitted <==**
|
| 106 |
+
|
| 107 |
+
4
|
| 108 |
+
|
| 109 |
+
In this way, each point in _**Y**_ TT moves towards the centroid cluster of its nearest neighbors in _**Y**_ . Since the point cloud _**Y**_ can be very large, making the computation of _LNN_ computationally intensive, we use an unbiased estimation of it by considering only a random subset of _**Y**_ (indexed as _i_ in Eq. (15)). We do not subsample _**Y**_ TT (indexed as _j_ in Eq. (15)).
|
| 110 |
+
|
| 111 |
+
Points in _**Y**_ TT that do not have any assigned nearest neighbors (corresponding clusters are empty) are not be affected by the loss. While these points are covered by the Sliced Wasserstein loss, we can consider the inverse situation: for each point in _**Y**_ TT, we find its nearest neighbor among _**Y**_ and calculate the average of such distances:
|
| 112 |
+
|
| 113 |
+
**==> picture [270 x 32] intentionally omitted <==**
|
| 114 |
+
|
| 115 |
+
and take linear combination of this two losses with some coefficient _α_ :
|
| 116 |
+
|
| 117 |
+
**==> picture [264 x 13] intentionally omitted <==**
|
| 118 |
+
|
| 119 |
+
## 4 EXPERIMENTS
|
| 120 |
+
|
| 121 |
+
## 4.1 TOY EXAMPLES
|
| 122 |
+
|
| 123 |
+
To provide some intuition about TT point clouds, consider the toy examples shown in Fig. 2. Each toy point cloud consists of 8192 vectors, and we compress it with a TT representation consisting of two cores with sample dimensions 64 and 128 and a TT-rank of 8. For each toy point cloud, you can observe the centroids of the first and second levels (see Eq. (3)) in the first and second columns, respectively. In the third column of Fig. 2, you can see the probability density of the original point cloud, and in the fourth column, the probability density of the TT point cloud. The trained vectors reconstruct the original point clouds very well, capturing all important details. They are able to approximate both one- and two-dimensional manifolds: the first point cloud consists of a one-dimensional semicircle, the second point cloud consists of 16 one-dimensional circles arranged in a two-dimensional grid, and the third point cloud consists of three sub-clouds: one with a uniform distribution, one with a normal distribution, and one with a one-dimensional curve featuring a non-uniform distribution (see details in Appendix B).
|
| 124 |
+
|
| 125 |
+
## 4.2 MVTEC DATASET
|
| 126 |
+
|
| 127 |
+
MVTec AD Bergmann et al. (2019) is an anomaly detection benchmark that contains 15 different datasets. Each contains training set of anomaly-free images and a test set that contains both images with and without anomalies. Each anomaly has a mask, so per-pixel metrics can be evaluated.
|
| 128 |
+
|
| 129 |
+
To reduce the memory consumption of the feature databank, the PatchCore method employs coreset subsampling, which greedily solves the following optimization problem over subsampled indices _I_ = _{ik}[N] k_ =1 _[ ′]_[for databank] _[ Y]_[=] _[ {]_ _**[y]**[i][}]_[:]
|
| 130 |
+
|
| 131 |
+
**==> picture [130 x 25] intentionally omitted <==**
|
| 132 |
+
|
| 133 |
+
Here, _N[′]_ = _cN_ , where _N_ is the size of the original feature databank, and _c_ is a subsampling factor. Instead of using coreset subsampling, we compress the point cloud _Y_ into a TT Point Cloud _**Y**_ TT. We use TT representation with two cores: the first one of size 1024 _× N_ 1 _× r_ and the second of size _r × N_ 2. In all our experiments, for a given subsample factor _c_ , we choose hyperparameters for the TT point cloud, namely the number of sample factors _N_ 1 and _N_ 2 and the rank _r_ , so that the total number of parameters in the TT (1024 _N_ 1 _r_ + _N_ 2 _r_ ) equals to the total parameters in the coreset-subsampled feature databank (1024 _cN_ ). We choose the same hyperparameters for all MVTec datasets to avoid possible hyperparameter overfitting and to demonstrate the stability of our method, which can be highly desirable in real-world use cases where the method may be applied to related but previously unseen domains.
|
| 134 |
+
|
| 135 |
+
The standard comparison metrics include pixel-level and image-level AUROC. While we report these values, we found that they are not sufficiently representative. For most of the subdatasets in the
|
| 136 |
+
|
| 137 |
+
5
|
| 138 |
+
|
| 139 |
+
**==> picture [396 x 254] intentionally omitted <==**
|
| 140 |
+
|
| 141 |
+
Figure 2: Three toy point clouds (blue points) consisting of 8192 vectors each, and its compressed TT-point cloud approximation (orange points).
|
| 142 |
+
|
| 143 |
+
MVTec benchmark, the AUROC values are extremely close to 1, often exceeding 0.99. Instead, we also report the area under the precision-recall curve and a specific value, _P_ @ _R_ 90, which represents precision when recall is 90%. This metric is much more challenging for the MVTec benchmark, as some datasets show _P_ @ _R_ 90 values as low as 0.19 for the full (not subsampled) PatchCore feature databank.
|
| 144 |
+
|
| 145 |
+
In Table 1, we present results for 1% subsampling (corresponding to a 100x compression ratio) and 0.1% subsampling (corresponding to a 1000x compression ratio). All pixel-level metrics heavily favor TT Point Cloud, and as the compression ratio increases, the gap only widens. Image-level metrics are quite competitive with coreset subsampling, with TT Point Cloud showing a slight advantage.
|
| 146 |
+
|
| 147 |
+
## 4.3 APPROXIMATE NEAREST NEIGHBORS
|
| 148 |
+
|
| 149 |
+
ANN is a very well-developed and competitive field, with highly optimized solutions, both algorithmically and in terms of implementation. There are many state-of-the-art libraries and frameworks like FAISS git (a) or NGT git (b), which have undergone extensive low-level optimizations. We acknowledge that it is challenging to compete with such high-end solutions. Instead, we propose a proof-of-concept solution for using TT point cloud as an index structure. In our evaluation, we focus on indirect characteristics such as the quality of dataset coverage, rather than providing actual queries-per-second values.
|
| 150 |
+
|
| 151 |
+
We conduct our experiments on the Deep1B Babenko & Lempitsky (2016) – dataset, that contains one billion 96-dimensional vectors, that was produced as an outputs from last fully-connected layer of ImageNet-pretrained GoogLeNet Szegedy et al. (2015) model, then compressed by PCA to 96 dimensions and _l_ 2-normalized. In our experiments we use only subset of size 10 _M_ vectors.
|
| 152 |
+
|
| 153 |
+
We build proof-of-concept ANN system based on TT point cloud, where we use TT point cloud as an indexing tree structure, which plays a role of first-stage database filtration. During training step, each vector in the database is distributed to the bucket of the closest to it point from TT point cloud. During inference, for the query vector **q** we first search for _K_ nearest points from TT point cloud, using efficient hierarchical search technique, described in Section 2. Then look for nearest neighbour only inside short-list, that consists of the corresponding buckets.
|
| 154 |
+
|
| 155 |
+
6
|
| 156 |
+
|
| 157 |
+
## (a) _×_ 100 compression ratio.
|
| 158 |
+
|
| 159 |
+
|dataset|pixel p@r=90<br>ttm<br>pixel p@r=90<br>coreset|pixel AUROC<br>ttm<br>pixel AUROC<br>coreset|pixel AUPRC<br>ttm<br>pixel AUPRC<br>coreset|image<br>p@r=90<br>ttm<br>image<br>p@r=90<br>coreset|image<br>AU-<br>ROC ttm<br>image<br>AU-<br>ROC coreset|image<br>AUPRC<br>ttm<br>image<br>AUPRC<br>coreset|
|
| 160 |
+
|---|---|---|---|---|---|---|
|
| 161 |
+
|Bottle<br>Cable<br>Capsule<br>Carpet<br>Grid<br>Hazelnut<br>Leather<br>Metal Nut<br>Pill<br>Screw<br>Tile<br>Toothbrush<br>Transistor<br>Wood<br>Zipper<br>Mean|**_0.780_**<br>0.777<br>**_0.545_**<br>0.396<br>**_0.366_**<br>0.339<br>**_0.496_**<br>0.474<br>**_0.398_**<br>0.294<br>**_0.634_**<br>0.610<br>0.478<br>**_0.479_**<br>**_0.809_**<br>0.710<br>**_0.365_**<br>0.265<br>**_0.155_**<br>0.075<br>**_0.645_**<br>0.641<br>**_0.541_**<br>0.459<br>**_0.260_**<br>0.135<br>**_0.386_**<br>0.367<br>**_0.520_**<br>0.512<br>**_0.492_**<br>0.435|**_0.990_**<br>0.988<br>**_0.986_**<br>0.971<br>**_0.988_**<br>0.979<br>**_0.986_**<br>0.985<br>**_0.986_**<br>0.976<br>**_0.989_**<br>0.987<br>**_0.995_**<br>0.995<br>**_0.981_**<br>0.965<br>**_0.967_**<br>0.952<br>**_0.984_**<br>0.961<br>**_0.972_**<br>0.970<br>**_0.991_**<br>0.981<br>**_0.949_**<br>0.896<br>**_0.956_**<br>0.953<br>**_0.987_**<br>0.985<br>**_0.980_**<br>0.970|**_0.904_**<br>0.901<br>**_0.830_**<br>0.792<br>**_0.661_**<br>0.646<br>**_0.805_**<br>0.802<br>**_0.757_**<br>0.734<br>**_0.843_**<br>0.834<br>**_0.735_**<br>0.734<br>**_0.929_**<br>0.909<br>**_0.810_**<br>0.792<br>0.562<br>**_0.574_**<br>0.801<br>**_0.810_**<br>**_0.812_**<br>0.785<br>**_0.673_**<br>0.630<br>**_0.706_**<br>0.706<br>0.784<br>**_0.786_**<br>**_0.774_**<br>0.762|**_1.000_**<br>**_1.000_**<br>**_0.993_**<br>0.991<br>0.993<br>**_0.994_**<br>**_1.000_**<br>0.995<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_0.991_**<br>0.990<br>0.959<br>**_0.963_**<br>**_1.000_**<br>**_1.000_**<br>**_0.923_**<br>0.908<br>**_1.000_**<br>0.997<br>**_1.000_**<br>0.999<br>**_1.000_**<br>0.996<br>**_0.991_**<br>0.989|**_1.000_**<br>**_1.000_**<br>**_0.995_**<br>0.994<br>**_0.990_**<br>0.988<br>**_0.982_**<br>0.981<br>0.987<br>**_0.990_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_0.999_**<br>0.998<br>0.975<br>**_0.975_**<br>0.952<br>**_0.962_**<br>**_1.000_**<br>1.000<br>**_0.929_**<br>0.902<br>0.993<br>**_0.994_**<br>0.988<br>**_0.989_**<br>**_0.996_**<br>0.993<br>**_0.986_**<br>0.984|**_1.000_**<br>**_1.000_**<br>**_0.997_**<br>0.996<br>**_0.998_**<br>0.998<br>**_0.995_**<br>0.994<br>0.996<br>**_0.997_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>1.000<br>0.996<br>**_0.996_**<br>0.979<br>**_0.985_**<br>**_1.000_**<br>1.000<br>**_0.967_**<br>0.953<br>0.991<br>**_0.992_**<br>0.996<br>**_0.997_**<br>**_0.999_**<br>0.998<br>**_0.994_**<br>0.994|
|
| 162 |
+
|(b)_×_1000compression ratio.|||||||
|
| 163 |
+
|dataset|pixel p@r=90<br>ttm<br>pixel p@r=90<br>coreset|pixel AUROC<br>ttm<br>pixel AUROC<br>coreset|pixel AUPRC<br>ttm<br>pixel AUPRC<br>coreset|image<br>p@r=90<br>ttm<br>image<br>p@r=90<br>coreset|image<br>AU-<br>ROC ttm<br>image<br>AU-<br>ROC coreset|image<br>AUPRC<br>ttm<br>image<br>AUPRC<br>coreset|
|
| 164 |
+
|Bottle<br>Cable<br>Capsule<br>Carpet<br>Grid<br>Hazelnut<br>Leather<br>Metal Nut<br>Pill<br>Screw<br>Tile<br>Toothbrush<br>Transistor<br>Wood<br>Zipper<br>Mean|**_0.755_**<br>0.627<br>**_0.375_**<br>0.151<br>**_0.280_**<br>0.065<br>**_0.478_**<br>0.428<br>**_0.259_**<br>0.092<br>**_0.572_**<br>0.415<br>**_0.489_**<br>0.468<br>**_0.644_**<br>0.400<br>**_0.314_**<br>0.136<br>**_0.064_**<br>0.028<br>**_0.635_**<br>0.583<br>**_0.350_**<br>0.165<br>**_0.156_**<br>0.083<br>**_0.390_**<br>0.335<br>**_0.457_**<br>0.310<br>**_0.415_**<br>0.286|**_0.989_**<br>0.976<br>**_0.976_**<br>0.925<br>**_0.984_**<br>0.927<br>**_0.986_**<br>0.981<br>**_0.978_**<br>0.938<br>**_0.986_**<br>0.979<br>**_0.995_**<br>0.994<br>**_0.970_**<br>0.933<br>**_0.962_**<br>0.920<br>**_0.962_**<br>0.913<br>**_0.970_**<br>0.962<br>**_0.983_**<br>0.956<br>**_0.903_**<br>0.805<br>**_0.957_**<br>0.948<br>**_0.984_**<br>0.968<br>**_0.972_**<br>0.942|**_0.896_**<br>0.864<br>**_0.769_**<br>0.641<br>**_0.618_**<br>0.538<br>**_0.805_**<br>0.792<br>**_0.712_**<br>0.625<br>**_0.830_**<br>0.786<br>**_0.751_**<br>0.723<br>**_0.900_**<br>0.818<br>**_0.785_**<br>0.708<br>**_0.298_**<br>0.252<br>**_0.797_**<br>0.792<br>**_0.777_**<br>0.661<br>**_0.587_**<br>0.495<br>**_0.709_**<br>0.692<br>**_0.751_**<br>0.734<br>**_0.732_**<br>0.675|**_1.000_**<br>**_1.000_**<br>**_0.941_**<br>0.913<br>0.969<br>**_0.973_**<br>**_0.998_**<br>0.991<br>0.970<br>**_0.981_**<br>**_1.000_**<br>0.998<br>**_1.000_**<br>**_1.000_**<br>**_1.000_**<br>0.996<br>**_0.976_**<br>0.965<br>0.792<br>**_0.800_**<br>**_1.000_**<br>**_1.000_**<br>**_0.902_**<br>0.792<br>**_0.977_**<br>0.961<br>**_1.000_**<br>**_1.000_**<br>0.984<br>**_0.999_**<br>**_0.967_**<br>0.958|**_1.000_**<br>1.000<br>**_0.969_**<br>0.955<br>0.956<br>**_0.958_**<br>**_0.981_**<br>0.978<br>**_0.976_**<br>0.970<br>**_1.000_**<br>0.999<br>**_1.000_**<br>1.000<br>**_0.992_**<br>0.976<br>**_0.959_**<br>0.946<br>0.735<br>**_0.774_**<br>**_1.000_**<br>0.999<br>**_0.918_**<br>0.816<br>0.956<br>**_0.969_**<br>0.989<br>**_0.990_**<br>0.986<br>**_0.993_**<br>**_0.961_**<br>0.955|**_1.000_**<br>1.000<br>**_0.982_**<br>0.975<br>0.990<br>**_0.992_**<br>**_0.995_**<br>0.994<br>**_0.992_**<br>0.990<br>**_1.000_**<br>1.000<br>**_1.000_**<br>1.000<br>**_0.998_**<br>0.995<br>**_0.993_**<br>0.990<br>0.894<br>**_0.916_**<br>**_1.000_**<br>1.000<br>**_0.964_**<br>0.931<br>0.965<br>**_0.971_**<br>0.997<br>**_0.997_**<br>0.996<br>**_0.998_**<br>**_0.984_**<br>0.983|
|
| 165 |
+
|
| 166 |
+
Table 1: Metrics for the MVTec AD benchmark comparing TT point cloud-based feature databank subsampling and coreset-based subsampling for Patchcore feature vectors. AUROC represents the area under the ROC curve, AUPRC is the area under the precision-recall curve, and _P_ @ _R_ 90 is the precision at recall = 90%. Values are averaged across 16 runs.
|
| 167 |
+
|
| 168 |
+
We compare with similar technique (G)NO-IMI Babenko & Lempitsky (2016). It uses the same idea with two-level indexing tree structure of the form
|
| 169 |
+
|
| 170 |
+
**==> picture [232 x 12] intentionally omitted <==**
|
| 171 |
+
|
| 172 |
+
where **S** _i_ and **T** _j_ represent two sets of vectors, first and second-level, respectively. _α_ is an additional weight matrix that is used only in GNO-IMI modification (for NO-IMI _αi,j_ = 1 _∀i, j_ ), that adds more flexibility for the construction with the cost of more memory. In the greedy search approach of GNO-IMI, the algorithm initially seeks the top _K_ candidates among **S** _i_ and subsequently explores the best _K_ candidates among **S** _i_ + _αi,j_ **T** _j_ for the indices _i_ determined in the preceding step. In their work Babenko & Lempitsky (2016), it is suggested to utilize sets _{_ **S** _i}_ and _{_ **T** _j}_ of equal size 2[14] . However, given that we are working with a subset of the Deep1B dataset, we have adjusted this quantity to 2[10] . This adaptation results in a total of 2[20] vectors in the index structure, encompassing 2 _·_ 96 _·_ 2[10] + 2[20] = 1 _._ 2 million parameters.
|
| 173 |
+
|
| 174 |
+
We compare this structure with a TT point cloud containing three cores, with sample dimensions of 64, 64, and 256, resulting in the same number of buckets. To match the memory consumption of the TT point cloud and GNO-IMI, we can use a TT-rank as large as 96.
|
| 175 |
+
|
| 176 |
+
The complexity of ANN search with an indexing structure consists of two factors. First, how fast and efficiently we can search for bucket candidates, and second, how good these buckets are. Even if the indexing structure somehow manages to store many vectors using a small amount of memory, if most of the corresponding buckets are empty and only a few of them contain the full vector database, then the second stage of the search will still be required to exhaustively search through a large proportion of the database. If the indexing structure has _M_ buckets, with _i_ -th bucket of size _Ni_ , then the minimum number of points that need to be searched to find the nearest neighbor of vector **q** is given by:
|
| 177 |
+
|
| 178 |
+
**==> picture [219 x 30] intentionally omitted <==**
|
| 179 |
+
|
| 180 |
+
where _pi_ is the probability that the nearest neighbor of **q** is among the _i_ -th bucket. We can estimate _pi_ based on the size of the _i_ -th bucket itself as _[N] N[i]_[, where] _[ N]_[=][ �] _[M] i_ =1 _[N][i]_[is the total number of vectors]
|
| 181 |
+
|
| 182 |
+
7
|
| 183 |
+
|
| 184 |
+
**==> picture [382 x 235] intentionally omitted <==**
|
| 185 |
+
|
| 186 |
+
**----- Start of picture text -----**<br>
|
| 187 |
+
×10 [5]<br>3.0<br>1.0 0.06 GNO-IMI<br>2.52.0 GNO-IMITT point cloud 0.80.6 GNO-IMITT-rank = 96 0.040.02 TT-rank = 96TT-rank = 80TT-rank = 64TT-rank = 48TT-rank = 32TT-rank = 16<br>1.5 0.4 TT-rank = 80<br>TT-rank = 64<br>1.0 0.2 TT-rank = 48 0.00<br>TT-rank = 32<br>0.5 TT-rank = 16<br>16 32 48 64 80 96 0.0<br>9% 21% 36% 53% 74% 96% 0 5 10 15 20 2.5 5.0 7.5 10.0 12.5 15.0<br>TT-rank log2 R log2 R<br>(a) number of empty buckets (b) recall curves (c) ∆-recall curves<br>90 GNO-IMI<br>TT point cloud<br>80 0.5 0.5<br>70<br>60<br>50<br>16 32 48 64 80 96 0.5 0.5<br>9% 21% 36% 53% 74% 96%<br>TT-rank 0.5 0.5 0.5 0.5<br>(d) expected bucket sizes (e) original point cloud (f) TT-point cloud<br>R@ R@<br>Empty Buckets Recall Recall<br>Expected Buckets Size<br>**----- End of picture text -----**<br>
|
| 188 |
+
|
| 189 |
+
Figure 3: (a, b, c, d): Comparison of different characteristics of the index search structure for GNO-IMI and TT-point cloud with varying TT-ranks. On the x-axis, we plot TT-rank (upper value) and the fraction of parameters of the TT point cloud relative to the number of parameters in GNO-IMI (bottom value). (e, f): Two-dimensional PCA projections of the original point cloud (e) and TT-point cloud (f).
|
| 190 |
+
|
| 191 |
+
in the database. Then, the expected number of points to be searched through is:
|
| 192 |
+
|
| 193 |
+
**==> picture [266 x 31] intentionally omitted <==**
|
| 194 |
+
|
| 195 |
+
On Figs. 3e and 3f you can see two-dimensional PCA projections of the original point cloud (which has shape 10M _×_ 96) and TT-compressed point cloud (representing point cloud of size 1 _M ×_ 96 but taking only 671K parameters).
|
| 196 |
+
|
| 197 |
+
Fig. 3d compares dependence of Eq. (20) and Fig. 3a compares number of empty buckets for GNOIMI and TT with different ranks. TT point cloud has significantly less empty buckets: almost _×_ 6 less for all ranks. Expected bucket size Eq. (20) is lower already with TT-rank = 32 (only 21% of GNO-IMI size).
|
| 198 |
+
|
| 199 |
+
Fig. 3b illustrates _Recall_ @ _R_ for different values of _R_ – rate of queries for which true nearest neighbor is present in a short-list of length _R_ . As the curves are quite similar, we built a plot of curve difference with GNO-IMI as a baseline: we plot original _Recall_ @ _R_ curve minus GNO-IMI _Recall_ @ _R_ curve on Fig. 3c. All TT-ranks starts with quite high advantage over GNO-IMI and the larger the rank – the longer and bigger this advantage continues. Although at the end for recalls very close to one there is a small period of time when GNO-IMI is better.
|
| 200 |
+
|
| 201 |
+
## 5 RELATED WORK
|
| 202 |
+
|
| 203 |
+
TT Point Cloud is built upon tensor-train low-rank decomposition, which has a rich history of applications in Machine Learning and Deep Learning. Tensor-Train Matrix decomposition, a specialized form of TT decomposition, shares common principles with our decomposition approach. It has been employed to compress large weight matrices of linear classification layers in fully-convolutional networks Novikov et al. (2015), vocabulary embedding layers in language models Hrinchuk et al. (2020), and linear layers in transformer-based networks Chekalina et al. (2023) and others Phan
|
| 204 |
+
|
| 205 |
+
8
|
| 206 |
+
|
| 207 |
+
et al. (2020). TT decomposition has demonstrated its efficiency in parameterizing high-dimensional distributions Novikov et al. (2021); Kuznetsov et al. (2019).
|
| 208 |
+
|
| 209 |
+
Coreset subsampling Agarwal et al. is a well-established technique with applications in various contexts. In essence, a coreset is a subset _S ⊂A_ that allows for a good approximation of the solution to a problem over the entire set _A_ .
|
| 210 |
+
|
| 211 |
+
Patchcore Roth et al. (2022) extracts pixel-level features from a set of normal images and make a decision whether a query point belongs to the in-distribution or out-of-distribution class based on the distance to the nearest neighbour among this databank. To reduce memory consumption of the databank and speed up NN search, Patchcore utilizes a specific type of coreset that is particularly well-suited for optimizing nearest-neighbor search performance Sener & Savarese (2018). Other methods that use pixel-level feature databank are SPADE Cohen & Hoshen (2021) and PaDiM Defard et al. (2020). But they do not use the full set of vectors during inference, as SPADE incorporates a distinct initial image-level filtering procedure to operate with relatively small sets of feature vectors, and PaDiM learns a parametric probabilistic representation of the normal class. Notably, Patchcore exhibits significant improvements over similar methods, underscoring the effectiveness of using the full feature databank and the importance of its efficient representation.
|
| 212 |
+
|
| 213 |
+
ANN search is a crucial problem with various solutions, employing different techniques, including locally-sensitive hashing Jafari et al. (2021), graph-based approaches Wang et al. (2021). IVFADC Jégou et al. (2011) constructs a one-level indexing tree structure, effectively performing k-means clustering. IMI Babenko & Lempitsky (2015) utilizes product quantization with two components instead of vector quantization for the bucket centroids, resulting in an index of quadratic size when compared to the IVFADC approach. (G)NO-IMI Babenko & Lempitsky (2016) builds upon this concept and develops a two-level indexing structure with the capability of approximate nearest neighbor search within it, achieving a significantly better balance between retrieval speed and recall.
|
| 214 |
+
|
| 215 |
+
## 6 LIMITATIONS
|
| 216 |
+
|
| 217 |
+
While TT Point Cloud demonstrates an exellent ability to represent point clouds, one notable limitation of this approach is its inability to establish a direct one-to-one correspondence between points from the original point cloud and points from the TT point cloud. This constraint restricts its applicability to situations where the primary focus is on the underlying distribution rather than the original point cloud itself. For instance, TT Point Cloud is highly suitable for solving out-of-distribution (OOD) problems based on feature databanks and cannot be employed directly for nearest-neighbor search tasks. Nevertheless, we have shown how TT Point Cloud can still be utilized effectively in such scenarios as a first-stage search index structure.
|
| 218 |
+
|
| 219 |
+
## 7 CONCLUSION
|
| 220 |
+
|
| 221 |
+
The use of large vector databases in modern machine learning raises the question of their efficient storage and fast vector retrieval. We propose using tensor-train low-rank tensor decomposition to represent large point clouds with a small number of parameters. We introduce a probabilistic interpretation of point cloud approximation to achieve a compression method that is invariant to vector reordering in point cloud. Minimization of Sliced Wasserstein Eq. (14) and Nearest-Neighbour Distance Loss Eq. (17) allows to interpret points from TT point cloud as a newly generated points, sampled from the same distribution as points in the original point cloud. TT point clouds are particularly suitable for methods interested in the underlying distribution rather than the vectors themselves, such as out-of-distribution detection based on feature databanks. We tested the proposed OOD feature databank compression method and compared it to coreset subsampling on MVTec AD benchmark. In the crucial area of approximate nearest-neighbor search, where TT point clouds cannot be directly applied, we proposed a proof-of-concept solution: using TT Point Cloud as an indexing structure for the initial filtering of a small number of vectors, in which the nearest neighbors can then be searched through by exhaustive search. We demonstrated the advantages of this approach on the Deep1B dataset in comparison to another indexing method, GNO-IMI. All experiments and implementation of the proposed method can be found in github.com:/omitted/for/ anonymity.
|
| 222 |
+
|
| 223 |
+
9
|
| 224 |
+
|
| 225 |
+
## REFERENCES
|
| 226 |
+
|
| 227 |
+
- GitHub - facebookresearch/faiss: A library for efficient similarity search and clustering of dense vectors. — github.com. [URL removed] a. [Accessed 25-09-2023].
|
| 228 |
+
|
| 229 |
+
- GitHub - yahoojapan/NGT: Nearest Neighbor Search with Neighborhood Graph and Tree for Highdimensional Data — github.com. [URL removed] b. [Accessed 25-09-2023].
|
| 230 |
+
|
| 231 |
+
- Pankaj K Agarwal, Sariel Har-Peled, and Kasturi R Varadarajan. Geometric Approximation via Coresets.
|
| 232 |
+
|
| 233 |
+
Artem Babenko and Victor Lempitsky. Efficient Indexing of Billion-Scale Datasets of Deep Descriptors. pp. 2055–2063, 2016. URL [URL removed] 2016/html/Babenko_Efficient_Indexing_of_CVPR_2016_paper.html.
|
| 234 |
+
|
| 235 |
+
- Artem Babenko and Victor S. Lempitsky. The inverted multi-index. _IEEE Trans. Pattern Anal. Mach. Intell._ , 37(6):1247–1260, 2015. doi: 10.1109/TPAMI.2014.2361319. URL https: //doi.org/10.1109/TPAMI.2014.2361319.
|
| 236 |
+
|
| 237 |
+
- Paul Bergmann, Michael Fauser, David Sattlegger, and Carsten Steger. Mvtec AD - A comprehensive real-world dataset for unsupervised anomaly detection. In _IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019_ , pp. 9592–9600. Computer Vision Foundation / IEEE, 2019. doi: 10.1109/CVPR.2019.00982. URL [URL removed] MVTec_AD_--_A_Comprehensive_Real-World_Dataset_for_Unsupervised_ Anomaly_CVPR_2019_paper.html.
|
| 238 |
+
|
| 239 |
+
- Viktoria Chekalina, Georgii S. Novikov, Julia Gusak, Ivan V. Oseledets, and Alexander Panchenko. Efficient GPT model pre-training using tensor train matrix representation. _CoRR_ , abs/2306.02697, 2023. doi: 10.48550/arXiv.2306.02697. URL [URL removed] 2306.02697.
|
| 240 |
+
|
| 241 |
+
- Andrzej Cichocki, Namgil Lee, Ivan V. Oseledets, Anh Huy Phan, Qibin Zhao, and Danilo P. Mandic. Tensor networks for dimensionality reduction and large-scale optimization: Part 1 low-rank tensor decompositions. _Found. Trends Mach. Learn._ , 9(4-5):249–429, 2016. doi: 10.1561/2200000059. URL [URL removed]
|
| 242 |
+
|
| 243 |
+
- Niv Cohen and Yedid Hoshen. Sub-Image Anomaly Detection with Deep Pyramid Correspondences, February 2021. URL [URL removed] arXiv:2005.02357 [cs].
|
| 244 |
+
|
| 245 |
+
- Thomas Defard, Aleksandr Setkov, Angelique Loesch, and Romaric Audigier. PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization, November 2020. URL [URL removed] arXiv:2011.08785 [cs].
|
| 246 |
+
|
| 247 |
+
- Ishan Deshpande, Ziyu Zhang, and Alexander G. Schwing. Generative modeling using the sliced wasserstein distance. In _2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18-22, 2018_ , pp. 3483– 3491. Computer Vision Foundation / IEEE Computer Society, 2018. doi: 10.1109/CVPR. 2018.00367. URL [URL removed] Deshpande_Generative_Modeling_Using_CVPR_2018_paper.html.
|
| 248 |
+
|
| 249 |
+
- Christian Hennig and Longin Jan Latecki. The choice of vantage objects for image retrieval. _Pattern Recognit._ , 36(9):2187–2196, 2003. doi: 10.1016/S0031-3203(02)00326-6. URL [URL removed] org/10.1016/S0031-3203(02)00326-6.
|
| 250 |
+
|
| 251 |
+
- Sebastian Holtz, Thorsten Rohwedder, and Reinhold Schneider. The alternating linear scheme for tensor optimization in the tensor train format. _SIAM J. Sci. Comput._ , 34(2), 2012. doi: 10.1137/100818893. URL [URL removed]
|
| 252 |
+
|
| 253 |
+
10
|
| 254 |
+
|
| 255 |
+
- Oleksii Hrinchuk, Valentin Khrulkov, Leyla Mirvakhabova, Elena Orlova, and Ivan V. Oseledets. Tensorized embedding layers. In Trevor Cohn, Yulan He, and Yang Liu (eds.), _Findings of the Association for Computational Linguistics: EMNLP 2020, Online Event, 16-20 November 2020_ , volume EMNLP 2020 of _Findings of ACL_ , pp. 4847–4860. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.findings-emnlp.436. URL [URL removed] 18653/v1/2020.findings-emnlp.436.
|
| 256 |
+
|
| 257 |
+
- Omid Jafari, Preeti Maurya, Parth Nagarkar, Khandker Mushfiqul Islam, and Chidambaram Crushev. A survey on locality sensitive hashing algorithms and their applications. _CoRR_ , abs/2102.08942, 2021. URL [URL removed]
|
| 258 |
+
|
| 259 |
+
- Hervé Jégou, Romain Tavenard, Matthijs Douze, and Laurent Amsaleg. Searching in one billion vectors: Re-rank with source coding. In _Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing, ICASSP 2011, May 22-27, 2011, Prague Congress Center, Prague, Czech Republic_ , pp. 861–864. IEEE, 2011. doi: 10.1109/ICASSP.2011.5946540. URL [URL removed]
|
| 260 |
+
|
| 261 |
+
- Jeff Johnson, Matthijs Douze, and Hervé Jégou. Billion-scale similarity search with GPUs, February 2017. URL [URL removed] arXiv:1702.08734 [cs].
|
| 262 |
+
|
| 263 |
+
- Maksim Kuznetsov, Daniil Polykovskiy, Dmitry P. Vetrov, and Alexander Zhebrak. A prior of a googol gaussians: a tensor ring induced prior for generative models. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett (eds.), _Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada_ , pp. 4104–4114, 2019. URL [URL removed] 4cb811134b9d39fc3104bd06ce75abad-Abstract.html.
|
| 264 |
+
|
| 265 |
+
- Alexander Novikov, Dmitry Podoprikhin, Anton Osokin, and Dmitry P. Vetrov. Tensorizing neural networks. In Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi Sugiyama, and Roman Garnett (eds.), _Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada_ , pp. 442–450, 2015. URL [URL removed] 6855456e2fe46a9d49d3d3af4f57443d-Abstract.html.
|
| 266 |
+
|
| 267 |
+
- Alexander Novikov, Maxim V. Rakhuba, and Ivan V. Oseledets. Automatic differentiation for riemannian optimization on low-rank matrix and tensor-train manifolds. _SIAM J. Sci. Comput._ , 44(2): 843, 2022. doi: 10.1137/20m1356774. URL [URL removed]
|
| 268 |
+
|
| 269 |
+
- Georgii S. Novikov, Maxim E. Panov, and Ivan V. Oseledets. Tensor-train density estimation. In Cassio P. de Campos, Marloes H. Maathuis, and Erik Quaeghebeur (eds.), _Proceedings of the Thirty-Seventh Conference on Uncertainty in Artificial Intelligence, UAI 2021, Virtual Event, 27-30 July 2021_ , volume 161 of _Proceedings of Machine Learning Research_ , pp. 1321–1331. AUAI Press, 2021. URL [URL removed]
|
| 270 |
+
|
| 271 |
+
- Ivan Oseledets and Eugene Tyrtyshnikov. TT-cross approximation for multidimensional arrays. _Linear Algebra and its Applications_ , 432(1):70–88, January 2010. ISSN 00243795. doi: 10. 1016/j.laa.2009.07.024. URL [URL removed] S0024379509003747.
|
| 272 |
+
|
| 273 |
+
- Ivan V. Oseledets. Tensor-train decomposition. _SIAM J. Sci. Comput._ , 33(5):2295–2317, 2011. doi: 10.1137/090752286. URL [URL removed]
|
| 274 |
+
|
| 275 |
+
- Anh Huy Phan, Konstantin Sobolev, Konstantin Sozykin, Dmitry Ermilov, Julia Gusak, Petr Tichavský, Valeriy Glukhov, Ivan V. Oseledets, and Andrzej Cichocki. Stable low-rank tensor decomposition for compression of convolutional neural network. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm (eds.), _Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XXIX_ , volume 12374 of _Lecture Notes in Computer Science_ , pp. 522–539. Springer, 2020. doi: 10.1007/978-3-030-58526-6\_31. URL [URL removed]
|
| 276 |
+
|
| 277 |
+
11
|
| 278 |
+
|
| 279 |
+
- Karsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf, Thomas Brox, and Peter Gehler. Towards Total Recall in Industrial Anomaly Detection. Technical Report arXiv:2106.08265, arXiv, May 2022. URL [URL removed] arXiv:2106.08265 [cs] type: article.
|
| 280 |
+
|
| 281 |
+
- Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In _6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings_ . OpenReview.net, 2018. URL [URL removed]
|
| 282 |
+
|
| 283 |
+
- Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott E. Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In _IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015_ , pp. 1–9. IEEE Computer Society, 2015. doi: 10.1109/CVPR.2015.7298594. URL [URL removed]
|
| 284 |
+
|
| 285 |
+
- Mengzhao Wang, Xiaoliang Xu, Qiang Yue, and Yuxiang Wang. A comprehensive survey and experimental comparison of graph-based approximate nearest neighbor search. _Proc. VLDB Endow._ , 14(11):1964–1978, 2021. doi: 10.14778/3476249.3476255. URL [URL removed] org/pvldb/vol14/p1964-wang.pdf.
|
| 286 |
+
|
| 287 |
+
12
|
| 288 |
+
|
| 289 |
+
## A BEAM SEARCH
|
| 290 |
+
|
| 291 |
+
**Algorithm 1:** Beam search ANN for TT-point cloud
|
| 292 |
+
|
| 293 |
+
**Data:** �Parameters of TT-point cloud _**G**_ 1 _, · · · ,_ _**G** k_ . Precomputed marginalization cores _**G**_ 1 _, · · · ,_ � _**G** k_ Eq. (6). Queary vector **q** . Parameter _K_ that determines how many nearest neighbors should be found. _K_ **Result:** Set _J_ = �( _i_ 1 _j, · · · , ikj_ )� _j_ =1[of approximate nearest neighbors of vector] **[ q]**[ among] vectors of _**Y**_ TT **1** Take first-level centroids _**y** i_[(1)] 1[=] _**[G]**_[�][1][[] _[i]_[1] _[,]_[ :]][ ;] 2 **2** Calculate distances between **q** and _**y** i_[(1)] 1[:] _[ d][i]_[=] ��� _**y** i_ (1) _−_ **q** ��� ; _K_ **3** Take indices of _K_ closest first-level centroids: _J_ 1 _←_ � _i_ 1 _j_ � _j_ =1[= K-arg min] _i di_ ;
|
| 294 |
+
|
| 295 |
+
- **4** Take _K_ slices of first TT-core _**G**_ 1 to be able to efficiently calculate higher-level centroids with fixed prefix of indices: **L** _j ←_ _**G**_ 1[: _, i_ 1 _j,_ :] _∀j_ = 1 _..K_ ;
|
| 296 |
+
|
| 297 |
+
**5 for** _current centroids level l ←_ 2 **to** _k_ **do**
|
| 298 |
+
|
| 299 |
+
**6** Evaluate _l_ -th level centroids with indices from _Jl−_ 1: _**y** j,il ←_ _**y** i_[(] 1 _[l]_[)] _j ,··· ,il−_ 1 _j ,il_[=] **[ L]**[:] _[,j,]_[:] _**[G]**_[�] _[l]_[[:] _[, i][l]_[]][ ;] **7** Calculate distances between **q** and _**y** j,il_ : _dj,il ←∥_ _**y** j,il −_ **q** _∥_[2] ; **8** Take top-K best candidates: _J[′]_ = _{_ ( _ja, ila_ ) _}_ = K-arg min _dj,il_ ; _j,il_ **9** Update set with indices of current top- _K_ candidates: _Jl_ = �( _i_ 1 _j, · · · , il_ ) _|_ ( _j, il_ ) _∈J[′]_[�] ; **10** Update state matrices **L** 1 _, · · · ,_ **L** _K_ : **L** _a ←_ **L** _ja_ _**G** l_ [: _, ila,_ :] s.t. ( _ja, ila_ ) _∈J[′]_ ;
|
| 300 |
+
|
| 301 |
+
- **11 return** _Jk_ ;
|
| 302 |
+
|
| 303 |
+
Efficient implementation of beam search over TT point cloud consists of two components:
|
| 304 |
+
|
| 305 |
+
1. Fast and efficient marginals calculation to be able to obtain centroids of various levels
|
| 306 |
+
|
| 307 |
+
2. Fast and efficient maintaining of such centroids, indices of which are already chosen by beam search.
|
| 308 |
+
|
| 309 |
+
For the first component, we need to precalculate surrogate TT-cores _**G**_[�] 1 _, · · · ,_ _**G**_[�] _k_ as described in Eq. (6). This has to be done only once and then can be reused for any number of queries.
|
| 310 |
+
|
| 311 |
+
For the second component, consider calculating _**y** i_[(] 1 _[l]_[)] _,··· ,il_[for fixed] _[ i]_[1] _[,][ · · ·][, i][l][−]_[1][ and all possible] _[ i][l]_[:]
|
| 312 |
+
|
| 313 |
+
where
|
| 314 |
+
|
| 315 |
+
**==> picture [291 x 78] intentionally omitted <==**
|
| 316 |
+
|
| 317 |
+
In line 1 we maintain all _K_ such auxiliary matrices **L** 1 _, · · · ,_ **L** _L_ : first they are initialized in line 4 and updated on each for-loop iteration in line 10.
|
| 318 |
+
|
| 319 |
+
Complexity of the beam search is as follows:
|
| 320 |
+
|
| 321 |
+
1. For the first-level centroids we need to calculate distances in line 2 in _O_ ( _DN_ 1) time and then initialize matrices **L** in line 4 in _O_ ( _KDr_ ) time.
|
| 322 |
+
|
| 323 |
+
2. For each other level centroids, we need to calculate centroids in line 6 in _O_ ( _kdrn_ ) time, where _n_ = max _i_ =2 _..k−_ 1 _Ni_ . Then update matrices **L** in line 10 in _O_ ( _KDr_[2] ) time.
|
| 324 |
+
|
| 325 |
+
The total asymptotic of Alg.1 is _O_ ( _DN_ 1 + _kKDrn_ + _kKDr_[2] ) time.
|
| 326 |
+
|
| 327 |
+
13
|
| 328 |
+
|
| 329 |
+
## B EXPERIMENT SETUPS
|
| 330 |
+
|
| 331 |
+
## B.1 TOY EXAMPLES
|
| 332 |
+
|
| 333 |
+
First toy point cloud is 16 uniform distributions over circles, arranged in 4-by-4 grid. Each circle is chosen uniformly.
|
| 334 |
+
|
| 335 |
+
Second toy point cloud is a uniform distribution over one half of a circle.
|
| 336 |
+
|
| 337 |
+
Thirds toy point cloud is a mixture of three distributions with equal weights:
|
| 338 |
+
|
| 339 |
+
1. non-uniform distribution over 1-dimensional closed loop
|
| 340 |
+
|
| 341 |
+
2. uniform distribution over disc (blob inside closed loop)
|
| 342 |
+
|
| 343 |
+
3. normal distribution (blob above closed loop)
|
| 344 |
+
|
| 345 |
+
## B.2 MVTEC AD
|
| 346 |
+
|
| 347 |
+
For all datasets in MVTec AD benchmark we used same hyperparameters.
|
| 348 |
+
|
| 349 |
+
We followed original implementation[1] of Patchcore for feature extraction and coreset subsampling. We trained TT point cloud via riemannian stochastic gradient descent Novikov et al. (2022) for 2[13] iterations with initial learning rate equals to 10[3] and exponential decay of[1] 3[every][ 256][ iterations.] Before multiplying by learning rate, we scale gradient to 1 to achieve some kind of adaptivity for riemannian SGD.
|
| 350 |
+
|
| 351 |
+
Parameters of the loss function:
|
| 352 |
+
|
| 353 |
+
1. SW loss with coefficient 1 and batch size 32
|
| 354 |
+
|
| 355 |
+
2. NN Distance loss with _α_ = 0 _._ 1 and coefficient 0 _._ 1, with random 2[11] samples from _**Y**_ on each iteration.
|
| 356 |
+
|
| 357 |
+
## B.3 APPROXIMATE NEAREST NEIGHBOUR
|
| 358 |
+
|
| 359 |
+
To train TT point cloud as an ANN indexing structure we performed two-stage optimization. On the first stage we used Riemannian SGD Novikov et al. (2022) with combination of SW loss with coefficient 1 and batch size 32, and NN Distance loss with _α_ = 0 _._ 1 and coefficient 0 _._ 1 with random 2[15] samples from _**Y**_ on each iteration. Initial learning rate 10[2] with exponential decay of[1] 3[every][ 2][11] iterations. Number of iterations 2[13] .
|
| 360 |
+
|
| 361 |
+
On the second stage we used ALS Holtz et al. (2012) with only NN Distance loss with _α_ equals to 0 _._ 001 for 256 iterations.
|
| 362 |
+
|
| 363 |
+
> 1[URL removed]
|
| 364 |
+
|
| 365 |
+
14
|
| 366 |
+
|
open_review/iclr2024_9088.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9088",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Semi-Anchored Gradient Methods for Nonconvex-Nonconcave Minimax Problems",
|
| 6 |
+
"abstract": "Nonconvex-nonconcave minimax problems are difficult to optimize by gradient methods. The extragradient method, proven to outperform the gradient descent ascent, has become standard but there is still room for improvement. On the other hand, under a bilinear setting, the primal-dual hybrid gradient (PDHG) method is one of the most popular methods. This was studied on a general convex-concave problem, but it has not been found useful in a more general nonconvex-nonconcave minimax problem. In this paper, we demonstrate its natural extension to a structured nonconvex-nonconcave minimax problem, whose saddle-subdifferential operator satisfies the weak Minty variational inequality condition, showing its potential. This new nonlinear variant of PDHG, named semi-anchored (SA) gradient method,\nis built upon the theory of Bregman proximal point method. This consequently provides a worst-case convergence rate, in terms of a new optimality measure for nonconvex-nonconcave minimax optimization, making it interesting on its own. We further illustrate the potential of the semi-anchoring by providing a numerical experiment on fair classification problem, in comparison with the extragradient.",
|
| 7 |
+
"rebuttal": "We are grateful to the reviewer for the prompt response. We have addressed the concern raised by the reviewer below.\n\n- As suggested, we will add the PDEG (next to EG+/CEG+) in Table 1.However, we would like to note that adding the PDEG does not weaken our contribution (which we clarified in our revision), as we already have mentioned EG+ and CEG+ in Table 1 that have the same $O(1/k)$ rate for the squared tangent residual and the computational complexity that is equivalent to the PDEG. We would like to also mention that PDEG is a Gauss-Seidel version of EG, and does not resemble PDHG, although the name looks similar. \n- The strong convexity and Lipschitzness conditions are indeed strong and satisfies only by the Euclidean distance among the existing list of Legendre functions $h$ (some of them are given in the bottom of page 2). We would like to emphasize again that our main contribution is to consider a new (strongly convex and smooth) Legendre function $h$ in (5) that is specifically designed for minimax problems, inspired by the PDHG. This led to the development of the SA gradient method.\n- Lemma 1 shows that $h$-resolvent is well defined for a strongly convex Legendre function $h$ (thus for our specific $h$ (5)) under the weak monotonicity (implied by the smoothness of $\\phi$).\n\nWe sincerely appreciate the reviewer for carefully reviewing our rebuttal and expressing a positive view of our work.\n\nWe appreciate the reviewer's nice summary of our paper, and constructive feedback.\n- (Q1) Regarding the clarification of our contributions, see our general comment.\n- (Q2) You are correct that we omitted the computational cost of the proximal operator. We clarified in revision that we are considering the prox-friendly function, which makes the computational cost of the proximal operation negligible.\n- (Q3) The fair classification experiment is the problem possibly without the weak MVI condition, which is exactly the setting the reviewer is asking for. We clarified this in the paper. / We agree [...]\n\nWe appreciate the reviewer's nice summary of our paper, and constructive feedback, especially on the bounded domain assumption.\n- (W1) Regarding the clarification of our contributions in terms of the Bregman distance, see our general comment.\n- (W2) We agree that it would have been the best if we were able to come up with an explicit method that exactly reduces to the PDHG for the bilinear problem and that is comparable to the extragradient in terms of the convergence rate under the weak MVI. This, however, was not a simple task, which we hoped to resolve by starting from the Bregman proximal [...]\n\nWe appreciate the reviewer's nice summary of our paper, and valuable feedback.\n- (Q1) Regarding the clarification of our contribution, see our general comment.\n- (Q2) We implemented the exact SA-GDmax, as we have an efficient max-oracle for both experiments. In particular, the max step of the fair classification problem is exactly maximizing a quadratic function over a simplex, or equivalently, an orthogonal projection problem to a simplex, given the value of the loss function for each category. This can be efficiently done in $O(d_v\\log(d_v))$, where $d_v$ is the dimension of $v$ (arXiv: 1309 [...]\n\nWe appreciate the reviewer's nice summary of our paper, detailed suggestions and constructive feedback.\n- (Q1-2) Regarding the clarification of our contributions, see our general comment. / As we have an efficient max-oracle for the experiments, the SA-GDmax is not impractical for our experiments and thus SA-MGDA does not seem necessary to be explicitly considered, which behave almost the same as the SA-GDmax.\n- (Q3) They are both interesting, as the former discusses the acceleration, and the latter studies last iterate convergence for the first-time in nonconvex-nonconave problems. However, t [...]\n\n### General comment on our contributions\nWe express our gratitude to all the reviewers for carefully reading our paper and offering valuable feedback. We acknowledge that our contributions were not clearly stated, and we made revisions to the paper to enhance the clarity of our contributions as listed below.\n\n- **We further highlighted why we consider the PDHG-type method in the first place.** In particular, we added a statement, owing from (Chambolle \\& Pock, 2011), that the PDHG outperforms the extragradient on a bilinear problem. The SA-GDmax exactly reduces to the PDHG for a bilinear probl [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
6,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.25,
|
| 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 studies min-max optimization problems in structured nonconvex-nonconcave primal-dual (PD) settings and proposes new algorithms based on the Bregman proximal point (PP) method. Nonconvex-nonconcave min-max optimization settings are known to be computationally challenging, thus the paper studies them under the \"weak MVI\" condition proposed in the recent literature. The results in the paper extend the range of the parameter of the weak MVI condition (thus showing that a larger class of nonconvex-nonconcave problems can be addressed algorithmically in poly-time), at the cost of a more expensive oracle access to a problem (Bregman prox for either the entire operator associated with the problem or with the \"max\" part of the problem). Importantly, it is possible to use an approximate version of the oracle (under additional \"smoothness\" assumptions for the \"max\" part function $g$) at a $\\log(1/\\epsilon)$ cost. \n\nThe paper has multiple interesting contributions, but the positioning of the paper seems misplaced. I had trouble understanding this from the author-reviewer discussion, so I read the paper to see what was happening. The main motivations of the paper and its primary \"selling points\" are: (1) using a PD method in place of extragradient (EG)-type methods, because \"they are faster in practice\" and (2) introducing a new convergence criterion, which is simply a Bregman divergence between successive iterates. If the paper were to be considered based on these two contribut",
|
| 22 |
+
"forum_id": "rmLTwKGiSP",
|
| 23 |
+
"primary_area": "optimization",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_uoZm",
|
| 28 |
+
"review_id": "dkk45hqKbF",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 4180,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1617887,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_vygr",
|
| 44 |
+
"review_id": "zmJZYcsVHk",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2465,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 862857,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_Mhw9",
|
| 60 |
+
"review_id": "jjYUfR5kj0",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2717,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 2065065,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_kCcC",
|
| 76 |
+
"review_id": "poqewwvlUc",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2382,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1248903,
|
| 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_9088.md
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## SEMI-ANCHORED GRADIENT METHODS FOR NONCONVEX-NONCONCAVE MINIMAX PROBLEMS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Nonconvex-nonconcave minimax problems are difficult to optimize by gradient methods. The extragradient method, proven to outperform the gradient descent ascent, has become standard but there is still room for improvement in terms of a convergence speed. On the other hand, under a bilinear setting, the primaldual hybrid gradient (PDHG) method is one of the most popular methods, and is superior to the extragradient in practice. The PDHG was studied on a convexconcave problem, but it has not been found useful in a more general nonconvexnonconcave minimax problem. In this paper, we demonstrate a natural extension of the PDHG to a structured nonconvex-nonconcave minimax problem, whose saddlesubdifferential operator satisfies the weak Minty variational inequality condition. This new nonlinear variant of PDHG, named semi-anchored (SA) gradient method, is built upon the Bregman proximal point method. This consequently provides a worst-case convergence rate, in terms of a new Bregman distance-based optimality measure. This rate analysis of the SA implies a possible improvement over the extragradient with a similar rate in terms of the squared gradient norm, as the new optimality measure upper bounds the squared gradient norm. In addition, since the SA exactly reduces to the PDHG for a bilinear problem, it is likely to be faster than the extragradient in practice when entered a locally bilinear region. We further illustrate the potential of the SA, by providing a fair classification experiment, where it outpaces the extragradient, given an efficient max-oracle.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Generative adversarial network (GAN) (Arjovsky et al., 2017; Goodfellow et al., 2014), adversarial training (Kurakin et al., 2017; M ˛adry et al., 2018) and fair training (Mohri et al., 2019; Nouiehed et al., 2019) involve solving a nonconvex-nonconcave minimax problem. These applications have produced numerous promising results, but their gradient-based training is yet reported to be difficult and laborious. In minimax optimization, the extragradient method (Korpelevich, 1976) has become one of standard methods in minimax optimization, as it is known to outperform gradient descent ascent method (Mescheder et al., 2018; Gorbunov et al., 2022). However, there is still room for improvement, in terms of a convergence speed, possibly from a different perspective.
|
| 14 |
+
|
| 15 |
+
For a (composite) bilinear problem, the primal-dual hybrid gradient (PDHG) method (Chambolle & Pock, 2011; Esser et al., 2010) is one of the favorites, and practically outperforms the extragradient method (Chambolle & Pock, 2011). This was extended to convex-concave problems (Hamedani & Aybat, 2021; Yadav et al., 2018; Zhao, 2019), but has not been studied in a more general nonlinear nonconvex-nonconcave minimax problems. This paper thus constructs a new nonlinear variant of the PDHG, named semi-anchored (SA) gradient method, that shows several theoretical and empirical improvements over existing methods.
|
| 16 |
+
|
| 17 |
+
The proposed SA gradient method is built upon the theory of the Bregman proximal point (BPP) method (Bauschke et al., 2003; Borwein et al., 2011; Eckstein, 1993). In specific, the PDHG method is an instance of the proximal point method (Martinet, 1970; Rockafellar, 1976) with a specific preconditioner (He & Yuan, 2012). The BPP method is a nonlinear extension of the proximal point method via the Bregman distance (Bregman, 1967), and we choose one that directly extends the preconditioner of the PDHG. We consequently show that the SA gradient method finds a stationary point of a structured nonconvex-nonconcave composite problem; its Lipschitz continuous
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
saddle-subdifferential operator satisfies the weak Minty variational inequality (MVI) condition in (Diakonikolas et al., 2021). The weak MVI condition is weaker than the MVI condition that has received recent attention as one of standard nonconvex-nonconcave settings (Dang & Lan, 2015; Malitsky, 2020; Mertikopoulos et al., 2019; Song et al., 2020; Zhou et al., 2017).
|
| 22 |
+
|
| 23 |
+
For the worst-case rate analysis, we first show that the worst-case rate of the BPP method is _O_ (1 _/k_ ), under the weak MVI condition, in terms of the Bregman distance between the successive iterates, where _k_ denotes the number of iterations. Then, the _exact_ SA method, named SA-GDmax, using an exact maximization oracle for the max-player, consequently has the same _O_ (1 _/k_ ) rate. Here, the considered optimality measure, tailored from the Bregram distance, which is new in minimax optimization literature. The extragradient method also has the _O_ (1 _/k_ ) rate (Diakonikolas et al., 2021; Gorbunov et al., 2022) but in terms of the squared gradient norm that is upper bounded by our new optimality measure. This implies that the SA-GDmax can be superior to the extragradient in the worst case. Also note that the SA-GDmax exactly reduces to the PDHG for a bilinear problem, so we can expect that it will practically outperform the extragradient when entered a locally bilinear region. We then show that its more _practical_ version, named SA-MGDA, using a finite number of gradient steps of the max-player, has a complexity that matches that of the _exact_ version up to a log factor.
|
| 24 |
+
|
| 25 |
+
Our theoretical results of the SA gradient method, built upon the PDHG and the BPP, are comparable to those of extragradients (as detailed later), showing potential of the PDHG-like methods. We further provide numerical experiments where the proposed SA-GDmax outperforms extragradient, given an efficient max-oracle, making the PDHG-like methods more interesting in general minimax problems.
|
| 26 |
+
|
| 27 |
+
**Our main contributions** are summarized as follows.
|
| 28 |
+
|
| 29 |
+
- We study the properties of the BPP method and analyze its worst-case rate, in terms of the Bregman distance between two successive iterates, under the weak MVI condition, in Section 4. We also similarly study a version of the BPP with projection onto a separating hyperplane that works for a larger range of the weak MVI condition.
|
| 30 |
+
|
| 31 |
+
- Built upon Section 4, we develop a new semi-anchoring (SA) approach, a new nonlinear variant of the PDHG in Section 5. We further construct its inexact but more practical variant, named SA-MGDA.
|
| 32 |
+
|
| 33 |
+
- In Section 6, we present the worst-case rates of the SA gradient methods for structured nonconvex-nonconcave composite problems. This analysis is based on a newly introduced Bregman distance-based optimality measure, and the worst-case rate is comparable to (and possibly better than) the extragradient method. We also analyze the SA gradient methods under the strong MVI condition (Song et al., 2020; Zhou et al., 2017), in Appendix E.
|
| 34 |
+
|
| 35 |
+
- Section 7 provides two numerical experiments, where an efficient maximization oracle is available and consequently the SA gradient method outperforms the extragradient.
|
| 36 |
+
|
| 37 |
+
## 2 PRELIMINARIES
|
| 38 |
+
|
| 39 |
+
## 2.1 BREGMAN DISTANCE
|
| 40 |
+
|
| 41 |
+
This paper uses a Legendre function (Rockafellar, 1970) and its associated Bregman distance (Bregman, 1967), defined below, as a non-Euclidean proximity measure (Eckstein, 1993; Teboulle, 2018). These help us to better handle the nonlinear geometry of a problem.
|
| 42 |
+
|
| 43 |
+
**Definition 1.** _Let h_ : R _[d] →_ ( _−∞, ∞_ ] _be a Legendre function (Rockafellar, 1970). The Bregman distance associated to h, denoted by Dh_ : dom _h ×_ int dom _h →_ R + _is defined by Dh_ ( _**x** ,_ _**y**_ ) := _h_ ( _**x**_ ) _− h_ ( _**y**_ ) _−⟨∇h_ ( _**y**_ ) _,_ _**x** −_ _**y** ⟩._
|
| 44 |
+
|
| 45 |
+
A Bregman distance _Dh_ reduces to the Euclidean distance for _h_ ( _**x**_ ) =[1] 2 _[||]_ _**[x]**[||]_[2][.] _[D][h]_[is not symmetric] in general, except for the case _h_ ( _**x**_ ) = 21 _[||]_ _**[x]**[||]_[2][.][In][addition,] _[D][h]_[(] _**[x]**[,]_ _**[ y]**_[)] _[≥]_[0][for][all][(] _**[x]**[,]_ _**[ y]**_[)] _[∈]_ dom _h ×_ int dom _h_ , and _Dh_ ( _**x** ,_ _**y**_ ) = 0 if and only if _**x**_ = _**y**_ due to the strict convexity of _h_ . Popular examples of _h_ are _h_ ( _**x**_ ) =[�] _[d] i_ =1 _[|][x][i][|][p][/p]_[for] _[p][≥]_[2][,][a][Shannon][entropy] _[h]_[(] _**[x]**_[)][=][�] _[d] i_ =1 _[x][i]_[ log] _[ x][i]_[,] dom _h_ = [0 _, ∞_ ) _[d]_ , and a Burg entropy _h_ ( _**x**_ ) = _−_[�] _[d] i_ =1[log] _[ x][i]_[,][ dom] _[ h]_[=][(0] _[,][ ∞]_[)] _[d]_[.][An appropriate] choice of _h_ from this (partial) list, especially that captures the geometry of the constraint sets of the problem, has been found useful in many applications (see, _e.g._ , (Bauschke et al., 2016; Beck & Teboulle, 2003; Bolte et al., 2018; Lu et al., 2018)). This paper, however, chooses _h_ not from the
|
| 46 |
+
|
| 47 |
+
2
|
| 48 |
+
|
| 49 |
+
above standard list. Our choice of _h_ in Section 5 is inspired by that of the PDHG (Chambolle & Pock, 2011; Esser et al., 2010; He & Yuan, 2012).
|
| 50 |
+
|
| 51 |
+
## 2.2 COMPOSITE MINIMAX PROBLEM AND WEAKLY MONOTONE OPERATOR
|
| 52 |
+
|
| 53 |
+
We are interested in the minimax problem in a form:
|
| 54 |
+
|
| 55 |
+
**==> picture [305 x 16] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
which satisfies the following assumption. Let _d_ := _du_ + _dv_ .
|
| 58 |
+
|
| 59 |
+
**Assumption A1.** _f_ : R _[d][u] →_ ( _−∞, ∞_ ] _and g_ : R _[d][v] →_ ( _−∞, ∞_ ] _are closed, proper and convex functions. A function ϕ_ : R _[d] →_ R _is continuously differentiable and has a Lipschitz continuous gradient,_ i.e. _, there exists L_ _**uu** , L_ _**uv** , L_ _**vu** , L_ _**vv** >_ 0 _such that, for all_ _**u** ,_ ¯ _**u** ∈_ R _[d][u] and_ _**v** ,_ ¯ _**v** ∈_ R _[d][v] ,_
|
| 60 |
+
|
| 61 |
+
**==> picture [250 x 25] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
Both the gradient _∇ϕ_ and the saddle-gradient of _ϕ_ , denoted by _**M** ϕ_ := ( _∇_ _**u** ϕ, −∇_ _**v** ϕ_ ), are _L_ - Lipschitz continuous (see Appendix A), _i.e._ , there exists _L >_ 0 such that _||_ _**M** ϕ_ _**x** −_ _**M** ϕ_ _**y** || ≤ L||_ _**x** −_ _**y** ||_ for all _**x** ,_ _**y** ∈_ R _[d]_ .
|
| 64 |
+
|
| 65 |
+
Finding a first-order stationary point _**x** ∗_ := ( _**u** ∗,_ _**v** ∗_ ) _∈_ R _[d]_ of (1), is equivalent to finding a zero of the following set-valued saddle-subdifferential operator of Φ:
|
| 66 |
+
|
| 67 |
+
**==> picture [290 x 13] intentionally omitted <==**
|
| 68 |
+
|
| 69 |
+
Let _X∗_ ( _**M**_ ) := _{_ _**x** ∗_ : **0** _∈_ _**Mx** ∗}_ be a nonempty solution set. We consider the squared subgradient norm at _**x**_ , min _**s** ∈_ _**Mx** ||_ _**s** ||_[2] , as an optimality criteria, which is standard in nonconvexnonconcave minimax problems (Diakonikolas et al., 2021; Lee & Kim, 2021; Pethick et al., 2022; 2023). Under Assumption A1, the operator _**M**_ (2) satisfies the following weakly monotone condition with _γ_ = _L_[ˆ] := max _{L_ _**uu** , L_ _**vv** }_ (see Appendix B) and is maximal.
|
| 70 |
+
|
| 71 |
+
**Assumption A2** (Weak monotonicity) **.** _For some γ ≥_ 0 _, an operator_ _**M** is γ-weakly monotone,_ i.e. _, ⟨_ _**x** −_ _**y** ,_ _**w** −_ _**z** ⟩≥−γ||_ _**x** −_ _**y** ||_[2] _for all_ ( _**x** ,_ _**w**_ ) _,_ ( _**y** ,_ _**z**_ ) _∈_ gra _**M** , where_ gra _**M**_ := _{_ ( _**x** ,_ _**w**_ ) _∈_ R _[d] ×_ R _[d]_ : _**w** ∈_ _**Mx** } denotes the graph of_ _**M** . Also, it is maximal,_ i.e. _, there exists no γ-weakly monotone operator that its graph properly contains_ gra _**M** ._
|
| 72 |
+
|
| 73 |
+
## 2.3 STRUCTURED NONCONVEX-NONCONCAVE PROBLEM
|
| 74 |
+
|
| 75 |
+
We consider the nonconvex-nonconcave condition in (Diakonikolas et al., 2021), named the weak Minty variational inequality (MVI). (See Appendix E for the strong MVI condition in (Song et al., 2020; Zhou et al., 2017) and its related analysis.) The MVI problem is to find _**x** ∗_ such that _⟨_ _**x** −_ _**x** ∗,_ _**w** ⟩≥_ 0 for all ( _**x** ,_ _**w**_ ) _∈_ gra _**M**_ . For a continuous _**M**_ , a solution set of the MVI problem is a subset of _X∗_ ( _**M**_ ), and if _**M**_ is monotone, they are equivalent. The MVI condition, assuming that a solution of the MVI problem exists, is studied in (Dang & Lan, 2015; Malitsky, 2020), which is also studied under the name, the coherence, in (Mertikopoulos et al., 2019; Song et al., 2020; Zhou et al., 2017). Recently, Diakonikolas et al. (2021) introduced the following weaker condition, named weak MVI condition.
|
| 76 |
+
|
| 77 |
+
**Assumption A3** (Weak MVI) **.** _For some ρ ≥_ 0 _, there exists a solution_ _**x** ∗ ∈ X∗_ ( _**M**_ ) _such that_
|
| 78 |
+
|
| 79 |
+
**==> picture [196 x 19] intentionally omitted <==**
|
| 80 |
+
|
| 81 |
+
Let _X∗[ρ]_[(] _**[M]**_[)][be][the][associated][solution][set.] Assumption A3 is implied by the _−[ρ]_ 2[-] comonotononicity (Bauschke et al., 2021), or equivalently the _[ρ]_ 2[-cohypomonotonicity (][Combettes] & Pennanen, 2004), _i.e._ , _⟨_ _**x** −_ _**y** ,_ _**w** −_ _**z** ⟩≥−[ρ]_ 2 _[||]_ _**[w]**[ −]_ _**[z]**[||]_[2][for][all][(] _**[x]**[,]_ _**[ w]**_[)] _[,]_[ (] _**[y]**[,]_ _**[ z]**_[)] _[∈]_[gra] _**[ M]**_[.][The] comonotonicity is also implied by the _α ≥_ 0-interaction dominant condition in (Grimmer et al., 2022) (see (Lee & Kim, 2021, Example 1)). Daskalakis et al. (2020, Proposition 2) and Diakonikolas et al. (2021) consider a (constrained) two-agent zero-sum reinforcement learning problem, called the von Neumann ratio game, that satisfies the weak MVI condition, but neither the MVI condition nor the comonotonicity condition. Pethick et al. (2022) also provides examples satisfying the weak MVI.
|
| 82 |
+
|
| 83 |
+
3
|
| 84 |
+
|
| 85 |
+
## 3 EXISTING GRADIENT-BASED METHODS
|
| 86 |
+
|
| 87 |
+
**Extragradient methods** Unlike gradient descent in minimization, gradient descent ascent method diverges even for a simple bilinear minimax problem (Mescheder et al., 2018; Zhang & Yu, 2020). Therefore, extragradient-type methods (Hsieh et al., 2019; Korpelevich, 1976; Malitsky, 2020; Nesterov, 2007; Popov, 1980) with a better convergence behavior have gained interest. Especially, the extragradient method works under the MVI condition (Dang & Lan, 2015; Mertikopoulos et al., 2019), and recently, its variants, named EG+ (Diakonikolas et al., 2021) and CEG+ (Pethick et al., 2022), have been found to work under the weak MVI condition.
|
| 88 |
+
|
| 89 |
+
**Primal-dual hybrid gradient method** For a bilinearly-coupled convex-concave problem min _**u**_ max _**v** {f_ ( _**u**_ ) + _⟨_ _**u** ,_ _**Bv** ⟩−g_ ( _**v**_ ) _}_ , which is an instance of (1), the primal-dual hybrid gradient (PDHG) (Chambolle & Pock, 2011; Esser et al., 2010), for _k_ = 0 _,_ 1 _, . . ._ , _**u** k_ +1 = prox _τf_ [ _**u** k − τ_ _**Bv** k_ ] _,_ _**v** k_ +1 = prox _τg_ [ _**v** k_ + _τ_ _**B**[⊤]_ (2 _**u** k_ +1 _−_ _**u** k_ )] _,_
|
| 90 |
+
|
| 91 |
+
is most widely used, where the proximal operator is defined as prox _ψ_ := ( _**I**_ + _∂ψ_ ) _[−]_[1] . The PDHG is similar to the alternating (proximal) gradient descent ascent method, except that the PDHG uses the term _**B**[⊤]_ (2 _**u** k_ +1 _−_ _**u** k_ ) in the _**v** k_ +1 update, instead of _**B**[⊤]_ _**u** k_ +1. This simple modification improves convergence, which is a one-sided variant of the extragradient-type methods, while being practically superior to the plain extragradient in a bilinear problem (Chambolle & Pock, 2011).
|
| 92 |
+
|
| 93 |
+
In (He & Yuan, 2012), the PDHG is shown to be equivalent to the _preconditioned_ proximal point method with a (linear) preconditioner _**P**_ ( _**u** ,_ _**v**_ ) := ( _τ_[1] _**[u]**[ −]_ _**[Bv]**[,][ −]_ _**[B]**[⊤]_ _**[u]**_[ +] _τ_[1] _**[v]**_[)][.][In][Section][5][,][we] extend this understanding to a nonlinear problem. Note that the PDHG has been extended to tackle convex-concave problems (1) in (Hamedani & Aybat, 2021; Yadav et al., 2018; Zhao, 2019) by directly generalizing the term _**B**[⊤]_ (2 _**u** k_ +1 _−_ _**u** k_ ). In particular, the prediction method in (Yadav et al., 2018) uses the term _∇_ _**v** ϕ_ (2 _**u** k_ +1 _−_ _**u** k,_ _**v** k_ ), and Zhao (2019) and Hamedani & Aybat (2021) consider 2 _∇_ _**v** ϕ_ ( _**u** k,_ _**v** k_ ) _−∇_ _**v** ϕ_ ( _**u** k−_ 1 _,_ _**v** k−_ 1) with different update ordering. Section 5 proposes a different extension of the PDHG method, by nonlinearizing the preconditioner _**P**_ , leading to the _semi_ -implicit gradient term 2 _∇_ _**v** ϕ_ ( _**u** k_ +1 _,_ _**v** k_ +1) _−∇_ _**v** ϕ_ ( _**u** k,_ _**v** k_ ).
|
| 94 |
+
|
| 95 |
+
**Gradient descent with max-oracle** The proposed SA gradient method resembles the gradient descent with max-oracle (GDmax), so we discuss it here. Consider a constrained minimax problem min _**u** ∈U_ max _**v** ∈V ϕ_ ( _**u** ,_ _**v**_ ), an instance of (1). Then, the GDmax solves the equivalent minimization problem min _**u** ∈U {_ Ψ( _**u**_ ) := max _**v** ∈V ϕ_ ( _**u** ,_ _**v**_ ) _}_ by a gradient descent method on _**u**_ (Barazandeh & Razaviyayn, 2020; Jin et al., 2020; Nouiehed et al., 2019). This requires a gradient computation _∇_ Ψ( _**u**_ ) = _∇_ _**u** ϕ_ ( _**u** ,_ _**v** ∗_ ( _**u**_ )), for _**v** ∗_ ( _**u**_ ) := arg max _**v** ∈V ϕ_ ( _**u** ,_ _**v**_ ), based on Danskin’s theorem (Danskin, 1967). This involves a maximization with respect to _**v**_ . Unfortunately, even for a smooth _ϕ_ , the function Ψ is not differentiable in general. If a smooth function _ϕ_ is further assumed to be strongly concave on _**v**_ with a convex compact set _V_ , the function Ψ is differentiable and one can apply a gradient descent method on _**u**_ (Barazandeh & Razaviyayn, 2020; Nouiehed et al., 2019). In many practical cases, the strong concavity is not given, so regularization can be useful for the GDmax, but this requires tuning parameters and makes it unable to find an exact solution of the original problem.
|
| 96 |
+
|
| 97 |
+
Table 1 compares the convergence guarantees of the extragradient-type, the PDHG-type, the GDmaxtype and the proposed SA gradient methods. In particular, the SA gradient converges under settings that the extragradient-type methods work, unlike the other two types, which is our major contribution.
|
| 98 |
+
|
| 99 |
+
## 4 BREGMAN PROXIMAL POINT (BPP) METHOD
|
| 100 |
+
|
| 101 |
+
## 4.1 THE _h_ -RESOLVENT
|
| 102 |
+
|
| 103 |
+
The _h_ -resolvent of a monotone operator _**M**_ with respect to a Legendre function _h_ is defined as _**RM**[h]_[:= (] _[∇][h]_[+] _**[M]**_[)] _[−]_[1] _[∇][h]_[ (][Eckstein][,][ 1993][), where we omit] _**[ M]**_[and] _[ h]_[ in] _**[ R] M**[h]_[for simplicity hereafter,] unless necessary. This reduces to the standard resolvent operator ( _**I**_ + _**M**_ ) _[−]_[1] for _h_ =[1] 2 _[|| · ||]_[2][, where] _**I**_ is an identity operator. The _h_ -resolvent _**R**_ is single-valued on its domain for a monotone operator _**M**_ (Bauschke et al., 2003, Proposition 3.8), and we extend this for a weakly monotone operator.
|
| 104 |
+
|
| 105 |
+
4
|
| 106 |
+
|
| 107 |
+
|Method|Method|Method|Method|Method|Method|
|
| 108 |
+
|---|---|---|---|---|---|
|
| 109 |
+
|Type|Name|||||
|
| 110 |
+
|Extragradient||||||
|
| 111 |
+
||EG, DE_†_<br>EG, OptDE_‡_|✓<br>✓|✓|||
|
| 112 |
+
|||||||
|
| 113 |
+
||EG+,CEG+_§_|✓|✓|✓|Squaredgradient norm|
|
| 114 |
+
||PDHG_⋆_<br>Prediction_◦_<br>✓|||||
|
| 115 |
+
|PDHG|PDHG_⋆_<br>Prediction_◦_|✓||||
|
| 116 |
+
|||||||
|
| 117 |
+
|GDmax|GDmax_∗_|||||
|
| 118 |
+
|||||||
|
| 119 |
+
|Semi-anchoring|SA-GDmax|✓|✓|✓|Bregman distance (6)|
|
| 120 |
+
|
| 121 |
+
Table 1: Comparison of the problem settings for the extragradient-type, PDHG-type, GDmax-type and the proposed methods; The SA-GDmax generalizes both the PDHG and GDmax, and converges for the settings that the EG+/CEG+ work. In addition, EG+/CEG+ and SA-GDmax have the same _O_ (1 _/k_ ) worst-case rate, while the latter is in terms of a specific Bregman distance (6) that upper bounds the squared gradient norm used for the rate of the former. _[†]_ (Korpelevich, 1976; Nemirovski, 2004; Nesterov, 2007), _[‡]_ (Dang & Lan, 2015; Mertikopoulos et al., 2019; Song et al., 2020), _[§]_ (Diakonikolas et al., 2021; Pethick et al., 2022) _[⋆]_ (Chambolle & Pock, 2011; Esser et al., 2010), _[◦]_ (Hamedani & Aybat, 2021; Yadav et al., 2018; Zhao, 2019), _[∗]_ (Nouiehed et al., 2019; Jin et al., 2020)
|
| 122 |
+
|
| 123 |
+
**Lemma 1.** _Let_ _**M** satisfy Assumption A2 for some γ ≥_ 0 _, and h be a µh-strongly convex Legendre function. Then, if µh > γ, the h-resolvent_ _**R** is single-valued on_ int dom _h._
|
| 124 |
+
|
| 125 |
+
## 4.2 BPP UNDER WEAK MVI CONDITION
|
| 126 |
+
|
| 127 |
+
The BPP method (Eckstein, 1993) iteratively applies the _h_ -resolvent as, for _k_ = 0 _,_ 1 _, . . ._ ,
|
| 128 |
+
|
| 129 |
+
**==> picture [232 x 10] intentionally omitted <==**
|
| 130 |
+
|
| 131 |
+
which converges to a zero of a monotone operator _**M**_ . We analyze the worst-case convergence behavior of the BPP under Assumptions A2 and A3. We first state the Bregman nonexpansivity of _**R**_ below. For _ρ_ = 0 and for any Legendre _h_ , this reduces to the quasi-Bregman firmly nonexpansive property _Dh_ ( _**x** ∗,_ _**Rx**_ ) _≤ Dh_ ( _**x** ∗,_ _**x**_ ) _− Dh_ ( _**Rx** ,_ _**x**_ ) (Borwein et al., 2011; Eckstein, 1993).
|
| 132 |
+
|
| 133 |
+
**Lemma 2.** _Let_ _**M** satisfy Assumption A3 for some ρ ≥_ 0 _, and h be an Lh-smooth Legendre function. Then, if_ _**Rx** exists, for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,][ D] h_[(] _**[x]** ∗[,]_ _**[ Rx]**_[)] _[ ≤][D] h_[(] _**[x]** ∗[,]_ _**[ x]**_[)] _[ −]_[(1] _[ −][ρL] h_[)] _[D] h_[(] _**[Rx]**[,]_ _**[ x]**_[)] _[.]_
|
| 134 |
+
|
| 135 |
+
This lemma presents that the condition _ρLh ≤_ 1 guarantees the quasi-Bregman nonexpansiveness _Dh_ ( _**x** ∗,_ _**Rx**_ ) _≤ Dh_ ( _**x** ∗,_ _**x**_ ). We then have the following worst-case rate in terms of the best Bregman distance between two successive iterates (consequently the best squared subgradient norm) under the weak MVI condition, and the convergence property of the iterate sequences. These built upon (Eckstein, 1993, Theorem 1) of the BPP for a monotone operator.
|
| 136 |
+
|
| 137 |
+
**Theorem 1.** _Let_ _**M** satisfy Assumptions A2 and A3 for some γ, ρ ≥_ 0 _, and h be a µh-strongly convex and Lh-smooth Legendre function with µh > γ and ρLh <_ 1 _, respectively. Then, the sequence {_ _**x** k} of the BPP method (3) satisfies, for k ≥_ 1 _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 138 |
+
|
| 139 |
+
**==> picture [258 x 26] intentionally omitted <==**
|
| 140 |
+
|
| 141 |
+
_Moreover, all limit points of the sequence {_ _**x** k} are in X∗_ ( _**M**_ ) _, and if we further assume that X∗[ρ]_[(] _**[M]**_[) =] _[ X] ∗_[(] _**[M]**_[)] _[, the sequence][ {]_ _**[x]** k[}][ converges to a solution]_ _**[ x]** ∗[∈][X] ∗[ρ]_[(] _**[M]**_[)] _[.]_
|
| 142 |
+
|
| 143 |
+
4.3 BPP WITH PROJECTION ONTO A SEPARATING HYPERPLANE
|
| 144 |
+
|
| 145 |
+
We further develop a variant of the BPP that iteratively projects a point onto the following hyperplane _H_ ( _**x**_ ) := � _**x**_ ¯ _∈_ R _d_ : _⟨∇h_ ( _**x**_ ) _−∇h_ ( _**Rx**_ ) _,_ _**x** −_ _**x**_ ¯ _⟩_ = � _L_ 1 _h[−][ρ]_ 2 � _||∇h_ ( _**x**_ ) _−∇h_ ( _**Rx**_ ) _||_[2][�] that separates _**x**_ and _X∗[ρ]_[(] _**[M]**_[)][ under the condition] _[ ρL] h[<]_[ 2][ (unless] _[ ∇][h]_[(] _**[x]**_[) =] _[ ∇][h]_[(] _**[Rx]**_[)][), for any] _**[ x]**[ ∈]_[R] _[d]_ (see Appendix C.4). We leave investigating other choices of separating hyperplane as future work.
|
| 146 |
+
|
| 147 |
+
5
|
| 148 |
+
|
| 149 |
+
**==> picture [334 x 25] intentionally omitted <==**
|
| 150 |
+
|
| 151 |
+
This requires additional computation of _∇h_ , compared to the standard BPP, while generating a quasi-firmly nonexpansive sequence, as shown in Lemma 3. Note that such projection technique, originally appeared in (Solodov & Svaiter, 1999), has been also used for the extragradient method in (Pethick et al., 2022), yielding a convergence guarantee for a larger range of _ρ_ .
|
| 152 |
+
|
| 153 |
+
**Lemma 3.** _Let_ _**M** satisfy Assumption A3 for some ρ ≥_ 0 _, and h be an Lh-smooth Legendre function with ρLh ≤_ 2 _. Then, if_ _**Rx** exists, for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,][ ||]_ _**[Rx]**_[ ˜] _[−]_ _**[x]** ∗[||]_[2] _[≤||]_ _**[x]**[−]_ _**[x]** ∗[||]_[2] _[ −||]_ _**[Rx]**_[ ˜] _[−]_ _**[x]**[||]_[2] _[,] where_ _**R**_[˜] := _**I** −_ � _L_ 1 _h[−][ρ]_ 2 � ( _∇h −∇h_ _**R**_ ) _._
|
| 154 |
+
|
| 155 |
+
We then have the following worst-case rate in terms of the squared subgradient norm, and the convergence property of the iterate sequences, for a larger range of _ρ_ , compared to the standard BPP. **Theorem 2.** _Let_ _**M** satisfy Assumptions A2 and A3 for some γ, ρ ≥_ 0 _, and h be a µh-strongly convex and Lh-smooth Legendre function with µh > γ and ρLh <_ 2 _, respectively. Then, the sequence {_ _**x** k} of the BPP method with projection (4) satisfies, for k ≥_ 1 _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 156 |
+
|
| 157 |
+
**==> picture [192 x 26] intentionally omitted <==**
|
| 158 |
+
|
| 159 |
+
_Moreover, all limit points of the sequence {_ _**x** k} are in X∗_ ( _**M**_ ) _, and if we further assume that X∗[ρ]_[(] _**[M]**_[) =] _[ X] ∗_[(] _**[M]**_[)] _[, the sequence][ {]_ _**[x]** k[}][ converges to a solution]_ _**[ x]** ∗[∈][X] ∗[ρ]_[(] _**[M]**_[)] _[.]_
|
| 160 |
+
|
| 161 |
+
## 5 SEMI-ANCHORED GRADIENT METHODS
|
| 162 |
+
|
| 163 |
+
5.1 CONSTRUCTING SEMI-ANCHORED GRADIENT METHOD FROM PDHG VIA BPP
|
| 164 |
+
|
| 165 |
+
Inspired by the linear preconditioner _**P**_ ( _**u** ,_ _**v**_ ) of the PDHG, which is equivalent to choosing _h_ ( _**u** ,_ _**v**_ ) = 21 _τ_ � _||_ _**u** ||_[2] + _||_ _**v** ||_[2][�] _−⟨_ _**u** ,_ _**Bv** ⟩_ in the BPP, our main contribution of this paper is to consider the following Legendre function:
|
| 166 |
+
|
| 167 |
+
**==> picture [284 x 21] intentionally omitted <==**
|
| 168 |
+
|
| 169 |
+
Under Assumption A1, this _h_ is � _τ_ 1 _[−][L]_ �-strongly convex[1] when _τ_[1] _[> L]_[.][This yields the Bregman] distance, which is a difference between the function _ϕ_ and its quadratic upper bound at _**y**_ :
|
| 170 |
+
|
| 171 |
+
**==> picture [324 x 21] intentionally omitted <==**
|
| 172 |
+
|
| 173 |
+
This Bregman distance _Dh_ ( _**x** k,_ _**x** k−_ 1) of the successive iterates is used as an optimality measure in our worst-case rate analysis, which has not been observed anywhere in minimax optimization literatures. We believe having such optimality measure, tailored from using the analysis of the Bregman proximal point method and our specific choice of _h_ , may be the key of having successful extension of the PDHG to nonconvex-nonconcave problems, which calls for further investigation. We have already shown in Theorem 1 that this upper bounds the squared subgradient norm, a standard optimality measure, so our rate analysis easily translates to standard rate analysis.
|
| 174 |
+
|
| 175 |
+
We are now ready to state our new method. Since _**M**_ in (2) is _L_[ˆ] = max _{L_ _**uu** , L_ _**vv** }_ - weaklyfor _τ_ 1 _[−]_ monotone, _[L][>] L_ ˆ, theby correspondingLemma 1. TheBPPBPPupdateupdate(3) with(3) with _∇h h_ = in _τ_ 1 _**[I]**_ (5 _[−∇]_ ) is _[ϕ]_ ( _**u**_[is] _k_ +1[well-defined] _,_ _**v** k_ +1) = � _τ_ 1 _**[I]**[−∇][ϕ]_[ +] _**[ M]**_ � _−_ 1 � _τ_ 1 _**[I]**[−∇][ϕ]_ � ( _**u** k,_ _**v** k_ ). Rewriting this in the minimization and maximization form respectively leads to 1 _**u** k_ +1 = arg min (7) _**u** ∈_ R _[du]_ � 2 _τ[||]_ _**[u]**[ −]_[(] _**[u]**[k][ −][τ][∇]_ _**[u]**[ϕ]_[(] _**[u]**[k][,]_ _**[ v]**[k]_[))] _[||]_[2][ +] _[ f]_[(] _**[u]**_[)] �
|
| 176 |
+
|
| 177 |
+
> 1We have that _⟨∇h_ ( _**x**_ ) _−∇h_ ( _**y**_ ) _,_ _**x** −_ _**y** ⟩_ = _τ_ 1 _[||]_ _**[x]**[ −]_ _**[y]**[||]_[2] _[ −⟨∇][ϕ]_[(] _**[x]**_[)] _[ −∇][ϕ]_[(] _**[y]**_[)] _[,]_ _**[x]**[ −]_ _**[y]**[⟩≥]_ � _τ_ 1 _[−][L]_ � _||_ _**x** −_ _**y** ||_[2] for all _**x** ,_ _**y** ∈_ R _[d]_ , where the last inequality uses the _L_ -Lipschitz continuity of _∇ϕ_ .
|
| 178 |
+
|
| 179 |
+
6
|
| 180 |
+
|
| 181 |
+
**==> picture [317 x 24] intentionally omitted <==**
|
| 182 |
+
|
| 183 |
+
The minimization in _**u**_ can be solved by one proximal gradient update, while the maximization in _**v**_ is equivalent to an implicit update _**v** k_ +1 = prox _τg_ [ _**v** k_ + _τ_ (2 _∇_ _**v** ϕ_ ( _**u** k_ +1 _,_ _**v** k_ +1) _−∇_ _**v** ϕ_ ( _**u** k,_ _**v** k_ ))]. Since the proximal point, _i.e.,_ anchoring, only happens in _**v**_ , we name this technique to be semianchoring (SA). In particular, when equipped with the exact maximization oracle, we call this method, SA-GDmax, as it resembles GDmax. Similarly, built upon the BPP with projection, we obtain SA-GDmax with projection.
|
| 184 |
+
|
| 185 |
+
Lemma 1 and Theorems 1 and 2 of the BPP method (with projection), that will be used for the rate analysis of SA-GDmax, also apply to the standard proximal point method (with _h_ ( _**x**_ ) = 21 _τ[||]_ _**[x]**[||]_[2][),] _[i.e.]_[,] _**[x]**[k]_[+1][=][(] _[I]_[+] _[ τ]_ _**[M]**_[)] _[−]_[1] _**[x]**[k]_[.][Such,][however,][requires][solving][a][regularized] _[minimax]_ ( _**u** k_ +1 _,_ _**v** k_ +1) = arg min _**u**_ max _**v**_ � _f_ ( _**u**_ ) + _ϕ_ ( _**u** ,_ _**v**_ ) _− g_ ( _**v**_ ) + 21 _τ[||]_ _**[u]**[ −]_ _**[u]**[k][||]_[2] _[ −]_ 21 _τ[||]_ _**[v]**[ −]_ _**[v]**[k][||]_[2][�] _,_ at each iteration, while the SA-GDmax needs one gradient descent step and a _maximization_ at each iteration. Both methods intrinsically have an implicit regularization (smoothing), and thus have a good convergence guarantee, while the latter is preferred in terms of the computational complexity.
|
| 186 |
+
|
| 187 |
+
## 5.2 DEVELOPING A PRACTICAL VARIANT OF SEMI-ANCHORED GRADIENT METHOD
|
| 188 |
+
|
| 189 |
+
In many practical cases, exact maximization oracle is not available. So as a first attempt to making the SA gradient method more practical, we consider applying an iterative method for the maximization in _**v**_ . The maximization problem in _**v**_ consists of a � _τ_ 1[+ 2] _[L]_ _**[vv]**_ �-smooth and � _τ_ 1 _[−]_[2] _[L]_ _**[vv]**_ �-strongly concave function, and a concave but possibly nonsmooth function _−g_ . We can thus use total _J_ number of (inner) proximal gradient steps (using the Lipschitz continuity of _∇_ _**vv** ϕ_ ( _**u** k_ +1 _, ·_ )) for the (inexact) maximization in _**v**_ ; fast proximal gradient methods (Beck & Teboulle, 2009; Chambolle & Pock, 2016) can be used for acceleration. Since this involves multiple gradient steps, we name this semi-anchored multi-step gradient descent ascent (SA-MGDA). The resulting SA-MGDA method (with projection) is illustrated in Algorithm 1 (for _L_ _**vv** >_ 0). The _**v** k,j_ +1 update involves a convex combination of an _anchor_ point, _**v** k − τ ∇_ _**v** ϕ_ ( _**u** k,_ _**v** k_ ), that only depends on the previous point ( _**u** k,_ _**v** k_ ) and a recent point, _**v** k,j_ + _L_ 1 _**vv**[∇]_ _**[v]**[ϕ]_[(] _**[u]**[k]_[+1] _[,]_ _**[ v]**[k,j]_[)][, that depends on][ (] _**[u]**[k]_[+1] _[,]_ _**[ v]**[k,j]_[)][.][So the name] anchoring is more apparent here.
|
| 190 |
+
|
| 191 |
+
**Algorithm 1** SA-MGDA (with projection) for (1) with _L_ _**vv** >_ 0
|
| 192 |
+
|
| 193 |
+
**==> picture [368 x 109] intentionally omitted <==**
|
| 194 |
+
|
| 195 |
+
We leave making a more practical version of the SA gradient method, without both exact maximization oracle and inner iterations, as future work. Note that the extragradient method is such a practical variant of the proximal point method. We believe that our development of the SA-GDmax and the SA-MGDA can be a foundation for further development of a practical PDHG-like method that is comparable or outperforming the extragradient method in nonconvex-nonconcave minimax problems. We next provide worst-case rates of the SA-GDmax and SA-MGDA that are comparable to those of the extragradients.
|
| 196 |
+
|
| 197 |
+
## 6 ANALYZING SEMI-ANCHORED GRADIENT METHODS
|
| 198 |
+
|
| 199 |
+
## 6.1 ANALYZING THE EXACT SA GRADIENT METHOD: SA-GDMAX
|
| 200 |
+
|
| 201 |
+
The worst-case rate of the SA-GDmax directly follows from Lemma 1 and Theorem 1 of the BPP method, for a specific _h_ in (5) that is _µh_ -strongly convex and _Lh_ -smooth with _µh_ = _τ_[1] _[−][L]_[and]
|
| 202 |
+
|
| 203 |
+
7
|
| 204 |
+
|
| 205 |
+
_Lh_ = _τ_[1][+] _[ L]_[.][In specific, the proof follows from Theorem][ 1][ with constraints] _[ µ][h][>][L]_[ˆ][ and] _[ ρL][h][<]_[ 1][,] yielding _τ <_[1] _/_ ( _L_ + _L_[ˆ] ) and _τ >[ρ] /_ (1 _−ρL_ ). We also need _ρ <_[1] _/_ (2 _L_ + _L_[ˆ] ), so that _τ_ exists. **Theorem 3.** _Let_ _**M** (2) of the composite problem (1) satisfy Assumption A3 for some ρ ∈_ �0 _,_ 2 _L_ 1+ _L_[ˆ] � _, and let f, g and ϕ satisfy Assumption A1. Then, the sequence {_ _**x** k} of the SA-GDmax (_ i.e. _, SA-MGDA with J_ = _∞) satisfies, for k ≥_ 1 _, τ ∈_ � 1 _−ρρL[,] L_ +1 _L_[ˆ] � _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,] ||_ _**s** i||_[2] _Dh_ ( _**x** ∗,_ _**x**_ 0) min min 1 _≤_ min 1 _i_ =1 _,...,k_ _**s** i∈_ _**Mx** i_ 2 � _τ_[+] _[ L]_ � _i_ =1 _,...,k[D][h]_[(] _**[x]**[i][,]_ _**[ x]**[i][−]_[1][)] _[ ≤]_ �1 _− ρ_ � _τ_[+] _[ L]_ �� _k[.] Moreover, all limit points of the sequence {_ _**x** k} are in X∗_ ( _**M**_ ) _, and if we further assume that X∗[ρ]_[(] _**[M]**_[) =] _[ X] ∗_[(] _**[M]**_[)] _[, the sequence][ {]_ _**[x]** k[}][ converges to a solution]_ _**[ x]** ∗[∈][X] ∗[ρ]_[(] _**[M]**_[)] _[.]_
|
| 206 |
+
|
| 207 |
+
The EG+ (Diakonikolas et al., 2021) and CEG+ (Pethick et al., 2022) have shown that they have the same _O_ (1 _/k_ ) rate for the squared gradient norm. We want to note that our result is on the Bregman distance that is an upper bound on the squared gradient norm. So, it is possible that we have a gain in the convergence rate, which we observe in our experiments. Of course, the SA-GDmax is comparable to the extragradient in terms of the computational complexity only if we have a computationally cheap exact maximization oracle.
|
| 208 |
+
|
| 209 |
+
Similarly, we have the following theorem of the SA-GDmax with projection. With additional computation of _**M** ϕ_ ˆ _**x** k_ +1, it works for a larger range of _ρ_ values. The proof follows from Theorem 2 with constraints _µh > L_[ˆ] and _ρLh <_ 2, yielding _τ <_[1] _/_ ( _L_ + _L_[ˆ] ) and _τ >[ρ] /_ (2 _−ρL_ ). We also need _ρ <_[2] _/_ (2 _L_ + _L_[ˆ] ), so that _τ_ exists. Note that this method becomes more useful for a finite _J_ soon.
|
| 210 |
+
|
| 211 |
+
**Theorem 4.** _Let_ _**M** (2) of the composite problem (1) satisfy Assumption A3 for some ρ ∈_ �0 _,_ 2 _L_ 2+ _L_[ˆ] � _, and let f, g and ϕ satisfy Assumption A1. Then, the sequence {_ _**x** k} of the SA-GDmax with projection satisfies, for k ≥_ 1 _, τ ∈_ � 2 _−ρρL[,] L_ +1 _L_[ˆ] � _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 212 |
+
|
| 213 |
+
**==> picture [236 x 29] intentionally omitted <==**
|
| 214 |
+
|
| 215 |
+
_Moreover, all limit points of the sequence {_ _**x** k} are in X∗_ ( _**M**_ ) _, and if we further assume that X∗[ρ]_[(] _**[M]**_[) =] _[ X] ∗_[(] _**[M]**_[)] _[, the sequence][ {]_ _**[x]** k[}][ converges to a solution]_ _**[ x]** ∗[∈][X] ∗[ρ]_[(] _**[M]**_[)] _[.]_
|
| 216 |
+
|
| 217 |
+
## 6.2 ANALYZING THE INEXACT SA GRADIENT METHOD: SA-MGDA
|
| 218 |
+
|
| 219 |
+
This section studies the convergence behavior of the SA-MGDA (with projection). The SA-MGDA can be viewed as an inexact variant of the BPP method (Eckstein, 1998), which generates a point _**x** k_ +1 different from _**Rx** k_ at the _k_ th iteration. Therefore, the proof of the following theorem of the SA-MGDA first extends Theorem 1 of the (exact) BPP to its inexact variant in Appendix D.1. Then, we consequently have the following theorem for the SA-MGDA (see Theorem 7 in Appendix D.1 for a more detailed statement). Its gradient computation complexity _O_ ( _ϵ[−]_[1] log _ϵ[−]_[1] ) matches the complexity of the SA-GDmax up to a logarithmic factor. We consider the case where _f_ and _g_ are prox-friendly, so we will neglect the complexity of their proximal operations.
|
| 220 |
+
|
| 221 |
+
**Theorem 5.** _Let_ _**M** (2) of the composite problem (1) satisfy Assumption A3 for some ρ ∈_ �0 _,_ 2 _L_ 1+ _L_[ˆ] � _, and let f, g and ϕ satisfy Assumption A1. Then, the SA-MGDA method finds an ϵ-stationary point, ||_ _**s** ||_[2] _i.e., a point_ _**x** satisfying_ min _**s** ∈_ _**MRx**_ 2( _τ_[1][+] _[L]_[)] _[≤][D][h]_[(] _**[Rx]**[,]_ _**[ x]**_[)] _[ ≤][ϵ][,][with][k]_[=] _[O]_[(] _[ϵ][−]_[1][)] _[number][of] outer iterations and J_ = _O_ (log� _ϵ[−]_[1][�] ) _inner iterations, requiring total O_ ( _ϵ[−]_[1] log _ϵ[−]_[1] ) _gradient computations._
|
| 222 |
+
|
| 223 |
+
We have exactly the same complexity result for the SA-MGDA with projection, in terms of the squared gradient norm, but for a larger region of _ρ_ values below, illustrating the importance of the projection step. The proof similarly first extends Theorem 2 of the (exact) BPP with projection to its inexact variant in Appendix D.2, and consequently have the following result (see Theorem 8 in Appendix D.2 for a more detailed statement).
|
| 224 |
+
|
| 225 |
+
**Theorem 6.** _Let_ _**M** (2) of the composite problem (1) satisfy Assumption A3 for some ρ ∈_ �0 _,_ 2 _L_ 2+ _L_[ˆ] � _, and let f, g and ϕ satisfy Assumption A1. Then, the SA-MGDA with projection finds an ϵ-stationary point, i.e., a point_ _**x** satisfying_ min _**s** ∈_ _**MRx** ||_ _**s** ||_[2] _≤ ϵ, with k_ = _O_ ( _ϵ[−]_[1] ) _number of outer iterations and J_ = _O_ (log� _ϵ[−]_[1][�] ) _inner iterations, requiring total O_ ( _ϵ[−]_[1] log _ϵ[−]_[1] ) _gradient computations._
|
| 226 |
+
|
| 227 |
+
8
|
| 228 |
+
|
| 229 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 230 |
+
|
| 231 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 232 |
+
|
| 233 |
+
Figure 1: Toy example: (Left) Squared gradient norm, (Right) Our optimality measure (6).
|
| 234 |
+
|
| 235 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 236 |
+
|
| 237 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 238 |
+
|
| 239 |
+
Figure 2: Fair classification: the number of correctly classified test data for the worst category vs. iteration with (Left) _τ_ = 0 _._ 01 and (Right) _τ_ = 0 _._ 001.
|
| 240 |
+
|
| 241 |
+
## 7 NUMERICAL RESULTS
|
| 242 |
+
|
| 243 |
+
We consider two experiments that an efficient max-oracle is available. The first toy example satisfies the weak MVI, while the second one is not known to satisfy it. The latter is provided to see whether the SA works well in practice. For both cases, the SA-GDmax method outperforms the extragradient.
|
| 244 |
+
|
| 245 |
+
## 7.1 TOY EXAMPLE
|
| 246 |
+
|
| 247 |
+
We consider a toy example _ϕ_ ( _u, v_ ) = _−[L]_ 4[2] _[ρ][u]_[2][ +] _[ L]_ �1 _− L_[2] _ρ_[2] _/_ 4 _uv_ + _[L]_ 4[2] _[ρ][v]_[2][(] _[f]_[(] _[u]_[)][=] _[g]_[(] _[v]_[)][=][0][)][,] which has a saddle operator satisfying _L_ -Lipschitz continuity and _ρ_ -weak MVI. We compare SAGDmax with CEG+ and GDmax (to also verify the effectiveness of SA in GDmax). Since GDmax does not converge in our setting, it is applied to a regularized problem _ϕλ_ ( _u, v_ ) := _ϕ_ ( _u, v_ ) _−[λ]_ 2 _[∥][v][ −]_ 2 _v_ 0 _∥_[2] (Nouiehed et al., 2019). Here, we take _ρ_ = 3 _L_[,] _[ L]_[ = 1][, and][ (] _[u]_[0] _[, v]_[0][) = (1] _[,]_[ 1] _[/]_[2)][.][Fig.][ 1][ presents] that the SA-GDmax outperforms CEG+ with _α_ ¯ =[1] _[−]_ 2 _[L][ρ]_ , and the GDmax with various choices of _λ_ .
|
| 248 |
+
|
| 249 |
+
## 7.2 FAIR CLASSIFICATION
|
| 250 |
+
|
| 251 |
+
To make the trained model fair to all categories, Mohri et al. (2019) considered a minimax problem that minimizes the maximum loss among the categories. We study such fair classification experiment in Nouiehed et al. (2019) on the Fashion MNIST data set[2] (Xiao et al., 2017). Similar to Nouiehed et al. (2019), we focus on the data labeled as T-shirt/top, Coat, and Shirt. The corresponding minimax problem is min _**u**_ max _i_ =1 _,_ 2 _,_ 3 _Li_ ( _**u**_ ), where _**u**_ denotes the parameters of the neural network (see Appendix F for the details), and _L_ 1, _L_ 2, and _L_ 3 denote the cross-entropy losses of the training data in each category, respectively. This is equivalent to min _**u**_ max _**v** ∈V_ �3 _i_ =1 _[v][i][L][i]_[(] _**[u]**_[)][,][where] _V_ = � _**v** ∈_ R[3] +[:][�][3] _i_ =1 _[v][i]_[=][1] �, _i.e._ , _ϕ_ ( _**u** ,_ _**v**_ ) =[�][3] _i_ =1 _[v][i][L][i]_[(] _**[u]**_[)][with] _[f]_[=][0][and] _[g]_[(] _**[v]**_[)][=] _[δ][V]_[(] _**[v]**_[)][.] Since the problem is not strongly concave in _**v**_ , Nouiehed et al. (2019) applied the GDmax to a regularized problem min _**u**_ max _**v** ∈V_ �3 _i_ =1 _[v][i][L][i]_[(] _**[u]**_[)] _[ −][λ]_ 2 �3 _i_ =1 _[v] i_[2][.][We ran the CEG+, GDmax, and] SA-GDmax methods with the same learning rates _τ_ = 0 _._ 01 _,_ 0 _._ 001. For the GDmax, we considered various regularization parameters _λ_ = 0 _,_ 0 _._ 01 _,_ 0 _._ 1 _,_ 1. We performed 50 independent simulations for each case, and, in Fig. 2, we report the mean and standard deviation of the number of correctly classified test data (out of 1000) for the worst[3] category, versus iterations. We have gains on SA-GDmax over CEG+ and GDmax, similar to our toy experiment, as expected.
|
| 252 |
+
|
| 253 |
+
> 2 This consists of 28 _×_ 28 grayscale cloth images of ten categories; 60000 data for training and 10000 for test.
|
| 254 |
+
|
| 255 |
+
> 3The worst category denotes the smallest number of correctly classified test data among the three categories.
|
| 256 |
+
|
| 257 |
+
9
|
| 258 |
+
|
| 259 |
+
## REFERENCES
|
| 260 |
+
|
| 261 |
+
- M. Arjovsky, S. Chintala, and L. Bottou. Wasserstein generative adversarial networks. In _Proc. Intl. Conf. Mach. Learn_ , 2017.
|
| 262 |
+
|
| 263 |
+
- B. Barazandeh and M. Razaviyayn. Solving non-convex non-differentiable min-max games using proximal gradient method. In _Proc. IEEE Conf. Acoust. Speech Sig. Proc._ , 2020. doi: 10.1109/ ICASSP40776.2020.9054474.
|
| 264 |
+
|
| 265 |
+
- H. H. Bauschke and P. L. Combettes. _Convex analysis and monotone operator theory in Hilbert spaces_ . Springer, 2011. doi: 10.1007/978-1-4419-9467-7.
|
| 266 |
+
|
| 267 |
+
- H. H. Bauschke, J. M. Borwein, and P. L. Combettes. Bregman monotone optimization algorithms. _SIAM J. Control Optim._ , 42(2):596–636, 2003. doi: 10.1137/S0363012902407120.
|
| 268 |
+
|
| 269 |
+
- H. H. Bauschke, X. Wang, and L. Yao. General resolvents for monotone operators: characterization and extension. In _Biomedical Mathematics: Promising Directions in Imaging,Therapy Planning, and Inverse Problems_ , pp. 57–74, 2010.
|
| 270 |
+
|
| 271 |
+
- H. H. Bauschke, J. Bolte, and M. Teboulle. A descent lemma beyond Lipschitz gradient continuity: first-order methods revisited and applications. _Math. Oper. Res._ , 42(2):330–48, 2016.
|
| 272 |
+
|
| 273 |
+
- H. H. Bauschke, W. M. Moursi, and X. Wang. Generalized monotone operators and their averaged resolvents. _Mathematical Programming_ , 189(1):55–74, 2021.
|
| 274 |
+
|
| 275 |
+
- A. Beck. _First-order methods in optimization_ . Soc. Indust. Appl. Math., 2017. URL http: //bookstore.siam.org/mo25/.
|
| 276 |
+
|
| 277 |
+
- A. Beck and M. Teboulle. Mirror descent and nonlinear projected subgradient methods for convex optimization. _Operations Research Letters_ , 3(31):167–75, May 2003. doi: ’10.1016/S0167-6377(02) 00231-6’.
|
| 278 |
+
|
| 279 |
+
- A. Beck and M. Teboulle. A fast iterative shrinkage-thresholding algorithm for linear inverse problems. _SIAM J. Imaging Sci._ , 2(1):183–202, 2009. doi: 10.1137/080716542.
|
| 280 |
+
|
| 281 |
+
- J. Bolte, S. Sabach, M. Teboulle, and Y. Vaisbourd. First order methods beyond convexity and Lipschitz gradient continuity with applications to quadratic inverse problems. _SIAM J. Optim._ , 28 (3):2131–2151, 2018. doi: 10.1137/17M1138558.
|
| 282 |
+
|
| 283 |
+
- J. M. Borwein, S. Reich, and S. Sabach. A characterization of Bregman firmly nonexpansive operators using a new monotonicity concept. _J. Nonlinear Convex Anal._ , 12(1):161–84, 2011.
|
| 284 |
+
|
| 285 |
+
- L. M. Bregman. The relaxation method for finding the common point of convex sets and its application to the solution of problems in convex programming. _USSR Comp Math and Math Phys_ , 7:200–17, 1967.
|
| 286 |
+
|
| 287 |
+
- A. Chambolle and T. Pock. A first-order primal-dual algorithm for convex problems with applications to imaging. _J. Math. Im. Vision_ , 40(1):120–145, 2011. doi: 10.1007/s10851-010-0251-1.
|
| 288 |
+
|
| 289 |
+
- A. Chambolle and T. Pock. An introduction to continuous optimization for imaging. _Acta Numerica_ , 25:161–319, 2016. doi: 10.1017/S096249291600009X.
|
| 290 |
+
|
| 291 |
+
- P. L. Combettes and T. Pennanen. Proximal methods for cohypomonotone operators. _SIAM J. Control Optim._ , 43(2):731–42, 2004. doi: 10.1137/S0363012903427336.
|
| 292 |
+
|
| 293 |
+
- C. D. Dang and G. Lan. On the convergence properties of non-Euclidean extragradient methods for variational inequalities with generalized monotone operators. _Computational Optimization and Applications_ , 60(2):277–310, 2015. doi: 10.1007/s10589-014-9673-9.
|
| 294 |
+
|
| 295 |
+
- J. M. Danskin. _The theory of max-min, and its application to weapons allocation problem_ . SpringerVerlag Berlin Heidelberg, 1967. doi: 10.1007/978-3-642-46092-0.
|
| 296 |
+
|
| 297 |
+
- C. Daskalakis, D. J. Foster, and N. Golowich. Independent policy gradient methods for competitive reinforcement learning. In _Neural Info. Proc. Sys._ , 2020.
|
| 298 |
+
|
| 299 |
+
10
|
| 300 |
+
|
| 301 |
+
- J. Diakonikolas, C. Daskalakis, and M. Jordan. Efficient methods for structured nonconvexnonconcave min-max optimization. In _International Conference on Artificial Intelligence and Statistics_ , pp. 2746–2754. PMLR, 2021.
|
| 302 |
+
|
| 303 |
+
- J. Eckstein. Nonlinear proximal point algorithms using Bregman functions, with applications to convex programming. _Mathematics of Operations Research_ , 18(1):202–26, 1993. doi: 10.1287/ moor.18.1.202.
|
| 304 |
+
|
| 305 |
+
- J. Eckstein. Approximate iterations in Bregman-function-based proximal algorithms. _Mathematical Programming_ , 83:113–23, January 1998.
|
| 306 |
+
|
| 307 |
+
- E. Esser, X. Zhang, and T. Chan. A general framework for a class of first order primal-dual algorithms for convex optimization in imaging science. _SIAM J. Imaging Sci._ , 3(4):1015–46, 2010. doi: 10.1137/09076934X.
|
| 308 |
+
|
| 309 |
+
- I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial networks. In _Neural Info. Proc. Sys._ , 2014.
|
| 310 |
+
|
| 311 |
+
- Eduard Gorbunov, Nicolas Loizou, and Gauthier Gidel. Extragradient method: _O_ (1 _/K_ ) lastiterate convergence for monotone variational inequalities and connections with cocoercivity. In _International Conference on Artificial Intelligence and Statistics_ , pp. 366–402. PMLR, 2022.
|
| 312 |
+
|
| 313 |
+
- B. Grimmer, H. Lu, P. Worah, and V. Mirrokni. The landscape of the proximal point method for nonconvex–nonconcave minimax optimization. _Mathematical Programming_ , pp. 1–35, 2022.
|
| 314 |
+
|
| 315 |
+
- E. Y. Hamedani and N. S. Aybat. A primal-dual algorithm with line search for general convex-concave saddle point problems. _SIAM J. Optim._ , 31(2):1299–1329, 2021. doi: 10.1137/18M1213488.
|
| 316 |
+
|
| 317 |
+
- B. He and X. Yuan. Convergence analysis of primal-dual algorithms for a saddle-point problem: from contraction perspective. _SIAM J. Imaging Sci._ , 5(1):119–49, 2012. doi: 10.1137/100814494.
|
| 318 |
+
|
| 319 |
+
- Y.-G. Hsieh, F. Iutzeler, J. Malick, and P. Mertikopoulos. On the convergence of single-call stochastic extra-gradient methods. In _Neural Info. Proc. Sys._ , 2019.
|
| 320 |
+
|
| 321 |
+
- C. Jin, P. Netrapalli, and M. I. Jordan. What is local optimality in nonconvex-nonconcave minimax optimization? In _Proc. Intl. Conf. Mach. Learn_ , 2020.
|
| 322 |
+
|
| 323 |
+
- G. M. Korpelevich. An extragradient method for finding saddle points and other problems. _Ekonomika i Mateaticheskie Metody_ , 12(4):747–56, 1976.
|
| 324 |
+
|
| 325 |
+
- A. Kurakin, I. J. Goodfellow, and S. Bengio. Adversarial machine learning at scale. In _Proc. Intl. Conf. on Learning Representations_ , 2017.
|
| 326 |
+
|
| 327 |
+
- S. Lee and D. Kim. Fast extra gradient methods for smooth structured nonconvex-nonconcave minimax problems. In _Neural Info. Proc. Sys._ , 2021.
|
| 328 |
+
|
| 329 |
+
- H. Lu, R. M. Freund, and Y. Nesterov. Relatively smooth convex optimization by first-order methods, and applications. _SIAM J. Optim._ , 28(1):333–54, 2018. doi: 10.1137/16M1099546.
|
| 330 |
+
|
| 331 |
+
- Y. Malitsky. Golden ratio algorithms for variational inequalities. _Mathematical Programming_ , 184: 383–410, 2020.
|
| 332 |
+
|
| 333 |
+
- B. Martinet. Régularisation d’inéquations variationnelles par approximations successives. _Rev. Française Informat. Recherche Opérationnelle_ , 4:154–8, 1970.
|
| 334 |
+
|
| 335 |
+
- P. Mertikopoulos, B. Lecouat, H. Zenati, C.-S. Foo, V. Chandrasekhar, and G. Piliouras. Optimistic mirror descent in saddle-point problems: going the extra (gradient) mile. In _Proc. Intl. Conf. on Learning Representations_ , 2019.
|
| 336 |
+
|
| 337 |
+
- L. Mescheder, A. Geiger, and S. Nowozin. Which training methods for GANs do actually converge. In _Proc. Intl. Conf. Mach. Learn_ , 2018.
|
| 338 |
+
|
| 339 |
+
- A. M ˛adry, A. Makelov, L. Schmdit, D. Tsipras, and A. Vladu. Towards deep learning models resistant to adversarial attacks. In _Proc. Intl. Conf. on Learning Representations_ , 2018.
|
| 340 |
+
|
| 341 |
+
11
|
| 342 |
+
|
| 343 |
+
- M. Mohri, G. Sivek, and A. T. Suresh. Agnostic federated learning. In _Proc. Intl. Conf. Mach. Learn_ , 2019.
|
| 344 |
+
|
| 345 |
+
- A. Nemirovski. Prox-method with rate of convergence _O_ (1 _/t_ ) for variational inequalities with Lipschitz continuous monotone operators and smooth convex-concave saddle point problems. _SIAM J. Optim._ , 15(1):229–51, 2004. doi: 10.1137/S1052623403425629.
|
| 346 |
+
|
| 347 |
+
- Y. Nesterov. Dual extrapolation and its applications to solving variational inequalities and related problems. _Mathematical Programming_ , 109(2-3):319–44, March 2007.
|
| 348 |
+
|
| 349 |
+
- Y. Nesterov. _Lectures on Convex Optimization_ . Springer, 2018. doi: 10.1007/978-3-319-91578-4.
|
| 350 |
+
|
| 351 |
+
- L. V. Nguyen and X. Qin. Some results on strongly pseudomonotone quasi-variational inequalities. _Set-Valued and Variational Analysis_ , 28(2):239–257, 2020.
|
| 352 |
+
|
| 353 |
+
- M. Nouiehed, M. Sanjabi, T. Huang, and J. D. Lee. Solving a class of non-convex min-max games using iterative first order methods. In _Neural Info. Proc. Sys._ , 2019.
|
| 354 |
+
|
| 355 |
+
- T. Pethick, W. Xie, and V. Cevher. Stable nonconvex-nonconcave training via linear interpolation. In _Neural Info. Proc. Sys._ , 2023.
|
| 356 |
+
|
| 357 |
+
- T. M. Pethick, P. Latafat, P. Patrinos, O. Fercoq, and V. Cevher. Escaping limit cycles: Global convergence for constrained nonconvex-nonconcave minimax problems. In _Proc. Intl. Conf. on Learning Representations_ , number CONF, 2022.
|
| 358 |
+
|
| 359 |
+
- L. D. Popov. A modification of the Arrow-Hurwicz method for search of saddle points. _Mathematical notes of the Academy of Sciences of the USSR_ , 28(5):845–8, November 1980. doi: 10.1007/ BF01141092.
|
| 360 |
+
|
| 361 |
+
- R. T. Rockafellar. _Convex analysis_ . Princeton University Press, Princeton, 1970.
|
| 362 |
+
|
| 363 |
+
- R. T. Rockafellar. Monotone operators and the proximal point algorithm. _SIAM J. Cont. Opt._ , 14(5): 877–98, 1976. doi: 10.1137/0314056.
|
| 364 |
+
|
| 365 |
+
- M. V. Solodov and B. F. Svaiter. A hybrid projection-proximal point algorithm. _J. Convex Anal._ , 6 (1):59–70, 1999.
|
| 366 |
+
|
| 367 |
+
- C. Song, Z. Zhou, Y. Zhou, Y. Jiang, and Y. Ma. Optimistic dual extrapolation for coherent nonmonotone variational inequalities. In _Neural Info. Proc. Sys._ , 2020.
|
| 368 |
+
|
| 369 |
+
- M. Teboulle. A simplified view of first order methods for optimization. _Mathematical Programming_ , 170(1):67–96, July 2018. doi: 10.1007/s10107-018-1284-2.
|
| 370 |
+
|
| 371 |
+
- H. Xiao, K. Rasul, and R. Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms, 2017. arxiv 1708.07747.
|
| 372 |
+
|
| 373 |
+
- A. Yadav, S. Shah, Z. Xu, D. Jacobs, and T. Goldstein. Stabilizing adversarial nets with prediction methods. In _Proc. Intl. Conf. on Learning Representations_ , 2018.
|
| 374 |
+
|
| 375 |
+
- G. Zhang and Y. Yu. Convergence of gradient methods on bilinear zero-sum games. In _Proc. Intl. Conf. on Learning Representations_ , 2020.
|
| 376 |
+
|
| 377 |
+
- R. Zhao. Optimal stochastic algorithms for convex-concave saddle-point problems, 2019. arxiv 1903.01687.
|
| 378 |
+
|
| 379 |
+
- Z. Zhou, P. Mertikopoulos, N. Bambos, S. Boyd, and P. Glynn. Stochastic mirror descent in variationally coherent optimization problems. In _Neural Info. Proc. Sys._ , 2017.
|
| 380 |
+
|
| 381 |
+
12
|
| 382 |
+
|
| 383 |
+
|CONTENTS|CONTENTS||
|
| 384 |
+
|---|---|---|
|
| 385 |
+
|**1**|**Introduction**|**1**|
|
| 386 |
+
|**2**|**Preliminaries**|**2**|
|
| 387 |
+
||2.1<br>Bregman distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|2|
|
| 388 |
+
||2.2<br>Composite minimax problem and weakly monotone operator . . . . . . . . . . . .|3|
|
| 389 |
+
||2.3<br>Structured nonconvex-nonconcave problem<br>. . . . . . . . . . . . . . . . . . . . .|3|
|
| 390 |
+
|**3**|**Existing gradient-based methods**|**4**|
|
| 391 |
+
|**4**|**Bregman proximal point (BPP) method**|**4**|
|
| 392 |
+
||4.1<br>The_h_-resolvent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|4|
|
| 393 |
+
||4.2<br>BPP under weak MVI condition<br>. . . . . . . . . . . . . . . . . . . . . . . . . . .|5|
|
| 394 |
+
||4.3<br>BPP with projection onto a separating hyperplane . . . . . . . . . . . . . . . . . .|5|
|
| 395 |
+
|**5**|**Semi-anchored gradient methods**|**6**|
|
| 396 |
+
||5.1<br>Constructing semi-anchored gradient method from PDHG via BPP . . . . . . . . .|6|
|
| 397 |
+
||5.2<br>Developing a practical variant of semi-anchored gradient method . . . . . . . . . .|7|
|
| 398 |
+
|**6**|**Analyzing semi-anchored gradient methods**|**7**|
|
| 399 |
+
||6.1<br>Analyzing the exact SA gradient method: SA-GDmax . . . . . . . . . . . . . . . .|7|
|
| 400 |
+
||6.2<br>Analyzing the inexact SA gradient method: SA-MGDA<br>. . . . . . . . . . . . . .|8|
|
| 401 |
+
|**7**|**Numerical results**|**9**|
|
| 402 |
+
||7.1<br>Toy example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|9|
|
| 403 |
+
||7.2<br>Fair classifcation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|9|
|
| 404 |
+
|**A **|**Proof of Lipschitz continuity of**_∇ϕ_**and M**_ϕ_|**14**|
|
| 405 |
+
|**B**|**Proof of weak monotonicity of M**|**14**|
|
| 406 |
+
|**C **|**Proofs for Section 4**|**14**|
|
| 407 |
+
||C.1<br>Proof of Lemma 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|14|
|
| 408 |
+
||C.2<br>Proof of Lemma 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|15|
|
| 409 |
+
||C.3<br>Proof of Theorem 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|15|
|
| 410 |
+
||C.4<br>Separating hyperplane<br>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|16|
|
| 411 |
+
||C.5<br>Proof of Lemma 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|16|
|
| 412 |
+
||C.6<br>Proof of Theorem 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|16|
|
| 413 |
+
|**D **|**Proofs for Section 6**|**17**|
|
| 414 |
+
||D.1<br>Proof of Theorem 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|17|
|
| 415 |
+
||D.2<br>Proof of Theorem 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|19|
|
| 416 |
+
|
| 417 |
+
13
|
| 418 |
+
|
| 419 |
+
## **E BPP and SA gradient methods under strong MVI condition**
|
| 420 |
+
|
| 421 |
+
**22**
|
| 422 |
+
|
| 423 |
+
## **F Details of the structure of the neural network 24**
|
| 424 |
+
|
| 425 |
+
## A PROOF OF LIPSCHITZ CONTINUITY OF _∇ϕ_ AND **M** _ϕ_
|
| 426 |
+
|
| 427 |
+
Let _**x**_ := ( _**u** ,_ _**v**_ ) and _**y**_ := (¯ _**u** ,_ ¯ _**v**_ ). Since _∥∇ϕ_ ( _**u** ,_ _**v**_ ) _−∇ϕ_ (¯ _**u** ,_ ¯ _**v**_ ) _∥_ = _∥_ _**M** ϕ_ _**x** −_ _**M** ϕ_ _**y** ∥_ , it is enough to show that there exists a constant _L >_ 0 such that _∥∇ϕ_ ( _**u** ,_ _**v**_ ) _−∇ϕ_ (¯ _**u** ,_ ¯ _**v**_ ) _∥≤ L∥_ _**x** −_ _**y** ∥_ .
|
| 428 |
+
|
| 429 |
+
By Assumption A1, we have the following bounds
|
| 430 |
+
|
| 431 |
+
**==> picture [364 x 60] intentionally omitted <==**
|
| 432 |
+
|
| 433 |
+
Then, we can show the Lipschitz continuity as below.
|
| 434 |
+
|
| 435 |
+
**==> picture [328 x 11] intentionally omitted <==**
|
| 436 |
+
|
| 437 |
+
**==> picture [229 x 61] intentionally omitted <==**
|
| 438 |
+
|
| 439 |
+
## B PROOF OF WEAK MONOTONICITY OF **M**
|
| 440 |
+
|
| 441 |
+
By Assumption A1, _ϕ_ ( _·,_ _**v**_ ) is _L_ _**uu**_ -weakly convex for fixed _**v**_ , and _−ϕ_ ( _**u** , ·_ ) is _L_ _**vv**_ -weakly convex for fixed _**u**_ . Then, using the weak convexity on _**u**_ , we have
|
| 442 |
+
|
| 443 |
+
**==> picture [248 x 45] intentionally omitted <==**
|
| 444 |
+
|
| 445 |
+
for all _**u** ,_ ¯ _**u** ∈_ R _[d][u]_ and _**v** ,_ ¯ _**v** ∈_ R _[d][v]_ . Similarly, using the weak convexity on _**v**_ , we have
|
| 446 |
+
|
| 447 |
+
**==> picture [258 x 46] intentionally omitted <==**
|
| 448 |
+
|
| 449 |
+
Let _**x**_ = ( _**u** ,_ _**v**_ ), _**y**_ = (¯ _**u** ,_ ¯ _**v**_ ), _**w** ϕ_ = ( _∇_ _**u** ϕ_ ( _**u** ,_ _**v**_ ) _, −∇_ _**v** ϕ_ ( _**u** ,_ _**v**_ )), and _**z** ϕ_ = ( _∇_ _**u** ϕ_ (¯ _**u** ,_ ¯ _**v**_ ) _, −∇_ _**v** ϕ_ (¯ _**u** ,_ ¯ _**v**_ )). Then, summing the above four inequalities yields
|
| 450 |
+
|
| 451 |
+
**==> picture [304 x 28] intentionally omitted <==**
|
| 452 |
+
|
| 453 |
+
for all ( _**x** ,_ _**w**_ ) _,_ ( _**y** ,_ _**z**_ ) _∈_ gra _**M**_ , where the first inequality uses the convexity of _f_ and _g_ .
|
| 454 |
+
|
| 455 |
+
## C PROOFS FOR SECTION 4
|
| 456 |
+
|
| 457 |
+
C.1 PROOF OF LEMMA 1
|
| 458 |
+
|
| 459 |
+
> Note that _∇h_ + _**M**_ = ( _∇h − γ_ _**I**_ ) + ( _**M**_ + _γ_ _**I**_ ). From the condition that _µh > γ_ and _**M**_ is _γ_ -weakly monotone, it is straightforward to show that _h −[γ]_ 2 _[∥·][∥]_[2][is][a][Legendre][function][and] _**M**_ + _γ_ _**I**_ is maximally monotone. Then Bauschke et al. (2010, Corollary 2.3) shows that ran( _∇h_ + _**M**_ ) = R _[d]_ . This implies that _**Rx**_ is nonempty for all _**x** ∈_ int dom _h_ . Assume that _**y** ,_ _**z** ∈_ _**Rx**_ . Since _∇h_ ( _**x**_ ) _−∇h_ ( _**y**_ ) _∈_ _**My**_ and _∇h_ ( _**x**_ ) _−∇h_ ( _**z**_ ) _∈_ _**Mz**_ , we have _−γ∥_ _**y** −_ _**z** ∥_[2] _≤_
|
| 460 |
+
|
| 461 |
+
> _−⟨∇h_ ( _**y**_ ) _−∇h_ ( _**z**_ ) _,_ _**y** −_ _**z** ⟩≤−µh∥_ _**y** −_ _**z** ∥_[2] _._ So if _µh > γ_ , the inequality implies that _**y**_ = _**z**_ .
|
| 462 |
+
|
| 463 |
+
14
|
| 464 |
+
|
| 465 |
+
## C.2 PROOF OF LEMMA 2
|
| 466 |
+
|
| 467 |
+
By the definition of _**Rx**_ , we have _∇h_ ( _**x**_ ) _−∇h_ ( _**Rx**_ ) _∈_ _**MRx**_ . Then, Assumption A3 on _**M**_ implies that
|
| 468 |
+
|
| 469 |
+
**==> picture [389 x 77] intentionally omitted <==**
|
| 470 |
+
|
| 471 |
+
where the last inequality follows from the convex and _Lh_ -smooth properties of _h_ , _i.e._ , 2 _L_ 1 _h[||∇][h]_[(] _**[x]**_[)] _[ −] ∇h_ ( _**y**_ ) _||_[2] _≤ Dh_ ( _**x** ,_ _**y**_ ) for all _**x** ,_ _**y**_ (Nesterov, 2018, Theroem 2.1.5).
|
| 472 |
+
|
| 473 |
+
## C.3 PROOF OF THEOREM 1
|
| 474 |
+
|
| 475 |
+
By Lemma 1, the condition _µh > γ_ implies that _**Rx**_ exists for any _**x**_ . By Lemma 2, we get
|
| 476 |
+
|
| 477 |
+
**==> picture [313 x 11] intentionally omitted <==**
|
| 478 |
+
|
| 479 |
+
for all _i ≥_ 1. By summing over the above inequality, we get
|
| 480 |
+
|
| 481 |
+
**==> picture [266 x 59] intentionally omitted <==**
|
| 482 |
+
|
| 483 |
+
Hence, by dividing the both sides of the inequality by (1 _− ρLh_ ) _k_ , we get
|
| 484 |
+
|
| 485 |
+
**==> picture [350 x 30] intentionally omitted <==**
|
| 486 |
+
|
| 487 |
+
The first inequality follows from _∇h_ ( _**x** i_ ) _−∇h_ ( _**x** i−_ 1) _∈_ _**Mx** i_ , and the convex and _Lh_ -smooth properties of _h_ , _i.e._ , 2 _L_ 1 _h[||∇][h]_[(] _**[x]**_[)] _[ −∇][h]_[(] _**[y]**_[)] _[||]_[2] _[≤][D][h]_[(] _**[x]**[,]_ _**[ y]**_[)][ (][Nesterov][,][ 2018][, Theroem 2.1.5).]
|
| 488 |
+
|
| 489 |
+
Next, we prove that all limit point of the sequence _{_ _**x** k}_ are first-order stationary points. By (8), the sequence _{Dh_ ( _**x** ∗,_ _**x** k_ ) _}_ is bounded above, which implies that _{_ _**x** k}_ is a bounded sequence due to the strong convexity of _h_ . Let _**x** ∞_ be any limit point of _{_ _**x** k}_ , and let _{_ _**x** k_ ( _j_ ) _}_ be a subsequence that converges to _**x** ∞_ . Note that _Dh_ ( _**x** k_ +1 _,_ _**x** k_ ) _→_ 0 (and _∇h_ ( _**x** k_ ) _−∇h_ ( _**x** k_ +1) _→_ **0** by the convex and _Lh_ -smooth properties of _h_ , _i.e._ , 2 _L_ 1 _h[||∇][h]_[(] _**[x]**_[)] _[ −∇][h]_[(] _**[y]**_[)] _[||]_[2] _[≤][D][h]_[(] _**[x]**[,]_ _**[ y]**_[)][ (][Nesterov][,][ 2018][, Theroem] 2.1.5)) as _k →∞_ , since[�] _[k] i_ =1 _[D][h]_[(] _**[x]**[i][,]_ _**[ x]**[i][−]_[1][)] _[ ≤][D][h]_ 1 _−_[(] _**[x]** ρL[∗][,]_ _**[x]** h_[0][)] . Then _{_ _**x** k_ ( _j_ )+1 _}_ also converges to _**x** ∞_ since
|
| 490 |
+
|
| 491 |
+
**==> picture [264 x 39] intentionally omitted <==**
|
| 492 |
+
|
| 493 |
+
where the last inequality uses the strong convexity of _h_ , _i.e._ , _µ_ 2 _h[||]_ _**[x]**[k]_[(] _[j]_[)+1] _[−]_ _**[x]**[k]_[(] _[j]_[)] _[||]_[2] _≤ Dh_ ( _**x** k_ ( _j_ )+1 _,_ _**x** k_ ( _j_ )). Since _**M**_ + _γ_ _**I**_ is maximally monotone and satisfies _∇h_ ( _**x** k_ ( _j_ )) _−∇h_ ( _**x** k_ ( _j_ )+1)+ _γ_ _**x** k_ ( _j_ )+1 _∈_ ( _**M**_ + _γ_ _**I**_ )( _**x** k_ ( _j_ )+1), we finally have **0** _∈_ _**Mx** ∞_ by Bauschke & Combettes (2011, Proposition 20.32).
|
| 494 |
+
|
| 495 |
+
Lastly, assume that _X∗[ρ]_[(] _**[M]**_[)] = _X∗_ ( _**M**_ ). Then _**x** ∞_ is in _X∗[ρ]_[(] _**[M]**_[)][,] and since lim _j→∞ Dh_ ( _**x** ∞,_ _**x** k_ ( _j_ )) = 0 and _{Dh_ ( _**x** ∞,_ _**x** k_ ) _}_ is a nonincreasing sequence by (8), we get lim _k→∞ Dh_ ( _**x** ∞,_ _**x** k_ ) = 0. Therefore, by the strong convexity of _h_ , _{_ _**x** k}_ converges to _**x** ∞ ∈ X∗[ρ]_[(] _**[M]**_[)][.]
|
| 496 |
+
|
| 497 |
+
15
|
| 498 |
+
|
| 499 |
+
C.4 SEPARATING HYPERPLANE
|
| 500 |
+
|
| 501 |
+
We prove that _H_ ( _**x**_ ) separates _**x**_ and _X∗[ρ]_[(] _**[M]**_[)][ by showing the following two inequalities:]
|
| 502 |
+
|
| 503 |
+
**==> picture [282 x 52] intentionally omitted <==**
|
| 504 |
+
|
| 505 |
+
for all _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)][.]
|
| 506 |
+
|
| 507 |
+
The first inequality is straightforward as the left-hand side of the inequality is equal to zero and the right-hand side of the inequality is positive (unless _∇h_ ( _**x**_ ) = _∇h_ ( _**Rx**_ )) under the condition _Lhρ <_ 2.
|
| 508 |
+
|
| 509 |
+
Next, for any solution _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)][, we get]
|
| 510 |
+
|
| 511 |
+
**==> picture [363 x 39] intentionally omitted <==**
|
| 512 |
+
|
| 513 |
+
which uses the 1 1 _[≤⟨∇][h]_[(] _**[x]**_[)] _[ −∇][h]_[(] _**[y]**_[)] _[,]_ _**[x]**[ −]_ _**[y]**[⟩] Lh_[-cocoercivity of] _[ ∇][h]_[,] _[ i.e.]_[,] _Lh[||∇][h]_[(] _**[x]**_[)] _[ −∇][h]_[(] _**[y]**_[)] _[||]_[2] (Nesterov, 2018, Theroem 2.1.5), and the weak MVI condition (Assumption A3) with _∇h_ ( _**x**_ ) _− ∇h_ ( _**Rx**_ ) _∈_ _**MRx**_ .
|
| 514 |
+
|
| 515 |
+
C.5 PROOF OF LEMMA 3
|
| 516 |
+
|
| 517 |
+
**==> picture [351 x 124] intentionally omitted <==**
|
| 518 |
+
|
| 519 |
+
where the inequality uses (9).
|
| 520 |
+
|
| 521 |
+
C.6 PROOF OF THEOREM 2
|
| 522 |
+
|
| 523 |
+
By Lemma 1, the condition _µh > γ_ implies that _**Rx**_ exists for any _**x**_ and thus _**Rx**_[˜] is well-defined. By Lemma 3, we get
|
| 524 |
+
|
| 525 |
+
**==> picture [354 x 43] intentionally omitted <==**
|
| 526 |
+
|
| 527 |
+
for all _i ≥_ 1. By summing over the above inequality, we get
|
| 528 |
+
|
| 529 |
+
**==> picture [342 x 62] intentionally omitted <==**
|
| 530 |
+
|
| 531 |
+
Hence, by dividing the both sides of the inequality by (2 _− ρLh_ )[2] _k/_ 2 _Lh_ , we get
|
| 532 |
+
|
| 533 |
+
**==> picture [401 x 30] intentionally omitted <==**
|
| 534 |
+
|
| 535 |
+
16
|
| 536 |
+
|
| 537 |
+
By using the fact that _∇h_ ( _**Rx** i−_ 1) _−∇h_ ( _**x** i−_ 1) _∈_ _**MRx** i−_ 1, the lower bound of the inequality can be further bounded as
|
| 538 |
+
|
| 539 |
+
**==> picture [276 x 24] intentionally omitted <==**
|
| 540 |
+
|
| 541 |
+
Next, we prove that all limit point of the sequence _{_ _**x** k}_ are first-order stationary points. By (10), the sequence _{||_ _**x** k −_ _**x** ∗||}_ is bounded above, which implies that _{_ _**x** k}_ is a bounded sequence. Let _**x** ∞_ be any limit point of _{_ _**x** k}_ , and let _{_ _**x** k_ ( _j_ ) _}_ be a subsequence that converges to _**x** ∞_ . Note that _||∇h_ ( _**x** k_ ) _−∇h_ ( _**Rx** k_ ) _|| →_ 0 (and _||_ _**x** k −_ _**Rx** k|| →_ 0 by the _µh_ -strong convexity of _h_ , _i.e._ , _µh||_ _**x** k −_ _**Rx** k|| ≤||∇h_ ( _**x** k_ ) _−∇h_ ( _**Rx** k_ ) _||_ ) as _k →∞_ , since[�] _[k] i_ =1 2 _L_ 1 _h[||∇][h]_[(] _**[x]**[i][−]_[1][)] _[ −∇][h]_[(] _**[Rx]**[i][−]_[1][)] _[||]_[2] _[≤]_ 2 _Lh||_ _**x**_ 0 _−_ _**x** ∗||_[2] (2 _−ρLh_ )[2] . Then _{_ _**Rx** k_ ( _j_ ) _}_ also converges to _**x** ∞_ since
|
| 542 |
+
|
| 543 |
+
_||_ _**Rx** k_ ( _j_ ) _−_ _**x** ∞|| ≤||_ _**Rx** k_ ( _j_ ) _−_ _**x** k_ ( _j_ ) _||_ + _||_ _**x** k_ ( _j_ ) _−_ _**x** ∞||._
|
| 544 |
+
|
| 545 |
+
Since _**M**_ + _γ_ _**I**_ is maximally monotone and satisfies _∇h_ ( _**x** k_ ( _j_ )) _−∇h_ ( _**Rx** k_ ( _j_ )) + _γ_ _**Rx** k_ ( _j_ ) _∈_ ( _**M**_ + _γ_ _**I**_ )( _**Rx** k_ ( _j_ )), we finally have **0** _∈_ _**Mx** ∞_ by Bauschke & Combettes (2011, Proposition 20.32).
|
| 546 |
+
|
| 547 |
+
Lastly, assume that _X∗[ρ]_[(] _**[M]**_[) =] _[ X] ∗_[(] _**[M]**_[)][. Then] _**[ x]** ∞_[is in] _[ X] ∗[ρ]_[(] _**[M]**_[)][, and since][ lim] _j→∞[||]_ _**[x]** k_ ( _j_ ) _[−]_ _**[x]** ∞[||]_[ =] 0 and _||_ _**x** k −_ _**x** ∞||_ is a nonincreasing sequence by (10), we get lim _k→∞ ||_ _**x** k −_ _**x** ∞||_ = 0.
|
| 548 |
+
|
| 549 |
+
## D PROOFS FOR SECTION 6
|
| 550 |
+
|
| 551 |
+
## D.1 PROOF OF THEOREM 5
|
| 552 |
+
|
| 553 |
+
We first extend Theorem 1 of the (exact) BPP method to its inexact variant that approximately computes the _h_ -resolvent in BPP.
|
| 554 |
+
|
| 555 |
+
**Lemma 4.** _Let {_ _**x** k} be generated by an inexact BPP, and_ _**x**[∗] k_[:=] _**[Rx]**[k][−]_[1] _[be an exactly updated] point from_ _**x** k−_ 1 _, where_ _**x** k_ = _**x**[∗] k[in general.][Then, under the conditions in Theorem][ 1][, the sequence] {_ _**x** k} satisfies, for k ≥_ 1 _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 556 |
+
|
| 557 |
+
**==> picture [350 x 35] intentionally omitted <==**
|
| 558 |
+
|
| 559 |
+
_Proof._ Since _∇h_ ( _**x** i−_ 1) _−∇h_ ( _**x**[∗] i_[)] _[ ∈]_ _**[Mx]**[∗] i_[, the weak MVI condition implies]
|
| 560 |
+
|
| 561 |
+
**==> picture [398 x 193] intentionally omitted <==**
|
| 562 |
+
|
| 563 |
+
Therefore, we get
|
| 564 |
+
|
| 565 |
+
**==> picture [382 x 25] intentionally omitted <==**
|
| 566 |
+
|
| 567 |
+
17
|
| 568 |
+
|
| 569 |
+
and by taking _η_ = ( _i_ + 1)[2] and multiplying both sides by _[i]_[+1] _i_[, we get]
|
| 570 |
+
|
| 571 |
+
**==> picture [356 x 102] intentionally omitted <==**
|
| 572 |
+
|
| 573 |
+
Then the result follows directly by summing over the inequalities for all _i_ = 1 _, . . . , k_ and dividing _i_ +1 both sides by (1 _− ρLh_ )[�] _[k] i_ =1 _i_[.]
|
| 574 |
+
|
| 575 |
+
This leads to the following theorem, and consequently we have Theorem 5. Here, the choice of _J_ depends on the total number of outer iterations _k_ , so this will be mostly useful when we are given _k_ in advance. We omitted here, but it is possible to modify the proof to have same complexity result with varying number of inner iterations _J_ ( _i_ ) that increases in the order of _O_ (log( _i_ )).
|
| 576 |
+
|
| 577 |
+
**Theorem 7.** _Let_ _**M** (2) of the composite problem (1) satisfy Assumption A3 for some ρ ∈_ �0 _,_ 2 _L_ 1+ _L_[ˆ] � _, and let f, g and ϕ satisfy Assumption A1 Then, the sequence {_ _**x** k} of the SA-MGDA (with a finite J) satisfies, for k ≥_ 1 _, τ ∈_ � 1 _−ρρL[,] L_ +1 _L_[ˆ] � _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 578 |
+
|
| 579 |
+
**==> picture [336 x 27] intentionally omitted <==**
|
| 580 |
+
|
| 581 |
+
_τ_ 1[+2] _[L]_ _**[vv]**_ 4(1+ _τL_ ) _for J ≥ τ_ 1 _[−]_[2] _[L]_ _**[vv]**_[log] �( _k_ + 1)( _k_ + 3) �( _k_ + 1)[2][ 1+] 1 _−[τL] τL[−]_[1] � 1 _−τL_ � _._
|
| 582 |
+
|
| 583 |
+
_Proof._ We first upper bound the term _||_ _**x** i −_ _**x**[∗] i[||]_[2][in][the][right-hand][side][of][(][12][).][The][sequence] _{_ ( _**u** i,_ _**v** i_ ) _}i≥_ 0 of SA-MGDA (for a finite _J_ ), an instance of the inexact BPP, satisfies _**u** i_ = _**u**[∗] i_[, so] _||_ _**x**[∗] i[−]_ _**[x]**[i][||]_[ =] _[ ||]_ _**[v]** i[∗][−]_ _**[v]**[i][||]_[.][Thus,]
|
| 584 |
+
|
| 585 |
+
**==> picture [353 x 166] intentionally omitted <==**
|
| 586 |
+
|
| 587 |
+
where the second line follows from the fact that _J_ number of (inner) proximal gradient ascent steps satisfy _||_ _**v**_ ˆ _i −_ _**v** i_ _**[R]**[||]_[2] _[≤||]_ _**[v]**[i][−]_[1] _[ −]_ _**[v]** i_ _**[R]**[||]_[2][ exp] � _− ττ_ 11 _[−]_[+2][2] _[L][L]_ _**[vv][vv]**[J]_ � (by Theorem 10.29 of Beck (2017)), and the fifth line uses
|
| 588 |
+
|
| 589 |
+
**==> picture [210 x 24] intentionally omitted <==**
|
| 590 |
+
|
| 591 |
+
18
|
| 592 |
+
|
| 593 |
+
due to the strong convexity and the quasi-Bregman nonexpansivity. Then, we have the following upper bound of the right-hand side of the inequality (12)
|
| 594 |
+
|
| 595 |
+
**==> picture [416 x 105] intentionally omitted <==**
|
| 596 |
+
|
| 597 |
+
Then, by multiplying _i[i]_ +2[+3][on both sides, we get]
|
| 598 |
+
|
| 599 |
+
**==> picture [335 x 25] intentionally omitted <==**
|
| 600 |
+
|
| 601 |
+
Hence, by summing over the inequalities for all _i_ = 1 _, . . . , k_ , we get
|
| 602 |
+
|
| 603 |
+
**==> picture [364 x 53] intentionally omitted <==**
|
| 604 |
+
|
| 605 |
+
**==> picture [434 x 61] intentionally omitted <==**
|
| 606 |
+
|
| 607 |
+
The constraints _µh > L_[ˆ] and _ρLh <_ 1 yields _τ < L_ +1 _L_[ˆ][and] _[ τ][>]_ 1 _−ρρL_[.][We need] _[ ρ <]_ 2 _L_ 1+ _L_[ˆ][, so that] _[ τ]_ exists.
|
| 608 |
+
|
| 609 |
+
## D.2 PROOF OF THEOREM 6
|
| 610 |
+
|
| 611 |
+
We first extend Lemma 3 to a version with a new variable _**x**[′]_ that will be considered as an approximation to _**Rx**_[˜] in the later analysis. The lemma below reduces to Lemma 3 when _**x**[′]_ = _**Rx**_[˜] and _δ_ = 0. Introducing a positive constant _δ_ here seems redundant, but this becomes useful in the upcoming analysis.
|
| 612 |
+
|
| 613 |
+
**Lemma 5.** _Under the conditions in Lemma 3, we have_
|
| 614 |
+
|
| 615 |
+
**==> picture [338 x 25] intentionally omitted <==**
|
| 616 |
+
|
| 617 |
+
**==> picture [162 x 13] intentionally omitted <==**
|
| 618 |
+
|
| 619 |
+
## _Proof._ We have
|
| 620 |
+
|
| 621 |
+
**==> picture [338 x 86] intentionally omitted <==**
|
| 622 |
+
|
| 623 |
+
where the first inequality uses Young’s inequality, and the second inequality uses Lemma 3.
|
| 624 |
+
|
| 625 |
+
19
|
| 626 |
+
|
| 627 |
+
Next, using Lemma 5, we extend Theorem 2 of the (exact) BPP with projection method to its inexact variant that approximately computes the _h_ -resolvent in the BPP with projection, _i.e._ , _**x** k_ +1 := 1 _**x** k −_ � _Lh[−][ρ]_ 2 � ( _∇h_ ( _**x** k_ ) _−∇h_ (ˆ _**x** k_ +1)).
|
| 628 |
+
|
| 629 |
+
**Lemma 6.** _Let {_ _**x** k} be generated by an inexact BPP with projection, and_ _**x**[∗] k_[:=] _**[Rx]**_[˜] _[k][−]_[1] _[be] an exactly updated point from_ _**x** k−_ 1 _, where_ _**x** k_ = _**x**[∗] k[in][general.][Then,][under][the][conditions][in] Theorem 2, the sequence {_ _**x** k} satisfies, for k ≥_ 1 _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 630 |
+
|
| 631 |
+
**==> picture [352 x 35] intentionally omitted <==**
|
| 632 |
+
|
| 633 |
+
**==> picture [378 x 48] intentionally omitted <==**
|
| 634 |
+
|
| 635 |
+
and by multiplying _i[i]_ +1[+2][both sides and reordering terms, we have]
|
| 636 |
+
|
| 637 |
+
**==> picture [389 x 32] intentionally omitted <==**
|
| 638 |
+
|
| 639 |
+
Hence, by summing over the inequalities for all _i_ = 1 _, . . . , k_ , we have
|
| 640 |
+
|
| 641 |
+
**==> picture [390 x 30] intentionally omitted <==**
|
| 642 |
+
|
| 643 |
+
(2 _−ρLh_ )[2] Therefore, by using the fact that _||_ _**x**[∗] i[−]_ _**[x]**[i][−]_[1] _[||]_[2][=] 4 _L_[2] _h ||∇h_ ( _**Rx** i−_ 1) _−∇h_ ( _**x** i−_ 1) _||_[2] and dividing both sides by[(][2] _[−]_ 2 _[ρ] L[L] h[h]_[)][2] � _ki_ =1 _i_ +1 _i_[, we get]
|
| 644 |
+
|
| 645 |
+
**==> picture [399 x 35] intentionally omitted <==**
|
| 646 |
+
|
| 647 |
+
By using the fact that _∇h_ ( _**Rx** i−_ 1) _−∇h_ ( _**x** i−_ 1) _∈_ _**MRx** i−_ 1, the left-hand side of the inequality can be further bounded as
|
| 648 |
+
|
| 649 |
+
**==> picture [276 x 24] intentionally omitted <==**
|
| 650 |
+
|
| 651 |
+
This leads to the following theorem, and consequently we have Theorem 6. Here, the choice of _J_ depends on the total number of outer iterations _k_ , so this will be mostly useful when we are given _k_ in advance. We omitted here, but it is possible to modify the proof to have same complexity result with varying number of inner iterations _J_ ( _i_ ) that increases in the order of _O_ (log( _i_ )).
|
| 652 |
+
|
| 653 |
+
**Theorem 8.** _Let_ _**M** (2) of the composite problem (1) satisfy Assumption A3 for some ρ ∈_ �0 _,_ 2 _L_ 2+ _L_[ˆ] � _, and let f, g and ϕ satisfy Assumption A1 Then, the sequence {_ _**x** k} of the SA-MGDA with projection (for a finite J) satisfies, for k ≥_ 1 _, τ ∈_ � 2 _−ρρL[,] L_ +1 _L_[ˆ] � _and for any_ _**x** ∗ ∈ X∗[ρ]_[(] _**[M]**_[)] _[,]_
|
| 654 |
+
|
| 655 |
+
**==> picture [316 x 68] intentionally omitted <==**
|
| 656 |
+
|
| 657 |
+
20
|
| 658 |
+
|
| 659 |
+
_Proof._ We first upper bound the term _||_ _**x** i −_ _**x**[∗] i[||]_[2][in][the][right-hand][side][of][(][14][).][Let][us][define] ( _**u[R]** i[,]_ _**[ v]** i_ _**[R]**_[) :=] _**[ Rx]**[i][−]_[1][.]
|
| 660 |
+
|
| 661 |
+
**==> picture [380 x 244] intentionally omitted <==**
|
| 662 |
+
|
| 663 |
+
where the second line uses the _Lh_ -smoothness of _h_ , the fourth line follows from the fact that _J_ number of (inner) proximal gradient ascent steps satisfy _||_ _**v**_ ˆ _i −_ _**v** i_ _**[R]**[|| ≤||]_ _**[v]**[i][−]_[1] _[ −]_ _**[v]** i_ _**[R]**[||]_[ exp] � _−_ 2( _τ_ 1 _τ_[1] _[−]_[+2][2] _[L][L]_ _**[vv][vv]**_[)] _[J]_ � (by Theorem 10.29 of Beck (2017)), and the seventh line uses
|
| 664 |
+
|
| 665 |
+
**==> picture [331 x 24] intentionally omitted <==**
|
| 666 |
+
|
| 667 |
+
due to the strong convexity and smoothness of _h_ and the quasi-Bregman nonexpansivity. Then, we have the following upper bound of the right-hand side of the inequality (14)
|
| 668 |
+
|
| 669 |
+
**==> picture [422 x 125] intentionally omitted <==**
|
| 670 |
+
|
| 671 |
+
**==> picture [299 x 25] intentionally omitted <==**
|
| 672 |
+
|
| 673 |
+
Hence, by summing over the inequalities for all _i_ = 1 _, . . . , k_ , we get
|
| 674 |
+
|
| 675 |
+
**==> picture [294 x 30] intentionally omitted <==**
|
| 676 |
+
|
| 677 |
+
and further dividing both sides by[�] _[k] i_ =1 ( _i_ + _i_ (1 _i_ )(+2) _i_ +3) , we get
|
| 678 |
+
|
| 679 |
+
**==> picture [407 x 30] intentionally omitted <==**
|
| 680 |
+
|
| 681 |
+
21
|
| 682 |
+
|
| 683 |
+
by using the fact that _||_ _**x**[∗] i[−]_ _**[x]**[i][−]_[1] _[||]_[2][=][(][2] _[−]_ 4 _[ρ] L[L]_[2] _h[h]_[)][2] _||∇h_ ( _**Rx** i−_ 1) _−∇h_ ( _**x** i−_ 1) _||_[2] and _∇h_ ( _**Rx** i−_ 1) _− ∇h_ ( _**x** i−_ 1) _∈_ _**MRx** i−_ 1.
|
| 684 |
+
|
| 685 |
+
The constraints _µh > L_[ˆ] and _ρLh <_ 2 yields _τ < L_ +1 _L_[ˆ][and] _[ τ][>]_ 2 _−ρρL_[.][We need] _[ ρ <]_ 2 _L_ 2+ _L_[ˆ][, so that] _[ τ]_ exists.
|
| 686 |
+
|
| 687 |
+
## E BPP AND SA GRADIENT METHODS UNDER STRONG MVI CONDITION
|
| 688 |
+
|
| 689 |
+
We also consider the strong MVI condition in (Song et al., 2020; Zhou et al., 2017). This condition is also non-monotone, and includes the _µ_ -strong pseudomonotonicity (Nguyen & Qin, 2020) (see (Nguyen & Qin, 2020) for examples). Let _S∗[µ]_[(] _**[M]**_[)][ be the associated solution set.]
|
| 690 |
+
|
| 691 |
+
**Assumption A4** (Strong MVI) **.** _For some µ ≥_ 0 _, there exists a solution_ _**x** ∗ ∈ X∗_ ( _**M**_ ) _such that_
|
| 692 |
+
|
| 693 |
+
_⟨_ _**x** −_ _**x** ∗,_ _**w** ⟩≥ µ||_ _**x** −_ _**x** ∗||_[2] _, ∀_ ( _**x** ,_ _**w**_ ) _∈_ gra _**M** ._
|
| 694 |
+
|
| 695 |
+
The BPP has a linear rate under the strong MVI condition.
|
| 696 |
+
|
| 697 |
+
**Theorem 9.** _Let_ _**M** satisfy Assumptions A2 and A4 for some γ, µ ≥_ 0 _, and h be a µh-strongly convex and Lh-smooth Legendre function with µh > γ. Then, for k ≥_ 1 _and for any_ _**x** ∗ ∈ S∗[µ]_[(] _**[M]**_[)] _[, the] −k sequence {_ _**x** k} of the BPP method (3) satisfies Dh_ ( _**x** ∗,_ _**x** k_ ) _≤_ � _L_ 2 _µh_[+ 1] � _Dh_ ( _**x** ∗,_ _**x**_ 0) _._
|
| 698 |
+
|
| 699 |
+
_Proof._ By Lemma 1, the condition _µh > γ_ implies that _**Rx**_ exists for any _**x**_ . By the definition of _**Rx**_ , we have _∇h_ ( _**x**_ ) _−∇h_ ( _**Rx**_ ) _∈_ _**MRx**_ . Then, Assump. A4 on _**M**_ implies that _µ||_ _**x** ∗ −_ _**Rx** ||_[2] _≤⟨∇h_ ( _**x**_ ) _−∇h_ ( _**Rx**_ ) _,_ _**Rx** −_ _**x** ∗⟩_ = _−Dh_ ( _**Rx** ,_ _**x**_ ) + _Dh_ ( _**x** ∗,_ _**x**_ ) _− Dh_ ( _**x** ∗,_ _**Rx**_ ). By letting _**x**_ = _**x** i−_ 1 and using the _Lh_ -smoothness of _h_ , _i.e._ , _Dh_ ( _**x** ∗,_ _**x** i_ ) _≤[L]_ 2 _[h][||]_ _**[x]**[∗][−]_ _**[x]**[i][||]_[2][, we have] � _L_ 2 _µh_[+ 1] � _Dh_ ( _**x** ∗,_ _**x** i_ ) _≤−Dh_ ( _**x** i,_ _**x** i−_ 1) + _Dh_ ( _**x** ∗,_ _**x** i−_ 1) _≤ Dh_ ( _**x** ∗,_ _**x** i−_ 1).
|
| 700 |
+
|
| 701 |
+
The following theorem of the SA-GDmax method is a byproduct of Lemma 1 and Theorem 9 of the BPP method, for a specific _h_ in (5) that is _µh_ -strongly convex and _Lh_ -smooth with _µh_ = _τ_[1] _[−][L]_[ and] _Lh_ = _τ_[1][+] _[ L]_[.]
|
| 702 |
+
|
| 703 |
+
**Theorem 10.** _Let_ _**M** (2) of the composite problem (1) satisfy Assump. A4 for µ ≥_ 0 _, and let f, g and ϕ satisfy Assump. A1. Then, for k ≥_ 1 _, τ ∈_ �0 _, L_ +1 _L_[ˆ] � _and for any_ _**x** ∗ ∈ S∗[µ]_[(] _**[M]**_[)] _[, the sequence of the] −k SA-GDmax satisfies Dh_ ( _**x** ∗,_ _**x** k_ ) _≤_ �1 + 1+2 _ττLµ_ � _Dh_ ( _**x** ∗,_ _**x**_ 0) _._
|
| 704 |
+
|
| 705 |
+
_Proof._ The proof follows from Theorem 9 with _µh > L_[ˆ] .
|
| 706 |
+
|
| 707 |
+
We next analyze the SA-MGDA under the strong MVI condition. Note that the following theorem reduces to Theorem 10 as _J →∞_ .
|
| 708 |
+
|
| 709 |
+
**Theorem 11.** _Let_ _**M** (2) of the composite problem (1) satisfy Assump. A4 for µ ≥_ 0 _, and let f, g and ϕ satisfy Assump. A1. Then, for k ≥_ 1 _, τ ∈_ �0 _, L_ +1 _L_[ˆ] � _and for any_ _**x** ∗ ∈ S∗[µ]_[(] _**[M]**_[)] _[, the sequence of the] SA-MGDA satisfies_
|
| 710 |
+
|
| 711 |
+
**==> picture [398 x 33] intentionally omitted <==**
|
| 712 |
+
|
| 713 |
+
For the proof of Theorem 11, we extend Theorem 9 of the (exact) BPP method to its inexact variant below.
|
| 714 |
+
|
| 715 |
+
**Lemma 7.** _Let {_ _**x** k} be generated by an inexact BPP, and_ _**x**[∗] k_[:=] _**[Rx]**[k][−]_[1] _[be an exactly updated] point from_ _**x** k−_ 1 _, where_ _**x** k_ = _**x**[∗] k[in general.][Then, under the conditions in Theorem][ 9][, the sequence]_
|
| 716 |
+
|
| 717 |
+
22
|
| 718 |
+
|
| 719 |
+
_{_ _**x** k} satisfies, for k ≥_ 1 _and for any_ _**x** ∗ ∈ S∗[µ]_[(] _**[M]**_[)] _[,]_
|
| 720 |
+
|
| 721 |
+
**==> picture [274 x 61] intentionally omitted <==**
|
| 722 |
+
|
| 723 |
+
_Proof._ Since _∇h_ ( _**x** i−_ 1) _−∇h_ ( _**x**[∗] i_[)] _[ ∈]_ _**[Mx]**[∗] i_[, the strong MVI condition implies] _µ||_ _**x** ∗ −_ _**x**[∗] i[||]_[2] _[≤⟨∇][h]_[(] _**[x]**[i][−]_[1][)] _[ −∇][h]_[(] _**[x]**[∗] i_[)] _[,]_ _**[ x]**[∗] i[−]_ _**[x]**[∗][⟩]_ = _Dh_ ( _**x** ∗,_ _**x** i−_ 1) _− Dh_ ( _**x** ∗,_ _**x**[∗] i_[)] _[ −][D][h]_[(] _**[x]**[∗] i[,]_ _**[ x]**[i][−]_[1][)] _[.]_ Since _Dh_ ( _**x** ∗,_ _**x**[∗] i_[)] _[ ≤][L]_ 2 _[h][||]_ _**[x]**[∗][−]_ _**[x]** i[∗][||]_[2][, we have] 2 _µ_ � _Lh_ + 1� _Dh_ ( _**x** ∗,_ _**x**[∗] i_[)] _[ ≤][D][h]_[(] _**[x]**[∗][,]_ _**[ x]**[i][−]_[1][)] _[ −][D][h]_[(] _**[x]**[∗] i[,]_ _**[ x]**[i][−]_[1][)] _[ ≤][D][h]_[(] _**[x]**[∗][,]_ _**[ x]**[i][−]_[1][)] _[.]_
|
| 724 |
+
|
| 725 |
+
Therefore,
|
| 726 |
+
|
| 727 |
+
**==> picture [372 x 87] intentionally omitted <==**
|
| 728 |
+
|
| 729 |
+
where the second inequality follows from (11). Then by subtracting _η_[1] _[D][h]_[(] _**[x]**[∗][,]_ _**[ x]**[i]_[)][and][dividing] �1 _− η_[1] � both sides, we get
|
| 730 |
+
|
| 731 |
+
**==> picture [412 x 38] intentionally omitted <==**
|
| 732 |
+
|
| 733 |
+
Then the result follows directly by taking _η_ = 2 and recursively applying the inequalities for all _i_ = 1 _, . . . , k_ .
|
| 734 |
+
|
| 735 |
+
Then, similar to the proof of Theorem 5 in Appendix D.1, we get
|
| 736 |
+
|
| 737 |
+
**==> picture [408 x 92] intentionally omitted <==**
|
| 738 |
+
|
| 739 |
+
where the first inequality is (15) by taking _η_ = 2. Then the result follows directly by recursively applying the inequalities for all _i_ = 1 _, . . . , k_ . By Theorem 11, we have the following corollary.
|
| 740 |
+
|
| 741 |
+
**Corollary 1.** _Under the conditions in Theorem 11, the SA-MGDA method achieves Dh_ ( _**x** ∗,_ _**x** k_ ) _≤ ϵ with k_ = _O_ (log� _ϵ[−]_[1][�] ) _number of outer iterations and J_ = _O_ (1) _number of inner iterations, requiring total O_ (log� _ϵ[−]_[1][�] ) _gradient computations._
|
| 742 |
+
|
| 743 |
+
23
|
| 744 |
+
|
| 745 |
+
## F DETAILS OF THE STRUCTURE OF THE NEURAL NETWORK
|
| 746 |
+
|
| 747 |
+
|Layer Type|Shape|
|
| 748 |
+
|---|---|
|
| 749 |
+
|Convolution+tanh|3_×_3_×_5|
|
| 750 |
+
|Max Pooling|2_×_2|
|
| 751 |
+
|Convolution|3_×_3_×_10|
|
| 752 |
+
|Max Pooling|2_×_2|
|
| 753 |
+
|Fully Connected+tanh|250|
|
| 754 |
+
|Fully Connected+tanh|100|
|
| 755 |
+
|Softmax|3|
|
| 756 |
+
|
| 757 |
+
Table 2: Details of the Structure of the Neural Network
|
| 758 |
+
|
| 759 |
+
24
|
| 760 |
+
|
open_review/iclr2024_9090.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9090",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "ProFeAT: Projected Feature Adversarial Training for Self-Supervised Learning of Robust Representations",
|
| 6 |
+
"abstract": "Supervised adversarial training has been the most successful approach for improving the robustness of Deep Neural Networks against adversarial attacks. While several recent works have attempted to overcome the need for supervision or labeled training data by integrating adversarial training with contrastive Self-Supervised Learning (SSL) approaches such as SimCLR, their performance has been sub-optimal due to the increased training complexity. A recent approach mitigates this by utilizing supervision from a standard self-supervised trained model in a teacher-student setting that mimics supervised adversarial training. However, we find that there is still a large gap in performance when compared to supervised training, specifically on larger capacity models. We show that this is a result of mismatch in training objectives of the teacher and student, and propose Projected Feature Adversarial Training (ProFeAT) to bridge this gap by using a projection head in the adversarial training step. We further propose appropriate attack and defense losses at the feature and projector spaces, coupled with a combination of weak and strong augmentations for the teacher and student respectively, to improve generalization without increasing the training complexity. We demonstrate significant improvements in performance when compared to existing SSL methods, and performance on par with TRADES, a popular supervised adversarial training method, on several benchmark datasets and models.",
|
| 7 |
+
"rebuttal": "### A gentle reminder to review our rebuttal\nDear Reviewers,\n\nWe sincerely thank you for your time and valuable feedback on our work. We believe that we have addressed all the concerns/ questions in the rebuttal and eagerly look forward to hearing your thoughts on the same. We have also updated our draft based on the feedback received. We request you to kindly review our responses and update the scores if our rebuttal addresses your concerns. \n\nThanks!\n\n### A gentle reminder to reviewer q8j3\nWe thank the reviewer for appreciating the simplicity and effectiveness of the proposed approach, and the presentation of our paper. We post a gentle reminder to the reviewer to review our response and hope that our rebuttal addresses their concerns. We will be happy to answer any further questions as well.\n\n### A gentle reminder to update scores\nWe hope our rebuttal has addressed the reviewers concerns. We understand that the ICLR discussion timing this year has been very tight due to which we could not get time for discussion on the paper. Nevertheless, we request the reviewers to kindly review our rebuttal and update their scores if it answers their concerns. We will try our best to respond to any further questions that come up in the next few hours.\n\n### A note to all reviewers\nWe sincerely thank the reviewers for their time and valuable feedback on our work. We are happy to see that the reviewers find our work novel [e5nc], simple [q8j3] and effective [q8j3, s59e, e5nc, eRyw], well-written [q8j3, s59e, eRyw], our evaluations and ablations to be insightful and thorough [s59e, e5nc, eRyw], and our results to be strong and convincing [s59e, eRyw]. We have uploaded an updated draft to incorporate the reviewers' suggestions, with changes highlighted in blue. We plan to post our responses one by one (as we finish writing them), in order to util [...]\n\n### Request to review our rebuttal\nWe thank the reviewers once again for their efforts in reviewing our work. We have responded to their concerns and also updated the draft based on their feedback.\n\nSince we are close to the end of the author-reviewer discussion period, we sincerely request the reviewers to share their feedback on our rebuttal, which will give us an opportunity to respond to their feedback. \n\nThanks!\n\n### Response to reviewer e5nc [1/3]\nWe thank the reviewer for their insightful comments and valuable feedback. We clarify their concerns below.\n\n1. **Additional methods for evaluating the pretrained models**: As discussed in Section-2, we primarily rely on the standard linear probing evaluation, as freezing the backbone can give a more reliable estimate of the robustness of the representations learned when compared to a finetuning framework that can alter the representations significantly. However, we agree that other types of evaluations such as KNN and finetuning can be valuable in comprehen [...]\n\n### Response to reviewer e5nc [2/3]\n2. **Why and how in Section 4.1**: Based on the findings in prior work, we aim to clarify the intuition behind our hypotheses below:\n - Why objective matching between teacher and student leads to improved performance: Let us consider task-A to be the teacher's training task, and task-B to be the student's downstream task or its ideal goal. The representations in deeper layers (last few layers) of the teacher are more tuned to its training objective (task-A), and the early layers contain a lot more information than what is needed for this task [1]. Thus, wh [...]\n\n### Response to reviewer e5nc [3/3]\n3. & 4. **Overall justification of the proposed method/ Why the proposed combination of augmentations is most effective**: For a sufficiently complex task, a scalable approach should result in better performance on larger models given enough diverse data. Although the task complexity of adversarial self-supervised learning is high, the gains in prior approaches are marginal with an increase in model size (Table-3). Towards improving the scalability to larger models, we propose the following:\n - *Projection layer along with appropriate attack/defense losses:* [...]\n\n### Response to reviewer eRyw\nWe thank the reviewer for their encouraging comments and valuable feedback. We clarify their concerns below and upload a new version of the paper incorporating their feedback.\n\n- Clarifications on tables:\n - Yes, SA stands for standard accuracy in the tables. We mention this in the captions of all tables in the updated draft for better clarity.\n - In the updated draft, we bold the best results in each row of Table-4 as suggested.\n - Our training and evaluation uses an $\\ell_\\infty$ perturbation bound of 8/255 as mentioned in Section-2.\n - We update the [...]\n\n### Response to reviewer q8j3 [1/2]\nWe thank the reviewer for their valuable feedback. We clarify their concerns below and upload a new version of the paper incorporating their feedback. \n\n- Novelty:\n - The removal of last few layers for better generalization was first introduced in a transfer learning setting in 2014 [1] and later adapted to self-supervised learning in the seminal work SimCLR [2]. Despite this, there have been several recent works on the use of projection layer and understanding its role in self-supervised and supervised learning, as highlighted by Bordes et al. (2023)[3], [...]\n\n### Response to reviewer q8j3 [2/2]\n- Robust Accuracy metric: To measure robust accuracy, we present results against several well-known adversarial attacks. The widely accepted benchmark for measuring robustness is the AutoAttack, which is an ensemble of several strong white-box and black-box attacks. We report results against AutoAttack in the main SOTA comparison tables (Tables-3, 4, 5). However, evaluating a model against AutoAttack is computationally intensive. Thus, for the ablation experiments (Tables-6, 7, 8), we evaluate against GAMA, which is a single 100-step attack that is known to [...]\n\n### Response to reviewer s59e [1/2]\nWe thank the reviewer f\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
5,
|
| 12 |
+
6
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.75,
|
| 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": null,
|
| 21 |
+
"meta_review": "This paper received mixed reviews of 5, 5, 6, 6. The major concerns raised by the reviewers were:\n\n1. marginal novelty - projector is widely used in SSL, weak/strong augmentation for teacher/student also used before. [q8j3]\n2. robust accuracy is not included in the main table. [q8j3]\n3. why is the PGD-20 metric worse for the proposed work compared to SOTA? [q8j3]\n4. various presentation issues [q8j3]\n5. ablation study does not show the specific contribution of each component. [s59e]\n6. more interesting to see results on low-data tasks, such as Caltech [s59e]\n7. further comparison needed with other evaluation techniques (KNN), and the effectiveness of pre-training on downstream tasks with fine-tuning [e5nc]\n8. Section 4.1 lacks compelling evidence and in-depth analysis [e5nc]\n9. lacks robust analysis [e5nc]\n10. methodology lacks strong justification for why this combination is most effective [e5nc]\n11. why the method is more effective for larger models? [e5nc, eRyw]\n12. unfair comparison with DynACL (different number of epochs) [eRyw]\n\nThe authors wrote a response to address these concerns. During the discussion, the negative reviewers were not assuaged by the response. Specifically, Reviewer e5nc was not convinced by the justification/motivation of the proposed approach, and found the authors response about distillation to be generic, and how aligning linear probing is advantageous for robustness is unclear. Reviewer e5nc also disagreed about defining a specific downstream t",
|
| 22 |
+
"forum_id": "1zhM0XkQh0",
|
| 23 |
+
"primary_area": "unsupervised, self-supervised, semi-supervised, and supervised representation learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_q8j3",
|
| 28 |
+
"review_id": "CtEjoaPtnz",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2363,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 2480567,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_s59e",
|
| 44 |
+
"review_id": "Pwt2DIZqxX",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 5
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2327,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 355479,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_e5nc",
|
| 60 |
+
"review_id": "G5L906EYco",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3142,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 798082,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_eRyw",
|
| 76 |
+
"review_id": "dQlxeVqsn9",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 4,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 5
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 1852,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 837901,
|
| 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_9090.md
ADDED
|
@@ -0,0 +1,604 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## PROFEAT: PROJECTED FEATURE ADVERSARIAL TRAINING FOR SELF-SUPERVISED LEARNING OF ROBUST REPRESENTATIONS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Supervised adversarial training has been the most successful approach for improving the robustness of Deep Neural Networks against adversarial attacks. While several recent works have attempted to overcome the need for supervision or labeled training data by integrating adversarial training with contrastive SelfSupervised Learning (SSL) approaches such as SimCLR, their performance has been sub-optimal due to the increased training complexity. A recent approach mitigates this by utilizing supervision from a standard self-supervised trained model in a teacher-student setting that mimics supervised adversarial training (Zhang et al., 2022). However, we find that there is still a large gap in performance when compared to supervised training, specifically on larger capacity models. We show that this is a result of mismatch in training objectives of the teacher and student, and propose Projected Feature Adversarial Training (ProFeAT) to bridge this gap by using a projection head in the adversarial training step. We further propose appropriate attack and defense losses at the feature and projector spaces, coupled with a combination of weak and strong augmentations for the teacher and student respectively, to improve generalization without increasing the training complexity. We demonstrate significant improvements in performance when compared to existing SSL methods, and performance on par with TRADES, a popular supervised adversarial training method, on several benchmark datasets and models.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Deep Neural Networks are known to be vulnerable to crafted imperceptible input-space perturbations known as _Adversarial attacks_ (Szegedy et al., 2013), which can be used to fool classification networks into predicting any desired output, leading to disastrous consequences. Amongst the diverse attempts at improving the adversarial robustness of Deep Networks, Adversarial Training (AT) (Madry et al., 2018; Zhang et al., 2019) has been the most successful. This involves the generation of adversarial attacks by maximizing the training loss, and further minimizing the loss on the generated attacks for training. While these methods have proved to be robust against various attacks developed over time (Carlini et al., 2019; Croce & Hein, 2020; Sriramanan et al., 2020), they require significantly more training data when compared to standard training (Schmidt et al., 2018), incurring a large annotation cost. Motivated by the success of contrastive learning for standard Self-Supervised Learning (SSL) (Van den Oord et al., 2018; Chen et al., 2020b; He et al., 2020), several works have attempted to use contrastive learning for self-supervised adversarial training as well (Jiang et al., 2020; Kim et al., 2020; Fan et al., 2021). While this strategy works well in a full network fine-tuning setting, the performance is sub-optimal when the robustly pretrained feature encoder is frozen while training the classification head (linear probing), demonstrating that the representations learned are indeed sub-optimal. A recent work, Decoupled Adversarial Contrastive Learning (DeACL) (Zhang et al., 2022), demonstrated significant improvements in performance and training efficiency by splitting this combined self-supervised adversarial training into two stages; first, where a standard self-supervised model is trained, and second, where this pretrained model is used as a teacher to provide supervision to the adversarially trained student network. Although the performance of this method is on par with supervised adversarial training on small model architectures (ResNet-18), we find that it does not scale to larger models such as WideResNet-34-10.
|
| 14 |
+
|
| 15 |
+
1
|
| 16 |
+
|
| 17 |
+
In this work, we aim to bridge the performance gap between self-supervised and supervised adversarial training methods, and improve the scalability of the former to larger model capacities. We utilize the distillation setting discussed above, where a standard self-supervised trained teacher provides supervision to the student. In contrast to a typical distillation scenario, the ideal goal for the student is not to replicate the teacher, but to leverage weak supervision from the teacher while simultaneously enhancing its adversarial robustness. This involves a trade-off between the sensitivity towards changes that flip the class of an image (for better clean accuracy) and invariance towards imperceptible perturbations that preserve the true class (for adversarial robustness) (Tram`er et al., 2020). Towards this, we propose to impose similarity with respect to the teacher in the appropriate dimensions by applying the distillation loss in a _projected space_ (output of a projection MLP layer), while enforcing the smoothness-based robustness loss in the _feature space_ (output of a backbone/ feature extractor). However, we find that enforcing these losses at different layers results in training instability, and thus introduce the complementary loss (clean distillation loss or robustness loss) as a regularizer to improve training stability. We further propose to reuse the pretrained projection layer from the teacher model for better convergence.
|
| 18 |
+
|
| 19 |
+
In line with the training objective, the adversarial attack used during training aims to find images that maximize the smoothness loss in the feature space, and cause misalignment between the teacher and student in the projected space. Further, since data augmentations are known to increase the training complexity of adversarial training resulting in a drop in performance (Zhang et al., 2022; Addepalli et al., 2022), we propose to use augmentations such as AutoAugment (or _strong augmentations_ ) only at the student for better attack diversity, while using spatial transforms such as pad and crop (PC) (or _weak augmentations_ ) at the teacher. We summarize our contributions below:
|
| 20 |
+
|
| 21 |
+
- We propose Projected Feature Adversarial Training (ProFeAT) - a teacher-student distillation setting for self-supervised adversarial training, where the projection layer of the standard self-supervised pretrained teacher is reused for student distillation. We further propose appropriate attack and defense losses for training, coupled with a combination of weak and strong augmentations for the teacher and student respectively.
|
| 22 |
+
|
| 23 |
+
- Towards understanding _why_ the projector helps, we first show that the compatibility between the training methodology of the teacher and the ideal goals of the student plays a crucial role in the student model performance in distillation. We further show that the use of a projector can alleviate the negative impact of the inherent misalignment of the above.
|
| 24 |
+
|
| 25 |
+
- We demonstrate the effectiveness of the proposed approach on the standard benchmark datasets CIFAR-10 and CIFAR-100. We obtain moderate gains on small model architectures (ResNet-18) and larger gains of 3 _._ 5 _−_ 8% in clean accuracy and _∼_ 3% in robust accuracy on larger models (WideResNet-34-10), while also outperforming TRADES supervised training (Zhang et al., 2019) on larger models.
|
| 26 |
+
|
| 27 |
+
## 2 PRELIMINARIES: PROBLEM SETTING AND NOTATION
|
| 28 |
+
|
| 29 |
+
We consider the problem of self-supervised learning of robust representations, where a selfsupervised standard trained teacher model _T_ is used to provide supervision to a student model _S_ . The feature, projector and linear probe layers of the teacher are denoted as _Tf_ , _Tp_ and _Tl_ respectively. An analogous notation is followed for the student as well. The dataset used for self-supervised pretraining _D_ consists of images _xi_ where _i ≤ N_ . An adversarial image corresponding to the image _xi_ ˜ ˜ is denoted as _xi_ . We consider the _ℓ∞_ based threat model where _||xi − xi||∞ ≤ ε_ . The value of _ε_ is set to 8 _/_ 255 for CIFAR-10 and CIFAR-100 (Krizhevsky et al., 2009), as is standard in literature (Madry et al., 2018; Zhang et al., 2019). The Robust Accuracy (RA) in the SOTA comparison tables is presented against AutoAttack (Croce & Hein, 2020) (RA-AA) which is widely used as a benchmark for robustness evaluation (Croce et al., 2021). In all other tables, we present robust accuracy against the GAMA attack (Sriramanan et al., 2020) (RA-G) which is known to be competent with AutoAttack, while being significantly faster. We additionally present results against a 20 step PGD attack (Madry et al., 2018) (RA-PGD20), as is standard in self-supervised adversarial training literature (Fan et al., 2021; Zhang et al., 2022). We note that for comparing the robust accuracy between any two defenses, the accuracy against AutoAttack or GAMA should be considered. The accuracy gap between PGD-20 and Autoattack/ GAMA is higher when the loss surface is convoluted, due to the phenomenon of gradient masking Papernot et al. (2017); Tram`er et al. (2018). The accuracy on clean or natural samples is denoted as SA which stands for Standard Accuracy.
|
| 30 |
+
|
| 31 |
+
2
|
| 32 |
+
|
| 33 |
+
To evaluate the representations learned after self-supervised adversarial pretraining, we freeze the pretrained backbone, and perform linear layer training on a downstream labeled dataset consisting of image-label pairs. We refer to this training as linear probing (Kumar et al., 2022), as is common in literature. The training is done using cross-entropy loss on clean samples unless specified otherwise. We compare the robustness of the representations on both in-distribution data, where the linear probing is done using the same distribution of images as that used for pretraining, and in a transfer learning setting, where the distribution of images in the downstream dataset is different from that used for pretraining. We do not consider the case of fine-tuning the full network using adversarial training, since this changes the pretrained network to large extent, and may yield misleading results and conclusions depending on the dynamics of training (number of epochs, learning rate, and the value of the robustness-accuracy trade-off parameter). Contrary to this, linear probing based evaluation gives an accurate comparison of representations learned across different pretraining algorithms.
|
| 34 |
+
|
| 35 |
+
## 3 RELATED WORKS
|
| 36 |
+
|
| 37 |
+
**Self Supervised Learning (SSL):** With the abundance of unlabelled data, learning representations through self-supervision has seen major advances in recent years. Contrastive learning based SSL approaches have emerged as a promising direction (Van den Oord et al., 2018; Chen et al., 2020b; He et al., 2020), where different augmentations of a given anchor image form positives, and augmentations of other images in the batch form the negatives for training. The training objective involves pulling the representations of the positives together, and repelling the representations of negatives.
|
| 38 |
+
|
| 39 |
+
**Self Supervised Adversarial Training:** To alleviate the large sample complexity and training cost of adversarial training, there have been several works that have attempted self-supervised learning of adversarially robust representations (Kim et al., 2020; Jiang et al., 2020; Fan et al., 2021; Zhang et al., 2022). Chen et al. (2020a) propose AP-DPE, an ensemble adversarial pretraining framework where several pretext tasks like Jigsaw puzzles (Noroozi & Favaro, 2016), rotation prediction (Gidaris et al., 2018) and Selfie (Trinh et al., 2019) are combined to learn robust representations without task labels. Jiang et al. (2020) propose ACL, that combines the popular contrastive SSL method - SimCLR (Chen et al., 2020b) with adversarial training, using Dual Batch normalization layers for the student model - one for the standard branch and another for the adversarial branch. RoCL (Kim et al., 2020) follows a similar approach to ACL by combining the contrastive objective with adversarial training to learn robust representations. Fan et al. (2021) propose AdvCL, that uses high-frequency components in data as augmentations in contrastive learning, performs attacks on unaugmented images, and uses a pseudo label based loss for training to minimize the cross-task robustness transferability. Luo et al. (2023) study the role of augmentation strength in self-supervised contrastive adversarial training, and propose DynACL, that uses a “strong-to-weak” annealing schedule on augmentations. Additionally, motivated by Kumar et al. (2022), they propose DynACL++ that obtains pseudo-labels via k-means clustering on the clean branch of the DynACL pretrained network, and performs linear-probing (LP) using these pseudo-labels followed by adversarial full-finetuning (AFT) of the backbone. We note that the latter post-processing step is a generic finetuning strategy in literature that can be integrated with several base algorithms including ours.
|
| 40 |
+
|
| 41 |
+
While most self-supervised adversarial training methods aimed at integrating contrastive learning methods with adversarial training, Zhang et al. (2022) showed that combining the two is a very complex optimization problem due to their conflicting requirements. The authors propose Decoupled Adversarial Contrastive Learning (DeACL), where a teacher model is first trained using existing self-supervised training methods such as SimCLR, and further, a student model is trained to be adversarially robust using supervision from the teacher. While existing methods used _∼_ 1000 epochs for contrastive adversarial training, the compute requirement for DeACL is much lesser since the first contrastive learning stage does not involve adversarial training, and the second stage is similar in complexity to supervised adversarial training (Details in Appendix-F). We thus utilize this distillation framework and obtain significant gains over DeACL, specifically at larger model capacities.
|
| 42 |
+
|
| 43 |
+
## 4 PROPOSED METHOD
|
| 44 |
+
|
| 45 |
+
In this section, we motivate the need for a projection layer, and present the proposed approach.
|
| 46 |
+
|
| 47 |
+
4.1 PROJECTION LAYER IN SELF-SUPERVISED DISTILLATION In this work, we follow the setting proposed by Zhang et al. (2022), where a standard self-supervised pretrained teacher provides supervision for self-supervised adversarial training of the student model.
|
| 48 |
+
|
| 49 |
+
3
|
| 50 |
+
|
| 51 |
+
Table 1: **Role of projector in self-supervised distillation (CIFAR-100, WRN-34-10):** The drop in accuracy of student ( _S_ ) w.r.t. the teacher ( _T_ ) indicates distillation performance, which improves by matching the training objective of the teacher with ideal goals of the student (S3/ S4 vs. S1), and by using similar losses for pretraining and linear probing (LP) (S2 vs. S1). Using a projector improves performance in case of mismatch in the above (S5 vs. S1). The similarity between teacher and student is significantly higher at the projector space when compared to the feature space in S5.
|
| 52 |
+
|
| 53 |
+
|**Exp**|**#**|**Teacher training**|**Teacher**<br>**acc (%)**|**Projector**|**LP Loss**|**Student accuracy**<br>**Feature space (%)**|**after linear probe**<br>**Projector space (%)**|cos(_T _<br>**Feature space**|_, S_)<br>**Projector space**|
|
| 54 |
+
|---|---|---|---|---|---|---|---|---|---|
|
| 55 |
+
|S1||Self-supervised|70.85|Absent|CE|64.90|-|0.94|-|
|
| 56 |
+
|S2||Self-supervised|70.85|Absent|cos(_T , S_)|68.49|-|0.94|-|
|
| 57 |
+
|S3||Supervised|80.86|Absent|CE|80.40|-|0.94|-|
|
| 58 |
+
|S4||Supervised|69.96|Absent|CE|71.73|-|0.98||
|
| 59 |
+
|S5||Self-supervised|70.85|Present|CE|73.14|64.67|0.19|0.92|
|
| 60 |
+
|
| 61 |
+
This is different from a standard distillation setting (Hinton et al., 2015) because the representations of standard and adversarially trained models are known to be inherently different. Ilyas et al. (2019) attribute the adversarial vulnerability of models to the presence of non-robust features which can be disentangled from robust features that are learned by adversarially trained models. The differences in representations of standard and adversarially trained models can also be justified by the fact that linear probing of standard trained models using adversarial training cannot produce robust models as shown in Table-11. On a similar note, standard full finetuning of adversarially trained models destroys the robust features learned (Chen et al., 2020a; Kim et al., 2020; Fan et al., 2021), yielding 0% robustness as shown in the table. Due to the inherently diverse representations of standard and adversarially trained models, the ideal goal of the student in the considered distillation setting is not to merely follow the teacher, but to be able to take weak supervision from it while being able to differ considerably. In order to achieve this, we take inspiration from standard self-supervised learning literature (Van den Oord et al., 2018; Chen et al., 2020b; He et al., 2020; Navaneet et al., 2022; Gao et al., 2022) and propose to utilize a projection layer following the student backbone, so as to isolate the impact of the enforced loss on the learned representations. Bordes et al. (2022) show that in standard supervised and self-supervised training, a projector is useful when there is a misalignment between the pretraining and downstream tasks, and aligning them can eliminate the need for the same. Motivated by this, we hypothesize the following for self-supervised distillation:
|
| 62 |
+
|
| 63 |
+
_Student model performance improves by matching the following during distillation:_
|
| 64 |
+
|
| 65 |
+
_1. Training objectives of the teacher and the ideal goals of the student,_
|
| 66 |
+
|
| 67 |
+
_2. Pretraining and linear probe training objectives of the student._
|
| 68 |
+
|
| 69 |
+
The ideal goal of the student depends on the downstream task, which is standard accuracy in standard training, and standard and robust accuracy in adversarial training. The training objective of the teacher is to achieve invariance to augmentations of the same image when compared to augmentations of other images in contrastive SSL training, and standard accuracy in supervised training. We explain the intuition behing the hypotheses in Appendix-B, and empirically justify the same by considering several distillation settings involving standard and adversarial, supervised and self-supervised trained teacher models in Tables-1 and 2. The results are presented on CIFAR-100 (Krizhevsky et al., 2009) with WideResNet-34-10 (Zagoruyko & Komodakis, 2016) architecture for both teacher and student. The standard self-supervised model is trained using SimCLR (Chen et al., 2020b). Contrary to a typical knowledge distillation setting where a cross-entropy loss is also used (Hinton et al., 2015), all the experiments presented involve the use of only self-supervised losses for distillation (cosine similarity between representations), and labels are used only during linear probing. Adversarial self-supervised distillation in Table-2 is performed using a combination of distillation loss on natural samples and smoothness loss on adversarial samples as shown in Eq.2 (Zhang et al., 2022). A randomly initialized trainable projector is used at the output of student backbone in S5 of Table-1 and A4 of Table-2. Here, the training loss is considered in the projected space of the student ( _Sp_ ) rather than the feature space ( _Sf_ ).
|
| 70 |
+
|
| 71 |
+
**1. Matching the training objectives of teacher with the ideal goals of the student:** We first consider the standard training of a student model, using either a self-supervised or supervised teacher in Table-1. In the absence of a projector, the drop in student accuracy w.r.t. the respective teacher accuracy is 6% with a self-supervised teacher (S1), and _<_ 0 _._ 5% with a supervised teacher (S3). To ensure that our observations are not a result of the 10% difference in teacher accuracy between S1 and S3, we present results and similar observations with a supervised sub-optimally trained teacher
|
| 72 |
+
|
| 73 |
+
4
|
| 74 |
+
|
| 75 |
+
Table 2: **Role of projector in self-supervised adversarial distillation (CIFAR-100, WRN-34-10):** Student performance after linear probe at feature space is reported. The drop in standard accuracy (SA) of the student ( _S_ ) w.r.t. the teacher ( _T_ ), and the robust accuracy (RA-G) of the student improve by matching the training objective of the teacher with ideal goals of the student (A3 vs. A1), and by using similar losses for pretraining and linear probing (LP) (A2 vs. A1). Using a projector improves performance in case of mismatch in the above (A4 vs. A1).
|
| 76 |
+
|
| 77 |
+
|**Exp**|**#**|**Teacher training**|**Teacher**<br>SA (%)|**accuracy**<br>RA-G(%)|**Projector**|**LP Loss**|**Student**<br>SA (%)|**accuracy**<br>RA-G(%)|cos(_T , S_)|
|
| 78 |
+
|---|---|---|---|---|---|---|---|---|---|
|
| 79 |
+
|A1||Self-supervised (standard training)|70.85|0|Absent|CE|50.71|24.63|0.78|
|
| 80 |
+
|A2||Self-supervised (standard training)|70.85|0|Absent|cos(_T , S_)|54.48|23.20|0.78|
|
| 81 |
+
|A3||Supervised (TRADES adversarial training)|59.88|25.89|Absent|CE|54.86|27.17|0.94|
|
| 82 |
+
|A4||Self-supervised (standard training)|70.85|0|Present|CE|57.51|24.10|0.18|
|
| 83 |
+
|
| 84 |
+
in S4. Thus, a supervised teacher is significantly better than a self-supervised teacher for distilling representations specific to a given task. This justifies the hypothesis that, _student performance improves by matching the training objectives of the teacher and the ideal goals of the student_ .
|
| 85 |
+
|
| 86 |
+
We next consider adversarial training of a student, using either a standard self-supervised teacher, or a supervised adversarially trained teacher (TRADES (Zhang et al., 2019)) in Table-2. Since the TRADES model is more aligned with the ideal goals of the student, despite its sub-optimal clean accuracy, the clean and robust accuracy of the student are better than those obtained using a standard self-supervised model as a teacher (A3 vs. A1). This further justifies the first hypothesis.
|
| 87 |
+
|
| 88 |
+
**2. Matching the pretraining and linear probe training objectives of the student:** To align pretraining with linear probing, we perform linear probing on the teacher model, and further train the student by maximizing the cosine similarity between the logits of the teacher and student. This boosts the student accuracy by 3.6%, in Table-1 (S2 vs. S1) and by 3 _._ 8% in Table-2 (A2 vs. A1).
|
| 89 |
+
|
| 90 |
+
The projector isolates the representations of the student from the training loss, as indicated by the lower similarity between the student and teacher at feature space when compared to that at the projector (in S5 and A4), and prevents overfitting of the student to the teacher training objective. This makes the student robust to the misalignment between the teacher training objective and ideal goals of the student, and also to the mismatch in student pretraining and linear probing objectives, thereby improving student performance, as seen in Tables-1 (S5 vs. S1) and 2 (A4 vs. A1).
|
| 91 |
+
|
| 92 |
+
## 4.2 PROFEAT: PROJECTED FEATURE ADVERSARIAL TRAINING
|
| 93 |
+
|
| 94 |
+
We present details on the proposed approach Projected Feature Adversarial Training, illustrated in Fig.1. Firstly, a teacher model is trained using a self-supervised training algorithm such as SimCLR (Chen et al., 2020b), which is also used as an initialization for the student for better convergence.
|
| 95 |
+
|
| 96 |
+
**Use of Projection Layer:** As discussed in Section-4.1, to overcome the impact of the inherent misalignment between the training objective of the teacher and the ideal goals of the student, and the mismatch between the pretraining and linear probing objectives, we propose to use a projection head at the output of the student backbone. As noted in Tables-1 (S5 vs. S1) and 2 (A4 vs. A1), even a randomly initialized projection head improves performance. Most self-supervised pretraining methods use similarity based losses at the output of a projection head for training (Chen et al., 2020b; He et al., 2020; Grill et al., 2020; Chen & He, 2021; Zbontar et al., 2021), resulting in a projected space where similarity has been enforced during pretraining, thus giving higher importance to the key dimensions. We therefore propose to reuse this pretrained projection head for both teacher and student and freeze it during training to prevent convergence to an identity mapping.
|
| 97 |
+
|
| 98 |
+
**Defense loss:** As is common in adversarial training literature (Zhang et al., 2019; 2022), we use a combination of loss on clean samples and smoothness loss to enforce adversarial robustness in the student model. Since the loss on clean samples utilizes supervision from the self-supervised pretrained teacher, it is enforced at the outputs of the respective projectors of the teacher and student as discussed above. The goal of the second loss is merely to enforce local smoothness in the loss surface of the student, and is enforced in an unsupervised manner (Zhang et al., 2019; 2022). Thus, it is ideal to enforce this loss at the feature space of the student network, since these representations are directly used for downstream applications. While the ideal locations for the clean and adversarial losses are the projected and feature spaces respectively, we find that such a loss formulation is hard to optimize, resulting in either a non-robust model, or collapsed representations as shown in Table-
|
| 99 |
+
|
| 100 |
+
5
|
| 101 |
+
|
| 102 |
+
**==> picture [357 x 138] intentionally omitted <==**
|
| 103 |
+
|
| 104 |
+
**----- Start of picture text -----**<br>
|
| 105 |
+
PGD attack<br>**----- End of picture text -----**<br>
|
| 106 |
+
|
| 107 |
+
Figure 1: **Proposed approach (ProFeAT):** The student is trained using a distillation loss on clean samples using supervision from an SSL pretrained teacher, and a smoothness loss to enforce adversarial robustness. A frozen pretrained projection layer is used at the teacher and student to prevent overfitting to the clean distillation loss. The use of strong augmentations at the student increases attack diversity, while weak augmentations at the teacher reduce the training complexity.
|
| 108 |
+
|
| 109 |
+
12. We therefore utilize a complimentary loss as a regularizer in the respective spaces. This results in a combination of losses at the feature and projector spaces as shown below:
|
| 110 |
+
|
| 111 |
+
**==> picture [393 x 53] intentionally omitted <==**
|
| 112 |
+
|
| 113 |
+
**==> picture [393 x 21] intentionally omitted <==**
|
| 114 |
+
|
| 115 |
+
**==> picture [393 x 20] intentionally omitted <==**
|
| 116 |
+
|
| 117 |
+
Here, _Tfp_ is a composition of the feature backbone _Tf_ and the projection layer _Tp_ of the teacher, and a similar notation is used for the student as well. The first term in Eq.1 and 2 represents the clean loss, which is the cosine similarity between the representations of the teacher and the student at corresponding layers. The second term corresponds to the smoothness loss at the respective layers of the student, and is weighted by a hyperparameter _β_ that controls the robustness-accuracy trade-off in the downstream model. The overall loss _L_ ProFeAT is an equally weighted combination of losses at the feature and projection spaces as shown in Eq.3, and is minimized during training. We show in Fig.4 that the model is stable to variations in weighting between the losses. We conjecture that the pretrained projection layer steers the cosine similarity loss to give higher importance to the required features, although similarity is additionally enforced on the feature layer as well.
|
| 118 |
+
|
| 119 |
+
**Attack generation:** The attack used in the training loss is generated by a maximizing a combination of losses in both projector and feature spaces as shown in Eq.4. Since the projector space is primarily used for enforcing similarity with the teacher, we minimize the cosine similarity between the teacher and student representations for attack generation. Since the feature space is primarily used for enforcing local smoothness in the loss surface of the student, we utilize the unsupervised formulation that minimizes similarity between representations of clean and adversarial samples at the student.
|
| 120 |
+
|
| 121 |
+
**Augmentations:** Standard supervised and self-supervised training approaches are known to benefit from the use of strong data augmentations such as AutoAugment (Cubuk et al., 2018). However, such augmentations, which distort the low-level features of images, are known to deteriorate the performance of adversarial training (Rice et al., 2020; Gowal et al., 2020). Addepalli et al. (2022) attribute the poor performance to the larger domain shift between the augmented train and unaugmented test set images, in addition to the increased complexity of the adversarial training task, which overpower the superior generalization attained due to the use of diverse augmentations. Although these factors influence adversarial training in the self-supervised regime as well, we hypothesize that the need for better generalization is higher in self-supervised training, since the pretraining task is not aligned with the ideal goals of the student, making it important to use strong augmentations.
|
| 122 |
+
|
| 123 |
+
6
|
| 124 |
+
|
| 125 |
+
Table 3: **SOTA comparison:** Standard Linear Probing performance (%) on CIFAR-10 and CIFAR100 datasets on ResNet-18 and WideResNet-34-10 models. Mean and standard deviation across 3 reruns are reported for DeACL Zhang et al. (2022) and the proposed approach, ProFeAT. Standard Accuracy (SA), Robust Accuracy against AutoAttack (RA-AA) and PGD-20 (RA-PGD20) reported.
|
| 126 |
+
|
| 127 |
+
|Accuracy (SA),Robust|Accuracyagainst AutoAttack(RA-AA)and PGD-20(RA-PGD20)reported.|
|
| 128 |
+
|---|---|
|
| 129 |
+
||**CIFAR-10**<br>**CIFAR-100**|
|
| 130 |
+
||**SA**<br>**RA-PGD20**<br>**RA-AA**<br>**SA**<br>**RA-PGD20**<br>**RA-AA**|
|
| 131 |
+
||**ResNet-18**|
|
| 132 |
+
|Supervised (TRADES)|83.74<br>49.35<br>47.60<br>59.07<br>26.22<br>23.14|
|
| 133 |
+
|AP-DPE<br>RoCL<br>ACL<br>AdvCL<br>DynACL<br>DynACL++<br>DeACL (Reported)<br>DeACL (Our Teacher)<br>ProFeAT (**Ours**)|78.30<br>18.22<br>16.07<br>47.91<br>6.23<br>4.17<br>79.90<br>39.54<br>23.38<br>49.53<br>18.79<br>8.66<br>77.88<br>42.87<br>39.13<br>47.51<br>20.97<br>16.33<br>80.85<br>50.45<br>42.57<br>48.34<br>27.67<br>19.78<br>77.41<br>-<br>45.04<br>45.73<br>-<br>19.25<br>79.81<br>-<br>46.46<br>52.26<br>-<br>20.05<br>80.17<br>53.95<br>45.31<br>52.79<br>30.74<br>20.34<br>80.05_±_0.29<br>52.97_±_0.08<br>**48.15**_±_0.05<br>51.53_±_0.30<br>30.92_±_0.21<br>21.91_±_0.13<br>**81.68**_±_0.23<br>49.55_±_0.16<br>47.02_±_0.01<br>**53.47**_±_0.10<br>27.95_±_0.13<br>**22.61**_±_0.14|
|
| 134 |
+
||**WideResNet-34-10**|
|
| 135 |
+
|Supervised (TRADES)|85.50<br>54.29<br>51.59<br>59.87<br>28.86<br>25.72|
|
| 136 |
+
|DynACL++(500 epochs)<br>DynACL++ (1000 epochs)<br>DeACL<br>ProFeAT (**Ours**)|82.27<br>49.60<br>47.12<br>52.59<br>24.22<br>21.27<br>80.97<br>48.28<br>45.50<br>52.60<br>23.42<br>20.58<br>83.83_±_0.20<br>57.09_±_0.06<br>48.85_±_0.11<br>52.92_±_0.35<br>32.66_±_0.08<br>23.82_±_0.07<br>**87.62**_±_0.13<br>54.50_±_0.17<br>**51.95**_±_0.19<br>**61.08**_±_0.18<br>31.96_±_0.08<br>**26.81**_±_0.11|
|
| 137 |
+
|
| 138 |
+
Table 4: **Performance across different models:** Standard Linear Probing performance (%) of DeACL (Baseline) and ProFeAT (Ours) across different architectures on CIFAR-100. ViT-B/16 uses Imagenet-1K trained SSL teacher for training, while the SSL teacher in all other cases is trained on the CIFAR-100. SA: Standard Accuracy, RA-AA: Robust Accuracy against AutoAttack.
|
| 139 |
+
|
| 140 |
+
||**#**|**parameters**|**(M)**|**SA**|**DeACL**<br>**RA-AA**|**ProFeAT**<br>**SA**|**(Ours)**<br>**RA-AA**|
|
| 141 |
+
|---|---|---|---|---|---|---|---|
|
| 142 |
+
|ResNet-18||11.27||51.53|21.91|**53.47**|**22.61**|
|
| 143 |
+
|ResNet-50||23.50||53.30|23.00|**59.34**|**25.86**|
|
| 144 |
+
|WideResNet-34-10||46.28||52.92|23.82|**61.08**|**26.81**|
|
| 145 |
+
|ViT-B/16||85.79||61.34|17.49|**65.08**|**21.52**|
|
| 146 |
+
|
| 147 |
+
However, it is also important to ensure that the training task is not too complex. We thus propose to use a combination of weak and strong augmentations as inputs to the teacher and student respectively, as shown in Fig.1. From Fig.2 we note that, the use of strong augmentations results in the generation of more diverse attacks, resulting in a larger drop when differently augmented images are used across different restarts of a PGD 5-step attack. The use of weak augmentations at the teacher imparts better supervision to the student, reducing the training complexity.
|
| 148 |
+
|
| 149 |
+
## 5 EXPERIMENTS AND RESULTS
|
| 150 |
+
|
| 151 |
+
## 5.1 COMPARISON WITH THE STATE-OF-THE-ART
|
| 152 |
+
|
| 153 |
+
In Table-3, we present a comparison of the proposed approach ProFeAT with respect to several existing self-supervised adversarial training approaches (Chen et al., 2020a; Kim et al., 2020; Jiang et al., 2020; Fan et al., 2021; Zhang et al., 2022; 2019) by freezing the feature extractor and performing linear probing using cross-entropy loss on clean samples. To ensure a fair comparison, the same is done for the supervised AT method TRADES (Zhang et al., 2019) as well. We report results on CIFAR-10 and CIFAR-100 datasets, and on ResNet-18 and WideResNet-34-10 architectures. The results of existing methods on ResNet-18 architecture are as reported by Zhang et al. (2022). Since DeACL (Zhang et al., 2022) also uses a teacher-student architecture, we reproduce their results using the same teacher as our method, and report the same as “DeACL (Our Teacher)”. Since most existing methods do not report results on WideResNet-34-10, we compare our results only with the best performing method (DeACL) and a recent method DynACL Luo et al. (2023). These results are not reported in the respective papers, hence we run them using the official code.
|
| 154 |
+
|
| 155 |
+
The proposed approach obtains competent robustness-acurracy trade-off when compared to the best performing baseline method DeACL on CIFAR-10 dataset with ResNet-18 architecture, and obtains _∼_ 2% higher clean accuracy alongside marginal gains in robust accuracy on CIFAR-100 ResNet-18.
|
| 156 |
+
|
| 157 |
+
7
|
| 158 |
+
|
| 159 |
+
Table 5: **Transfer Learning:** Standard Linear Probing performance (%) for transfer learning from CIFAR-10 and CIFAR-100 to STL-10 dataset on ResNet-18 and WideResNet-34-10 models. Standard Accuracy (SA), robustness against PGD-20 (RA-PGD20) and AutoAttack (RA-AA) reported.
|
| 160 |
+
|
| 161 |
+
||**ResNet-18**|**WideResNet-34-10**|
|
| 162 |
+
|---|---|---|
|
| 163 |
+
||**CIFAR-10 -****_>_STL-10**<br>**CIFAR-100 -****_>_STL-10**<br>**SA**<br>**RA-PGD20**<br>**RA-AA**<br>**SA**<br>**RA-PGD20**<br>**RA-AA**|**CIFAR-10 -****_>_STL-10**<br>**CIFAR-100 -****_>_STL-10**<br>**SA**<br>**RA-PGD20**<br>**RA-AA**<br>**SA**<br>**RA-PGD20**<br>**RA-AA**|
|
| 164 |
+
|Supervised<br>DeACL<br>ProFeat (Ours)|54.70<br>30.45<br>22.26<br>51.11<br>23.63<br>19.54<br>60.10<br>41.40<br>30.71<br>50.91<br>27.76<br>16.25<br>**64.30**<br>35.50<br>**30.95**<br>**52.63**<br>26.72<br>**20.55**|Supervised<br>67.15<br>32.78<br>30.49<br>**57.68**<br>17.49<br>11.26<br>DeACL<br>66.45<br>39.28<br>28.43<br>50.59<br>27.50<br>13.49<br>ProFeat (Ours)<br>**69.88**<br>35.48<br>**31.65**<br>56.68<br>24.95<br>**19.46**|
|
| 165 |
+
|
| 166 |
+
Table 6: **Ablations on Projector (CIFAR-100, WRN-34-10):** Performance (%) using variations in projector (proj.) initialization (init.) and trainability. SA: Standard Accuracy, RA-G: Robust accuracy against GAMA, RA-PGD20: Robust Accuracy against PGD-20 attack
|
| 167 |
+
|
| 168 |
+
|**#**|**Student proj.**|**Proj. init. (student)**|**Teacher proj**|**Proj. init. (teacher)**|**SA**|**RA-PGD20**|**RA-G**|
|
| 169 |
+
|---|---|---|---|---|---|---|---|
|
| 170 |
+
|AP1|Absent|-|Absent|-|55.35|35.89|**27.86**|
|
| 171 |
+
|AP2|Trainable|Random|Absent|-|**63.07**|32.05|26.57|
|
| 172 |
+
|AP3|Frozen|Pretrained|Absent|-|40.43|27.51|22.23|
|
| 173 |
+
|AP4|Trainable|Pretrained|Absent|-|62.89|31.97|26.57|
|
| 174 |
+
|AP5|Trainable|Random (common)|Trainable|Random (common)|53.43|35.58|27.23|
|
| 175 |
+
|**Ours**|Frozen|Pretrained|Frozen|Pretrained|61.05|31.99|27.41|
|
| 176 |
+
|AP6|Trainable|Pretrained (common)|Trainable|Pretrained (common)|54.60|36.10|27.41|
|
| 177 |
+
|AP7|Trainable|Pretrained|Frozen|Pretrained|58.18|35.26|27.73|
|
| 178 |
+
|
| 179 |
+
On WideResNet-34-10 architecture, we obtain _∼_ 3 _−_ 3 _._ 5% gains in both robust and clean accuracy on CIFAR-10, and similar gains in robust accuracy of CIFAR-100 as well. We obtain exceptional gains of _∼_ 8% on the clean accuracy of CIFAR-100. Overall, the gains of the proposed approach are higher for larger model capacities (WRN-34-10). We obtain superior results when compared to the supervised AT method TRADES as well, at higher model capacities. We present an evaluation of the pretrained models using other methods such as KNN in Appendix-G.8.
|
| 180 |
+
|
| 181 |
+
**Results of CIFAR-100 across different model architectures:** We report performance of the proposed method ProFeAT and the best baseline DeACL on diverse architectures including Vision transformers Dosovitskiy et al. (2021) on the CIFAR-100 dataset in Table-4. ProFeAT consistently outperforms DeACL in both clean and robust accuracy across various model architectures. (See Appendix-C for details)
|
| 182 |
+
|
| 183 |
+
**Transfer learning:** To evaluate the robustness and generalization of the representations learned, we compare the proposed approach with the best baseline DeACL (Zhang et al., 2022) in Table-5. We consider transfer from CIFAR-10 to STL-10 (Coates et al., 2011) and CIFAR-100 to STL-10. When compared to DeACL, the clean accuracy is _∼_ 4 _−_ 10% higher on CIFAR-10 and _∼_ 1 _._ 7 _−_ 6% higher on CIFAR-100. We also obtain 3 _−_ 5% higher robust accuracy when compared to DeACL on CIFAR-100, and higher improvements over TRADES. Results with Adversarial Full Finetuning (AFF) to STL-10 and Caltech-101 are presented in Appendix-G.9.
|
| 184 |
+
|
| 185 |
+
## 5.2 ABLATIONS
|
| 186 |
+
|
| 187 |
+
**Projection Layer:** We present ablation experiments using different configurations of the projection layer in Table-6. As discussed in Section-4.1, we observe a large boost in clean accuracy when a random (or pretrained) trainable projection layer is introduced to the student (AP2/ AP4 vs. AP1). While the use of pretrained frozen projection head only for the student degrades performance considerably (AP3), the use of the same for both teacher and student (Ours) yields a optimal robustnessaccuracy trade-off across all variations. The use of a common trainable projection head for both teacher and student results in collapsed representations at the projector output (AP5, AP6), yielding results similar to the case where projector is not used for both teacher and student (AP1). This issue is overcome when the pretrained projector is trainable only for the student (AP7).
|
| 188 |
+
|
| 189 |
+
**Training Loss:** We present ablation experiments across variations in training loss at the feature space and the projection head in Table-7. In the proposed approach (Ours), we introduce a combination of clean and robust losses at both feature and projector layers, as shown in Eq.3. By introducing the loss only at the features (AD1), there is a considerable drop in clean accuracy as seen earlier, which can be recovered by introducing the clean loss at the projection layer (AD3). Instead, when only the robust loss is introduced at the projection layer (AD4), there is a large drop in clean accuracy confirming that the need for projection layer is mainly enforcing the clean loss. When the combined loss is enforced only at the projection head (AD2), the accuracy is close to that of the
|
| 190 |
+
|
| 191 |
+
8
|
| 192 |
+
|
| 193 |
+
Table 7: **Ablations on Training Loss (CIFAR-100, WRN-34-10):** Performance (%) with variations in training loss at feature (feat.) and projector (proj.). “Clean” denotes the cosine similarity between representations of teacher and student on clean samples. “Adv” denotes the cosine similarity between representations of the corresponding clean and adversarial samples either at the output of student ( _S, S_ ) or between the teacher and student ( _T , S_ ). SA: Standard Accuracy, RA-G: Robust accuracy against GAMA, RA-PGD20: Robust Accuracy against PGD-20 attack
|
| 194 |
+
|
| 195 |
+
|**#**<br>**Loss @ feat.**<br>**Loss @ proj.**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|**#**<br>**Defense @ feat**<br>**Defense @ proj**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|
|
| 196 |
+
|---|---|
|
| 197 |
+
|**Ours**<br>clean + adv(_S, S_)<br>clean + adv(_S, S_)<br>61.05<br>31.99<br>27.41<br>AD1<br>clean + adv(_S, S_)<br>-<br>55.35<br>35.89<br>**27.86**<br>AD2<br>-<br>clean + adv(_S, S_)<br>59.65<br>33.03<br>26.90<br>AD3<br>clean + adv(_S, S_)<br>clean<br>61.69<br>31.34<br>26.40<br>AD4<br>clean + adv(_S, S_)<br>adv(_S, S_)<br>49.59<br>31.79<br>25.35|AD5<br>adv(_S, S_)<br>clean<br>59.72<br>3.77<br>1.38<br>AD6<br>adv(_S, S_)<br>clean + adv(_S, S_)<br>59.22<br>34.08<br>26.50<br>AD7<br>clean<br>clean + adv(_S, S_)<br>62.24<br>30.55<br>25.97<br>AD8<br>clean + adv(_S, S_)<br>clean + adv(_T , S_)<br>63.85<br>29.97<br>23.91<br>AD9<br>clean + adv(_T , S_)<br>clean + adv(_T , S_)<br>**65.34**<br>27.75<br>22.40|
|
| 198 |
+
|
| 199 |
+
Table 8: **Ablations on Augmentations used (CIFAR-100, WRN-34-10):** Performance (%) using different augmentations for the teacher and student. (PC: Pad+Crop, AuAu: AutoAugment). Standard Accuracy (SA) and Robust accuracy against GAMA (RA-G), PGD-20 (RA-PGD20) reported
|
| 200 |
+
|
| 201 |
+
|**#**<br>**Teacher**<br>**Student**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|**#**<br>**Teacher**<br>**Student**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|
|
| 202 |
+
|---|---|
|
| 203 |
+
|AG1<br>PC<br>PC<br>56.57<br>30.54<br>25.29<br>AG2<br>AuAu<br>AuAu<br>60.76<br>31.83<br>27.21<br>AG3<br>PC1<br>PC2<br>56.95<br>30.94<br>25.39|AG4<br>AuAu1<br>AuAu2<br>59.51<br>32.44<br>**28.15**<br>AG5<br>AuAu<br>PC<br>57.28<br>31.23<br>26.14<br>**Ours**<br>PC<br>AuAu<br>**61.05**<br>31.99<br>27.41|
|
| 204 |
+
|
| 205 |
+
proposed approach, with marginally lower clean and robust accuracy. Enforcing only adversarial loss in the feature space, and only clean loss in the projector space is a hard optimization problem, and this results in a non-robust model (AD5). As shown in Table-12, even by increasing _β_ in AD5, we do not obtain a robust model, rather, there is a representation collapse. Thus, as discussed in Section-4.1, it is important to introduce the adversarial loss as a regularizer in the projector space as well (AD6). Enforcing only one of the two losses at the feature space (AD6 and AD7) also results in either inferior clean accuracy or robustness. Finally from AD8 and AD9 we note that the robustness loss is better when implemented as a smoothness constraint on the representations of the student, rather than by matching representations between the teacher and student. Overall, the proposed approach (Ours) results in the best robustness-accuracy trade-off.
|
| 206 |
+
|
| 207 |
+
**Training Augmentations:** We present ablation experiments to understand the impact of augmentations used for the teacher and student in Table-8. The base method (AG1) uses common Pad and Crop (PC) augmentation for both teacher and student. By using more complex augmentations -AutoAugment followed by Pad and Crop (denoted as AuAu in the table), there is a significant improvement in both clean and robust accuracy. By using separate augmentations for the teacher and student, there is an improvement in the case of PC (AG3), but a drop in clean accuracy accompanied by better robustness in case of AuAu. Finally by using a mix of both AuAu and PC at the student and teacher respectively (Ours), we obtain improvements in both clean and robust accuracy, since the former improves attack diversity as shown in Fig.2, while the latter makes the training task easier.
|
| 208 |
+
|
| 209 |
+
**Robustness-Accuracy trade-off:** We present results across variation in the robustness-accuracy trade-off parameter _β_ (Eq.1 and 2) in Fig.3. Both robustness and accuracy of the proposed method are significantly better than DeACL across all values of _β_ . Secondly, the proposed approach allows a significantly better control over the robustness-accuracy trade-off, specifically in the range 2-12, where the linear drop in clean accuracy is accompanied by an increase in the robust accuracy.
|
| 210 |
+
|
| 211 |
+
We present additional ablations by varying the SSL algorithm, projection layer architecture, number of training epochs of the teacher, and number of attack steps in Appendix-G.
|
| 212 |
+
|
| 213 |
+
## 6 CONCLUSION
|
| 214 |
+
|
| 215 |
+
In this work, we bridge the performance gap between supervised and self-supervised adversarial training approaches, specifically for large capacity models. We utilize a teacher-student setting (Zhang et al., 2022) where a standard self-supervised trained teacher is used to provide supervision to the student. Due to the inherent misalignment between the teacher training objective and the ideal goals of the student, we propose to use a projection layer in order to prevent the network from overfitting to the standard SSL trained teacher. We present a detailed analysis on the use of projection layer in distillation to justify our method. We additionally propose appropriate attack and defense losses in the feature and projector spaces alongside the use of weak and strong augmentations for the teacher and student respectively, to improve the attack diversity while maintaining low complexity of the training task. The proposed approach obtains significant gains over existing self-supervised adversarial training methods, specifically at large model capacities, demonstrating its scalability.
|
| 216 |
+
|
| 217 |
+
9
|
| 218 |
+
|
| 219 |
+
## REFERENCES
|
| 220 |
+
|
| 221 |
+
Sravanti Addepalli, Samyak Jain, and R.Venkatesh Babu. Efficient and effective augmentation strategy for adversarial training. _Advances in Neural Information Processing Systems (NeurIPS)_ , 35: 1488–1501, 2022.
|
| 222 |
+
|
| 223 |
+
- Sravanti Addepalli, Anshul Nasery, Venkatesh Babu Radhakrishnan, Praneeth Netrapalli, and Prateek Jain. Feature reconstruction from outputs can mitigate simplicity bias in neural networks. In _The Eleventh International Conference on Learning Representations_ , 2023.
|
| 224 |
+
|
| 225 |
+
- Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion, and Matthias Hein. Square attack: a query-efficient black-box adversarial attack via random search. In _The European Conference on Computer Vision (ECCV)_ , 2020.
|
| 226 |
+
|
| 227 |
+
- Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In _International Conference on Machine Learning (ICML)_ , 2018.
|
| 228 |
+
|
| 229 |
+
- Florian Bordes, Randall Balestriero, Quentin Garrido, Adrien Bardes, and Pascal Vincent. Guillotine regularization: Improving deep networks generalization by removing their head. _arXiv preprint arXiv:2206.13378_ , 2022.
|
| 230 |
+
|
| 231 |
+
- Jacob Buckman, Aurko Roy, Colin Raffel, and Ian Goodfellow. Thermometer encoding: One hot way to resist adversarial examples. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 232 |
+
|
| 233 |
+
- Nicholas Carlini, Anish Athalye, Nicolas Papernot, Wieland Brendel, Jonas Rauber, Dimitris Tsipras, Ian Goodfellow, and Aleksander Madry. On evaluating adversarial robustness. _arXiv preprint arXiv:1902.06705_ , 2019.
|
| 234 |
+
|
| 235 |
+
- Jinghui Chen and Quanquan Gu. Rays: A ray searching method for hard-label adversarial attack. In _Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining_ , pp. 1739–1747, 2020.
|
| 236 |
+
|
| 237 |
+
- Tianlong Chen, Sijia Liu, Shiyu Chang, Yu Cheng, Lisa Amini, and Zhangyang Wang. Adversarial robustness: From self-supervised pre-training to fine-tuning. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 699–708, 2020a.
|
| 238 |
+
|
| 239 |
+
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In _International conference on machine learning_ , pp. 1597–1607. PMLR, 2020b.
|
| 240 |
+
|
| 241 |
+
- Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)_ , 2021.
|
| 242 |
+
|
| 243 |
+
- Adam Coates, Andrew Ng, and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In _Proceedings of the fourteenth international conference on artificial intelligence and statistics_ , pp. 215–223. JMLR Workshop and Conference Proceedings, 2011.
|
| 244 |
+
|
| 245 |
+
- Francesco Croce and Matthias Hein. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks. In _International Conference on Machine Learning (ICML)_ , 2020.
|
| 246 |
+
|
| 247 |
+
- Francesco Croce, Maksym Andriushchenko, Vikash Sehwag, Edoardo Debenedetti, Nicolas Flammarion, Mung Chiang, Prateek Mittal, and Matthias Hein. Robustbench: a standardized adversarial robustness benchmark, 2021.
|
| 248 |
+
|
| 249 |
+
- Ekin D Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V Le. Autoaugment: Learning augmentation policies from data. _arXiv preprint arXiv:1805.09501_ , 2018.
|
| 250 |
+
|
| 251 |
+
- Guneet S. Dhillon, Kamyar Azizzadenesheli, Jeremy D. Bernstein, Jean Kossaifi, Aran Khanna, Zachary C. Lipton, and Animashree Anandkumar. Stochastic activation pruning for robust adversarial defense. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 252 |
+
|
| 253 |
+
10
|
| 254 |
+
|
| 255 |
+
- 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. 2021.
|
| 256 |
+
|
| 257 |
+
- Lijie Fan, Sijia Liu, Pin-Yu Chen, Gaoyuan Zhang, and Chuang Gan. When does contrastive learning preserve adversarial robustness from pretraining to finetuning? _Advances in Neural Information Processing Systems_ , 34, 2021.
|
| 258 |
+
|
| 259 |
+
- Yuting Gao, Jia-Xin Zhuang, Shaohui Lin, Hao Cheng, Xing Sun, Ke Li, and Chunhua Shen. Disco: Remedy self-supervised learning on lightweight models with distilled contrastive learning. In _The European Conference on Computer Vision (ECCV)_ , 2022.
|
| 260 |
+
|
| 261 |
+
- Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. _arXiv preprint arXiv:1803.07728_ , 2018.
|
| 262 |
+
|
| 263 |
+
- Sven Gowal, Chongli Qin, Jonathan Uesato, Timothy Mann, and Pushmeet Kohli. Uncovering the limits of adversarial training against norm-bounded adversarial examples. _arXiv preprint arXiv:2010.03593_ , 2020.
|
| 264 |
+
|
| 265 |
+
- Jean-Bastien Grill, Florian Strub, Florent Altch´e, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Guo, Mohammad Gheshlaghi Azar, Bilal Piot, koray kavukcuoglu, Remi Munos, and Michal Valko. Bootstrap your own latent - a new approach to self-supervised learning. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2020.
|
| 266 |
+
|
| 267 |
+
- 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 (CVPR)_ , 2016.
|
| 268 |
+
|
| 269 |
+
- Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 9729–9738, 2020.
|
| 270 |
+
|
| 271 |
+
- Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. _arXiv preprint arXiv:1503.02531_ , 2015.
|
| 272 |
+
|
| 273 |
+
- Andrew Ilyas, Shibani Santurkar, Dimitris Tsipras, Logan Engstrom, Brandon Tran, and Aleksander Madry. Adversarial examples are not bugs, they are features. _Advances in neural information processing systems_ , 32, 2019.
|
| 274 |
+
|
| 275 |
+
- Ziyu Jiang, Tianlong Chen, Ting Chen, and Zhangyang Wang. Robust pre-training by adversarial contrastive learning. _Advances in Neural Information Processing Systems_ , 33:16199–16210, 2020.
|
| 276 |
+
|
| 277 |
+
- Minseon Kim, Jihoon Tack, and Sung Ju Hwang. Adversarial self-supervised contrastive learning. _Advances in Neural Information Processing Systems_ , 33:2983–2994, 2020.
|
| 278 |
+
|
| 279 |
+
Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009.
|
| 280 |
+
|
| 281 |
+
- Ananya Kumar, Aditi Raghunathan, Robbie Jones, Tengyu Ma, and Percy Liang. Finetuning can distort pretrained features and underperform out-of-distribution. _arXiv preprint arXiv:2202.10054_ , 2022.
|
| 282 |
+
|
| 283 |
+
- Rundong Luo, Yifei Wang, and Yisen Wang. Rethinking the effect of data augmentation in adversarial contrastive learning. In _International Conference on Learning Representations (ICLR)_ , 2023.
|
| 284 |
+
|
| 285 |
+
- Xingjun Ma, Bo Li, Yisen Wang, Sarah M. Erfani, Sudanthi Wijewickrema, Grant Schoenebeck, Michael E. Houle, Dawn Song, and James Bailey. Characterizing adversarial subspaces using local intrinsic dimensionality. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 286 |
+
|
| 287 |
+
11
|
| 288 |
+
|
| 289 |
+
- Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Tsipras Dimitris, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 290 |
+
|
| 291 |
+
- KL Navaneet, Soroush Abbasi Koohpayegani, Ajinkya Tejankar, and Hamed Pirsiavash. Simreg: Regression as a simple yet effective tool for self-supervised knowledge distillation. _arXiv preprint arXiv:2201.05131_ , 2022.
|
| 292 |
+
|
| 293 |
+
- Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In _European Conference on Computer Vision_ , pp. 69–84. Springer, 2016.
|
| 294 |
+
|
| 295 |
+
- Tianyu Pang, Xiao Yang, Yinpeng Dong, Hang Su, and Jun Zhu. Bag of tricks for adversarial training. _International Conference on Learning Representations (ICLR)_ , 2021.
|
| 296 |
+
|
| 297 |
+
- Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In _Proceedings of the ACM Asia Conference on Computer and Communications Security (ACM ASIACCS)_ , 2017.
|
| 298 |
+
|
| 299 |
+
- Leslie Rice, Eric Wong, and J. Zico Kolter. Overfitting in adversarially robust deep learning. In _International Conference on Machine Learning (ICML)_ , 2020.
|
| 300 |
+
|
| 301 |
+
- Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. _Advances in neural information processing systems_ , 31, 2018.
|
| 302 |
+
|
| 303 |
+
- Yang Song, Taesup Kim, Sebastian Nowozin, Stefano Ermon, and Nate Kushman. Pixeldefend: Leveraging generative models to understand and defend against adversarial examples. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 304 |
+
|
| 305 |
+
- Gaurang Sriramanan, Sravanti Addepalli, Arya Baburaj, and R Venkatesh Babu. Guided Adversarial Attack for Evaluating and Enhancing Adversarial Defenses. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2020.
|
| 306 |
+
|
| 307 |
+
- Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In _International Conference on Learning Representations (ICLR)_ , 2013.
|
| 308 |
+
|
| 309 |
+
- Florian Tram`er, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick McDaniel. Ensemble adversarial training: Attacks and defenses. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 310 |
+
|
| 311 |
+
- Florian Tram`er, Jens Behrmann, Nicholas Carlini, Nicolas Papernot, and J¨orn-Henrik Jacobsen. Fundamental tradeoffs between invariance and sensitivity to adversarial perturbations. In _International Conference on Machine Learning (ICML)_ , 2020.
|
| 312 |
+
|
| 313 |
+
- Florian Tramer, Nicholas Carlini, Wieland Brendel, and Aleksander Madry. On adaptive attacks to adversarial example defenses. _arXiv preprint arXiv:2002.08347_ , 2020.
|
| 314 |
+
|
| 315 |
+
- Trieu H Trinh, Minh-Thang Luong, and Quoc V Le. Selfie: Self-supervised pretraining for image embedding. _arXiv preprint arXiv:1906.02940_ , 2019.
|
| 316 |
+
|
| 317 |
+
- Aaron Van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. _arXiv e-prints_ , pp. arXiv–1807, 2018.
|
| 318 |
+
|
| 319 |
+
- Cihang Xie, Jianyu Wang, Zhishuai Zhang, Zhou Ren, and Alan Yuille. Mitigating adversarial effects through randomization. In _International Conference on Learning Representations (ICLR)_ , 2018.
|
| 320 |
+
|
| 321 |
+
- Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. _arXiv preprint arXiv:1605.07146_ , 2016.
|
| 322 |
+
|
| 323 |
+
Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and St´ephane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In _International Conference on Machine Learning_ , pp. 12310– 12320. PMLR, 2021.
|
| 324 |
+
|
| 325 |
+
12
|
| 326 |
+
|
| 327 |
+
- Chaoning Zhang, Kang Zhang, Chenshuang Zhang, Axi Niu, Jiu Feng, Chang D Yoo, and In So Kweon. Decoupled adversarial contrastive learning for self-supervised adversarial robustness. In _Computer Vision–ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23–27, 2022, Proceedings, Part XXX_ , pp. 725–742. Springer, 2022.
|
| 328 |
+
|
| 329 |
+
- Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric Xing, Laurent El Ghaoui, and Michael I Jordan. Theoretically principled trade-off between robustness and accuracy. In _International Conference on Machine Learning (ICML)_ , 2019.
|
| 330 |
+
|
| 331 |
+
## A BACKGROUND: SUPERVISED ADVERSARIAL DEFENSES
|
| 332 |
+
|
| 333 |
+
Following the demonstration of adversarial attacks by Szegedy et al. (2013), there have been several attempts of defending Deep Networks against them. Early defenses proposed intuitive methods that introduced non-differentiable or randomized components in the network to thwart gradient-based attacks (Buckman et al., 2018; Ma et al., 2018; Dhillon et al., 2018; Xie et al., 2018; Song et al., 2018). While these methods were efficient and easy to implement, Athalye et al. (2018) proposed adaptive attacks which successfully broke several such defenses by replacing the non-differentiable components with smooth differentiable approximations, and by taking an expectation over the randomized components. Adversarial Training (Madry et al., 2018; Zhang et al., 2019) was the most successful defense strategy that withstood strong white-box (Croce & Hein, 2020; Sriramanan et al., 2020), black-box (Andriushchenko et al., 2020; Chen & Gu, 2020) and adaptive attacks (Athalye et al., 2018; Tramer et al., 2020) proposed over the years. PGD (Projected Gradient Descent) based adversarial training (Madry et al., 2018) involves maximizing the cross-entropy loss to generate adversarial attacks, and further minimizing the loss on the adversarial attacks for training. Another successful supervised Adversarial Training based defense was TRADES (Zhang et al., 2019), where the Kullback-Leibler (KL) divergence between clean and adversarial samples was minimized along with the cross-entropy loss on clean samples for training. Adjusting the weight between the losses gave a flexible trade-off between the clean and robust accuracy of the trained model. Although these methods have been robust against several attacks, it has been shown that the sample complexity of adversarial training is large (Schmidt et al., 2018), and this increases the training and annotation costs needed for adversarial training.
|
| 334 |
+
|
| 335 |
+
## B DETAILS ON THE HYPOTHESES
|
| 336 |
+
|
| 337 |
+
In this section, we justify the intuition behind the hypotheses presented in Section-4.1, which is restated below:
|
| 338 |
+
|
| 339 |
+
_Student model performance improves by matching the following during distillation:_
|
| 340 |
+
|
| 341 |
+
_1. Training objectives of the teacher and the ideal goals of the student,_
|
| 342 |
+
|
| 343 |
+
_2. Pretraining and linear probe training objectives of the student._
|
| 344 |
+
|
| 345 |
+
**Hypothesis-1:** Consider task-A to be the teacher’s training task, and task-B to be the student’s downstream task or its ideal goal. The representations in deeper layers (last few layers) of the teacher are more tuned to its training objective, and the early layers contain a lot more information than what is needed for this task Bordes et al. (2022). Thus, features specific to task-A are dominant or replicated in the final feature layer, and other features that may be relevant to task-B are sparse. When a similarity based distillation loss is enforced on such features, higher importance is given to matching the replicated features, and the sparse features which may be important for task-B are suppressed further in the student Addepalli et al. (2023). On the other hand, when the student’s task matches with the teacher’s task, a similarity based distillation loss is very effective in transferring the necessary representations to the student, since they are predominant. Thus, matching the training objective of the teacher with the ideal goals of the student improves downstream performance.
|
| 346 |
+
|
| 347 |
+
**Hypothesis-2:** For a given network, aligning the pretraining task with downstream task results in better performance since the matching of tasks ensures that the required features are predominant, and they are easily used by an SVM classifier (or a linear classifier) trained over it Addepalli et al. (2023). In context of distillation, since the features of the student are trained by enforcing similarity based loss w.r.t. the teacher, we hypothesize that enforcing similarity w.r.t. the teacher is the best
|
| 348 |
+
|
| 349 |
+
13
|
| 350 |
+
|
| 351 |
+
way to learn the student classifier as well. To illustrate this, we consider task-A to be the teacher pretraining task, and task-B to be the downstream task or ideal goal of the student. As discussed above, the teacher’s features are aligned to task-A and these are transferred effectively to the student. The features related to task-B are suppressed in the teacher and are further suppressed in the student. As the features specific to a given task become more sparse, it is harder for an SVM classifier (or a linear classifier) to rely on that feature, although it important for classification Addepalli et al. (2023). Thus, training a linear classifier for task-B is more effective on the teacher when compared to the student. The linear classifier of the teacher in effect amplifies the sparse features, allowing the student to learn them more effectively. Thus, training a classifier on the teacher and distilling it to the student is better than training a classifier directly on the student.
|
| 352 |
+
|
| 353 |
+
We empirically justify our hypotheses in Section-4.1.
|
| 354 |
+
|
| 355 |
+
## C MECHANISM FOR SCALING TO LARGER DATASETS
|
| 356 |
+
|
| 357 |
+
For a sufficiently complex task, a scalable approach results in better performance on larger models given enough data. Although the task complexity of adversarial self-supervised learning is high, the gains in prior approaches are marginal with an increase in model size, while the proposed method results in significantly improved performance on larger capacity models (Table-3). We discuss the key factors that result in better scalability below:
|
| 358 |
+
|
| 359 |
+
- As discussed in Section-4.1, a mismatch between training objectives of the teacher and ideal goals of the student causes a drop in student performance. This primarily happens because of the overfitting to the teacher training task. As model size increases, the extent of overfitting increases. The use of a projection layer during distillation alleviates the impact of this overfitting and allows the student to retain more generic features that are useful for the downstream robust classification objective. Thus, a projection layer is more important for larger model capacities where the extent of overfitting is higher.
|
| 360 |
+
|
| 361 |
+
- Secondly, as the model size increases, there is a need for higher amount of training data for achieving better generalization. The proposed method has better data diversity as it enables the use of more complex data augmentations in adversarial training by leveraging supervision from weak augmentations at the teacher.
|
| 362 |
+
|
| 363 |
+
## D DETAILS ON DATASETS
|
| 364 |
+
|
| 365 |
+
We compare the performance of the proposed approach ProFeAT with existing methods on the benchmark datasets CIFAR-10 and CIFAR-100 Krizhevsky et al. (2009), that are commonly used for evaluating the adversarial robustness of models Croce et al. (2021). Both datasets consist of RGB images of dimension 32 _×_ 32. CIFAR-10 consists of 50,000 images in the training set and 10,000 images in the test set, with the images being divided equally into 10 classes - airplane, automobile, bird, cat, deer, dog, frog, horse, ship and truck. CIFAR-100 dataset is of the same size as CIFAR-10, with images being divided equally into 100 classes. Due to the larger number of classes, there are only 500 images per class in CIFAR-100, making it a more challenging dataset when compared to CIFAR-10.
|
| 366 |
+
|
| 367 |
+
## E DETAILS ON TRAINING AND COMPUTE
|
| 368 |
+
|
| 369 |
+
**Model Architecture:** We report the key comparisons with existing methods on two of the commonly considered model architectures in the literature of adversarial robustness Pang et al. (2021); Zhang et al. (2019); Rice et al. (2020); Croce et al. (2021) - ResNet-18 He et al. (2016) and WideResNet-3410 Zagoruyko & Komodakis (2016). Although most existing methods for self-supervised adversarial training report results only on ResNet-18 Zhang et al. (2022); Fan et al. (2021), we additionally consider the WideResNet-34-10 architecture to demonstrate the scalability of the proposed approach to larger model architectures. We perform the ablation experiments on the CIFAR-100 dataset with WideResNet-34-10 architecture, which is a very challenging setting in self-supervised adversarial training, to be able to better distinguish between different variations adopted during training.
|
| 370 |
+
|
| 371 |
+
14
|
| 372 |
+
|
| 373 |
+
Table 9: **Total number of Forward (FP) or Backward (BP) Propagations during training** of the proposed approach when compared to prior works. Distillation based approaches - ProFeAT and DeACL require significantly lesser compute when compared to prior methods, and are only more expensive than supervised adversarial training.
|
| 374 |
+
|
| 375 |
+
||**# epochs**|**# attack steps**|**# FP or BP for AT**|**# FP or BP for auxiliary model**|**Total # FP or BP**|
|
| 376 |
+
|---|---|---|---|---|---|
|
| 377 |
+
|Supervised (TRADES)|110|10|1210|0|1210|
|
| 378 |
+
|AP-DPE|450|10|4950|0|4950|
|
| 379 |
+
|RoCL|1000|5|6000|0|6000|
|
| 380 |
+
|ACL|1000|5|12000|0|12000|
|
| 381 |
+
|AdvCL|1000|5|12000|1000|13000|
|
| 382 |
+
|DynACL|1000|5|12000|0|12000|
|
| 383 |
+
|DynACL++|1025|5|12300|0|12300|
|
| 384 |
+
|DeACL|100|5|700|1000|1700|
|
| 385 |
+
|ProFeAT (Ours)|100|5|800|1000|1800|
|
| 386 |
+
|
| 387 |
+
Table 10: **Floating Point Operations per Second (GFLOPS) and latency per epoch during training** of the proposed approach ProFeAT when compared to the baseline DeACL for ResNet18 and WideResNet-34-10 models. The computational overhead during training is marginal with the addition of the projection layer, and reduces further for larger capacity models.
|
| 388 |
+
|
| 389 |
+
|**ResNet-18**<br>**GFLOPS**<br>**Time/ epoch**<br>**#params (M)**|**WideResNet-34-10**<br>**GFLOPS**<br>**Time/ epoch**<br>**# params (M)**|
|
| 390 |
+
|---|---|
|
| 391 |
+
|DeACL<br>671827<br>51s<br>11.27<br>ProFeAT (Ours)<br>672200<br>51s<br>11.76|6339652<br>4m 50s<br>46.28<br>6340197<br>4m 50s<br>46.86|
|
| 392 |
+
|% increase<br>0.056<br>0.00<br>4.35|0.009<br>0.00<br>1.25|
|
| 393 |
+
|
| 394 |
+
**Training Details:** The self-supervised training of the teacher model is performed for 1000 epochs with the SimCLR algorithm (Chen et al., 2020b) similar to prior work (Zhang et al., 2022). We utilize the solo-learn repository[1] for this purpose. For the SimCLR SSL training, we tune and use a learning rate of 1.5 with SGD optimizer, a cosine schedule with warmup, weight decay of 1 _e −_ 5 and train the backbone for 1000 epochs with other hyperparameters kept as default as in the repository.
|
| 395 |
+
|
| 396 |
+
The self-supervised adversarial training of the feature extractor using the proposed approach is performed for 100 epochs using SGD optimizer with a weight decay of 3 _e −_ 4, cosine learning rate with 10 epochs of warm-up, and a maximum learning rate of 0.5. We fix the value of _β_ , the robustnessaccuracy trade-off parameter (Ref: Eq.1 and 2 in the main paper) to 8 in all our experiments, unless specified otherwise.
|
| 397 |
+
|
| 398 |
+
**Details on Linear Probing:** To evaluate the performance of the learned representations, we perform standard linear probing by freezing the adversarially pretrained backbone as discussed in Section-2 of the main paper. We use a class-balanced validation split consisting of 1000 images from the train set and perform early-stopping during training based on the performance on the validation set. The training is performed for 25 epochs with a step learning rate schedule where the maximum learning rate is decayed by a factor of 10 at epoch 15 and 20. The learning rate is chosen amongst the following settings - _{_ 0 _._ 1 _,_ 0 _._ 05 _,_ 0 _._ 1 _,_ 0 _._ 5 _,_ 1 _,_ 5 _}_ with SGD optimizer, and the weight decay is fixed to 2 _e −_ 4. The same evaluation protocol is used for the best baseline - DeACL Zhang et al. (2022) as well as the proposed approach, for both in-domain and transfer learning settings.
|
| 399 |
+
|
| 400 |
+
**Compute:** The following Nvidia GPUs have been used for performing the experiments reported in this work - V100, A100, and A6000. Each of the experiments are run either on a single GPU, or across 2 GPUs based on the complexity of the run and GPU availability. For 100 epochs of single-precision (FP32) training with a batch size of 256, the proposed approach takes _∼_ 8 hours and _∼_ 16GB of GPU memory on a single A100 GPU for WideResNet-34-10 model on CIFAR-100.
|
| 401 |
+
|
| 402 |
+
## F COMPUTATIONAL COMPLEXITY
|
| 403 |
+
|
| 404 |
+
In terms of compute, both the proposed method ProFeAT and DeACL Zhang et al. (2022) lower the overall computational cost when compared to prior approaches. This is because self-supervised
|
| 405 |
+
|
| 406 |
+
> 1[URL removed]
|
| 407 |
+
|
| 408 |
+
15
|
| 409 |
+
|
| 410 |
+
Table 11: **Diverse representations of Standard Trained (ST) and Adversarially Trained (AT) models (CIFAR-100, WRN-34-10):** ST models achieve 0% robust accuracy even with adversarial training of the linear layer, and AT models lose their robustness with standard full-finetuning. SA: Standard Accuracy, RA-G: Robust accuracy against GAMA, RA-PGD20: Robust Accuracy against PGD-20 attack
|
| 411 |
+
|
| 412 |
+
|PGD-20 attack||
|
| 413 |
+
|---|---|
|
| 414 |
+
|**Training/ LP Method**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|**Training/ LP Method**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|
|
| 415 |
+
|Standard trained model<br>80.86<br>0.00<br>0.00<br>+ Adversarial Linear Probing<br>80.10<br>0.00<br>0.00|TRADES AT model<br>60.22<br>28.67<br>26.36<br>+ Standard Full Finetuning<br>76.11<br>0.37<br>0.11|
|
| 416 |
+
|
| 417 |
+
Table 12: **Failure of AD5 (Table-7) defense loss for SSL-AT training of WRN-34-10 model on CIFAR-100:** Using clean and adversarial loss exclusively at projector and feature space respectively, results in an unstable optimization problem, giving either a non-robust model or collapsed representations at the end of training. As shown below, a lower value of _β_ (the robustness-accuracy trade-off parameter) results in a non-robust model, while higher _β_ results in the learning of collapsed representations.
|
| 418 |
+
|
| 419 |
+
|_β_|**Standard Accuracy (SA)**|**Robust Accuracy against GAMA (RA-G)**|
|
| 420 |
+
|---|---|---|
|
| 421 |
+
|1|**67.34**|0.46|
|
| 422 |
+
|5|51.99|0.71|
|
| 423 |
+
|10|31.34|7.81|
|
| 424 |
+
|50|11.59|2.55|
|
| 425 |
+
|100|8.23|**2.61**|
|
| 426 |
+
|
| 427 |
+
training in general requires larger number of epochs (1000) to converge Chen et al. (2020b); He et al. (2020) when compared to supervised learning ( _<_ 100). Prior approaches like RoCL Kim et al. (2020), ACL Jiang et al. (2020) and AdvCL Fan et al. (2021) combine the contrastive training objective of SSL approaches and the adversarial training objective. Thus, these methods require larger number of training epochs (1000) for the adversarial training task, which is already computationally expensive due to the requirement of generating multi-step attacks during training. ProFeAT and DeACL use a SSL teacher for training and thus, the adversarial training is more similar to supervised training, requiring only 100 epochs. In Table-9, we present the approximate number of forward and backward propagations for each algorithm, considering both pretraining of the auxiliary network used and the training of the main network. It can be noted that the distillation based approaches - ProFeAT and DeACL require significantly lesser compute when compared to prior methods, and are only more expensive than supervised adversarial training. In Table-10, we present the FLOPS required during training for the proposed approach and DeACL. One can observe that there is a negligible increase in FLOPS compared to the baseline approach.
|
| 428 |
+
|
| 429 |
+
## G ADDITIONAL RESULTS
|
| 430 |
+
|
| 431 |
+
## G.1 EFFECT OF EACH COMPONENT OF THE PROPOSED APPROACH
|
| 432 |
+
|
| 433 |
+
We show the impact of each component of the proposed approach in Table-13. Below are the observations based on the results:
|
| 434 |
+
|
| 435 |
+
- _Projector_ : A key component of the proposed method is the introduction of the projector. We observe significant gains in clean accuracy (4.76%) by introducing the frozen pretrained projector along with defense losses at the feature and projector (E1 vs. E2). The importance of the projector is also evident by the fact that removing the projector from the proposed defense results in a large drop (5.7%) in clean accuracy (E9 vs. E5). In combination with other components in the table as well, the projector improves the performance significantly (E4 vs. E6, E3 vs. E7, E5 vs. E9). We observe an improvement of 9.18% in clean accuracy when the projector is introduced in the presence of the proposed augmentation strategy (E3 vs. E7). This is significantly higher than the gains obtained by introducing the projector over the baseline, which is 4.76% (E1 vs. E2).
|
| 436 |
+
|
| 437 |
+
- _Augmentations_ : The proposed augmentation strategy is seen to improve performance, specifically robust accuracy, across all combinations. Introducing the proposed augmen-
|
| 438 |
+
|
| 439 |
+
16
|
| 440 |
+
|
| 441 |
+
Table 13: **Ablations on ProFeAT (CIFAR-100, WRN-34-10):** Performance (%) by enabling different components of the proposed approach. A tick mark in the Projector column means that a frozen pretrained projector is used for the teacher and student, with the defense loss being enforced at the feature and projector as shown in Eq.3. E1 represents the baseline or DeACL defense, and E9 represents the proposed defense or ProFeAT. E8*:Defense loss applied only at the projector. SA: Standard Accuracy, RA-PGD20: Robust Accuracy against PGD-20 attack, RA-G: Robust Accuracy against GAMA
|
| 442 |
+
|
| 443 |
+
|E#|**Projector**|**Augmentations**|**Attack loss**|**SA**|**RA-PGD20**|**RA-G**|
|
| 444 |
+
|---|---|---|---|---|---|---|
|
| 445 |
+
|E1||||52.90|32.75|24.66|
|
| 446 |
+
|E2|✓|||57.66|31.14|25.04|
|
| 447 |
+
|E3||✓||52.83|35.00|27.13|
|
| 448 |
+
|E4|||✓|51.80|31.37|24.77|
|
| 449 |
+
|E5||✓|✓|55.35|35.89|**27.86**|
|
| 450 |
+
|E6|✓||✓|56.57|30.54|25.29|
|
| 451 |
+
|E7|✓|✓||**62.01**|31.62|26.89|
|
| 452 |
+
|E8|✓*|✓|✓|59.65|33.03|26.90|
|
| 453 |
+
|E9|✓|✓|✓|61.05|31.99|27.41|
|
| 454 |
+
|
| 455 |
+
Table 14: **Ablations on Projector Configuration and Architecture (CIFAR-100, WRN-34-10):** Performance (%) obtained by varying the projector configuration (config.) and architecture (arch.). A non-linear projector effectively reduces the gap in clean accuracy between the teacher and student. A bottleneck architecture for the projector is worse than other variants. SA: Standard Accuracy, RAPGD20: Robust Accuracy against PGD-20 attack, RA-G: Robust Accuracy against GAMA
|
| 456 |
+
|
| 457 |
+
|**#**|**Projector confg.**|**Projector arch.**|**Teacher SA**|**Student SA**|**Drop in SA**|**% Drop in SA**|**RA-PGD20**|**RA-G**|
|
| 458 |
+
|---|---|---|---|---|---|---|---|---|
|
| 459 |
+
|APA1|No projector|-|70.85|55.35|15.50|21.88|35.89|**27.86**|
|
| 460 |
+
|APA2|Linear layer|640-256|68.08|53.35|14.73|21.64|35.57|27.47|
|
| 461 |
+
|**Ours**|2 Layer MLP|640-640-256|70.85|61.05|9.80|13.83|31.99|27.41|
|
| 462 |
+
|APA3|3 Layer MLP|640-640-640-256|70.71|60.37|10.34|14.62|31.44|27.37|
|
| 463 |
+
|APA4|2 Layer MLP|640-640-640|69.88|61.24|8.64|12.36|31.88|27.36|
|
| 464 |
+
|APA5|2 Layer MLP|640-2048-640|**70.96**|**61.76**|9.20|12.97|29.53|26.66|
|
| 465 |
+
|APA6|2 Layer MLP|640-256-640|69.37|57.87|11.50|16.58|34.53|27.56|
|
| 466 |
+
|
| 467 |
+
tation strategy in the base DeACL defense improves the robust accuracy by 2.47% (E1 vs. E3). The importance of the proposed augmentation strategy is also evident by the fact that in the absence of the same, there is a 4.48% drop in clean accuracy and 2.12% drop in robust accuracy (E9 vs. E6). Further, when combined with other components as well, the proposed augmentation strategy shows good improvements (E4 vs. E5, E2 vs. E7, E6 vs. E9).
|
| 468 |
+
|
| 469 |
+
- _Attack loss_ : The proposed attack objective is designed to be consistent with the proposed defense strategy, where the goal is to enforce smoothness at the student in the feature space and similarity with the teacher in the projector space. As shown in Table-17, the proposed method is not very sensitive to different choices of attack losses. The impact of the attack loss in feature space can be seen in combination with the proposed augmentations, where we observe an improvement of 2.5% in clean accuracy alongside a marginal improvement in robust accuracy (E3 vs. E5). However, in presence of projector, the attack results in only marginal robustness gains, possibly because the clean accuracy is already high (E9 vs. E7).
|
| 470 |
+
|
| 471 |
+
- _Defense loss_ : We do not introduce a separate column for defense loss as it is applicable only in the presence of the projector. We show the impact of the proposed defense losses in the last two rows (E8 vs. E9). The proposed defense loss improves the clean accuracy by 1.4% and robust accuracy marginally.
|
| 472 |
+
|
| 473 |
+
## G.2 ARCHITECTURE OF THE PROJECTION HEAD
|
| 474 |
+
|
| 475 |
+
In the proposed approach, we use the following 2-layer MLP projection head for both self-supervised pretraining of the teacher and adversarial training of the student:
|
| 476 |
+
|
| 477 |
+
- ResNet-18: 512-512-256
|
| 478 |
+
|
| 479 |
+
- WideResNet-18: 640-640-256
|
| 480 |
+
|
| 481 |
+
17
|
| 482 |
+
|
| 483 |
+
Table 15: **Ablations on the number of training epochs for the teacher SSL model (CIFAR100, WRN-34-10):** Performance (%) obtained by varying the number of epochs for which the standard self-supervised teacher model is pretrained. Improvements in accuracy of the teacher result in corresponding gains in both standard and robust accuracy of the student. SA: Standard Accuracy, RA-PGD20: Robust Accuracy against PGD-20 attack, RA-G: Robust Accuracy against GAMA
|
| 484 |
+
|
| 485 |
+
|**# epochs of PT**|**Teacher SA**|**Student SA**|**Drop in SA**|**% Drop in SA**|**RA-PGD20**|**RA-G**|
|
| 486 |
+
|---|---|---|---|---|---|---|
|
| 487 |
+
|100|55.73|49.37|6.36|11.41|25.23|20.86|
|
| 488 |
+
|200|65.43|56.16|9.27|14.17|28.67|24.15|
|
| 489 |
+
|500|69.27|59.62|9.65|13.93|31.46|26.75|
|
| 490 |
+
|1000|**70.85**|**61.05**|9.80|13.83|31.99|**27.41**|
|
| 491 |
+
|
| 492 |
+
In Table-14, we present results using different configurations and architectures of the projector. Firstly, the use of a linear projector (APA2) is similar to the case where projector is not used for student training (APA1), with _∼_ 21% drop in clean accuracy of the student with respect to the teacher. This improves to 12 _−_ 17% when a non-linear projector is introduced (APA3-APA6 and Ours). The use of a 2-layer MLP (Ours) is marginally better than the use of a 3-layer MLP (APA3) in terms of clean accuracy of the student. The accuracy of the student is stable across different architectures of the projector (Ours, APA4, APA5). However, the use of a bottleneck architecture (APA6) results in a higher drop in clean accuracy of the student.
|
| 493 |
+
|
| 494 |
+
## G.3 ACCURACY OF THE SELF-SUPERVISED TEACHER MODEL
|
| 495 |
+
|
| 496 |
+
The self-supervised teacher model is obtained using 1000 epochs of SimCLR (Chen et al., 2020b) training in all our experiments. We now study the impact of training the teacher model for lesser number of epochs. As shown in Table-15, as the number of teacher training epochs reduces, there is a drop in the accuracy of the teacher, resulting in a corresponding drop in the clean and robust accuracy of the student model. Thus, the performance of the teacher is crucial for training a better student model.
|
| 497 |
+
|
| 498 |
+
## G.4 SELF-SUPERVISED TRAINING ALGORITHM OF THE TEACHER
|
| 499 |
+
|
| 500 |
+
In the proposed approach, the teacher is trained using the popular self-supervised training algorithm SimCLR (Chen et al., 2020b), similar to prior works (Zhang et al., 2022). In this section, we study the impact of using different algorithms for the self-supervised training of the teacher and present results in Table-16. In order to ensure consistency across different SSL methods, we use a _random trainable_ projector (2-layer MLP with both hidden and output dimensions of 640) for training the student and do not employ any projection head for the pretrained frozen teacher. While the default teacher trained using SimCLR was finetuned across hyperparameters, we utilize the default hyperparameters from the solo-learn[2] Github repository for this table, and thus present SimCLR also without tuning for a fair comparison. For uniformity, we report all results with _β_ = 8 (the robustness-accuracy trade-off parameter). From Table-16, we note that in most cases, the clean accuracy of the student increases as the accuracy of the teacher improves, while the robust accuracy does not change much. We note that this table merely shows that the proposed approach can be effectively integrated with several base self-supervised learning algorithms for the teacher model. However, it does not present a fair comparison across different SSL pretraining algorithms, since the ranking on the final performance of the student would change if the pretraining SSL algorithms were used with appropriate hyperparameter tuning.
|
| 501 |
+
|
| 502 |
+
## G.5 ATTACK LOSS
|
| 503 |
+
|
| 504 |
+
For performing adversarial training using the proposed approach, attacks are generated by minimizing a combination of cosine similarity based losses as shown in Eq.4 of the main paper. This includes an unsupervised loss at the feature representations of the student and another loss between the representations of the teacher and student at the projector. As shown in Table-17, we obtain a
|
| 505 |
+
|
| 506 |
+
> 2[URL removed]
|
| 507 |
+
|
| 508 |
+
18
|
| 509 |
+
|
| 510 |
+
Table 16: **Ablations on the algorithm used for training the self-supervised teacher model (CIFAR-100, WRN-34-10):** Performance (%) of the proposed approach by varying the pretraining algorithm of the teacher model. A random trainable projector is used for training the student model, to maintain uniformity in projector architecture across all methods. SA: Standard Accuracy, RA-PGD20: Robust Accuracy against PGD-20 attack, RA-G: Robust Accuracy against GAMA
|
| 511 |
+
|
| 512 |
+
|**Teacher Training**|**Teacher SA**|**Student SA**|**RA-PGD20**|**RA-G**|
|
| 513 |
+
|---|---|---|---|---|
|
| 514 |
+
|SimCLR|67.98|62.20|31.31|26.13|
|
| 515 |
+
|SimCLR (tuned)|70.85|63.07|32.05|26.57|
|
| 516 |
+
|BYOL|**72.97**|63.19|31.63|**26.82**|
|
| 517 |
+
|Barlow Twins|67.74|60.69|29.46|24.48|
|
| 518 |
+
|SimSiam|68.60|63.46|32.06|26.69|
|
| 519 |
+
|MoCoV3|72.48|**65.57**|32.22|26.65|
|
| 520 |
+
|DINO|68.75|60.61|30.16|24.80|
|
| 521 |
+
|
| 522 |
+
Table 17: **Ablations on Attack Loss (CIFAR-100, WRN-34-10):** Performance (%) with variations in attack loss at feature (feat.) and projector (proj.). While the proposed defense is stable across several variations in the attack loss, minimizing a combination of both losses cos( _T , S_ ) and cos( _S, S_ ) gives the best robustness-accuracy trade-off. SA: Standard Accuracy, RA-PGD20: Robust Accuracy against PGD-20 attack, RA-G: Robust Accuracy against GAMA
|
| 523 |
+
|
| 524 |
+
|**#**|**Attack @ feat.**|**Attack @ proj.**|**SA**|**RA-PGD20**|**RA-G**|
|
| 525 |
+
|---|---|---|---|---|---|
|
| 526 |
+
|AT1|cos(_T , S_)|cos(_T , S_)|60.84|31.41|26.78|
|
| 527 |
+
|AT2|cos(_S, S_)|cos(_S, S_)|61.30|31.86|26.75|
|
| 528 |
+
|**Ours**|cos(_S, S_)|cos(_T , S_)|61.05|31.99|27.41|
|
| 529 |
+
|AT3|cos(_T , S_)|cos(_S, S_)|60.69|32.34|**27.44**|
|
| 530 |
+
|AT4|cos(_S, S_)|-|61.62|31.69|26.62|
|
| 531 |
+
|AT5|-|cos(_S, S_)|61.09|31.78|27.00|
|
| 532 |
+
|AT6|cos(_T , S_)|-|**62.01**|31.62|26.89|
|
| 533 |
+
|AT7|-|cos(_T , S_)|61.18|31.43|27.24|
|
| 534 |
+
|
| 535 |
+
better robustness-accuracy trade-off by using a combination of both losses rather than by using only one of the two losses, due to better diversity and strength of attack. These results also demonstrate that the proposed method is not very sensitive to different choices of attack losses.
|
| 536 |
+
|
| 537 |
+
## G.6 WEIGHTING OF DEFENSE LOSSES AT THE FEATURE AND PROJECTOR
|
| 538 |
+
|
| 539 |
+
In the proposed approach, the defense losses are equally weighted between the feature and projector layers as shown in Eq.3 of the main paper. In Fig.4, we present results by varying the weighting _λ_ between the defense losses at the feature ( _Lf_ ) and projector ( _Lfp_ ) layers as shown below:
|
| 540 |
+
|
| 541 |
+
_L_ ProFeAT = _λ · Lf_ + (1 _− λ_ ) _· Lfp_ (5)
|
| 542 |
+
|
| 543 |
+
**==> picture [131 x 81] intentionally omitted <==**
|
| 544 |
+
|
| 545 |
+
**----- Start of picture text -----**<br>
|
| 546 |
+
60 No AugPC Aug<br>AA Aug<br>40<br>20<br>0<br>1 3 5 7 9 11 13 15 17 19<br>PGD-5 Random Restarts<br>Robust Accuracy (%)<br>**----- End of picture text -----**<br>
|
| 547 |
+
|
| 548 |
+
Figure 2: Robust accuracy of a supervised TRADES model across random restarts of PGD 5- step attack (CIFAR-100, WRN34-10).
|
| 549 |
+
|
| 550 |
+
**==> picture [250 x 84] intentionally omitted <==**
|
| 551 |
+
|
| 552 |
+
**----- Start of picture text -----**<br>
|
| 553 |
+
70 29<br>ProFeAT ProFeAT<br>65 DeACL 28 DeACL<br>60<br>27<br>55<br>26<br>50<br>25<br>45<br>2 4 6 8 10 12 14 16 18 20 2 4 6 8 10 12 14 16 18 20<br> (Robustness-Accuracy trade-off parameter)<br>Clean Accuracy (%) Robust Accuracy (%)<br>**----- End of picture text -----**<br>
|
| 554 |
+
|
| 555 |
+
Figure 3: Performance of the proposed method ProFeAT when compared to DeACL (Zhang et al., 2022) across variation in the robustness-accuracy trade-off parameter _β_ on CIFAR-100 dataset with WRN-34-10 architecture.
|
| 556 |
+
|
| 557 |
+
19
|
| 558 |
+
|
| 559 |
+
Table 18: **Ablations on number of attack steps used for adversarial training (CIFAR-100, WRN-34-10):** Performance (%) using lesser number of attack steps (2 steps) when compared to the standard case (5 steps) during adversarial training. Clean/ Standard Accuracy (SA) and robust accuracy against GAMA (RA-G) and AutoAttack(RA-AA) are reported. The proposed approach is stable at lower attack steps as well, while being better than both TRADES (Zhang et al., 2019) and DeACL (Zhang et al., 2022).
|
| 560 |
+
|
| 561 |
+
**==> picture [397 x 153] intentionally omitted <==**
|
| 562 |
+
|
| 563 |
+
**----- Start of picture text -----**<br>
|
| 564 |
+
Supervised (TRADES) DeACL ProFeAT (Ours)<br># attack steps SA RA-G RA-AA SA RA-G RA-AA SA RA-G RA-AA<br>2 60.80 24.49 23.99 51.00 24.89 23.45 60.43 26.90 26.23<br>5 61.05 25.87 25.77 52.90 24.66 23.92 61.05 27.41 26.89<br>28.0<br>60.0 27.5<br>57.5 27.0<br>55.0 26.5<br>52.5 26.0<br>0.00 0.25 0.50 0.75 1.00 0.00 0.25 0.50 0.75 1.00<br>Weight on feature loss ( ) Weight on feature loss ( )<br>Clean Accuracy (%) Robust Accuracy (%)<br>**----- End of picture text -----**<br>
|
| 565 |
+
|
| 566 |
+
Figure 4: Performance (%) of the proposed approach ProFeAT by varying the weight between the defense losses at the feature and projector. A convex combination weighted by a factor _λ_ is used: _L_ ProFeAT = _λ · Lf_ + (1 _− λ_ ) _· Lfp_ , where _Lfp_ and _Lf_ represent the overall defense losses at the projector and feature respectively (Eq.1 and 2 of the main paper). The performance is stable across the range _λ ∈_ [0 _._ 25 _,_ 0 _._ 75]. We thus fix the value of _λ_ to 0 _._ 5 in the proposed appraoch.
|
| 567 |
+
|
| 568 |
+
It can be noted that the two extreme cases of _λ_ = 0 and _λ_ = 1 result in a drop in clean accuracy, with a larger drop in the case where the loss is enforced only at the feature layer. The robust accuracy shows lesser variation across different values of _λ_ . Thus, the overall performance is stable over the range _λ ∈_ [0 _._ 25 _,_ 0 _._ 75], making the default setting of _λ_ = 0 _._ 5 a suitable option.
|
| 569 |
+
|
| 570 |
+
## G.7 IMPROVING THE EFFICIENCY OF SELF-SUPERVISED ADVERSARIAL TRAINING
|
| 571 |
+
|
| 572 |
+
Similar to prior works (Zhang et al., 2022), the proposed approach uses 5 step PGD based optimization for attack generation during adversarial training. In Table-18, we present results with lesser optimization steps (2 steps). The proposed approach is stable and obtains similar results even by using 2-step attack. Even in this case, the clean and robust accuracy of the proposed approach is significantly better than the baseline approach DeACL (Zhang et al., 2022), and also outperforms the supervised TRADES model (Zhang et al., 2019).
|
| 573 |
+
|
| 574 |
+
## G.8 ADDITION EVALUATION ON SELF-SUPERVISED TRAINED MODELS
|
| 575 |
+
|
| 576 |
+
We compare the performance of DeACL (best baseline) and ProFeAT (Ours) on CIFAR-10 and CIFAR-100 datasets with WideResNet-34-10 architecture in Table-19. The model is first pretrained using the respective self-supervised adversarial training algorithm, and further we compute the standard accuracy (SA) and robust accuracy against GAMA (RA-G) using several methods such as standard linear probing (LP), training a 2 layer MLP head (MLP), and performing KNN in the feature space (k=10). We note that the proposed method achieves improvements over the baseline across all evaluation methods. Since the training of classifier head in LP and MLP is done using standard training and not adversarial training, the robust accuracy reduces as the number of layers increases (from linear to 2-layers), and the standard accuracy improves. The standard accuracy of KNN is better than the standard accuracy of LP for the baseline, indicating that the representations are not linearly separable. Whereas, as is standard, for the proposed approach, LP standard accuracy is higher than that obtained using KNN. The adversarial attack used for evaluating the robust accuracy using KNN is generated using GAMA attack on a linear classifier. The attack is suboptimal since it is not generated by using the evaluation process (KNN), and thus the robust accuracy against such an attack is higher.
|
| 577 |
+
|
| 578 |
+
20
|
| 579 |
+
|
| 580 |
+
Table 19: **Additional evaluation on pretrained models:** Performance (%) of DeACL (best baseline) and ProFeAT (Ours) on CIFAR-10 and CIFAR-100 datasets with WideResNet-34-10 architecture. The model is first pretrained using the respective self-supervised adversarial training algorithm, and further we compute the standard accuracy (SA) and robust accuracy against GAMA (RA-G) using several methods such as standard linear probing (LP), training a 2 layer MLP head (MLP), and performing KNN in the feature space (k=10). The proposed method achieves improvements over the baseline across all evaluation methods
|
| 581 |
+
|
| 582 |
+
|the baseline|across all evaluation methods|
|
| 583 |
+
|---|---|
|
| 584 |
+
||**SA (LP)**<br>**RA-G (LP)**<br>**SA (MLP)**<br>**RA-G (MLP)**<br>**SA (KNN)**<br>**RA-G (KNN)**|
|
| 585 |
+
||**CIFAR-10**|
|
| 586 |
+
|DeACL<br>ProFeAT|83.60<br>49.62<br>85.66<br>48.74<br>87.00<br>54.58<br>**87.44**<br>**52.24**<br>**89.37**<br>**50.00**<br>**87.38**<br>**55.77**|
|
| 587 |
+
||**CIFAR-100**|
|
| 588 |
+
|DeACL<br>ProFeAT|52.90<br>24.66<br>55.05<br>22.04<br>56.82<br>31.26<br>**61.05**<br>**27.41**<br>**63.81**<br>**26.10**<br>**58.09**<br>**32.26**|
|
| 589 |
+
|
| 590 |
+
Table 20: **Transfer Learning to STL-10 and Caltech-101:** Transfer learning performance (%) with adversarial full finetuning (AFF) using TRADES Zhang et al. (2019) algorithm for 25 epochs, from CIFAR-10 and CIFAR-100 to STL-10 and Caltech-101 datasets on WideResNet-34-10 architecture. The proposed method outperforms both DeACL and the supervised trained model. Standard Accuracy (SA), robustness against PGD-20 (RA-PGD20) and GAMA (RA-G) are reported.
|
| 591 |
+
|
| 592 |
+
||**CIFAR-10 -****_>_STL10**<br>**CIFAR-100 -****_>_STL10**|
|
| 593 |
+
|---|---|
|
| 594 |
+
||**SA**<br>**RA-PGD20**<br>**RA-G**<br>**SA**<br>**RA-PGD20**<br>**RA-G**|
|
| 595 |
+
|Supervised (TRADES)<br>DeACL<br>ProFeAT|64.58<br>39.83<br>32.78<br>64.22<br>34.20<br>31.01<br>61.65<br>31.88<br>28.34<br>60.89<br>33.06<br>30.00<br>**74.12**<br>40.15<br>**36.04**<br>**68.77**<br>35.35<br>**31.23**|
|
| 596 |
+
||**CIFAR-10 -****_>_Caltech-101**<br>**CIFAR-100 -****_>_Caltech-101**|
|
| 597 |
+
|Supervised (TRADES)<br>DeACL<br>ProFeAT|62.46<br>40.77<br>39.40<br>**64.97**<br>42.95<br>41.02<br>62.65<br>41.39<br>39.18<br>61.01<br>40.56<br>39.09<br>**66.11**<br>45.29<br>**42.12**<br>64.16<br>42.95<br>**41.25**|
|
| 598 |
+
|
| 599 |
+
## G.9 TRANSFER LEARNING USING ADVERSARIAL FULL FINETUNING (AFF)
|
| 600 |
+
|
| 601 |
+
We present transfer learning results to STL-10 and Caltech-101 using lightweight adversarial full finetuning (AFF) in Table-20. Caltech-101 contains 101 object classes and 1 background class, with 2416 samples in the train set and 6728 samples in the test set. The number of samples per class range from 17 to 30, and thus this is a suitable dataset to highlight the practical importance of adversarial self-supervised pretrained representations for low-data regime. Towards this, a base robustly pretrained model is finetuned using the TRADES adversarial training for 25 epochs. We present results on WideResNet-34-10 models that are pretrained on CIFAR-10 and CIFAR-100 respectively. We note that the proposed method outperforms DeACL by a large margin. Further, we note that by using merely 25 epochs of adversarial finetuning using TRADES, the proposed method achieves improvements of around 4% on CIFAR-10 and 11% on CIFAR-100 when compared to the linear probing accuracy presented in Table-5, highlighting the practical utility of the proposed method. The AFF performance of the proposed approach is better than that of a supervised TRADES pretrained model as well.
|
| 602 |
+
|
| 603 |
+
21
|
| 604 |
+
|
open_review/iclr2024_9092.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9092",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "The KNN Score for Evaluating Probabilistic Multivariate Time Series Forecasting",
|
| 6 |
+
"abstract": "Time series forecasting is a critical task in various domains. With the aim of comprehending interconnections and dependencies among variables, as well as gaining insights into a range of potential future outcomes, probabilistic multivariate time series forecasting has emerged as a prominent approach. The evaluation of models employed in this task is crucial yet challenging. Comparing a set of predictions against a single observed future presents difficulties, and accurately measuring whether a model correctly predicts dependencies between different time steps and individual series further compounds the complexity. We observe that metrics which are currently employed fall short in providing a comprehensive assessment of model performance. To address this limitation, we propose a novel metric based on density estimation as an alternative. We showcase the advantages of our metric both qualitatively and quantitatively, underscoring its effectiveness in assessing forecast quality.",
|
| 7 |
+
"rebuttal": "Thank you for your feedback! We see from the reviews that the paper needs significant revision and would like to use this forum as an opportunity for further clarification and feedback.\n\n**“While simple MAD, MSE, CRPS may be oblivious to correlations or regularity of forecasts, they reflect the key desiderata of the forecasts stemming from the task: that they are close to the ground truth. As the model is better able to capture correlations, one expects that simple metrics like MSE will also vanish.”**\n\nA probabilistic prediction ideally represents the uncertainty of the true data distribution correctly. Assume a distribution with two modes of equal size, then the MSE would be ideal if the model always predicts the mean of the distribution, where the density could be zero. A probabilistic univariate score would indeed vanish, e.g. an optimal probabilistic multivariate model would receive the optimal CRPS score, but the reverse is not true: a model that is optimal under CRPS does not have to produce the correct multivariate structure. Therefore, more complex scoring rules are needed to properly evaluate multivariate time series forecasts.\n\n**“this makes the magnitude of the metric dependent on the size of the sample (in the paper, \"ensemble\"). i.e., in order to compare two models one would have to compare them on the same number of sampled trajectories or the metric would be invalid otherwise.”**\n\nThis is true. In practice, these would have to be defined for a particular benchmark, such as the parameters $p$ for the energy score or the variogram score, or $\\alpha$ for the MSIS. We agree that deriving a guideline for choosing these parameters will be important for practical applicability. However, such a guideline would by necessity be scenario-dependent, since different applications will have vastly different prediction dimensionalities. We plan to investigate this in future work.\n\n**“Finally, the KNN score's intuition is that the best model is able to place a forecast close in L2 distance to the ground truth. Note that for a univariate forecast this is equivalent to saying that the k-th best forecast in an ensemble, measured in squared error, has low squared error. Setting k=1, this is equivalent to choosing the model with the \"best in hindsight\" MSE. In other words, KNNS does not appear to measure the quality of distributional forecasts, a desired property set out in the paper, but only point forecast error. ”**\n\nEvaluating based on a \"best in hindsight\" MSE is a better option for distributional predictions than the standard MSE, because a method that only produces a point prediction would perform worse than a method that produces multiple predictions based on a distribution. An optimal model under a \"best in hindsight\" MSE would spread its predictions over the area of possible futures, with more predictions in areas where it expects a higher probability.\n\n**“Multiple random projections sampled and with sufficient latent dimension would be justified for only very high dimensionality tasks such as spatiotemporal forecasting in earth sciences, etc. This doesn't appear to be the case with the experiment setup.”**\n\nMany multivariate time series applications (e.g., stock market or energy forecasting) consist of tens or even hundreds of individual time series with a forecast horizon of about 10-50 time steps. Flattening such a forecast results in forecast vectors of several hundreds to thousands of dimensions, which is far too much for a valid density estimate with a manageable number of samples.\n\n**“The introduction of KNNS is somewhat counterintuitive. The paper first reports that out of sample likelihood (i.e., perplexity) is a desirable metric; but due to its practicality immediately moves to KNN distance. I believe this link should be substantiated.”**\n\nWe start with the logarithmic score, which computes the log density of the prediction model at the observation. Then we replace the model density, which is not evaluable for many models, by a KNN density estimate. For $\\mathbf x, \\mathbf y \\in \\mathbb R^D$ and if $V_D$ is the volume of the unit sphere in $D$ dimensions, this results in $\\log \\frac{k}{|\\mathcal X|V_D\\|\\text{NN}_{\\mathcal X}^k(\\mathbf y) - \\mathbf y\\|^D}$. Given a certain evaluation scenario, $D$, $k$, $|\\mathcal X|$ and $V_D$ are constant, so to simplify the computation we omit them for our score. The result is the negative log distance to the kth-nearest neighbor.\n\n**“Why didn't you consider using the average of the first k distances to decrease variance?”**\n\nWe have actually thought about averaging over the closest $k$ neighbors, but we were worried that this would deviate even further from the idea of combining a density estimate with the log score. Instead of computing the score with $k=3$, one could compute the mean distance with $k=5$, or as an alternative the median distance with $k=5$. We would choose the latter, as this corresponds to the original score with $k=3$.\n\n**“The statement, \"Only the green one mimics dependencies between time steps correctly,\" is disputable. Having all realizations in the predictive region does not necessarily imply a correct capture of true uncertainty.”**\n\nFigure 1 should be an intuitive example of why a scoring rule should not score each point independently. The observed bivariate time series repeats the same values twice, and there is a clear correlation between the two individual series.The implicit assumption, of course, is that this is always the behavior of the true data. Now, if you look at a particular time step of a p [...]\n\nThank you for your feedback! We see from the reviews that the paper needs significant revision and would like to use this forum as an opportunity for further clarification and feedback.\n\n**“The paper aligns with a recent empirical investigation (Caroll, 2022)”**\n\nThanks for pointing out the work by Caroll, 2022. We unfortunately could not find the paper based on the name alone. Could you give us the full r\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
1,
|
| 11 |
+
3
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 3.0,
|
| 14 |
+
"score_variance": 4,
|
| 15 |
+
"score_spread": 4,
|
| 16 |
+
"score_min": 1,
|
| 17 |
+
"score_max": 5,
|
| 18 |
+
"decision": "Reject",
|
| 19 |
+
"rebuttal_validity_ground_truth": false,
|
| 20 |
+
"meta_review": "This paper proposes a new KNN scoring rule for multivariate probabilistic forecasting, motivated by the limitations in current scoring rules around capturing correlation structure across time points and time series. The paper compares its KNN scoring rule, based on density estimation, to other common probabilistic forecasting scoring rules on real and synthetic datasets to showcase its discrimination abilities.\n\nWhile the problem studied is an important one, reviewers expressed concern about the paper not empirically or theoretically exploring the implementation and design choices enough (such as choice of hyperparameters k,d and better analysis of the random projection step). Reviewers also complained about inadequate mathematical rigor ( formal proof for kNNS being a proper scoring rule, confounding score and metric terminologies) and a missing discussion around a very relevant related work (Marcotte et al, ICML 23).\n\nThis work would benefit from a significant revision and a more thorough empirical study around the design choices of the scoring rule.",
|
| 21 |
+
"forum_id": "d6oUP1tyNx",
|
| 22 |
+
"primary_area": "general machine learning (i.e., none of the above)",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_aR1R",
|
| 27 |
+
"review_id": "cfvCRXtYJD",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 5,
|
| 30 |
+
"soundness": 2,
|
| 31 |
+
"presentation": 2,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 1788,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 511379,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_Hf7C",
|
| 43 |
+
"review_id": "JQjMQnI4IT",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 1,
|
| 46 |
+
"soundness": 1,
|
| 47 |
+
"presentation": 1,
|
| 48 |
+
"contribution": 1,
|
| 49 |
+
"confidence": 5
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 3873,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 977390,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_hvQm",
|
| 59 |
+
"review_id": "dTabFmbQRG",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 3,
|
| 62 |
+
"soundness": 2,
|
| 63 |
+
"presentation": 3,
|
| 64 |
+
"contribution": 1,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 4881,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1031138,
|
| 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_9092.md
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## THE KNN SCORE FOR EVALUATING PROBABILISTIC MULTIVARIATE TIME SERIES FORECASTING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Time series forecasting is a critical task in various domains. With the aim of comprehending interconnections and dependencies among variables, as well as gaining insights into a range of potential future outcomes, probabilistic multivariate time series forecasting has emerged as a prominent approach. The evaluation of models employed in this task is crucial yet challenging. Comparing a set of predictions against a single observed future presents difficulties, and accurately measuring whether a model correctly predicts dependencies between different time steps and individual series further compounds the complexity. We observe that metrics which are currently employed fall short in providing a comprehensive assessment of model performance. To address this limitation, we propose a novel metric based on density estimation as an alternative. We showcase the advantages of our metric both qualitatively and quantitatively, underscoring its effectiveness in assessing forecast quality.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Time series forecasting is of paramount importance in various domains. It involves predicting future values based on historical data, offering insights into trends, patterns, and potential outcomes. Univariate models have historically been the predominant choice. These models aim to predict the future values of a single variable based on its historical data. While they have been widely used, univariate forecasting falls short in capturing the intricate relationships and dependencies that exist among multiple variables.
|
| 14 |
+
|
| 15 |
+
Furthermore, providing only a single point estimate as a prediction, without considering uncertainty, has been the norm in traditional time series forecasting. These non-probabilistic models provide a singular future prediction without quantifying the range of potential outcomes and their associated probabilities. However, decision-makers often require a more comprehensive understanding of the potential scenarios to make well-informed choices. Probabilistic time series forecasting addresses this limitation by providing a range of potential future outcomes.
|
| 16 |
+
|
| 17 |
+
The task of multivariate probabilistic time series forecasting surpasses the limitations of univariate forecasting and non-probabilistic approaches. By considering the relationships among multiple variables and incorporating probabilistic modeling, one can achieve a more comprehensive understanding of system dynamics while providing uncertainty estimates. This makes it possible to improve forecasting accuracy, to enhance risk assessment capabilities, and to facilitate effective decisionmaking in a wide range of applications Gneiting & Raftery (2007).
|
| 18 |
+
|
| 19 |
+
It is essential but difficult to evaluate the effectiveness of multivariate forecasts. Most current works utilize CRPS and CRPS-Sum (e.g. Drouin et al. (2022); Kan et al. (2022); Rasul et al. (2021b)) or MSIS (e.g. Gasthaus et al. (2019); Gouttes et al. (2021); Park et al. (2022)) to evaluate proposed multivariate probabilistic models against previous approaches. As these are univariate evaluation techniques, they fail to measure dependencies between different time steps or different series. Further metrics like the Energy Score (Gneiting & Raftery, 2007) and the Variogram Score (Scheuerer & Hamill, 2015) have been proposed as alternatives, but are not used as often. While both of are multivariate scoring rules, they have drawbacks in different aspects. The Energy Score is insensitive to correlation differences (Pinson & Tastu, 2013; Alexander et al., 2022; Scheuerer & Hamill, 2015) and the Variogram Score is not rotation invariant.
|
| 20 |
+
|
| 21 |
+
1
|
| 22 |
+
|
| 23 |
+
In this paper, we show a comprehensive analysis of prior metrics, highlighting their shortcomings and limitations. Building upon this critical examination, we introduce an alternative metric, the _k_ -Nearest Neighbor Score, grounded in density estimation. We assess our proposed metric thoroughly and demonstrate its capabilities using synthetic data and deep learning models trained on real datasets. Our experiments show that our metric is a viable alternative for evaluating models for multivariate time series predictions.
|
| 24 |
+
|
| 25 |
+
## 2 METRICS FOR TIME SERIES
|
| 26 |
+
|
| 27 |
+
Numerous metrics have been proposed to assess the accuracy of forecasts for multivariate time series data. In this section, we will give a comprehensive review and discussion of these evaluation metrics.
|
| 28 |
+
|
| 29 |
+
A multivariate time series can be denoted as a matrix _**X** ∈_ R _[D][×][T]_ , where an element _Xd,t_ describes the value of dimension _d_ at time _t_ . For multivariate time series prediction, we have access to historic values _**Y**[−]_ and aim to forecast the future values _**Y**_ . A probabilistic forecasting method learns a probability distribution _p_ ( _**X**_ ) over future predictions. Consistent with previous work (Gneiting & Raftery, 2007; Scheuerer & Hamill, 2015), we represent this distribution nonparametrically, as a set of _N_ future predictions _**X**[i] ∈_ X. A metric for time series needs to evaluate such a prediction set X given the true future _**Y**_ .
|
| 30 |
+
|
| 31 |
+
## 2.1 PROPRIETY
|
| 32 |
+
|
| 33 |
+
An important property of a metric for probabilistic forecasts is propriety. Following Gneiting & Raftery (2007), a metric _S_ ( _P, y_ ) with prediction _P_ and observed future _y_ is proper if
|
| 34 |
+
|
| 35 |
+
**==> picture [259 x 11] intentionally omitted <==**
|
| 36 |
+
|
| 37 |
+
where
|
| 38 |
+
|
| 39 |
+
**==> picture [258 x 23] intentionally omitted <==**
|
| 40 |
+
|
| 41 |
+
A metric is strictly proper if equality in Equation 1 only holds if _P_ = _Q_ .
|
| 42 |
+
|
| 43 |
+
Intuitively, a metric is considered proper when a model that accurately predicts the true data distribution receives the highest score possible. When samples are predicted instead of an entire distribution, optimizing the metric should involve generating samples that closely match the data distribution. While propriety is crucial, it does not inherently provide insights into their practical utility for evaluating less-than-perfect models. To illustrate this point, consider a hypothetical oracle metric that assigns all models identical scores, except for those that perfectly mimic the true data distribution. Such a metric would indeed be strictly proper but ultimately serve no meaningful purpose.
|
| 44 |
+
|
| 45 |
+
## 2.2 METRICS FOR POINT FORECASTS
|
| 46 |
+
|
| 47 |
+
Many metrics are available for univariate non-probabilistic settings, where a forecasting method only outputs a single prediction _**x**_ . Often, each individual _xt_ is compared with the observed future _yt_ by computing the absolute error _|xt − yt|_ or the squared error ( _xt − yt_ )[2] . The results are then optionally weighted, scaled and averaged over the individual series and time steps. Common examples are the symmetric mean average percentage error (Armstrong, 1985)
|
| 48 |
+
|
| 49 |
+
**==> picture [274 x 30] intentionally omitted <==**
|
| 50 |
+
|
| 51 |
+
and the mean absolute scaled error (Hyndman & Koehler, 2006)
|
| 52 |
+
|
| 53 |
+
**==> picture [285 x 29] intentionally omitted <==**
|
| 54 |
+
|
| 55 |
+
Alternatives are the mean absolute error (MAE), the mean squared error (MSE), the root mean squared error (RMSE), the normalized root mean squared error (NRMSE), the mean absolute percentage error (MAPE) and the weighted absolute percent error (WAPE) (Hyndman & Athanasopoulos, 2018).
|
| 56 |
+
|
| 57 |
+
2
|
| 58 |
+
|
| 59 |
+
**==> picture [383 x 74] intentionally omitted <==**
|
| 60 |
+
|
| 61 |
+
**----- Start of picture text -----**<br>
|
| 62 |
+
X X X<br>t t t<br>**----- End of picture text -----**<br>
|
| 63 |
+
|
| 64 |
+
Figure 1: Time series with predictions. Visualized is the true future of a bivariate time series (blue) and two predictions (dashed/dotted) of three models (green/orange/red). Only the green one mimics dependencies between time steps correctly. CRPS and MSIS rate all forecasts the same as the distribution around each individual point is the same for all models. CRPS-Sum would be optimal for the green and orange forecast, because the sum of the predictions equals the observed series.
|
| 65 |
+
|
| 66 |
+
These metrics have been applied for the evaluation of probabilistic models (e.g. Nguyen & Quanz (2021); Rasul et al. (2021a;b)) despite their inability to evaluate probabilistic predictions. In fact, optimizing such metrics directly leads to a variant of either mean regression or median regression (for squared or absolute error, respectively). Consequently, a model which is optimal under such a metric produces the mean or median of the data distribution instead of providing a genuine probabilistic forecast. As a result, these metrics should be avoided when assessing probabilistic predictions.
|
| 67 |
+
|
| 68 |
+
## 2.3 CONTINUOUS RANKED PROBABILITY SCORE
|
| 69 |
+
|
| 70 |
+
The Continuous Ranked Probability Score (Brown, 1974; Gneiting & Raftery, 2007) is a proper metric and compares a one-dimensional forecast given by a cumulative distribution function _F_ with the true future scalar _y_ . It is defined as
|
| 71 |
+
|
| 72 |
+
**==> picture [295 x 24] intentionally omitted <==**
|
| 73 |
+
|
| 74 |
+
The empirical cumulative distribution function _F_[ˆ] ( _x_ ) = _|_ X1 _|_ � _x[′] ∈_ X[1] _[{][x][′][≤][x][}]_[ can be applied if the] prediction is given by an ensemble of points X. Then, CRPS can be evaluated as
|
| 75 |
+
|
| 76 |
+
**==> picture [299 x 27] intentionally omitted <==**
|
| 77 |
+
|
| 78 |
+
CRPS is applied on multivariate time series by comparing each observed value _Yd,t_ to the predictions _Xd,t[i]_[for] _[ i][∈]_[[1] _[, K]_[]][.][The results are aggregated by averaging across all dimensions and time steps.] Since each series and each time step is evaluated independently, CRPS cannot capture dependencies between them. Nevertheless it has been applied for multivariate time series evaluation (e.g. Drouin et al. (2022); Gouttes et al. (2021); Kan et al. (2022); Park et al. (2022); Rasul et al. (2021b); Salinas et al. (2019); Tashiro et al. (2021)).
|
| 79 |
+
|
| 80 |
+
As a case in point, Figure 1 visualizes a bivariate time series and three models, each with two predictions. While the predictions from the first model only differ by a constant shift from the observation, the other two models completely fail to capture the temporal dependencies. However, the predictive distribution for each time step and each individual series is the same in all cases, thus all these models receive an identical CRPS.
|
| 81 |
+
|
| 82 |
+
CRPS-Sum (Salinas et al., 2019) is an adaption of CRPS and has emerged as a main metric for multivariate settings (e.g. de B´ezenac et al. (2020); Drouin et al. (2022); Kan et al. (2022); Nguyen & Quanz (2021); Rasul et al. (2021a;b); Salinas et al. (2019); Tang & Matteson (2021); Tashiro et al. (2021)). The individual time series are summed together to form a single, univariate time series _**x**_ with _xt_ =[�] _[D] d_ =1 _[X][d,t]_[.][Then, CRPS is applied for each time step separately.]
|
| 83 |
+
|
| 84 |
+
This unveils certain dependencies between the different time series for the metric, but major issues emerge. To begin, the evaluation process still treats each time step in isolation, such that correlation between different time steps remains hidden. Second, opposing characteristics of individual time series might cancel out if they are summed. If _Y_ 0 _,t_ = _−Y_ 1 _,t∀t_ , a model predicting _X_ 0 _,t_ = _X_ 1 _,t_ = 0 would achieve an optimal score. Also, adding element-wise Gaussian noise to the forecast would not harm the rating. Lastly, the metric loses all information about the individual time series, such that predicting the sum of the series is sufficient for an optimal rating.
|
| 85 |
+
|
| 86 |
+
3
|
| 87 |
+
|
| 88 |
+
The sum of the orange prediction and the green prediction in Figure 1 is the same and it even equals the sum of the true future, so both models would receive the optimal score. The red model has a different CRPS-Sum, since the series’ sum is different.
|
| 89 |
+
|
| 90 |
+
## 2.4 MEAN SCALED INTERVAL SCORE
|
| 91 |
+
|
| 92 |
+
The Interval Score (Gneiting & Raftery, 2007) makes use of quantiles of the predicted distribution. These can be estimated from a set of predictions X if the model cannot output quantiles by itself. It is defined as
|
| 93 |
+
|
| 94 |
+
**==> picture [333 x 21] intentionally omitted <==**
|
| 95 |
+
|
| 96 |
+
where _ℓ_ and _u_ define the _[α]_ 2[and][ 1] _[ −][α]_ 2[quantiles, respectively.]
|
| 97 |
+
|
| 98 |
+
The Mean Scaled Interval Score (Makridakis et al., 2020) averages the Interval Score and normalizes it with the mean absolute seasonal difference of the series history which corresponds to the mean absolute error of a na¨ıve forecaster. Let _m_ be the length of a season and _τ_ be the number of historic values _yt[−]_[, then]
|
| 99 |
+
|
| 100 |
+
**==> picture [286 x 30] intentionally omitted <==**
|
| 101 |
+
|
| 102 |
+
MSIS has been applied by various authors, especially for models which output quantiles instead of predicting ensembles (e.g. Gasthaus et al. (2019); Gouttes et al. (2021); Kan et al. (2022); Park et al. (2022)). However, it suffers from the same issues as CRPS: the individual evaluation of each time step and each series does not allow to measure dependencies between them. All examples in Figure 1 would again be scored the same.
|
| 103 |
+
|
| 104 |
+
## 2.5 ENERGY SCORE
|
| 105 |
+
|
| 106 |
+
The Energy Score (Gneiting & Raftery, 2007) is a straightforward generalization of the CRPS formulation in Equation 6 to multiple dimensions, where the absolute difference is replaced by the Euclidean distance. With _p ∈_ (0 _,_ 2), the Energy Score is defined as
|
| 107 |
+
|
| 108 |
+
**==> picture [307 x 26] intentionally omitted <==**
|
| 109 |
+
|
| 110 |
+
Intuitively, the second term of this metric computes the average Euclidean distance between the real observation _**y**_ and the predictions _**x** ∈_ X. It is minimized by the geometric median (Cohen et al., 2016), thus an optimal predictor would only forecast this point instead of a distribution. The first term counters this behavior by rewarding a better score if the model gives diverse predictions.
|
| 111 |
+
|
| 112 |
+
When applying the Energy Score on multivariate time series, both the observed future _**Y**_ and the predictions _**X**_ are flattened to vectors _**y**_ and _**x**_ , respectively. This way, the Energy Score allows measuring the dependencies between both different time series and different time steps. The asymptotic runtime is _O_ ( _N_[2] _DT_ ) because the Energy Score computes the distances between each pair of predictions. As the evaluation quality increases for bigger _N_ , this is a relevant disadvantage. So far, the Energy Score has been applied only sparsely (Drouin et al., 2022; Muniain & Ziel, 2020; Kan et al., 2022; Dumas et al., 2022).
|
| 113 |
+
|
| 114 |
+
## 2.5.1 RELATION TO CRPS
|
| 115 |
+
|
| 116 |
+
We now present an interesting property of the Energy Score. See Appendix A for the proof.
|
| 117 |
+
|
| 118 |
+
**Theorem 1.** _Let_ _**r** be a d-dimensional random vector with unit length. Then there exists a constant cd, such that_
|
| 119 |
+
|
| 120 |
+
**==> picture [301 x 11] intentionally omitted <==**
|
| 121 |
+
|
| 122 |
+
According to Theorem 1, applying CRPS on random projections of the data and then averaging corresponds to the Energy Score. Since all marginals are evaluated independently, certain properties of the distribution are lost. Figure 2 shows a toy example with a circular prediction. The Energy Score is optimal, if the observation lies in the center of the forecast, even though none of the predictions are remotely close. A forecast with some predictions close to the true data point scores worse.
|
| 123 |
+
|
| 124 |
+
4
|
| 125 |
+
|
| 126 |
+
**==> picture [384 x 80] intentionally omitted <==**
|
| 127 |
+
|
| 128 |
+
Figure 2: Multivariate scores on circular forecasts. Energy Score, Variogram Score and KNN Score are evaluated for different shifts. Only the yellow forecast has some predictions close to the observation (black). If predictions and observation are rotated by 45 _[◦]_ , the Variogram Score produces a different rating (dotted line), Energy Score and KNN Score remain the same if rotated.
|
| 129 |
+
|
| 130 |
+
## 2.6 VARIOGRAM SCORE
|
| 131 |
+
|
| 132 |
+
The Variogram Score (Scheuerer & Hamill, 2015) is a proper metric which computes the pairwise differences between the variables and compares them to the observed differences:
|
| 133 |
+
|
| 134 |
+
**==> picture [314 x 31] intentionally omitted <==**
|
| 135 |
+
|
| 136 |
+
Scheuerer and Hamill already note, that the Variogram Score is not able to notice if all components are shifted by the same value and that it does not detect if distributions differ in moments which are higher than _p_ .
|
| 137 |
+
|
| 138 |
+
Another downside is the absence of rotational invariance. If both prediction and observation vectors undergo the same rotation, the Variogram Score changes. This is not desirable, because we cannot assume that the directions of the unit vectors hold any special significance. Consider for example a time series that records 2-dimensional positions of a vehicle. It is important that errors along a coordinate axis are treated equally to errors occurring along the diagonal direction, without any bias in valuation. All forecasts in Figure 2 are scored the same by the Variogram Score, but a rotation of 45 _[◦]_ changes the outcome of the score drastically even though the severity of the errors stays the same.
|
| 139 |
+
|
| 140 |
+
If the Variogram Score is applied to flattened predictions in order to measure both temporal and inter-series dependencies, the asymptotic runtime is _O_ ( _ND_[2] _T_[2] ), which is very costly in many scenarios.
|
| 141 |
+
|
| 142 |
+
## 3 _k_ -NEAREST NEIGHBOR SCORE
|
| 143 |
+
|
| 144 |
+
We will now present our novel scoring rule for probabilistic multivariate time series forecasting. If a forecasting method allows to evaluate the density _p_ of the forecast at an arbitrary point, the Logarithmic Score LogS( _p,_ _**y**_ ) = log _p_ ( _**y**_ ) (Gneiting & Raftery, 2007) is a valid choice for evaluation. It corresponds to maximum likelihood estimation, which is often used to train probabilistic models like Normalizing Flows (Dinh et al., 2014). In many cases however, probabilistic forecasting methods are not able to evaluate density, they are only able to produce samples from the target distributions.
|
| 145 |
+
|
| 146 |
+
For this reason, a metric ideally relies on samples only, and thus we propose to combine the Logarithmic Score with _k_ -nearest neighbors density estimation (Loftsgaarden & Quesenberry, 1965). After omitting constant terms, we define the _k_ -Nearest Neighbor Score as
|
| 147 |
+
|
| 148 |
+
**==> picture [280 x 14] intentionally omitted <==**
|
| 149 |
+
|
| 150 |
+
where NN _[k]_ X[(] _**[y]**_[)][ is the] _[ k]_[-th nearest neighbor of] _**[ y]**_[ from the ensemble of predictions][ X][.]
|
| 151 |
+
|
| 152 |
+
The KNN Score behaves as expected for the example in Figure 2. The best score is assigned to the forecast which has an overlap with the true observation. If none of the predictions is close to the observation, the score drops.
|
| 153 |
+
|
| 154 |
+
For a sufficient number of samples, a density estimate would match the true density sufficiently well, which would make the metric proper. However, a realistic multivariate time series with a few hundred dimensions and a prediction horizon of 20 to 30 time steps would already correspond to a
|
| 155 |
+
|
| 156 |
+
5
|
| 157 |
+
|
| 158 |
+
flattened vector with more than a thousand dimensions. Due to the curse of dimensionality, sampling sufficiently many prediction vectors is practically impossible.
|
| 159 |
+
|
| 160 |
+
We therefore take inspiration from the Energy Score’s correspondence to the projected CRPS (see Section 2.5.1). More precisely, we perform random projections of the true and generated samples to a _d_ -dimensional subspace and compute the average distance over multiple projections. Let the row vectors of _**P** ∈_ R _[d][×][DT]_ be a random orthonormal basis of a _d_ -dimensional subspace, then
|
| 161 |
+
|
| 162 |
+
**==> picture [313 x 19] intentionally omitted <==**
|
| 163 |
+
|
| 164 |
+
We create _**P**_ by sampling the values from a Gaussian and normalizing the rows to ensure unit length. For efficiency, we do not enforce the orthogonality of the rows, but since _d ≪ DT_ , the rows will almost always be almost orthogonal.
|
| 165 |
+
|
| 166 |
+
Instead of random projections, one could use dimensionality reduction techniques like principal component analysis (Pearson, 1901), which aim to find a “good” projection to a lower-dimensional space. However, if the reduction is based on the prediction of a model, the model could game the metric by omitting dimensions if it is unsure about them. One could also attempt to find a dimensionality reduction transformation without incorporating forecasts, for example using the test set, but in this case models could already be trained directly on the projected data.
|
| 167 |
+
|
| 168 |
+
Kernel density estimation (Rosenblatt, 1956; Parzen, 1962) would be an alternative to _k_ -nearest neighbors, but it has more parameters to choose from which makes it more difficult to select suitable ones. Apart from the specific kernel, it would be required to also select a bandwidth size and shape. Choosing these automatically based on either prediction or data would lead to similar issues as described in the previous paragraph.
|
| 169 |
+
|
| 170 |
+
If _**x** i,_ _**y** ∈_ R _[DT]_ , _i ∈_ [1 _, N_ ] and we use _N_ RP random projections to _d_ -dimensional space, the projections can be computed in _O_ ( _N_ RP _NDTd_ ) and all Euclidean distances between _Xi_ and _Y_ in _O_ ( _N_ RP _Nd_ ). If we search for the _k_ -th closest neighbor by sorting, this requires an additional _O_ ( _N_ log _N_ ). By using a max-heap of the smallest _k_ elements, it is sufficient to traverse the distances only once while keeping the heap intact. This requires _O_ ( _N_ log _k_ ) time, so _O_ ( _N_ RP _NDTd_ + _N_ log _k_ ) in total for the KNNS Score. Both _d_ and _k_ are small and the process can be parallelized quite well, so the total runtime is manageable.
|
| 171 |
+
|
| 172 |
+
## 4 EVALUATING METRICS
|
| 173 |
+
|
| 174 |
+
Assessing the quality of score functions always follows a similar idea. Define a true data generating model _p_ 0 and an adapted model _p_ 1. Then, sample an observation _**y** ∼ p_ 0 and two forecast ensembles X0 and X1 from _p_ 0 and _p_ 1 respectively. On average, we expect the forecast from the true model to score higher than the forecast of the wrong model. For proper metrics this is true if _|_ X _| →∞_ , but due to the finite sampling and the finite size of datasets this is often not fulfilled in practice.
|
| 175 |
+
|
| 176 |
+
Pinson & Tastu (2013) examine changes in mean, variance and correlation for two-dimensional Gaussians and compute the relative score difference between a given model and the true data generating model for the Energy Score. Even in this simple setting, they observe that the Energy Score is much less sensitive to changes in the correlation structure.
|
| 177 |
+
|
| 178 |
+
To underpin the validity of their Variogram Score, Scheuerer & Hamill (2015) perform similar experiments with Gaussians of up to 15 dimensions. Apart from the Energy Score, they also compare to the Dawid-Sebastiani Score (Dawid & Sebastiani, 1999), which assumes Gaussian distributions. They define a default Gaussian distribution and a set of adapted Gaussians with different means, different variances or different correlation. This results in a distribution of scores for each adapted model, visualized by a boxplot, and they argue, that a metric has a low discrimination ability if the boxplots for the adapted models overlap strongly with the boxplots of the real model.
|
| 179 |
+
|
| 180 |
+
This way of measuring discrimination ability has an issue. Assume we have two forecasts _**y** ,_ _**y**[′] ∼ p_ 0 and ensembles X0 from the true distribution and X1 from a different model. We would expect that _S_ ( _**y** ,_ X0) _≥ S_ ( _**y** ,_ X1), but whether _S_ ( _**y** ,_ X0) _≥ S_ ( _**y**[′] ,_ X1) holds as well does not matter. In real scenarios only a single observation is available, thus only the score difference to the same observation is relevant.
|
| 181 |
+
|
| 182 |
+
6
|
| 183 |
+
|
| 184 |
+
Alexander et al. (2022) compare the Energy Score with the Variogram Score using models trained on real data. They propose a “generalized discrimination heuristic” which also suffers from the above problem due to averaging of scores using different observations. It further computes a relative score, i.e. the average score of _p_ 1 divided by the average score of _p_ 0. This is problematic because a metric would be penalized if _S_ ( _**y** ,_ X0) is high in general, even though this does not lower the discrimination ability. However, they also visualize the distribution of differences _S_ ( _**y** ,_ X1) _− S_ ( _**y** ,_ X0), which allows to compare scores of different models on the same observation _**y**_ .
|
| 185 |
+
|
| 186 |
+
These papers share the consensus that the Energy Score exhibits limitations in capturing correlation structure effectively. In contrast, the Variogram Score demonstrates better performance in addressing these situations. In the following section, we will show how our KNN Score behaves in comparison.
|
| 187 |
+
|
| 188 |
+
## 5 EXPERIMENTS
|
| 189 |
+
|
| 190 |
+
We roughly follow Alexander et al. (2022) to compute the discrimination ability of a metric _S_ and use the difference _S_ ( _**y** ,_ X0) _−S_ ( _**y** ,_ X1) to measure how well the scoring rule _S_ discriminates a model _p_ 1 from the data generating process _p_ 0. We simulate a test dataset by averaging this difference for multiple forecasts and prediction sets. Finally, we repeat this process multiple times to collect a distribution of results. A metric is considered more effective at distinguishing between _p_ 0 and _p_ 1 when these results are greater than 0 more frequently.
|
| 191 |
+
|
| 192 |
+
Alexander et al. (2022) visualize these distributions as density plots, Scheuerer & Hamill (2015) use boxplots. These are hard to compare for a larger amount of experiments, so we convert them into two discrimination scores. Let D be the distribution of averaged differences and D _[−]_ = _{d ∈_ D _| d <_ 0 _}_ . Then,
|
| 193 |
+
|
| 194 |
+
**==> picture [293 x 26] intentionally omitted <==**
|
| 195 |
+
|
| 196 |
+
Therefore, DS _c_ measures the ratio of negative results, whereas DS _a_ aggregates the results while taking their actual values into consideration.
|
| 197 |
+
|
| 198 |
+
## 5.1 SYNTHETIC DATA
|
| 199 |
+
|
| 200 |
+
We sample prediction ensembles of size 100, average the differences over 1000 observations and repeat these experiments 50 times to get the distribution of results. We experiment with ES _p_ for _p ∈ {_ 0 _._ 5 _,_ 1 _,_ 1 _._ 5 _}_ and VS _p_ for _p ∈{_ 0 _._ 5 _,_ 1 _,_ 1 _._ 5 _,_ 2 _}_ . For our KNNS _[d] k_[Score, we test] _[ k, d][∈{]_[1] _[,]_[ 2] _[,]_[ 3] _[,]_[ 4] _[,]_[ 5] _[}]_ and use _N_ RP = 1000 repetitions.
|
| 201 |
+
|
| 202 |
+
We use similar settings as Scheuerer & Hamill (2015) for unimodal experiments, but we increase the dimension to 100, as dimensions of 5 or 15 are far from realistic scenarios. The default model _p_ 0 is a 100-dimensional Gaussian _N_ ( **0** _,_ **Σ** ) with correlation function exp � _−[|][i][−]_ 3 _[j][|]_ �. The following adapted models are considered: (a) mean bias: the values of _**µ**_ are linearly interpolated between _µ_ 1 = _−_ 0 _._ 25 and _µ_ 100 = 0 _._ 25; (b) larger variance: the variance is increased to 1 _._ 5; (c) smaller variance: the variance is decreased to[2][(d)][less][correlation:][the][correlation][function][is] 3[;] exp � _−[|][i][−]_ 2 _[j][|]_ �; (e) more correlation: the correlation function is exp � _−[|][i]_ 4 _[−] ._ 5 _[j][|]_ �; (f) correlation model
|
| 203 |
+
|
| 204 |
+
_−_ 1 (i): the correlation function is �1 + _[|][i][−]_ 3 _[j][|]_ � ; (g) correlation model (ii): the correlation function is exp _−[|][i][−]_ 4 _[j][|]_ 34[+] 4[1][cos] _|i−_ 2 _j|π_ . � �� � ��
|
| 205 |
+
|
| 206 |
+
Table 1 shows DS _a_ for a subset of experiments, full tables are in Appendix B. The Energy Score has issues with distinguishing correlation in general, which has been noted in previous works (Pinson & Tastu, 2013; Scheuerer & Hamill, 2015; Alexander et al., 2022). Since the Variogram Score was proposed to tackle this issue, it does perform well in these cases. It has the most issues with the mean bias, even though this bias is different for all components.
|
| 207 |
+
|
| 208 |
+
The KNN Score performs best for _d_ = 2 _, k ∈{_ 2 _,_ 3 _}_ , where it is better than the Energy Score and on par with the Variogram Score. For _k_ = 1, it cannot distinguish _p_ 0 from the model with larger variance and the one with less correlation, for _k ≥_ 3 the opposite behavior emerges and it scores the stronger correlated and less variable model better than _p_ 0.
|
| 209 |
+
|
| 210 |
+
7
|
| 211 |
+
|
| 212 |
+
|||Table 1:|DS_a_ for unimodal experiments.|DS_a_ for unimodal experiments.|DS_a_ for unimodal experiments.|||
|
| 213 |
+
|---|---|---|---|---|---|---|---|
|
| 214 |
+
||mean bias<br>larger var<br>smaller var<br>less corr<br>more corr<br>corr (i)<br>corr (ii)|||||||
|
| 215 |
+
|ES0_._5|0.00|0.00|0.00|0.34|0.18|0.02|0.29|
|
| 216 |
+
|ES1|0.00|0.00|0.00|0.43|0.29|0.05|0.37|
|
| 217 |
+
|ES1_._5|0.00|0.00|0.00|0.53|0.42|0.22|0.47|
|
| 218 |
+
|VS0_._5|0.06|0.00|0.00|0.00|0.00|0.00|0.00|
|
| 219 |
+
|VS1|0.05|0.00|0.00|0.00|0.00|0.00|0.00|
|
| 220 |
+
|VS1_._5|0.04|0.00|0.00|0.00|0.01|0.00|0.01|
|
| 221 |
+
|VS2|0.03|0.00|0.00|0.01|0.04|0.00|0.04|
|
| 222 |
+
|KNNS2<br>1|0.00|1.00|0.00|0.11|0.00|0.00|0.04|
|
| 223 |
+
|KNNS2<br>2|0.00|0.00|0.00|0.04|0.01|0.00|0.04|
|
| 224 |
+
|KNNS2<br>3|0.00|0.00|0.00|0.01|0.06|0.00|0.03|
|
| 225 |
+
|KNNS2<br>4|0.00|0.00|0.00|0.00|0.23|0.00|0.02|
|
| 226 |
+
|KNNS2<br>5|0.00|0.00|0.00|0.00|0.46|0.00|0.02|
|
| 227 |
+
|
| 228 |
+
Table 2: DS _a_ for multimodal experiments.
|
| 229 |
+
|
| 230 |
+
|ES0_._5<br>ES1<br>ES1_._5<br>VS0_._5<br>VS1<br>VS1_._5<br>VS2<br>KNNS2<br>1<br>KNNS2<br>2<br>KNNS2<br>3<br>KNNS2<br>4<br>KNNS2<br>5|3components<br>mean distance<br>weights<br>larger<br>smaller<br>similar<br>different|3components<br>mean distance<br>weights<br>larger<br>smaller<br>similar<br>different|10components<br>mean distance<br>weights<br>larger<br>smaller<br>similar<br>different|10components<br>mean distance<br>weights<br>larger<br>smaller<br>similar<br>different|
|
| 231 |
+
|---|---|---|---|---|
|
| 232 |
+
||mean distance<br>larger<br>smaller||mean distance<br>larger<br>smaller||
|
| 233 |
+
||0.16<br>0.27<br>0.17<br>0.28<br>0.17<br>0.28|0.44<br>0.37<br>0.44<br>0.37<br>0.44<br>0.38|0.27<br>0.48<br>0.27<br>0.48<br>0.26<br>0.48|0.46<br>0.53<br>0.45<br>0.53<br>0.45<br>0.52|
|
| 234 |
+
||0.00<br>0.52<br>0.00<br>0.53<br>0.00<br>0.54<br>0.00<br>0.54|0.51<br>0.33<br>0.55<br>0.33<br>0.57<br>0.33<br>0.58<br>0.33|0.04<br>0.52<br>0.02<br>0.54<br>0.01<br>0.56<br>0.01<br>0.58|0.57<br>0.45<br>0.57<br>0.43<br>0.57<br>0.42<br>0.56<br>0.40|
|
| 235 |
+
||0.45<br>0.47<br>0.31<br>0.39<br>0.24<br>0.34<br>0.20<br>0.35<br>0.17<br>0.35|0.57<br>0.46|0.86<br>0.35|0.40<br>0.51<br>0.40<br>0.44<br>0.41<br>0.45<br>0.41<br>0.46<br>0.43<br>0.46|
|
| 236 |
+
|||0.53<br>0.39|0.70<br>0.38||
|
| 237 |
+
|||0.49<br>0.38<br>0.48<br>0.38<br>0.46<br>0.38|0.53<br>0.41||
|
| 238 |
+
||||0.38<br>0.42<br>0.27<br>0.47||
|
| 239 |
+
|
| 240 |
+
So far we have only considered unimodal Gaussians. We will now use Gaussian mixure models using the same correlation structure as before for all components. The model _p_ 0 has _N_ C components and we set the component weights proportional to _πi_ = _i_ . We define the mean _**µ** i_ of each component _i_ to be ( _**µ** i_ ) _j_ = _Ni_ C[1] _[{][i]_[=] _[j][}]_[,][i.e.][value] _[i]_[of][component] _[i]_[is] _Ni_ C[,][all][others][are][0][.][We][look][at] these four adaptions: (a) larger mean distance: ( _**µ** i_ ) _j_ = _N_ 2 _i_ C[1] _[{][i]_[=] _[j][}]_[;][(b)][smaller][mean][distance:] _[√]_ 3 ( _**µ** i_ ) _j_ =[0] _N[.]_[5] C _[i]_[1] _[{][i]_[=] _[j][}]_[;][(c)][more][similar][component][weights:][proportional][to] _[π][i]_[=] _i_ ; (d) more different component weights: proportional to _πi_ = _i_[3] .
|
| 241 |
+
|
| 242 |
+
We perform these experiments for _N_ C _∈{_ 3 _,_ 10 _}_ , results are shown in Table 2. KNNS achieves the highest discrimination ability for _d_ = 2 _, k ∈{_ 3 _,_ 4 _}_ . Increasing _k_ or _d_ leads to a better separability between _p_ 0 and the model with components further away, but has the opposite effect if components are pushed together. If the component weights are changed, the selection of _k_ and _d_ does not have much effect. When compared to KNNS[4] 2[,][VS][performs][better][for][the][first][model,][worse][for][the] second and third and slightly better for the last. ES is worse in all cases except for comparing _p_ 0 with 10 components to the model with larger mean distances.
|
| 243 |
+
|
| 244 |
+
## 5.2 REAL DATA
|
| 245 |
+
|
| 246 |
+
Instead of synthesizing artificial data from Gaussians or from mixture models, we can also use deep learning models for time series forecasting, train them on real data and use one of them as the data generating process. We follow the training and evaluation procedure described by Drouin et al. (2022), as they provide code and detailed hyperparameters for six models on five different datasets.
|
| 247 |
+
|
| 248 |
+
8
|
| 249 |
+
|
| 250 |
+
Figure 3: FRED-MD Dataset with timegrad as the data generating model.
|
| 251 |
+
|
| 252 |
+
We regard each of these models as the data generating process _p_ 0 for each dataset. For each such pair, we synthesize future observations _**y**_ from each historic sample from the test split of the respective dataset. We use the normalization scheme used in the GluonTS framework (Alexandrov et al., 2020) before evaluating all metrics: a single normalization factor is computed from the test dataset by averaging the absolute value of the observed future of all time series and time steps.
|
| 253 |
+
|
| 254 |
+
As the VS is computationally costly, we only evaluate it for the smallest dataset used by Drouin et al. (2022), which is FRED-MD (Godahewa et al., 2021). This dataset also poses the biggest issues for our KNNS Score, especially if timegrad (Rasul et al., 2021a) is the data generating process. Figure 3 shows violin plots collected over 200 repetitions, see Appendix C for details and further results. A clear trend is visible: for _k_ = 1 the KNNS Score has difficulties discriminating between timegrad and tempflow (Rasul et al., 2021b). If _k_ and _d_ are large, gpvar (Salinas et al., 2019), tactis (Drouin et al., 2022) and auto ~~a~~ rima become indistinguishable from timegrad. In between, KNNS produces correct evaluations. ES also provides good results, whereas VS fails.
|
| 255 |
+
|
| 256 |
+
## 6 LIMITATIONS AND CONCLUSION
|
| 257 |
+
|
| 258 |
+
As univariate evaluations fail to measure dependencies between different time steps and different time series, multivariate evaluation is crucial. We prove that the Energy Score is equivalent to measuring the average CRPS score over random projections. This leads to an information loss which makes the Energy Score fail to gather correlation structure. The Variogram Score is not rotation invariant, such that the direction of a deviation between observation and prediction changes the result which is not desired in general settings. In addition, it is rather costly to compute.
|
| 259 |
+
|
| 260 |
+
We propose the KNNS Score, a novel metric for probabilistic multivariate forecasting, which is based on _k_ -nearest neighbor density estimation. Density estimation in a very high dimensional space would require an impossible amount of samples, thus we perform random projections into low-dimensional space and compute an average distance to the _k_ -nearest neighbor.
|
| 261 |
+
|
| 262 |
+
One drawback of this metric is the need for numerous random projections. Investigating a closedform solution is a possibility for future research. Additionally, the choice of parameters, namely _k_ and _d_ , impacts the outcomes. Therefore, establishing guidelines for selecting these parameters during evaluation will be an important topic for future work. Through a series of experiments, we demonstrate that the KNNS Score effectively discriminates the true data generating process from various alternative models, particularly in the context of contemporary deep learning models.
|
| 263 |
+
|
| 264 |
+
9
|
| 265 |
+
|
| 266 |
+
## REFERENCES
|
| 267 |
+
|
| 268 |
+
Carol Alexander, Michael Coulon, Yang Han, and Xiaochun Meng. Evaluating the discrimination ability of proper multi-variate scoring rules. _Annals of Operations Research_ , pp. 1–27, 2022.
|
| 269 |
+
|
| 270 |
+
- Alexander Alexandrov, Konstantinos Benidis, Michael Bohlke-Schneider, Valentin Flunkert, Jan Gasthaus, Tim Januschowski, Danielle C. Maddix, Syama Rangapuram, David Salinas, Jasper Schulz, Lorenzo Stella, Ali Caner T¨urkmen, and Yuyang Wang. GluonTS: probabilistic and neural time series modeling in python. _Journal of Machine Learning Research_ , 21(116):1–6, 2020.
|
| 271 |
+
|
| 272 |
+
- J Scott Armstrong. _Long-Range Forecasting: From Crystal Ball to Computer_ . John Wiley & Sons, Inc., 1985.
|
| 273 |
+
|
| 274 |
+
Thomas A. Brown. Admissible scoring systems for continuous distributions. 1974.
|
| 275 |
+
|
| 276 |
+
- Michael B Cohen, Yin Tat Lee, Gary Miller, Jakub Pachocki, and Aaron Sidford. Geometric median in nearly linear time. In _Proceedings of the forty-eighth annual ACM symposium on Theory of Computing_ , pp. 9–21, 2016.
|
| 277 |
+
|
| 278 |
+
- A Philip Dawid and Paola Sebastiani. Coherent dispersion criteria for optimal experimental design. _Annals of Statistics_ , pp. 65–81, 1999.
|
| 279 |
+
|
| 280 |
+
- Emmanuel de B´ezenac, Syama Sundar Rangapuram, Konstantinos Benidis, Michael BohlkeSchneider, Richard Kurle, Lorenzo Stella, Hilaf Hasson, Patrick Gallinari, and Tim Januschowski. Normalizing kalman filters for multivariate time series analysis. _Advances in Neural Information Processing Systems_ , 33:2995–3007, 2020.
|
| 281 |
+
|
| 282 |
+
- Laurent Dinh, David Krueger, and Yoshua Bengio. NICE: Non-linear independent components estimation. In _ICLR 2015 Workshop_ , 2014.
|
| 283 |
+
|
| 284 |
+
- Alexandre Drouin, Etienne Marcotte,[´] and Nicolas Chapados. Tactis: Transformer-attentional copulas for time series. In _International Conference on Machine Learning_ , pp. 5447–5493. PMLR, 2022.
|
| 285 |
+
|
| 286 |
+
- Jonathan Dumas, Antoine Wehenkel, Damien Lanaspeze, Bertrand Corn´elusse, and Antonio Sutera. A deep generative model for probabilistic energy forecasting in power systems: normalizing flows. _Applied Energy_ , 305:117871, 2022.
|
| 287 |
+
|
| 288 |
+
- Peter Frankl and Hiroshi Maehara. Some geometric applications of the beta distribution. _Annals of the Institute of Statistical Mathematics_ , 42:463–474, 1990.
|
| 289 |
+
|
| 290 |
+
- Jan Gasthaus, Konstantinos Benidis, Yuyang Wang, Syama Sundar Rangapuram, David Salinas, Valentin Flunkert, and Tim Januschowski. Probabilistic forecasting with spline quantile function rnns. In _The 22nd international conference on artificial intelligence and statistics_ , pp. 1901–1910. PMLR, 2019.
|
| 291 |
+
|
| 292 |
+
- Tilmann Gneiting and Adrian E Raftery. Strictly proper scoring rules, prediction, and estimation. _Journal of the American statistical Association_ , 102(477):359–378, 2007.
|
| 293 |
+
|
| 294 |
+
- Rakshitha W Godahewa, Christoph Bergmeir, Geoffrey Webb, Rob Hyndman, and Pablo MonteroManso. Monash time series forecasting archive. In J. Vanschoren and S. Yeung (eds.), _Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks_ , volume 1. Curran, 2021.
|
| 295 |
+
|
| 296 |
+
- Ad`ele Gouttes, Kashif Rasul, Mateusz Koren, Johannes Stephan, and Tofigh Naghibi. Probabilistic time series forecasting with implicit quantile networks. In _ICML 2021 Time Series Workshop_ , 2021.
|
| 297 |
+
|
| 298 |
+
Rob J Hyndman and George Athanasopoulos. _Forecasting: principles and practice_ . OTexts, 2018.
|
| 299 |
+
|
| 300 |
+
Rob J Hyndman and Anne B Koehler. Another look at measures of forecast accuracy. _International journal of forecasting_ , 22(4):679–688, 2006.
|
| 301 |
+
|
| 302 |
+
10
|
| 303 |
+
|
| 304 |
+
Kelvin Kan, Franc¸ois-Xavier Aubet, Tim Januschowski, Youngsuk Park, Konstantinos Benidis, Lars Ruthotto, and Jan Gasthaus. Multivariate quantile function forecaster. In _International Conference on Artificial Intelligence and Statistics_ , pp. 10603–10621. PMLR, 2022.
|
| 305 |
+
|
| 306 |
+
- Don O Loftsgaarden and Charles P Quesenberry. A nonparametric estimate of a multivariate density function. _The Annals of Mathematical Statistics_ , 36(3):1049–1051, 1965.
|
| 307 |
+
|
| 308 |
+
- Spyros Makridakis, Evangelos Spiliotis, and Vassilios Assimakopoulos. The m4 competition: 100,000 time series and 61 forecasting methods. _International Journal of Forecasting_ , 36(1): 54–74, 2020.
|
| 309 |
+
|
| 310 |
+
- Peru Muniain and Florian Ziel. Probabilistic forecasting in day-ahead electricity markets: Simulating peak and off-peak prices. _International Journal of Forecasting_ , 36(4):1193–1210, 2020.
|
| 311 |
+
|
| 312 |
+
- Nam Nguyen and Brian Quanz. Temporal latent auto-encoder: A method for probabilistic multivariate time series forecasting. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 35, pp. 9117–9125, 2021.
|
| 313 |
+
|
| 314 |
+
- Youngsuk Park, Danielle Maddix, Franc¸ois-Xavier Aubet, Kelvin Kan, Jan Gasthaus, and Yuyang Wang. Learning quantile functions without quantile crossing for distribution-free time series forecasting. In _International Conference on Artificial Intelligence and Statistics_ , pp. 8127–8150. PMLR, 2022.
|
| 315 |
+
|
| 316 |
+
- Emanuel Parzen. On estimation of a probability density function and mode. _The annals of mathematical statistics_ , 33(3):1065–1076, 1962.
|
| 317 |
+
|
| 318 |
+
- Karl Pearson. On lines and planes of closest fit to systems of points in space. _The London, Edinburgh, and Dublin philosophical magazine and journal of science_ , 2(11):559–572, 1901.
|
| 319 |
+
|
| 320 |
+
- Pierre Pinson and Julija Tastu. Discrimination ability of the energy score. Technical Report 15, Technical University of Denmark, 2013.
|
| 321 |
+
|
| 322 |
+
- Kashif Rasul, Calvin Seward, Ingmar Schuster, and Roland Vollgraf. autoregressive denoising diffusion models for multivariate probabilistic time series forecasting. In Marina Meila and Tong Zhang (eds.), _Proceedings of the 38th International Conference on Machine Learning_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 8857–8868. PMLR, 18–24 Jul 2021a.
|
| 323 |
+
|
| 324 |
+
- Kashif Rasul, Abdul-Saboor Sheikh, Ingmar Schuster, Urs Bergmann, and Roland Vollgraf. Multivariate probabilistic time series forecasting via conditioned normalizing flows. In _International Conference on Learning Representations 2021_ , 2021b.
|
| 325 |
+
|
| 326 |
+
- Murray Rosenblatt. Remarks on some nonparametric estimates of a density function. _The annals of mathematical statistics_ , pp. 832–837, 1956.
|
| 327 |
+
|
| 328 |
+
- David Salinas, Michael Bohlke-Schneider, Laurent Callot, Roberto Medico, and Jan Gasthaus. High-dimensional multivariate forecasting with low-rank gaussian copula processes. _Advances in neural information processing systems_ , 32, 2019.
|
| 329 |
+
|
| 330 |
+
- Michael Scheuerer and Thomas M Hamill. Variogram-based proper scoring rules for probabilistic forecasts of multivariate quantities. _Monthly Weather Review_ , 143(4):1321–1334, 2015.
|
| 331 |
+
|
| 332 |
+
- Binh Tang and David S Matteson. Probabilistic transformer for time series analysis. _Advances in Neural Information Processing Systems_ , 34:23592–23608, 2021.
|
| 333 |
+
|
| 334 |
+
- Yusuke Tashiro, Jiaming Song, Yang Song, and Stefano Ermon. Csdi: Conditional score-based diffusion models for probabilistic time series imputation. _Advances in Neural Information Processing Systems_ , 34:24804–24816, 2021.
|
| 335 |
+
|
| 336 |
+
11
|
| 337 |
+
|
| 338 |
+
## A PROOF FOR THEOREM 1
|
| 339 |
+
|
| 340 |
+
**Theorem 1.** _Let_ _**r** be a d-dimensional random vector with unit length. Then there exists a constant cd, such that_
|
| 341 |
+
|
| 342 |
+
**==> picture [301 x 11] intentionally omitted <==**
|
| 343 |
+
|
| 344 |
+
_Proof._
|
| 345 |
+
|
| 346 |
+
**==> picture [379 x 132] intentionally omitted <==**
|
| 347 |
+
|
| 348 |
+
**==> picture [364 x 11] intentionally omitted <==**
|
| 349 |
+
|
| 350 |
+
Here, _θ_ _**a** ,_ _**b**_ denotes the angle between _**a**_ and _**b**_ . Since _**r**_ is a random vector with unit length, E _**r** |_ cos( _θ_ _**r** ,_ _**b**_ ) _|_ = E _**r** |_ cos( _θ_ _**r** ,_ _**e**_ 1) _|_ where _**e**_ 1 is the base vector [1 _,_ 0 _, . . . ,_ 0] _[⊤]_ . The dimensiondependent constant _cd_ can be computed as
|
| 351 |
+
|
| 352 |
+
**==> picture [271 x 28] intentionally omitted <==**
|
| 353 |
+
|
| 354 |
+
where Γ denotes the gamma function. See Lemma 1 for the derivation.
|
| 355 |
+
|
| 356 |
+
**Lemma 1.** _Let_ _**r** be a random vector sampled uniformly from the surface of a d-dimensional unit sphere and let_ _**e**_ 1 = [1 _,_ 0 _, . . . ,_ 0] _[⊤] . The expected cosine between these vectors can be computed as_
|
| 357 |
+
|
| 358 |
+
**==> picture [260 x 28] intentionally omitted <==**
|
| 359 |
+
|
| 360 |
+
_Proof._ If _θ_ is the angle between two arbitrary random vectors, then _X_ = sin[2] _θ_ has the probability density function
|
| 361 |
+
|
| 362 |
+
**==> picture [256 x 29] intentionally omitted <==**
|
| 363 |
+
|
| 364 |
+
where B( _α, β_ ) is the normalization factor of the beta distribution (Frankl & Maehara, 1990). Normalization of these vectors to unit length does not change the angles and fixing one of the vectors to _**e**_ 1 and only sampling the other one does not change the distribution. Thus, using sin[2] _θ_ +cos[2] _θ_ = 1, we can compute the expected absolute cosine as
|
| 365 |
+
|
| 366 |
+
**==> picture [286 x 119] intentionally omitted <==**
|
| 367 |
+
|
| 368 |
+
where we applied the definition of the Beta normalization factor followed by the recurrence relation of the Gamma function.
|
| 369 |
+
|
| 370 |
+
12
|
| 371 |
+
|
| 372 |
+
## B FURTHER RESULTS ON SYNTHETIC DATA
|
| 373 |
+
|
| 374 |
+
This section shows the results for all experiments we conducted on synthetic data. If a metric can discriminate between the true data generating process and the adapted models, DS _c_ and DS _a_ are close to 0. Values close to 1 mean that the metric scores the wrong model better.
|
| 375 |
+
|
| 376 |
+
||DS_c_<br>mean bias<br>larger var<br>smaller var<br>less corr<br>more corr<br>corr (i)<br>corr (ii)|
|
| 377 |
+
|---|---|
|
| 378 |
+
|ES0_._5<br>ES1<br>ES1_._5|0.00<br>0.00<br>0.00<br>0.40<br>0.34<br>0.04<br>0.42<br>0.00<br>0.00<br>0.00<br>0.42<br>0.44<br>0.10<br>0.42<br>0.00<br>0.00<br>0.00<br>0.50<br>0.52<br>0.26<br>0.46|
|
| 379 |
+
|VS0_._5<br>VS1<br>VS1_._5<br>VS2|0.14<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.10<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.08<br>0.00<br>0.00<br>0.02<br>0.02<br>0.00<br>0.06<br>0.08<br>0.00<br>0.00<br>0.02<br>0.12<br>0.00<br>0.06|
|
| 380 |
+
|KNN1|0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00|
|
| 381 |
+
|KNNS1<br>1<br>KNNS1<br>2<br>KNNS1<br>3<br>KNNS1<br>4<br>KNNS1<br>5|0.00<br>1.00<br>0.00<br>0.60<br>0.00<br>0.00<br>0.36<br>0.00<br>1.00<br>0.00<br>0.62<br>0.00<br>0.00<br>0.40<br>0.00<br>1.00<br>0.00<br>0.64<br>0.02<br>0.00<br>0.46<br>0.00<br>1.00<br>0.00<br>0.70<br>0.02<br>0.00<br>0.52<br>0.00<br>1.00<br>0.00<br>0.68<br>0.06<br>0.00<br>0.54|
|
| 382 |
+
|KNNS2<br>1<br>KNNS2<br>2<br>KNNS2<br>3<br>KNNS2<br>4<br>KNNS2<br>5|0.00<br>1.00<br>0.00<br>0.30<br>0.00<br>0.00<br>0.10<br>0.00<br>0.00<br>0.00<br>0.16<br>0.10<br>0.00<br>0.08<br>0.00<br>0.00<br>0.00<br>0.06<br>0.18<br>0.00<br>0.06<br>0.00<br>0.00<br>0.00<br>0.02<br>0.32<br>0.00<br>0.04<br>0.00<br>0.00<br>0.00<br>0.02<br>0.46<br>0.00<br>0.04|
|
| 383 |
+
|KNNS3<br>1<br>KNNS3<br>2<br>KNNS3<br>3<br>KNNS3<br>4<br>KNNS3<br>5|0.00<br>0.00<br>0.00<br>0.00<br>0.26<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.82<br>0.00<br>0.00<br>0.00<br>0.00<br>0.16<br>0.00<br>1.00<br>0.10<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.40<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.74<br>0.00|
|
| 384 |
+
|KNNS4<br>1<br>KNNS4<br>2<br>KNNS4<br>3<br>KNNS4<br>4<br>KNNS4<br>5|0.00<br>0.00<br>0.00<br>0.00<br>0.92<br>0.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.42<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.90<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.98<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00|
|
| 385 |
+
|KNNS5<br>1<br>KNNS5<br>2<br>KNNS5<br>3<br>KNNS5<br>4<br>KNNS5<br>5|0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.40<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00|
|
| 386 |
+
|
| 387 |
+
13
|
| 388 |
+
|
| 389 |
+
||DS_a_<br>mean bias<br>larger var<br>smaller var<br>less corr<br>more corr<br>corr (i)<br>corr (ii)|
|
| 390 |
+
|---|---|
|
| 391 |
+
|ES0_._5<br>ES1<br>ES1_._5|0.00<br>0.00<br>0.00<br>0.34<br>0.18<br>0.02<br>0.29<br>0.00<br>0.00<br>0.00<br>0.43<br>0.29<br>0.05<br>0.37<br>0.00<br>0.00<br>0.00<br>0.53<br>0.42<br>0.22<br>0.47|
|
| 392 |
+
|VS0_._5<br>VS1<br>VS1_._5<br>VS2|0.06<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.05<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.04<br>0.00<br>0.00<br>0.00<br>0.01<br>0.00<br>0.01<br>0.03<br>0.00<br>0.00<br>0.01<br>0.04<br>0.00<br>0.04|
|
| 393 |
+
|KNN1|0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00|
|
| 394 |
+
|KNNS1<br>1<br>KNNS1<br>2<br>KNNS1<br>3<br>KNNS1<br>4<br>KNNS1<br>5|0.00<br>1.00<br>0.00<br>0.66<br>0.00<br>0.00<br>0.31<br>0.00<br>1.00<br>0.00<br>0.69<br>0.00<br>0.00<br>0.36<br>0.00<br>1.00<br>0.00<br>0.72<br>0.00<br>0.00<br>0.41<br>0.00<br>1.00<br>0.00<br>0.74<br>0.00<br>0.00<br>0.44<br>0.00<br>1.00<br>0.00<br>0.73<br>0.00<br>0.00<br>0.46|
|
| 395 |
+
|KNNS2<br>1<br>KNNS2<br>2<br>KNNS2<br>3<br>KNNS2<br>4<br>KNNS2<br>5|0.00<br>1.00<br>0.00<br>0.11<br>0.00<br>0.00<br>0.04<br>0.00<br>0.00<br>0.00<br>0.04<br>0.01<br>0.00<br>0.04<br>0.00<br>0.00<br>0.00<br>0.01<br>0.06<br>0.00<br>0.03<br>0.00<br>0.00<br>0.00<br>0.00<br>0.23<br>0.00<br>0.02<br>0.00<br>0.00<br>0.00<br>0.00<br>0.46<br>0.00<br>0.02|
|
| 396 |
+
|KNNS3<br>1<br>KNNS3<br>2<br>KNNS3<br>3<br>KNNS3<br>4<br>KNNS3<br>5|0.00<br>0.00<br>0.00<br>0.00<br>0.19<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.00<br>0.94<br>0.00<br>0.00<br>0.00<br>0.00<br>0.03<br>0.00<br>1.00<br>0.01<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.32<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.79<br>0.00|
|
| 397 |
+
|KNNS4<br>1<br>KNNS4<br>2<br>KNNS4<br>3<br>KNNS4<br>4<br>KNNS4<br>5|0.00<br>0.00<br>0.00<br>0.00<br>0.98<br>0.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.35<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.96<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00|
|
| 398 |
+
|KNNS5<br>1<br>KNNS5<br>2<br>KNNS5<br>3<br>KNNS5<br>4<br>KNNS5<br>5|0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>0.36<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00<br>0.00<br>0.00<br>1.00<br>0.00<br>1.00<br>1.00<br>0.00|
|
| 399 |
+
|
| 400 |
+
14
|
| 401 |
+
|
| 402 |
+
||DS_c_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|DS_c_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|DS_a_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|DS_a_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|
|
| 403 |
+
|---|---|---|---|---|
|
| 404 |
+
||mean distance<br>higher<br>lower||mean distance<br>higher<br>lower||
|
| 405 |
+
|ES0_._5<br>ES1<br>ES1_._5|0.32<br>0.38<br>0.32<br>0.42<br>0.32<br>0.44|0.50<br>0.34<br>0.52<br>0.36<br>0.52<br>0.36|0.16<br>0.27<br>0.17<br>0.28<br>0.17<br>0.28|0.44<br>0.37<br>0.44<br>0.37<br>0.44<br>0.38|
|
| 406 |
+
|VS0_._5<br>VS1<br>VS1_._5<br>VS2|0.04<br>0.50<br>0.02<br>0.54<br>0.02<br>0.60<br>0.02<br>0.60|0.48<br>0.42<br>0.52<br>0.42<br>0.52<br>0.38<br>0.58<br>0.36|0.00<br>0.52<br>0.00<br>0.53<br>0.00<br>0.54<br>0.00<br>0.54|0.51<br>0.33<br>0.55<br>0.33<br>0.57<br>0.33<br>0.58<br>0.33|
|
| 407 |
+
|KNN1|0.22<br>0.58|0.50<br>0.44|0.20<br>0.58|0.56<br>0.54|
|
| 408 |
+
|KNNS1<br>1<br>KNNS1<br>2<br>KNNS1<br>3<br>KNNS1<br>4<br>KNNS1<br>5|0.70<br>0.52<br>0.68<br>0.46<br>0.68<br>0.40<br>0.68<br>0.42<br>0.68<br>0.40|0.56<br>0.48<br>0.56<br>0.44<br>0.46<br>0.44<br>0.48<br>0.46<br>0.52<br>0.44|0.81<br>0.47<br>0.77<br>0.39<br>0.75<br>0.39<br>0.76<br>0.39<br>0.76<br>0.38|0.61<br>0.46<br>0.58<br>0.37<br>0.57<br>0.37<br>0.55<br>0.37<br>0.55<br>0.37|
|
| 409 |
+
|KNNS2<br>1<br>KNNS2<br>2<br>KNNS2<br>3<br>KNNS2<br>4<br>KNNS2<br>5|0.46<br>0.44<br>0.36<br>0.48<br>0.32<br>0.42<br>0.28<br>0.46<br>0.26<br>0.46|0.50<br>0.52<br>0.48<br>0.40<br>0.44<br>0.36<br>0.50<br>0.36<br>0.48<br>0.34|0.45<br>0.47<br>0.31<br>0.39<br>0.24<br>0.34<br>0.20<br>0.35<br>0.17<br>0.35|0.57<br>0.46<br>0.53<br>0.39<br>0.49<br>0.38<br>0.48<br>0.38<br>0.46<br>0.38|
|
| 410 |
+
|KNNS3<br>1<br>KNNS3<br>2<br>KNNS3<br>3<br>KNNS3<br>4<br>KNNS3<br>5|0.34<br>0.40<br>0.26<br>0.42<br>0.20<br>0.46<br>0.18<br>0.44<br>0.16<br>0.44|0.46<br>0.50<br>0.42<br>0.48<br>0.42<br>0.50<br>0.40<br>0.46<br>0.42<br>0.48|0.22<br>0.40<br>0.15<br>0.41|0.52<br>0.56<br>0.48<br>0.52<br>0.51<br>0.52<br>0.49<br>0.48<br>0.49<br>0.49|
|
| 411 |
+
||||0.09<br>0.42||
|
| 412 |
+
||||0.06<br>0.41<br>0.05<br>0.42||
|
| 413 |
+
|KNNS4<br>1<br>KNNS4<br>2<br>KNNS4<br>3<br>KNNS4<br>4<br>KNNS4<br>5|0.18<br>0.46<br>0.14<br>0.48<br>0.12<br>0.48<br>0.10<br>0.48<br>0.08<br>0.48|0.46<br>0.52<br>0.54<br>0.48<br>0.56<br>0.44<br>0.56<br>0.46<br>0.56<br>0.46|0.13<br>0.43|0.53<br>0.43<br>0.55<br>0.45<br>0.52<br>0.42<br>0.52<br>0.40<br>0.52<br>0.42|
|
| 414 |
+
||||0.09<br>0.46||
|
| 415 |
+
||||0.07<br>0.48<br>0.05<br>0.47<br>0.04<br>0.48||
|
| 416 |
+
|KNNS5<br>1<br>KNNS5<br>2<br>KNNS5<br>3<br>KNNS5<br>4<br>KNNS5<br>5|0.12<br>0.46<br>0.08<br>0.46<br>0.10<br>0.50<br>0.10<br>0.48<br>0.06<br>0.50|0.46<br>0.44<br>0.50<br>0.44<br>0.48<br>0.48<br>0.48<br>0.48<br>0.50<br>0.46|0.08<br>0.38<br>0.06<br>0.41<br>0.05<br>0.44<br>0.05<br>0.45<br>0.04<br>0.47|0.44<br>0.41<br>0.47<br>0.46<br>0.48<br>0.47<br>0.48<br>0.50<br>0.48<br>0.50|
|
| 417 |
+
|
| 418 |
+
15
|
| 419 |
+
|
| 420 |
+
||DS_c_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|DS_c_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|DS_a_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|DS_a_<br>mean distance<br>weights<br>higher<br>lower<br>similar<br>different|
|
| 421 |
+
|---|---|---|---|---|
|
| 422 |
+
||mean distance<br>higher<br>lower||mean distance<br>higher<br>lower||
|
| 423 |
+
|ES0_._5<br>ES1<br>ES1_._5|0.34<br>0.46<br>0.34<br>0.44<br>0.36<br>0.44|0.46<br>0.52<br>0.44<br>0.52<br>0.44<br>0.54|0.27<br>0.48<br>0.27<br>0.48<br>0.26<br>0.48|0.46<br>0.53<br>0.45<br>0.53<br>0.45<br>0.52|
|
| 424 |
+
|VS0_._5<br>VS1<br>VS1_._5<br>VS2|0.14<br>0.52<br>0.10<br>0.54<br>0.04<br>0.52<br>0.04<br>0.54|0.56<br>0.44<br>0.56<br>0.38<br>0.56<br>0.42<br>0.58<br>0.40|0.04<br>0.52<br>0.02<br>0.54<br>0.01<br>0.56<br>0.01<br>0.58|0.57<br>0.45<br>0.57<br>0.43<br>0.57<br>0.42<br>0.56<br>0.40|
|
| 425 |
+
|KNN1|0.04<br>0.70|0.54<br>0.54|0.01<br>0.74|0.57<br>0.45|
|
| 426 |
+
|KNNS1<br>1<br>KNNS1<br>2<br>KNNS1<br>3<br>KNNS1<br>4<br>KNNS1<br>5|0.98<br>0.28|0.48<br>0.52|1.00<br>0.25|0.42<br>0.58<br>0.42<br>0.58<br>0.44<br>0.62<br>0.43<br>0.58<br>0.42<br>0.57|
|
| 427 |
+
||0.98<br>0.34|0.50<br>0.54|0.99<br>0.18||
|
| 428 |
+
||0.98<br>0.30|0.46<br>0.60|0.99<br>0.17||
|
| 429 |
+
||0.92<br>0.32|0.44<br>0.56|0.98<br>0.19||
|
| 430 |
+
||0.90<br>0.30|0.42<br>0.52|0.96<br>0.20||
|
| 431 |
+
|KNNS2<br>1<br>KNNS2<br>2<br>KNNS2<br>3<br>KNNS2<br>4<br>KNNS2<br>5|0.78<br>0.42<br>0.58<br>0.38<br>0.46<br>0.38<br>0.30<br>0.40<br>0.28<br>0.40|0.42<br>0.50<br>0.46<br>0.42<br>0.46<br>0.44<br>0.42<br>0.46<br>0.44<br>0.46|0.86<br>0.35<br>0.70<br>0.38<br>0.53<br>0.41<br>0.38<br>0.42<br>0.27<br>0.47|0.40<br>0.51<br>0.40<br>0.44<br>0.41<br>0.45<br>0.41<br>0.46<br>0.43<br>0.46|
|
| 432 |
+
|KNNS3<br>1<br>KNNS3<br>2<br>KNNS3<br>3<br>KNNS3<br>4<br>KNNS3<br>5|0.40<br>0.48<br>0.20<br>0.54<br>0.08<br>0.60<br>0.04<br>0.60<br>0.04<br>0.64|0.46<br>0.40<br>0.38<br>0.42<br>0.38<br>0.42<br>0.42<br>0.44<br>0.42<br>0.40|0.33<br>0.52|0.40<br>0.37<br>0.42<br>0.36<br>0.41<br>0.36<br>0.45<br>0.36<br>0.47<br>0.36|
|
| 433 |
+
||||0.09<br>0.62||
|
| 434 |
+
||||0.01<br>0.64<br>0.00<br>0.71<br>0.00<br>0.75||
|
| 435 |
+
|KNNS4<br>1<br>KNNS4<br>2<br>KNNS4<br>3<br>KNNS4<br>4<br>KNNS4<br>5|0.16<br>0.50<br>0.10<br>0.54<br>0.02<br>0.60<br>0.02<br>0.62<br>0.02<br>0.62|0.40<br>0.52<br>0.46<br>0.48<br>0.42<br>0.48<br>0.42<br>0.48<br>0.42<br>0.48|0.12<br>0.61<br>0.03<br>0.70<br>0.01<br>0.74<br>0.00<br>0.76<br>0.00<br>0.80|0.41<br>0.45<br>0.46<br>0.43<br>0.45<br>0.42<br>0.45<br>0.40<br>0.45<br>0.40|
|
| 436 |
+
|KNNS5<br>1<br>KNNS5<br>2<br>KNNS5<br>3<br>KNNS5<br>4<br>KNNS5<br>5|0.06<br>0.60<br>0.00<br>0.62<br>0.00<br>0.64<br>0.00<br>0.66<br>0.00<br>0.66|0.38<br>0.44<br>0.44<br>0.40<br>0.50<br>0.40<br>0.52<br>0.42<br>0.54<br>0.40|0.01<br>0.62<br>0.00<br>0.71<br>0.00<br>0.75<br>0.00<br>0.77<br>0.00<br>0.80|0.46<br>0.41<br>0.50<br>0.41<br>0.51<br>0.37<br>0.50<br>0.35<br>0.52<br>0.35|
|
| 437 |
+
|
| 438 |
+
16
|
| 439 |
+
|
| 440 |
+
## C FURTHER RESULTS ON REAL DATA
|
| 441 |
+
|
| 442 |
+
The violin plots presented in the following figures visualize the distribution of differences _S_ ( _**y** ,_ X0) _− S_ ( _**y** ,_ X1) for different data generating models _p_ 0 on the FRED-MD dataset. Ideally, this difference is positive, because forecasts of the data generating model should score better than forecasts of other models. A metric demonstrates strong discrimination ability when the majority of the probability mass resides on the positive side of the zero-line. The color of each violin plot visualizes DS _c_ , i.e. the proportion of points lying on the negative side.
|
| 443 |
+
|
| 444 |
+
Apart from discrimination ability, we can also see that the metrics produce different rankings of the models. For example in Figure 7, the Energy Score rates auto ~~a~~ rima to be the closest to tactis, followed by gpvar and ets. For the Variogram Score, the order depends on _p_ , for small _p_ , ets is closer to tactis, for larger _p_ the ordering is the same as for the Energy Score. Our KNN Score ranks gpvar first, if _k_ = 1 _, d_ = 2. For bigger _k, d_ auto ~~a~~ rima is ranked best.
|
| 445 |
+
|
| 446 |
+
**==> picture [396 x 280] intentionally omitted <==**
|
| 447 |
+
|
| 448 |
+
Figure 4: FRED-MD Dataset, data generating model is auto ~~a~~ rima
|
| 449 |
+
|
| 450 |
+
17
|
| 451 |
+
|
| 452 |
+
**==> picture [396 x 281] intentionally omitted <==**
|
| 453 |
+
|
| 454 |
+
Figure 5: FRED-MD Dataset, data generating model is ets
|
| 455 |
+
|
| 456 |
+
**==> picture [396 x 280] intentionally omitted <==**
|
| 457 |
+
|
| 458 |
+
Figure 6: FRED-MD Dataset, data generating model is gpvar
|
| 459 |
+
|
| 460 |
+
18
|
| 461 |
+
|
| 462 |
+
**==> picture [396 x 281] intentionally omitted <==**
|
| 463 |
+
|
| 464 |
+
Figure 7: FRED-MD Dataset, data generating model is tactis
|
| 465 |
+
|
| 466 |
+
**==> picture [396 x 280] intentionally omitted <==**
|
| 467 |
+
|
| 468 |
+
Figure 8: FRED-MD Dataset, data generating model is tempflow
|
| 469 |
+
|
| 470 |
+
19
|
| 471 |
+
|
open_review/iclr2024_9097.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9097",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "There is More to Graphs than Meets the Eye: Learning Universal Features with Self-supervision",
|
| 6 |
+
"abstract": "We study the problem of learning universal features from multiple graphs through self-supervision. Graph self-supervised learning has been shown to facilitate representation learning, and produce competitive models compared to supervised baselines. However, existing methods of self-supervision learn features from one graph, and thus, produce models that are specialized to a particular graph. We hypothesize that leveraging multiple graphs of a family can improve the quality of learnt representations in the model by extracting features that are universal to the family of graphs. To achieve this, we propose a framework that can learn generalisable representations from disparate node features of different graphs. We first homogenise the disparate features with graph-specific modules, which feed into a universal representation learning module for generalisable feature learning. We show that leveraging multiple graphs of the same family improves the quality of representations and results in better performance on downstream node classification task compared to self-supervision with one graph. In this paper, we present a principled way to design foundation graph models that are capable of learning from a set of graphs in a holistic manner. This approach bridges the gap between self-supervised and supervised performance, while reducing the computational time for self-supervision and parameters of the model.",
|
| 7 |
+
"rebuttal": "### Clarification of adaptation and experiments\nThank you for your comments and suggestions. We appreciate your feedback on our work. We provide our explanation on some of your comments.\n\n**Graph-specific encoders**:\n\nThe proposed approach can generalise to unseen datasets by learning a new graph-specific encoder. For instance, if we have a U-SSL model trained on 5 datasets, and we want to adapt the model to a new dataset, then it can be achieved by learning a 6th graph-specific encoder, keeping the universal representation learning module unchanged. We have demonstrated this with `ogbn-arxiv` as the new dataset and adapting a U-SSL model trained on 5 citation datasets by learning the new graph-specific module. Please see Page 8 *Adaptability* of the manuscript.\n\nIn the current framework, we cannot think of a way to propose a method to adapt the model to a new dataset without learning the new graph-specific encoder, since there is no other way to transfer the node features from their original space to a shared space for the universal module to process.\n\n**Experiments**:\n\n***Message passing-based GNNs***: We have conducted the study with two GNN models - GCN, GraphSAGE - and reported our findings in Table 5 of the manuscript. We will also add results of an attention-based GNN in the paper soon.\n\n***SSL Task***: We will provide the detailed description of PairSim in the revised version of the manuscript. PairSim was used in [1] as a pretext task that provides the best performance for downstream node classification task. This task was also adopted in [2] to automate graph self-supervised learning with multiple tasks.\n\n***Results in Table 1***:\n - *Data splits*: In the pre-training stage, positive and negative samples are drawn randomly, and there is no train-val-test split. This is because we are interested in learning the features and not worried about overfitting in this stage. This is also in line with the implementation of [2]. In the fine-tuning stage for node classification, we use the `train_mask` attribute of the graph datasets in PyTorch Geometric.\n - *Narrowing the gap between SSL and supervised performance*: Table 1 shows that the performance of U-SSL is always better than that of SSL, which validates our claim about the gap. We also show that the U-SSL model achieves supervised baseline performance for two graphs, thereby **closing the gap between SSL and supervised baseline**.\n\n\nWe are conducting more experiments to address your other concerns, and will update soon.\n\n[1] Jin, W., Derr, T., Liu, H., Wang, Y., Wang, S., Liu, Z., & Tang, J. (2020). Self-supervised learning on graphs: Deep insights and new direction. arXiv preprint arXiv:2006.10141.\n\n[2] Jin, W., Liu, X., Zhao, X., Ma, Y., Shah, N., & Tang, J. (2021, October). Automated Self-Supervised Learning for Graphs. In International Conference on Learning Representations.\n\n### Clarification on backbone model and learning without features\nThank you for your comments and suggestions. We appreciate your feedback on the paper. We provide an explanation of some of your comments here. We are conducting more experiments to address your other comments and will update soon.\n\n**Graphs without features**:\n\nThe current framework relies on node features to learn embeddings. However, in case of graphs that do not have pre-defined features, we can use, for example, hand-crafted features such as degree or q-hop shortest path distance [1] as node features to train a model.\n\n**Ba [...]\n\n### Clarification on novelty and insights from experiments\nThank you for your comments and suggestions. We appreciate your feedback on our work. We provide clarifications on the novelty of the work and insights obtained from the experiments.\n\n**Novelty**:\n\nThe novelty of the article lies in the unified pipeline that allows us to learn features from multiple graphs at the same time, in an inductive manner, and with shared parameters that leads to a more compact model. Dataset alignment is an important challenge in foundation models. In vision, this is achieved by resizing images of different si [...]\n\n### Detailed split ratio and performance\nThe exact train-test split ratio for all the datasets is the default from PyTorch Geometric, which is: 20 samples per class for training and 1000 samples for testing.\n\nIn addition, the performance values that are reported in the manuscript are, however, different from those observed in the related literature because of the different architecture adopted in our work. We adopt a transformer that learns in an inductive manner, while the most common GCN performs transductive learning.\n\n### Explanation of experiment details, dataset split and graph-aware data augmentation\nThank you for your constructive comments and suggestions. We appreciate your positive feedback. We are providing our partial response here, and will update with results from new experiments soon. We hope our responses below clarify some of your questions.\n\n**Experiment details and reproducibility**:\n- Our implementation of PairSim is derivative of [1], who implement a host of SSL tasks for graphs including pairwise similarity, pairwise distance, etc. The following steps are used to generate labels for PairSi [...]\n\n### Reproducibility and explanation of results\nThank you for your patience and for your comments.\n\n**Reproducibility**: We have uploaded the code as a .zip file in the supplementary material.\n\n**Difference in performance**: The observed difference in performance between the results reported in the paper and other methods in the literature is due to the different architecture adopted. We use a transformer model, which learns in an inductive manner, as opposed to a GCN, which is transductive in nature, and has access to the entire connectivity of the graph.\n\n**Gap between supervised and self-sup [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
3,
|
| 11 |
+
3,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 3.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": "The paper presents a novel idea in the domain of graph self-supervised learning. However, the methodology and experimental validation face significant challenges. There are concerns about the novelty of the approach, the specificity of the model implementation, and the clarity of the methodological framework. The lack of detailed experiments and the unavailability of code further limit the reproducibility and credibility of the results. Additionally, the paper seems to focus predominantly on citation graphs, raising questions about its generalizability to other types of networks. These issues, combined with the concerns about the paper's lack of deeper insights and methodological clarity, suggest that the manuscript does not meet the acceptance standards for publication at this time.\n\nIn light of these concerns, it is recommended that the paper be rejected. The authors may consider addressing these significant issues in future submissions.",
|
| 22 |
+
"forum_id": "w8BL1NShjk",
|
| 23 |
+
"primary_area": "learning on graphs and other geometries & topologies",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_w7Bu",
|
| 28 |
+
"review_id": "4VkFVr1UrP",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 3541,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 685491,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_sutU",
|
| 44 |
+
"review_id": "q8trUokO7k",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 3,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 1,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 1686,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 837624,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_Z55K",
|
| 60 |
+
"review_id": "Ew1UYMCWEh",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3353,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 920610,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_yAZs",
|
| 76 |
+
"review_id": "8Hv4IaAjro",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2814,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 953031,
|
| 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_9097.md
ADDED
|
@@ -0,0 +1,389 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
THERE IS MORE TO GRAPHS THAN MEETS THE - EYE: LEARNING UNIVERSAL FEATURES WITH SELF SUPERVISION
|
| 4 |
+
|
| 5 |
+
##
|
| 6 |
+
|
| 7 |
+
Authors withheld for review
|
| 8 |
+
|
| 9 |
+
## ABSTRACT
|
| 10 |
+
|
| 11 |
+
We study the problem of learning universal features from multiple graphs through self-supervision. Graph self-supervised learning has been shown to facilitate representation learning, and produce competitive models compared to supervised baselines. However, existing methods of self-supervision learn features from one graph, and thus, produce models that are specialized to a particular graph. We hypothesize that leveraging multiple graphs of a family can improve the quality of learnt representations in the model by extracting features that are universal to the family of graphs. However, learning universal features from disparate node/edge features in different graphs is challenging. To address this challenge, we first homogenise the disparate features with graph-specific modules that feed into a universal representation learning module for generalisable feature learning. We show that leveraging multiple graphs of the same family improves the quality of representations and results in better performance on downstream node classification task compared to self-supervision with one graph. In this paper, we present a principled way to design foundation graph models that are capable of learning from a set of graphs in a holistic manner. This approach bridges the gap between self-supervised and supervised performance, while reducing the computational time for self-supervision and parameters of the model.
|
| 12 |
+
|
| 13 |
+
## 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Graphs are rich and expressive mathematical abstractions and data structures that can represent properties of nodes and links in interconnected systems such as social networks, molecules and knowledge graphs. Several graph neural networks (GNNs) and graph transformers (GTs) that leverage powerful data processing architectures have been proposed to learn challenging tasks for a wide range of datasets (Fan et al., 2019; Baek et al., 2020; Rong et al., 2020; Muzio et al., 2021; Wu et al., 2022). Recently, self-supervised learning (SSL), which was born out of natural language processing and was later successfully applied to computer vision (Kolesnikov et al., 2019; He et al., 2022), has been demonstrated to aid in graph representation learning. SSL has ushered in more powerful GNN and GT models (Rong et al., 2020; Xiao et al., 2022; Jin et al., 2022; Liu et al., 2022). The success of self supervised models for graph-structured data has been demonstrated in different applications such as recommendation systems (Wu et al., 2021) and molecular property prediction (Zhang et al., 2021).
|
| 16 |
+
|
| 17 |
+
Self-supervision exploits unlabelled data to learn representations that might be useful across many downstream tasks (Balestriero et al., 2023). The state-of-the-art (SOTA) in graph self-supervision constrains pre-training to only one dataset (e.g., CoraFull), with one (Liu et al., 2022) or many (Jin et al., 2022) pre-training tasks at a time. As a result, representations learnt through SSL are likely to be specialized to one particular dataset, and thus lack the ability to generalize well to other graphs (e.g., DBLP) of the same family (here, citation networks). Thus, state-of-the-art graph SSL entails individualized pre-training for every dataset of interest, and exhibits several drawbacks. First, each model learns a distinct set of parameters, independent of other similar datasets. Such a model does not leverage any shared parameters that could lead to learning universal features, nor does it exhibit the ability to exploit data from other datasets during training. This hampers generalizability of the resulting models, and as shown in this work, also the performance of SSL models on downstream
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
node classification tasks. Second, owing to the different node and edge feature dimensions of different datasets, models obtained with state-of-the-art SSL are not compatible with other datasets. As a result, with the availability of new datasets, it is imperative to build a new model from scratch, and one cannot leverage previously learnt representations to inform the training process and reduce the computational load. In other words, state-of-the-art SSL models do not exhibit adaptability. Finally, training a separate model for each dataset increases the computational cost of self-supervision. Furthermore, multiple models require proportionally more storage, adding to the cost of SSL. On the other hand, graphs belonging to the same family are known to exhibit universal patterns (Sharan et al., 2005; Wang & Barabási, 2021), and consequently, it is important to develop a combined learning framework to simultaneously learn from multiple graphs of a family, leading to a _foundation graph model_ .
|
| 22 |
+
|
| 23 |
+
Learning universal representations across graphs poses an important challenge of disparate node and edge features for different graphs. Specifically, node features of different graphs typically exhibit different dimensionality, and do not render themselves to straightforward comparison across graphs. Additionally, the features of different graphs can represent different quantities even if they are of the same dimensionality, hindering unified processing of these features. As a result, it is imperative for a universal SSL approach to be able to accommodate this diversity, and treat disparate node and edge features in a unified manner. Along similar lines, there has been an increased interest in developing models that can handle data of different modalities, and learn features from different sources of data, such as videos and text, through modular structures and carefully crafted embeddings (Gao et al., 2020; Akbari et al., 2021). These foundation multi-modal approaches transform multi-modal data into a common representation space to learn better and robust features. Such an approach has met with incredible success, with a host of different architectures and data processing pipelines developed in the recent years (Lu et al., 2022a;b; Wang et al., 2022; Xu et al., 2023), and is paving the way towards artificial general intelligence (Fei et al., 2022). Inspired by the success of these models, our work aims to investigate if a universal learning approach can be adopted to learn representations from multiple graphs with disparate features, and if the resulting models exhibit better performance in downstream tasks.
|
| 24 |
+
|
| 25 |
+
**Contributions:** In this work, we propose a generic framework that is rooted in universal representation learning capable of learning universal features from multiple graphs. We use a state-of-the-art graph transformer architecture to construct a universal model, and train it in an end-to-end manner with six benchmark citation networks. We explicitly address the challenges with SSL outlined above, and demonstrate the superiority of the resulting models over traditional approaches. Specifically, this work makes the following contributions:
|
| 26 |
+
|
| 27 |
+
1. Present a universal representation learning framework through self-supervision with multiple graphs (U-SSL). Our universal model consists of graph-specific parameters that accommodate the disparity of node features of different graphs, and universal parameters that learn representations generic to all graphs used during training. The model can be trained to learn both graph-specific and universal parameters in an end-to-end manner.
|
| 28 |
+
|
| 29 |
+
2. Present a graph transformer-based U-SSL model, and perform extensive experiments with five benchmark citation network datasets, demonstrating the superiority of the resulting models over those obtained with SSL. We also demonstrate that training universal models is computationally efficient compared to SSL.
|
| 30 |
+
|
| 31 |
+
3. Demonstrate scalability and adaptability of universal models with a large citation network dataset (OGBN-arxiv).
|
| 32 |
+
|
| 33 |
+
We achieve 1 to 8 points improvement in accuracy on downstream node classification for graphs of different sizes, 6% improvement in training time per epoch, while requiring only a fraction (0 _._ 40) of the number of parameters compared to SSL. The proposed U-SSL framework is aligned with the core features of foundation models, specifically, it learns across multiple graphs, exhibits properties such as unification, adaptability, and generalizability, and can serve several downstream tasks, resulting in foundation graph models.
|
| 34 |
+
|
| 35 |
+
## 2 RELATED WORK
|
| 36 |
+
|
| 37 |
+
**Graph neural networks and graph transformers** Graph neural networks have been extremely successful in learning representations from graph-structured data, and solving challenging problems in applications including neuroscience (Wein et al., 2021), medicine (Bongini et al., 2021), optimization
|
| 38 |
+
|
| 39 |
+
2
|
| 40 |
+
|
| 41 |
+
(Schuetz et al., 2022) and many more. Most GNN architectures can be broadly categorized as message passing networks, that operate in two stages, i.e., aggregation and combination, with different architectures performing these steps in different ways. One of the earliest GNNs generalized the convolution operation to graph-structured data, and proposed the Graph Convolutional Network (GCN) (Kipf & Welling, 2016). This was followed by an explosion of GNN models, such as GraphSAGE (Hamilton et al., 2017), Graph Attention Networks (GAT) (Veliˇckovi´c et al., 2018) and Graph Isomorphism Networks (GIN) (Xu et al., 2019) that crafted different aggregation and combination operations to capture different relationships in graphs. For instance, GAT uses an attention mechanism for aggregation to assign different weights to different nodes in a neighborhood, allowing the model to focus on the most relevant nodes for a given task, and obtain better performance than GCN that uses convolution for aggregation.
|
| 42 |
+
|
| 43 |
+
Message passing networks (MPNs) suffer from fundamental limitations, e.g., over-smoothing (Oono & Suzuki, 2020), over-squashing (Alon & Yahav, 2021) and expressive limits (Morris et al., 2019), that are addressed with graph transformers (Rampášek et al., 2022). GTs make use of positional or structural embeddings along with global attention mechanisms to learn both local and global features and thus address the limitations of MPNs (Rampášek et al., 2022). Several GT architectures have been proposed for homogeneous graphs (Yun et al., 2019; Kreuzer et al., 2021), heterogeneous graphs (Hu et al., 2020) and hyper-graphs (Kim et al., 2021). GTs, however, relatively require more training data and do not generalize well to unseen graphs Zhao et al. (2021); Chen et al. (2023b).
|
| 44 |
+
|
| 45 |
+
**Graph representation learning with self-supervision** SSL learns generic representations as opposed to task-specific representations in supervised learning. There are several SSL methods on graphs including Deep Graph Infomax Velickovic et al. (2019) and Auto-SSL Jin et al. (2022), as well as reviews Jin et al. (2022); Xie et al. (2022); Liu et al. (2022) that summarize the state-of-the-art. Graph SSL has been performed with contrastive as well as predictive learning tasks Xie et al. (2022). While the former aim to learn representations by distinguishing positive and negative samples, the latter seek to predict the values of masked or corrupted nodes or edges. For instance, Velickovic et al. (2019) adopt contrastive learning and maximize mutual information between local patches of a graph and the global graph representation to learn node representation. Rong et al. (2020) apply SSL to molecular graphs to learns representations by predicting masked nodes and edges. There are several SSL tasks such as node attribute masking, graph structure prediction, and graph context prediction, which can be used to learn representations in a self-supervised manner.
|
| 46 |
+
|
| 47 |
+
The majority of graph self-supervision is performed with one graph and one SSL task. Jin et al. (2022) proposed a mechanism to automate self-supervision with multiple tasks, by adaptively weighing the losses of different tasks during training. Their framework, named Auto-SSL, extended SSL to include multiple tasks during training. However, all SOTA graph SSL methods use only one graph/dataset to learn representations prior to downstream task learning. We address this gap, and a framework to learn universal representations across different graphs – of a certain family.
|
| 48 |
+
|
| 49 |
+
## 3 LEARNING UNIVERSAL FEATURES WITH GRAPH SELF-SUPERVISION
|
| 50 |
+
|
| 51 |
+
In this section, we describe the problem formulation and our hypothesis on improving graph representation learning, followed by the construction of different components of the universal self-supervision (U-SSL) model.
|
| 52 |
+
|
| 53 |
+
## 3.1 PROBLEM FORMULATION AND HYPOTHESIS
|
| 54 |
+
|
| 55 |
+
We consider _N_ graphs _{Gi}[N] i_ =1[, with each graph represented as a tuple of nodes] _[ V][i]_[and edges] _[ E][i]_[,] _Gi_ = ( _Vi, Ei_ ) such that _|Vi|_ = _Ni_ and _Ei ⊆Vi × Vi_ . Let **Ai** _∈{_ 0 _,_ 1 _}[N][i][×][N][i]_ and **Xi** _∈_ R _[N][i][×][D][i]_ represent the adjacency matrix and node feature matrix of _Gi_ , respectively. Let _LSSL,i_ denote the pretext task loss for graph _Gi_ . We then provide the definition of SSL, as studied in the current literature as:
|
| 56 |
+
|
| 57 |
+
**Definition 1.** _For graph Gi, the problem of self supervised learning is to learn an encoder fi_ ( **Xi** _,_ **Ai** ; **Θi** ) _by minimizing the loss LSSL,i such that the learnt representations can be used to solve downstream learning tasks for Gi._
|
| 58 |
+
|
| 59 |
+
3
|
| 60 |
+
|
| 61 |
+
We extend this definition to the problem of learning universal features with self-supervision (U-SSL) as follows:
|
| 62 |
+
|
| 63 |
+
**Definition 2.** _For graphs {Gi}, the problem of universal self-supervision is to learn an encoder f_ ( _{_ **Xi** _}, {_ **Ai** _}_ ; _{_ **Θi** _},_ **Φ** ) _by minimizing the loss_[�] _[N] i_ =1 _[L][SSL,i][ such that the learnt features can be] used to solve downstream tasks for {Gi}._
|
| 64 |
+
|
| 65 |
+
The U-SSL model can take as input, disparate features from different graphs, and learn universal features that are common to all the datasets, thereby generalizing well to these datasets, and potentially also to other similar datasets. We note that different graphs have different node feature sizes, i.e., in general, _Di_ = _Dj_ for _i_ = _j_ . This necessitates that there be parts of the encoder _f_ dedicated to different graphs, with graph-specific parameters **Θi** , in addition to the universal parameters **Φ** .
|
| 66 |
+
|
| 67 |
+
Let us denote the representations learnt for graph _Gi_ with SSL as **H[s] i**[, and those learnt with U-SSL as] **H[u] i**[, i.e.,]
|
| 68 |
+
|
| 69 |
+
**==> picture [259 x 25] intentionally omitted <==**
|
| 70 |
+
|
| 71 |
+
Our hypothesis is that U-SSL can learn representations that are better than those learnt with SSL, in terms of solving a downstream task, e.g., node classification, for graphs _{Gi}[N] i_ =1[.][Let us denote the] downstream task head for graph _Gi_ as _hi_ ( _·_ ; **Ψi** ), and let _M_ be a metric such that higher values of _M_ represent better performing models. Then, our hypothesis can be formally stated as:
|
| 72 |
+
|
| 73 |
+
_H_ : _M_ ( _hi_ ( **H[u] i**[;] **[ Ψ][u] i**[))] _[ >][ M]_[ (] _[h][i]_[ (] **[H][s] i**[;] **[ Ψ][s] i**[))] _[ .]_ (3)
|
| 74 |
+
|
| 75 |
+
Here, the superscripts in **Ψi** signify that the parameters learnt during fine-tuning of SSL and U-SSL models will be different for the same downstream task head _hi_ .
|
| 76 |
+
|
| 77 |
+
In formulating our hypothesis, we view a graph _Gi_ as being an instance of some underlying real-life phenomenon. For instance, CoraFull, DBLP, Citeseer, etc. are different instances of the same underlying real-life phenomenon, i.e., citation among research articles. Learning representations with SSL allows one to extract patterns from only one instance of the underlying phenomenon, while U-SSL allows learning from multiple instances, and hence, observing the underlying phenomenon through multiple lenses. As a result, U-SSL allows learning representations that are fundamental to the underlying mechanism, and is not restricted to the patterns observed in one instance. This can lead to learning more generic features, and hence better downstream performance with U-SSL.
|
| 78 |
+
|
| 79 |
+
## 3.2 GRAPH-SPECIFIC ENCODER
|
| 80 |
+
|
| 81 |
+
The core idea of U-SSL is to learn representations that are generalizable across multiple graphs. This entails processing node features from different graphs in a unified pipeline. However, node (and edge) features of different graphs are obtained with different algorithms, and are typically disparate, i.e., (a) they do not have the same dimensionality, and (b) the entries of feature vectors can bear different meanings for different graphs, even if they have the same dimensionality. It is thus imperative to first homogenize the node (and edge) features of different graphs from their original disparate spaces (of dimension _Di_ ) to a common space (of dimension _D_ ) for processing by the rest of the model. We therefore need graph-specific encoders, represented as _gi_ ( _·_ ; **Θi** ) for graph _Gi_ . The encoder _gi_ can be any neural network module, e.g., GCN layers, linear layers, etc. that transforms the feature vectors into R _[D]_ , and can additionally involve pre-processing steps such as node feature augmentation to enrich the feature vectors. In our proposed framework, we include feature augmentation ( _FA_ ) followed by feature transformation ( _FT_ ), that transform the node features **Xi** _∈_ R _[N][i][×][D][i]_ to **X**[˜] **i** _∈_ R _[N][i][×] D_[ ˜] _i_ to **Zi** _∈_ R _Ni×D_ :
|
| 82 |
+
|
| 83 |
+
**==> picture [277 x 48] intentionally omitted <==**
|
| 84 |
+
|
| 85 |
+
In general, the functions _gi_ , _FA_ and _FT_ also take the adjacency matrix **Ai** as input, which is omitted here for brevity. The output of the graph-specific encoders **Zi** represents the graph-specific homogenized features that exist in R _[D]_ , _∀Gi_ and whose individual entries represent the same quantity across all graphs. In an _N_ -graph application, the U-SSL model will be constructed with _N_ different graph-specific encoders, as shown in Fig. 1.
|
| 86 |
+
|
| 87 |
+
4
|
| 88 |
+
|
| 89 |
+
**==> picture [397 x 117] intentionally omitted <==**
|
| 90 |
+
|
| 91 |
+
(a) Model architecture for universal self-supervision
|
| 92 |
+
|
| 93 |
+
**==> picture [179 x 69] intentionally omitted <==**
|
| 94 |
+
|
| 95 |
+
**==> picture [179 x 100] intentionally omitted <==**
|
| 96 |
+
|
| 97 |
+
**==> picture [243 x 9] intentionally omitted <==**
|
| 98 |
+
|
| 99 |
+
**----- Start of picture text -----**<br>
|
| 100 |
+
(b) Pre-training (c) Fine-tuning<br>**----- End of picture text -----**<br>
|
| 101 |
+
|
| 102 |
+
Figure 1: Universal Self-supervised Learning (U-SSL) across graphs. (a) Model architecture for U-SSL with graph-specific ( **Θi** ) and universal ( **Φ** ) parameters. (b) U-SSL pre-training with two graphs, _G_ 1 and _G_ 2 for two tasks with parameters **Γ1** and **Γ2** . (c) Downstream task learning for individual graphs. Hatched boxes represent frozen parameters ( **Θi** _,_ **Φ** ), and shaded boxes represent learnable parameters ( **Ψi** ).
|
| 103 |
+
|
| 104 |
+
## 3.3 UNIVERSAL REPRESENTATION LEARNING MODULE
|
| 105 |
+
|
| 106 |
+
The universal representation learning (URL) module aims to learn features that are generic to all _N_ graphs used during pre-training, and thus capture patterns that are fundamental to the underlying process. It takes in the homogenized node features **Zi** from all graphs, and learns the graph-specific universal features, denoted as **H[u] i**[for graph] _[ G][i]_[.][The URL module, denoted as] _[ g]_[(] _[·][,]_ **[ Φ]**[)][ for all graphs] _{Gi}_ can be any neural network module, e.g., GNN layers or GT blocks, and can be expressed as:
|
| 107 |
+
|
| 108 |
+
**==> picture [257 x 11] intentionally omitted <==**
|
| 109 |
+
|
| 110 |
+
These features are graph-specific since they are obtained from the homogenized node features of a particular graph, and at the same time universal, because they are learnt by minimizing the collective loss accrued for all graphs. A U-SSL model for _N_ graphs is thus constructed with _N_ graph-specific encoders and one universal representation module, as shown in Fig. 1(a). This modular nature of the model architecture allows adding as many graph-specific encoders as desired, and simultaneously processing disparate node features, thus facilitating end-to-end training of the model. In addition, this modular nature renders adaptability to the model, wherein a new graph-specific encoder can be introduced to the model without having to alter the rest of the model structure, and re-train, or continue training with the new dataset.
|
| 111 |
+
|
| 112 |
+
## 3.4 PRE-TRAINING AND FINE-TUNING U-SSL MODELS
|
| 113 |
+
|
| 114 |
+
Pre-training models with SSL involves selecting one or more pre-training task (also referred to in the literature as pretext tasks), typically depending on the type of downstream task, and appending a model with heads to learn the different tasks. Pre-training of U-SSL models is also performed in a similar vein, i.e., by using the U-SSL model with _N_ graph-specific modules, one universal representation module and one or more task-specific heads. Let **Γ** represent the task-specific head parameters for a pretext task and _LSSL,i_ represent the loss for _i[th]_ graph. Then, the total loss for _N_
|
| 115 |
+
|
| 116 |
+
5
|
| 117 |
+
|
| 118 |
+
graphs can be expressed as:
|
| 119 |
+
|
| 120 |
+
**==> picture [284 x 30] intentionally omitted <==**
|
| 121 |
+
|
| 122 |
+
The total loss _LUSSL_ is used to simultaneously learn the parameters _{_ **Θi** _}_ , **Φ** and **Γ** in an end-to end manner. The U-SSL loss can also be generalised to any number of tasks, which is presented in Appendix 8.2. At the time of downstream task learning, new heads are appended to the model, parameterized in **Ψi** , which are learnt separately for each graph by keeping the learnt parameters _{_ **Θi** _}_ , and **Φ** unchanged. The pre-training and fine-tuning of U-SSL models are depicted in Fig. 1(b) and 1(c), respectively.
|
| 123 |
+
|
| 124 |
+
## 3.5 GRAPH TRANSFORMER-BASED U-SSL MODEL
|
| 125 |
+
|
| 126 |
+
In this work, we construct a U-SSL model that learns universal representations with citation network datasets. We use linear layers as graph-specific encoders, and a powerful graph transformer, i.e., neighbourhood aggregation graph transformer (NAGphormer) (Chen et al., 2023a) as the URL module. NAGphormer is a powerful SOTA graph transformer that leverages position embedding and local neighbourhood-based feature aggregation to tokenize nodes in a graph (Chen et al., 2023a). This approach, referred to a Hop2Token allows encoding both local information and position information in the tokens, which are then used by a tandem of transformer blocks to learn node classification tasks. The NAGphormer has been shown to unanimously outperform SOTA GNNs and GTs for node classification on small-scale and large-scale graphs (Chen et al., 2023a). We construct the URL module of our U-SSL model with multiple transformer encoder layers, followed by an attention-based readout layer employed in NAGphormer. However, unlike NAGphormer, we do not use a multi-layer perceptron module after the attention-based readout, and consider the outputs of the readout as final representations learnt by the model.
|
| 127 |
+
|
| 128 |
+
## 4 EXPERIMENTS
|
| 129 |
+
|
| 130 |
+
**Experimental setup** We consider the downstream task of node classification in citation network datasets. We consider 6 benchmark graphs: CoraFull, Cora-ML, DBLP, Citeseer, PubMed and OGBN-arxiv in our study. Our universal model is inspired from NAGphormer, so the URL module (parameterized in **Φ** ) is constructed with the transformer encoder used in NAGphormer. The URL module has 4 encoder layers with embedding dimension of 256 and 8 attention heads in each layer. The final encoder layer is followed by an attention-based readout, as used in NAGphormer. We employ Laplacian position embedding of the nodes (of size 15) to additionally augment node features with structural information ( _FA_ ), and obtain the augmented node features of dimension _D_[˜] _i_ = _Di_ +15 for graph _D_ ˜ _i_ to 256 _G_ for graph _i_ . This is followed by a linear projection ( _Gi_ , which constitute the learnable parameters _FT_ ) from the augmented node feature dimension **Θi** of the graph-specific encoders. Although the proposed framework can work with multiple pretext tasks, we consider only one task in this study. Thus, we construct the universal self-supervised model with 1 universal learning module and 1 task-specific module.
|
| 131 |
+
|
| 132 |
+
The choice of the self-supervision task in our study is guided by the downstream task. Since we are interested in learning features for node classification, we use the pair-wise attribute similarity ( **PairSim** ) self-supervision task in our study. This task learns an encoder to differentiate between similar and dissimilar nodes, posed as a two-class classification problem. We use one fully connected layer to learn this task. We demonstrate the superiority of the features learnt with U-SSL by evaluating and comparing the performance of models obtained with SSL, U-SSL and supervised learning on node classification for all the graphs. We further train 10 instances of these models for the downstream task to account uncertainty and report the mean and standard deviation of classification accuracy for each experiment. The implementation details are provided in Appendix 8.4.
|
| 133 |
+
|
| 134 |
+
**Results** We present the advantages of U-SSL over SSL and supervised learning in terms of four aspects: (i) _efficacy_ , i.e., improvement in performance compared to SSL, which enables bridging the gap between supervised and self-supervised performance, (ii) _efficiency_ , i.e., reduction in training time compared to SSL, (iii) _scalability_ , i.e., delivering efficacy and efficiency for larger datasets, and
|
| 135 |
+
|
| 136 |
+
6
|
| 137 |
+
|
| 138 |
+
Table 1: Node classification accuracy of supervised baseline, SSL and U-SSL models. Entries in boldface represent best performance out of SSL and U-SSL. Underlined entries represent U-SSL models that match supervised baseline performance.
|
| 139 |
+
|
| 140 |
+
|supervised baselineperformance.||
|
| 141 |
+
|---|---|
|
| 142 |
+
|Dataset<br>Baseline<br>SSL|U-SSL|
|
| 143 |
+
|CoraFull<br>0_._70_±_0_._007<br>0_._59_±_0_._003<br>Cora-ML<br>0_._87_±_0_._004<br>0_._80_±_0_._002<br>DBLP<br>0_._83_±_0_._008<br>0_._79_±_0_._001<br>Citeseer<br>0_._94_±_0_._003<br>0_._83_±_0_._001<br>PubMed<br>0_._87_±_0_._008<br>0_._85_±_0_._002|**0**_._**60**_±_0_._003<br>**0**_._**84**_±_0_._001<br>**0**_._**83**<br>_±_0_._001<br>**0**_._**86**_±_0_._002<br>**0**_._**87**<br>_±_0_._001|
|
| 144 |
+
|
| 145 |
+
Table 2: Training time per epoch in seconds for self-supervision and downstream task learning.
|
| 146 |
+
|
| 147 |
+
|Dataset|self-supervision<br>Node classifcation|
|
| 148 |
+
|---|---|
|
| 149 |
+
||SSL<br>U-SSL<br>Fine-tuning<br>Supervised baseline|
|
| 150 |
+
|CoraFull<br>Cora-ML<br>DBLP<br>Citeseer<br>Pubmed|0_._294<br>�<br>0_._029<br>0_._119<br>0_._046<br>0_._004<br>0_._020<br>0_._143<br>0_._609<br>0_._022<br>0_._101<br>0_._046<br>�<br>0_._005<br>0_._026<br>0_._134<br>0_._025<br>0_._111|
|
| 151 |
+
|
| 152 |
+
(iv) _adaptability_ , i.e., the ability to leverage representations learnt through U-SSL on a set of datasets, to learn downstream tasks on new datasets.
|
| 153 |
+
|
| 154 |
+
_Efficacy:_ The node classification accuracy of supervised baseline, SSL and U-SSL models for CoraFull, Cora-ML, DBLP, Citeseer and PubMed is listed in Table 1. The models obtained with U-SSL outperform the corresponding SSL models, delivering between 1% and 4% improvement in mean accuracy for these datasets. Specifically, U-SSL provides a performance gain of 1% for CoraFull, 2% for PubMed, 3% for Citeseer, and 4% for CoraML and DBLP datasets. We note that CoraFull has a large number of classes (70) as well as a large number of nodes (19 _,_ 793), resulting in a more difficult classification task. Nevertheless, the U-SSL model still produces 1% improvement in accuracy of classification for this dataset. Further, the U-SSL model matches the supervised performance for DBLP and PubMed datasets, clearly demonstrating the advantage of U-SSL over SSL. These results support our hypothesis, and demonstrate that _there is more to graphs than can be learnt with plain SSL, and learning universal representations across graphs with U-SSL can bridge the gap between supervised and self-supervised performance._ In addition, we note that the total number of parameters for the five SSL models ( _{_ **Θi** _}_ , **Φ** ) is 14 _,_ 390 _,_ 650, which is 2 _._ 46 times 5 _,_ 831 _,_ 29 parameters for the U-SSL model trained with the five datasets.We also observe similar results with co-purchase datasets (see Appendix 8.5). However, including graphs from multiple families does not provide a consistent improvement in performance for all graphs (see Appendix 8.6). This also supports our hypothesis that the underlying similarities between graphs of a family can lead to improvement in performance.
|
| 155 |
+
|
| 156 |
+
_Efficiency:_ We observe that the number of epochs for convergence of SSL and U-SSL models at the time of pre-training are comparable for all datasets (see Appendix 8.7). We therefore report the efficiency in terms of training time per epoch, which are reported in Table 2 for self-supervision and downstream task learning for SSL, U-SSL and supervised models. The time per epoch for building 5 SSL models is 0 _._ 663 seconds, which is greater than the time per epoch for building one U-SSL model, i.e., 0 _._ 609 seconds for all five datasets. Thus, _U-SSL provides an efficient framework for self-supervised graph representation learning across multiple datasets._
|
| 157 |
+
|
| 158 |
+
_Scalability:_ We study the scalability of the U-SSL framework to graphs of larger size, specifically OGBN-arxiv. We add this dataset to the previous five datasets, and train the model with 6 datasets. The supervised baseline model achieves an accuracy of 0 _._ 61 _±_ 0 _._ 007, while the SSL model provides an accuracy of 0 _._ 46 _±_ 0 _._ 003 for the OGBN-arxiv dataset. The U-SSL model achieves an accuracy of 0 _._ 54 _±_ 0 _._ 002, delivering an improvement of 8% in classification accuracy compared to the SSL model. This is a significant gain in performance for a dataset that is much larger than the graphs
|
| 159 |
+
|
| 160 |
+
7
|
| 161 |
+
|
| 162 |
+
Table 3: Ablation results with respect to transformer embedding size. Entries in boldface represent best performance.
|
| 163 |
+
|
| 164 |
+
|Dataset|Transformer embeddingsize|
|
| 165 |
+
|---|---|
|
| 166 |
+
||256<br>128<br>64|
|
| 167 |
+
|CoraFull<br>Cora-ML<br>DBLP<br>Citeseer<br>PubMed|**0**_._**60**_±_0_._003<br>0_._56_±_0_._002<br>0_._52_±_0_._002<br>**0**_._**84**_±_0_._001<br>0_._77_±_0_._003<br>0_._78_±_0_._002<br>**0**_._**83**_±_0_._001<br>0_._81_±_0_._002<br>0_._80_±_0_._001<br>**0**_._**86**_±_0_._002<br>0_._82_±_0_._002<br>0_._77_±_0_._001<br>**0**_._**87**_±_0_._001<br>0_._85_±_0_._001<br>0_._84_±_0_._007|
|
| 168 |
+
|
| 169 |
+
reported in Table 1. This demonstrates that _learning universal representations scales well to graphs of larger size._
|
| 170 |
+
|
| 171 |
+
_Adaptability:_ Finally, we study the adaptability of the U-SSL framework to new datasets, by examining if the representations learnt from a set of datasets can be used to solve the downstream task for a new dataset. Here, we start with the model obtained with U-SSL of the five previous datasets that has 5 graph-specific modules _{_ **Θi** _}_ , _i ∈_ [1 _,_ 5]. We leverage the modular nature of the U-SSL models, and introduce a new graph-specific module **Θ6** dedicated to the new graph, keeping the universal representation learning module **Φ** unchanged. We perform self-supervision with the new dataset and learn only **Θ6** , in effect projecting the node features of the new dataset to the universal representation space in a self-supervised manner. We perform this experiment with OGBN-arxiv as the new dataset, and find that the adapted model achieves a classification accuracy of 0 _._ 538 _±_ 0 _._ 002. We observe that this performance is comparable to that of the U-SSL model trained with six datasets discussed the previous section, demonstrating the adaptability of U-SSL models. Thus, one can train a U-SSL model with a set of benchmark datasets, and then simply learn a graph-specific module for a new dataset to achieve comparable performance. This prevents repetitive self-supervised learning with U-SSL for new graphs as they are made available, and is a remarkable feature of the framework that _enables re-use of the learnt representations, thereby reducing the computational cost of building universal models._
|
| 172 |
+
|
| 173 |
+
**Ablation** The ablation study of the universal model with respect to the dimension of transformer embedding is reported in Table 3. The performance of the model consistently decreases with smaller embedding dimension for all datasets. The results of ablation with respect to the transformer depth are reported in Table 4. Contrary to Table 3, we observe that the performance of the model does not necessarily increase with greater depth of the URL module. In fact, for all datasets except CoraFull, increasing the depth of the URL module from 4 to 6 results in poorer performing model. This suggests that the expressive power, and hence performance of the models is more reliant on having high-dimensional embeddings than a deep URL module.
|
| 174 |
+
|
| 175 |
+
Finally, we study the ablation of the U-SSL model with respect to the architecture of URL module. We use three GCN, GraphSAGE and GAT layers to construct URL modules, and obtain three different U-SSL models. We compare the performance of the U-SSL models with these architectures and report the results in Table 5. The quantities in parentheses represent the improvement in performance of U-SSL models with respect to SSL models. We observe that the GCN model does not provide any improvement in accuracy for four out of five datasets, and provides an improvement of 3% for PubMed. On the other hand, GraphSAGE provides improvements of 1% each for CoraML and Citeseer datasets, while exhibiting 2% fall in performance for DBLP. The NAGphormer-based U-SSL model provides consistent improvement in performance for all datasets, and also outperforms the GNN-based models for majority of the datasets. Thus, the transformer-based U-SSL model provides a better modeling approach to learn universal representations across graphs.
|
| 176 |
+
|
| 177 |
+
## 5 PERSPECTIVE
|
| 178 |
+
|
| 179 |
+
**Limitations and future work** The current work demonstrates the advantage of U-SSL by incorporating multiple graphs during self-supervision. However, only one pretext task, i.e., pairwise attribute similarity and one downstream task, i.e., node classification have been studied. It has been shown that including multiple pretext tasks can boost downstream performance Jin et al. (2022). We present
|
| 180 |
+
|
| 181 |
+
8
|
| 182 |
+
|
| 183 |
+
Table 4: Ablation results with respect to transformer depth. Entries in boldface represent best performance.
|
| 184 |
+
|
| 185 |
+
|Dataset|Transformer depth|
|
| 186 |
+
|---|---|
|
| 187 |
+
||2<br>4<br>6|
|
| 188 |
+
|CoraFull<br>Cora-ML<br>DBLP<br>Citeseer<br>PubMed|0_._61_±_0_._002<br>0_._60_±_0_._003<br>**0**_._**77**_±_0_._001<br>0_._83_±_0_._003<br>**0**_._**84**_±_0_._001<br>0_._82_±_0_._003<br>**0**_._**83**_±_0_._002<br>**0**_._**83**_±_0_._001<br>0_._80_±_0_._003<br>0_._85_±_0_._003<br>**0**_._**86**_±_0_._002<br>0_._82_±_0_._002<br>0_._86_±_0_._001<br>**0**_._**87**_±_0_._001<br>0_._85_±_0_._001|
|
| 189 |
+
|
| 190 |
+
Table 5: Ablation results with respect to architecture of universal representation learning module. Entries in parentheses represent the improvement compared to SSL models. Entries in boldface represent best performance.
|
| 191 |
+
|
| 192 |
+
|Dataset|URL architecture|
|
| 193 |
+
|---|---|
|
| 194 |
+
||NAGphormer<br>GCN<br>GraphSAGE<br>GAT|
|
| 195 |
+
|CoraFull<br>Cora-ML<br>DBLP<br>Citeseer<br>PubMed|**0**_._**60**_±_0_._003(0_._01)<br>0_._60_±_0_._004(_−_0_._006)<br>0_._55_±_0_._004(_−_0_._001)<br>0_._45_±_0_._003(_−_0_._161)<br>0_._84_±_0_._001(0_._04)<br>**0**_._**86**_±_0_._002(_−_0_._005)<br>0_._82_±_0_._004(0_._01)<br>0_._74_±_0_._002(_−_0_._107)<br>**0**_._**83**_±_0_._001(0_._04)<br>0_._80_±_0_._002(_−_0_._008)<br>0_._81_±_0_._002(_−_0_._02)<br>0_._79_±_0_._002(_−_0_._034)<br>**0**_._**86**_±_0_._002(0_._03)<br>0_._85_±_0_._002(0_._0001)<br>0_._84_±_0_._002(0_._01)<br>0_._81_±_0_._003(_−_0_._039)<br>**0**_._**87**_±_0_._001(0_._02)<br>0_._86_±_0_._002(0_._03)<br>0_._83_±_0_._002(_−_0_._005)<br>0_._84_±_0_._002(_−_0_._006)|
|
| 196 |
+
|
| 197 |
+
preliminary results of performing U-SSL with two pretext tasks and node classification downstream task in Appendix 8.8, and plan to conduct a more exhaustive study with multiple pretext and downstream tasks, e.g., link prediction and graph classification in the future. The impact of different types of position embeddings and transformer architectures can further be investigated to identify specific embedding strategies that boost performance. The datasets considered here are homogeneous graphs, and the proposed framework can further be extended to heterogeneous graphs to investigate the generalizability of the approach. Finally, the current framework unifies representation learning across graphs, but still needs multiple pretext task heads during pre-training. Future work can be directed to address this, and unify learning across tasks via sequencing output predictions.
|
| 198 |
+
|
| 199 |
+
**Broader impact** Current research in representation learning is advancing the field towards artificial general intelligence, with foundation models and multi-modal training being major developments in this direction. These models learn representations from different types of data sources, e.g., images, videos and text, that are generalizable across multiple datasets, and at times, across multiple tasks. This work is aligned along these lines, and proposes a framework to build graph foundation models, and learn universal features from multiple graphs.
|
| 200 |
+
|
| 201 |
+
## 6 CONCLUSION
|
| 202 |
+
|
| 203 |
+
This work studies the problem of learning universal features across graphs of a family through self-supervision. We present a novel universal SSL framework that constructs foundation model with multiple graph-specific encoders and one universal representation learning module. Specifically, we employ graph-specific encoders to homogenize disparate features from multiple graphs, and the universal module to learn generic representations from the homogenized features. We construct one U-SSL model with a state-of-the-art graph transformer, and with extensive experiments, show that the proposed framework provides an efficacious, efficient, scalable and adaptable approach to learn universal representations from graphs.
|
| 204 |
+
|
| 205 |
+
## 7 REPRODUCIBILITY STATEMENT
|
| 206 |
+
|
| 207 |
+
The authors plan to make their GitHub repository public after the review process to ensure reproducibility of the results.
|
| 208 |
+
|
| 209 |
+
9
|
| 210 |
+
|
| 211 |
+
## REFERENCES
|
| 212 |
+
|
| 213 |
+
Hassan Akbari, Liangzhe Yuan, Rui Qian, Wei-Hong Chuang, Shih-Fu Chang, Yin Cui, and Boqing Gong. Vatt: Transformers for multimodal self-supervised learning from raw video, audio and text. _Advances in Neural Information Processing Systems_ , 34:24206–24221, 2021.
|
| 214 |
+
|
| 215 |
+
- Uri Alon and Eran Yahav. On the bottleneck of graph neural networks and its practical implications. In _International Conference on Learning Representations_ , 2021. URL [URL removed] net/forum?id=i80OPhOCVH2.
|
| 216 |
+
|
| 217 |
+
- Jinheon Baek, Dong Bok Lee, and Sung Ju Hwang. Learning to extrapolate knowledge: Transductive few-shot out-of-graph link prediction. _Advances in Neural Information Processing Systems_ , 33: 546–560, 2020.
|
| 218 |
+
|
| 219 |
+
- Randall Balestriero, Mark Ibrahim, Vlad Sobal, Ari Morcos, Shashank Shekhar, Tom Goldstein, Florian Bordes, Adrien Bardes, Gregoire Mialon, Yuandong Tian, et al. A cookbook of selfsupervised learning. _arXiv preprint arXiv:2304.12210_ , 2023.
|
| 220 |
+
|
| 221 |
+
- Pietro Bongini, Monica Bianchini, and Franco Scarselli. Molecular generative graph neural networks for drug discovery. _Neurocomputing_ , 450:242–252, 2021.
|
| 222 |
+
|
| 223 |
+
- Jinsong Chen, Kaiyuan Gao, Gaichao Li, and Kun He. NAGphormer: A tokenized graph transformer for node classification in large graphs. In _The Eleventh International Conference on Learning Representations_ , 2023a. URL [URL removed]
|
| 224 |
+
|
| 225 |
+
- Jinsong Chen, Chang Liu, Kaiyuan Gao, Gaichao Li, and Kun He. Tokenized graph transformer with neighborhood augmentation for node classification in large graphs. _arXiv preprint arXiv:2305.12677_ , 2023b.
|
| 226 |
+
|
| 227 |
+
- 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.
|
| 228 |
+
|
| 229 |
+
- Nanyi Fei, Zhiwu Lu, Yizhao Gao, Guoxing Yang, Yuqi Huo, Jingyuan Wen, Haoyu Lu, Ruihua Song, Xin Gao, Tao Xiang, et al. Towards artificial general intelligence via a multimodal foundation model. _Nature Communications_ , 13(1):3094, 2022.
|
| 230 |
+
|
| 231 |
+
- Difei Gao, Ke Li, Ruiping Wang, Shiguang Shan, and Xilin Chen. Multi-modal graph neural network for joint reasoning on vision and scene text. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 12746–12756, 2020.
|
| 232 |
+
|
| 233 |
+
- Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. _Advances in neural information processing systems_ , 30, 2017.
|
| 234 |
+
|
| 235 |
+
- Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked autoencoders are scalable vision learners. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 16000–16009, 2022.
|
| 236 |
+
|
| 237 |
+
- Ziniu Hu, Yuxiao Dong, Kuansan Wang, and Yizhou Sun. Heterogeneous graph transformer. In _Proceedings of the web conference 2020_ , pp. 2704–2710, 2020.
|
| 238 |
+
|
| 239 |
+
- Wei Jin, Tyler Derr, Haochen Liu, Yiqi Wang, Suhang Wang, Zitao Liu, and Jiliang Tang. Selfsupervised learning on graphs: Deep insights and new direction. _arXiv preprint arXiv:2006.10141_ , 2020.
|
| 240 |
+
|
| 241 |
+
- Wei Jin, Xiaorui Liu, Xiangyu Zhao, Yao Ma, Neil Shah, and Jiliang Tang. Automated selfsupervised learning for graphs. In _International Conference on Learning Representations_ , 2022. URL [URL removed]
|
| 242 |
+
|
| 243 |
+
- Jinwoo Kim, Saeyoon Oh, and Seunghoon Hong. Transformers generalize deepsets and can be extended to graphs & hypergraphs. _Advances in Neural Information Processing Systems_ , 34: 28016–28028, 2021.
|
| 244 |
+
|
| 245 |
+
- Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. _arXiv preprint arXiv:1609.02907_ , 2016.
|
| 246 |
+
|
| 247 |
+
10
|
| 248 |
+
|
| 249 |
+
- Alexander Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 1920–1929, 2019.
|
| 250 |
+
|
| 251 |
+
- Devin Kreuzer, Dominique Beaini, Will Hamilton, Vincent Létourneau, and Prudencio Tossou. Rethinking graph transformers with spectral attention. _Advances in Neural Information Processing Systems_ , 34:21618–21629, 2021.
|
| 252 |
+
|
| 253 |
+
- Yilun Liu, Ruihong Qiu, and Zi Huang. Cat: Balanced continual graph learning with graph condensation. _arXiv preprint arXiv:2309.09455_ , 2023.
|
| 254 |
+
|
| 255 |
+
- Yixin Liu, Ming Jin, Shirui Pan, Chuan Zhou, Yu Zheng, Feng Xia, and S Yu Philip. Graph selfsupervised learning: A survey. _IEEE Transactions on Knowledge and Data Engineering_ , 35(6): 5879–5900, 2022.
|
| 256 |
+
|
| 257 |
+
- Haoyu Lu, Qiongyi Zhou, Nanyi Fei, Zhiwu Lu, Mingyu Ding, Jingyuan Wen, Changde Du, Xin Zhao, Hao Sun, Huiguang He, et al. Multimodal foundation models are better simulators of the human brain. _arXiv preprint arXiv:2208.08263_ , 2022a.
|
| 258 |
+
|
| 259 |
+
- Jiasen Lu, Christopher Clark, Rowan Zellers, Roozbeh Mottaghi, and Aniruddha Kembhavi. Unifiedio: A unified model for vision, language, and multi-modal tasks. _arXiv preprint arXiv:2206.08916_ , 2022b.
|
| 260 |
+
|
| 261 |
+
- 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 artificial intelligence_ , volume 33, pp. 4602–4609, 2019.
|
| 262 |
+
|
| 263 |
+
- Giulia Muzio, Leslie O’Bray, and Karsten Borgwardt. Biological network analysis with deep learning. _Briefings in bioinformatics_ , 22(2):1515–1530, 2021.
|
| 264 |
+
|
| 265 |
+
- Kenta Oono and Taiji Suzuki. Graph neural networks exponentially lose expressive power for node classification. In _International Conference on Learning Representations_ , 2020. URL [URL removed]
|
| 266 |
+
|
| 267 |
+
- Ladislav Rampášek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu, Guy Wolf, and Dominique Beaini. Recipe for a general, powerful, scalable graph transformer. _Advances in Neural Information Processing Systems_ , 35:14501–14515, 2022.
|
| 268 |
+
|
| 269 |
+
- Yu Rong, Yatao Bian, Tingyang Xu, Weiyang Xie, Ying Wei, Wenbing Huang, and Junzhou Huang. Self-supervised graph transformer on large-scale molecular data. _Advances in Neural Information Processing Systems_ , 33:12559–12571, 2020.
|
| 270 |
+
|
| 271 |
+
- Martin JA Schuetz, J Kyle Brubaker, and Helmut G Katzgraber. Combinatorial optimization with physics-inspired graph neural networks. _Nature Machine Intelligence_ , 4(4):367–377, 2022.
|
| 272 |
+
|
| 273 |
+
- Roded Sharan, Silpa Suthram, Ryan M Kelley, Tanja Kuhn, Scott McCuine, Peter Uetz, Taylor Sittler, Richard M Karp, and Trey Ideker. Conserved patterns of protein interaction in multiple species. _Proceedings of the National Academy of Sciences_ , 102(6):1974–1979, 2005.
|
| 274 |
+
|
| 275 |
+
- Petar Velickovic, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon Hjelm. Deep graph infomax. _ICLR (Poster)_ , 2(3):4, 2019.
|
| 276 |
+
|
| 277 |
+
- Petar Veliˇckovi´c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In _International Conference on Learning Representations_ , 2018. URL [URL removed]
|
| 278 |
+
|
| 279 |
+
- Dashun Wang and Albert-László Barabási. _The science of science_ . Cambridge University Press, 2021.
|
| 280 |
+
|
| 281 |
+
- Peng Wang, An Yang, Rui Men, Junyang Lin, Shuai Bai, Zhikang Li, Jianxin Ma, Chang Zhou, Jingren Zhou, and Hongxia Yang. Ofa: Unifying architectures, tasks, and modalities through a simple sequence-to-sequence learning framework. In _International Conference on Machine Learning_ , pp. 23318–23340. PMLR, 2022.
|
| 282 |
+
|
| 283 |
+
11
|
| 284 |
+
|
| 285 |
+
Simon Wein, Wilhelm M Malloni, Ana Maria Tomé, Sebastian M Frank, G-I Henze, Stefan Wüst, Mark W Greenlee, and Elmar W Lang. A graph neural network framework for causal inference in brain networks. _Scientific reports_ , 11(1):8061, 2021.
|
| 286 |
+
|
| 287 |
+
- Jiancan Wu, Xiang Wang, Fuli Feng, Xiangnan He, Liang Chen, Jianxun Lian, and Xing Xie. Selfsupervised graph learning for recommendation. In _Proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval_ , pp. 726–735, 2021.
|
| 288 |
+
|
| 289 |
+
- Qitian Wu, Wentao Zhao, Zenan Li, David P Wipf, and Junchi Yan. Nodeformer: A scalable graph structure learning transformer for node classification. _Advances in Neural Information Processing Systems_ , 35:27387–27401, 2022.
|
| 290 |
+
|
| 291 |
+
- Teng Xiao, Zhengyu Chen, Zhimeng Guo, Zeyang Zhuang, and Suhang Wang. Decoupled selfsupervised learning for graphs. _Advances in Neural Information Processing Systems_ , 35:620–634, 2022.
|
| 292 |
+
|
| 293 |
+
- Yaochen Xie, Zhao Xu, Jingtun Zhang, Zhengyang Wang, and Shuiwang Ji. Self-supervised learning of graph neural networks: A unified review. _IEEE transactions on pattern analysis and machine intelligence_ , 2022.
|
| 294 |
+
|
| 295 |
+
- Haiyang Xu, Qinghao Ye, Ming Yan, Yaya Shi, Jiabo Ye, Yuanhong Xu, Chenliang Li, Bin Bi, Qi Qian, Wei Wang, et al. mplug-2: A modularized multi-modal foundation model across text, image and video. _arXiv preprint arXiv:2302.00402_ , 2023.
|
| 296 |
+
|
| 297 |
+
- Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In _International Conference on Learning Representations_ , 2019. URL https: //openreview.net/forum?id=ryGs6iA5Km.
|
| 298 |
+
|
| 299 |
+
- Qiao Yuan, Sheng-Uei Guan, Pin Ni, Tianlun Luo, Ka Lok Man, Prudence Wong, and Victor Chang. Continual graph learning: A survey. _arXiv preprint arXiv:2301.12230_ , 2023.
|
| 300 |
+
|
| 301 |
+
- Seongjun Yun, Minbyul Jeong, Raehyun Kim, Jaewoo Kang, and Hyunwoo J Kim. Graph transformer networks. _Advances in neural information processing systems_ , 32, 2019.
|
| 302 |
+
|
| 303 |
+
- Zaixi Zhang, Qi Liu, Hao Wang, Chengqiang Lu, and Chee-Kong Lee. Motif-based graph selfsupervised learning for molecular property prediction. _Advances in Neural Information Processing Systems_ , 34:15870–15882, 2021.
|
| 304 |
+
|
| 305 |
+
- Jianan Zhao, Chaozhuo Li, Qianlong Wen, Yiqi Wang, Yuming Liu, Hao Sun, Xing Xie, and Yanfang Ye. Gophormer: Ego-graph transformer for node classification. _arXiv preprint arXiv:2110.13094_ , 2021.
|
| 306 |
+
|
| 307 |
+
## 8 APPENDIX
|
| 308 |
+
|
| 309 |
+
## 8.1 RELATION TO CONTINUAL GRAPH LEARNING
|
| 310 |
+
|
| 311 |
+
Continuous learning and graph lifelong learning address the challenge of learning from graphstructured data when the graph structure can evolve (e.g., grow) over time, and/or features of the graph are initially unavailable, and become available over time Liu et al. (2023); Yuan et al. (2023). These paradigms are also used when the task can change over time. However, we propose a framework for self-supervised learning, wherein the graph structure, features and tasks are known ahead of time. We advance the SOTA in SSL by allowing a model to learn simultaneously from multiple datasets - at once, and do not investigate learning as a function of time. Although the ability of our framework to include more graphs as they are made available over time, can be viewed as enabling lifelong learning, the challenges and approaches to lifelong learning focus on one graph growing over time as opposed to multiple graphs being incorporated into one model.
|
| 312 |
+
|
| 313 |
+
12
|
| 314 |
+
|
| 315 |
+
## 8.2 GENERALISATION OF U-SSL LOSS TO MULTIPLE PRETEXT TASKS
|
| 316 |
+
|
| 317 |
+
The U-SSL loss described in Equation 8 allows pre-training with only one pretext task parameterised in **Γ** . However, the U-SSL framework can be generalised to an arbitrary number _M_ of pretext tasks by modifying the loss function as follows:
|
| 318 |
+
|
| 319 |
+
**==> picture [304 x 31] intentionally omitted <==**
|
| 320 |
+
|
| 321 |
+
Here, _Wj_ represents the weightage provided to the _j[th]_ pretext task. Note that each task-specific head **Γj** is shared by all the _N_ graphs, and thus, the number of parameters increases only with the number of tasks and is independent of the number of graphs. This feature of U-SSL further reduces the parameter count of a pre-trained model for multiple graphs compared to SSL.
|
| 322 |
+
|
| 323 |
+
## 8.3 PAIRSIM FOR PRETRAINING
|
| 324 |
+
|
| 325 |
+
The implementation of our pretext task, i.e., pair-wise node attribute similarity is based on the implementation of Jin et al. (2020) and Jin et al. (2022). First, sets of node pairs with the highest similarity and dissimlarity are created as follows:
|
| 326 |
+
|
| 327 |
+
**==> picture [320 x 28] intentionally omitted <==**
|
| 328 |
+
|
| 329 |
+
Here, _sij_ represents the similarity between node features of _vi_ and _vj_ . This is achieved in out implementation by creating a K-neighbours graph from the node features. The loss function for training can then be expressed as:
|
| 330 |
+
|
| 331 |
+
**==> picture [293 x 25] intentionally omitted <==**
|
| 332 |
+
|
| 333 |
+
with _τ_ = _τsim_ � _τdissim_ and _hi_ is the embedding of the _ith_ node, _f_ being the pre-training head and _yij_ being the target, such that _yij_ = 1 for positive node pair, i.e., ( _vi, vj_ ) _∈ τsim_ and _yij_ = 0 for negative node pair, i.e., ( _vi, vj_ ) _∈/ τdissim_ .
|
| 334 |
+
|
| 335 |
+
## 8.4 IMPLEMENTATION DETAILS
|
| 336 |
+
|
| 337 |
+
All experiments are performed on an NVIDIA DGX-A100 Workstation with four A100 GPUs, each with 40 GB memory. Software is implemented using PyTorch Geometric software library. The implementation of pair-wise attribute similarity is adapted from the implementation of Jin et al. (2022). The official implementation of NAGphormer Chen et al. (2023a) is used to construct the URL module of all models. The Adam optimizer is used to learn the parameters of all models. The base learning rate is set to 1 _e[−]_[3] for pre-training and supervised learning, and 1 _e[−]_[2] for fine-tuning of SSL and U-SSL models. A learning rate scheduler that reduces the learning rate when the loss does not decrease for 50 epochs is employed. Self-supervision is performed for 2500 epochs, and fine-tuning is performed for 1000 epochs for SSL and U-SSL models. Supervised baseline models are trained for 500 epochs.
|
| 338 |
+
|
| 339 |
+
## 8.5 UNIVERSAL SELF-SUPERVISION WITH CO-PURCHASE NETWORKS
|
| 340 |
+
|
| 341 |
+
We compare the performance of SSL, U-SSL and supervised baselines for the co-purchase family of graphs with computers, photo datasets. The downstream node classification performance for the three models are shown in Table 6. The results are consistent with those observed for the citation datasets. We obtain 2% improvement for computers, and 1% improvement for photo. This adds to the results discussed in Section 6, and shows that U-SSL can learn generalisable features for diverse families of graphs.
|
| 342 |
+
|
| 343 |
+
## 8.6 IMPACT OF GRAPHS FROM MULTIPLE FAMILIES
|
| 344 |
+
|
| 345 |
+
In the previous results, we consider graphs belonging to one family (citation networks or co-purchase networks) and show that U-SSL learns better features than SSL. We also investigate if including
|
| 346 |
+
|
| 347 |
+
13
|
| 348 |
+
|
| 349 |
+
Table 6: Node classification accuracy of supervised baseline, SSL and U-SSL models for co-purchase datasets. Entries in boldface represent best performance out of SSL and U-SSL.
|
| 350 |
+
|
| 351 |
+
|Dataset|Baseline|SSL|U-SSL|
|
| 352 |
+
|---|---|---|---|
|
| 353 |
+
|computers|0_._90_±_0_._007|0_._83_±_0_._001|**0**_._**86**_±_0_._001|
|
| 354 |
+
|photo|0_._94_±_0_._004|0_._91_±_0_._001|**0**_._**92**_±_0_._001|
|
| 355 |
+
|
| 356 |
+
Table 7: Node classification accuracy of supervised baseline, SSL and U-SSL models for citation and co-purchase datasets. Entries in boldface represent best performance out of SSL and U-SSL. Underlined entries represent U-SSL models that match supervised baseline performance.
|
| 357 |
+
|
| 358 |
+
|Dataset<br>U-SSL(2 families)<br>U-SSL(1 family)|Dataset<br>U-SSL(2 families)<br>U-SSL(1 family)|Dataset<br>U-SSL(2 families)<br>U-SSL(1 family)|
|
| 359 |
+
|---|---|---|
|
| 360 |
+
|CoraFull<br>Cora-ML<br>DBLP<br>Citeseer<br>PubMed<br>computers<br>photo|0_._60_±_0_._003<br>**0**_._**85**_±_0_._002<br>0_._81_±_0_._001<br>0_._85_±_0_._004<br>0_._86_±_0_._002<br>0_._85_±_0_._001<br>**0**_._**92**<br>_±_0_._001|**0**_._**60**_±_0_._003<br>0_._84_±_0_._001<br>**0**_._**83**<br>_±_0_._001<br>**0**_._**86**_±_0_._002<br>**0**_._**87**<br>_±_0_._001<br>**0**_._**86**_±_0_._001<br>0_._92_±_0_._001|
|
| 361 |
+
|
| 362 |
+
graphs from more than one family also results in better performance. To achieve this, we perform combined training with all the 5 citation networks and 2 co-purchase networks, and summarise the results in Table 7. We observe that out of the 7 datasets, the performance of U-SSL is better (in comparison to SSL) for 1 dataset, worse for 4 datasets, and unchanged for 2 dataset. Based on these results, we cannot claim that U-SSL can always learn better representations when trained across multiple families of graphs. This result corroborates the reasoning behind our hypothesis, i.e., graphs of the same family exhibit commonalities, and thus a combined learning framework can leverage the underlying common patterns to improve the performance.
|
| 363 |
+
|
| 364 |
+
## 8.7 CONVERGENCE OF SSL AND U-SSL MODELS FOR CITATION NETWORKS
|
| 365 |
+
|
| 366 |
+
The training convergence of self-supervision for the citation networks is shown in Figure 2. We can see that the convergence of all the models (SSL and U-SSL) are similar, which allows us to compare their efficiency with the training time per epoch, as presented in Table 2.
|
| 367 |
+
|
| 368 |
+
**==> picture [278 x 146] intentionally omitted <==**
|
| 369 |
+
|
| 370 |
+
Figure 2: Convergence of pre-training of SSL and U-SSL models. The training loss is logged for every 50 epochs. All models converge with similar rates, allowing us to compare with time per epoch.
|
| 371 |
+
|
| 372 |
+
14
|
| 373 |
+
|
| 374 |
+
Table 8: Node classification accuracy of supervised baseline, SSL and U-SSL models for citation datasets, pretrained on one and two pretext tasks. Entries in boldface represent best performance.
|
| 375 |
+
|
| 376 |
+
|Dataset|U-SSL(1 task)|U-SSL(2 tasks)|
|
| 377 |
+
|---|---|---|
|
| 378 |
+
|CoraFull|0_._60|**0**_._**66**|
|
| 379 |
+
|Cora-ML|**0**_._**84**|0_._81|
|
| 380 |
+
|DBLP|**0**_._**83**|0_._81|
|
| 381 |
+
|Citeseer|0_._86|**0**_._**88**|
|
| 382 |
+
|PubMed|**0**_._**87**|0_._86|
|
| 383 |
+
|
| 384 |
+
## 8.8 UNIVERSAL SELF-SUPERVISION WITH TWO PRETEXT TASKS
|
| 385 |
+
|
| 386 |
+
In addition to using the pair-wise node attribute similarity, we also use the pair-wise node distance as an additional pretext task to perform self-supervision. We consider the five citation datasets, and construct the U-SSL model with five graph-specific modules, one universal representation learning module and two task-specific heads for pre-training. We use the loss function described in Equation 9 to tune the parameters **Θi** , **Φ** and **Γj** , _∀ i ∈_ [1 _,_ 5] and _∀ j ∈_ [1 _,_ 2]. The node classification accuracy of the models are shown in Table 8. We can see that pre-training with two tasks results in 6% improvement in performance for CoraFull and 2% improvement for Citeseer. It is noteworthy that while performing self-supervised learning with multiple tasks, weighing the loss for each task is typically performed to achieve an improvement in performance. However, we have not performed a search for the optimal weights ( _Wj_ in Equation 9), and have assigned equal weights to both the tasks, i.e., _W_ 1 = _W_ 2 = 1. Even with this configuration, we obtain an improvement in performance for two datasets. These results support the general effectiveness of our framework in improving the performance of features learnt through self-supervised learning. Future studies will be aimed at improving optimising the weights of different tasks to achieve consistent improvement in performance.
|
| 387 |
+
|
| 388 |
+
15
|
| 389 |
+
|
open_review/iclr2024_9106.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9106",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Efficient Denoising Diffusion via Probabilistic Masking",
|
| 6 |
+
"abstract": "Diffusion models have exhibited remarkable advancements in generating high-quality data. However, a critical drawback of these models is their computationally intensive inference process, which requires a large number of timesteps to generate a single sample. Existing methods address this challenge by decoupling the forward and reverse processes, and they rely on handcrafted rules (e.g., uniform skipping) for sampling acceleration, leading to the risk of discarding important steps and deviating from the optimal trajectory. In this paper, we propose an Efficient Denoising Diffusion method via Probabilistic Masking (EDDPM) that can identify and skip the redundant steps during training. To determine whether a timestep should be skipped or not, we employ probabilistic reparameterization to continualize the binary determination mask. The mask distribution parameters are learned jointly with the diffusion model weights. By incorporating a real-time sparse constraint, our method can effectively identify and eliminate unnecessary steps during the training iterations, thereby improving inference efficiency. Notably, as the model becomes fully trained, the random masks converge to a sparse and deterministic one, retaining only a small number of essential steps. Empirical results demonstrate the superiority of our proposed EDDPM over the state-of-the-art sampling acceleration methods across various domains. EDDPM can generate high-quality samples with only 20\\% of the steps for time series imputation and achieve 4.89 FID with 5 steps for CIFAR-10. Moreover, when starting from a pretrained model, our method efficiently identifies the most informative timesteps within a single epoch, which demonstrates the potential of EDDPM to be a practical tool to explore large diffusion models with limited resources.",
|
| 7 |
+
"rebuttal": "### A3 is included in the new version.\nDear Reviewer MPYQ,\n\nAccording to your suggestion, we have included A3 into Section C of the appendix and updated the submission. Thanks.\n\nAuthors\n\n### Explanation on the sparisty of the score has been inclued in the revision.\nDear Reviewers,\n\nAccording to the suggestion of Reviewer MPYQ in the new feedback, we have included the explanation on the sparsity of the score vector, i.e., A3 of the authors response to Reviewer MPYQ, in Section C of the appendix and updated the submission. \n\n If there are any further suggestions or comments, please feel free to raise them and we will always be happy to answer your questions and resolve your concerns. \n\nAuthors\n\n### General Response and Invitation for a Discussion\nDear ACs and all reviewers:\n\n\nWe sincerely appreciate the time and efforts of the reviewers in providing their valuable feedback. We have incorporated the suggested modifications in our manuscript, which are highlighted in red.\n\nThe key points of our rebuttal can be summarized as follows:\n\n1. We gave the detailed reasons why the elements of our score vector $\\mathbf{s}$ converge to either 0 or 1. A similar case has been presented in the textbook \"Statistical Learning with Sparsity: The Lasso and Generalizations\" written by the leading scient [...]\n\n### Invitation for a Discussion\nDear Reviewer jbL3,\n\nThank you very much for taking the time to review our paper and for your constructive comments.\n\nWe have made extensive clarifications and discussions as you indicated. We hope we have effectively addressed your concerns.\n\nThe key points in our rebuttal include:\n\n1. We added four latest sampling acceleration methods in Table 1. Compared with them, our EDDPM method exhibits advanced performance.\n\n2. We clarified your misunderstanding in Figure 1.\n\n\n3. We improved the writing accordingly. \n\nWe are eager to hear your valuable opinion on the ef [...]\n\n### Invitation for a Discussion\nDear Reviewer MPYQ:\n\nThank you very much for taking the time to review our paper and for your constructive comments.\n\nWe have made extensive clarifications and discussions as you indicated. We hope we have effectively addressed your concerns.\n\nThe key points in our rebuttal include: \n\n1. We gave the detailed reasons why the elements of our score vector $\\mathbf{s}$ converge to either 0 or 1. A similar case has been presented in the textbook \"Statistical Learning with Sparsity: The Lasso and Generalizations\" written by the leading scientist, Prof. Robert Tibshira [...]\n\n### Response to ACs and all the reviewers\nThanks to the ACs and reviewers for your great efforts and time. We thank all reviewers for your valuable comments. In the process of discussions with you, we have answered the questions and revised the paper according to the reviewers' initial suggestions. To be precise, \n\n1) We gave a detailed explaination on why adding our constraint to $\\mathbf{s}$ can make most of its elements converge to either 0 or 1. \n\n2) As suggested by Reviewer MPYQ, we have improved the related work section in the revision.\n\n3) According to the concerns of Eqn.(12) and ho [...]\n\n### Response to Reviewer 1NMC\nThanks for your constructive comments.\n\n**Q1: The policy-gradient-based update for the prob masking is more like reinforcement learning, rather than the Bayesian variational inference. As the classical VI-based update is also feasible for inferring the Bern distribution, more discussion is encouraged on why adopting the policy-gradient-based update.**\n\n**A1:** Our considerations in choosing the gradient estimators are as follows. \n\n(1) Bayesian method could not be a perfect choice for our training problem. The reason is that its performance is sensitive to the sel [...]\n\n### Response to Reviewer MPYQ [1]\nThanks for your constructive comments. \n\n**Q1: The motivation part of this paper is not persuasive. The authors said that prior works often involve manual selection or the use of handcrafted rules, such as uniform skipping, to determine denoising steps. It is not entirely true for all efficient sampling methods. The authors are referred to check this survey [r1]. The authors may need to narrow down the scope of comparison.**\n\n**A1:** When referring to learning-free efficient sampling methods, it is common for them to rely on handcrafted rules. We appreciate yo [...]\n\n### Response to Reviewer MPYQ [2]\n**Q5: What is the initialization of s? It is unclear how to use $\\gamma_e$. It is also unclear how the sparse constraint is enforced during training.**\n\n**A5:** The initialization of $\\mathbf{s}$ is set to $\\mathbf{1}\\in \\mathbb{R}^T$. $\\gamma_e$ is used to define the constraint region in the current epoch $e$, given by\n\n$\\mathcal{S} = \\\\{ \\mathbf{s}\\in \\mathbb{R}^T: ||\\mathbf{s}||_1\\leq K_e, \\mathbf{s}\\in [0,1]^T \\\\},$\n\nwhere $K_e = \\gamma_e T$. This allows us to control the sparsity of the mask $\\mathbf{m}$ by managing the sum of the probabilities $s_i$. We [...]\n\n### Response to Reviewer jbL3 [1]\nThanks for your constructive comments.\n\n**Q1: As far as I know, there is typically a trade-off between sampling speed and sample quality. Having fewer sampling steps usually improves the sampling speed but often results in a decline in the quality of generated samples. This observation has been discussed in numerous studies focused on accelerating diffusion sampling. Why does Figure 1 indicate an enhancement in sample quality when the number of sampling steps is very low? Is this a consequence of randomness or an mean outcome? Is there a qualitative explanatio [...]\n\n### Response to Reviewer jbL3 [2]\n**Q11: There are several issues with the citation format and some references are duplicated or inappropriately cited in arXiv format, even though they have been published.**\n\n**A11:** Thanks for your detailed review. 1) We have deleted the duplicated references of papers [1-3]. 2) We have reviewed references individually and replaced outdated citation formats.\n\n[1] Fan Bao, Chongxuan Li, Jiacheng \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
8,
|
| 11 |
+
8,
|
| 12 |
+
6
|
| 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": "",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "",
|
| 22 |
+
"forum_id": "lhZEodF8Dn",
|
| 23 |
+
"primary_area": "generative models",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_MPYQ",
|
| 28 |
+
"review_id": "fi75pBl1if",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 4707,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1605194,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_1NMC",
|
| 44 |
+
"review_id": "uyFu5hdnke",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 8,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 2
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2387,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2938783,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_v4Co",
|
| 60 |
+
"review_id": "OCkAit54pB",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 8,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1346,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 900610,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_jbL3",
|
| 76 |
+
"review_id": "o7UExaPj4b",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 3925,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2321212,
|
| 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_9106.md
ADDED
|
@@ -0,0 +1,593 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - EFFICIENT DENOISING DIFFUSION VIA PROBABILIS TIC MASKING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Diffusion models have exhibited remarkable advancements in generating highquality data. However, a critical drawback of these models is their computationally intensive inference process, which requires a large number of timesteps to generate a single sample. Existing methods address this challenge by decoupling the forward and reverse processes, and they rely on handcrafted rules (e.g., uniform skipping) for sampling acceleration, leading to the risk of discarding important steps and deviating from the optimal trajectory. In this paper, we propose an Efficient Denoising Diffusion method via Probabilistic Masking (EDDPM) that can identify and skip the redundant steps during training. To determine whether a timestep should be skipped or not, we employ probabilistic reparameterization to continualize the binary determination mask. The mask distribution parameters are learned jointly with the diffusion model weights. By incorporating a real-time sparse constraint, our method can effectively identify and eliminate unnecessary steps during the training iterations, thereby improving inference efficiency. Notably, as the model becomes fully trained, the random masks converge to a sparse and deterministic one, retaining only a small number of essential steps. Empirical results demonstrate the superiority of our proposed EDDPM over the state-of-theart sampling acceleration methods across various domains. EDDPM can generate high-quality samples with only 20% of the steps for time series imputation and achieve 4.89 FID with 5 steps for CIFAR-10. Moreover, when starting from a pretrained model, our method efficiently identifies the most informative timesteps within a single epoch, which demonstrates the potential of EDDPM to be a practical tool to explore large diffusion models with limited resources.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Diffusion models have emerged as a powerful generative technique, achieving unprecedented success in various domains, including image generation (Ho et al., 2020; Saharia et al., 2022; Dhariwal & Nichol, 2021), speech synthesis (Kong et al., 2020; Jeong et al., 2021), text generation (Hoogeboom et al., 2021; Li et al., 2022), 3D shape generation (Luo & Hu, 2021) and time series forecasting and imputation (Tashiro et al., 2021; Rasul et al., 2021). These models employ an iterative sampling procedure to generate each sample by progressively removing noise from random initial vectors.
|
| 14 |
+
|
| 15 |
+
One significant drawback of diffusion models is their reliance on a large number of denoising steps, ranging from hundreds to thousands, to transform Gaussian noise into a sample. As a result, diffusion models are considerably slower compared to other generative models like GANs (Brock et al., 2018). In recent years, several acceleration techniques have been proposed to address this issue, which can be divided into learning-free and learning-based methods according whether additional training is required. It is worth noting that learning-free methods (Song et al., 2020a; Bao et al., 2021; Liu et al., 2021; Bao et al., 2022) often employ handcrafted rules, whereas learning- based methods (Watson et al., 2021a;b; Dockhorn et al., 2022; Salimans & Ho, 2021; Luhman & Luhman, 2021) decouple the training and inference schedules. This decoupling allows for separate learning of the training and sampling schedules. However, both approaches have the potential to result in suboptimal performance. Therefore, exploring the determination of the optimal sampling step during training is a promising direction worth investigating.
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
**==> picture [386 x 98] intentionally omitted <==**
|
| 20 |
+
|
| 21 |
+
**----- Start of picture text -----**<br>
|
| 22 |
+
xt +1 = 1 − βt −1 xt −1 + βt +1 I ���� ����������������<br>����<br>Masked sampling step ����<br>����<br>( βt −1 | mt −1 = 1) ( βt | mt = 0) ( βt +1 | mt +1 = 1) ����<br>xt −1 ≈ xt ����<br>����<br>����<br>xt −1 xt xt +1 ���� � �� �� �� �� ��<br>����������������<br>mi ∼ Bern ( si ), si ∈[0,1]<br>�����������<br>**----- End of picture text -----**<br>
|
| 23 |
+
|
| 24 |
+
Figure 1: The left sub-figure shows the parametic probabilistic masking method, in which the masks are determined by the Bernoulli distribution. The steps with 0-valued masks will be skipped. The right sub-figure shows the performance changes when we simply remove a single step. The red rectangles indicate that the sample quality can be improved after removing that step. The results are collected from CSDI (Tashiro et al., 2021) model with the Air-quality dataset. It shows that for most steps, performance drop of removing them is negligible, i.e., lower than 0.15. It can be expected that more promising results can be achieved when more advanced approaches are employed.
|
| 25 |
+
|
| 26 |
+
In this paper, we propose an **e** fficient **d** enoising **d** iffusion **m** odel (EDDPM) to enhance the sampling efficiency. The fundamental concept is illustrated in Figure 1. The sub-figure on the right highlights redundant sampling steps in the denoising process. Removing these steps has a negligible effect on the quality of the samples or may even improve the sample quality. To automatically and safely skip redundant steps in the forward and reverse diffusion processes, we propose EDDPM, which is a diffusion model equipped with a novel probabilistic masking module. This module gradually identifies and masks the less informative steps. To be precise, we assign a binary probabilistic mask _**m** i_ to each diffusion step _i_ , indicating whether it should be skipped ( _**m** i_ = 0 ) or kept ( _**m** i_ = 1). Since searching for the globally optimal steps for diffusion models is an intractable discrete optimization problem, we address it by continualizing it through probabilistic reparameterization. We parameterize _**m** i_ to be a Bernoulli random variable with probability _**s** i_ set to 1 and probability 1 _−_ _**s** i_ set to 0. Consequently, we can use the sum of _**s** i_ to control the model efficiency, which can finally be encoded into a sparse constraint. Therefore, the training problem is continualized into optimizing the denoising diffusion model under the sparsity constraint.
|
| 27 |
+
|
| 28 |
+
By jointly training the denoising diffusion model and optimizing the mask distribution parameters, we are able to automatically identify and eliminate redundant steps. Our method possesses an appealing feature: as a result of the sparse constraint applied to the distribution parameters, the majority of probabilities _**s** i_ will converge to either 0 or 1 upon full training. Consequently, the masks tend to converge to nearly deterministic ones after training and the redundant steps can thus be safely removed.We conducted extensive quantitative and qualitative evaluations on image synthesis and time series imputation tasks to validate the effectiveness of our method. For instance, in time series imputation, our method achieves significant performance improvements, generating high-quality samples using only 20% of the original steps. Moreover, it achieves an impressive FID score of 4.89 on CIFAR-10 with just 5 steps. Another advantage of our method is that it only requires one epoch of fine-tuning on a pretrained model to determine the most informative denoising steps. This makes it feasible to explore large diffusion models even with limited resources, which is particularly valuable for the research in academia. The main contributions of this work can be summarized as follows:
|
| 29 |
+
|
| 30 |
+
- We propose an efficient denoising diffusion model via probabilistic masking, offering the following advantages:
|
| 31 |
+
|
| 32 |
+
- Our method can identify and remove redundant denoising steps during training, eliminating the need for handcrafted skipping rules.
|
| 33 |
+
|
| 34 |
+
- Most of our probabilistic masks converge to deterministic values after full training, allowing for the safe removal of redundant steps.
|
| 35 |
+
|
| 36 |
+
- The training efficiency in the later stages is significantly improved. As the training process goes on, most **s** _i_ ’s would get closer to either 0 or 1. Thus, our EDDPM would automatically select the uninformative steps (i.e., **s** _i_ is small) with low probability and always focus on the informative ones (i.e., **s** _i_ is close to 1) to train the model weights.
|
| 37 |
+
|
| 38 |
+
- We verify the proposed EDDPM method on two domain tasks. In the time series imputation benchmarks, the empirical results on Healthcare and Air-quality datasets demonstrate that
|
| 39 |
+
|
| 40 |
+
2
|
| 41 |
+
|
| 42 |
+
EDDPM outperforms the state-of-the-art sampling acceleration methods. It achieves comparable or even superior performance compared to the original baselines with only 20% denosing steps. Moreover, EDDPM achieves a 4.89 FID with only 5 steps for CIFAR-10.
|
| 43 |
+
|
| 44 |
+
- EDDPM demonstrates impressive performance in diffusion model compression. Starting from a pretrained diffusion model, our method can compress it within a single epoch of fine-tuning. This highlights the potential of EDDPM as a practical tool for exploring large diffusion models with limited resources.
|
| 45 |
+
|
| 46 |
+
## 2 RELATED WORKS
|
| 47 |
+
|
| 48 |
+
In this section, we first review the development and applications of diffusion models, Then, we introduce the recent work on improving the sampling efficiency of diffusion models.
|
| 49 |
+
|
| 50 |
+
**Development and applications of DPMs.** Diffusion probabilistic models (DPMs) are firstly introduced by (Sohl-Dickstein et al., 2015) that they can convert one distribution into a target distribution, in which each diffusion step is tractable. Bordes et al. (2016) improved DPMs by a infusion training procedure that requires slightly shorter generation trajectory. Ho et al. (2020) proposed a new diffusion model, called Denoising Diffusion Model (DDPM), and a weighted variational bound objective by connecting the DPMs and denoising score matching methods (Song & Ermon, 2019). Song et al. (2020a) generalized the DDPMs to non-Markovian diffusion processes which lead to “short” generative Markov chains that can increase sample efficiency. With above the important improvements, DPMs show great potential in various applications, including speech synthesis (Kong et al., 2020; Jeong et al., 2021), 3D shape generation (Luo & Hu, 2021), image super-resolution (Saharia et al., 2022), text generation (Hoogeboom et al., 2021; Li et al., 2022) and probabilistic time series forecasting(Rasul et al., 2021) and imputation (Tashiro et al., 2021) Previous studies have shown deep learning models can capture the temporal dependency of time series and give more accurate imputation than statistical methods (Fortuin et al., 2020; Mulyadi et al., 2021; Bonilla & Chai, 2007). Rasul et al. (2021) used DPMs for multivariate probabilistic time series forecasting and achieved the state-of-the-art performance. CSDI (Tashiro et al., 2021) is a conditional score-based diffusion model and it is used to generate the missing values in the time series. To our knowledge, prior works have not explore the acceleration of DPMs on time series domain.
|
| 51 |
+
|
| 52 |
+
**Acceleration of DPMs.** Following the survey (Yang et al., 2022), we divide the existing efficient sampling methods into two categories, i.e., learning-free and learning-based on methods based on whether they require an additional learning process after the diffusion model has been trained. The learning-free approaches accelerate the sampling process by discretizing either the reversetime stochastic differential equations (SDE) (Dockhorn et al., 2021; Song et al., 2020b; JolicoeurMartineau et al., 2020) or the probability flow ordinary differential equations (ODE) (Liu et al., 2021; Song et al., 2020a; Zhang et al., 2022; Lu et al., 2022). We notice that these methods always use handcrafted steps to select the denosing steps. As our proposed method belongs to the learning based category, here we mainly review the recent studies on learning-based efficient sampling methods (Watson et al., 2021a;b; Dockhorn et al., 2022; Salimans & Ho, 2021; Luhman & Luhman, 2021), which find efficient denoising trajectories by optimizing some objective or using knowledge distillation.For example, Watson et al. (2021b) used the dynamic programming algorithm to search the informative diffusion steps. Xiao et al. (2021) compressed the diffusion process by combining the GANs and DPMs, the efficiency is improved since larger step size is allowed. San-Roman et al. (2021) estimated the level of noise by training a separate model, and modified the denoising process dynamically to match the predicted noise level. Dockhorn et al. (2022) derive a second-order solver for accelerating synthesis by training a additional head on top of the first-order score network. Knowledge distillation is adopted in (Salimans & Ho, 2021; Luhman & Luhman, 2021) to distill the full sampling process into a faster sampler.
|
| 53 |
+
|
| 54 |
+
Through promising results are reported in existing studies, it is worth noting that learning-free methods often employ handcrafted rules, whereas learning-based methods usually decouple the training and inference schedules. However, both approaches have the potential to result in suboptimal performance. To overcome the separation of the training and the inference processes, we propose to progressively remove the redundant diffusion steps in the training through a probabilistic parameterization approach.
|
| 55 |
+
|
| 56 |
+
3
|
| 57 |
+
|
| 58 |
+
**Notations:** Let _∥· ∥_ 1 be the _ℓ_ 1 norm of a vector. We denote **1** _∈_ R _[n]_ and **0** _∈_ R _[n]_ to be the vectors with all components equal to 1 and 0. In addition, _{_ 0 _,_ 1 _}[n]_ is a set of _n_ -dimensional vectors with each coordinate valued in _{_ 0 _,_ 1 _}_ .
|
| 59 |
+
|
| 60 |
+
## 3 BASICS
|
| 61 |
+
|
| 62 |
+
In this section, for the convenience of presenting our method EDDPM in Section 4, we introduce the basics of denoising diffusion probabilistic models.
|
| 63 |
+
|
| 64 |
+
Starting from a sample **x** 0, a _diffusion process_ or _forward process_ is defined as a _T_ -step Markov chain, where Gaussian noise is gradually injected into **x** 0. That is
|
| 65 |
+
|
| 66 |
+
**==> picture [361 x 30] intentionally omitted <==**
|
| 67 |
+
|
| 68 |
+
where the scalar parameter _βt_ ( _t_ = 1 _, . . . , T_ ) determines the variance of the noise added at each diffusion step, subject to 0 _< βt <_ 1. **x** 1 _, ...,_ **x** _T_ are latent variables in the same space as **x** 0. It can be verified that the diffusion schedule in Eqn.(1) can guarantee _xT_ would be close to a standard Gaussian noise, i.e., _N_ ( **x** _T_ ; **0** _,_ **I** ), when _T_ is sufficiently large. Notice that **x** _t_ at an arbitrary timestep _t_ takes the form of:
|
| 69 |
+
|
| 70 |
+
**==> picture [275 x 11] intentionally omitted <==**
|
| 71 |
+
|
| 72 |
+
where _αt_ =[�] _[t] s_ =1 _[α]_[ˆ] _[s]_[,] _[α]_[ˆ] _[t]_[=][1] _[ −][β][t]_[.][This][property][enables][us][to][sample] **[x]** _[t]_[at][any][timestep] _[t]_[in] training without going through _xi, i ≤ t_ one by one.
|
| 73 |
+
|
| 74 |
+
The _reverse process_ is modelled as another Markov chain parameterized by _θ_ . To be precise, it starts from _p_ ( **x** _T_ ) = _N_ ( **x** _T_ ; **0** _,_ **I** ) and
|
| 75 |
+
|
| 76 |
+
**==> picture [372 x 30] intentionally omitted <==**
|
| 77 |
+
|
| 78 |
+
The parameters _θ_ of the reverse process can be learned by maximizing the following variational lower bound on the training set, i.e.,
|
| 79 |
+
|
| 80 |
+
**==> picture [303 x 24] intentionally omitted <==**
|
| 81 |
+
|
| 82 |
+
Minimizing the objective function in Eqn.(4) is equivalent to minimizing the distance between _pθ_ ( **xt** _−_ **1** _|_ **xt** ) against forward process posteriors _q_ ( **x** _t−_ 1 _|_ **x** _t,_ **x** 0), which is actually a Gaussian distribution, i.e.,
|
| 83 |
+
|
| 84 |
+
**==> picture [357 x 42] intentionally omitted <==**
|
| 85 |
+
|
| 86 |
+
By parameterizing _pθ_ ( **x** _t−_ 1 _|_ **x** _t_ ) as _N_ ( **x** _t−_ 1 _, µθ_ ( **x** _t, t_ ) _, σt_[2] **[I]**[)][ with]
|
| 87 |
+
|
| 88 |
+
**==> picture [214 x 26] intentionally omitted <==**
|
| 89 |
+
|
| 90 |
+
and letting _ϵ ∼N_ ( **0** _,_ **I** ), the overall training problem of diffusion model can be written as
|
| 91 |
+
|
| 92 |
+
**==> picture [322 x 23] intentionally omitted <==**
|
| 93 |
+
|
| 94 |
+
## 4 METHOD
|
| 95 |
+
|
| 96 |
+
In this section, we present our efficient denoising diffusion probabilistic model EDDPM by first introducing our probabilistic masking approach and then presenting the detailed training procedure. The detailed derivation procedure for our method is given in the appendix.
|
| 97 |
+
|
| 98 |
+
4
|
| 99 |
+
|
| 100 |
+
## 4.1 PROBABILISTIC MASKING FOR DIFFUSION MODELS
|
| 101 |
+
|
| 102 |
+
As shown in Figure 1, our basic idea is to assign a binary mask _mt_ to determine whether this time step _t_ should be skipped (i.e., _mt_ = 0) or not (i.e., _mt_ = 1) and then jointly learn these masks with the diffusion model parameters.
|
| 103 |
+
|
| 104 |
+
In EDPPM, we multiply each variance _βt_ with the binary mask _mt_ . Therefore, _mt_ = 0 means the diffusion step _t_ can be skipped, since the injected noise in Eqn.(1) would be **0** . Thus, the _ℓ_ 1-norm of **m** , i.e., _∥_ **m** _∥_ 1, can be used to control the number of steps the diffusion model goes through. Notice that, in this way, **x** _t_ is still a Gaussian random variable. To be precise,
|
| 105 |
+
|
| 106 |
+
**==> picture [388 x 30] intentionally omitted <==**
|
| 107 |
+
|
| 108 |
+
It implies that we can sample **x** _t_ at any time step _t_ without going through the former steps 0 to _t −_ 1. The variational low bound for diffusion models can be written as:
|
| 109 |
+
|
| 110 |
+
**==> picture [331 x 37] intentionally omitted <==**
|
| 111 |
+
|
| 112 |
+
where the masked reverse process corresponding to Eqn. (3) becomes
|
| 113 |
+
|
| 114 |
+
**==> picture [304 x 13] intentionally omitted <==**
|
| 115 |
+
|
| 116 |
+
and the masked forward process posterior takes the form of
|
| 117 |
+
|
| 118 |
+
**==> picture [240 x 13] intentionally omitted <==**
|
| 119 |
+
|
| 120 |
+
**==> picture [401 x 71] intentionally omitted <==**
|
| 121 |
+
|
| 122 |
+
where _Ct_ = 2 _σt_[2] _[α]_[ˆ] _[t]_[(] **[m]** _βt_[)(1][2] _[m][−][t][α][t]_[(] **[m]**[))][with] _[ K]_[is a positive integer controls the process complexity,] _[T]_[is] the total length of the diffusion process.
|
| 123 |
+
|
| 124 |
+
Notice that the above formulation involves a discrete optimization problem, which is hard to solve and thus cannot be applied in practice. To address this issue, we contiualize the training problem by probabilistic masking. That is, we reparameterize **m** into a binary random vector with each component _mt_ being an independent Bernoulli random variable with probability **s** _t ∈_ [0 _,_ 1] to be 1 and 1 _− st_ to be 0. Then, we can relax the above discrete optimization problem into the following continuous one:
|
| 125 |
+
|
| 126 |
+
**==> picture [382 x 18] intentionally omitted <==**
|
| 127 |
+
|
| 128 |
+
**==> picture [290 x 21] intentionally omitted <==**
|
| 129 |
+
|
| 130 |
+
Notice that _Ct_ = 0 when _mt_ = 0, therefore, we do not need to update the model in this case. **Discussion.** Nice properties of our EDDPM are summarized as follows:
|
| 131 |
+
|
| 132 |
+
- Given the mask **m** , since **x** _t_ are Gaussian random variables, we can sample them at any time step _t_ without going through the former diffusion steps. This would enable us to train the model efficiently.
|
| 133 |
+
|
| 134 |
+
- Due to the constraints on **s** , i.e., _||_ **s** _||_ 1 _≤ K_ and **s** _∈_ [0 _,_ 1] _[T]_ , the optimal **s** would be sparse and most of its components would be either 0 or 1. See Section C in the appendix for details. This would lead us to the three advantages below:
|
| 135 |
+
|
| 136 |
+
- When fully trained, the mask **m** sampled from Bernoulli distribution _p_ ( **m** _|_ **s** ) would become sparse. Thus, the length of the denoising steps can be significantly reduced and inference efficiency can be improved.
|
| 137 |
+
|
| 138 |
+
5
|
| 139 |
+
|
| 140 |
+
- Since the mask **m** would be nearly deterministic after training, the steps with 0 valued masks can be safely discarded. Therefore, the undesired randomness in sampling the final diffusion model is eliminated.
|
| 141 |
+
|
| 142 |
+
- The training efficiency in the late stage can be improved. The reason is that as the training process goes on , most **s** _i_ ’s would get closer to either 0 or 1. Therefore our EDDPM would automatically select the uninformative steps (i.e., **s** _i_ is small) with low probability and always focus on the informative ones (i.e., **s** _i_ is close to 1) to train the model weights. Thus, the training efficiency can be improved, which is verified in the experimental results (see Figure 2).
|
| 143 |
+
|
| 144 |
+
## 4.2 UPDATING MASKING SCORES
|
| 145 |
+
|
| 146 |
+
We adopt stochastic optimization algorithms to train our model EDDPM. Therefore, the key technique is to estimate the stochastic gradient. Notice that
|
| 147 |
+
|
| 148 |
+
**==> picture [300 x 13] intentionally omitted <==**
|
| 149 |
+
|
| 150 |
+
Hence, _∇θL[t] θ_[(] **[x]**[0] _[, ϵ,]_ **[ m]**[)][ is an unbiased estimation of] _[ ∇][θ]_[Φ(] _[θ,]_ **[ s]**[)][. Below, we introduce the estimation] of _∇_ **s** Φ( _θ,_ **s** ).
|
| 151 |
+
|
| 152 |
+
**[Gradient Computation** _∇_ **s** Φ( _θ,_ **s** ) **]** We adopt the policy gradient method to estimate the gradient. To be precise,
|
| 153 |
+
|
| 154 |
+
**==> picture [325 x 93] intentionally omitted <==**
|
| 155 |
+
|
| 156 |
+
Therefore, _L[t] θ_[(] **[x]**[0] _[, ϵ,]_ **[ m]**[)] _[∇]_ **[s]**[ ln] _[ p]_[(] **[m]** _[|]_ **[s]**[)][ is a stochastic gradient of][ Φ(] _[θ,]_ **[ s]**[)][.]
|
| 157 |
+
|
| 158 |
+
Based on Eqn.(10) and (11), we know that during training, we can estimate the gradients _∇θ_ Φ( _θ,_ **s** ) and _∇_ **s** Φ( _θ,_ **s** ) by sampling a random mask **m** and a Gaussian noise _ϵ_ .
|
| 159 |
+
|
| 160 |
+
**[Gradually Increasing Masking Rate]** To control the model complexity, we denote the final masking rate as _γf_ , that is
|
| 161 |
+
|
| 162 |
+
**==> picture [44 x 10] intentionally omitted <==**
|
| 163 |
+
|
| 164 |
+
Then, to stabilize the training process, we increase the masking rate gradually to make a smooth transformation from a full diffusion process to a sparse process. We utilize the increase function of Zhu & Gupta (2017):
|
| 165 |
+
|
| 166 |
+
**==> picture [301 x 33] intentionally omitted <==**
|
| 167 |
+
|
| 168 |
+
where _N_ is the training epoch, _γe_ is the ratio of the remaining steps in the current epoch _e_ . _e_ 1 is a positive integer indicating that we train the entire denosing steps in the first _e_ 1 epochs.
|
| 169 |
+
|
| 170 |
+
After obtaining the gradients, _θ_ and **s** are updated by projected gradient descent as follows:
|
| 171 |
+
|
| 172 |
+
**==> picture [308 x 11] intentionally omitted <==**
|
| 173 |
+
|
| 174 |
+
where _S_ = _{_ **s** _∈_ R _[T]_ : _||_ **s** _||_ 1 _≤ Ke,_ **s** _∈_ [0 _,_ 1] _[T] }_ with _Ke_ = _γeT_ . The projection can be efficiently computed with the details given in Theorem 1 of the appendix.
|
| 175 |
+
|
| 176 |
+
Our training method can be integrated with general stochastic optimization algorithms flexibly. The detailed steps of our algorithm are given in the appendix.
|
| 177 |
+
|
| 178 |
+
6
|
| 179 |
+
|
| 180 |
+
Table 1: CIFAR-10 image generation measured in FID. “-” means this result is not provided in the corresponding paper. The underlined result is the second best method. NCSN++ _w/_ TDAS achieves lower FID than our method as it adopts different base model.
|
| 181 |
+
|
| 182 |
+
|Method|Denoisingsteps|Denoisingsteps|
|
| 183 |
+
|---|---|---|
|
| 184 |
+
||5<br>10<br>25<br>50<br>100<br>200<br>1000||
|
| 185 |
+
|Learning-free methods<br>DDPM (Ho et al., 2020)<br>DDIM (Song et al., 2020a)<br>SN-DDPM (Bao et al., 2022)<br>SN-DDIM (Bao et al., 2022)<br>NPR-DDPM (Bao et al., 2022)<br>NPR-DDIM (Bao et al., 2022)<br>Analytic-DDPM (Bao et al., 2021)<br>Analytic-DDIM (Bao et al., 2021)<br>S-PNDM (Liu et al., 2021)<br>F-PNDM(Liu et al.,2021)|-<br>233.41<br>125.05<br>66.28<br>31.36<br>12.96<br>3.04<br>41.6<br>21.31<br>10.70<br>7.74<br>6.08<br>5.07<br>4.13<br>-<br>24.06<br>6.91<br>4.63<br>3.67<br>3.31<br>3.65<br>-<br>12.19<br>4.28<br>3.39<br>3.23<br>3.22<br>3.65<br>-<br>32.35<br>10.55<br>6.18<br>4.52<br>3.57<br>4.10<br>-<br>13.34<br>5.38<br>3.95<br>3.53<br>3.42<br>3.72<br>-<br>34.26<br>11.60<br>7.25<br>5.40<br>4.01<br>4.03<br>-<br>14.00<br>5.81<br>4.04<br>3.55<br>3.39<br>3.74<br>35.9<br>11.6<br>-<br>5.18<br>4.34<br>-<br>3.80<br>-<br>7.03<br>-<br>3.95<br>3.72<br>-<br>3.70||
|
| 186 |
+
|Learning-based methods<br>GGDM (Watson et al., 2021a)<br>DPM-solver(Lu et al., 2022)<br>GENIE(Dockhorn et al., 2022)<br>NCSN_w/_ TDAS(Ma et al., 2022)<br>NCSN++_w/_ TDAS (Ma et al.,2022)|13.77<br>8.23<br>4.25<br>-<br>4.70<br>-<br>11.2<br>5.28<br>3.64<br>-<br>-<br>-<br>-<br>-<br>-|-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>-<br>72.92<br>23.56<br>-<br>7.78<br>**2.97**<br>-|
|
| 187 |
+
|EDDPM|**4.89**<br>**4.34**<br>**3.59**|**3.34**<br>**3.21**<br>3.19<br>**3.03**|
|
| 188 |
+
|
| 189 |
+
## 5 EXPERIMENT
|
| 190 |
+
|
| 191 |
+
In this section, we evaluate the the effectiveness of EDDPM on two applications of DDPM, i.e., image synthesis and multivariate time series imputation. We follow the experimental settings in the existing studies (Ho et al., 2020; Song et al., 2020a; Watson et al., 2021a) to ensure a fair comparison.
|
| 192 |
+
|
| 193 |
+
**Datasets.** We use the CIFAR-10 dataset (Krizhevsky et al., 2009) (50k images of resolution 32 _×_ 32) for image synthesis, and Healthcare (Silva et al., 2012) and Air-quality (Tashiro et al., 2021) for the time series imputation experiments.
|
| 194 |
+
|
| 195 |
+
**Baselines.** The following two different sets of baselines are used for time series imputation and image synthesis. For the time series task, we compared EDDPM to a variety of scheduling and acceleration techniques applicable to DDPMs: DDPM (Ho et al., 2020), DDIM (Song et al., 2020a), Analytic-DPM (Bao et al., 2021) and Extended-Analytic-DPM (Bao et al., 2022). Based on CSDI model (Tashiro et al., 2021), these methods are all re-implemented in our codebase. In addition to the above acceleration methods, we also compare PNDM (Liu et al., 2021), GGDM (Watson et al., 2021a), DPM-solver (Lu et al., 2022), GENIE (Dockhorn et al., 2022) and TDAS (Ma et al., 2022) on CIFAR-10 benchmark.
|
| 196 |
+
|
| 197 |
+
**Evaluation Metric.** In the time series task, we evaluate the performance on normalized data (zero mean and unit variance) by three commonly used metrics (Mean Absolute Error (MAE), Root Mean Squared Error (RMSE)) for probabilistic time series imputation. Following previous studies (Tashiro et al., 2021), we generate 100 samples to approximate the probability distribution over missing values and report the normalized average of CRPS for all missing values. The detailed formulations of these three metrics are provided in the appendix. In the image generation task, we use the Fr´echet Inception Distance (FID) (Heusel et al., 2017) to evaluate generated 50K samples. The transformed feature is the 2048-dimensional vector output of the last layer of Inception-V3 (Szegedy et al., 2016).
|
| 198 |
+
|
| 199 |
+
## 5.1 MAIN RESULTS
|
| 200 |
+
|
| 201 |
+
In this section, we demonstrate the superior performance of our proposed EDDPM method in compressing diffusion steps for probabilistic time series imputation and image generation tasks, as compared to sampling acceleration methods. Additional visualization results can be found in the appendix.
|
| 202 |
+
|
| 203 |
+
As presented in Table 1, our proposed EDDPM method outperforms previous state-of-the-art sampling acceleration methods in terms of CIFAR-10 image generation, particularly at sampling steps of 5 and 10. These results illustrate that the decoupled forward and reverse processes fail to identify
|
| 204 |
+
|
| 205 |
+
7
|
| 206 |
+
|
| 207 |
+
Table 2: Comparising sampling acceleration methods in terms of **RMSE** results on variable denoising steps. _†_ indicate that the sampling is accelerated by quadratic skipping during inference, the others utilize uniform skipping. We highlight the best results that surpass the baseline (DDPM is trained with 100% sampling steps) in red color, which means our method generates high-quality time series with fewer denoising steps. The **bold** results show that our proposed EDDPM achieves better performance than other sampling acceleration methods.
|
| 208 |
+
|
| 209 |
+
|Dataset<br>Missing rate|Method<br>|Denoisingsteps<br>Baseline<br>10%<br>25%<br>40%<br>50%|
|
| 210 |
+
|---|---|---|
|
| 211 |
+
|Healthcare<br>10%<br>50%<br>90%|DDPM_†_<br>DDPM<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>NPR-DDIM<br>Ours(EDDPM)<br>|0.934<br>0.774<br>0.682<br>0.646<br>0.900<br>0.707<br>0.634<br>0.592<br>0.899<br>0.709<br>0.611<br>0.727<br>0.856<br>0.842<br>0.831<br>0.825<br>0.549<br>1.094<br>1.112<br>1.128<br>1.146<br>0.818<br>0.804<br>0.820<br>0.844<br>**0.582**<br>0.545<br>0.529<br>0.505|
|
| 212 |
+
||DDPM_†_<br>DDPM<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>NPR-DDIM<br>Ours(EDDPM)<br>|0.971<br>0.876<br>0.802<br>0.765<br>0.961<br>0.815<br>0.747<br>0.706<br>0.962<br>0.821<br>0.746<br>0.755<br>0.976<br>0.902<br>0.896<br>0.865<br>0.679<br>1.029<br>1.038<br>1.047<br>1.061<br>0.872<br>0.850<br>0.960<br>0.877<br>**0.721**<br>0.672<br>0.669<br>0.670|
|
| 213 |
+
||DDPM_†_<br>DDPM<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>NPR-DDIM<br>Ours(EDDPM)|0.990<br>0.963<br>0.931<br>0.911<br>0.101<br>0.931<br>0.883<br>0.850<br>0.101<br>0.961<br>0.900<br>0.875<br>0.982<br>0.919<br>0.916<br>0.901<br>0.823<br>1.179<br>1.115<br>1.105<br>1.095<br>0.953<br>0.913<br>0.914<br>0.917<br>**0.851**<br>0.811<br>0.809<br>0.815|
|
| 214 |
+
|Air-quality<br>13%|DDPM_†_<br>DDPM<br>DDIM_†_<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>SN-DDIM<br>NPR-DDPM<br>NPR-DDIM<br>Ours (EDDPM)|4%<br>10%<br>20%<br>40%<br>67.602<br>58.851<br>48.131<br>35.005<br>64.302<br>55.300<br>44.199<br>31.338<br>67.767<br>60.848<br>52.296<br>40.761<br>64.252<br>56.684<br>47.234<br>36.125<br>62.458<br>51.223<br>48.936<br>46.379<br>19.212<br>78.885<br>73.111<br>69.656<br>69.430<br>85.099<br>69.359<br>69.241<br>73.545<br>55.142<br>58.524<br>63.164<br>66.557<br>55.656<br>46.654<br>45.496<br>44.458<br>**30.967**<br>**23.024**<br>18.371<br>18.242|
|
| 215 |
+
|
| 216 |
+
the optimal sampling steps, while our EDDPM method can automatically identify more informative steps during training.
|
| 217 |
+
|
| 218 |
+
In Table 2, we evaluated the proposed EDDPM and alternative accelerated sampling methods. These methods utilize the same CSDI (Tashiro et al., 2021) backbone network for a pair-to-pair comparison. We have the following 3 observations. 1) The results demonstrate that, on Healthcare and Air-quality datasets, our proposed EDDPM can achieve better RMSE results than the baselines with 100% steps (blue text) even if 50% _∼_ 80% denoising steps are masked. 2) We also found that the denoising process with uniform skipping approach can obtain better performance than the quadratic skipping. 3) Furthermore, we observed that the methods DDIM, SN-DDPM and NPR-DDIM exhibit instability, particularly when a higher percentage of sampling steps is masked. The results deteriorate when 50% of the sampling steps are masked. Additionally, we present the MAE results on Figure 2(a). Our method achieves better MAE results than the baseline with denoising steps by only using 20% denoising steps. Moreover, our method demonstrates greater effectiveness at higher masking rates compared to DDIM (Song et al., 2020a).
|
| 219 |
+
|
| 220 |
+
## 5.2 ABLATION STUDY
|
| 221 |
+
|
| 222 |
+
In this section, we aim to provide a comprehensive understanding of EDDPM by showcasing the distribution of probability values **s** _i_ ’s throughout the complete training process and visually repre-
|
| 223 |
+
|
| 224 |
+
8
|
| 225 |
+
|
| 226 |
+
**==> picture [402 x 121] intentionally omitted <==**
|
| 227 |
+
|
| 228 |
+
**----- Start of picture text -----**<br>
|
| 229 |
+
Denoising steps 40%<br>Baseline 30 60% DDPM<br>50 DDPMDDIM 0.18 EDDPM<br>Ours 25<br>0.16<br>40 20 40% 0.14<br>30 9.8 15 0.12<br>9.6 10 0.10<br>20<br>5 0.08<br>10 0.06<br>0<br>2% 4% 10% 20% 40% 0.0 0.2 0.4 0.6 0.8 1.0 0 100 200<br>Denoising steps Step importance score # of Epoch<br>(a) MAE (b) Score Distribution (c) Training Loss<br>MAE<br># of Steps Training loss<br>**----- End of picture text -----**<br>
|
| 230 |
+
|
| 231 |
+
Figure 2: a) MAE results, in which our EDDPM method performs better than other DPMs when facing different masking rates. The “Baseline” indicates the imputated samples are generated by 100% sampling steps. b) The histogram of the probability **s** learned by our proposed EDDPM, and the results are obtained from Air-quality dataset. Almost all of the **s** _i_ ( _i ∈{_ 1 _, . . . , T }_ ) are either 0 or 1, making **m** becomes deterministic. c) The curves of training losses of DDPM and EDDPM. EDDPM converges much more fast than DDPM in the late stage since it identify the informative steps and focus on them to train the weights.
|
| 232 |
+
|
| 233 |
+
Table 3: Comparing the **MAE** results of DDPM and our proposed EDDPM. “Scratch” presents that the denoising steps are searched from scratch by our EDDPM, “Finetune” uses the pretrained DDPM models to search the most informative steps by finetuning one epoch. Here, DDPM and Ours(Stratch) have the same training time cost since they run for the same number of epoches and the training cost of updating **s** is negligible due to the efficient policy gradient estimator.
|
| 234 |
+
|
| 235 |
+
|Method|Denoisingsteps<br>Training time<br>2%<br>4%<br>10%<br>20%<br>40%|
|
| 236 |
+
|---|---|
|
| 237 |
+
|DDPM<br>Ours (Scratch)<br>Ours (Finetune)|55.075<br>50.566<br>41.585<br>30.243<br>18.399<br>4 h<br>15.125<br>14.128<br>11.135<br>9.5660<br>**9.495**<br>4 h<br>24.747<br>13.876<br>12.885<br>11.142<br>9.892<br>**1 min**|
|
| 238 |
+
|
| 239 |
+
senting the training progress. Additionally, we demonstrate the effectiveness of EDDPM in model compression, i.e., identifying the optimal denoising trajectory within pre-trained diffusion models.
|
| 240 |
+
|
| 241 |
+
**Convergence to Deterministic Mask.** Figure 2(b) illustrates the convergence of the probabilities learned by our method after training. It is evident that the probabilities **s** _i_ tend to converge towards either 0 or 1, resulting in a deterministic mask. This characteristic allows us to safely discard the insignificant steps once training is complete. The effectiveness of this convergence can be attributed to the global sparsity constraint imposed on **s** as we discussed in Section 4.
|
| 242 |
+
|
| 243 |
+
**Fast Convergence.** In Figure 2(c), we present a visualization of the impact of EDDPM on improving training efficiency. We can observe that the training loss of EDDPM decreases much faster than DDPM, especially in the late stage. The reason is that as the training goes on most of the **s** _i_ ( _i ∈ {_ 1 _, . . . , T }_ ) would get closer to either 0 or 1 (see Figure 2(b)), which enables EDDPM focus on the most informative steps to train the model weights.
|
| 244 |
+
|
| 245 |
+
**Finetuning Pretrained Diffusion Models.** We assess the effectiveness of EDDPM in compressing diffusion models. Specifically, we employ EDDPM on a pre-trained diffusion model to determine the optimal denoising trajectory. The outcomes presented in Table 3 indicate that EDDPM can achieve comparable performance in only 1 epoch, in contrast to the model trained from scratch. This highlights the potential of EDDPM as a practical tool for exploring large diffusion models with resource constraints.
|
| 246 |
+
|
| 247 |
+
## 6 CONCLUSION
|
| 248 |
+
|
| 249 |
+
In this paper, we propose an efficient denoising diffusion model via probabilistic masking to accelerate sample generation process. The main contribution is that the proposed probabilistic masking approach can identity and remove the redundant steps gradually during training. We re-implement several latest sampling acceleration methods on two time series imputation benchmarks and construct experiments on image generation task to verify the effectiveness of the proposed EDDPM. We also find that our method can find the optimal denoising steps by only using one epoch. This makes it possible to explore large diffusion models in academia with limited resources.
|
| 250 |
+
|
| 251 |
+
9
|
| 252 |
+
|
| 253 |
+
## REFERENCES
|
| 254 |
+
|
| 255 |
+
- Fan Bao, Chongxuan Li, Jun Zhu, and Bo Zhang. Analytic-dpm: an analytic estimate of the optimal reverse variance in diffusion probabilistic models. In _International Conference on Learning Representations_ , 2021.
|
| 256 |
+
|
| 257 |
+
- Fan Bao, Chongxuan Li, Jiacheng Sun, Jun Zhu, and Bo Zhang. Estimating the optimal covariance with imperfect mean in diffusion probabilistic models. In _International Conference on Machine Learning_ , pp. 1555–1584. PMLR, 2022.
|
| 258 |
+
|
| 259 |
+
- Edwin Bonilla and et al. Chai, Kian. Multi-task gaussian process prediction. _Advances in neural information processing systems_ , 20, 2007.
|
| 260 |
+
|
| 261 |
+
- Florian Bordes, Sina Honari, and Pascal Vincent. Learning to generate samples from noise through infusion training. In _International Conference on Learning Representations_ , 2016.
|
| 262 |
+
|
| 263 |
+
- Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale gan training for high fidelity natural image synthesis. In _International Conference on Learning Representations_ , 2018.
|
| 264 |
+
|
| 265 |
+
- Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. _Advances in neural information processing systems_ , 34:8780–8794, 2021.
|
| 266 |
+
|
| 267 |
+
- Tim Dockhorn, Arash Vahdat, and Karsten Kreis. Score-based generative modeling with criticallydamped langevin diffusion. In _International Conference on Learning Representations_ , 2021.
|
| 268 |
+
|
| 269 |
+
- Tim Dockhorn, Arash Vahdat, and Karsten Kreis. Genie: Higher-order denoising diffusion solvers. _Advances in Neural Information Processing Systems_ , 35:30150–30166, 2022.
|
| 270 |
+
|
| 271 |
+
- Vincent Fortuin, Dmitry Baranchuk, Gunnar R¨atsch, and Stephan Mandt. Gp-vae: Deep probabilistic time series imputation. In _International conference on artificial intelligence and statistics_ , pp. 1651–1661. PMLR, 2020.
|
| 272 |
+
|
| 273 |
+
- Trevor Hastie, Robert Tibshirani, and Martin Wainwright. _Statistical learning with sparsity: the lasso and generalizations_ . CRC press, 2015.
|
| 274 |
+
|
| 275 |
+
- Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. _Advances in neural information processing systems_ , 30, 2017.
|
| 276 |
+
|
| 277 |
+
- Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. _Advances in Neural Information Processing Systems_ , 33:6840–6851, 2020.
|
| 278 |
+
|
| 279 |
+
- Emiel Hoogeboom, Didrik Nielsen, Priyank Jaini, Patrick Forr´e, and Max Welling. Argmax flows and multinomial diffusion: Learning categorical distributions. _Advances in Neural Information Processing Systems_ , 34, 2021.
|
| 280 |
+
|
| 281 |
+
- Myeonghun Jeong, Hyeongju Kim, Sung Jun Cheon, Byoung Jin Choi, and Nam Soo Kim. Diff-tts: A denoising diffusion model for text-to-speech. _arXiv preprint arXiv:2104.01409_ , 2021.
|
| 282 |
+
|
| 283 |
+
- Alexia Jolicoeur-Martineau, R´emi Pich´e-Taillefer, Ioannis Mitliagkas, and Remi Tachet des Combes. Adversarial score matching and improved sampling for image generation. In _International Conference on Learning Representations_ , 2020.
|
| 284 |
+
|
| 285 |
+
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. _arXiv preprint arXiv:1412.6980_ , 2014.
|
| 286 |
+
|
| 287 |
+
- Zhifeng Kong, Wei Ping, Jiaji Huang, Kexin Zhao, and Bryan Catanzaro. Diffwave: A versatile diffusion model for audio synthesis. In _International Conference on Learning Representations_ , 2020.
|
| 288 |
+
|
| 289 |
+
- Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
|
| 290 |
+
|
| 291 |
+
10
|
| 292 |
+
|
| 293 |
+
- Xiang Li, John Thickstun, Ishaan Gulrajani, Percy S Liang, and Tatsunori B Hashimoto. Diffusionlm improves controllable text generation. _Advances in Neural Information Processing Systems_ , 35:4328–4343, 2022.
|
| 294 |
+
|
| 295 |
+
- Luping Liu, Yi Ren, Zhijie Lin, and Zhou Zhao. Pseudo numerical methods for diffusion models on manifolds. In _International Conference on Learning Representations_ , 2021.
|
| 296 |
+
|
| 297 |
+
- Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, and Jun Zhu. Dpm-solver: A fast ode solver for diffusion probabilistic model sampling in around 10 steps. _Advances in Neural Information Processing Systems_ , 35:5775–5787, 2022.
|
| 298 |
+
|
| 299 |
+
- Eric Luhman and Troy Luhman. Knowledge distillation in iterative generative models for improved sampling speed. _arXiv preprint arXiv:2101.02388_ , 2021.
|
| 300 |
+
|
| 301 |
+
- Shitong Luo and Wei Hu. Diffusion probabilistic models for 3d point cloud generation. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 2837–2845, 2021.
|
| 302 |
+
|
| 303 |
+
- Hengyuan Ma, Li Zhang, Xiatian Zhu, Jingfeng Zhang, and Jianfeng Feng. Accelerating scorebased generative models for high-resolution image synthesis. _arXiv preprint arXiv:2206.04029_ , 2022.
|
| 304 |
+
|
| 305 |
+
- Ahmad Wisnu Mulyadi, Eunji Jun, and Heung-Il Suk. Uncertainty-aware variational-recurrent imputation network for clinical time series. _IEEE Transactions on Cybernetics_ , 2021.
|
| 306 |
+
|
| 307 |
+
- Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In _International Conference on Machine Learning_ , pp. 8162–8171. PMLR, 2021.
|
| 308 |
+
|
| 309 |
+
- Kashif Rasul, Calvin Seward, Ingmar Schuster, and Roland Vollgraf. Autoregressive denoising diffusion models for multivariate probabilistic time series forecasting. In _International Conference on Machine Learning_ , pp. 8857–8868. PMLR, 2021.
|
| 310 |
+
|
| 311 |
+
- Chitwan Saharia, Jonathan Ho, William Chan, Tim Salimans, David J Fleet, and Mohammad Norouzi. Image super-resolution via iterative refinement. _IEEE Transactions on Pattern Analysis and Machine Intelligence_ , 45(4):4713–4726, 2022.
|
| 312 |
+
|
| 313 |
+
- Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. In _International Conference on Learning Representations_ , 2021.
|
| 314 |
+
|
| 315 |
+
Robin San-Roman, Eliya Nachmani, and Lior Wolf. Noise estimation for generative diffusion models. _arXiv preprint arXiv:2104.02600_ , 2021.
|
| 316 |
+
|
| 317 |
+
- Ikaro Silva, George Moody, Daniel J Scott, Leo A Celi, and Roger G Mark. Predicting in-hospital mortality of icu patients: The physionet/computing in cardiology challenge 2012. In _2012 Computing in Cardiology_ , pp. 245–248. IEEE, 2012.
|
| 318 |
+
|
| 319 |
+
- Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In _International Conference on Machine Learning_ , pp. 2256–2265. PMLR, 2015.
|
| 320 |
+
|
| 321 |
+
- Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In _International Conference on Learning Representations_ , 2020a.
|
| 322 |
+
|
| 323 |
+
- Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. _Advances in Neural Information Processing Systems_ , 32, 2019.
|
| 324 |
+
|
| 325 |
+
- Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In _International Conference on Learning Representations_ , 2020b.
|
| 326 |
+
|
| 327 |
+
- Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 2818–2826, 2016.
|
| 328 |
+
|
| 329 |
+
11
|
| 330 |
+
|
| 331 |
+
Yusuke Tashiro, Jiaming Song, Yang Song, and Stefano Ermon. Csdi: Conditional score-based diffusion models for probabilistic time series imputation. _Advances in Neural Information Processing Systems_ , 34, 2021.
|
| 332 |
+
|
| 333 |
+
- Weiran Wang and Miguel A Carreira-Perpin´an. Projection onto the probability simplex: An efficient algorithm with a simple proof, and an application. _arXiv preprint arXiv:1309.1541_ , 2013.
|
| 334 |
+
|
| 335 |
+
- Daniel Watson, William Chan, Jonathan Ho, and Mohammad Norouzi. Learning fast samplers for diffusion models by differentiating through sample quality. In _International Conference on Learning Representations_ , 2021a.
|
| 336 |
+
|
| 337 |
+
- Daniel Watson, Jonathan Ho, Mohammad Norouzi, and William Chan. Learning to efficiently sample from diffusion probabilistic models. _arXiv preprint arXiv:2106.03802_ , 2021b.
|
| 338 |
+
|
| 339 |
+
- Zhisheng Xiao, Karsten Kreis, and Arash Vahdat. Tackling the generative learning trilemma with denoising diffusion gans. _arXiv preprint arXiv:2112.07804_ , 2021.
|
| 340 |
+
|
| 341 |
+
- Ling Yang, Zhilong Zhang, Yang Song, Shenda Hong, Runsheng Xu, Yue Zhao, Wentao Zhang, Bin Cui, and Ming-Hsuan Yang. Diffusion models: A comprehensive survey of methods and applications. _ACM Computing Surveys_ , 2022.
|
| 342 |
+
|
| 343 |
+
- Qinsheng Zhang, Molei Tao, and Yongxin Chen. gddim: Generalized denoising diffusion implicit models. In _The Eleventh International Conference on Learning Representations_ , 2022.
|
| 344 |
+
|
| 345 |
+
- Michael Zhu and Suyog Gupta. To prune, or not to prune: exploring the efficacy of pruning for model compression. _arXiv preprint arXiv:1710.01878_ , 2017.
|
| 346 |
+
|
| 347 |
+
12
|
| 348 |
+
|
| 349 |
+
**Algorithm 1** Efficient Denoising Diffusion via Probabilistic Masking (EDDPM)
|
| 350 |
+
|
| 351 |
+
**Require:** Random initilized diffusion model _Fθ_ , _N_ is the training epoch, masking rate _γf_ . **Initilization:** Sampling probabilities for each time step: **s** = **1** _∈_ R _[T]_ 1: **for** epoch _e_ = 1 _,_ 2 _, .., N_ **do** 2: Calculate _γe_ according to Eqn.(12). 3: **for** each training iteration **do** 4: Sample mini batch of data _XB_ . 5: Bernoulli sampling based on scores **s** for masking diffusion steps. 6: Update variance schedule based on the sampled masks with Eqn.(7). 7: Random sample the unmasked diffusion step for training. 8: Compute diffusion model loss _L[t] θ_[.] 9: Back-propagation for _Fθ_ to estimate _∇θ_ Φ( _θ,_ **s** ). 10: Estimate _∇s_ Φ( _θ,_ **s** ) according to Eqn. (11) . 11: Update _θ_ and **s** according to Eqn.(13). 12: **end for** 13: **end for**
|
| 352 |
+
|
| 353 |
+
## A DIFFUSION MODEL WITH PROBABILISTIC MASKS
|
| 354 |
+
|
| 355 |
+
The masked _forward process_ is
|
| 356 |
+
|
| 357 |
+
**==> picture [210 x 59] intentionally omitted <==**
|
| 358 |
+
|
| 359 |
+
The masked _reverse process_ is
|
| 360 |
+
|
| 361 |
+
**==> picture [230 x 58] intentionally omitted <==**
|
| 362 |
+
|
| 363 |
+
The variational low bound for diffusion models can be written as:
|
| 364 |
+
|
| 365 |
+
**==> picture [282 x 169] intentionally omitted <==**
|
| 366 |
+
|
| 367 |
+
13
|
| 368 |
+
|
| 369 |
+
**==> picture [231 x 122] intentionally omitted <==**
|
| 370 |
+
|
| 371 |
+
**==> picture [446 x 182] intentionally omitted <==**
|
| 372 |
+
|
| 373 |
+
Note that
|
| 374 |
+
|
| 375 |
+
**==> picture [296 x 71] intentionally omitted <==**
|
| 376 |
+
|
| 377 |
+
where
|
| 378 |
+
|
| 379 |
+
**==> picture [295 x 27] intentionally omitted <==**
|
| 380 |
+
|
| 381 |
+
**==> picture [208 x 13] intentionally omitted <==**
|
| 382 |
+
|
| 383 |
+
We define
|
| 384 |
+
|
| 385 |
+
**==> picture [373 x 137] intentionally omitted <==**
|
| 386 |
+
|
| 387 |
+
we can get,
|
| 388 |
+
|
| 389 |
+
14
|
| 390 |
+
|
| 391 |
+
where
|
| 392 |
+
|
| 393 |
+
**==> picture [298 x 73] intentionally omitted <==**
|
| 394 |
+
|
| 395 |
+
In this paper, following DDPM, we choose
|
| 396 |
+
|
| 397 |
+
In this case,
|
| 398 |
+
|
| 399 |
+
**==> picture [48 x 11] intentionally omitted <==**
|
| 400 |
+
|
| 401 |
+
For _µ_ ˜ _t_ ( **x** _t,_ **x** 0), since
|
| 402 |
+
|
| 403 |
+
**==> picture [244 x 13] intentionally omitted <==**
|
| 404 |
+
|
| 405 |
+
we have
|
| 406 |
+
|
| 407 |
+
**==> picture [286 x 121] intentionally omitted <==**
|
| 408 |
+
|
| 409 |
+
Hence, we define
|
| 410 |
+
|
| 411 |
+
**==> picture [234 x 31] intentionally omitted <==**
|
| 412 |
+
|
| 413 |
+
Then, we have
|
| 414 |
+
|
| 415 |
+
**==> picture [304 x 80] intentionally omitted <==**
|
| 416 |
+
|
| 417 |
+
Finally, we get the loss as follows:
|
| 418 |
+
|
| 419 |
+
**==> picture [371 x 32] intentionally omitted <==**
|
| 420 |
+
|
| 421 |
+
Thus, we get the objective function in the main paper.
|
| 422 |
+
|
| 423 |
+
B PROJECTION OPERATOR IMPLEMENTATION
|
| 424 |
+
|
| 425 |
+
**Theorem 1.** _Given a vector_ **z** _, its projection_ **s** _onto our constraint region {_ **s** _∈_ R _[T]_ : _∥_ **s** _∥_ 1 _≤ Ke,_ **s** _∈_ [0 _,_ 1] _[T] } can be computed as follows:_
|
| 426 |
+
|
| 427 |
+
**s** = min(1 _,_ max(0 _,_ **z** _− v_ 2 _[∗]_ **[1]**[))] _[.]_
|
| 428 |
+
|
| 429 |
+
_where v_ 2 _[∗]_[= max(0] _[, v]_ 1 _[∗]_[)] _[ and][ v]_ 1 _[∗][is the solution to the following equation:]_ **1** _[⊤]_ [min(1 _,_ max(0 _,_ **z** _− v_ 1 _[∗]_ **[1]**[))]] _[ −][K][e]_[= 0] _[.]_ (14)
|
| 430 |
+
|
| 431 |
+
15
|
| 432 |
+
|
| 433 |
+
The equation (14) can be efficiently solved using the bisection method.
|
| 434 |
+
|
| 435 |
+
We would like to point out that the theorem above as well as its proof is standard and similar cases can be found in (Wang & Carreira-Perpin´an, 2013). To make this paper self-contained, we present them in the appendix, although this is not our contribution.
|
| 436 |
+
|
| 437 |
+
_Proof._ The projection of **z** onto the set _{_ **s** _∈_ R _[T]_ : _∥_ **s** _∥_ 1 _≤ Ke,_ **s** _∈_ [0 _,_ 1] _[T] }_ can be formulated as the following optimization problem:
|
| 438 |
+
|
| 439 |
+
**==> picture [180 x 37] intentionally omitted <==**
|
| 440 |
+
|
| 441 |
+
We derive the solution as follows.
|
| 442 |
+
|
| 443 |
+
The Lagrangian of the problem is given by:
|
| 444 |
+
|
| 445 |
+
**==> picture [307 x 45] intentionally omitted <==**
|
| 446 |
+
|
| 447 |
+
subject to _v ≥_ 0 and 0 _≤_ **s** _i ≤_ 1.
|
| 448 |
+
|
| 449 |
+
Minimizing the problem with respect to **s** , we obtain:
|
| 450 |
+
|
| 451 |
+
**==> picture [269 x 12] intentionally omitted <==**
|
| 452 |
+
|
| 453 |
+
Then we have:
|
| 454 |
+
|
| 455 |
+
**==> picture [200 x 152] intentionally omitted <==**
|
| 456 |
+
|
| 457 |
+
To verify that _g[′]_ ( _v_ ) is a monotone decreasing function with respect to _v_ , we can use the bisection method to solve the equation _g[′]_ ( _v_ ) = 0 and find the solution _v_ 1 _[∗]_[.][It][can][be][observed][that] _[g]_[(] _[v]_[)] increases in the range ( _−∞, v_ 1 _[∗]_[]][and][decreases][in][the][range][[] _[v]_ 1 _[∗][,]_[ +] _[∞]_[)][.][The][maximum][of] _[g]_[(] _[v]_[)][is] achieved at 0 if _v_ 1 _[∗][≤]_[0][, and at] _[ v]_ 1 _[∗]_[if] _[ v]_ 1 _[∗][>]_[0][.][We then set] _[ v]_ 2 _[∗]_[=] _[max]_[(0] _[, v]_ 1 _[∗]_[)][.][Finally, the projection] **s** _[∗]_ is given by:
|
| 458 |
+
|
| 459 |
+
**==> picture [276 x 26] intentionally omitted <==**
|
| 460 |
+
|
| 461 |
+
## C ANALYSIS ON THE SPARSITY OF THE OPTIMAL SCORE
|
| 462 |
+
|
| 463 |
+
As we claimed in the main text, most the elements of score vector **s** would converge to either 0 or 1 as the training goes on. It is equivalent to say that most of the elements in the optimal solution **s** _[∗]_ are either 0 or 1. To explain this, let us start from understanding the sparsity of lasso.
|
| 464 |
+
|
| 465 |
+
16
|
| 466 |
+
|
| 467 |
+
**==> picture [96 x 115] intentionally omitted <==**
|
| 468 |
+
|
| 469 |
+
Figure 3: Estimation picture for the lasso (Hastie et al., 2015).
|
| 470 |
+
|
| 471 |
+
Prof. Robert Tibshirani, the author of the well-known sparse learning method lasso, provides an explanation on the sparsity in lasso from a geometric perspective in pages 10-12 of his book titled Statistical Learning with Sparsity: The Lasso and Generalizations (Hastie et al., 2015). To be precise, the optimization problem of lasso is equivalent to the following one with some _t_ :
|
| 472 |
+
|
| 473 |
+
**==> picture [142 x 29] intentionally omitted <==**
|
| 474 |
+
|
| 475 |
+
where **X** _∈_ R _[n][×][p]_ is the feature matrix of _n_ samples and **y** _∈_ R _[n]_ is the response vector. Note that the constraint region above is a diamond ( _p_ = 2) or a rhomboid ( _p >_ 2). As shown in Figure 3, which is copied from page 11 of the above textbook, the optimal solution is the point, where the elliptical contours of the loss hit this constraint region. When the dimension _p_ = 2, the diamond has corners; if the solution occurs at a corner, then it has one parameter _βj_ equal to 0. When _p >_ 2, the diamond becomes a rhomboid, and has many corners, flat edges, and faces; there are many more opportunities for the estimated parameters to be zero. Please refer to page 12 of the above book for more details.
|
| 476 |
+
|
| 477 |
+
The situation in our problem is essentially the same with lasso, the only difference is that our constraint region _{_[�] _[T] t_ =1 _[|][s][t][|][≤][K,]_ **[ s]** _[∈]_[[0] _[,]_[ 1]] _[T][ }]_[ has more corners (i.e., the coordinates are 0 or 1) than] that of lasso, therefore, the optimal _st_ has a high probability to be either 0 or 1.
|
| 478 |
+
|
| 479 |
+
## D BASICS
|
| 480 |
+
|
| 481 |
+
## D.1 MUTUAL SKIPPING OF SAMPLING STEPS
|
| 482 |
+
|
| 483 |
+
To improve the efficiency of sample generation process, previous methods (Song et al., 2020a; Bao et al., 2022; 2021) always manually select the denoising steps through uniform skipping and quadratic skipping. The mathematical expression of the above skipping approaches can be written as:
|
| 484 |
+
|
| 485 |
+
**==> picture [356 x 31] intentionally omitted <==**
|
| 486 |
+
|
| 487 |
+
where _i_ = 1 _, . . . , L_ . _T_ and _L_ are the number of diffusion steps and number of denoising steps in the training and testing state respectively. _S_ is the skipping step. The difference of _T_ and _L_ results in decoupled forward and reverse processes, which makes a suboptimal performance. Instead, our proposed probabilistic masking method can identify and keep the most informative steps during training.
|
| 488 |
+
|
| 489 |
+
## D.2 MULTIVARIATE TIME SERIES IMPUTATION
|
| 490 |
+
|
| 491 |
+
Let us denote each time series as **X** _∈ R[K][×][P]_ , where _K_ is the number of features and _P_ is the length of time series. Probabilistic time series imputation is to estimate the missing values of _X_ by
|
| 492 |
+
|
| 493 |
+
17
|
| 494 |
+
|
| 495 |
+
exploiting the observed values of _X_ . The diffusion model is used to estimate the true conditional data distribution _q_ ( _x[t]_ 0 _[|][x][c]_ 0[)][, where] _[ x][t]_ 0[and] _[ x][c]_ 0[are the imputation targets and conditional observations] respectively.
|
| 496 |
+
|
| 497 |
+
## E EXPERIMENTS
|
| 498 |
+
|
| 499 |
+
## E.1 TIME SERIES DATASETS
|
| 500 |
+
|
| 501 |
+
Healthcare dataset (Silva et al., 2012) consists of 4000 clinical time series with 35 variables for 48 hours from intensive care unit (ICU), and it contains around 80% missing values. Following previous study (Tashiro et al., 2021), we randomly choose 10/50/90% of observed values as ground-truth on the test data for imputation.
|
| 502 |
+
|
| 503 |
+
Air-quality dataset is composed of air quality data from 36 stations in Beijing from 2014/05/01 to 2015/04/30, and it has around 13% missing values. We set 36 consecutive time steps as one time series. To build missing values in the time series, we follow the empirical settings of the baseline (Tashiro et al., 2021), we adopt the random strategy for the healthcare dataset and the mix of the random and historical strategy for the air quality dataset.
|
| 504 |
+
|
| 505 |
+
## E.2 IMPLEMENT DETAILS
|
| 506 |
+
|
| 507 |
+
All the experiments are implemented by Pytorch 1.7.0 on a virtual workstation with 8 11G memory Nvidia GeForce RTX 2080Ti GPUs.
|
| 508 |
+
|
| 509 |
+
**Time series.** As for model hyper-parameters, we set the batch size as 16 and the number of epochs as 200. We used Adam (Kingma & Ba, 2014) optimizer with learning rate 0.001 that is decayed to 0.0001 and 0.00001 at 75% and 90% of the total epochs, respectively. For the diffusion model, we follow the CSDI (Tashiro et al., 2021) architecture to set the number of residual layers as 4, residual channels as 64, and attention heads as 8. The denoising step _T_ is set to 50 as our baseline.
|
| 510 |
+
|
| 511 |
+
**Image data.** Following (Nichol & Dhariwal, 2021), we use the U-Net model architecture, train 500K iterations with a batch size of 128, use a learning rate of 0.0001 with the Adam (Kingma & Ba, 2014) optimizer and use an exponential moving average (EMA) with a rate of 0.9999. The denoising step _T_ is set to 1000 and the linear forward noise schedule is used as our baseline.
|
| 512 |
+
|
| 513 |
+
## E.3 EVALUATION METRIC
|
| 514 |
+
|
| 515 |
+
The detailed formulations of three metrics for time series task are:
|
| 516 |
+
|
| 517 |
+
**==> picture [285 x 72] intentionally omitted <==**
|
| 518 |
+
|
| 519 |
+
**==> picture [285 x 24] intentionally omitted <==**
|
| 520 |
+
|
| 521 |
+
where _x_ denotes the ground truth of the missed time series, _x_ ˆ represents the predicted values. _F_ is the cumulative distribution function of observations.
|
| 522 |
+
|
| 523 |
+
## E.4 MAIN RESULTS
|
| 524 |
+
|
| 525 |
+
As shown in Table 4, our proposed EDDPM can achieve better results than the baselines with 100% steps (blue text) even if 60% _∼_ 75% denoising steps are masked. These results are consistent with the conclusion of the main paper.
|
| 526 |
+
|
| 527 |
+
18
|
| 528 |
+
|
| 529 |
+
**==> picture [402 x 157] intentionally omitted <==**
|
| 530 |
+
|
| 531 |
+
**----- Start of picture text -----**<br>
|
| 532 |
+
Denoising steps 10 Denoising steps 50<br>1000<br>800<br>800<br>600 600<br>400 400<br>200 200<br>0 0<br>0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0<br>Step importance score Step importance score<br># of Steps # of Steps<br>**----- End of picture text -----**<br>
|
| 533 |
+
|
| 534 |
+
Figure 4: The histogram of the probability **s** learned by our proposed EDDPM, and the results are obtained from CIFAR-10 dataset.
|
| 535 |
+
|
| 536 |
+
## E.5 VISUALIZATION RESULTS
|
| 537 |
+
|
| 538 |
+
From the results illustrated in Figure 5, we can conclude that our proposed EDDPM can generate more accurate probabilistic imputation results by only using the original 20% _∼_ 50% steps.
|
| 539 |
+
|
| 540 |
+
For CIFAR-10 image generation, Figure 6 and 8 show that our proposed EDDPM can generate more high-quality image samples than DDIM (Song et al., 2020a) when using 10 denoising steps. Figure 7 and 9 show the sample pairs generated by our EDDPM with 5, 10 and 100 denoising steps, from these results we can conclude that our method generate high-quality CIFAR-10 images using 5 steps.
|
| 541 |
+
|
| 542 |
+
19
|
| 543 |
+
|
| 544 |
+
Table 4: Comparising sampling acceleration methods in terms of **CRPS** results on variable denoising steps. _†_ indicate that the sampling is accelerated by quadratic skipping during inference, the others utilize uniform skipping. We highlight the best results that surpass the baselines in red color, which means our method generates high-quality time series with fewer denoising steps. The **bold** results show that our proposed EDDPM achieves better performance than other sampling acceleration methods.
|
| 545 |
+
|
| 546 |
+
|Dataset<br>Missing|Method<br>|Denoisingsteps<br>Baselines<br>10%<br>25%<br>40%<br>50%|
|
| 547 |
+
|---|---|---|
|
| 548 |
+
|Healthcare<br>10%<br>50%<br>90%|DDPM_†_<br>DDPM<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>NPR-DDIM<br>Ours<br>|0.688<br>0.501<br>0.382<br>0.326<br>0.640<br>0.431<br>0.344<br>0.276<br>0.641<br>0.495<br>0.564<br>0.840<br>0.615<br>0.536<br>0.516<br>0.501<br>0.238<br>0.769<br>0.757<br>0.762<br>0.769<br>0.573<br>0.502<br>0.504<br>0.516<br>**0.267**<br>0.237<br>0.235<br>0.231|
|
| 549 |
+
||DDPM_†_<br>DDPM<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>NPR-DDIM<br>Ours<br>|0.699<br>0.582<br>0.490<br>0.439<br>0.675<br>0.516<br>0.437<br>0.372<br>0.675<br>0.562<br>0.601<br>0.810<br>0.698<br>0.586<br>0.572<br>0.579<br>0.331<br>0.761<br>0.752<br>0.759<br>0.772<br>0.612<br>0.546<br>0.547<br>0.561<br>**0.357**<br>**0.337**<br>0.321<br>0.330|
|
| 550 |
+
||DDPM _†_<br>DDPM<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>NPR-DDIM<br>Ours|0.731<br>0.690<br>0.648<br>0.622<br>0.737<br>0.654<br>0.594<br>0.557<br>0.737<br>0.695<br>0.715<br>0.856<br>0.715<br>0.685<br>0.672<br>0.668<br>0.522<br>0.840<br>0.810<br>0.808<br>0.810<br>0.704<br>0.647<br>0.643<br>0.644<br>**0.572**<br>0.517<br>0.516<br>0.513|
|
| 551 |
+
|Air-quality<br>13%|DDPM_†_<br>DDPM<br>DDIM_†_<br>DDIM<br>AnalyticDPM<br>SN-DDPM<br>SN-DDIM<br>NPR-DDPM<br>NPR-DDIM<br>Ours|4%<br>10%<br>20%<br>40%<br>0.568<br>0.482<br>0.374<br>0.217<br>0.536<br>0.453<br>0.344<br>0.209<br>0.569<br>0.507<br>0.464<br>0.605<br>0.537<br>0.485<br>0.619<br>1.553<br>0.489<br>0.453<br>0.429<br>0.382<br>0.109<br>0.557<br>0.507<br>0.482<br>0.481<br>0.653<br>0.568<br>0.558<br>0.582<br>0.359<br>0.355<br>0.377<br>0.395<br>0.362<br>0.344<br>0.305<br>0.271<br>**0.170**<br>**0.133**<br>**0.112**<br>0.104|
|
| 552 |
+
|
| 553 |
+
20
|
| 554 |
+
|
| 555 |
+
**==> picture [409 x 483] intentionally omitted <==**
|
| 556 |
+
|
| 557 |
+
**----- Start of picture text -----**<br>
|
| 558 |
+
175 CSDI (100%) CSDI (100%)<br>EDDPM (20%) 300 EDDPM (20%)<br>150<br>250<br>125<br>200<br>100<br>75 150<br>50 100<br>25<br>50<br>0<br>0 5 10 15 20 25 30 35 0 5 10 15 20 25 30 35<br>Time Time<br>160 CSDI (100%) CSDI (100%)<br>EDDPM (20%) 120 EDDPM (50%)<br>140<br>100<br>120<br>80<br>100<br>60<br>80<br>40<br>60<br>0 5 10 15 20 25 30 35 0 5 10 15 20 25 30 35<br>Time Time<br>100 CSDI (100%) 175 CSDI (100%)<br>EDDPM (50%) EDDPM (50%)<br>150<br>80<br>125<br>60 100<br>75<br>40<br>50<br>20 25<br>0<br>0 5 10 15 20 25 30 35 0 5 10 15 20 25 30 35<br>Time Time<br>Value Value<br>Value Value<br>Value Value<br>**----- End of picture text -----**<br>
|
| 559 |
+
|
| 560 |
+
Figure 5: The comparison of our EDDPM method and DDPM Ho et al. (2020) for probabilistic time series imputation on Air-quality dataset. CSDI model is trained by DDPM. The black crosses show observed values and the blue circles show ground-truth imputation targets. red and green colors correspond to our EDDPM and CSDI, respectively. For each method, median values of imputations are shown as the line and 5% and 95% quantiles are shown as the shade.
|
| 561 |
+
|
| 562 |
+
21
|
| 563 |
+
|
| 564 |
+
**==> picture [388 x 178] intentionally omitted <==**
|
| 565 |
+
|
| 566 |
+
**----- Start of picture text -----**<br>
|
| 567 |
+
DDIM EDDPM<br>**----- End of picture text -----**<br>
|
| 568 |
+
|
| 569 |
+
Figure 6: Random samples generated by DDIM Song et al. (2020a) and EDDPM (ours) with 10 denoising steps on CIFAR-10 dataset. We only present the result in this extreme sparse case since the results for more denoising steps are difficult to differentiate for human beings.
|
| 570 |
+
|
| 571 |
+
**==> picture [394 x 153] intentionally omitted <==**
|
| 572 |
+
|
| 573 |
+
**----- Start of picture text -----**<br>
|
| 574 |
+
T = 100 T = 10 T = 5<br>**----- End of picture text -----**<br>
|
| 575 |
+
|
| 576 |
+
Figure 7: Random samples generated by our EDDPM with 5, 10 and 100 denoising steps on CIFAR10 dataset.
|
| 577 |
+
|
| 578 |
+
**==> picture [262 x 65] intentionally omitted <==**
|
| 579 |
+
|
| 580 |
+
**----- Start of picture text -----**<br>
|
| 581 |
+
DDIM<br>EDDPM<br>**----- End of picture text -----**<br>
|
| 582 |
+
|
| 583 |
+
Figure 8: Sample pair comparison based on DDIM Song et al. (2020a) and EDDPM (ours) with 10 denoising steps on CIFAR-10 dataset. We can see that our method can generate images with more details.
|
| 584 |
+
|
| 585 |
+
**==> picture [292 x 119] intentionally omitted <==**
|
| 586 |
+
|
| 587 |
+
**----- Start of picture text -----**<br>
|
| 588 |
+
T = 5<br>T = 10<br>T = 100<br>**----- End of picture text -----**<br>
|
| 589 |
+
|
| 590 |
+
Figure 9: Random samples generated by our EDDPM with 5, 10 and 100 denoising steps on CIFAR10 dataset.
|
| 591 |
+
|
| 592 |
+
22
|
| 593 |
+
|
open_review/iclr2024_9108.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9108",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Towards Analyzing Self-attention via Linear Neural Network",
|
| 6 |
+
"abstract": "Self-attention is a key component of the transformer architecture which has driven much of recent advances in AI. Theoretical analysis of self-attention has received significant attention and remains a work in progress. In this paper, we analyze gradient flow training of a simplified transformer model consisting of a single linear self-attention layer (thus it lacks softmax, MLP, and layer-normalization) with a single head on a histogram-like problem: the input is a sequence of characters from an alphabet and the output is the vector of counts of each letter in the input sequence. Our analysis goes via a reduction to 2-layer linear neural networks in which the input layer matrix is a diagonal matrix. We provide a complete analysis of gradient flow on these networks. Our reduction to linear neural networks involves one assumption which we empirically verify. Our analysis extends to various extensions of the histogram problem.",
|
| 7 |
+
"rebuttal": "### Common Response to the Reviewers\nWe thank the reviewers for their responses. \n\nA common concern of the reviewers is that the problem considered is too simple because (1) histogram-like tasks are very simple, (2) the self-attention model strips many features of transformers like softmax.\n \nTheoretical analysis of deep learning lags far behind empirical model. Even one-hidden-layer MLPs are not well-understood. This has necessitated that theoretical analyses simplify the problem to its core, e.g., by considering toy learning problems and simplifying the transformer, or by introducing multiple assumptions.\n \nFor example, recently the problem of analysing linear regression using one-layer transformers has attracted much attention, e.g. [4, 5, 6], and these papers study simplified models similar to ours. \n\n1. Similarly, in the papers suggested by Reviewer 4ez9, either the results are not as strong as ours, or the proofs require stronger assumptions than ours:\n\t1. In [1], there are no guarantees on convergence or convergence rates. Furthermore, all the results assume that some of the parameters are fixed during training. In contrast, we provide results under no such assumptions. \n\t2. In [2], the results rely on the assumptions that the input sequence is long enough, and that the learning rates for decoder layer and attention layer are different, and one is much faster than the other. \n\t3. In [3], there are multiple assumptions and it studies a related but distinct problem, namely prompt tuning.\n\nWhile these results are incomparable and so is ours, we think the problem of understanding transformer training dynamics, and more generally of neural networks, is a difficult and multifaceted one, and these papers are attacking different facets. Thus not being comparable remark in our paper was not meant as a criticism of prior work. \n\n\n\nLinear neural networks \nApart from the analysis of self-attention, our work also contributes to the analysis of linear neural networks as discussed in our paper. Perhaps surprisingly, even the analysis of two-layer linear neural networks is currently incomplete despite considerable work in the last few year. Further simplified models such as diagonal linear networks are studied in the literature, e.g., [Vaskevicius et al. (2019); Woodworth et al. (2020); HaoChen et al. (2021); Pesme et al. (2021); Berthier (2023); Boix-Adsera et al. (2023)] as cited in our paper.\n\nFurthermore, recent work suggests that analyzing linear transformers (without softmax) is helpful even for studying more general transformers [5].\n\n\n[1] Yuchen Li, Yuanzhi Li, and Andrej Risteski. How do transformers learn topic structure: Towards a mechanistic understanding, 2023. \n\n[2] Yuandong Tian, Yiping Wang, Beidi Chen, and Simon Du. Scan and snap: Understanding training dynamics and token composition in 1-layer transformer, 2023. \n\n[3] Samet Oymak, Ankit Singh Rawat, Mahdi Soltanolkotabi, and Christos Thrampoulidis. On the role of attention in prompt-tuning. arXiv preprint arXiv:2306.03435, 2023.\n\n[4] J. von Oswald et al. Transformer learn in-context by gradient descent. ICML 2023.\n\n[5] Ahn, K., Cheng, X., Daneshmand, H. and Sra, S., 2023. Transformers learn to implement preconditioned gradient descent for in-context learning. NeurIPS 2023.\n\n[6] R. Zhang et al. Trained Transformers Learn Linear Models In-Context. https://arxiv.org/abs/2306.09927\n\n[7] Ahn, K., Cheng, X., Song, M., Yun, C., Jadbabaie, A. and Sra, S., 2023. Linear attention is (maybe) all you need (to understand transformer optimization). arXiv preprint arXiv:2310.01082.\n\nThank you for your suggestions. We have added additional some additional experiments demonstrating our theoretical results, and the behavior of the loss function under random and bad initializations.\n\nThank you for your suggestions. The remarks are better called corollaries than extensions. We will incorporate your suggestions in our revision.",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
3,
|
| 11 |
+
5
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 4.33,
|
| 14 |
+
"score_variance": 1.33,
|
| 15 |
+
"score_spread": 2,
|
| 16 |
+
"score_min": 3,
|
| 17 |
+
"score_max": 5,
|
| 18 |
+
"decision": "Reject",
|
| 19 |
+
"rebuttal_validity_ground_truth": false,
|
| 20 |
+
"meta_review": "All reviewers find the paper making too many simplifications to Attention architecture as well as the training task for the presented analysis to be of interest. Given the existing work on analyzing transformer dynamics, I agree with reviewers that the setting of this work is not very interesting and hence recommend rejection.",
|
| 21 |
+
"forum_id": "4fVuBf5HE9",
|
| 22 |
+
"primary_area": "learning theory",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_4ez9",
|
| 27 |
+
"review_id": "ngnGDX5uND",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 5,
|
| 30 |
+
"soundness": 2,
|
| 31 |
+
"presentation": 2,
|
| 32 |
+
"contribution": 1,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 1900,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 382323,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_nN7u",
|
| 43 |
+
"review_id": "LdyHMV3Pz1",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 3,
|
| 46 |
+
"soundness": 2,
|
| 47 |
+
"presentation": 2,
|
| 48 |
+
"contribution": 2,
|
| 49 |
+
"confidence": 3
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 2674,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 394115,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_7ZKc",
|
| 59 |
+
"review_id": "E7xBgiAIJO",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 5,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 3,
|
| 64 |
+
"contribution": 2,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 1465,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 808289,
|
| 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_9108.md
ADDED
|
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - TOWARDS ANALYZING SELF ATTENTION VIA LINEAR NEURAL NETWORKS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Self-attention is a key component of the transformer architecture which has driven much of recent advances in AI. Theoretical analysis of self-attention has received significant attention and remains a work in progress. In this paper, we analyze gradient flow training of a simplified transformer model consisting of a single linear self-attention layer (thus it lacks softmax, MLP, layer-normalization, and positional information) with a single head on a histogram-like problem: the input is a sequence of symbols from an alphabet and the output is a sequence of the same length with each position consisting of the frequency in the input sequence of the symbol at that position in the input sequence. Our analysis goes via a reduction to 2-layer linear neural networks in which the input layer matrix is a diagonal matrix. We provide a complete analysis of gradient flow on these networks. Our reduction to linear neural networks involves one assumption which we empirically verify. Our analysis applies to various extensions of the histogram problem.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Self-attention is a key component in transformers Vaswani et al. (2017) which have radically transformed NLP (OpenAI, 2023), vision (Dosovitskiy et al., 2021), multimodal (Jaegle et al., 2021) and more. Unfortunately, theoretical understanding of transformers, and in particular of self-attention, lags far behind these dramatic advances.
|
| 14 |
+
|
| 15 |
+
Many recent works study transformers and self-attention theoretically from various viewpoints including their expressive and computational power. Here we confine our discussion to papers on training dynamics. Jelassi et al. (2022); Li et al. (2023); Tian et al. (2023); Boix-Adser`a et al. (2023); Zhang et al. (2023); Tarzanagh et al. (2023) analyze training dynamics of transformers for various specific problems. While insightful, these papers generally involve stylized assumptions and this makes it difficult to compare the results.
|
| 16 |
+
|
| 17 |
+
Our work is in this line of research but differs from the prior work in the specific problems, assumptions, and proof method. We analyze gradient flow training of a simplified transformer model consisting of a single linear self-attention layer (thus it lacks softmax, MLP, layer-normalization, and positional information) with a single head on the histogram problem (Weiss et al., 2021): the input is a sequence of symbols from an alphabet and the output is a sequence of the same length with each position consisting of the frequency in the input of the symbol at that position in the input sequence. For example, for the input sequence _adbcba_ , the output sequence would be [2 _,_ 1 _,_ 2 _,_ 1 _,_ 2 _,_ 2]. In addition to the basic histogram problem, we also consider its extensions. These extensions, instead of counting the number of times a symbol occurs in the input, count the number of symbols in the input that stand in a specific relation to the character. These problems require nontrivial learning: the model needs to learn relations among the symbols and count the relevant symbols (for basic histograms this relation is the equality relation but we allow more complex relations). These histogram-like problems can be solved by the simplified transformer as we show via constructions.
|
| 18 |
+
|
| 19 |
+
Our method is via reduction of training of simplified transformer on the histogram problem to the training of a linear neural network with two layers. Linear neural networks are neural networks without nonlinearities; in other words, the output _**y**_ is obtained by successively applying linear transformations to the input: _**y**_ = _**W**_ **1** _. . ._ _**WLx**_ . Clearly, linear neural networks are highly limited as they are only able to compute linear functions of the input. However, their loss landscape is non-convex in the parameters though they tend to be relatively more tractable than nonlinear neural
|
| 20 |
+
|
| 21 |
+
1
|
| 22 |
+
|
| 23 |
+
networks. Moreover, their training dynamics can exhibit the richness of (nonlinear) neural networks (Saxe et al., 2019; Kleinman et al., 2023). These characteristics have led to intense study of linear neural networks, e.g., (Baldi & Hornik, 1989; Saxe et al., 2014; Kawaguchi, 2016; Arora et al., 2019; Du & Hu, 2019; Zou et al., 2020; Min et al., 2021; Xu et al., 2023; Min et al., 2023). While this work has greatly increased the understanding of linear neural networks, to our knowledge, analysis of training of 2-layer linear networks remains open without significant assumptions.
|
| 24 |
+
|
| 25 |
+
The linear neural networks arising in our work have two layers and have a special structure: _**y**_ = _**W**_ **1** _**W**_ **2** _**x**_ , with _**W**_ **1** and _**W**_ **2** square matrices and _**W**_ **2** a diagonal matrix. We call these networks _df-linear networks_ for diagonal layer followed by the fully-connected layer. While df-linear networks seem to not have been considered in the literature before, simpler diagonal linear networks where both layers are diagonal have been. Even these networks are sufficiently rich to exhibit many features of the training dynamics of nonlinear networks and have seen significant work recently, e.g., Vaskevicius et al. (2019); Woodworth et al. (2020); HaoChen et al. (2021); Pesme et al. (2021); Berthier (2023); Boix-Adser`a et al. (2023). The corresponding optimization problem remains nonconvex and challenging, though the added simplicity of both layers being diagonal now allows for studying many finer aspects of training such as the effect of noise and incremental learning (how the complexity of the learned networks changes during training).
|
| 26 |
+
|
| 27 |
+
While the requirement of square matrices in df-linear network precludes use of large width to make analysis tractable, _**W**_ **2** being diagonal allows for decoupling of different coordinates reducing the problem to a collection of 1-dimensional problems. We give an essentially complete analysis of the 1-dimensional problem.
|
| 28 |
+
|
| 29 |
+
## 2 PRELIMINARIES
|
| 30 |
+
|
| 31 |
+
## 2.1 NOTATIONS
|
| 32 |
+
|
| 33 |
+
The set _{_ 1 _,_ 2 _, . . . , d}_ is denoted by [ _d_ ]. If _f_ is a time-dependent function, then _ft_ and _f_ ( _t_ ) are interchangeably used to denote the value of _f_ at time _t_ . The time derivative[d] d _[f] t_[is also denoted by] _[f]_[˙][.]
|
| 34 |
+
|
| 35 |
+
We define the map Diag : R _[d] →_ R _[d][×][d]_ that takes a vector _**a**_ = [ _a_ 1 _, . . . , ad_ ] _[T]_ and produces a diagonal matrix Diag( _**a**_ ) whose _i_ -th diagonal entry is _ai_ . Similarly, the map diag : R _[d][×][d] →_ R _[d]_ takes a matrix _**A**_ = [ _Ai,j_ ] as an input and produces a _d_ -dimensional vector diag( _**A**_ ) whose _i_ -th coordinate is _Aii_ . We also define the function _D_ : R _[d][×][d] →_ R _[d][×][d]_ by _D_ ( _**A**_ ) = Diag(diag( _**A**_ )); i.e., it retrieves the diagonal part of the matrix. We use 1 to denote an indicator; for an expression _e_ , 1 _e_ is 1 if _e_ is true, and 0 if _e_ is false.
|
| 36 |
+
|
| 37 |
+
For a vector _v_ , _∥v∥_ denotes the _L_ 2 norm. For a matrix _A_ , _∥A∥F_ denotes the Frobenius norm.
|
| 38 |
+
|
| 39 |
+
## 2.2 TRANSFORMERS
|
| 40 |
+
|
| 41 |
+
We consider a variant of the transformer architecture given in Vaswani et al. (2017). Let the input alphabet be Σ. We model sequence-to-sequence functions of the form _f_ : Σ _[N] →_ R _[N][×][d]_[out] , using attention-only 1-layer transformers.
|
| 42 |
+
|
| 43 |
+
The input sequence is given to the transformer as a matrix of one-hot embeddings of the sequence, _**X** ∈_ R _[N][×|]_[Σ] _[|]_ , where the _i_ -th row of _**X**_ corresponds to the one-hot embedding of the _i_ -th element in the sequence. A single layer in a transformer consists of the following parameters(where _d_ model _, d_ out are hyperparameters):
|
| 44 |
+
|
| 45 |
+
- 1 Embedding Matrix: _**W** E ∈_ R _[|]_[Σ] _[|×][d]_[emb]
|
| 46 |
+
|
| 47 |
+
- 2 Query Weights: _**W** Q ∈_ R _[d]_[emb] _[×][d]_[model]
|
| 48 |
+
|
| 49 |
+
- 3 Key Weights: _**W** K ∈_ R _[d]_[emb] _[×][d]_[model]
|
| 50 |
+
|
| 51 |
+
- 4 Value Weights: _**W** V ∈_ R _[d]_[emb] _[×][d]_[model]
|
| 52 |
+
|
| 53 |
+
- 5 Output Weights: _**W** F ∈_ R _[d]_[model] _[×][d]_[out] .
|
| 54 |
+
|
| 55 |
+
Let _**E**_ = _**XW** E_ . Then forward pass through this layer is given by: _**Y**_ = _**EW** Q_ _**W** K[T]_ _**[E]**[T]_ _**[ EW]**[V]_ _**[ W]**[F][ .]_
|
| 56 |
+
|
| 57 |
+
2
|
| 58 |
+
|
| 59 |
+
To make the analysis tractable, we consider further simplifications of the above model. Similar simplifications are made in many other theoretical studies. First, we assume _d_ emb = _|_ Σ _|_ = _d_ , and fix _**W** E_ to be _**I** d_ , the identity matrix. Further, instead of considering four separate learnable parameters ( _**W** Q,_ _**W** K,_ _**W** V ,_ _**W** F_ ), we consider only two, _**W** QK_ = _**W** Q_ _**W** K[T][∈]_[R] _[d][×][d]_[ and] _**[ W]**[V F]_[=] _**[ W]**[V]_ _**[ W]**[F][∈]_ R _[d][×][d]_[out] , since the output of the transformer depends only on the products of the matrices. Thus, the output of our model is given by:
|
| 60 |
+
|
| 61 |
+
**==> picture [112 x 13] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
From here on, we write _**Q**_ = _**W** QK_ and _**V**_ = _**W** V F_ .
|
| 64 |
+
|
| 65 |
+
Given a set of input-output pairs _D_ for the task, training consists of minimizing a loss function _ℓ_ : R _[d][×][d] ×_ R _[d][×][d]_[out] _→_ R. Here, we consider the squared-norm loss, given by
|
| 66 |
+
|
| 67 |
+
**==> picture [206 x 28] intentionally omitted <==**
|
| 68 |
+
|
| 69 |
+
- 3 FROM SELF-ATTENTION TO LINEAR NEURAL NETWORKS FOR HISTOGRAMS
|
| 70 |
+
|
| 71 |
+
In this section we introduce the histogram tasks, and then present our reduction from self-attention to linear neural networks.
|
| 72 |
+
|
| 73 |
+
## 3.1 HISTOGRAM TASKS
|
| 74 |
+
|
| 75 |
+
In general terms, we define histogram-like tasks as those where, given an input sequence of symbols from an alphabet Σ, the output sequence is determined based on the frequency of each symbol’s appearance within the input, rather than their specific order or arrangement. These tasks are wellsuited for transformers, allowing us to outline specific constructions of transformers that effectively solve these tasks. Below, we discuss several examples of such tasks, followed by their transformer constructions.
|
| 76 |
+
|
| 77 |
+
1. Equality Histogram: For each symbol _s_ in the sequence, the total number of symbols in the sequence with same value as _s_ is computed, which forms the output sequence. For example, for the input sequence _adbcba_ , the output sequence would be [2 _,_ 1 _,_ 2 _,_ 1 _,_ 2 _,_ 2]. Concretely, let Σ = _{a_ 1 _, . . . , ad}_ . Given an _N_ -length sequence _s_ 1 _s_ 2 _. . . sN ∈_ Σ _[N]_ , we want to output [ _cs_ 1 _, cs_ 2 _, . . . , csN_ ], where _cx_ =[�] _i∈_ [ _N_ ][1] _[x]_[=] _[s] i_[, i.e., the count of the number] of times _x_ appears in the string. This problem was considered in Weiss et al. (2021).
|
| 78 |
+
|
| 79 |
+
2. Less than Histogram: We define an ordering on the alphabet. For each symbol _s_ in the sequence, the total number of symbols in the sequence which have value less than or equal to _s_ according to the ordering are computed, and form the output sequence. For example, given the input sequence _adbcba_ , and the standard lexicographical ordering, the output sequence will be [2 _,_ 6 _,_ 4 _,_ 5 _,_ 4 _,_ 2].
|
| 80 |
+
|
| 81 |
+
- Formally, we define an ordering _⪯_ on Σ, and given an input string _s_ 1 _s_ 2 _. . . sN_ , the output is the sequence [ _ls_ 1 _, ls_ 2 _, . . . , lsN_ ], where _lx_ =[�] _i∈_ [ _N_ ][1] _[s] i[⪯][x]_[.]
|
| 82 |
+
|
| 83 |
+
3. Threshold Histogram: For this task, we define an ordering on the alphabet and a threshold _D ∈_ N. For each symbol _s_ in the sequence, we compute the number of symbols that are at a distance of at most _D_ according to the ordering, and form the output sequence. For example, for _D_ = 2 and the standard lexicographical ordering, for input _adbcba_ , the output will be [5 _,_ 4 _,_ 6 _,_ 6 _,_ 6 _,_ 5].
|
| 84 |
+
|
| 85 |
+
## 3.2 TRANSFORMER CONSTRUCTIONS FOR HISTOGRAMS
|
| 86 |
+
|
| 87 |
+
The input sequence will be given to the transformer in the form of a matrix of one-hot embeddings. Formally, given an alphabet Σ = _{a_ 1 _, a_ 2 _, . . . , ad}_ , and the input sequence _s_ 1 _, s_ 2 _, . . . , sN_ , the transformer input is a matrix _**X** ∈_ R _[N][×][d]_ , where the _i_ -th row of _**X**_ is _**e** si ∈_ R _[d]_ .
|
| 88 |
+
|
| 89 |
+
3
|
| 90 |
+
|
| 91 |
+
**==> picture [159 x 89] intentionally omitted <==**
|
| 92 |
+
|
| 93 |
+
**==> picture [160 x 87] intentionally omitted <==**
|
| 94 |
+
|
| 95 |
+
**==> picture [396 x 57] intentionally omitted <==**
|
| 96 |
+
|
| 97 |
+
**----- Start of picture text -----**<br>
|
| 98 |
+
(a) Weights Q for Threshold (c) The network Q · Diag( v ) for<br>Histogram task. Threshold Histogram task.<br>(b) Weights v for Threshold<br>Histogram task.<br>**----- End of picture text -----**<br>
|
| 99 |
+
|
| 100 |
+
Figure 1: Learned weights for Threshold Histogram task with threshold _D_ = 2, where the input alphabet is the set of lowercase English letters with the lexicographical ordering. The learned network _**Q**_ Diag( _**v**_ ) matches _**M**_ thr, as predicted by our analysis.
|
| 101 |
+
|
| 102 |
+
For all of the tasks, _d_ out = 1, so the parameters are just _**Q** ∈_ R _[d][×][d]_ and _**v** ∈_ R _[d]_ . The constructions we present are not unique: given a solution ( _**Q** ,_ _**v**_ ), we can always scale _**Q**_ by some non-zero _α ∈_ R and _**v**_ by 1 _/α_ , to get a whole family of solutions. In fact, we can scale each column of _**Q**_ by a different non-zero _α ∈_ R, and scale the corresponding entry in _**v**_ by 1 _/α_ to get a new solution. We will show later that all solutions of histogram-like tasks admit this form, and hence the solutions are unique upto this symmetry.
|
| 103 |
+
|
| 104 |
+
Below we give the constructions for each of the above described tasks.
|
| 105 |
+
|
| 106 |
+
1. Equality Histogram: Consider _**Q**_ eq = _**I**_ , the identity matrix, and _**v**_ eq = **1** _d_ , the vector of all ones. Then, if _**y**_ = _**XQ**_ eq _**X**[T]_ _**Xv**_ eq = _**XX**[T]_ _**X**_ **1** _d_ , we have
|
| 107 |
+
|
| 108 |
+
**==> picture [188 x 31] intentionally omitted <==**
|
| 109 |
+
|
| 110 |
+
2. Less than Histogram: Assume that the ordering is such that _ai ⪯ aj ⇐⇒ i ≤ j_ (for other orderings, we can just permute the constructions given here). Then, _**v**_ lt = **1** _d_ , and _**Q**_ lt = _**L** d_ , where _**L** d_ is a lower triangular matrix of all ones i.e. _**L** d_ ( _i, j_ ) = 1 if _i ≥ j_ else it is 0. Thus, if _**y**_ = _**XQ**_ lt _**X**[T]_ _**Xv**_ lt, we have
|
| 111 |
+
|
| 112 |
+
**==> picture [284 x 32] intentionally omitted <==**
|
| 113 |
+
|
| 114 |
+
3. Threshold Histogram: Define _**v**_ thr = **1** _d_ and _**Q**_ thr = _**T** d_ , where _**T** d ∈_ R _[d][×][d]_ is such that _**T** d_ ( _i, j_ ) = 1 if _|i − j| ≤ D_ , otherwise _**T** d_ ( _i, j_ ) = 0. It can be verified that this construction solves the Threshold Histogram task.
|
| 115 |
+
|
| 116 |
+
## 3.3 REDUCTION TO DF-LINEAR NETWORKS
|
| 117 |
+
|
| 118 |
+
A unifying feature of each of the above described tasks is that the output depends only on the frequency of each of the symbols from the alphabet present, and does not depend on the order in which they appear. Therefore, the output can be described by a function _g_ : R _[d] →_ R _[N]_ , where the input to _g_ is _**c**_ , where _**c**_ is the vector of frequencies of symbols in the input i.e. _ci_ is the number of times the _i_ -th symbol appears in the input. In fact, all the above tasks also depend _linearly_ on _**c**_ , and we can write _g_ ( _**c**_ ) = _**XMc**_ , for some matrix _**M** ∈_ R _[d][×][d]_ . This can also be seen from the constructions above. For example, for the Equality Histogram task, the output can be written in terms of the frequency vector as _g_ eq( _**c**_ ) = _**Xc**_ , and so, _**M**_ eq = _**I**_ . For the Less than Histogram task, the output can be written as _g_ lt( _**c**_ ) = _**XL** d_ _**c**_ , and _**M**_ lt = _**L** d_ , and similarly, for the Threshold Histogram task, we have _**M**_ thr = _**T** d_ .
|
| 119 |
+
|
| 120 |
+
4
|
| 121 |
+
|
| 122 |
+
The above fact allows us to reduce the training dynamics of transformers trained on histogram-like tasks, to the dynamics of relatively simpler networks which we call _DF-Linear Networks_ . These networks are linear networks where the first layer is constrained to be a diagonal matrix, and the next layer is a fully connected layer.
|
| 123 |
+
|
| 124 |
+
**Lemma 3.1.** _Consider a histogram task with the objective function given by g_ ( _**c**_ ) = _**XMc** for a matrix_ _**M** ∈_ R _[d][×][d] , where_ _**c** ∈_ R _[d] is the vector of frequencies. Then, for a dataset of input-output pairs D, we have_
|
| 125 |
+
|
| 126 |
+
**==> picture [272 x 61] intentionally omitted <==**
|
| 127 |
+
|
| 128 |
+
_where_ _**cX** is the vector of frequencies associated to the input_ _**X** ._
|
| 129 |
+
|
| 130 |
+
_Proof._ Observe that for input ( _**X** ,_ _**y**_ ) _∈D_ we have _**X**[T]_ _**X**_ = Diag( _**cX**_ ), and _**y**_ = _**XMcX**_ . Thus, we can write the transformer loss as
|
| 131 |
+
|
| 132 |
+
**==> picture [334 x 190] intentionally omitted <==**
|
| 133 |
+
|
| 134 |
+
The above lemma allows us to characterize the solution sets of the histogram tasks exactly. The loss function will be zero only when Diag( _**cX**_ )[1] _[/]_[2] ( _**Q**_ Diag( _**v**_ ) _−_ _**M**_ ) _**cX**_ = 0 for all ( _**X** ,_ _**y**_ ) _∈D_ . For a randomly sampled dataset, this would imply that, almost surely, _**Q**_ Diag( _**v**_ ) = _**M**_ or equivalently, _vi_ _**q** i_ = _**m** i_ for all _i ∈_ [ _d_ ], where _**q** i_ (resp. _**m** i_ ) is the _i_ -th column of _**Q**_ (resp. _**M**_ ). Figure 1 show visualizations of learned parameters for a transformer trained on the Threshold Histogram task. Note that the learned _**Q**_ and _**v**_ parameters belong to the above described solution set.
|
| 135 |
+
|
| 136 |
+
In Section 4, we analyze the training dynamics of DF-Linear Networks, i.e. gradient flow on the objective _ℓ_ df( _**Q** ,_ _**v**_ ) = 12 _[∥]_ _**[Q]**[ ·]_[ Diag][(] _**[v]**_[)] _[ −]_ _**[M]**[∥] F_[2][.][This][is][a][simplification][from][the][full][histogram] objective as derived in Lemma 3.1 and subject of the following assumption.
|
| 137 |
+
|
| 138 |
+
**Assumption 3.1.** _Let D be a randomly sampled dataset for a histogram task. Let_ ( _**Q**_ tf( _t_ ) _,_ _**v**_ tf( _t_ )) _(resp._ ( _**Q**_ df( _t_ ) _,_ _**v**_ df( _t_ )) _) be the parameters for the transformers at time t, under gradient flow on ℓ_ tf _(resp. ℓ_ df _), starting from_ ( _**Q**_ 0 _,_ _**v**_ 0) _. Then, with high probability, there exist constants C, σ, T >_ 0 _, depending on the data D, such that, for all t ≥ T ,_
|
| 139 |
+
|
| 140 |
+
**==> picture [176 x 11] intentionally omitted <==**
|
| 141 |
+
|
| 142 |
+
Assumption 3.1 completes the reduction of the transformer dynamics to the DF-Linear Networks dynamics. Note that if the gradient flow on the transformer loss converges to a zero loss solution ( _**Q**[∗]_ tf _[,]_ _**[ v]**_ tf _[∗]_[)][,][then we would have] _**[ Q]**[∗]_ tf _[·]_[ Diag][(] _**[v]**_ tf _[∗]_[)][=] _**[M]**_[.][Similarly,][if gradient flow on the DF-Linear]
|
| 143 |
+
|
| 144 |
+
5
|
| 145 |
+
|
| 146 |
+
**==> picture [199 x 150] intentionally omitted <==**
|
| 147 |
+
|
| 148 |
+
**==> picture [199 x 150] intentionally omitted <==**
|
| 149 |
+
|
| 150 |
+
**==> picture [320 x 9] intentionally omitted <==**
|
| 151 |
+
|
| 152 |
+
**----- Start of picture text -----**<br>
|
| 153 |
+
(a) Loss curves for gradient descent. (b) The norms of the gradients.<br>**----- End of picture text -----**<br>
|
| 154 |
+
|
| 155 |
+
Figure 2: Loss and the norm of the gradient for gradient descent on _ℓ_ tf and _ℓ_ df, starting from the same initialization. The dynamics of _ℓ_ tf are just scaled dynamics of _ℓ_ df.
|
| 156 |
+
|
| 157 |
+
Networks loss converges to a zero loss solution ( _**Q**[∗]_ df _[,]_ _**[ v]**_ df _[∗]_[)][, then] _**[ Q]**[∗]_ df _[·]_[ Diag][(] _**[v]**_ df _[∗]_[)][=] _**[M]**_[.][In both the] cases, due to the symmetries inherent in the objective function, we can derive a conserved quantity which further constrains the possible solutions. The conserved quantity, given by Lemma A.1, is the same for both loss functions, since the initializations are the same and both functions satisfy the same symmetries. The two constraints together have only a single solution; thus, we get that ( _**Q**[∗]_ tf _[,]_ _**[ v]**_ tf _[∗]_[) = (] _**[Q]**[∗]_ df _[,]_ _**[ v]**_ df _[∗]_[)][.]
|
| 158 |
+
|
| 159 |
+
Assumption 3.1 holds true experimentally. We optimize _ℓ_ tf and _ℓ_ df using gradient descent (as an approximation of gradient flow), starting from the same initialization. For the transformer training, a dataset consisting of 100 random strings of length 100 were sampled, where each element of the string was uniformly sampled from the first 10 letters of the alphabet, and the task considered was the Equality Histogram task. Figure 2 depicts the training dynamics during optimization for the two loss functions. Note that, apart from a scaling factor, the dynamics are similar.
|
| 160 |
+
|
| 161 |
+
## 4 CONVERGENCE ANALYSIS OF DF-LINEAR NETWORKS
|
| 162 |
+
|
| 163 |
+
In this section we prove that gradient flow on the squared-norm loss for DF-Linear Networks converges, for all initializations, apart from a measure-zero set of initial points, which we characterize.
|
| 164 |
+
|
| 165 |
+
We consider the loss function _ℓ_ df( _**Q** ,_ _**v**_ ) = 2[1] _[∥]_ _**[Q]**_[Diag][(] _**[v]**_[)] _[ −]_ _**[M]**[∥] F_[2][, for a] _[ d][ ×][ d]_[ target matrix] _**[ M]**_[.][To] ease the clutter of notations we refer to _ℓ_ df by just _ℓ_ .
|
| 166 |
+
|
| 167 |
+
The proof has two main steps. First, we show that the dynamics of the gradient flow can be decoupled across the dimensions of the parameters. This can be seen immediately if we write down the objective in the following form:
|
| 168 |
+
|
| 169 |
+
**==> picture [134 x 29] intentionally omitted <==**
|
| 170 |
+
|
| 171 |
+
where _**q** i_ is the _i_ -th column of _**Q**_ . Following this, we reduce the dynamics along each dimension to a dynamical system, which can be analysed completely. Thus, we get the following theorem. **Theorem 1.** _Consider the loss function ℓ_ : R _[d][×][d] ×_ R _[d] →_ R _defined as_
|
| 172 |
+
|
| 173 |
+
**==> picture [149 x 21] intentionally omitted <==**
|
| 174 |
+
|
| 175 |
+
**==> picture [356 x 12] intentionally omitted <==**
|
| 176 |
+
|
| 177 |
+
**==> picture [397 x 51] intentionally omitted <==**
|
| 178 |
+
|
| 179 |
+
6
|
| 180 |
+
|
| 181 |
+
_Further define the quantities T, α and γ as_
|
| 182 |
+
|
| 183 |
+
**==> picture [226 x 60] intentionally omitted <==**
|
| 184 |
+
|
| 185 |
+
¯ _Then, provided that −ρivi_[(0)] = _**q** i_[(0)] _[T]_ _**m** i for all i ∈_ [ _d_ ] _, the loss function ℓ exhibits the following decay for all t > T : ℓ_ ( _t_ ) = _O d_ max _∥_ _**m** i∥_[2] _· t[γ]_ exp ( _−_ 2 _αt_ ) _._ � _i_ �
|
| 186 |
+
|
| 187 |
+
_Proof._ The proof follows by reducing the gradient flow equations to a set of dynamical systems of the form described in Equation 2. Let _**Q**_ = [ _**q**_ 1 _· · ·_ _**q** d_ ], _**M**_ = [ _**m**_ 1 _· · ·_ _**m** d_ ] and _**V**_ = Diag( _**v**_ ). Then, we have
|
| 188 |
+
|
| 189 |
+
**==> picture [282 x 77] intentionally omitted <==**
|
| 190 |
+
|
| 191 |
+
˙ _vi_ = _**q** i[T]_ _**[m]**[i][−][v][i][∥]_ _**[q]**[i][∥]_[2] _[ .]_
|
| 192 |
+
|
| 193 |
+
Further, following lemma A.1 we note that _D_ ( _**Q**[T]_ _**Q** − vtvt[T]_[)][ is conserved throughout the trajectory.] So, let the _i_ -th diagonal entry of the conserved quantity at initialization be _βi_ . Then for all _t_ we have
|
| 194 |
+
|
| 195 |
+
**==> picture [250 x 55] intentionally omitted <==**
|
| 196 |
+
|
| 197 |
+
for some constants _βi ∈_ R. Using this, we get the system of equations:
|
| 198 |
+
|
| 199 |
+
Let _pi_ = _**q** i[T]_ _**[m]**[i]_[.][Then, we have]
|
| 200 |
+
|
| 201 |
+
**==> picture [94 x 29] intentionally omitted <==**
|
| 202 |
+
|
| 203 |
+
Finally, to get the desired form, we make the substitution _ai_ = _pi/ ∥_ _**m** i∥_[3] _[/]_[2] and _bi_ = _vi/ ∥_ _**m** i∥_[1] _[/]_[2] . Hence, we get
|
| 204 |
+
|
| 205 |
+
˙ _ai_ = _∥_ _**m** i∥_ ( _bi − b_[2] _i[a][i]_[)] _[,]_ ˙ _bi_ = _∥_ _**m** i∥_ ( _ai − b_[3] _i[−][δ][i][b][i]_[)] _[.]_
|
| 206 |
+
|
| 207 |
+
2wherewe get _δi_ =that, _βi/_ as _∥_ _**m** t i→∞∥_ . The above equation has the same form as E, ( _ai_ ( _t_ ) _, bi_ ( _t_ )) converges to _±_ ( _[√] ρi,[√] ρ_ ¯ _i_ q).uation 2.Therefore,Thus, from Theoremwe get that _vi_ ( _t_ ) converges to _± ∥_ _**m** i∥_[1] _[/]_[2] _·[√] ρ_ ¯ _i_ , and _pi_ ( _t_ ) converges to _± ∥_ _**m** i∥_[3] _[/]_[2] _·[√] ρi_ . Furthermore, we have
|
| 208 |
+
|
| 209 |
+
**==> picture [248 x 135] intentionally omitted <==**
|
| 210 |
+
|
| 211 |
+
7
|
| 212 |
+
|
| 213 |
+
Thus, from Theorem 2, we get the required result.
|
| 214 |
+
|
| 215 |
+
**Remark 1.** _We make the following remarks as extension of theorem 1._
|
| 216 |
+
|
| 217 |
+
_1._ _**Bad initializations.** We note that the loss function decays to_ 0 _given that certain initial conditions hold. In particular, suppose_ _**v**_ 0 _is fixed. Then the convergence to 0 fails only if_
|
| 218 |
+
|
| 219 |
+
**==> picture [154 x 25] intentionally omitted <==**
|
| 220 |
+
|
| 221 |
+
_This set is a union of hypersurfaces in the space_ R _[d][×][d] . Thus, with random initialization, the loss function decays to_ 0 _with probability_ 1 _._
|
| 222 |
+
|
| 223 |
+
_2._ _**Effect of imbalance.** When the conserved quantities in Equation 1 are equal to_ 0 _for all i ∈_ [ _d_ ] _, we say that the inputs are “balanced”. This is the condition on initialization that is assumed in Arora et al. (2019). Therefore, the numbers δis can be said to measure the “imbalance” on the inputs. To isolate the contribution of these quantities to the decay of the loss function we assume that the columns of_ _**M** are normalized. That is ∥_ _**m** i∥_ = 1 _for all i ∈_ [ _d_ ] _. Without loss of generality suppose δ_ 1 = max _i {δi}. Then we get α_ = _ρ_ 1 _. Thus the decay of the loss function is controlled by the largest imbalance across the different components._
|
| 224 |
+
|
| 225 |
+
## 5 SOLUTION TO A SPECIAL DYNAMICAL SYSTEM
|
| 226 |
+
|
| 227 |
+
We show in the previous sections that the dynamical system described in equation 2 is crucial to proving convergence of gradient descent on certain networks. This section is dedicated to explicitly finding a solution to this system. In particular, we prove the following theorem.
|
| 228 |
+
|
| 229 |
+
**Theorem 2.** _Let x and y be continuous functions on_ (0 _, ∞_ ) _described by the dynamical system_
|
| 230 |
+
|
| 231 |
+
**==> picture [244 x 29] intentionally omitted <==**
|
| 232 |
+
|
| 233 |
+
_where c_ 1 _>_ 0 _and c are constants. Let ρ_ = ~~�~~ 1 + _[c]_ 4[2][+] 2 _[c][,] ρ_ ¯ =[1] _/ρ and_ 2 _a_ = _ρ_ + _ρ_ ¯ _. Then the limit_ lim _t→∞_ ( _xt, yt_ ) = ( _x∞, y∞_ ) _exists, and it depends on the initialization_ ( _x_ 0 _, y_ 0) _as follows:_ ¯ ¯ ( _√ρ,[√] ρ_ ) _if − ρx_ 0 = _y_ 0 _,_ ( _x_[2] _∞[, y] ∞_[2][) =] �(0 _,_ 0) _otherwise._
|
| 234 |
+
|
| 235 |
+
_Further, with −ρx_ ¯ 0 = _y_ 0 _, as x_[2] _t[converges to][ρ]_[¯] _[ and][ x][t][y][t][converges to]_[ 1] _[,][we obtain a][ T][>]_[0] _[ such] that for all t > T the residues decay at the following rate:_
|
| 236 |
+
|
| 237 |
+
**==> picture [229 x 25] intentionally omitted <==**
|
| 238 |
+
|
| 239 |
+
_where T depends on the initialization as follows:_
|
| 240 |
+
|
| 241 |
+
**==> picture [237 x 46] intentionally omitted <==**
|
| 242 |
+
|
| 243 |
+
_Proof sketch._ We look at the dynamical system expressed in Equations 2, and substitute the expression for _y_ from the second equation into the first equation. This gives a second-order differential equation in the function _x_ . These are generally difficult to solve. However, one can discover two quantities dependent on _x_ and _y_ , namely
|
| 244 |
+
|
| 245 |
+
**==> picture [232 x 23] intentionally omitted <==**
|
| 246 |
+
|
| 247 |
+
8
|
| 248 |
+
|
| 249 |
+
which evolve by obeying only first order differential equations (these quantities are simplified versions of quantities which appeared while solving the second order differential equation in _x_ ). In particular, we get
|
| 250 |
+
|
| 251 |
+
**==> picture [170 x 10] intentionally omitted <==**
|
| 252 |
+
|
| 253 |
+
Upon solving these differential equations with suitable constants determined by the initial values we get
|
| 254 |
+
|
| 255 |
+
**==> picture [275 x 26] intentionally omitted <==**
|
| 256 |
+
|
| 257 |
+
Now, substituting _y_ = _rx_ in the definition of _s_ we obtain the relation
|
| 258 |
+
|
| 259 |
+
**==> picture [126 x 13] intentionally omitted <==**
|
| 260 |
+
|
| 261 |
+
As _r_ converges to _ρ_ , we get that _ρ_ ¯ + _r_ is eventually bounded below and above by strictly positive constants. Further, when _c_ = 0, the function _s_ increments with an exponential rate of _cc_ 1, but exponential rate of _ρ − r_ depletes with 2¯ _ρ_ an. Therefore,exponential _x_[2] rateconverges toof 2 _ac_ 1. Together, _ρ_ ¯. A similar analysis is done whenthe function _s_ ( _ρ − r_ ) depletes _c_ = 0.with an
|
| 262 |
+
|
| 263 |
+
For the convergence of 1 _− xy_ we write it as 1 _− rx_[2] . As we have convergence information for _r_ and _x_[2] individually, we obtain the same for 1 _− xy_ .
|
| 264 |
+
|
| 265 |
+
_Remark._ Given a first-order differential equation, it could be easy to find a solution that satisfies it using formal integration. However, to ensure that the quantities of interest (functions of _x_ and _y_ ) have the exact trajectory as the obtained solution requires uniqueness properties. This can turn out to be difficult, especially when the solution has possible points of discontinuity. A full proof of Theorem 2 appears in the appendix and addresses these issues.
|
| 266 |
+
|
| 267 |
+
## 6 ADDITIONAL RELATED WORK
|
| 268 |
+
|
| 269 |
+
Early work by Baldi & Hornik (1989) showed that for 2-layer linear networks, under very mild conditions, every local minimum is a global minimum. Furthermore, they fully characterized the saddle points in this case; in particular, all saddle points are strict (the Hessian at the saddle point has at least one strictly negative eigenvalue). Kawaguchi (2016) studied the landscape of deeper linear networks and showed that every local minimum is a global minimum for them as well; however, now saddle points need not be strict. Arora et al. (2019) gave a trajectory-based analysis gradient descent training of linear neural networks for any depth for suitable initializations. Du & Hu (2019) gave an analysis for initializations used in practice under the assumption that the network is wide: the intermediate widths of the network are much larger compared to input and output widths. Later papers Xu et al. (2023); Min et al. (2023) provided improved guarantees. But to our knowledge for depth two or more there are no guarantees without assuming either wide networks or stylized initializations.
|
| 270 |
+
|
| 271 |
+
Zhang et al. (2023) analyze 1-layer linear self-attention layer similar to the one considered in this paper. The specific problem they analyze is linear regression motivated by results in von Oswald et al. (2023). They note a connection to linear networks and require special initializations similar to Arora et al. (2018).
|
| 272 |
+
|
| 273 |
+
## 7 CONCLUSION
|
| 274 |
+
|
| 275 |
+
We analyzed the gradient flow training dynamics of linear self-attention for a natural class of histogram-like problems. Our proof depended on reduction to df-linear neural networks and an assumption on the loss function which we experimentally verified. We find our assumption to be intuitively plausible and it is a very interesting problem to prove it. Stronger versions of the assumption have the potential to lead to analysis of linear self-attention on a larger class of problems such as in-context learning for linear regression. Many other problems remain: we used parameters _**W** QK_ and _**W** V F_ instead of the original parameters. Can our techniques be combined with results on wide neural networks, such as Du & Hu (2019), to allow the original parametrization?
|
| 276 |
+
|
| 277 |
+
9
|
| 278 |
+
|
| 279 |
+
## REFERENCES
|
| 280 |
+
|
| 281 |
+
- Sanjeev Arora, Nadav Cohen, and Elad Hazan. On the optimization of deep networks: Implicit acceleration by overparameterization. In Jennifer G. Dy and Andreas Krause (eds.), _Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsm¨assan, Stockholm, Sweden, July 10-15, 2018_ , volume 80 of _Proceedings of Machine Learning Research_ , pp. 244–253. PMLR, 2018. URL [URL removed] html.
|
| 282 |
+
|
| 283 |
+
- Sanjeev Arora, Nadav Cohen, Noah Golowich, and Wei Hu. A convergence analysis of gradient descent for deep linear neural networks. In _7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019_ . OpenReview.net, 2019. URL [URL removed]
|
| 284 |
+
|
| 285 |
+
- Pierre Baldi and Kurt Hornik. Neural networks and principal component analysis: Learning from examples without local minima. _Neural Networks_ , 2(1):53–58, 1989. ISSN 0893-6080. doi: https: //doi.org/10.1016/0893-6080(89)90014-2. URL [URL removed] science/article/pii/0893608089900142.
|
| 286 |
+
|
| 287 |
+
- Rapha¨el Berthier. Incremental learning in diagonal linear networks. _Journal of Machine Learning Research_ , 24(171):1–26, 2023. URL [URL removed]
|
| 288 |
+
|
| 289 |
+
- Enric Boix-Adser`a, Etai Littwin, Emmanuel Abbe, Samy Bengio, and Joshua M. Susskind. Transformers learn through gradual rank increase. _CoRR_ , abs/2306.07042, 2023. doi: 10.48550/arXiv. 2306.07042. URL [URL removed]
|
| 290 |
+
|
| 291 |
+
- Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In _9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021_ . OpenReview.net, 2021. URL [URL removed] id=YicbFdNTTy.
|
| 292 |
+
|
| 293 |
+
- Simon S. Du and Wei Hu. Width provably matters in optimization for deep linear neural networks. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), _Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA_ , volume 97 of _Proceedings of Machine Learning Research_ , pp. 1655–1664. PMLR, 2019. URL [URL removed]
|
| 294 |
+
|
| 295 |
+
- Jeff Z HaoChen, Colin Wei, Jason Lee, and Tengyu Ma. Shape matters: Understanding the implicit bias of the noise covariance. In _Conference on Learning Theory_ , pp. 2315–2357. PMLR, 2021.
|
| 296 |
+
|
| 297 |
+
- Andrew Jaegle, Felix Gimeno, Andy Brock, Oriol Vinyals, Andrew Zisserman, and Jo˜ao Carreira. Perceiver: General perception with iterative attention. In Marina Meila and Tong Zhang (eds.), _Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 4651–4664. PMLR, 2021. URL [URL removed]
|
| 298 |
+
|
| 299 |
+
- Samy Jelassi, Michael E. Sander, and Yuanzhi Li. Vision transformers provably learn spatial structure, 2022.
|
| 300 |
+
|
| 301 |
+
- Kenji Kawaguchi. Deep learning without poor local minima. In Daniel D. Lee, Masashi Sugiyama, Ulrike von Luxburg, Isabelle Guyon, and Roman Garnett (eds.), _Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain_ , pp. 586–594, 2016. URL [URL removed] f2fc990265c712c49d51a18a32b39f0c-Abstract.html.
|
| 302 |
+
|
| 303 |
+
- Michael Kleinman, Alessandro Achille, and Stefano Soatto. Critical learning periods emerge even in deep linear networks. _CoRR_ , abs/2308.12221, 2023. doi: 10.48550/arXiv.2308.12221. URL [URL removed]
|
| 304 |
+
|
| 305 |
+
10
|
| 306 |
+
|
| 307 |
+
- Daniel Kunin, Javier Sagastuy-Brena, Surya Ganguli, Daniel LK Yamins, and Hidenori Tanaka. Neural mechanics: Symmetry and broken conservation laws in deep learning dynamics. _arXiv preprint arXiv:2012.04728_ , 2020.
|
| 308 |
+
|
| 309 |
+
- Yuchen Li, Yuanzhi Li, and Andrej Risteski. How do transformers learn topic structure: Towards a mechanistic understanding, 2023.
|
| 310 |
+
|
| 311 |
+
- Sibylle Marcotte, R´emi Gribonval, and Gabriel Peyr´e. Abide by the law and follow the flow: Conservation laws for gradient flows. _arXiv preprint arXiv:2307.00144_ , 2023.
|
| 312 |
+
|
| 313 |
+
- Hancheng Min, Salma Tarmoun, Ren´e Vidal, and Enrique Mallada. On the explicit role of initialization on the convergence and implicit bias of overparametrized linear networks. In Marina Meila and Tong Zhang (eds.), _Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 7760–7768. PMLR, 2021. URL [URL removed] min21c.html.
|
| 314 |
+
|
| 315 |
+
- Hancheng Min, Ren´e Vidal, and Enrique Mallada. On the convergence of gradient flow on multilayer linear models. 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. 24850–24887. PMLR, 2023. URL [URL removed] v202/min23d.html.
|
| 316 |
+
|
| 317 |
+
## OpenAI. Gpt-4 technical report, 2023.
|
| 318 |
+
|
| 319 |
+
- Scott Pesme, Loucas Pillaud-Vivien, and Nicolas Flammarion. Implicit bias of sgd for diagonal linear networks: a provable benefit of stochasticity. In _Advances in Neural Information Processing Systems_ , 2021.
|
| 320 |
+
|
| 321 |
+
- Andrew M. Saxe, James L. McClelland, and Surya Ganguli. Exact solutions to the nonlinear dynamics of learning in deep linear neural networks. In Yoshua Bengio and Yann LeCun (eds.), _2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings_ , 2014. URL [URL removed] 6120.
|
| 322 |
+
|
| 323 |
+
- Andrew M. Saxe, James L. McClelland, and Surya Ganguli. A mathematical theory of semantic development in deep neural networks. _Proceedings of the National Academy of Sciences_ , 116 (23):11537–11546, 2019. doi: 10.1073/pnas.1820226116. URL [URL removed] doi/abs/10.1073/pnas.1820226116.
|
| 324 |
+
|
| 325 |
+
- Davoud Ataee Tarzanagh, Yingcong Li, Christos Thrampoulidis, and Samet Oymak. Transformers as support vector machines. _CoRR_ , abs/2308.16898, 2023. doi: 10.48550/arXiv.2308.16898. URL [URL removed]
|
| 326 |
+
|
| 327 |
+
- Yuandong Tian, Yiping Wang, Beidi Chen, and Simon Du. Scan and snap: Understanding training dynamics and token composition in 1-layer transformer, 2023.
|
| 328 |
+
|
| 329 |
+
- Tomas Vaskevicius, Varun Kanade, and Patrick Rebeschini. Implicit regularization for optimal sparse recovery. _Advances in Neural Information Processing Systems_ , 32, 2019.
|
| 330 |
+
|
| 331 |
+
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett (eds.), _Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA_ , pp. 5998–6008, 2017. URL [URL removed] 3f5ee243547dee91fbd053c1c4a845aa-Abstract.html.
|
| 332 |
+
|
| 333 |
+
- 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 Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), _International Conference on Machine Learning, ICML 2023,_
|
| 334 |
+
|
| 335 |
+
11
|
| 336 |
+
|
| 337 |
+
_23-29 July 2023, Honolulu, Hawaii, USA_ , volume 202 of _Proceedings of Machine Learning Research_ , pp. 35151–35174. PMLR, 2023. URL [URL removed] v202/von-oswald23a.html.
|
| 338 |
+
|
| 339 |
+
- Gail Weiss, Yoav Goldberg, and Eran Yahav. Thinking like transformers. In Marina Meila and Tong Zhang (eds.), _Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 11080–11090. PMLR, 2021. URL [URL removed] weiss21a.html.
|
| 340 |
+
|
| 341 |
+
- Blake Woodworth, Suriya Gunasekar, Jason D. Lee, Edward Moroshko, Pedro Savarese, Itay Golan, Daniel Soudry, and Nathan Srebro. Kernel and rich regimes in overparametrized models. In _Proceedings of Thirty Third Conference on Learning Theory_ , volume 125 of _Proceedings of Machine Learning Research_ , pp. 3635–3673. PMLR, 09–12 Jul 2020.
|
| 342 |
+
|
| 343 |
+
- Ziqing Xu, Hancheng Min, Salma Tarmoun, Enrique Mallada, and Ren´e Vidal. Linear convergence of gradient descent for finite width over-parametrized linear networks with general initialization. In Francisco J. R. Ruiz, Jennifer G. Dy, and Jan-Willem van de Meent (eds.), _International Conference on Artificial Intelligence and Statistics, 25-27 April 2023, Palau de Congressos, Valencia, Spain_ , volume 206 of _Proceedings of Machine Learning Research_ , pp. 2262–2284. PMLR, 2023. URL [URL removed]
|
| 344 |
+
|
| 345 |
+
- Ruiqi Zhang, Spencer Frei, and Peter L. Bartlett. Trained transformers learn linear models incontext, 2023.
|
| 346 |
+
|
| 347 |
+
- Bo Zhao, Iordan Ganev, Robin Walters, Rose Yu, and Nima Dehmamy. Symmetries, flat minima, and the conserved quantities of gradient flow. _arXiv preprint arXiv:2210.17216_ , 2022.
|
| 348 |
+
|
| 349 |
+
- Difan Zou, Philip M. Long, and Quanquan Gu. On the global convergence of training deep linear resnets. In _8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020_ . OpenReview.net, 2020. URL [URL removed] forum?id=HJxEhREKDH.
|
| 350 |
+
|
| 351 |
+
12
|
| 352 |
+
|
| 353 |
+
## A APPENDIX
|
| 354 |
+
|
| 355 |
+
## A.1 ADDITIONAL LEMMAS
|
| 356 |
+
|
| 357 |
+
In this section we prove two Lemmas used in the proofs of Theorem 1 and Theorem 2.
|
| 358 |
+
|
| 359 |
+
The following lemma captures how conservation laws arise from symmetries of a function. This is a well known phenomenon, e.g. see Marcotte et al. (2023); Kunin et al. (2020); Zhao et al. (2022) and related to Noether’s theorem about relationship between symmetries and conserved quantities in physics.
|
| 360 |
+
|
| 361 |
+
**Lemma A.1.** _Let f_ : R _[d][×][d] ×_ R _[d] →_ R _be a differentiable function such that it enjoys the following symmetry:_
|
| 362 |
+
|
| 363 |
+
**==> picture [106 x 12] intentionally omitted <==**
|
| 364 |
+
|
| 365 |
+
_for all_ _**A** ,_ _**b** and diagonal matrices_ _**C** . Then, under gradient flow on f at all times t we have the following conservation:_
|
| 366 |
+
|
| 367 |
+
**==> picture [115 x 24] intentionally omitted <==**
|
| 368 |
+
|
| 369 |
+
_where the function D_ : R _[d][×][d] →_ R _[d][×][d] retrieves the diagonal part of the matrix i.e. D_ ( _**A**_ ) = Diag(diag( _**A**_ )) _._
|
| 370 |
+
|
| 371 |
+
_Proof._ Fix any _t_ . Let _**S**_ be any arbitrary matrix. Consider the function _g_ ( _x_ ) depending on the diagonal matrix _**S**_ , defined in a neighborhood of 0 as
|
| 372 |
+
|
| 373 |
+
**==> picture [236 x 13] intentionally omitted <==**
|
| 374 |
+
|
| 375 |
+
Differentiating both sides with respect to _x_ at the point 0 we get
|
| 376 |
+
|
| 377 |
+
**==> picture [280 x 73] intentionally omitted <==**
|
| 378 |
+
|
| 379 |
+
**==> picture [397 x 23] intentionally omitted <==**
|
| 380 |
+
|
| 381 |
+
**==> picture [291 x 18] intentionally omitted <==**
|
| 382 |
+
|
| 383 |
+
For the proof of Theorem 2, we need the following lemma.
|
| 384 |
+
|
| 385 |
+
**Lemma A.2.** ˙ _Suppose f and h are continuous functions defined in the interval I where f_[˙] _t satisfies ft_ = _ht · ft. Then, fa_ = 0 _for some a ∈I_ = _⇒ ft_ = 0 _on I._
|
| 386 |
+
|
| 387 |
+
_Proof._ Let _H_ be the anti-derivative of _h_ on _I_ . Then observe that at all _t ∈I_ we have
|
| 388 |
+
|
| 389 |
+
**==> picture [141 x 16] intentionally omitted <==**
|
| 390 |
+
|
| 391 |
+
Hence _f_ = _c · e[H]_ for some constant _c_ . Plugging the condition _fa_ = 0 gives _c_ = 0 = _⇒ f ≡_ 0.
|
| 392 |
+
|
| 393 |
+
## A.2 PROOF OF THEOREM 2
|
| 394 |
+
|
| 395 |
+
In the proof sketch of Theorem 2 we have defined the quantities _r_ and _s_ as functions of _x_ and _y_ , and obtained their solutions via formal integration of partial fractions. However, as mentioned earlier, this cannot be done rigorously as the integrands which appear in these equations may not be defined at several points. So, here we take a reverse approach. We start by defining _r_ and _s_ as the solutions obtained through formal integration. We go on to show rigorously that the desired functions of _x_ and _y_ must align with the functions _r_ and _s_ .
|
| 396 |
+
|
| 397 |
+
13
|
| 398 |
+
|
| 399 |
+
_Proof. (Theorem 2)_ Let us first consider _x_ 0 _, y_ 0 = 0. We would like to keep track of the trajectory of the ratio _x[y][t] t_[.][First consider the time varying function] _[ r]_[ defined according to its initial value] _[ r]_[0][as] follows
|
| 400 |
+
|
| 401 |
+
**==> picture [274 x 31] intentionally omitted <==**
|
| 402 |
+
|
| 403 |
+
where _c_ 2 = ( _ρ−_ 2 _ar_ 0) _[−]_[1][ when] _[ r]_[0][=] _[ ρ]_[.][Then] _[ r][t]_[ has the following derivative:]
|
| 404 |
+
|
| 405 |
+
**==> picture [90 x 11] intentionally omitted <==**
|
| 406 |
+
|
| 407 |
+
¯ When _r_ 0 _≥−ρ_ , equivalently _c_ 2 _∈/_ [ _−_ 1 _,_ 0), the function _rt_ is continuous everywhere. So ( _rx − y_ ) is also continuous everywhere. Setting _r_ 0 = _x[y]_[0] 0[and computing the derivative of][ (] _[rx][ −][y]_[)][ gives us]
|
| 408 |
+
|
| 409 |
+
**==> picture [219 x 15] intentionally omitted <==**
|
| 410 |
+
|
| 411 |
+
Thus ( _rx − y_ ) satisfies the requirements of Lemma A.2 giving _rtxt_ = _yt_ for all _t_ .
|
| 412 |
+
|
| 413 |
+
When _r_ 0 _< −ρ_ ¯, equivalently _c_ 2 _∈_ ( _−_ 1 _,_ 0), then _r_ is discontinuous at the point _T_ = _−_ (2ln _ac|c_ 12 _|_ ) . But this time _r[−]_[1] is continuous everywhere. Thus applying Lemma A.2 in a similar fashion to ( _x − r[−]_[1] _y_ ) gives us _xt_ = _rt[−]_[1] _[y][t]_[for all] _[ t]_[.][One can see that] _[ r] t[−]_[1] = 0 only at the point _T_ . Therefore, dividing by _rt[−]_[1] gives _rtxt_ = _yt_ for all _t_ = _T_ . Therefore we get a complete characterization of the relation between _xt, yt_ and _rt_ as follows:
|
| 414 |
+
|
| 415 |
+
**==> picture [301 x 31] intentionally omitted <==**
|
| 416 |
+
|
| 417 |
+
Note that we have used _x_ 0 _, y_ 0 = 0 to initialize _r_ 0 as required above. In particular, we have used ¯ ¯ _x_ 0 = 0 to define _r_ 0 _≥−ρ_ and used _y_ 0 = 0 to define _r_ 0 _< −ρ_ . Let us now consider the following cases.
|
| 418 |
+
|
| 419 |
+
**Case 1.** Suppose _x[y]_[0] 0 _[∈{][/][ρ,][ −][ρ]_[¯] _[}]_[.][Here consider the time varying functions] _[ s]_[ given by]
|
| 420 |
+
|
| 421 |
+
**==> picture [151 x 25] intentionally omitted <==**
|
| 422 |
+
|
| 423 |
+
where the constants _c_ 3 and _c_ 4 can be fixed by fixing the initial values _s_ 0 as follows: _c_ 3 = 1 + _c · s_ 0 and _c_ 4 = _s_ 0. We further note that the derivative of _s_ is given by
|
| 424 |
+
|
| 425 |
+
**==> picture [64 x 11] intentionally omitted <==**
|
| 426 |
+
|
| 427 |
+
First note that _s_ is continuous everywhere on (0 _, ∞_ ). Then the map _g_ := _s_ (¯ _ρx_ + _y_ )( _ρx−y_ ) _−_ (1 _−xy_ ) is also continuous everywhere. We fix _s_ 0 as given below and also compute the derivative of _g_ as follows
|
| 428 |
+
|
| 429 |
+
**==> picture [180 x 26] intentionally omitted <==**
|
| 430 |
+
|
| 431 |
+
We have used the conditions _[y]_[0][Thus, the requirements] _x_ 0 _[∈{][/][ρ,][ −][ρ]_[¯] _[}]_[ of this case in fixing] _[ s]_[0][ as above.] for applying Lemma A.2 are satisfied, and as a result we have _g ≡_ 0. That is,
|
| 432 |
+
|
| 433 |
+
**==> picture [289 x 11] intentionally omitted <==**
|
| 434 |
+
|
| 435 |
+
For sufficiently large _t_ the equation _rt · xt_ = _yt_ is defined (as stated in equation 4). So we substitute _yt_ = _rt · xt_ in the expression for _st_ in the above equation 5 to get
|
| 436 |
+
|
| 437 |
+
**==> picture [281 x 29] intentionally omitted <==**
|
| 438 |
+
|
| 439 |
+
_Convergence Analysis._ With these expressions in place, we are all set to investigate the limiting behavior of _xt_ and _yt_ . Let _x∞_ , _y∞_ and _r∞_ be the limits of _xt, yt_ and _rt_ respectively. We will show ¯ that these limits exist. We will see that we need _rt_ to be bounded away from _−ρ_ and 0. For this we simply look at the expression for _rt_ under different initializations, and find a _T_ in every case such ¯ that for all _t > T_ this required property of being bounded away from 0 and _−ρ_ holds. We note that the monotonicity of _rt_ helps us make this argument. We organize the observation in the following table.
|
| 440 |
+
|
| 441 |
+
14
|
| 442 |
+
|
| 443 |
+
|_r_0 = _y_0<br>_x_0|_c_2 = (¯_ρ_+_r_0)_/_(_ρ −r_0)|_T_|_rt_on(_T, ∞_)|_rt_|
|
| 444 |
+
|---|---|---|---|---|
|
| 445 |
+
|(_−∞, −_¯_ρ_)<br>(_−_1_,_0)<br>_−_(ln_|c_2_|_)_/_2_ac_1<br>decreasing<br>(_ρ, rT_)<br>(_−_¯_ρ,_0]<br>(0_,_¯_ρ_2]<br>(ln ¯_ρ_2 _−_ln_c_2)_/_2_ac_1<br>increasing<br>(_rT , ρ_)<br>(0_, ρ_)<br>(¯_ρ_2_, ∞_)<br>0<br>increasing<br>(_r_0_, ρ_)<br>(_ρ, ∞_)<br>(_−∞, −_1)<br>0<br>decreasing<br>(_ρ, r_0)|||||
|
| 446 |
+
|
| 447 |
+
Note that _rt_ being bounded away from _−ρ_ ¯ means that _|_ (¯ _ρ_ + _rtrt_ ) _[|]_[is][bounded,][for][sufficiently][large] _[t]_ depending on the initialization as stated in the above table. We use this and the expression for _x_[2] in equation 6 to observe that
|
| 448 |
+
|
| 449 |
+
**==> picture [246 x 28] intentionally omitted <==**
|
| 450 |
+
|
| 451 |
+
Similarly, we further use _rt_ being bounded away from 0 for the following residue
|
| 452 |
+
|
| 453 |
+
**==> picture [198 x 60] intentionally omitted <==**
|
| 454 |
+
|
| 455 |
+
Thus, _s_ ( _ρ − r_ ) is the quantity of interest, and therefore we study its limiting behavior. When _c ̸_ = 0, we have
|
| 456 |
+
|
| 457 |
+
**==> picture [216 x 26] intentionally omitted <==**
|
| 458 |
+
|
| 459 |
+
where _c_ 5 _>_ 0 is some constant. Here we have used 2 _a − c_ = 2¯ _ρ_ . Similarly, when _c_ = 0, we do a similar calculation to obtain
|
| 460 |
+
|
| 461 |
+
**==> picture [210 x 26] intentionally omitted <==**
|
| 462 |
+
|
| 463 |
+
for some constant _|s_ ( _ρ − r_ ) _|_ decays to _c_ 6 0 _>_ we get that0. In either _x∞_ case,= _±_ we therefore conclude that _[√] ρ_ ¯ and _x∞ · y∞_ = 1. Thus, lim _y∞t→∞_ = _±st_ ( _[√] ρρ −_ with the same _rt_ ) = 0. As sign as _x∞_ (as _r∞_ positive). This case is hence complete.
|
| 464 |
+
|
| 465 |
+
**Case 2.** Suppose _x[y]_[0] 0[=] _[ρ]_[.][Then equation 3 tells us that] _[ r]_[=] _[ρ]_[ for all] _[ t]_[.][Substituting] _[ y]_[=] _[ρx]_[ in] _[x]_[˙] gives the equation
|
| 466 |
+
|
| 467 |
+
**==> picture [190 x 23] intentionally omitted <==**
|
| 468 |
+
|
| 469 |
+
Here consider the time varying function _X_ defined as
|
| 470 |
+
|
| 471 |
+
**==> picture [71 x 14] intentionally omitted <==**
|
| 472 |
+
|
| 473 |
+
where _c_ 2 = _Xρ_ ¯0 _[−]_[1][.][Setting] _[ X]_[0][=] _[ x]_[2] 0[we get that] _[ X][t]_[is continuous everywhere as] _[ c]_[2] _[>][ −]_[1][.][For the] function ( _Xt − x_[2] _t_[)][ we have an initial condition equalling][ 0][ and the derivative condition]
|
| 474 |
+
|
| 475 |
+
**==> picture [171 x 23] intentionally omitted <==**
|
| 476 |
+
|
| 477 |
+
Thus we apply Lemma A.2 obtaining _x_[2] _t_[=] _[ X][t]_[at all] _[ t]_[.][We also have that][ lim] _[ x]_[2][=] _[ρ]_[¯][ where] �� _ρ_ ¯ _− x_ 2�� decays with an exponential rate of _−_ 2¯ _ρc_ 1. This is the same limit and convergence rate which we obtain in Case 1.
|
| 478 |
+
|
| 479 |
+
**Case 3.** Suppose _x[y]_[0] 0[=] _[−][ρ]_[¯][.][Equation][3][tells][us][that] _[r][t]_[=] _[−][ρ]_[¯][for][all] _[t]_[.][This][reduces] _[x]_[˙][to] _[x]_[˙][=] _−_ ( _ρ_ + _x_[2] ) _x ≤−ρ · x_ , thus ensuring that _x_ decays to 0 with an exponential rate of at least _ρ_ . Thus, in this case ( _x∞, y∞_ ) = (0 _,_ 0).
|
| 480 |
+
|
| 481 |
+
15
|
| 482 |
+
|
| 483 |
+
**==> picture [278 x 209] intentionally omitted <==**
|
| 484 |
+
|
| 485 |
+
Figure 3: Training loss _ℓ_ df and the theoretical bound for the loss given in Theorem 1, for Equality Histogram trained using gradient descent starting from random initialization. We see the exponential convergence of the loss to 0, as described in Theorem 1.
|
| 486 |
+
|
| 487 |
+
The only initial case that remains is when _x_ 0 = 0 or _y_ 0 = 0. Suppose _x_ 0 = 0 and _y_ 0 = 0. Then ˙ note that _x_ 0 = _c_ 1 _y_ 0 = 0. Then for very small _ϵ >_ 0 we get _xϵ, yϵ_ = 0. Thus we can apply the same convergence analysis with our initial assumption of nonzero _x_ and _y_ starting from time _ϵ_ . A similar analysis can be done for _x_ 0 = 0 and _y_ 0 = 0.
|
| 488 |
+
|
| 489 |
+
Finally if _x_ 0 = _y_ 0 = 0, the function doesn’t change. The collation of these steps complete the proof for theorem 2.
|
| 490 |
+
|
| 491 |
+
## A.3 ADDITIONAL EXPERIMENTS
|
| 492 |
+
|
| 493 |
+
In this section we describe some additional experiments to validate the claims presented.
|
| 494 |
+
|
| 495 |
+
**Random Initialization** To experimentally validate the theoretical results presented, we train a DFLinear network to minimize the _ℓ_ df loss on the `EqualityHistogram` task, using gradient descent. Figure 3 shows the training loss and the theoretical bounds derived in Theorem 1 starting from random Gaussian initialization. Note that, since gradient descent is a discretization of gradient flow, the time step _N_ post which we expect to see exponential decay was calculated as _N_ = _T/η_ .
|
| 496 |
+
|
| 497 |
+
**Initializing Close to the Bad Initializations** From Remark 1, we know the set of bad initializations - initializations that lead us to saddle points. For example, for the Equality Histogram task, one such set of points is _**v**_ 0 = _c_ **1** _d_ and _**Q**_ 0 = _−c_ _**I** d_ , for _c ∈_ R i.e. the set of points such that _**q** i_[(0)] _[T]_ _**m** i_ + ¯ _ρivi_[(0)] = 0 for all _i ∈_ [ _d_ ]. Initializing from this set, the trajectory converges to the saddle point at _**Q**_ = 0 _,_ _**v**_ = 0.
|
| 498 |
+
|
| 499 |
+
Figure 4 shows the trajectories of two systems, one initialized close to this set (satisfying _**q** i_[(0)] _[T]_ _**m** i_ + _ρ_ ¯ _ivi_[(0)] = 0 _._ 01), and the other initialized slightly farther away from this set (satisfying _**q** i_[(0)] _[T]_ _**m** i_ + _ρ_ ¯ _ivi_[(0)] = 0 _._ 1), with all other parameters same. We see that, for initializations close to the set of points that lead to the saddle point, it takes longer to converge - we remain close to the saddle point for longer. This can also be seen theoretically - the time _T_ following which exponential decay occurs is much larger for initializations close to the set of bad initializations, and similarly, the rate of decay is much smaller.
|
| 500 |
+
|
| 501 |
+
16
|
| 502 |
+
|
| 503 |
+
**==> picture [278 x 209] intentionally omitted <==**
|
| 504 |
+
|
| 505 |
+
Figure 4: Loss curves for gradient descent on _ℓ_ df starting from different distances to the set of points that lead to a saddle point. Note that initializations closer to the set of bad initializations get closer to the saddle point, and take longer to escape.
|
| 506 |
+
|
| 507 |
+
17
|
| 508 |
+
|
open_review/iclr2024_9111.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9111",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Non-backtracking Graph Neural Networks",
|
| 6 |
+
"abstract": "The celebrated message-passing updates for graph neural networks allow the representation of large-scale graphs with local and computationally tractable updates. However, the local updates suffer from backtracking, i.e., a message flows through the same edge twice and revisits the previously visited node. Since the number of message flows increases exponentially with the number of updates, the redundancy in local updates prevents the graph neural network from accurately recognizing a particular message flow for downstream tasks. In this work, we propose to resolve such a redundancy via the non-backtracking graph neural network (NBA-GNN) that updates a message without incorporating the message from the previously visited node. We further investigate how NBA-GNN alleviates the over-squashing of GNNs, and establish a connection between NBA-GNN and the impressive performance of non-backtracking updates for stochastic block model recovery. We empirically verify the effectiveness of our NBA-GNN on long-range graph benchmark and transductive node classification problems.",
|
| 7 |
+
"rebuttal": "### General Response (1/2)\n# General Response\n\nWe thank you for your thoughtful feedback! We have addressed the comments and updated our draft accordingly. **All reviewers** find the experiments convincing, demonstrating the superiority of NBA-GNNs in the given tasks. The paper is praised for its clarity ($\\textcolor{violet}{w5ts}$, $\\textcolor{blue}{Q7oz}$) thorough analysis of message flow redundancy, and well-motivated approach using non-backtracking updates ($\\textcolor{red}{WPCH}$). The theoretical results contribute to understanding ($\\textcolor{blue}{Q7oz}$, $\\textcolor{green}{ayH6}$), and the use of a well-established concept from other fields to enhance GNNs is appreciated ($\\textcolor{lime}{apAV}$).\n\nGiven the common viewpoints among reviewers, we will first **describe our difference from the related work LGNN in 1**, and **concerns on our theoretical analysis in 2 and 3** as follows:\n\n---\n\n## 1. Lack of comparison with Line Graph Neural Network\n\nWe thank the reviewers for pointing out our lack of comparison with a significant related work: line graph neural network (LGNN, Chen et al., 2019). We fully agree that the comparison is crucial and provide the conceptual and empirical comparison in what follows. We also incorporated our comparisons in the updated manuscript, and highlighted them in blue. \n\nAs the reviewers mentioned, LGNN was the first to consider the non-backtracking operator in GNNs. In comparison, **our main contribution over LGNN is in consideration of the non-backtracking operator specifically for the message redundancy problem**. Indeed, LGNN does not alleviate the redundancy problem due to contaminating the non-backtracking update with a conventional GNN update (that may backtrack). \n\nWe further support our claim that **LGNN fails to solve the message redundancy problem by empirically comparing** NBA-GNN with LGNN on the long-range graph benchmark (peptides-func), as reviewer $\\textcolor{blue}{Q7oz}$ suggested. In the below table, one can observe how LGNN fails to solve the long-range problem.\n\nTable 1 - Comparison of LGNN, NBA-GCN in peptides-func dataset\n| Peptides-func | best training AP | best test AP | Test time per epoch | RTX 3090 |\n|---------------|:-----------------:|:------------:|:-------------------:|:--------:|\n| LGNN | 0.4307 | 0.4247 | 87.440 (64) | 97.10% |\n| NBA-GCN | 0.9724 | 0.7207 | 0.541 (200) | 51.18% |\n\nAdditionally, note that we have found LGNN to require prohibitively large space and time complexity for the dataset in the long-range graph benchmark due to (1) the sequential interaction between graph and line graph representation updates and (2) the use of powers of adjacency matrices, e.g., $A^2$, for message aggregation. \n\n---\n\n## 2. Lack of significance in Theorem 1 ($\\textcolor{violet}{w5ts}$, $\\textcolor{blue}{Q7oz}$, $\\textcolor{green}{ayH6}$)\n\nWe resonate with the reviewers that our upper bound in Theorem 1 is not necessarily tight and derived using rather simple techniques. Nevertheless, we like to emphasize that **our contribution is the first to compare the degree of over-squashing between GNNs, aligning with different random walks**. Furthermore, demonstrating the tightness of sensitivity bounds requires unrealistic strong assumptions, e.g., there always exist parameters that set the sensitivity term to zero.\n\n### General Response (2/2)\n## 3. Lack of novelty in Theorems 2, 3 ($\\textcolor{violet}{w5ts}$, $\\textcolor{green}{ayH6}$, $\\textcolor{lime}{apAV}$)\n\nIn Theorems 2 and 3, we demonstrate the expressive capabilities of NBA-GNNs.\nPrevious research has shown that the spectrum of the non-backtracking matrix possesses a valuable property for revealing hidden structures, even in very sparse settings. Specifically, [1] demonstrates the non-backtracking matrix's spectral separation property and the presence of an eigenvector containing information about the community index of vertices. Additionally, [2] [...]\n\n### Response to Reviewer Q7oz\nWe understand your reservations about the strength of our theoretical results despite our assertion of being the first to compare the degree of over-squashing between GNNs using different random walks. We would like to provide additional insights into the unique contributions of our work:\n\n**1. Novelty in Comparison Methodology**: Our primary contribution lies in introducing a novel approach to compare the degree of over-squashing among GNNs. By aligning with different random walks, we believe we provide a fresh perspective that adds to the existing body of knowle [...]\n\n### Response to Reviewer Q7oz\nDear Reviewer $\\textcolor{blue}{Q7oz}$,\n\nWe sincerely appreciate your valuable and active feedback for improving our work. We hope we have addressed every question. Please feel free to let us know if there still are concerns not resolved to re-evaluate/re-rate our paper.\n\n---\n\n**W1/Q1** Comparison to seemingly closely related previous work appears to be lacking\n\nWe appreciate your notification about the overlooked work and incorporated it in our general response 1, section 2, and appendix A. While LGNN is indeed a significant prior work first using the non-backtra [...]\n\n### Response to Reviewer WPCH\nDear Reviewer $\\textcolor{red}{WPCH}$,\n\nWe sincerely appreciate your valuable and active feedback for improving our work. We hope we have addressed every question. Please feel free to let us know if there still are concerns not resolved to re-evaluate/re-rate our paper.\n\n---\n\n**W1** The paper lacks a detailed description of the non-backtracking operator\n\nWe discussed the non-backtracking operator in the sensitivity analysis, section 4.1. However, as the reviewer suggested, providing a detailed description of using the non-backtracking operator in NBA-GNNs can enha [...]\n\n### Response to Reviewer apAV\nWe appreciate your thoughtful review and questions again. If there are any remaining concerns, please feel free to bring them to our at\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
6,
|
| 11 |
+
5,
|
| 12 |
+
3,
|
| 13 |
+
5
|
| 14 |
+
],
|
| 15 |
+
"score_mean": 4.4,
|
| 16 |
+
"score_variance": 1.8,
|
| 17 |
+
"score_spread": 3,
|
| 18 |
+
"score_min": 3,
|
| 19 |
+
"score_max": 6,
|
| 20 |
+
"decision": "Reject",
|
| 21 |
+
"rebuttal_validity_ground_truth": false,
|
| 22 |
+
"meta_review": "Important references were missed in the original submission, as pointed out by several referees. In view of these references, the novelty of the present submission seems limited and not sufficient for acceptance.",
|
| 23 |
+
"forum_id": "YkR9UFlQ1s",
|
| 24 |
+
"primary_area": "learning on graphs and other geometries & topologies",
|
| 25 |
+
"n_reviews": 5,
|
| 26 |
+
"per_review": [
|
| 27 |
+
{
|
| 28 |
+
"reviewer": "Reviewer_w5ts",
|
| 29 |
+
"review_id": "YaXrBFoZmY",
|
| 30 |
+
"scores": {
|
| 31 |
+
"rating": 3,
|
| 32 |
+
"soundness": 2,
|
| 33 |
+
"presentation": 3,
|
| 34 |
+
"contribution": 2,
|
| 35 |
+
"confidence": 4
|
| 36 |
+
},
|
| 37 |
+
"review_text_chars": 2813,
|
| 38 |
+
"edit_detected": true,
|
| 39 |
+
"edit_delta_seconds": 780786,
|
| 40 |
+
"post_rebuttal_text_signal": false,
|
| 41 |
+
"score_mentions_in_text": []
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"reviewer": "Reviewer_WPCH",
|
| 45 |
+
"review_id": "QAOhl4kSOG",
|
| 46 |
+
"scores": {
|
| 47 |
+
"rating": 6,
|
| 48 |
+
"soundness": 3,
|
| 49 |
+
"presentation": 3,
|
| 50 |
+
"contribution": 3,
|
| 51 |
+
"confidence": 3
|
| 52 |
+
},
|
| 53 |
+
"review_text_chars": 1630,
|
| 54 |
+
"edit_detected": true,
|
| 55 |
+
"edit_delta_seconds": 1624139,
|
| 56 |
+
"post_rebuttal_text_signal": false,
|
| 57 |
+
"score_mentions_in_text": []
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"reviewer": "Reviewer_Q7oz",
|
| 61 |
+
"review_id": "PLdVPwN0Xn",
|
| 62 |
+
"scores": {
|
| 63 |
+
"rating": 5,
|
| 64 |
+
"soundness": 3,
|
| 65 |
+
"presentation": 4,
|
| 66 |
+
"contribution": 3,
|
| 67 |
+
"confidence": 4
|
| 68 |
+
},
|
| 69 |
+
"review_text_chars": 3176,
|
| 70 |
+
"edit_detected": true,
|
| 71 |
+
"edit_delta_seconds": 870112,
|
| 72 |
+
"post_rebuttal_text_signal": false,
|
| 73 |
+
"score_mentions_in_text": []
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"reviewer": "Reviewer_ayH6",
|
| 77 |
+
"review_id": "3wnumOgkDC",
|
| 78 |
+
"scores": {
|
| 79 |
+
"rating": 3,
|
| 80 |
+
"soundness": 3,
|
| 81 |
+
"presentation": 4,
|
| 82 |
+
"contribution": 1,
|
| 83 |
+
"confidence": 4
|
| 84 |
+
},
|
| 85 |
+
"review_text_chars": 2649,
|
| 86 |
+
"edit_detected": true,
|
| 87 |
+
"edit_delta_seconds": 889547,
|
| 88 |
+
"post_rebuttal_text_signal": false,
|
| 89 |
+
"score_mentions_in_text": []
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"reviewer": "Reviewer_apAV",
|
| 93 |
+
"review_id": "hiL2ieuzw4",
|
| 94 |
+
"scores": {
|
| 95 |
+
"rating": 5,
|
| 96 |
+
"soundness": 3,
|
| 97 |
+
"presentation": 3,
|
| 98 |
+
"contribution": 2,
|
| 99 |
+
"confidence": 5
|
| 100 |
+
},
|
| 101 |
+
"review_text_chars": 4723,
|
| 102 |
+
"edit_detected": true,
|
| 103 |
+
"edit_delta_seconds": 893319,
|
| 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_9111.md
ADDED
|
@@ -0,0 +1,460 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## NON-BACKTRACKING GRAPH NEURAL NETWORK
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
The celebrated message-passing updates for graph neural networks allow the representation of large-scale graphs with local and computationally tractable updates. However, the local updates suffer from backtracking, i.e., a message flows through the same edge twice and revisits the previously visited node. Since the number of message flows increases exponentially with the number of updates, the redundancy in local updates prevents the graph neural network from accurately recognizing a particular message flow for downstream tasks. In this work, we propose to resolve such a redundancy via the non-backtracking graph neural network (NBA-GNN) that updates a message without incorporating the message from the previously visited node. We further investigate how NBA-GNN alleviates the over-squashing of GNNs, and establish a connection between NBA-GNN and the impressive performance of non-backtracking updates for stochastic block model recovery. We empirically verify the effectiveness of our NBA-GNN on long-range graph benchmark and transductive node classification problems.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Recently, graph neural networks (GNNs) (Kipf & Welling, 2016; Hamilton et al., 2017; Xu et al., 2019) have shown great success in various applications, including but not limited to, molecular property prediction (Gilmer et al., 2017) and community detection (Bruna & Li, 2017). Such success can be largely attributed to the message-passing structure of GNNs, which provides a computationally tractable way of incorporating the overall graph through iterative updates based on local neighborhoods. However, the message-passing structure also brings challenges due to the parallel updates and memory-less behavior of messages passed along the graph.
|
| 14 |
+
|
| 15 |
+
In particular, the message in a GNN is prone to backtracking, where the message from vertex _i_ to
|
| 16 |
+
|
| 17 |
+
**==> picture [180 x 127] intentionally omitted <==**
|
| 18 |
+
|
| 19 |
+
**----- Start of picture text -----**<br>
|
| 20 |
+
i i<br>j j<br>Step 1 Step 2<br>i i<br>j j<br>Step 1 Step 2<br>**----- End of picture text -----**<br>
|
| 21 |
+
|
| 22 |
+
Figure 1: Message of simple (above) and non-backtracking (below) updates.
|
| 23 |
+
|
| 24 |
+
vertex _j_ is reincorporated in the subsequent message from _j_ to _i_ , e.g., Figure 1. Since the messagepassing iteratively aggregates the information, the GNN inevitably encounters an exponential surge in the number of message flows, proportionate to the vertex degrees. This issue is compounded by backtracking, which accelerates the growth of message flows with redundant information.
|
| 25 |
+
|
| 26 |
+
Interestingly, despite these challenges, non-backtracking updates—a potential solution—have been largely overlooked in the existing GNN research, while they have been thoroughly investigated for non-GNN message-passing algorithms or random walks (Fitzner & van der Hofstad, 2013; Rappaport et al., 2017) (Figure 1). For example, given a pair of vertices _i, j_ , the belief propagation algorithm (Pearl, 1982) forbids an _i ! j_ message from incorporating the _j ! i_ message. Another example is the non-backtracking random walks (Alon et al., 2007) which are non-Markovian walks that do not traverse the same edge twice and revisit the previous node. Such classic algorithms have demonstrated great success in applications like probabilistic graphical model inference and stochastic block models (Massouli´e, 2014; Bordenave et al., 2015; Abbe & Sandon, 2015b). In particular, the spectrum of the non-backtracking operator contains more useful information than that of the adjacency matrix in revealing the hidden structure of a graph model (Bordenave et al., 2015).
|
| 27 |
+
|
| 28 |
+
1
|
| 29 |
+
|
| 30 |
+
**Contribution.** In this work, we propose the non-backtracking graph neural network (NBA-GNN) which employs non-backtracking updates on the messages, i.e., forbids the message from vertex _i_ to vertex _j_ from being incorporated in the message from vertex _j_ to _i_ . To this end, we associate the hidden features with transitions between a pair of vertices, e.g., _hj!i_ , and update them from features associated with non-backtracking transitions, e.g., _hk!j_ for _k_ = _i_ .
|
| 31 |
+
|
| 32 |
+
To motivate our work, we formulate “message as the sensitivity of a GNN with respect to walks in the graph. Then we explain how the message flows are redundant; the GNN’s sensitivity of a walk with backtracking transitions can be covered by that of other non-backtracking walks. We explain how the redundancy is harmful to the GNN since the number of walks increases exponentially as the number of layers grows and the GNN becomes insensitive to a particular walk information. Hence, reducing the redundancy by only considering non-backtracking walks would benefit the message-passing updates to better recognize each walk’s information. We further make a connection from our sensitivity analysis to the over-squashing phenomenon for GNNs (Topping et al., 2022; Black et al., 2023; Di Giovanni et al., 2023) in terms of access time.
|
| 33 |
+
|
| 34 |
+
Furthermore, we analyze our NBA-GNNs from the perspective of over-squashing and their expressive capability to recover sparse stochastic block models (SBMs). To this end, we prove that NBAGNN improves the Jacobian-based measure of over-squashing (Topping et al., 2022) compared to its original GNN counterpart.
|
| 35 |
+
|
| 36 |
+
distinguish between graphs originating from the Erd˝os–R´enyi model or the SBM, from the results of (Stephan & Massouli´e, 2022; Bordenave et al., 2015). Unlike traditional GNNs that operate on adjacency matrices and necessitate an average degree of at least ⌦(log _n_ ), NBA-GNN demonstrates the ability to perform node classification with a substantially lower average degree bound of _!_ (1) and _n[o]_[(1)] . Furthermore, the algorithm can accurately classify graphs even when the average degree remains constant.
|
| 37 |
+
|
| 38 |
+
Finally, we empirically evaluate our NBA-GNN on the long-range graph benchmark (Dwivedi et al., 2022) and transductive node classification problems (Sen et al., 2008; Pei et al., 2019). We observe that our NBA-GNN demonstrates competitive performance and even achieves state-of-the-art performance on the long-rage graph benchmark. For the node classification tasks, we demonstrate that NBA-GNN consistently improves over its conventional GNN counterpart.
|
| 39 |
+
|
| 40 |
+
To summarize, our contributions are as follows:
|
| 41 |
+
|
| 42 |
+
-
|
| 43 |
+
|
| 44 |
+
- We analyze how the NBA-GNN alleviates over-squashing and is expressive enough to recover sparse stochastic block models with an average degree of _o_ (log _n_ ).
|
| 45 |
+
|
| 46 |
+
- We empirically verify our NBA-GNNs to show state-of-the-art performance on the long-range graph benchmark and consistently improve over the conventional GNNs across various tasks.
|
| 47 |
+
|
| 48 |
+
## 2 RELATED WORKS
|
| 49 |
+
|
| 50 |
+
**Non-backtracking algorithms.** Non-backtracking updates have been considered by many classical algorithms (Newman, 2013; Kempton, 2016). Belief propagation (Pearl, 1982) infers the marginal distribution on probabilistic graphical models, and has demonstrated success for tree graphs (Kim & Pearl, 1983) and graphs with large girth (Murphy et al., 2013). Moreover, Mah´e et al. (2004) and Aziz et al. (2013) suggest graph kernels between labeled graphs utilizing non-backtracking walks, and Krzakala et al. (2013) has first used it for node classification. Furthermore, the non-backtracking has been shown to yield better spectral separation properties, and its eigenspace contains information about the hidden structure of a graph model (Bordenave et al., 2015; Stephan & Massouli´e, 2022).
|
| 51 |
+
|
| 52 |
+
Additionally, Chen et al. (2017 ited to community detection tasks. Chen et al. (2022) has removed redundancy by computing nonredundant tree for every nodes, inevitably suffering high complexity. We highlight the differences between the related works and our NBA-GNN in Appendix A, due to limited space.
|
| 53 |
+
|
| 54 |
+
**Analyzing over-squashing of GNNs.** When a node receives information from a _k_ -hop neighbor node, an exponential number of messages passes through node representations with fixed-sized vec-
|
| 55 |
+
|
| 56 |
+
2
|
| 57 |
+
|
| 58 |
+
tors. This leads to the loss of information denoted as _over-squashing_ (Alon & Yahav, 2020), and has been formalized in terms of sensitivity (Topping et al., 2022; Di Giovanni et al., 2023). Hence, sensitivity is defined as the Jacobian of a node feature at a GNN layer with respect to the input node, and can be upper bounded via the graph topology. Stemming from this, graph rewiring methods mitigate over-squashing by adding or removing edges for an optimal graph topology to compute (Topping et al., 2022; Black et al., 2023; Di Giovanni et al., 2023). Another line of work uses global aspects, e.g., connecting a virtual global node (Cai et al., 2023) or using graph Transformers (Ying et al., 2021; Kreuzer et al., 2021; Ramp´aˇsek et al., 2022; Shirzad et al., 2023).
|
| 59 |
+
|
| 60 |
+
**Expressivity of GNNs with the Weisfeiler-Lehman (WL) test.** In the past few years, researchers have conducted significant studies on various aspects of the expressive power of GNNs. One line of research involves comparing GNNs with the WL test (Leman & Weisfeiler, 1968) to assess their expressiveness. For instance, Xu et al. (2019) demonstrated that MPNNs are at best as powerful as the WL test and introduced the graph isomorphism network (GIN), which matches the representational power of the WL test. Besides, Kanatsoulis & Ribeiro (2023) analyze the expressivity of GNNs utilizing linear algebraic tools and eigenvalue decomposition of graph operators.
|
| 61 |
+
|
| 62 |
+
**Expressivity of GNNs for the stochastic block model (SBM).** Furthermore, certain studies have analyzed the expressive power of GNNs using variations of the SBM (Holland et al., 1983). Fountoulakis et al. (2022) established conditions for the existence of graph attention networks (GATs) that can precisely classify nodes in the contextual stochastic block model (CSBM) with high probability. Similarly, Baranwal et al. (2022) investigated the effects of graph convolutions within a network on the XOR-CSBM. These works focused primarily on the probability distribution of node features, such as the distance between the means of feature vectors.
|
| 63 |
+
|
| 64 |
+
## 3 NON-BACKTRACKING GRAPH NEURAL NETWORK
|
| 65 |
+
|
| 66 |
+
## 3.1 MOTIVATION FROM SENSITIVITY ANALYSIS
|
| 67 |
+
|
| 68 |
+
To this end, consider a simple, undirected graph _G_ = ( _V, E_ ) where _N_ ( _i_ ) denotes the neighbor of the node _i_ . Each node _i 2 V_ is associated with a feature _xi_ . Then the conventional graph neural networks (GNNs), i.e., message-passing neural networks (MPNNs) (Gilmer et al., 2017), iteratively update the _t_ -th layer node-wise hidden feature _h_[(] _i[t]_[)] as follows:
|
| 69 |
+
|
| 70 |
+
**==> picture [308 x 25] intentionally omitted <==**
|
| 71 |
+
|
| 72 |
+
where _φ_[(] _[t]_[)] and[(] _[t]_[)] are architecture-specific non-linear update and permutation invariant aggregation functions, respectively. Our key observation is that the message from the node feature _h_[(] _i[t]_[)] to the node feature _h_[(] _j[t]_[+1)] is reincorporated in the node feature _h_[(] _i[t]_[+2)] , e.g., Figure 3a shows the computation graph of conventional GNNs where redundant messages are incorporated.
|
| 73 |
+
|
| 74 |
+
**Sensitivity analysis.** To concretely describe the backtracking nature of message-passing updates, we formulate the sensitivity of the final node feature _h_[(] _i[T]_[ )] with respect to the input as follows:
|
| 75 |
+
|
| 76 |
+
**==> picture [269 x 35] intentionally omitted <==**
|
| 77 |
+
|
| 78 |
+
where _h_[(0)] _i_ = _xi_ , _W_ ( _i_ ) denotes the set of _T_ -step walks ending at node _i,_ and _s_ ( _t_ ) denotes the _t_ -th node in the walk _s 2 W_ ( _i_ ). Intuitively, this equation shows that a GNN with _T_ layer recognizes the graph via aggregation of random walks with length _T_ . Our key observation from Equation (2) is on how the feature _h_[(] _i[T]_[ )] is insensitive to the information to an initial node feature _h_[(0)] _j_[, due to the] information being “squashed” by the aggregation over the exponential number of walks _W_ ( _i_ ). A similar analysis has been conducted on how a node feature _h_[(] _i[T]_[ )] is insensitive to the far-away initial node feature _h_[(0)] _j_ = _xj_ , i.e., the over-squashing phenomenon of GNNs (Topping et al., 2022).
|
| 79 |
+
|
| 80 |
+
3
|
| 81 |
+
|
| 82 |
+
**==> picture [369 x 88] intentionally omitted <==**
|
| 83 |
+
|
| 84 |
+
**----- Start of picture text -----**<br>
|
| 85 |
+
0 0<br>1<br>4 2 d b a e<br>3 2 1 0 3 c a b c<br>0 2 2 2 4 e 0 d<br>...<br>(a) Computation graph of typical GNNs (b) Computation graph of NBA-GNNs<br>**----- End of picture text -----**<br>
|
| 86 |
+
|
| 87 |
+
Figure 3: Computation graph of typical GNN and NBA-GNN predicting node “0”. (a) Redundant messages increase the size of the computation graph. (b) NBA-GNN assigns a pair of features for each edge and update them via non-backtracking message passing, reducing redundant messages.
|
| 88 |
+
|
| 89 |
+
**Redundancy of walks with backtracking.** In particular, a walk _s_ randomly sampled from _W_ ( _i_ ) is likely to contain a transition that backtracks, i.e., _s_ ( _t_ ) = _s_ ( _t_ + 2) for some _t < T_ . Then the walk _s_ would be redundant since the information is contained in two other walks in _W_ ( _i_ ): _s_ (0) _, . . . , s_ ( _t_ + 1) and _s_ (0) _, . . . , s_ ( _t_ + 1) _, s_ ( _t_ ) = _s_ ( _t_ +2) _, s_ ( _t_ +3) _, ..., s_ ( _T_ ). See Figure 2 for an illustration. This idea leads to the conclusion that non-backtracking walks, i.e., walks that do not contain backtracking transitions, are sufficient to express the information in the walks _W_ ( _i_ ). Since the exponential number of walks in _W_ ( _i_ ) causes the GNN to be insensitive to a particular walk information, it makes sense to design a non-
|
| 90 |
+
|
| 91 |
+
**==> picture [64 x 83] intentionally omitted <==**
|
| 92 |
+
|
| 93 |
+
**==> picture [26 x 9] intentionally omitted <==**
|
| 94 |
+
|
| 95 |
+
**----- Start of picture text -----**<br>
|
| 96 |
+
s ( t + 4)<br>**----- End of picture text -----**<br>
|
| 97 |
+
|
| 98 |
+
**==> picture [73 x 54] intentionally omitted <==**
|
| 99 |
+
|
| 100 |
+
**----- Start of picture text -----**<br>
|
| 101 |
+
s ( t + 3)<br>s ( t = t + 2)<br>s ( t − 1) s ( t + 1)<br>**----- End of picture text -----**<br>
|
| 102 |
+
|
| 103 |
+
Figure 2: Two non-backtracking walks (right) are sufficient to express information in a walk with backtracking transition.
|
| 104 |
+
|
| 105 |
+
backtracking GNN that is sensitive to the constrained set of non-backtracking walks. We note that similar concepts of redundancy for GNNs have been studied in prior works (Jia et al., 2020; Chen et al., 2022). See Appendix A for a detailed comparison.
|
| 106 |
+
|
| 107 |
+
**Relation to over-squashing.** Finally, we point out an intriguing motivation for our work in terms of over-squashing. In particular, we note that Di Giovanni et al. (2023) analyzed the lower bound for the Jacobian obstruction that measures the degree of over-squashing in terms of access time with respect to a simple random walk. They conclude that the degree of over-squashing, i.e., the size of Jacobian obstruction, is higher for a pair of nodes with longer access time.
|
| 108 |
+
|
| 109 |
+
Hence, to design a GNN architecture robust to the over-squashing phenomenon, one could (i) propose a random walk that has shorter access time in general for a pair of nodes in the graph, and (ii) design a GNN that aligns with the optimized random walk. Non-backtracking random walks have been empirically shown and believed to generally yield faster access time than simple random walks (Lin & Zhang, 2019; Fasino et al., 2023). Therefore, one could aim to design a GNN architecture that aligns with the non-backtracking random walks.
|
| 110 |
+
|
| 111 |
+
However, to the best of our knowledge, there is no formal proof of scenarios where non-backtracking random walks yield a shorter access time. As a motivating example, we provide a theoretical result comparing the access time of non-backtracking and simple random walks for tree graphs.
|
| 112 |
+
|
| 113 |
+
**Proposition 1.** _Given a tree G_ = ( _V, E_ ) _and a pair of nodes i, j 2 V, the access time of begrudgingly backtracking random walk is equal or smaller than that of a simple random walk, where the equality holds if and only if the random walk length is 1._
|
| 114 |
+
|
| 115 |
+
The begrudgingly backtracking random walk (Rappaport et al., 2017) non-backtracking random walks to remove “dead ends” for tree graphs. Please refer to Appendix B for the proof.
|
| 116 |
+
|
| 117 |
+
## 3.2 METHOD DESCRIPTION
|
| 118 |
+
|
| 119 |
+
In this section, we present our **N** on- **BA** cktracking GNNs (NBA-GNN) with the motivation described in Section 3.1. Given an undirected graph _G_ = ( _V, E_ ), our NBA-GNN associates a pair of hidden features _h_[(] _i![t]_[)] _j[, h]_[(] _j[t] !_[)] _i_[for each edge] _[ {][i, j][}]_[.][Then the non-backtracking message passing update for a]
|
| 120 |
+
|
| 121 |
+
4
|
| 122 |
+
|
| 123 |
+
hidden feature _h_[(] _j[t] !_[)] _i_[is defined as follows:]
|
| 124 |
+
|
| 125 |
+
**==> picture [329 x 25] intentionally omitted <==**
|
| 126 |
+
|
| 127 |
+
where _φ_[(] _[t]_[)] and[(] _[t]_[)] are backbone-specific non-linear update and permutation-invariant aggregation functions at the _t_ -th layer, respectively. For example,[(] _[t]_[)] and _φ_[(] _[t]_[)] are multi-layer perceptron and summation over a set for the graph isomorphism network (Xu et al., 2019), respectively. Given the update in Equation (3), one can observe that the message _h_[(] _i![t]_[)] _j_[is never incorporated in the message] _h_[(] _j[t] !_[+1)] _i_[, and hence the update is free from backtracking.]
|
| 128 |
+
|
| 129 |
+
**Initialization and node-wise aggregation of messages.** The message at the 0-th layer _h_[(0)] _i!j_[is] initialized by encoding the node features _xi, xj_ , and the edge feature _eij_ using a non-linear function _φ_ . After updating hidden features for each edge based on Equation (3), we apply permutationinvariant pooling over all the messages for graph-wise predictions. Since we use hidden features for each edge, we construct the node-wise predictions at the final layer as follows:
|
| 130 |
+
|
| 131 |
+
**==> picture [313 x 19] intentionally omitted <==**
|
| 132 |
+
|
| 133 |
+
where _σ_ is a non-linear aggregation function with different weights for incoming edges _j ! i_ and outgoing edges _i ! j_ , _⇢_ is a non-linear aggregation function invariant to the permutation of nodes in _N_ ( _i_ ). We provide a computation graph of NBA-GNNs in Figure 3b to summarize our algorithm.
|
| 134 |
+
|
| 135 |
+
**Begrudgingly backtracking update.** While the messages from our update are resistant to backtracking, a message _h_[(] _j[t] !_[)] _i_[may get] trapped in node _i_ for the special case when _N_ ( _i_ ) = _{j}_ . To resolve this issue, we introduce a simple trick coined begrudgingly backtracking update (Rappaport et al., 2017) that updates _h_[(] _i![t]_[+1)] _j_ using _h_[(] _j[t] !_[)] _i_[only when] _[ N]_[(] _[i]_[) =] _[ {][j][}]_[.][We empirically verify the ef-] fectiveness of begrudgingly backtracking updates in Section 5.3.
|
| 136 |
+
|
| 137 |
+
**==> picture [32 x 30] intentionally omitted <==**
|
| 138 |
+
|
| 139 |
+
**----- Start of picture text -----**<br>
|
| 140 |
+
i<br>**----- End of picture text -----**<br>
|
| 141 |
+
|
| 142 |
+
**==> picture [84 x 38] intentionally omitted <==**
|
| 143 |
+
|
| 144 |
+
**----- Start of picture text -----**<br>
|
| 145 |
+
j …<br>**----- End of picture text -----**<br>
|
| 146 |
+
|
| 147 |
+
Figure 4: Begrudgingly backtracking update (solid).
|
| 148 |
+
|
| 149 |
+
**Implementation.** To better understand our NBA-GNN, we provide an example of non-backtracking message-passing updates with a GCN backbone (Kipf & Welling, 2016), coined NBA-GCN. The message update at the _t_ -th layer of NBA-GCN can be written as follows:
|
| 150 |
+
|
| 151 |
+
**==> picture [325 x 37] intentionally omitted <==**
|
| 152 |
+
|
| 153 |
+
where _σ_ GCN is an element-wise nonlinear function, e.g., rectified linear unit (Agarap, 2018), **W**[(] _[t]_[)] is the weight matrix, and the messages are normalized by their population _|N_ ( _j_ ) _| −_ 1.
|
| 154 |
+
|
| 155 |
+
- 4 THEORETICAL ANALYSIS
|
| 156 |
+
|
| 157 |
+
NBA-GNN improves the upper bound for sensitivity-based measures of GNN over-squashing and (b) NBA-GNNs can detect the underlying structure of SBMs even for very sparse graphs.
|
| 158 |
+
|
| 159 |
+
## 4.1 SENSITIVITY ANALYSIS ON OVER-SQUASHING
|
| 160 |
+
|
| 161 |
+
Topping et al. (2022), we use the Jacobian of node-wise output with respect to another node initial feature as a way to assess over-squashing effect. We first derive the Jacobian quantification of over-squashing for the NBA-GNNs, and then demonstrate that the upper bound for Jacobian is larger than that of the conventional GNNs derived by Topping et al. (2022).
|
| 162 |
+
|
| 163 |
+
To derive our analysis, we introduce the non-backtracking matrix _B 2 {_ 0 _,_ 1 _}_[2] _[|E|⇥]_[2] _[|E|]_ and the incidence matrix _C 2_ R[2] _[|E|⇥|V|]_ which describe the NBA-GNN message-passing and node-wise aggregation via linear operation, respectively. To be specific, the backtracking matrix _B_ and the incidence
|
| 164 |
+
|
| 165 |
+
5
|
| 166 |
+
|
| 167 |
+
matrix _C_
|
| 168 |
+
|
| 169 |
+
**==> picture [336 x 25] intentionally omitted <==**
|
| 170 |
+
|
| 171 |
+
_Dout_ and _Din_ as the out-degree and in-degree matrices of NBA-GNN, respectively, counting the number of outgoing and incoming edges for each edge. These are diagonal matrices with ( _Dout_ )( _j!i_ ) _,_ ( _j!i_ ) =[P] _`!k[B]_[(] _[j][!][i]_[)] _[,]_[(] _[`][!][k]_[)][and][(] _[D][in]_[)][(] _[j][!][i]_[)] _[,]_[(] _[j][!][i]_[)][=][P] _`!k[B]_[(] _[`][!][k]_[)] _[,]_[(] _[j][!][i]_[)][.] Next,b we introduce _B_[b] as the normalized non-backtracking matrix augmented with self-loops: _B_ = ( _Dout_ + _I_ ) _[−]_ 2[1] ( _B_ + _I_ )( _Din_ + _I_ ) _[−]_ 2[1] . Finally, we let _C_[˜] denote a matrix where _C_[˜] ( _k!j_ ) _,i_ = _C_ ( _k!j_ ) _,i_ + _C_ ( _j!k_ ) _,i_ . Then, one obtains the following sensitivity bound of NBA-GNN.
|
| 172 |
+
|
| 173 |
+
**Lemma 1.** _Consider two nodes i, j 2 V with distance T given a_ ( _T −_ 1) _-layer NBA-GNN as described in Equation_ (3) _and Equation_ (4) _. Suppose |rφ_[(] _[t]_[)] _|, |rσ| ↵, |r_[(] _[t]_[)] _|, |r⇢| β, and |rφ| γ for_ 0 _ t < T . Then the following holds:_
|
| 174 |
+
|
| 175 |
+
**==> picture [148 x 26] intentionally omitted <==**
|
| 176 |
+
|
| 177 |
+
We provide the proof in Appendix C. Lemma 1 states how _the over-squashing effect is controlled by the power of B_[b] . Consequently, one can infer that increasing the upper bound likely leads to mitigation of the GNN over-squashing effect (Topping et al., 2022).
|
| 178 |
+
|
| 179 |
+
From this motivation, we provide an analysis to support our claim on how the NBA-GNN suffers less from over-squashing effect due to its larger sensitivity bound.
|
| 180 |
+
|
| 181 |
+
**Theorem 1.** _Let A_[b] _denote the degree-normalized matrix. Then, for any pair of nodes i, j 2 V with distance T , the sensitivity bound of NBA-GNN is larger than that of conventional GNNs (Topping et al., 2022), i.e.,_ ( _C_[˜] _[>]_[ b] _B[T][ −]_[1][ ˜] _C_ ) _j,i ≥_ ( _A_[b] _[T]_ ) _j,i. For d-regular graphs,_ ( _C_[˜] _[>]_[ b] _B[T][ −]_[1][ ˜] _C_ ) _j,i decays slower by O_ ( _d[−][T]_ ) _, while_ ( _A_[b] _[T]_ ) _j,i decays with O_ (( _d_ + 1) _[−][T]_ ) _._
|
| 182 |
+
|
| 183 |
+
Note that ( _↵β_ ) _[T]_ ( _A_[b] _[T]_ ) _j,i_ provides an upper bound for the sensitivity term in conventional GNNs (Topping et al., 2022). We provide the proof in Appendix C. Our proof is based on comparing the degree-normalized number of non-backtracking and simple walks from node _i_ to node _j_ .
|
| 184 |
+
|
| 185 |
+
## 4.2 EXPRESSIVE POWER OF NBA-GNN IN THE LENS OF SBMS
|
| 186 |
+
|
| 187 |
+
In the literature on the expressive capabilities of GNNs, comparisons with the well-known _k_ -WL test are common. However, even when certain models surpass the _k_ -WL test in performance, evaluating their relative merits remains a nontrivial task. Furthermore, due to the substantial performance gap between the 1-WL and 3-WL tests, many algorithms fall into a range between these two tests, making it more difficult to compare them with each other. It is also worth noting that comparing GNNs with the WL test does not always accurately reflect their performance on real-world datasets.
|
| 188 |
+
|
| 189 |
+
To address these issues, several studies have turned to spectral analysis of GNNs. From a spectral viewpoint, GNNs can be seen as functions of the eigenvectors and eigenvalues of the given graph. NT & Maehara (2019) showed that GNNs operate as low-pass filters on the graph spectrum, and Balcilar et al. (2020) analyzed the use of various GNNs as filters to extract the relevant graph spectrum and measure their expressive power. Moreover, Oono & Suzuki (2020) argue that the expressive power of GNNs is influenced by the topological information contained in the graph spectrum.
|
| 190 |
+
|
| 191 |
+
The eigenvalues and the corresponding adjacency matrix eigenvectors play a pivotal role in establishing the fundamental limits of community detection in SBM, as evidenced by Abbe et al. (2015), Abbe & Sandon (2015a), Hajek et al. (2016), Yun & Proutiere (2016), and Yun & Prouti`ere (2019). The adjacency matrix exhibits a spectral separation property, and an eigenvector containing information about the assignments of the vertex community becomes apparent (Lei & Rinaldo, 2015). Furthermore, by analyzing the eigenvalues of the adjacency matrix, it is feasible to determine whether a graph originates from the Erd˝os–R´enyi (ER) model or the SBM (Erd˝os et al., 2013; Avrachenkov et al., 2015). However, these spectral properties are particularly salient when the average degree of the graph satisfies ⌦(log _n_ ). For graphs with average degrees _o_ (log _n_ ), vertices with higher degrees
|
| 192 |
+
|
| 193 |
+
6
|
| 194 |
+
|
| 195 |
+
Table 1: Comparison of conventional MPNNs and GNNs in the long-range graph benchmark, with and without Laplacian positional encoding. We also denote the relative improvement by Imp.
|
| 196 |
+
|
| 197 |
+
|**Model**|`Peptides`-`func`<br>AP_"_<br>Imp.|`Peptides`-`struct`<br>MAE_#_<br>Imp.|`PascalVOC`-`SP`<br>F1_"_<br>Imp.|
|
| 198 |
+
|---|---|---|---|
|
| 199 |
+
|GCN<br>+ NBA<br>+ NBA+LapPE|0.5930 _±_0.0023<br>0.6951 _±_0.0024<br>+17%<br>**0.7206** _±_**0.0028**<br>+22%|0.3496 _±_0.0013<br>0.2656 _±_0.0009<br>+22%<br>**0.2472** _±_**0.0008**<br>+29%|0.1268 _±_0.0060<br>0.2537 _±_0.0054<br>+100%<br>**0.3005** _±_**0.0010**<br>+137%|
|
| 200 |
+
|GIN<br>+ NBA<br>+ NBA+LapPE|0.5498 _±_0.0079<br>0.6961 _±_0.0045<br>+27%<br>**0.7071** _±_**0.0067**<br>+29%|0.3547 _±_0.0045<br>0.2534 _±_0.0025<br>+29%<br>**0.2424** _±_**0.0010**<br>+32%|0.1265 _±_0.0076<br>0.3040 _±_0.0119<br>+140%<br>**0.3223** _±_**0.0010**<br>+155%|
|
| 201 |
+
|GatedGCN<br>+ NBA<br>+ NBA+LapPE|0.5864 _±_0.0077<br>0.6429 _±_0.0062<br>+10%<br>**0.6982** _±_**0.0014**<br>+19%|0.3420 _±_0.0013<br>0.2539 _±_0.0011<br>+26%<br>**0.2466** _±_**0.0012**<br>+28%|0.2873 _±_0.0219<br>0.3910 _±_0.0010<br>+36%<br>**0.3969** _±_**0.0027**<br>+38%|
|
| 202 |
+
|
| 203 |
+
predominate, affecting eigenvalues and complicating the discovery of the underlying structure of the graph (Benaych-Georges et al., 2019).
|
| 204 |
+
|
| 205 |
+
In contrast, the non-backtracking matrix exhibits several advantageous properties even for constantdegree cases. In (Stephan & Massouli´e, 2022), the non-backtracking matrix demonstrates a spectral separation property and establishes the presence of an eigenvector containing information about vertex community assignments, when the average degree only satisfies _!_ (1) and _n[o]_[(1)] . Furthermore, Bordenave et al. (2015) have demonstrated that by inspecting the eigenvalues of the nonbacktracking matrix, it is possible to discern whether a graph originates from the ER model or the SBM, even when the graph’s average degree remains constant. This capability sets NBA-GNNs apart and enhances their performance in both node and graph classification tasks, especially in sparse settings. These lines of reasoning lead to the formulation of the following theorem.
|
| 206 |
+
|
| 207 |
+
**Theorem 2.** _**(Informal)** Assume that the average degree in the stochastic block model satisfies the conditions of being at least !_ (1) _and n[o]_[(1)] _. In such a scenario, the NBA-GNN can map from graph G to node labels._
|
| 208 |
+
|
| 209 |
+
**Theorem 3.** _**(Informal)** Suppose we have a pair of graphs with a constant average degree, one generated from the stochastic block model and the other from the Erd˝os–R´enyi model. In this scenario, the NBA-GNN is capable of distinguishing between them._
|
| 210 |
+
|
| 211 |
+
For an in-depth exploration of this argument, please refer to Appendix D. The rationale behind these valuable properties of the non-backtracking matrix _B_ in sparse scenarios lies in the fact that the matrix _B[k]_ exhibits similarity to the _k_ -hop adjacency matrix, while _A[k]_ is mainly influenced by highdegree vertices. For these reasons, NBA-GNNs would outperform traditional GNNs in both node and graph classification tasks, particularly in sparse graph environments.
|
| 212 |
+
|
| 213 |
+
## 5 EXPERIMENT
|
| 214 |
+
|
| 215 |
+
In this section, we assess the effectiveness of NBA-GNNs across multiple benchmarks on graph classification, graph regression, and node classification tasks. Our method shows competitive performance compared to graph Transformers within long-range graph benchmarks, and robust improvements in handling transductive node classification tasks. We also conduct ablation studies to verify our method, and provide experimental details in Appendix E.
|
| 216 |
+
|
| 217 |
+
## 5.1 LONG-RANGE GRAPH BENCHMARK
|
| 218 |
+
|
| 219 |
+
The long-range graph benchmark (LRGB) (Dwivedi et al., 2022) is a set of tasks that require learning long-range interactions. We validate our method using three datasets from the LRGB benchmark: graph classification ( `Peptides` - `func` ), graph regression ( `Peptides` - `struct` ), and node classification ( `PascalVOC` - `SP` ). We use performance scores from (Dwivedi et al., 2022) and from each baseline papers: subgraph based GNNs (Abu-El-Haija et al., 2019; Michel et al., 2023; Giusti et al.,
|
| 220 |
+
|
| 221 |
+
7
|
| 222 |
+
|
| 223 |
+
Table 2: Evaluation of NBA-GNN on the LRGB benchmark. We color the , **second-** and **third-** best results. Performance within a standard deviation of one another is considered equal. Non-reported values are denoted by -.
|
| 224 |
+
|
| 225 |
+
|**Method**|**Model**|`Peptides`-`func`<br>AP_"_|`Peptides`-`struct`<br>MAE_#_|`VOC`-`SP`<br>F1_"_|
|
| 226 |
+
|---|---|---|---|---|
|
| 227 |
+
||GCN|0.5930 _±_0.0023|0.3496 _±_0.0013|0.1268 _±_0.0060|
|
| 228 |
+
|GNNs|GIN<br>GatedGCN|0.5498 _±_0.0079<br>0.5864 _±_0.0077|0.3547 _±_0.0045<br>0.3420 _±_0.0013|0.1265 _±_0.0076<br>0.2873 _±_0.0219|
|
| 229 |
+
||GatedGCN+PE|0.6069 _±_0.0035|0.3357 _±_0.0006|0.2860 _±_0.0085|
|
| 230 |
+
||MixHop-GCN|0.6592 _±_0.0036|0.2921 _±_0.0023|0.2506 _±_0.0133|
|
| 231 |
+
|Subgraph GNNs|MixHop-GCN+LapPE<br>PathNN|0.6843 _±_0.0049<br>0.6816 _±_0.0026|0.2614 _±_0.0023<br>0.2545 _±_0.0032|0.2218 _±_0.0174<br>-|
|
| 232 |
+
||CIN++|0.6569 _±_0.0117|0.2523 _±_0.0013|-|
|
| 233 |
+
||Transformer+LapPE|0.6326 _±_0.0126|0.2529 _±_0.0016|0.2694 _±_0.0098|
|
| 234 |
+
||GraphGPS+LapPE|0.6535 _±_0.0041|0.2500 _±_0.0005|**0.3748** _±_**0.0109**|
|
| 235 |
+
|Transformers|SAN+LapPE|0.6384 _±_0.0121|0.2683 _±_0.0043|0.3230 _±_0.0039|
|
| 236 |
+
||Exphormer|0.6527 _±_0.0043|0.2481 _±_0.0007|**0.3966** _±_**0.0027**|
|
| 237 |
+
||Graph MLP-Mixer/ViT|0.6970 _±_0.0080|**0.2449** _±_**0.0016**|-|
|
| 238 |
+
||DIGL+MPNN|0.6469 _±_0.0019|0.3173 _±_0.0007|0.2824 _±_0.0039|
|
| 239 |
+
||DIGL+MPNN+LapPE|0.6830 _±_0.0026|0.2616 _±_0.0018|0.2921 _±_0.0038|
|
| 240 |
+
|Rewiring methods|DRew-GCN+LapPE|**0.7150** _±_**0.0044**|0.2536 _±_0.0015|0.1851 _±_0.0092|
|
| 241 |
+
||DRew-GIN+LapPE|**0.7126** _±_**0.0045**|0.2606 _±_0.0014|0.2692 _±_0.0059|
|
| 242 |
+
||DRew-GatedGCN+LapPE|0.6977 _±_0.0026|0.2539 _±_0.0007|0.3314 _±_0.0024|
|
| 243 |
+
||NBA-GCN|0.6951 _±_0.0024|0.2656 _±_0.0009|0.2537 _±_0.0054|
|
| 244 |
+
||NBA-GCN+LapPE|**0.7207** _±_**0.0028**|**0.2472** _±_**0.0008**|0.3005 _±_0.0010|
|
| 245 |
+
|**NBA-GNNs (Ours)**|NBA-GIN<br>NBA-GIN+LapPE|0.6961 _±_0.0045<br>**0.7071** _±_**0.0067**|0.2775 _±_0.0057<br>**0.2424** _±_**0.0010**|0.3040 _±_0.0119<br>0.3223 _±_0.0063|
|
| 246 |
+
||NBA-GatedGCN|0.6429 _±_0.0062|0.2539 _±_0.0011|**0.3910** _±_**0.0010**|
|
| 247 |
+
||NBA-GatedGCN+LapPE|0.6982 _±_0.0014|**0.2466** _±_**0.0012**|**0.3969** _±_**0.0027**|
|
| 248 |
+
|
| 249 |
+
Table 3: Comparison of conventional GNNs and their NBA-GNN counterpart on transductive node classification tasks, with and without positional encoding. We mark the best numbers in bold.
|
| 250 |
+
|
| 251 |
+
|**Model**|`Cora`|`CiteSeer`|`PubMed`|`Texas`|`Wisconsin`|`Cornell`|
|
| 252 |
+
|---|---|---|---|---|---|---|
|
| 253 |
+
|GCN|0.8658_±_0.0060|0.7532_±_0.0134|0.8825_±_0.0042|0.6162_±_0.0634|0.6059_±_0.0438|0.5946_±_0.0662|
|
| 254 |
+
|+NBA|**0.8722**_±_**0.0095**|0.7585_±_0.0175|0.8826_±_0.0044|**0.7108**_±_**0.0796**|**0.7471**_±_**0.0386**|0.6108_±_0.0614|
|
| 255 |
+
|+NBA+LapPE|0.8720_±_0.0129|**0.7609**_±_**0.0186**|**0.8827**_±_**0.0048**|0.6811_±_0.0595|**0.7471**_±_**0.0466**|**0.6378**_±_**0.0317**|
|
| 256 |
+
|GraphSAGE|0.8632_±_0.0158|0.7559_±_0.0161|0.8864_±_0.0030|0.7108_±_0.0556|0.7706_±_0.0403|0.6027_±_0.0625|
|
| 257 |
+
|+NBA|**0.8702**_±_**0.0083**|0.7586_±_0.0213|**0.8871**_±_**0.0044**|0.7270_±_0.0905|**0.7765**_±_**0.0508**|**0.6459**_±_**0.0691**|
|
| 258 |
+
|+NBA+LapPE|0.8650_±_0.0120|**0.7621**_±_**0.0172**|0.8870_±_0.0037|**0.7486**_±_**0.0612**|0.7647_±_0.0531|0.6378_±_0.0544|
|
| 259 |
+
|GAT|0.8694_±_0.0119|0.7463_±_0.0159|0.8787_±_0.0046|0.6054_±_0.0386|0.6000_±_0.0491|0.4757_±_0.0614|
|
| 260 |
+
|+NBA|**0.8722**_±_**0.0120**|0.7549_±_0.0171|**0.8829**_±_**0.0043**|0.6622_±_0.0514|0.7059_±_0.0562|**0.5838**_±_**0.0558**|
|
| 261 |
+
|+NBA+LapPE|0.8692_±_0.0098|**0.7561**_±_**0.0175**|0.8822_±_0.0047|**0.6730**_±_**0.0348**|**0.7314**_±_**0.0531**|0.5784_±_0.0640|
|
| 262 |
+
|GatedGCN|0.8477_±_0.0156|0.7325_±_0.0192|**0.8671** _±_0.0060|0.6108_±_0.0652|0.5824_±_0.0641|0.5216_±_0.0987|
|
| 263 |
+
|+NBA|**0.8523**_±_**0.0095**|**0.7405**_±_**0.0187**|0.8661_±_0.0035|0.6162_±_0.0490|0.6431_±_0.0356|**0.5649**_±_**0.0532**|
|
| 264 |
+
|+NBA+LapPE|0.8517_±_0.0130|0.7379_±_0.0193|0.8661_±_0.0047|**0.6243**_±_**0.0467**|**0.6569**_±_**0.0310**|0.5405_±_0.0785|
|
| 265 |
+
|
| 266 |
+
2023), graph Transformers (Kreuzer et al., 2021; Ramp´aˇsek et al., 2022; Shirzad et al., 2023; He et al., 2023), and graph rewiring methods (Gasteiger et al., 2019; Gutteridge et al., 2023). For NBAGNNs and NBA-GNNs with begrudgingly backtracking, we report the one with better performance. Furthermore, LapPE, i.e., Laplacian positional encoding (Dwivedi et al., 2020), is applied, as it enhances the performance of NBA-GNNs in common cases.
|
| 267 |
+
|
| 268 |
+
As one can see in Table 1, NBA-GNNs show improvement regardless of the combined backbone GNNs, i.e., GCN (Kipf & Welling, 2016), GIN (Xu et al., 2019), and GatedGCN (Bresson & Laurent, 2017). Furthermore, even against a variety of baselines in Table 2, at least one NBA-GNNs shows competitive performance with the best baseline in LRGB. Also, it is noteworthy that the improvement of NBA-GNNs is higher in dense graphs, `PascalVOC` - `SP` having an average degree of 8 while `Peptides` - `func` _,_ `Peptides` - `struct` has an average degree of 2.
|
| 269 |
+
|
| 270 |
+
8
|
| 271 |
+
|
| 272 |
+
|(a) F1 for changes in number of lay-<br>ers in`PascalVOC`-`SP`<br>(b) AP for changes in number of<br>layers in`Peptides`-`func`|GCN<br><br>.<br>**.**<br>3<br>**0.7207**<br>0.2547<br>GIN<br>7<br>0.6825<br>**0.2424**<br>3<br>**0.7071**<br>0.2479<br><br>06710<br>**02466**|
|
| 273 |
+
|---|---|
|
| 274 |
+
||GatedGCN<br>7<br>.<br>**.**<br>3<br>**0.6982**<br>0.2489|
|
| 275 |
+
||(c) Performance of begrudgingly,<br>non-backtracking in sparse graphs|
|
| 276 |
+
|
| 277 |
+
Figure 5: Ablation studies on the components of NBA-GNN.
|
| 278 |
+
|
| 279 |
+
## 5.2 TRANSDUCTIVE NODE CLASSIFICATION TASKS
|
| 280 |
+
|
| 281 |
+
We conduct experiments on three citation networks (Cora, CiteSeer, and Pubmed) (Sen et al., 2008), and three heterophilic datasets (Texas, Wisconsin, and Cornell) (Pei et al., 2019) for transductive node classification. In our experiments, we employed various GNN architectures (Kipf & Welling, 2016; Hamilton et al., 2017; Veliˇckovi´c et al., 2018; Li et al., 2016), along with their corresponding NBA versions, as illustrated in Table 3. The results indicate that the NBA operation improves the performance of all GNN variants. Specifically, it demonstrates significant enhancements, particularly on heterophilic datasets. Given that related nodes in heterophilic graphs are often widely separated (Zheng et al., 2022), the ability of NBA-GNN to alleviate over-squashing plays a vital role in classifying nodes in such scenarios.
|
| 282 |
+
|
| 283 |
+
## 5.3 ABLATION STUDIES
|
| 284 |
+
|
| 285 |
+
Here, we conduct ablation studies to empirically verify our framework. For simplicity, we use BA for backtracking GNNs and BG for begrudgingly backtracking GNNs. All experiments are averaged over 3 seeds. We use hyper-parameters for GCN from T¨onshoff et al. (2023).
|
| 286 |
+
|
| 287 |
+
**Non-backtracking vs. backtracking GNNs.** We first verify whether the performance improvements indeed stem from the non-backtracking updates. To this end, we compare our NBA-GNN with a backtracking variant, coined BA-GNN. To be specific, BA-GNN allows backtracking update prohibited in NBA-GNN , i.e., using _h_[(] _i![`]_[)] _j_[to][update] _[h]_[(] _j[`] !_[+1)] _i_[.][From][Figures][5a][and][5b][,][one][can] observe how NBA-GNN outperforms the BA-GNN consistently irrelevant to the numbers of layers. Intriguingly, one can also observe that BA-GNN outperforms the na¨ıve backbone, i.e., GCN, consistently.
|
| 288 |
+
|
| 289 |
+
**Begrudgingly backtracking updates in sparse graphs.** Additionally, we investigate the effect of begrudgingly backtracking in sparse graphs, i.e., `Peptides` - `func` , and `Peptides` - `struct` , in Figure 5c. One can see that begrudgingly backtracking is effective in `Peptides` - `func` , and shows similar performance in `Peptides` - `struct` (Note that the `PascalVOC` - `SP` does not have a vertex with degree one).
|
| 290 |
+
|
| 291 |
+
## 6 CONCLUSION
|
| 292 |
+
|
| 293 |
+
We have introduced message passing framework applicable to any GNN architectures, bringing non-backtracking into graph neural networks. As theoretically shown, NBA-GNNs mitigate oversquashing in terms of sensitivity, and enhance its expressive power for both node and graph classification tasks on SBMs. Additionally, we demonstrate that NBA-GNNs achieve competitive performance on the LRGB benchmark and outperform conventional GNNs across various tasks.
|
| 294 |
+
|
| 295 |
+
**Limitations.** The space complexity of our framework is larger than the conventional GNNs. It creates 2 _|E|_ messages considering directions, and[P] _i2V_ � _d_ 2 _i_ � connections between them where _di_ is the degree of a node _i_ . The time complexity is also[P] _i2V_ � _d_ 2 _i_ �, since we do not add additional message-passing to the backbone GNN. We provide more detail of the space and time complexity in Appendix F. Therefore, investigation of space complexity reduction for our work would be an interesting future work.
|
| 296 |
+
|
| 297 |
+
9
|
| 298 |
+
|
| 299 |
+
**Ethics Statement.** The authors are committed to upholding the ICLR Code of Ethics and maintaining the highest ethical standards in research and scholarly activities. Additionally, it is crucial to acknowledge the potential ethical considerations associated with the utilization of our model. Although the model can offer valuable insights and advantages, there exists a possibility of misuse or unintended consequences. For instance, it could be exploited to extract sensitive information, such as affiliations or political inclinations, from social networks. Therefore, it is important to apply such models carefully and actively work towards preventing any adverse side effects. Responsible implementation is essential to ensure that the potential benefits of our work are maximized while minimizing any potential risks or adverse implications.
|
| 300 |
+
|
| 301 |
+
**Reproducibility.** The code for all experiments conducted in this paper is included in the accompanying zip file. We also provide comprehensive proofs for the theoretical analysis in Appendices B, C, and D. Further information about the experiments, including details about the datasets and models, can be found in Section 5. For a deeper dive into experiment specifics such as hyperparameter settings, please refer to Appendix E.
|
| 302 |
+
|
| 303 |
+
## REFERENCES
|
| 304 |
+
|
| 305 |
+
Emmanuel Abbe. Community detection and stochastic block models: recent developments. _The Journal of Machine Learning Research_ , 18(1):6446–6531, 2017.
|
| 306 |
+
|
| 307 |
+
- Emmanuel Abbe and Colin Sandon. Community detection in general stochastic block models: Fundamental limits and efficient algorithms for recovery. In _2015 IEEE 56th Annual Symposium on Foundations of Computer Science_ , pp. 670–688. IEEE, 2015a.
|
| 308 |
+
|
| 309 |
+
- Emmanuel Abbe and Colin Sandon. Detection in the stochastic block model with multiple clusters: proof of the achievability conjectures, acyclic bp, and the information-computation gap. _arXiv preprint arXiv:1512.09080_ , 2015b.
|
| 310 |
+
|
| 311 |
+
Emmanuel Abbe, Afonso S Bandeira, and Georgina Hall. Exact recovery in the stochastic block model. _IEEE Transactions on information theory_ , 62(1):471–487, 2015.
|
| 312 |
+
|
| 313 |
+
- Sami Abu-El-Haija, Bryan Perozzi, Amol Kapoor, Nazanin Alipourfard, Kristina Lerman, Hrayr Harutyunyan, Greg Ver Steeg, and Aram Galstyan. Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In _international conference on machine learning_ , pp. 21–29. PMLR, 2019.
|
| 314 |
+
|
| 315 |
+
- Abien Fred Agarap. Deep learning using linear units (relu). _arXiv preprint arXiv:1803.08375_ , 2018.
|
| 316 |
+
|
| 317 |
+
- Noga Alon, Itai Benjamini, Eyal Lubetzky, and Sasha Sodin. Non-backtracking random walks mix faster. _Communications in Contemporary Mathematics_ , 9(04):585–603, 2007.
|
| 318 |
+
|
| 319 |
+
- Uri Alon and Eran Yahav. On the bottleneck of graph neural networks and its practical implications. _arXiv preprint arXiv:2006.05205_ , 2020.
|
| 320 |
+
|
| 321 |
+
- Konstantin Avrachenkov, Laura Cottatellucci, and Arun Kadavankandy. Spectral properties of random matrices for stochastic block model. In _2015 13th International Symposium on Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks (WiOpt)_ , pp. 537–544. IEEE, 2015.
|
| 322 |
+
|
| 323 |
+
- Furqan Aziz, Richard C Wilson, and Edwin R Hancock. Backtrackless walks on a graph. _IEEE transactions on neural networks and learning systems_ , 24(6):977–989, 2013.
|
| 324 |
+
|
| 325 |
+
- Muhammet Balcilar, Guillaume Renton, Pierre H´eroux, Benoit Ga¨uz`ere, S´ebastien Adam, and Paul Honeine. Analyzing the expressive power of graph neural networks in a spectral perspective. In _International Conference on Learning Representations_ , 2020.
|
| 326 |
+
|
| 327 |
+
- Aseem Baranwal, Kimon Fountoulakis, and Aukosh Jagannath. Effects of graph convolutions in deep networks. _arXiv preprint arXiv:2204.09297_ , 2022.
|
| 328 |
+
|
| 329 |
+
- Florent Benaych-Georges, Charles Bordenave, and Antti Knowles. Largest eigenvalues of sparse inhomogeneous erd˝os–r´enyi graphs. _The Annals of Probability_ , 47(3):1653–1676, 2019.
|
| 330 |
+
|
| 331 |
+
10
|
| 332 |
+
|
| 333 |
+
- Mitchell Black, Zhengchao Wan, Amir Nayyeri, and Yusu Wang. Understanding oversquashing in gnns through the lens of effective resistance. In _International Conference on Machine Learning_ , pp. 2528–2547. PMLR, 2023.
|
| 334 |
+
|
| 335 |
+
Charles Bordenave, Marc Lelarge, and Laurent Massouli´e. Non-backtracking spectrum of random graphs: community detection and non-regular ramanujan graphs. In _2015 IEEE 56th Annual Symposium on Foundations of Computer Science_ , pp. 1347–1357. IEEE, 2015.
|
| 336 |
+
|
| 337 |
+
Xavier Bresson and Thomas Laurent. Residual gated graph convnets. _arXiv preprint arXiv:1711.07553_ , 2017.
|
| 338 |
+
|
| 339 |
+
Joan Bruna and X Li. Community detection with graph neural networks. _stat_ , 1050:27, 2017.
|
| 340 |
+
|
| 341 |
+
- Chen Cai, Truong Son Hy, Rose Yu, and Yusu Wang. On the connection between mpnn and graph transformer. _arXiv preprint arXiv:2301.11956_ , 2023.
|
| 342 |
+
|
| 343 |
+
- Rongqin Chen, Shenghui Zhang, Ye Li, et al. Redundancy-free message passing for graph neural networks. _Advances in Neural Information Processing Systems_ , 35:4316–4327, 2022.
|
| 344 |
+
|
| 345 |
+
- Zhengdao Chen, Xiang Li, and Joan Bruna. Supervised community detection with line graph neural networks. _arXiv preprint arXiv:1705.08415_ , 2017.
|
| 346 |
+
|
| 347 |
+
- Francesco Di Giovanni, Lorenzo Giusti, Federico Barbero, Giulia Luise, Pietro Lio, and Michael M Bronstein. On over-squashing in message passing neural networks: The impact of width, depth, and topology. In _International Conference on Machine Learning_ , pp. 7865–7885. PMLR, 2023.
|
| 348 |
+
|
| 349 |
+
- Vijay Prakash Dwivedi, Chaitanya K Joshi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio, and Xavier Bresson. Benchmarking graph neural networks. _arXiv preprint arXiv:2003.00982_ , 2020.
|
| 350 |
+
|
| 351 |
+
- Vijay Prakash Dwivedi, Ladislav Ramp´aˇsek, Michael Galkin, Ali Parviz, Guy Wolf, Anh Tuan Luu, and Dominique Beaini. Long range graph benchmark. _Advances in Neural Information Processing Systems_ , 35:22326–22340, 2022.
|
| 352 |
+
|
| 353 |
+
- L´aszl´o Erd˝os, Antti Knowles, Horng-Tzer Yau, and Jun Yin. Spectral statistics of erd˝os—r´enyi graphs i: Local semicircle law. _The Annals of Probability_ , pp. 2279–2375, 2013.
|
| 354 |
+
|
| 355 |
+
- Dario Fasino, Arianna Tonetto, and Francesco Tudisco. Hitting times for non-backtracking random walks. _arXiv preprint arXiv:2105.14438_ , 2021.
|
| 356 |
+
|
| 357 |
+
- Dario Fasino, Arianna Tonetto, and Francesco Tudisco. Hitting times for second-order random walks. _European Journal of Applied Mathematics_ , 34(4):642–666, 2023.
|
| 358 |
+
|
| 359 |
+
- Robert Fitzner and Remco van der Hofstad. Non-backtracking random walk. _Journal of Statistical Physics_ , 150:264–284, 2013.
|
| 360 |
+
|
| 361 |
+
- Kimon Fountoulakis, Amit Levi, Shenghao Yang, Aseem Baranwal, and Aukosh Jagannath. Graph attention retrospective. _arXiv preprint arXiv:2202.13060_ , 2022.
|
| 362 |
+
|
| 363 |
+
Johannes Gasteiger, Stefan Weißenberger, and Stephan G¨unnemann. Diffusion improves graph learning. _Advances in neural information processing systems_ , 32, 2019.
|
| 364 |
+
|
| 365 |
+
- 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. PMLR, 2017.
|
| 366 |
+
|
| 367 |
+
- Lorenzo Giusti, Teodora Reu, Francesco Ceccarelli, Cristian Bodnar, and Pietro Li`o. Cin++: Enhancing topological message passing. _arXiv preprint arXiv:2306.03561_ , 2023.
|
| 368 |
+
|
| 369 |
+
- Benjamin Gutteridge, Xiaowen Dong, Michael M Bronstein, and Francesco Di Giovanni. Drew: Dynamically rewired message passing with delay. In _International Conference on Machine Learning_ , pp. 12252–12267. PMLR, 2023.
|
| 370 |
+
|
| 371 |
+
- Bruce Hajek, Yihong Wu, and Jiaming Xu. Achieving exact cluster recovery threshold via semidefinite programming. _IEEE Transactions on Information Theory_ , 62(5):2788–2797, 2016.
|
| 372 |
+
|
| 373 |
+
11
|
| 374 |
+
|
| 375 |
+
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. _NeurIPS_ , 30, 2017.
|
| 376 |
+
|
| 377 |
+
- Xiaoxin He, Bryan Hooi, Thomas Laurent, Adam Perold, Yann LeCun, and Xavier Bresson. A generalization of vit/mlp-mixer to graphs. In _International Conference on Machine Learning_ , pp. 12724–12745. PMLR, 2023.
|
| 378 |
+
|
| 379 |
+
- Paul W Holland, Kathryn Blackmond Laskey, and Samuel Leinhardt. Stochastic blockmodels: First steps. _Social networks_ , 5(2):109–137, 1983.
|
| 380 |
+
|
| 381 |
+
- 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.
|
| 382 |
+
|
| 383 |
+
Weihua Hu, Matthias Fey, Hongyu Ren, Maho Nakata, Yuxiao Dong, and Jure Leskovec. Ogb-lsc: A large-scale challenge for machine learning on graphs. _arXiv preprint arXiv:2103.09430_ , 2021.
|
| 384 |
+
|
| 385 |
+
- Zhihao Jia, Sina Lin, Rex Ying, Jiaxuan You, Jure Leskovec, and Alex Aiken. Redundancy-free computation for graph neural networks. In _Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining_ , pp. 997–1005, 2020.
|
| 386 |
+
|
| 387 |
+
- Charilaos I. Kanatsoulis and Alejandro Ribeiro. Representation power of graph neural networks: Improved expressivity via algebraic analysis, 2023.
|
| 388 |
+
|
| 389 |
+
- Mark Condie Kempton. Non-backtracking random walks and a weighted ihara’s theorem. _Open Journal of Discrete Mathematics_ , 2016.
|
| 390 |
+
|
| 391 |
+
- JinHyung Kim and Judea Pearl. A computational model for causal and diagnostic reasoning in inference systems. In _International Joint Conference on Artificial Intelligence_ , pp. 0–0, 1983.
|
| 392 |
+
|
| 393 |
+
- Thomas N Kipf and Max Welling. Semi-supervised with graph convolutional networks. _arXiv preprint arXiv:1609.02907_ , 2016.
|
| 394 |
+
|
| 395 |
+
- Devin Kreuzer, Dominique Beaini, Will Hamilton, Vincent L´etourneau, and Prudencio Tossou. Rethinking graph transformers with spectral attention. _Advances in Neural Information Processing Systems_ , 34:21618–21629, 2021.
|
| 396 |
+
|
| 397 |
+
- Florent Krzakala, Cristopher Moore, Elchanan Mossel, Joe Neeman, Allan Sly, Lenka Zdeborov´a, and Pan Zhang. Spectral redemption in clustering sparse networks. _Proceedings of the National Academy of Sciences_ , 110(52):20935–20940, 2013.
|
| 398 |
+
|
| 399 |
+
- Jing Lei and Alessandro Rinaldo. Consistency of spectral clustering in stochastic block models. _The Annals of Statistics_ , pp. 215–237, 2015.
|
| 400 |
+
|
| 401 |
+
- AA Leman and Boris Weisfeiler. A reduction of a graph to a canonical form and an algebra arising during this reduction. _Nauchno-Technicheskaya Informatsiya_ , 2(9):12–16, 1968.
|
| 402 |
+
|
| 403 |
+
- Yujia Li, Richard Zemel, Marc Brockschmidt, and Daniel Tarlow. Gated graph sequence neural networks. In _Proceedings of ICLR’16_ , 2016.
|
| 404 |
+
|
| 405 |
+
- Yuan Lin and Zhongzhi Zhang. Non-backtracking centrality based random walk on networks. _The Computer Journal_ , 62(1):63–80, 2019.
|
| 406 |
+
|
| 407 |
+
- Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In _International Conference on Learning Representations_ , 2018.
|
| 408 |
+
|
| 409 |
+
- Pierre Mah´e, Nobuhisa Ueda, Tatsuya Akutsu, Jean-Luc Perret, and Jean-Philippe Vert. Extensions of marginalized graph kernels. In _Proceedings of the twenty-first international conference on Machine learning_ , pp. 70, 2004.
|
| 410 |
+
|
| 411 |
+
- Laurent Massouli´e. Community detection thresholds and the weak ramanujan property. In _Proceedings of the forty-sixth annual ACM symposium on Theory of computing_ , pp. 694–703, 2014.
|
| 412 |
+
|
| 413 |
+
12
|
| 414 |
+
|
| 415 |
+
- Gaspard Michel, Giannis Nikolentzos, Johannes F Lutzeyer, and Michalis Vazirgiannis. Path neural networks: Expressive and accurate graph neural networks. In _International Conference on Machine Learning_ , pp. 24737–24755. PMLR, 2023.
|
| 416 |
+
|
| 417 |
+
- Kevin Murphy, Yair Weiss, and Michael I Jordan. Loopy belief propagation for approximate inference: An empirical study. _arXiv preprint arXiv:1301.6725_ , 2013.
|
| 418 |
+
|
| 419 |
+
- MEJ Newman. Spectral community detection in sparse networks. _arXiv preprint arXiv:1308.6494_ , 2013.
|
| 420 |
+
|
| 421 |
+
- _arXiv preprint arXiv:1905.09550_ , 2019.
|
| 422 |
+
|
| 423 |
+
- Kenta Oono and Taiji Suzuki. Graph neural networks exponentially lose expressive power for node classification. In _International Conference on Learning Representations_ , 2020.
|
| 424 |
+
|
| 425 |
+
- Judea Pearl. Reverend bayes on inference engines: A distributed hierarchical approach. In _Proceedings of the AAAI conference on artificial intelligence_ , pp. 133–136, 1982.
|
| 426 |
+
|
| 427 |
+
- 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_ , 2019.
|
| 428 |
+
|
| 429 |
+
- Ladislav Ramp´aˇsek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu, Guy Wolf, and Dominique Beaini. Recipe for a general, powerful, scalable graph transformer. _Advances in Neural Information Processing Systems_ , 35:14501–14515, 2022.
|
| 430 |
+
|
| 431 |
+
- Brian Rappaport, Anuththari Gamage, and Shuchin Aeron. Faster clustering via non-backtracking random walks. _stat_ , 1050:26, 2017.
|
| 432 |
+
|
| 433 |
+
- 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.
|
| 434 |
+
|
| 435 |
+
- Hamed Shirzad, Ameya Velingker, Balaji Venkatachalam, Danica J Sutherland, and Ali Kemal Sinop. Exphormer: Sparse transformers for graphs. In _International Conference on Machine Learning_ , 2023.
|
| 436 |
+
|
| 437 |
+
- Ludovic Stephan and Laurent Massouli´e. Non-backtracking spectra of weighted inhomogeneous random graphs. _Mathematical Statistics and Learning_ , 5(3):201–271, 2022.
|
| 438 |
+
|
| 439 |
+
- Jan T¨onshoff, Martin Ritzert, Eran Rosenbluth, and Martin Grohe. Where did the gap go? reassessing the long-range graph benchmark. _arXiv preprint arXiv:2309.00367_ , 2023.
|
| 440 |
+
|
| 441 |
+
- Jake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong, and Michael M. Bronstein. Understanding over-squashing and bottlenecks on graphs via curvature. In _International Conference on Learning Representations_ , 2022. URL [URL removed] forum?id=7UmjRGzp-A.
|
| 442 |
+
|
| 443 |
+
- 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.
|
| 444 |
+
|
| 445 |
+
- Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In _International Conference on Learning Representations_ , 2019. URL https: //openreview.net/forum?id=ryGs6iA5Km.
|
| 446 |
+
|
| 447 |
+
- 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.
|
| 448 |
+
|
| 449 |
+
- 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.
|
| 450 |
+
|
| 451 |
+
- Se-Young Yun and Alexandre Proutiere. Optimal cluster recovery in the labeled stochastic block model. _Advances in Neural Information Processing Systems_ , 29, 2016.
|
| 452 |
+
|
| 453 |
+
13
|
| 454 |
+
|
| 455 |
+
- Se-Young Yun and Alexandre Prouti`ere. Optimal sampling and clustering in the stochastic block model. _Advances in Neural Information Processing Systems_ , 32, 2019.
|
| 456 |
+
|
| 457 |
+
- Xin Zheng, Yixin Liu, Shirui Pan, Miao Zhang, Di Jin, and Philip S Yu. Graph neural networks for graphs with heterophily: A survey. _arXiv preprint arXiv:2202.07082_ , 2022.
|
| 458 |
+
|
| 459 |
+
14
|
| 460 |
+
|
open_review/iclr2024_9113.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9113",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigation",
|
| 6 |
+
"abstract": "Large language models (large LMs) are susceptible to producing text that contains hallucinated content. An important instance of this problem is self-contradiction, where the LM generates two contradictory sentences within the same context. In this work, we present a comprehensive investigation into self-contradiction for various instruction-tuned LMs, covering evaluation, detection, and mitigation. Our primary evaluation task is open-domain text generation, but we also demonstrate the applicability of our approach to shorter question answering. Our analysis reveals the prevalence of self-contradictions, e.g., in 17.7% of all sentences produced by ChatGPT. We then propose a novel prompting-based framework designed to effectively detect and mitigate self-contradictions. Our detector achieves high accuracy, e.g., around 80% F1 score when prompting ChatGPT. The mitigation algorithm iteratively refines the generated text to remove contradictory information while preserving text fluency and informativeness. Importantly, our entire framework is applicable to black-box LMs and does not require retrieval of external knowledge. Rather, our method complements retrieval-based methods, as a large portion of self-contradictions (e.g., 35.2% for ChatGPT) cannot be verified using online text. Our approach is practically effective and has been released as a push-button tool to benefit the public at https://chatprotect.ai/.",
|
| 7 |
+
"rebuttal": "### Addressing Remaining Concerns\nWe thank the reviewer for engaging in the discussion and are glad that we could address some of their concerns. In this comment, we strive to address the remaining concerns.\n\n> ### Have you already considered using retrieval results in your evaluation?\n\nYes. The PopQA paper [1] proposes an adaptive retrieval method to improve the factuality of QA. Our experiments on PopQA in the global response include a scenario where the results of adaptive retrieval are used to augment generation, as done in [1]. In this scenario, our method is still effective and finds a large number of self-contradictions (12.7% for ChatGPT and 21.5% for Llama2-70B-Chat). We find that self-contradictions occur specifically when the retrieval results do not contain relevant information.\n\n> ### Why is your removal-based revision valuable, even when retrieval-based methods exist?\n\nRetrieval-based methods come with limitations. First, retrieval can be infeasible or prohibitively expensive in certain domains. Second, the retrieved information can be insufficient, inaccurate, or misleading, due to various factors such as the quality of the knowledge base or the retriever’s imprecision. These limitations are extensively discussed in prior works [1, 2, 3, 4], explained at the end of Section 3 in our paper, and verified in our experiments. When ground truth information cannot be retrieved, the only way to improve factuality is to remove non-factual information, as done with our approach.\n\n> ### How does your approach compare to other methods on short text?\n\nRegarding experimental comparison, we have already evaluated our approach on top of PopQA generations. The results have demonstrated that our approach finds a significant number of self-contradictions on top of the adaptive retrieval method proposed by [1] to improve the factuality of short QA.\n\nMoreover, in the Table below, we provide a qualitative comparison between our approach and existing works that focus on short text. This comparison shows that our work is more comprehensive and has broader applicability.\n\n| | consideration of long text | applicability to black-box LMs | independence from external knowledge | detection | mitigation |\n|---|---|---|---|---|---|\n| Our work | ✔ | ✔ | ✔ | ✔ | ✔ |\n| [1] | ✘ | ✔ | ✘ | ✘ | ✔ |\n| [5] | ✘ | ✘ | ✔ | ✔ | ✘ |\n| [6] | ✘ | ✘ | ✔ | ✔ | ✘ |\n| [7] | ✘ | ✘ | ✔ | ✔ | ✔ |\n| [8] | ✘ | ✔ | ✔ | ✔ | ✘ |\n\n> ### Why do you highlight the ability of your approach for long text, if it is applicable to both long and short texts?\n\nWe consider handling long text as one of our key contributions. First, it is a challenging task that requires handling dozens of facts, managing context, and maintaining coherency; Second, most prior work did not consider addressing long text (e.g., those in the table above), making our work novel.\n\nThat being said, we have also included our results on short QA into the paper PDF and have provided sufficient discussion about the genericity of our work (e.g., the last paragraph of Section 1, the last paragraph of Section 5, the first paragraph of Section 6, Appendix C).\n\n> ### Addressing other concerns\n\nWe discuss how we address other review concerns:\n- **Improved coverage of entities**: We agree with the reviewer that the number of topics for our evaluation on open-domain text generation is not super large and scaling it up would cost significant human efforts. However, our evaluation in the global response has included 1500 topics from the PopQA dataset [1], which addresses the issue.\n- **Using web search for annotating verifiability**: We have followed the review suggestion to additionally perform web search for annotating verifiability and have updated the numbers. As expected, the new numbers are not significantly different from previous ones and our claims still hold.\n- **More reasoning for experiment results**: We have updated Appendix B to provide more analysis on our evaluation results. Specifically, we have provided the missing reasons for choosing the detection prompt, while we believe the motivation for choosing the trigger prompt has been sufficiently discussed. Moreover, we have provided plausible reasons on the experiment results regarding the relationship between aLM and gLM.\n\n[1] When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories. ACL 2023\n\n[2] Section 2.2. A Survey on Automated Fact-Checking. TACL 2022\n\n[3] Section 5.3 Survey on Factuality in Large Language Models: Knowledge, Retrieval and Domain-Specificity. arXiv:2310.07521\n\n[4] Section 6. A Survey on Retrieval-Augmented Text Generation. arXiv:2202.01110\n\n[5] Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. ICLR, 2023\n\n[6] The internal state of an LLM knows when it's lying. arXiv:2304.13734 \n\n[7] Measuring and improving consistency in pretrained language models. TACL 2021\n\n[8] LM vs LM: detecting factual errors via cross-examination. arXiv:2305.13281\n\n### Global Response\nWe would like to thank all reviewers for the valuable feedback and insightful questions. We are happy to see positive reception on the importance of our motivation, the simplicity and effectiveness of our approach, the reusability of our tool and datasets, and clear writing. Before answering each review question in detail, we provide a significant extension of our experimental evaluation, with the goal of removing reviewers’ doubts on the generality and robustness of our work.\n\n> ### Establish the effectiveness of your method on another text generation task (3teD, a7zQ, gQA [...]\n\n### Integration of the rebuttal to the Paper PDF\nWe thank the reviewers again for their constructive feedback and eagerly anticipate their response to our rebuttal.\n\nWe have performed additional evaluation of Llama2-70B-Chat on the PopQA benchmark and have updated the corresponding part of the Global Response. Moreover, we have incorporated the entire rebuttal into o\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
6
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 6.0,
|
| 14 |
+
"score_variance": 0,
|
| 15 |
+
"score_spread": 0,
|
| 16 |
+
"score_min": 6,
|
| 17 |
+
"score_max": 6,
|
| 18 |
+
"decision": "Accept (poster)",
|
| 19 |
+
"rebuttal_validity_ground_truth": null,
|
| 20 |
+
"meta_review": "This paper investigates an important hallucination problem for LMs, namely self-contradiction. Self-contradictions means the LM generates two contradictory sentences within the same context. A prompt-based method is proposed to trigger, detect, and mitigate self-contradictions. The method is compared with several baselines using other prompts and the results show that the proposed method can better detect contradictions than the baselines.\n\nThe problem of self-contradiction in LMs is interesting and important. The proposed method is easy to implement and replicate. The dataset provided by the authors is a valuable resource. However, the technical novelty of the proposed method is limited, as it relies on prompts over existing LLMs. The reviewers also pointed out a few issues about method and experiment design, and the authors addressed some of them during the rebuttal.\n\nThis paper is a borderline case. Considering the wide audience of the topic of self-contradiction, I am leaning towards weakly accept it.",
|
| 21 |
+
"forum_id": "EmQSOi1X2f",
|
| 22 |
+
"primary_area": "societal considerations including fairness, safety, privacy",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_3teD",
|
| 27 |
+
"review_id": "zBNBcjMoVI",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 6,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 6267,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 1281292,
|
| 38 |
+
"post_rebuttal_text_signal": true,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_a7zQ",
|
| 43 |
+
"review_id": "ej1G5bReil",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 6,
|
| 46 |
+
"soundness": 2,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 3,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 2747,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 1928115,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_gQAk",
|
| 59 |
+
"review_id": "q1mZdj1aBp",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 6,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 2,
|
| 64 |
+
"contribution": 3,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 1293,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1852204,
|
| 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_9113.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2024_9114.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9114",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Partitioning Message Passing for Graph Fraud Detection",
|
| 6 |
+
"abstract": "Label imbalance and homophily-heterophily mixture are the fundamental problems encountered when applying Graph Neural Networks (GNNs) to Graph Fraud Detection (GFD) tasks. Existing GNN-based GFD models are designed to augment graph structure to accommodate the inductive bias of GNNs towards homophily, by excluding heterophilic neighbors during message passing. In our work, we argue that the key to applying GNNs for GFD is not to exclude but to {\\em distinguish} neighbors with different labels. Grounded in this perspective, we introduce Partitioning Message Passing (PMP), an intuitive yet effective message passing paradigm expressly crafted for GFD. Specifically, in the neighbor aggregation stage of PMP, neighbors with different classes are aggregated with distinct node-specific aggregation functions. By this means, the center node can adaptively adjust the information aggregated from its heterophilic and homophilic neighbors, thus avoiding the model gradient being dominated by benign nodes which occupy the majority of the population. We theoretically establish a connection between the spatial formulation of PMP and spectral analysis to characterize that PMP operates an adaptive node-specific spectral graph filter, which demonstrates the capability of PMP to handle heterophily-homophily mixed graphs. Extensive experimental results show that PMP can significantly boost the performance on GFD tasks.",
|
| 7 |
+
"rebuttal": "### A Summary of Our Contributions and Responses\nDear Reviewers and ACs,\n\nAs the discussion period draws to a close in the coming hours, we are grateful for the insightful comments and valuable suggestions provided by all reviewers. In the following, we would like to summarize the contributions and revisions of this paper again.\n\n**Contributions:**\n\n- **[High-level insight]** We advocate that the essence of effectively applying GNNs to graph fraud detection tasks lies in the ability to distinguish between neighbors during message passing. This perspective is ```interesting``` (_R 8onS_), ```well-motivated```, and ```simple enough yet previously unconsidered concept ``` (_R 69ev_). And also pave the way for future research in this area, as noted in our responses to Reviewers XqA8 and wN2Y.\n- **[Simple yet effective model]** Our proposed PMP model innovatively partitions neighbors during aggregation using different weight matrices, a design that is ```well-designed```, ```straightforward```, ```easy to understand and implement```, ```effective``` (_R XqA8_), and also ```intriguing``` (_R wN2Y_). The introduction of a new visualization technique to showcase influence distribution has been commended as ```very persuasive``` (_R 69ev_) to validate the effectiveness of our model. \n\n- **[Theoretical insight]** The model is supported by ```comprehensive analytical framework``` which is ```credible```(_R XqA8_).The theoretical insight from the perspective of spectral analysis is ```sound``` (_R 8onS_).\n\n**Responses and Revisions**\n\n- **[For reviewer 69ev]** \n * **Clarifications and corrections**: We have revised the paper to correct ambiguous notations, symbols, and descriptions for better clarity and accuracy.\n * **Extended experimental analysis**: Additional experiments have been conducted to explore and analyze the relationship between our model and R-GCN, providing a deeper understanding of their comparative performance.\n- **[For reviewer 8onS]**\n * **Homophily and label imbalance**: We have enhanced the discussion to highlight the interplay between homophily and label imbalance in the context of fraud detection tasks.\n * **Comparative analysis with ACM**: A detailed analysis and comparison with similar work ACM are now included, offering insights from the perspectives of motivation, methodology, and theoretical underpinnings.\n * **Reference corrections**: We have addressed and corrected repeated references to ensure accuracy and completeness in our citation practices.\n- **[For reviewer XqA8]**\n * **Paper structure and clarity**: Descriptions within the paper have been revised for clarity, and the overall structure of the sections has been reorganized for better coherence.\n * **Hyperparameter details**: Additional information regarding the detailed hyperparameter settings, particularly concerning the hidden layers of the neural networks, has been included.\n * **In-depth analysis on T-Social dataset**: A comprehensive analysis focusing on the homophily ratio, imbalance level, and common statistics has been conducted on the T-Social dataset. This analysis aims to provide a thorough understanding of our model's superior performance on this dataset.\n- **[For reviewer wN2Y]**\n * **Time complexity and storage comparison**: We have provided a detailed comparison of the time complexity and storage costs between our model and other baseline models.\n * **Difference with BWGNN**: We highlight the distinct aspects of our model compared to BWGNN, especially from the perspectives of motivation and methodology.\n * **Label distribution analysis**: An analysis of the label distribution of labeled center nodes in benchmark datasets has been included. This analysis may addresses concerns regarding potential model failure and demonstrates the effective training of our model using the partitioning neighborhood approach.\n\nAll modifications have been highlighted in blue in our revised manuscript. Thanks again for your efforts in reviewing our work, and we hope our responses can address any concerns about this work.\n\nThanks\n\nThe Authors of Submission 9114.\n\n### Looking forward to your response\nDear Reviewer XqA8,\n\nWe appreciate your valuable feedback on our paper. With the discussion period nearing its end, we've compiled a succinct summary of our responses to your comments for ease of reference in your final evaluation:\n\n**Part 1**: We highlight our contribution from the perspectives of high-level insight and practical value.\n\n**Part 2**: The manuscript have been revised to ensure consistency and enhance its readability and accessibility.\n\n**Part 3**: We have corrected an inaccurate description of $\\alpha$.\n\n**Part 4**: The sections of the paper [...]\n\n### Looking forward to your response\nDear Reviewer 8onS,\n\nThank you again for your thoughtful feedback on our submission. As the discussion period draws to a close, we have prepared a brief summary below that encapsulates our responses to your points for your convenience in the final review:\n\n**Part 1**: We have explained the relationship between homophily and label imbalance under the fraud detection task.\n\n**Part 2**: We have provided a detailed comparison between PMP and ACM from the perspectives of motivation, methodology, theoretical insights.\n\n**Part 3**: We have corrected the repeated [...]\n\n### Looking forward to your response\nDear Reviewer 69ev,\n\nThank you once again for your insightful feedback on our submission. We would like to remind you that the discussion period is concluding. To facilitate your review, we have provided a concise summary below, outlining our responses to each of your concerns:\n\n**Part 1**: We have carefully checked the manuscript to ensure that all notations are now distinct and consistently applied throughout the paper. \n\n**Part 2**: We have corrected an inaccurate description of $\\alpha$.\n\n**Part 3**: We compare our model with R-GCN and analyze their rel [...]\n\n### Response to Reviewer 69ev\nWe appreciate your detailed su\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.5,
|
| 15 |
+
"score_variance": 0.33,
|
| 16 |
+
"score_spread": 1,
|
| 17 |
+
"score_min": 5,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Accept (poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "The manuscript introduces an approach called partitioning message passing as a variant of GNN for graph fraud detection. The performance is demonstrated by comparing with previous approaches. The algorithm is also motivated from connections with spectral graph filtering. While some reviewer concerns are fully resolved during the discussion stage, after carefully examine the manuscript and discussion, the AE tends to recommend acceptance.",
|
| 22 |
+
"forum_id": "tEgrUrUuwA",
|
| 23 |
+
"primary_area": "learning on graphs and other geometries & topologies",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_69ev",
|
| 28 |
+
"review_id": "QlUncxLps7",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2201,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 816443,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_8onS",
|
| 44 |
+
"review_id": "oYlUll4x3b",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 2,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3138,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1899991,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_XqA8",
|
| 60 |
+
"review_id": "bHaxHFYUBA",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2869,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1989662,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_wN2Y",
|
| 76 |
+
"review_id": "CZAynB3brp",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2975,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1592936,
|
| 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_9114.md
ADDED
|
@@ -0,0 +1,503 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## PARTITIONING MESSAGE PASSING FOR GRAPH FRAUD DETECTION
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Label imbalance and homophily-heterophily mixture are the fundamental problems encountered when applying Graph Neural Networks (GNNs) to Graph Fraud Detection (GFD) tasks. Existing GNN-based GFD models are designed to augment graph structure to accommodate the inductive bias of GNNs towards homophily, by excluding heterophilic neighbors during message passing. In our work, we argue that the key to applying GNNs for GFD is not to exclude but to _distinguish_ neighbors with different labels. Grounded in this perspective, we introduce Partitioning Message Passing (PMP), an intuitive yet effective message passing paradigm expressly crafted for GFD. Specifically, in the neighbor aggregation stage of PMP, neighbors with different classes are aggregated with distinct nodespecific aggregation functions. By this means, the center node can adaptively adjust the information aggregated from its heterophilic and homophilic neighbors, thus avoiding the model gradient being dominated by benign nodes which occupy the majority of the population. We theoretically establish a connection between the spatial formulation of PMP and spectral analysis to characterize that PMP operates an adaptive node-specific spectral graph filter, which demonstrates the capability of PMP to handle heterophily-homophily mixed graphs. Extensive experimental results show that PMP can significantly boost the performance on GFD tasks. Our code is available at [URL removed]
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
With the explosive growth of online information, fraudulent activities have significantly increased in financial networks (Ngai et al., 2011; Lin et al., 2021), social media (Deng et al., 2022), review networks (Rayana & Akoglu, 2015), and academic networks (Cho et al., 2021), making the detection of such activities an area of paramount importance. To fully exploit the rich graph structures contained in fraud graphs, recent studies have increasingly adopted Graph Neural Networks (GNNs) (Wu et al., 2020) to Graph Fraud Detection (GFD).
|
| 14 |
+
|
| 15 |
+
Applying message passing GNNs (Gilmer et al., 2017) in GFD encounters two significant challenges: label imbalance (Liu et al., 2023) and a mixture of heterophily and homophily (Gao et al., 2023a). Network attackers often employ sophisticated tactics to mimic regular network patterns, by strategically injecting a limited number of fraud nodes in the main contexts of the target graph to hide their fraudulent activities. The label imbalance problem causes the GNN to primarily capture the patterns and characteristics of benign nodes, compromising their ability to accurately identify fraudulent ones. Additionally, the heterophily-homophily mixture violates the homophily (Zhu et al., 2020) inductive bias of GNNs, as fraud nodes are often strategically placed within benign communities to exhibit heterophily, while the context around benign nodes exhibits homophily. Therefore, it is pivotal to develop GNNs that can navigate these challenges adeptly.
|
| 16 |
+
|
| 17 |
+
To alleviate these issues, several methods have been proposed from a spatial perspective to diminish the impact of heterophilic neighbors during the aggregation process. These strategies commonly involve utilizing a trainable approach or predetermining a mechanism to resample neighbors (Dou et al., 2020; Liu et al., 2021c; 2020) or reweight edges (Wang et al., 2019; Cui et al., 2020; Shi et al.,
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
**==> picture [392 x 88] intentionally omitted <==**
|
| 22 |
+
|
| 23 |
+
**==> picture [105 x 9] intentionally omitted <==**
|
| 24 |
+
|
| 25 |
+
**----- Start of picture text -----**<br>
|
| 26 |
+
(a) Generic message passing.<br>**----- End of picture text -----**<br>
|
| 27 |
+
|
| 28 |
+
**==> picture [120 x 9] intentionally omitted <==**
|
| 29 |
+
|
| 30 |
+
**----- Start of picture text -----**<br>
|
| 31 |
+
(b) Partitioning message passing.<br>**----- End of picture text -----**<br>
|
| 32 |
+
|
| 33 |
+
Figure 1: Comparison between generic message passing GNN and partitioning message passing GNN. Red, blue and grey mean fraud, benign and unlabeled nodes, respectively.
|
| 34 |
+
|
| 35 |
+
2022; Liu et al., 2021a). From a spectral view, GHRN (Gao et al., 2023a) shows using a high-pass filter helps identify heterophilic neighbors, pruning inter-class edges to highlight the high frequencies of the graph. BWGNN (Tang et al., 2022) reveals the ‘right-shift’ phenomenon of spectral energy and suggests a Beta wavelet-based band-pass graph filter.
|
| 36 |
+
|
| 37 |
+
However, from the spatial perspective, augmenting the graph structure to exclude heterophilic neighbors during message passing to accommodate the inductive bias of GNNs is non-trivial for two reasons. Firstly, semi-supervised GFD usually makes pruning or reweighting of unlabeled neighbors based on predicted logits unreliable (Gao et al., 2023c). In other words, the edge weight or pruning probability depends on the similarity of the predicted representations between nodes, therefore any prediction error may accumulate and impact the final result. Secondly, these methods face scalability issues on large-scale graphs. On the other hand, spectral-based models can keep the graph fixed and learn the spectral graph filter beyond low-pass (Bo et al., 2021; He et al., 2021; Tang et al., 2022; Gao et al., 2023c), which demonstrate efficacy in addressing heterophily. However, these models usually struggle with label imbalance due to shared parameters and require the entire graph input, hindering the mini-batch training.
|
| 38 |
+
|
| 39 |
+
In this paper, we argue that complicated trainable or predetermined strategies for excluding heterophilic neighbors are unnecessary. Instead, the key of applying GNNs on fraud graphs is to _distinguish_ neighbors during the message passing process, rather than exclusion. A powerful model should inherently have the capacity to adaptively modulate the information derived from both homophilic and heterophilic neighbors.
|
| 40 |
+
|
| 41 |
+
Based on this insight, we propose an intuitive yet effective message passing paradigm named Partitioning Message Passing (PMP). At the neighbor aggregation stage of PMP, we employ distinct aggregation functions to independently handle homophilic and heterophilic neighbors. It ensures that parameter sharing is confined to nodes within the same class, thereby preventing the gradients from being dominated by the majority class nodes. For neighbors with unknown classes, we configure their aggregation function to be a flexible composite of the aggregation functions used for labeled neighbors, where the combination weight is derived from an adaptable scalar function unique to the center node. Besides, since the fraud graph is homophily-heterophily mixed, the amount of information that different nodes obtain from homophilic neighbors and heterophilic neighbors should also be adaptively adjusted according to the node. To achieve it, we treat the parameter matrices of aggregation functions as the output of weight generators with respect to the center node. By this means, each node can adaptively adjust the influence from different classes of neighbors without additional parameters. Moreover, our theoretical analysis for PMP bridges the gap between the spatial form of the model and the spectral explanation, which proves that PMP can be interpreted as a node-specific spectral convolution, i.e., each node has its own spectral graph filter. It shows that our model is more suitable for graphs with homophilic and heterophilic mixtures because the uniform graph filter can not balance both aspects. Extensive experiments on four benchmark datasets demonstrate the effectiveness of PMP.
|
| 42 |
+
|
| 43 |
+
## 2 BACKGROUND AND MOTIVATION
|
| 44 |
+
|
| 45 |
+
## 2.1 BACKGROUND
|
| 46 |
+
|
| 47 |
+
**Notations.** A multi-relational attributed fraud graph is denoted as _G_ = ( _V, {Er}[R] r_ =1 _[,]_ **[ X]** _[,][ Y]_[)][, where] _V_ = _{v_ 1 _, · · · , vN }_ represents the node set with _N_ nodes, _Er_ represents the edge set under the
|
| 48 |
+
|
| 49 |
+
2
|
| 50 |
+
|
| 51 |
+
_r_ -relation, and _R_ is the total number of relations. Thus, _G_ can be seen as a combination of _r_ separate single-relational graphs, each of which is characterized by an adjacency matrix **A** _r ∈_ R _[N][×][N]_ derived from its corresponding edge set _Er_ , i.e., if an edge _eij ∈ Er_ , **A** _r,ij_ = 1; otherwise **A** _r,ij_ = 0. **X** _∈_ R _[N][×][d]_ is a node feature matrix, wherein the _i_ -th row _**x** i_ is the feature vector of _vi_ . _Y_ represents the set of labels, where each node _vi_ is assigned a binary label _yi ∈Y_ , i.e., _yi_ = 1 denotes fraud node, and 0 denotes benign node. Due to the label imbalance nature in fraud graphs, the quantity of benign nodes (the majority class) substantially outweighs that of the fraud ones (the minority class). For a node _vi_ and its neighbor _vj_ , if _yi_ = _yj_ , _vj_ is a homophilic neighbor; otherwise, it is heterophilic.
|
| 52 |
+
|
| 53 |
+
**Graph Neural Networks.** In a typical GNN, the _l_ -th message passing layer for a node _vi_ operates by iteratively aggregating data from its immediate neighbors, and then combining the aggregated messages with its own node representation (Gilmer et al., 2017):
|
| 54 |
+
|
| 55 |
+
**==> picture [345 x 19] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
where **h**[(] _i[l]_[)] is the _l_ -th layer hidden representation of _vi_ , Comb( _·_ ) is a combination function, _f_ self( _·_ ) is a function on the center node, _f_ agg( _·_ ) is permutation invariant neighbor aggregation function, and _N_ ( _vi_ ) is the neighbor set of _vi_ . _f_ agg( _·_ ) typically encompasses two essential components: feature transformation and message fusion. Existing GNNs have primarily focused on elaborating on message fusion functions based on Laplacian (Kipf & Welling, 2017; Defferrard et al., 2016), diffusion (Gasteiger et al., 2019a;b; Chien et al., 2021), attention (Velickoviˇ c´ et al., 2018), or a combination of multiple aggregators (Corso et al., 2020). However, these methods adopt simple linear feature transformations by employing weight matrices shared across all neighbors. This can lead to a learning process that is biased by the potential label imbalance. The backpropagation of gradients, which aims to minimize the overall loss, tends to be dominated by the majority class neighbors. This limits the ability of the model to learn from the minority class effectively. If the center node belongs to a minority class, the graph embodies heterophily. Such interplay of _heterophily_ and _label imbalance_ in fraud graphs provides a unique challenge for GNNs.
|
| 58 |
+
|
| 59 |
+
**Related Work.** (1) **Label Imbalanced Learning on Graphs.** GNNs are known to be sensitive to label imbalance (Liu et al., 2023). Currently, several studies have proposed different strategies to address this challenge, such as by implementing adversarial constraints (Shi et al., 2020), generating minority instances using techniques like GAN (Qu et al., 2021) or SMOTE (Zhao et al., 2021), and modifying the degree of imbalance compensation (Song et al., 2022). Despite their effectiveness, their success heavily relies on augmenting graph structure to balance the label distribution, which can hardly be adaptive to fraud detection tasks on large-scale graphs. (2) **Graph Heterophily Learning.** Heterophily has emerged as a significant concern for GNNs. This issue was initially highlighted by Pei et al. (2020). Separating ego- and neighbor-embeddings (Zhu et al., 2020; Platonov et al., 2023; Hamilton et al., 2017) proves to be an effective technique for learning on heterophilic graphs. Given that nodes sharing the same class are distantly placed within heterophilic graphs, several approaches aim to extend the local neighbors to non-local ones by integrating multiple layers (Chien et al., 2021; Abu-El-Haija et al., 2019), and identifying potential neighbors through attention mechanisms (Liu et al., 2021b; Yang et al., 2022b) or similarity measures (Zhuo & Tan, 2022; Jin et al., 2021). Spectralbased methods (Luan et al., 2021) overcome this challenge by introducing additional graph filters and mixture strategy, which aims to adaptively integrate information by emphasizing certain frequencies. This approach shares a similar goal with our work. We discuss in detail how our model relates to this method in Appendix C. (3) **GNN-based Fraud Detection.** GNNs have been leveraged to detect fraudulent activities in financial services (Rao et al., 2022; Xu et al., 2021; Lin et al., 2021; Chen et al., 2024), telecommunications (Nabeel et al., 2021), social networks (Deng et al., 2022), and healthcare (Cui et al., 2020). CARE-GNN (Dou et al., 2020) employs a label-aware similarity measure to identify informative neighbors and leverages reinforcement learning to selectively integrate similar neighbors. PC-GNN (Liu et al., 2021c) utilizes label-balanced samplers for sub-graph training. Spectral-based methods (Tang et al., 2022; Gao et al., 2023c) conduct spectral analysis on fraud graphs, designing band-pass or high-pass graph filters specifically tailored to detect fraud nodes. GAGA (Wang et al., 2023) groups neighbors by augmenting neighbor features with their labels explicitly and treating unlabeled neighbors as a new class.
|
| 60 |
+
|
| 61 |
+
3
|
| 62 |
+
|
| 63 |
+
## 2.2 MOTIVATION ANALYSIS
|
| 64 |
+
|
| 65 |
+
To probe the reasons why message passing based GNNs experience shortcomings in fraud detection tasks, our investigation is conducted through an analysis of the mutual influence between nodes resulting from the message passing process. Inspired by (Xu et al., 2018; Zhang et al., 2021), the influence of node _vj_ on the center node _vi_ can be quantified by measuring how alterations in the input feature of _vj_ affect the representation of _vi_ after _k_ iterations of message passing. For any _vi_ and its neighbor _vj ∈N_ ( _vi_ ), given the message passing form **H**[(] _[k]_[)] = **A**[ˆ] _[k]_ **H**[(0)] **W** where **H**[(0)] = **X** , considering the _h_ -th feature of **X** , the influence of _vj_ on the final representation of _vi_ is defined as:
|
| 66 |
+
|
| 67 |
+
**==> picture [281 x 34] intentionally omitted <==**
|
| 68 |
+
|
| 69 |
+
Since the gradient is independent of the feature dimension _h_ (Zhang et al., 2021), the final result omits the _h_ . In a fraud graph characterized by imbalanced label distribution, let _m_ represent the number of benign neighbors _N_ be( _vi_ ) of node _vi_ , and _n_ represents the number of fraud neighbors _N_ fr( _vi_ ). In this context, _m ≫ n_ . Since we specifically study the class imbalance problem, to rule out potential interference from other variables, we assume the graph to be regular. Consequently, all non-zero off-diagonal entries in **A**[ˆ] _[k]_ are assumed to be equal, and this common value is denoted by _γ_ . The total influence of benign neighbors on the center node _vi_ is _IN_ be( _vi_ ) _→vi_ = _γ_[1] � _j∈N_ be( _vi_ ) **[A]**[ˆ] _[k] ij[w]_[=] _[m]_ **[W]**[,] where we use _γ_ to scale the influence score. Similarly, for fraud neighbors we have _IN_ fr( _vi_ ) _→vi_ = _n_ **W** . Then, the total influence from neighbors is given by ( _m_ + _n_ ) **W** _≈ IN_ be( _vi_ ) _→vi_ , which tends to overamplify the influence from the majority class neighbors (benign) while neglecting that from the minority class neighbors (fraudulent). Such an imbalance in influence can skew the message passing process, causing it to be insufficiently responsive to the nuances of the minority class nodes. As a result, the capacity of the network to capture critical features from the minority class neighbors diminishes, potentially undermining its effectiveness in fraud detection especially when the graph exhibits heterophily.
|
| 70 |
+
|
| 71 |
+
To address the aforementioned problems, many existing GNN-based fraud detection models adopt strategies such as re-weighting neighbors from different classes using predefined indicators (Liu et al., 2021c) or learnable attention values (Wang et al., 2019; Liu et al., 2021a; Shi et al., 2022; Cui et al., 2020). Additionally, they often incorporate a learnable sampler to selectively focus on potential neighbors belonging to the same class as the center node (Dou et al., 2020; Liu et al., 2020). These works typically utilize additional modules to augment the graph structure, aiming to homogenize contextual information in graphs. The essential goal of these methods is to modify the graph to exclude heterophilic neighbors (i.e., neighbors that belong to different classes than the center node), thereby tailoring the graph topology for more effective processing by GNNs in fraud detection tasks. However, augmenting the graph structure often leads to high time and memory complexity, limiting scalability to large graphs. In our work, we argue that adapting the graph to fit GNNs is both costly and unnecessary, but keeping the graph fixed and modifying the GNN model to fit the graph can be more efficient and effective.
|
| 72 |
+
|
| 73 |
+
Upon observing the formation of the total influence ( _m_ + _n_ ) **W** , we find that both fraud and benign neighbors are weighted equally with **W** , which leads to benign neighbors dominating the gradient of **W** during the backpropagation. It naturally motivates us to ask whether handling neighbors of two distinct classes with separate weight matrices might allow for adaptive adjustment in their influence on the center node, i.e., _m_ **W** 1 + _n_ **W** 2. Such an approach may effectively mitigate issues related to label imbalance and heterophily, without doing any operations on the graph itself.
|
| 74 |
+
|
| 75 |
+
## 3 PARTITIONING MESSAGE PASSING
|
| 76 |
+
|
| 77 |
+
Our preliminary analysis in Section 2.2 reveals a relationship between parameter sharing within GNNs and biases in the learning process. In this section, we formally present our method, Partitioning Message Passing (PMP), which is a simple, intuitive, yet powerful approach tailored for the fraud detection task. The basic idea of PMP is to utilize the label information to partition the message passing process, enabling the model to distinguish neighbors according to their classes by learning different weights for each class during message passing, thereby enhancing its ability to adaptively adjust the influence propagated from class-imbalanced neighboring nodes. As shown in Fig. 1b, the
|
| 78 |
+
|
| 79 |
+
4
|
| 80 |
+
|
| 81 |
+
_l_ -th message passing iteration of PMP for a node _vi_ is described as follows:
|
| 82 |
+
|
| 83 |
+
**==> picture [385 x 59] intentionally omitted <==**
|
| 84 |
+
|
| 85 |
+
where _f_ fr[(] _[l]_[)][(] _[·]_[)][,] _[f]_ be[ (] _[l]_[)][(] _[·]_[)][,][and] _[f]_ un[ (] _[l]_[)][(] _[·]_[)][correspond][to][the][handling][of][neighbors][categorized][as][fraud,] benign, and unlabeled, respectively. These functions are parameterized by the weight matrices **W** fr[(] _[l]_[)][,] **W** be[(] _[l]_[)][and] **[ W]** un[(] _[l]_[)] _[∈]_[R] _[d][×][d][′]_[, aligning with the aforementioned categories.][We simply set the message] fusion of aggregation functions to _sum_ : _f_ fr[(] _[l][−]_[1)] ( **h**[(] _j[l][−]_[1)] _|vj ∈N_ fr( _vi_ )) =[�] _vj ∈N_ fr( _vi_ ) **[h]**[(] _j[l][−]_[1)] **W** fr[(] _[l][−]_[1)] .
|
| 86 |
+
|
| 87 |
+
**Handling unlabeled neighbors as a weighted combination of fraud and benign labels.** For unlabeled neighbors, we face the challenge of determining an appropriate transformation that acknowledges the uncertainty of these connections. Treating _f_ un for unlabeled neighbors independently from those for fraud and benign neighbors is not suitable, as it would mean forcing an additional, definite label on these neighbors. For binary classification fraud detection task, unlabeled neighbors share characteristics with both benign and fraud categories, while a separate, definite label might make it harder to model the continuous spectrum between clear-cut benign and fraud behavior and can not leverage the knowledge captured by _f_ fr and _f_ be. Instead, PMP aims to treat unlabeled neighbors in a way that reflects their uncertain and mixed nature. Thus we define **W** un[(] _[l]_[)][as a weighted combination] of **W** fr[(] _[l]_[)][and] **[ W]** be[(] _[l]_[)][:]
|
| 88 |
+
|
| 89 |
+
**==> picture [274 x 14] intentionally omitted <==**
|
| 90 |
+
|
| 91 |
+
where _αi_[(] _[l]_[)] _∈_ R[(0] _[,]_[1)] is a scalar to modulate the class tendency of unlabeled neighbors associated with the center node _vi_ . In other words, a large _αi_[(] _[l]_[)] means that the model treats unlabeled neighbors more similarly to fraud nodes, indicating a tendency or suspicion toward fraud for those particular connections, and vice versa. The parameter _αi_[(] _[l]_[)] thus serves as a continuous dial that allows the model to smoothly interpolate between treating unlabeled neighbors as either benign or fraud nodes, by dynamically adjusting _αi_[(] _[l]_[)] based on characteristics of each center node _vi_ . Since _αi_[(] _[l]_[)] should be node-specific and adaptive, we define _αi_[(] _[l]_[)] as a function of _vi_ , _αi_[(] _[l]_[)] = Φ( **h**[(] _i[l][−]_[1)] ), where Φ : R _[d] →_ R is a single-layered MLP with a sigmoid activation shared across all nodes.
|
| 92 |
+
|
| 93 |
+
**Root-specific weight matrix generation.** In Eq. (3), the influence from the majority and minority class neighbors on _vi_ can be adaptively adjusted by **W** be and **W** fr respectively. Following the analysis in Section 2.2, the total influence from labeled neighbors on _vi_ is _m_ **W** be + _n_ **W** fr, where **W** be and **W** fr are shared across all center nodes when performing message passing. Further, in various contexts across the graph, nodes often exhibit unique characteristics and patterns of interactions. These differences can arise from distinct node attributes or their positional contexts within the graph structure. Given this variability, a uniform approach to regulating the influence from different classes of neighbors might oversimplify these interactions. Instead, a more adaptive and node-specific method would better capture the intricate dynamics between a node and its diverse neighborhoods. However, directly equipping every center node with individualized weight matrices, **W** fr[(] _[l]_[)][and] **[ W]** be[(] _[l]_[)][,] is intractable. To circumvent this, we introduce learnable weight generators that model **W** fr[(] _[l]_[)][and] **W** be[(] _[l]_[)][as][functions][of][the][center][node.][Importantly,][while][these][generators][produce][node-specific] weight matrices, their underlying parameters are shared across all center nodes. Such design strikes a balance between adaptability and model compactness, eliminating the risk of an exponential surge in parameter count. Specifically, for a center node _vi_ , the ( _l_ + 1)-th layer weight matrices of its aggregation functions are defined as:
|
| 94 |
+
|
| 95 |
+
**==> picture [285 x 16] intentionally omitted <==**
|
| 96 |
+
|
| 97 |
+
where Ψfr _,_ Ψbe : R _[d] →_ R _[d][×][d][′]_ are two learnable weight generators defined as Ψfr( _x_ ) = MLPfr(diag( _x_ )) and Ψbe( _x_ ) = MLPbe(diag( _x_ )), and they are both implemented as single-layered MLPs; diag( _x_ ) is the diagonal matrix of the input vector. Each node _vi_ can receive a distinct **W** fr[(] _[l] ,i_[)]
|
| 98 |
+
|
| 99 |
+
5
|
| 100 |
+
|
| 101 |
+
**==> picture [234 x 115] intentionally omitted <==**
|
| 102 |
+
|
| 103 |
+
**----- Start of picture text -----**<br>
|
| 104 |
+
1.0<br>gfr [i] [(] [λ] [)]<br>gbe [i] [(] [λ] [)]<br>0.8<br>0.6<br>0.4<br>0.2<br>0.0<br>0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00<br>λ<br>(a) (b)<br>Spectral Coefficient<br>**----- End of picture text -----**<br>
|
| 105 |
+
|
| 106 |
+
Figure 2: (a) A Barabasi–Albert graph with 500 nodes, with 10% nodes are fraud.´ Features of benign nodes (depicted in blue) follow a Gaussian distribution, _N_ (1 _,_ 1), while those of fraud nodes (shown in red) are drawn from _N_ (5 _,_ 1). (b) Spectral convolution filters of PMP for a random node _vi_ .
|
| 107 |
+
|
| 108 |
+
and **W** be[(] _[l]_[)] _,i_[tailored to its unique features, while the generation process][ MLP][fr][ and][ MLP][be][ remains] consistent and is governed by shared parameters across all nodes.
|
| 109 |
+
|
| 110 |
+
To summarize, PMP works as Algorithm 1 of Appendix A under the _r_ -th relation, utilizing mini-batch training. For _R_ -relational graphs, we perform PMP propagation for each relation separately, resulting in _R_ representations for each node. We then add a concatenation pooling followed by an MLP to integrate _R_ node representations for each node to produce the final node representation.
|
| 111 |
+
|
| 112 |
+
## 4 THEORETICAL INSIGHTS
|
| 113 |
+
|
| 114 |
+
As mentioned in Section 2.1, graphs with fraud usually exhibit a heterophily-homophily mixture, as attackers would like to sparsely inject a limited number of fraud nodes into benign communities to camouflage their activities and spread influence. For regions exhibiting homophily, where the center node and its neighbors predominantly share the same label, the desired GNN should act as a loss-pass filter to smooth the feature representations in the locality. Conversely, in heterophilic regions, where the center node’s label diverges from most of its neighbors, the GNN must adaptively shift its spectral response to capture such contrasting label information. Some work (Yang et al., 2022a; Wang & Zhang, 2022) show that assigning each feature dimension a separate spectral filter improves the performance of GNNs. Differently, our model achieves adaptivity at the node level, with each node being assigned a separate spectral filter. Specifically, we present the following theorem.
|
| 115 |
+
|
| 116 |
+
**Theorem 1.** _Consider an undirected graph G, let_ **L** = **UΛU** _[⊤] represent the eigendecomposition of the symmetric normalized Laplacian_ **L** = **I** _−_ **D** _[−]_[1] _[/]_[2] **AD** _[−]_[1] _[/]_[2] _, where_ **U** _is the matrix of eigenvectors and_ **Λ** = diag([ _λi_ ] _i_ =1 _···N_ ) _is the diagonal matrix of eigenvalues and_ 0 = _λ_ 1 _≤· · · ≤ λn ≤_ 2 _. Given two sets of d[′] graph signals_ **XW** _fr and_ **XW** _be, PMP scheme described in Eq._ (3) _operates as an adaptive graph filter, with the node-specific spectral convolution for node vi on_ **XW** _fr and_ **XW** _be is given as:_
|
| 117 |
+
|
| 118 |
+
**==> picture [366 x 14] intentionally omitted <==**
|
| 119 |
+
|
| 120 |
+
_where the spectral convolution filters are diagonal matrices defined as:_
|
| 121 |
+
|
| 122 |
+
**==> picture [402 x 48] intentionally omitted <==**
|
| 123 |
+
|
| 124 |
+
_where Nfr_ ( _vi_ ) _and Nbe_ ( _vi_ ) _are respectively the fraud neighbors and benign neighbors of vi in the training set. The i-th row of the matrix_ **H** ( _vi_ ) _, i.e.,_ **H** ( _vi_ )[ _i,_ :] _, is the representation of vi._
|
| 125 |
+
|
| 126 |
+
We provide a proof in Appendix B. The inherent mixed homophily-heterophily characteristics of fraud graphs underline the importance of utilizing node-specific adaptive filters. As different center nodes locate in diverse contexts within the graph, they each reflect distinct degrees of homophily or heterophily. This variability implies that a one-size-fits-all approach, using a universal graph filter across all nodes (Defferrard et al., 2016; Kipf & Welling, 2017; Tang et al., 2022), is not only suboptimal but could lead to inaccuracies in fraud detection. PMP ensures that the filters are tailored
|
| 127 |
+
|
| 128 |
+
6
|
| 129 |
+
|
| 130 |
+
Table 1: Experiment Results on Yelp and Amazon (40% training ratio).
|
| 131 |
+
|
| 132 |
+
|Method|Yelp<br>AUC<br>F1-Macro<br>G-Mean|Amazon<br>AUC<br>F1-Macro<br>G-Mean|
|
| 133 |
+
|---|---|---|
|
| 134 |
+
|GCN<br>GAT<br>GraphSAGE|59.83_±_0.49<br>56.20_±_0.67<br>43.65_±_2.62<br>57.15_±_0.29<br>48.79_±_2.30<br>16.59_±_7.89<br>89.38_±_0.19<br>75.46_±_0.81<br>73.07_±_4.79|83.69_±_1.25<br>64.86_±_6.94<br>57.18_±_19.51<br>81.02_±_1.79<br>64.64_±_3.87<br>66.75_±_13.45<br>93.16_±_0.87<br>88.26_±_0.62<br>83.46_±_1.49|
|
| 135 |
+
|GPRGNN<br>FAGCN|82.85_±_0.66<br>63.19_±_0.80<br>75.62_±_1.24<br>74.23_±_0.27<br>61.18_±_0.75<br>67.37_±_1.26|93.72_±_0.68<br>80.66_±_1.82<br>85.56_±_2.73<br>95.00_±_0.81<br>87.29_±_1.53<br>79.62_±_0.96|
|
| 136 |
+
|Care-GNN<br>PC-GNN<br>H2-FDetector<br>BWGNN<br>GHRN<br>GDN<br>**PMP**|76.19_±_2.92<br>63.32_±_0.94<br>67.91_±_3.59<br>79.87_±_0.14<br>63.00_±_2.30<br>71.60_±_1.30<br>89.48_±_1.26<br>74.38_±_2.42<br>79.15_±_2.57<br>90.54_±_0.49<br>76.96_±_0.89<br>77.12_±_0.99<br>90.57_±_0.36<br>77.54_±_1.02<br>74.21_±_1.57<br>90.34_±_0.80<br>76.05_±_0.60<br>80.84_±_0.09<br>**93.97**_±_**0.15**<br>**81.96**_±_**0.56**<br>**83.92**_±_**1.04**|90.67_±_1.49<br>86.39_±_1.66<br>70.52_±_0.21<br>95.86_±_0.14<br>89.56_±_0.77<br>90.30_±_0.44<br>96.03_±_0.69<br>86.91_±_1.01<br>91.74_±_0.47<br>97.42_±_0.48<br>91.72_±_0.84<br>90.01_±_0.36<br>97.07_±_0.73<br>**92.36**_±_**0.97**<br>90.58_±_0.45<br>97.09_±_0.16<br>90.68_±_0.42<br>90.78_±_0.11<br>**97.57**_±_**0.12**<br>92.03_±_0.79<br>**91.85**_±_**0.65**|
|
| 137 |
+
|
| 138 |
+
Table 2: Experiment Results on T-Finance and T-Social (40% training ratio). OOM: out of memory; OOT: out of time (running time _>_ 1 day).
|
| 139 |
+
|
| 140 |
+
|Method|T-Finance<br>AUC<br>F1-Macro<br>G-Mean|T-Social<br>AUC<br>F1-Macro<br>G-Mean|
|
| 141 |
+
|---|---|---|
|
| 142 |
+
|GCN<br>GAT<br>GraphSAGE|93.31_±_0.75<br>86.86_±_0.77<br>80.43_±_0.82<br>92.77_±_1.12<br>62.19_±_0.98<br>77.46_±_2.20<br>95.05_±_0.22<br>90.37_±_0.49<br>85.35_±_0.38|76.00_±_2.47<br>46.85_±_1.64<br>71.19_±_2.73<br>63.45_±_1.36<br>57.22_±_0.81<br>69.53_±_2.18<br>94.19_±_1.65<br>74.97_±_2.49<br>72.07_±_2.39|
|
| 143 |
+
|GPRGNN<br>FAGCN|54.82_±_0.78<br>56.25_±_0.27<br>32.96_±_0.25<br>OOM<br>OOM<br>OOM|82.79_±_1.21<br>49.23_±_0.87<br>50.03_±_7.62<br>OOM<br>OOM<br>OOM|
|
| 144 |
+
|Care-GNN<br>PC-GNN<br>H2-FDetector<br>BWGNN<br>GHRN<br>GDN<br>**PMP**|93.79_±_0.92<br>82.59_±_0.86<br>84.58_±_1.26<br>92.09_±_0.58<br>55.81_±_0.34<br>81.96_±_0.42<br>94.99_±_0.68<br>74.21_±_0.70<br>85.91_±_0.69<br>95.84_±_0.46<br>88.66_±_0.72<br>85.16_±_1.66<br>95.77_±_0.60<br>87.92_±_0.75<br>81.65_±_0.43<br>95.53_±_0.74<br>88.75_±_2.26<br>87.84_±_0.97<br>**97.10**_±_**0.23**<br>**91.90**_±_**0.50**<br>**88.51**_±_**1.26**|78.91_±_0.84<br>51.87_±_1.76<br>63.60_±_0.77<br>88.98_±_0.66<br>44.13_±_1.07<br>75.07_±_0.80<br>OOT<br>OOT<br>OOT<br>94.72_±_1.88<br>84.06_±_2.89<br>81.51_±_4.08<br>90.60_±_1.78<br>68.28_±_0.73<br>63.42_±_2.81<br>88.06_±_0.43<br>56.89_±_1.11<br>30.33_±_3.67<br>**99.62**_±_**0.07**<br>**95.27**_±_**0.32**<br>**92.97**_±_**0.64**|
|
| 145 |
+
|
| 146 |
+
to the unique neighborhood characteristics of each node, enhancing both sensitivity and specificity in identifying fraud patterns. Fig. 2 shows an example of PMP on a _BA_ (500) graph. We can find that _g_ fr _[i]_[(Λ)][ and] _[ g]_ be _[i]_[(Λ)][ are two complementary filters that cover all frequencies in the spectral domain.]
|
| 147 |
+
|
| 148 |
+
## 5 EXPERIMENTS
|
| 149 |
+
|
| 150 |
+
## 5.1 EXPERIMENTAL SETUP
|
| 151 |
+
|
| 152 |
+
**Datasets and Baselines.** We evaluate our approach using five datasets tailored for GFD: Yelp (Rayana & Akoglu, 2015), Amazon (McAuley & Leskovec, 2013), T-Finance, T-Social (Tang et al., 2022). Besides, we have evaluated our model on a large-scale real graph from our industry partner, Grab. The statistics of these datasets are provided in Table 4 of Appendix D. We compare our model against 11 state-of-the-art approaches, including _generic GNNs_ : GCN (Kipf & Welling, 2017), GraphSAGE (Hamilton et al., 2017), and GAT (Velickoviˇ c et al., 2018);´ _beyond homophily GNNs_ : GPRGNN (Chien et al., 2021) and FAGCN (Bo et al., 2021); _fraud detection tailored GNNs_ : CareGNN (Dou et al., 2020), PC-GNN (Liu et al., 2021c), H2-FDetector (Shi et al., 2022), BWGNN (Tang et al., 2022), GHRN (Gao et al., 2023c), and GDN (Gao et al., 2023b).
|
| 153 |
+
|
| 154 |
+
**Metrics and Implementation Details.** We employ three commonly used metrics for imbalanced classification in deep learning evaluations: AUC, F1-Macro and G-Mean. We provide a detailed explanation of each metric in Appendix D.3. Following (Tang et al., 2022), we adopt the data splitting ratios of 40%:20%:40% for training, validation, and test set in the supervised scenario. In the semi-supervised scenario, the data splitting ratio is 1%:10%:89%. For consistency in our evaluations, each model underwent 10 trials with varied random seeds. We present the average performance
|
| 155 |
+
|
| 156 |
+
7
|
| 157 |
+
|
| 158 |
+
**==> picture [386 x 111] intentionally omitted <==**
|
| 159 |
+
|
| 160 |
+
**----- Start of picture text -----**<br>
|
| 161 |
+
GCN GCN GCN<br>2500 BWGNN 600 BWGNN 1200 BWGNN<br>PMP 500 PMP 1000 PMP<br>2000<br>400 800<br>1500<br>300 600<br>1000<br>200 400<br>500 100 200<br>0 0 0<br>40 20 0 20 40 60 80 100 0 200 400 600 800 1000 0 2000 4000 6000 8000 10000<br>If Ib If Ib If Ib<br>(a) Yelp (b) Amazon (c) T-Finance<br>Number of Nodes Number of Nodes Number of Nodes<br>**----- End of picture text -----**<br>
|
| 162 |
+
|
| 163 |
+
Figure 4: Influence distribution.
|
| 164 |
+
|
| 165 |
+
and standard deviation for each model as benchmarks for comparison. We provide the detailed hyperparameter tuning strategies of baselines and hyperparameter setting of PMP in Appendix D.4.
|
| 166 |
+
|
| 167 |
+
## 5.2 PERFORMANCE COMPARISON
|
| 168 |
+
|
| 169 |
+
For public datasets, results derived from the supervised setting can be found in Tables 1 and 2, while those from the semi-supervised setting are detailed in Tables 6 and 7 of Appendix E.1. For the Grab dataset, results are shown in Appendix E.2. The results demonstrate that PMP consistently surpasses baseline performances across almost all datasets and metrics. One explanation for its enhanced performance over generic GNNs—where the learnable weights of the aggregation function are uniformly applied across all neighbors—is that PMP encodes class-specific discriminative information into the model parameters.
|
| 170 |
+
|
| 171 |
+
**==> picture [163 x 99] intentionally omitted <==**
|
| 172 |
+
|
| 173 |
+
**----- Start of picture text -----**<br>
|
| 174 |
+
95<br>90<br>85 CARE-GNN<br>PC-GNN<br>80 BWGNN<br>GraphSAGE<br>75 GHRN<br>GDN<br>70 PMP<br>2000 4000 6000 8000 10000<br>Testing Time (s)<br>AUC<br>**----- End of picture text -----**<br>
|
| 175 |
+
|
| 176 |
+
Figure 3: AUC _vs._ testing time on T- Social.
|
| 177 |
+
|
| 178 |
+
This is achieved by distinguishing neighbors of distinct classes during the message passing phase. Besides, the adaptive modulation between **W** fr and **W** be allows nodes to judiciously calibrate the information flow from distinct classes of neighbors. By segregating the processing of neighbors based on their labels, our model can adaptively emphasize and give importance to rare patterns, which is vital in imbalanced and heterophilic scenarios. Among generic GNNs, GraphSAGE exhibits better performance due to its separation between ego- and neighbor embeddings, which is beneficial when learning under heterophily, and our model also inherits such design.
|
| 179 |
+
|
| 180 |
+
In comparison to the six GNNs tailored for GFD, our model also demonstrates a markedly superior performance. For instance, on Yelp, our model shows improvements of 3.4% in AUC, 4.42% in F1-Macro, and 3.08% in G-Mean. Interestingly, our evaluation reveals that GraphSAGE, despite its fundamental design, serves as a potent baseline, even surpassing some models specifically crafted for GFD. Many of these specialized baselines incorporate intricate preprocessing steps rooted in feature engineering (e.g., GHRN) or employ learnable edge reweighting/sampling techniques (e.g., H2-FDetector) for graph augmentation. Such findings suggest that elaborate manipulations to tailor the graph structure for the model might be superfluous. Instead, adapting the model to align better with the inherent graph characteristics could prove to be a more effective strategy. Our model presented in Eq. (3) can be seen as a variant of GraphSAGE. Notably, relative to GraphSAGE, our model exhibits substantial performance enhancements, underscoring the efficacy of the proposed partitioning message passing strategy. In Fig. 3, we show that our model achieves the optimal trade-off between inference speed and effectiveness in comparison to baselines. PMP follows the iterative aggregation framework of GNNs, thus the number of layers and the dimension of hidden layers are two core parameters that determine the receptive field and representation power of the model. Thus, we analyze the sensitivity of the model to these two parameters in Appendix D.5.
|
| 181 |
+
|
| 182 |
+
## 5.3 HOW DOES PMP SOLVE THE PROBLEMS OF HETEROPHILY AND LABEL IMBALANCE?
|
| 183 |
+
|
| 184 |
+
To answer this question, we investigate the influence of neighbors with different labels on the center fraud nodes. Given a center fraud node _vi_ , we measure the influence of its fraud neighbors on the final representation of _vi_ as _If_ ( _vi_ ) =[�] _vj ∈N_ fr( _vi_ ) _∂X∂Zij_[,][where] _[Z][i]_[=] _[H] i_[(] _[L]_[)] is the output representation of the last layer. Correspondingly, the influence of benign neighbors is captured by
|
| 185 |
+
|
| 186 |
+
8
|
| 187 |
+
|
| 188 |
+
Table 3: Ablation study
|
| 189 |
+
|
| 190 |
+
|Method|Yelp<br>AUC<br>F1-Macro|Amazon<br>AUC<br>F1-Macro|T-Finance<br>AUC<br>F1-Macro|
|
| 191 |
+
|---|---|---|---|
|
| 192 |
+
|GraphSAGE<br>+partition<br>++adaptive combination<br>+++root-specifc weights (full PMP)|89.38<br>75.46<br>93.15<br>78.02<br>93.51<br>79.93<br>**93.97**<br>**81.96**|93.16<br>88.26<br>96.33<br>89.64<br>**97.61**<br>91.29<br>97.57<br>**92.03**|95.05<br>90.37<br>95.92<br>91.43<br>96.86<br>91.31<br>**97.10**<br>**91.90**|
|
| 193 |
+
|
| 194 |
+
_Ib_ ( _vi_ ) =[�] _vj ∈N_ be( _vi_ ) _∂X∂Zij_[.][Then,][the][larger] _[I][f]_[(] _[v][i]_[)] _[ −][I][b]_[(] _[v][i]_[)][,][the][larger][influence][of][homophilic] neighbors on the center fraud node, which indicates that the model is robust, effectively mitigating the issues of label imbalance and heterophily. In Fig. 4, we show the distribution of _If − Ib_ with respect to all fraud nodes. It is evident that, in comparison to GCN and BWGNN, the representations learned through PMP exhibit a higher _If − Ib_ for a greater number of fraud nodes. This metric underscores PMP’s efficacy in enhancing the impact of homophilic (fraud) neighbors on the center fraud node, despite them being in the minority, on the center node, thereby showcasing its superior ability to resist the challenges posed by label imbalance and heterophily.
|
| 195 |
+
|
| 196 |
+
## 5.4 ABLATION STUDY
|
| 197 |
+
|
| 198 |
+
As shown in Eq. (3), the main difference between PMP and GraphSAGE rests in their aggregation methods: while GraphSAGE employs a uniform aggregation with shared feature transformations for all neighbors, PMP distinctly partitions message passing, applying varied feature transformations contingent upon neighbor labels. The results in Section 5.2 show our model consistently outperforms GraphSAGE across all datasets and evaluation metrics, which demonstrates that such a simple design can significantly enhance GNN performance in GFD.
|
| 199 |
+
|
| 200 |
+
Additionally, we delve deeper to validate two pivotal components of our model: the adaptive blending of unlabeled neighbors as a weighted fusion of labeled data, as shown in Eq. (4), and the root-specific weight matrices in Eq. (5). Table 3 shows the results, where we employ GraphSAGE as the benchmark model, given its conceptual proximity to our proposal, to methodically illustrate the incremental benefits introduced by our design choices. “+partition” denotes adopting distinct weight matrices for labeled fraud benign neighbors, while for unlabeled neighbors, a separate, independent weight matrix is employed. Subsequently, “++adaptive combination” denotes that the weight matrix for unlabeled neighbors is treated as an adaptive combination of the weights of labeled neighbors as introduced in Eq. (4). “+++root-specific weights” implies that the weight matrices for fraud and benign neighbors are dynamically generated as functions of the center node as presented in Eq. (5).
|
| 201 |
+
|
| 202 |
+
From our evaluations, it is evident that GraphSAGE lags behind in performance across all metrics. This underscores the inherent limitation of uniformly aggregating information from all neighbors during the message passing process. Such an approach, while general and versatile, might miss out on capturing the relationships and contextual dependencies intrinsic to GFD. The “+partition” contributes to major improvements, which affirms that the core feature of our model, distinguishing between different classes of neighbors during message passing, stands as a pivotal mechanism for enhancing GNNs’ efficacy in GFD. Besides, the subsequent extensions, “adaptive combination” and “root-specific weights”, also contribute positively to the overall performance. Specifically, the ”++adaptive combination”, building upon the ”+partition”, brings incremental improvements across all datasets. The ”+++root-specific weights”, further extending the preceding component, enhances performance on most metrics in most datasets. Combined, these two components contribute to a cumulative improvement of more than 1% over the ”+partition” baseline.
|
| 203 |
+
|
| 204 |
+
## 6 CONCLUSIONS
|
| 205 |
+
|
| 206 |
+
This work presents a simple yet effective GNN framework, PMP, for fraud detection task. We propose that the key of applying GNNs on fraud detection is to distinguish neighbors with different labels during message passing. With this insight, neighbor aggregation is partitioned based on labels using distinct node-specific aggregation functions. In this way, the center node can adaptively adjust the information propagated from its homophilic and heterophilic neighbors, thus avoiding model overfitting the majority class nodes (i.e., benign), and alleviating the problem of heterophily. The theoretical analysis of PMP demonstrates that PMP learns an adaptive spectral filter for each node separately. Extensive experiments show that our model achieves new state-of-the-art results on several public GFD datasets, verifying the power of partitioning message passing for GFD.
|
| 207 |
+
|
| 208 |
+
9
|
| 209 |
+
|
| 210 |
+
## REFERENCES
|
| 211 |
+
|
| 212 |
+
- Sami Abu-El-Haija, Bryan Perozzi, Amol Kapoor, Nazanin Alipourfard, Kristina Lerman, Hrayr Harutyunyan, Greg Ver Steeg, and Aram Galstyan. Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In _international conference on machine learning_ , pp. 21–29. PMLR, 2019.
|
| 213 |
+
|
| 214 |
+
- Deyu Bo, Xiao Wang, Chuan Shi, and Huawei Shen. Beyond low-frequency information in graph convolutional networks. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 35, pp. 3950–3957, 2021.
|
| 215 |
+
|
| 216 |
+
- Nan Chen, Zemin Liu, Bryan Hooi, Bingsheng He, Rizal Fathony, Jun Hu, and Jia Chen. Consistency training with learnable data augmentation for graph anomaly detection with limited supervision. In _The Twelfth International Conference on Learning Representations_ , 2024. URL https: //openreview.net/forum?id=elMKXvhhQ9.
|
| 217 |
+
|
| 218 |
+
- Eli Chien, Jianhao Peng, Pan Li, and Olgica Milenkovic. Adaptive universal generalized pagerank graph neural network. In _International Conference on Learning Representations_ , 2021. URL [URL removed]
|
| 219 |
+
|
| 220 |
+
- Hyunsoo Cho, Jinseok Seol, and Sang-goo Lee. Masked contrastive learning for anomaly detection. _arXiv preprint arXiv:2105.08793_ , 2021.
|
| 221 |
+
|
| 222 |
+
- Gabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Lio,` and Petar Velickoviˇ c.´ Principal neighbourhood aggregation for graph nets. In _Advances in Neural Information Processing Systems_ , 2020.
|
| 223 |
+
|
| 224 |
+
- Limeng Cui, Haeseung Seo, Maryam Tabar, Fenglong Ma, Suhang Wang, and Dongwon Lee. Deterrent: Knowledge guided graph attention network for detecting healthcare misinformation. In _Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining_ , pp. 492–502, 2020.
|
| 225 |
+
|
| 226 |
+
- Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst.¨ Convolutional neural networks on graphs with fast localized spectral filtering. In _Advances in Neural Information Processing Systems_ , 2016. URL [URL removed]
|
| 227 |
+
|
| 228 |
+
- Leyan Deng, Chenwang Wu, Defu Lian, Yongji Wu, and Enhong Chen. Markov-driven graph convolutional networksfor social spammer detection. _IEEE Transactions on Knowledge and Data Engineering_ , 2022.
|
| 229 |
+
|
| 230 |
+
- Yushun Dong, Kaize Ding, Brian Jalaian, Shuiwang Ji, and Jundong Li. Adagnn: Graph neural networks with adaptive frequency response filter. In _Proceedings of the 30th ACM International Conference on Information & Knowledge Management_ , pp. 392–401, 2021.
|
| 231 |
+
|
| 232 |
+
- Yingtong Dou, Zhiwei Liu, Li Sun, Yutong Deng, Hao Peng, and Philip S Yu. Enhancing graph neural network-based fraud detectors against camouflaged fraudsters. In _Proceedings of the 29th ACM international conference on information & knowledge management_ , pp. 315–324, 2020.
|
| 233 |
+
|
| 234 |
+
- Yuan Gao, Xiang Wang, Xiangnan He, Zhenguang Liu, Huamin Feng, and Yongdong Zhang. Addressing heterophily in graph anomaly detection: A perspective of graph spectrum. In _Proceedings of the ACM Web Conference 2023_ , pp. 1528–1538, 2023a.
|
| 235 |
+
|
| 236 |
+
- Yuan Gao, Xiang Wang, Xiangnan He, Zhenguang Liu, Huamin Feng, and Yongdong Zhang. Alleviating structural distribution shift in graph anomaly detection. In _Proceedings of the Sixteenth ACM International Conference on Web Search and Data Mining_ , pp. 357–365, 2023b.
|
| 237 |
+
|
| 238 |
+
10
|
| 239 |
+
|
| 240 |
+
- Yuan Gao, Xiang Wang, Xiangnan He, Zhenguang Liu, Huamin Feng, and Yongdong Zhang. Addressing heterophily in graph anomaly detection: A perspective of graph spectrum. In _WWW_ , 2023c.
|
| 241 |
+
|
| 242 |
+
- Johannes Gasteiger, Aleksandar Bojchevski, and Stephan Gunnemann.¨ Predict then propagate: Graph neural networks meet personalized pagerank. In _International Conference on Learning Representations (ICLR)_ , 2019a.
|
| 243 |
+
|
| 244 |
+
- Johannes Gasteiger, Stefan Weißenberger, and Stephan Gunnemann.¨ Diffusion improves graph learning. _Advances in neural information processing systems_ , 32, 2019b.
|
| 245 |
+
|
| 246 |
+
- 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. PMLR, 2017.
|
| 247 |
+
|
| 248 |
+
- Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. _Advances in neural information processing systems_ , 30, 2017.
|
| 249 |
+
|
| 250 |
+
- Mingguo He, Zhewei Wei, Hongteng Xu, et al. Bernnet: Learning arbitrary graph spectral filters via bernstein approximation. _Advances in Neural Information Processing Systems_ , 34:14239–14251, 2021.
|
| 251 |
+
|
| 252 |
+
- Wei Jin, Tyler Derr, Yiqi Wang, Yao Ma, Zitao Liu, and Jiliang Tang. Node similarity preserving graph convolutional networks. In _Proceedings of the 14th ACM international conference on web search and data mining_ , pp. 148–156, 2021.
|
| 253 |
+
|
| 254 |
+
- Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In _International Conference on Learning Representations (ICLR)_ , 2017.
|
| 255 |
+
|
| 256 |
+
- Derek Lim, Xiuyu Li, Felix Hohne, and Ser-Nam Lim. New benchmarks for learning on nonhomophilous graphs. _arXiv preprint arXiv:2104.01404_ , 2021.
|
| 257 |
+
|
| 258 |
+
- Wangli Lin, Li Sun, Qiwei Zhong, Can Liu, Jinghua Feng, Xiang Ao, and Hao Yang. Online credit payment fraud detection via structure-aware hierarchical recurrent neural network. In _IJCAI_ , pp. 3670–3676, 2021.
|
| 259 |
+
|
| 260 |
+
- Can Liu, Li Sun, Xiang Ao, Jinghua Feng, Qing He, and Hao Yang. Intention-aware heterogeneous graph attention networks for fraud transactions detection. In _Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining_ , pp. 3280–3288, 2021a.
|
| 261 |
+
|
| 262 |
+
Meng Liu, Zhengyang Wang, and Shuiwang Ji. Non-local graph neural networks. _IEEE transactions on pattern analysis and machine intelligence_ , 44(12):10270–10276, 2021b.
|
| 263 |
+
|
| 264 |
+
- Yang Liu, Xiang Ao, Zidi Qin, Jianfeng Chi, Jinghua Feng, Hao Yang, and Qing He. Pick and choose: A gnn-based imbalanced learning approach for fraud detection. In _Proceedings of the Web Conference 2021_ , pp. 3168–3177, 2021c.
|
| 265 |
+
|
| 266 |
+
- Zemin Liu, Yuan Li, Nan Chen, Qian Wang, Bryan Hooi, and Bingsheng He. A survey of imbalanced learning on graphs: Problems, techniques, and future directions. _arXiv preprint arXiv:2308.13821_ , 2023.
|
| 267 |
+
|
| 268 |
+
- Zhiwei Liu, Yingtong Dou, Philip S Yu, Yutong Deng, and Hao Peng. Alleviating the inconsistency problem of applying graph neural network to fraud detection. In _Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval_ , pp. 1569–1572, 2020.
|
| 269 |
+
|
| 270 |
+
- Sitao Luan, Chenqing Hua, Qincheng Lu, Jiaqi Zhu, Mingde Zhao, Shuyuan Zhang, Xiao-Wen Chang, and Doina Precup. Is heterophily a real nightmare for graph neural networks to do node classification? _arXiv preprint arXiv:2109.05641_ , 2021.
|
| 271 |
+
|
| 272 |
+
- Julian John McAuley and Jure Leskovec. From amateurs to connoisseurs: modeling the evolution of user expertise through online reviews. In _Proceedings of the 22nd international conference on World Wide Web_ , pp. 897–908, 2013.
|
| 273 |
+
|
| 274 |
+
11
|
| 275 |
+
|
| 276 |
+
- Mohamed Nabeel, Enes Altinisik, Haipei Sun, Issa Khalil, Hui Wang, and Ting Yu. Cadue: Contentagnostic detection of unwanted emails for enterprise security. In _Proceedings of the 24th International Symposium on Research in Attacks, Intrusions and Defenses_ , pp. 205–219, 2021.
|
| 277 |
+
|
| 278 |
+
- Eric WT Ngai, Yong Hu, Yiu Hing Wong, Yijun Chen, and Xin Sun. The application of data mining techniques in financial fraud detection: A classification framework and an academic review of literature. _Decision support systems_ , 50(3):559–569, 2011.
|
| 279 |
+
|
| 280 |
+
- Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. Geom-gcn: Geometric graph convolutional networks. In _8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020_ . OpenReview.net, 2020. URL https: //openreview.net/forum?id=S1e2agrFvS.
|
| 281 |
+
|
| 282 |
+
- Oleg Platonov, Denis Kuznedelev, Michael Diskin, Artem Babenko, and Liudmila Prokhorenkova. A critical look at evaluation of gnns under heterophily: Are we really making progress? In _The Eleventh International Conference on Learning Representations_ , 2023.
|
| 283 |
+
|
| 284 |
+
- Liang Qu, Huaisheng Zhu, Ruiqi Zheng, Yuhui Shi, and Hongzhi Yin. Imgagn: Imbalanced network embedding via generative adversarial graph networks. In _Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining_ , pp. 1390–1398, 2021.
|
| 285 |
+
|
| 286 |
+
- Susie Xi Rao, Shuai Zhang, Zhichao Han, Zitao Zhang, Wei Min, Zhiyao Chen, Yinan Shan, Yang Zhao, and Ce Zhang. xfraud: Explainable fraud transaction detection. _VLDB_ , 2022. doi: 10.14778/3494124.3494128.
|
| 287 |
+
|
| 288 |
+
- Shebuti Rayana and Leman Akoglu. Collective opinion spam detection: Bridging review networks and metadata. In _Proceedings of the 21th acm sigkdd international conference on knowledge discovery and data mining_ , pp. 985–994, 2015.
|
| 289 |
+
|
| 290 |
+
- Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne Van Den Berg, Ivan Titov, and Max Welling. Modeling relational data with graph convolutional networks. In _The Semantic Web: 15th International Conference, ESWC 2018, Heraklion, Crete, Greece, June 3–7, 2018, Proceedings 15_ , pp. 593–607. Springer, 2018.
|
| 291 |
+
|
| 292 |
+
- Fengzhao Shi, Yanan Cao, Yanmin Shang, Yuchen Zhou, Chuan Zhou, and Jia Wu. H2-fdetector: A gnn-based fraud detector with homophilic and heterophilic connections. In _Proceedings of the ACM Web Conference 2022 (TheWebConf)_ , pp. 1486–1494, 2022.
|
| 293 |
+
|
| 294 |
+
- Min Shi, Yufei Tang, Xingquan Zhu, David Wilson, and Jianxun Liu. Multi-class imbalanced graph convolutional network learning. In _Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI-20)_ , 2020.
|
| 295 |
+
|
| 296 |
+
- Jaeyun Song, Joonhyung Park, and Eunho Yang. Tam: topology-aware margin loss for classimbalanced node classification. In _International Conference on Machine Learning_ , pp. 20369– 20383. PMLR, 2022.
|
| 297 |
+
|
| 298 |
+
- Jianheng Tang, Jiajin Li, Ziqi Gao, and Jia Li. Rethinking graph neural networks for anomaly detection. In _International Conference on Machine Learning_ , pp. 21076–21089. PMLR, 2022.
|
| 299 |
+
|
| 300 |
+
- Petar Velickoviˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li´ o, and Yoshua` Bengio. Graph Attention Networks. _International Conference on Learning Representations_ , 2018. URL [URL removed]
|
| 301 |
+
|
| 302 |
+
- Daixin Wang, Jianbin Lin, Peng Cui, Quanhui Jia, Zhen Wang, Yanming Fang, Quan Yu, Jun Zhou, Shuang Yang, and Yuan Qi. A semi-supervised graph attentive network for financial fraud detection. In _2019 IEEE International Conference on Data Mining (ICDM)_ , pp. 598–607. IEEE, 2019.
|
| 303 |
+
|
| 304 |
+
- Xiyuan Wang and Muhan Zhang. How powerful are spectral graph neural networks. In _International Conference on Machine Learning_ , pp. 23341–23362. PMLR, 2022.
|
| 305 |
+
|
| 306 |
+
- Yuchen Wang, Jinghui Zhang, Zhengjie Huang, Weibin Li, Shikun Feng, Ziheng Ma, Yu Sun, Dianhai Yu, Fang Dong, Jiahui Jin, et al. Label information enhanced fraud detection against low homophily in graphs. In _Proceedings of the ACM Web Conference 2023_ , pp. 406–416, 2023.
|
| 307 |
+
|
| 308 |
+
12
|
| 309 |
+
|
| 310 |
+
- Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and S Yu Philip. A comprehensive survey on graph neural networks. _IEEE transactions on neural networks and learning systems_ , 32(1):4–24, 2020.
|
| 311 |
+
|
| 312 |
+
- Bingbing Xu, Huawei Shen, Bingjie Sun, Rong An, Qi Cao, and Xueqi Cheng. Towards consumer loan fraud detection: Graph neural networks with role-constrained conditional random field. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 35, pp. 4537–4545, 2021.
|
| 313 |
+
|
| 314 |
+
- Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In _International conference on machine learning_ , pp. 5453–5462. PMLR, 2018.
|
| 315 |
+
|
| 316 |
+
- Mingqi Yang, Yanming Shen, Rui Li, Heng Qi, Qiang Zhang, and Baocai Yin. A new perspective on the effects of spectrum in graph neural networks. In _International Conference on Machine Learning_ , pp. 25261–25279. PMLR, 2022a.
|
| 317 |
+
|
| 318 |
+
- Tianmeng Yang, Yujing Wang, Zhihan Yue, Yaming Yang, Yunhai Tong, and Jing Bai. Graph pointer neural networks. In _Proceedings of the AAAI conference on artificial intelligence_ , volume 36, pp. 8832–8839, 2022b.
|
| 319 |
+
|
| 320 |
+
- Wentao Zhang, Mingyu Yang, Zeang Sheng, Yang Li, Wen Ouyang, Yangyu Tao, Zhi Yang, and Bin Cui. Node dependent local smoothing for scalable graph learning. _Advances in Neural Information Processing Systems_ , 34:20321–20332, 2021.
|
| 321 |
+
|
| 322 |
+
- Tianxiang Zhao, Xiang Zhang, and Suhang Wang. Graphsmote: Imbalanced node classification on graphs with graph neural networks. In _Proceedings of the 14th ACM international conference on web search and data mining_ , pp. 833–841, 2021.
|
| 323 |
+
|
| 324 |
+
- Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. _Advances in neural information processing systems_ , 33:7793–7804, 2020.
|
| 325 |
+
|
| 326 |
+
- Meiqi Zhu, Xiao Wang, Chuan Shi, Houye Ji, and Peng Cui. Interpreting and unifying graph neural networks with an optimization framework. In _Proceedings of the Web Conference 2021_ , pp. 1215–1226, 2021.
|
| 327 |
+
|
| 328 |
+
- Wei Zhuo and Guang Tan. Proximity enhanced graph neural networks with channel contrast. In _Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI-22_ , pp. 2448–2455, 2022.
|
| 329 |
+
|
| 330 |
+
13
|
| 331 |
+
|
| 332 |
+
## A ALGORITHMIC DETAILS
|
| 333 |
+
|
| 334 |
+
**Algorithm 1** PMP forward propatation
|
| 335 |
+
|
| 336 |
+
**Input:** Fraud graph _G_ = ( _V, Er,_ **X** _, Y_ ); Depth _L_ ; Batch size _B_ ; **Output:** Logits **Z** _∈_ R _[N]_ 1: **for** _l ∈{_ 1 _, · · · , L}_ **do** 2: **for** each _batch ⊆G_ of size _B_ **do** 3: **for** _vi ∈ batch_ **do** � 4: **h**[(] _i[l]_[)] _← f_ self[(] _[l][−]_[1)] ( **h**[(] _i[l][−]_[1)] ) 5: _αi_[(] _[l][−]_[1)] _←_ Φ( **h**[(] _i[l][−]_[1)] ) 6: **W** fr[(] _[l] ,i[−]_[1)] _←_ Ψfr( **h**[(] _i[l][−]_[1)] ); **W** be[(] _[l][−] ,i_[1)] = Ψbe( **h**[(] _i[l][−]_[1)] ); **W** un[(] _[l][−] ,i_[1)] = _αi_[(] _[l][−]_[1)] **W** fr[(] _[l][−]_[1)] + (1 _− αi_[(] _[l][−]_[1)] ) **W** be[(] _[l][−] ,i_[1)][// Generate weight matrices for] _[ v][i]_ 7: **a**[(] _i[l]_[)] = _f_ fr[(] _[l] ,i[−]_[1)] � **h**[(] _j[l][−]_[1)] _|vj ∈N_ fr( _vi_ )� + _f_ be[(] _[l] ,i[−]_[1)] � **h**[(] _j[l][−]_[1)] _|vj ∈N_ be( _vi_ )� + _f_ un[(] _[l][−] ,i_[1)] � **h**[(] _j[l][−]_[1)] _|vj ∈N/_ be( _vi_ ) _∪N_ fr( _vi_ )� // _f_ fr[(] _[l] ,i[−]_[1)] , _f_ be[(] _[l] ,i[−]_[1)] and _f_ un[(] _[l][−] ,i_[1)] are parameterized by **W** fr[(] _[l] ,i[−]_[1)] , **W** be[(] _[l][−] ,i_[1)] and **W** un[(] _[l][−] ,i_[1)] respectively. 8: **h**[(] _i[l]_[)] = **h**[�][(] _i[l]_[)] + **a**[(] _i[l]_[)] 9: **end for** 10: **end for** 11: **end for** 12: **H**[�] = MLP( **H**[(] _[L]_[)] ) _∈_ R _[N][×]_[1] 13: **Z** _i ←_ Sigmoid( **H**[�] ) 14: _L_ =[�] _i_[(] _[y][i]_[ log(] **[Z]** _[i]_[) + (1] _[ −][y][i]_[) log(1] _[ −]_ **[Z]** _[i]_[))][ // Cross-entropy loss]
|
| 337 |
+
|
| 338 |
+
**Time Complexity** The time complexity of an _L_ -layer PMP propagation is _O_ ( _LNd_ + _L|E|d_[2] ). For the adaptive combination of unlabeled neighbors, a single-layer MLP is employed, resulting in a complexity of _O_ ( _Nd_ ). Additionally, generating the root-specific weight matrix carries a time complexity of _O_ ( _Nd_[2] ). Thus, the aggregate time complexity of the PMP can be summarized as _O_ ( _LNd_ + ( _L|E|_ + _N_ ) _d_[2] ).
|
| 339 |
+
|
| 340 |
+
## B PROOF OF THEOREM 1
|
| 341 |
+
|
| 342 |
+
_Proof._ Assuming the node indices are fixed, let **F** , **B** be diagonal label mask matrices, which mask benign nodes and fraud nodes respectively with 0 in the main diagonal elements. Specifically, for a node _vi_ labeled 1 (fraud) in the training set, we assign **F** _ii_ = 1, otherwise 0. Similarly, for training benign nodes, **B** _ii_ = 1 otherwise 0. Then the mask matrix of unlabeled nodes is thus **I** _−_ **F** _−_ **B** . For the sake of simplicity, we analyze the first layer of PMP as an example and omit superscripts. Specifically, the feature transformation step of Eq. (3) can be reformulated as:
|
| 343 |
+
|
| 344 |
+
**==> picture [384 x 25] intentionally omitted <==**
|
| 345 |
+
|
| 346 |
+
**==> picture [261 x 11] intentionally omitted <==**
|
| 347 |
+
|
| 348 |
+
**==> picture [288 x 53] intentionally omitted <==**
|
| 349 |
+
|
| 350 |
+
To facilitate the spectral analysis, we align the definition of the graph convolution with GCNs (Kipf & Welling, 2017), using the normalized adjacency matrix, **D** _[−]_[1] _[/]_[2] **AD** _[−]_[1] _[/]_[2] = **I** _−_ **L** . Note that although our model utilizes summation as the convolution method, this doesn’t alter its inherent
|
| 351 |
+
|
| 352 |
+
14
|
| 353 |
+
|
| 354 |
+
spectral properties (Dong et al., 2021; Zhu et al., 2021). Since the matrix **K** ( _·_ ) is node-specific, for _vi_ , it induces a separate message passing matrix form:
|
| 355 |
+
|
| 356 |
+
**==> picture [318 x 28] intentionally omitted <==**
|
| 357 |
+
|
| 358 |
+
where the node-specific convolution filters _g_ fr _[i]_[(Λ)][ and] _[ g]_ be _[i]_[(Λ)][ can be derived as Eq. (7).] **[H]**[(] _[v][i]_[)] _[∈]_ R _[N][×][d][′]_ is a representation matrix induced by the convolution kernel functions associated with _vi_ , thus its _i_ -th row **H** ( _vi_ )[ _i,_ :] gives the PMP representation for _vi_ . For another node _vj_ , it yields a corresponding PMP representation matrix **H** ( _vj_ ) whose _j_ -th row is the representation of _vj_ . Besides, we can find that the spectral filters depend on the node indices and the label distribution. For the frequency _λj_ with its index _j_ satisfying _vj ∈N/_ fr( _vi_ ) _∪N_ be( _vi_ ), then its response _g[i]_ ( _λj_ ) is nodeadaptive given that _αi_ is inherently a function of _vi_ . Since in real-world networks, where most nodes remain unlabeled, we can conclude that PMP is an adaptive node-specific spectral convolution.
|
| 359 |
+
|
| 360 |
+
## C RELATION OF PMP TO ACM
|
| 361 |
+
|
| 362 |
+
The basic idea of Adaptive Channel Mixture (ACM) (Luan et al., 2021) is to attribute negative weights to heterophilic neighbors through a spectral synthesis of low-pass and high-pass filters. This technique fundamentally differs from our PMP. It is because the use of negative weights in ACM is indicative of removing (or subtracting) the heterophilic components from the homophilic neighbors. This can be interpreted as a form of information “forgetting” where heterophilic features are de-emphasized in favor of homophilic features. It is different from PMP which preserves and utilizes all available information. From the perspective of methodology, ACM is rooted in spectral graph theory, while PMP is spatially oriented. This difference is not just theoretical but has practical implications. The spectral nature of ACM inherently influences its scalability, particularly in the context of large graphs. Typically, spectral-based models, including ACM, require the entire graph as input, which can pose challenges for mini-batch training and thereby limit scalability. In contrast, our PMP model, with its spatial-based framework, inherently supports mini-batch training and is thus more adaptable to large-scale graphs. Furthermore, considering the application of ACM in GFD tasks, its formulation, with removed nonlinearity for simplicity’s sake, can be
|
| 363 |
+
|
| 364 |
+
**==> picture [396 x 43] intentionally omitted <==**
|
| 365 |
+
|
| 366 |
+
**==> picture [397 x 68] intentionally omitted <==**
|
| 367 |
+
|
| 368 |
+
ACM, trainable weight matrices in PMP, _W_ 1 and _W_ 2, are specifically applied to nodes with different labels, where _W_ 1 and _W_ 2 capture the information of fraud nodes and benign nodes respectively, reflecting a more label-aware and adaptive approach to message passing in the context of GFD.
|
| 369 |
+
|
| 370 |
+
## D EXPERIMENTAL DETAILS
|
| 371 |
+
|
| 372 |
+
## D.1 DATASETS
|
| 373 |
+
|
| 374 |
+
Table 4 summarizes the dataset statistics, including the number of nodes, edges, and relations, the proportion of fraud nodes, feature dimension, and the homophily score. The imbalance-aware homophily score (Lim et al., 2021) is defined as:
|
| 375 |
+
|
| 376 |
+
**==> picture [262 x 30] intentionally omitted <==**
|
| 377 |
+
|
| 378 |
+
where [ _·_ ]+ = max( _·,_ 0). _C_ , representing the number of classes, is set to 2 for GFD. _Ck_ denotes the set of nodes in class _k_ , with _k_ = 0 corresponding to benign nodes and _k_ = 1 to fraud nodes. _ηk_ is the
|
| 379 |
+
|
| 380 |
+
15
|
| 381 |
+
|
| 382 |
+
class-wise homophily metric:
|
| 383 |
+
|
| 384 |
+
**==> picture [247 x 27] intentionally omitted <==**
|
| 385 |
+
|
| 386 |
+
ˆ ˆ where _Nk_ ( _vi_ ) _|_ is the neighbors of _vi_ with label _k_ . _η ∈_ [0 _,_ 1] where _η_ = 1 corresponds to a fully ˆ homophilic graph, while _η <_ 0 _._ 5 indicates a highly heterophilic graph.
|
| 387 |
+
|
| 388 |
+
We compare the fraud detection performance of different baselines on YelpChi, Amazon, T-Finance, and T-Social. Among them, 1) YelpChi comprises both filtered (spam) and recommended (legitimate) reviews of hotels and restaurants, as collected by Yelp.com. This dataset has three types of relations: R-U-R, representing reviews by the same user; R-S-R, for reviews under the same product receiving identical star ratings; and R-T-R, which groups reviews for the same product posted within the same month. 2) The Amazon dataset collects reviews from the musical instruments category on Amazon. It also has three relations, where the U-P-U relationship links users who have reviewed the same product; the U-S-U relationship connects users who assigned identical ratings within a week; the U-V-U relationship bridges users showcasing the top 5% of mutual review text similarities measured by TF-IDF metrics. 3) T-Finance is a single-relational fraud graph, capturing anomalous accounts within transaction networks. In this dataset, nodes represent anonymized accounts, with attributes including registration days, login activities, and interaction frequencies. Edges mean the existence of transaction records between two accounts. Nodes are annotated as anomalies by human experts if they exhibit behaviors characteristic of fraud, money laundering, or online gambling. 4) T-Social is designed to identify anomalous accounts within social networks. two nodes are interconnected if they sustain a friendship for over three months. 5) The industrial graph includes the transaction of a month in a leading super app. Due to the anonymity and privacy policy, we exclude the exact details of the graph but roughly the graph includes over 1 million nodes and over 10 million edges.
|
| 389 |
+
|
| 390 |
+
Table 4: Summary of dataset statistics.
|
| 391 |
+
|
| 392 |
+
|Dataset|# Nodes|# Edges|# Relations|Frauds (%)|# Features|ˆ_η_|
|
| 393 |
+
|---|---|---|---|---|---|---|
|
| 394 |
+
|YelpChi|45,954|3,846,979|3|14.53%|32|0.0538|
|
| 395 |
+
|Amazon|11,944|4,398,392|3|6.87%|25|0.0512|
|
| 396 |
+
|T-Finance|39,357|21,222,543|1|4.58%|10|0.4363|
|
| 397 |
+
|T-Social|5,781,065|73,105,508|1|3.01%|10|0.1003|
|
| 398 |
+
|Industrial graph|_∼_1M|_∼_10M|1|0.54%|17|-|
|
| 399 |
+
|
| 400 |
+
## D.2 LABEL DISTRIBUTION
|
| 401 |
+
|
| 402 |
+
In Fig. 5, we show the label distributions of the labeled neighborhoods of training nodes. We use _||NNfber||_[to][represent][the][number][of][fraud][neighbors][relative][to][benign][neighbors][for][a][central][node.] _||NNfber||[<]_[1][indicates][that][the][number][of][labeled][fraud][neighbors][is][fewer][than][benign][neighbors.] Specifically, if _[|] |N[N][f] be[r] |[|][<]_[ 0] _[.]_[5][, it indicates that the central node has far fewer fraud neighbors compared] to benign ones, denoting a highly imbalanced neighborhood. The height of each bar means the number of center training nodes under a certain _[|] |N[N][f] be[r] |[|]_[.][Our results show that commonly used datasets] such as Yelp, Amazon, and T-Finance suffer from significant label imbalance in the neighborhoods, because the neighborhoods’ label distribution is long-tail, i.e., the number of fraud neighbors is far less than benign ones. It requires the model can enhance the influence from the minority class neighbors on the center nodes during neighbor aggregation. Combining with the empirical results in Section 5.3, our PMP method effectively achieves this, enhancing the influence from minority class neighbors more efficiently than traditional GNN approaches.
|
| 403 |
+
|
| 404 |
+
## D.3 METRICS
|
| 405 |
+
|
| 406 |
+
AUC is the area under the ROC curve, and it provides an aggregate measure of performance across all possible classification thresholds, reflecting the model’s ability to distinguish between positive and negative classes. F1-Macro computes the F1 score for each class independently and then takes the average. Lastly, the G-Mean, or geometric mean, calculates the square root of the product of the sensitivity and specificity, offering an insight into the balance between true positive rate and
|
| 407 |
+
|
| 408 |
+
16
|
| 409 |
+
|
| 410 |
+
**==> picture [386 x 111] intentionally omitted <==**
|
| 411 |
+
|
| 412 |
+
**----- Start of picture text -----**<br>
|
| 413 |
+
6000 1200 5000<br>5000 1000<br>4000<br>4000 800<br>3000<br>3000 600<br>2000<br>2000 400<br>1000 200 1000<br>0 0 0<br>0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0<br>| fr [|] | fr [|] | fr [|]<br>| be [|] | be [|] | be [|]<br>(a) Yelp (b) Amazon (c) T-Finance<br>Number of Nodes Number of Nodes Number of Nodes<br>**----- End of picture text -----**<br>
|
| 414 |
+
|
| 415 |
+
Figure 5: Label distributions of the labeled neighborhoods of the training nodes.
|
| 416 |
+
|
| 417 |
+
true negative rate performance. Higher values of these metrics signify superior performance of the methods.
|
| 418 |
+
|
| 419 |
+
## D.4 HYPERPARAMETER SETTINGS
|
| 420 |
+
|
| 421 |
+
To mitigate bias, we individually fine-tune the hyperparameters of each model for every benchmark and report the best performance on the validation set. For each model, we explored the following searching ranges for general hyperparameters: learning rate _lr ∈{_ 0 _._ 01 _,_ 0 _._ 005 _,_ 0 _._ 001 _}_ , weight decay _wd ∈{_ 0 _,_ 5 _e −_ 5 _,_ 1 _e −_ 4 _}_ , dropout _do ∈{_ 0 _,_ 0 _._ 2 _,_ 0 _._ 3 _,_ 0 _._ 4 _,_ 0 _._ 5 _,_ 0 _._ 6 _,_ 0 _._ 7 _,_ 0 _._ 8 _}_ , hidden dimension _d[′] ∈{_ 32 _,_ 64 _,_ 128 _,_ 256 _,_ 512 _}_ . For spatial-based models, batch size is an important hyperparameter that highly depends on the graph size. Specifically, for Yelp, Amazon, and T-Finance, batch size _bs ∈{_ 64 _,_ 128 _,_ 256 _,_ 512 _,_ 1024 _}_ . For the large-scale graph T-Social, _bs ∈{_ 2[17] _,_ 2[18] _,_ 2[19] _}_ . For modelspecific hyperparameters, we also carefully calibrate parameters in accordance with varying datasets and training sizes. Here we provide the optimal hyperparameters of PMP in Table 5.
|
| 422 |
+
|
| 423 |
+
Table 5: Hyperparameter settings for PMP.
|
| 424 |
+
|
| 425 |
+
|Dataset|_lr_|_wd_|_do_|_bs_|_L_|_d′_|
|
| 426 |
+
|---|---|---|---|---|---|---|
|
| 427 |
+
|Yelp|0.01|0|0|512|1|256|
|
| 428 |
+
|Amazon|0.01|0|0.6|128|1|128|
|
| 429 |
+
|T-Finance|0.01|0|0.4|256|1|64|
|
| 430 |
+
|T-Social|0.001|0|0|217|1|128|
|
| 431 |
+
|
| 432 |
+
## D.5 PARAMETER STUDY
|
| 433 |
+
|
| 434 |
+
We investigate the sensitivity in relation to the key hyperparameters in our model: the number of layers _L_ and the hidden dimension _d[′]_ . For each dataset, we vary _L_ over the range [1 _,_ 2 _,_ 3], and _d[′]_ over [32 _,_ 64 _,_ 128 _,_ 256 _,_ 512]. We employed a grid search methodology to test combinations of hyperparameters. As illustrated in Fig. 6, PMP consistently performs optimally with a single layer, and more layers bring about a continuous decrease in effect. This phenomenon can be attributed to the issue of oversmoothing. We find that all these datasets have a high average degree. Specifically, the average degree of Yelp, Amazon and T-Finance are 167, 740, and 1078, respectively, and we further investigate the number of nodes within the first two hops of neighborhoods. Eliminating duplication, the average number of nodes in the first two-hop neighborhoods across all nodes stands at 1229 for Yelp, 11338 for Amazon, and 24480 for T-Finance. The remarkable density of these benchmark datasets implies that even a two-layer GNN might aggregate an overwhelming quantum of information from the global, thereby obfuscating the essential local features. Additionally, Furthermore, our findings reveal that the optimal value of _d[′]_ varies across datasets. This calls for meticulous tuning to ascertain peak performance. A potential rationale for this sensitivity lies in the substantial variability in the dimensions of input node features across different datasets.
|
| 435 |
+
|
| 436 |
+
## D.6 COMPUTING RESOURCES
|
| 437 |
+
|
| 438 |
+
For all experiments, we use a single NVIDIA A100 GPU with 80GB GPU memory.
|
| 439 |
+
|
| 440 |
+
17
|
| 441 |
+
|
| 442 |
+
**==> picture [386 x 98] intentionally omitted <==**
|
| 443 |
+
|
| 444 |
+
**----- Start of picture text -----**<br>
|
| 445 |
+
97<br>93.27 93.25 93.10 93.97 93.88 97.50 96.75 97.57 97.28 96.37 96 97.07 97.10 96.88 96.93 96.92<br>92 96<br>94<br>90.04 91.99 92.15 92.47 92.97 93.33 94.12 95.27 92.12 94.47 96.26 96.53 95.79 95.14 95.53<br>90 95<br>92<br>88.46 89.24 90.05 90.22 87.26 88 90.46 89.47 91.54 90.73 89.91 94.03 93.53 94.24 94.03 93.97 94<br>90<br>32 64 128 256 512 32 64 128 256 512 32 64 128 256 512<br>d [′] d [′] d [′]<br>(a) Yelp (b) Amazon (c) T-Finance<br>1 1 1<br>L 2 L 2 L 2<br>AUC AUC AUC<br>3 3 3<br>**----- End of picture text -----**<br>
|
| 446 |
+
|
| 447 |
+
Figure 6: Sensitivity study of different hyperparameter combinations.
|
| 448 |
+
|
| 449 |
+
## E MORE EXPERIMENTAL RESULTS
|
| 450 |
+
|
| 451 |
+
## E.1 SEMI-SUPERVISED FRAUD DETECTION ON PUBLIC DATASETS
|
| 452 |
+
|
| 453 |
+
In Table 6 and Table 7, we show the performance of fraud detection under a semi-supervised setting (1% training ratio).
|
| 454 |
+
|
| 455 |
+
Table 6: Experiment Results on Yelp and Amazon (1% training ratio).
|
| 456 |
+
|
| 457 |
+
|Method|Yelp<br>AUC<br>F1-Macro<br>G-Mean|Amazon<br>AUC<br>F1-Macro<br>G-Mean|
|
| 458 |
+
|---|---|---|
|
| 459 |
+
|GCN<br>GAT<br>GraphSAGE|54.06_±_0.72<br>52.48_±_0.50<br>46.53_±_0.98<br>50.95_±_1.39<br>50.27_±_2.31<br>26.83_±_8.94<br>82.59_±_0.26<br>64.21_±_9.12<br>57.09_±_9.56|82.85_±_0.71<br>67.93_±_1.42<br>58.12_±_1.97<br>73.45_±_1.26<br>60.84_±_2.47<br>42.24_±_5.73<br>87.50_±_0.66<br>77.88_±_2.53<br>70.00_±_2.26|
|
| 460 |
+
|GPRGNN<br>FAGCN|54.19_±_2.95<br>46.07_±_1.38<br>8.29_±_2.63<br>70.92_±_0.92<br>46.27_±_0.28<br>5.90_±_3.17|80.77_±_0.31<br>51.14_±_2.38<br>19.93_±_4.69<br>92.07_±_1.51<br>84.82_±_0.73<br>80.13_±_1.25|
|
| 461 |
+
|Care-GNN<br>PC-GNN<br>H2-FDetector<br>BWGNN<br>GHRN<br>GDN<br>**PMP**|73.96_±_0.13<br>61.25_±_0.34<br>63.87_±_0.20<br>75.35_±_0.15<br>55.05_±_0.21<br>68.05_±_0.25<br>74.19_±_0.52<br>57.42_±_0.45<br>67.92_±_0.21<br>79.31_±_0.25<br>66.59_±_0.16<br>66.12_±_0.36<br>76.76_±_0.37<br>64.30_±_0.61<br>61.73_±_1.03<br>72.31_±_0.36<br>58.28_±_2.13<br>53.07_±_1.00<br>**83.94**_±_**0.37**<br>**68.60**_±_**0.76**<br>**72.39**_±_**0.42**|88.30_±_0.60<br>69.24_±_0.27<br>78.17_±_0.26<br>91.73_±_0.52<br>87.58_±_0.20<br>80.35_±_1.68<br>83.26_±_0.17<br>67.60_±_0.31<br>55.25_±_0.36<br>88.37_±_0.77<br>86.50_±_0.59<br>83.35_±_0.46<br>90.27_±_0.30<br>**89.16**_±_0.89<br>83.68_±_2.22<br>86.38_±_0.29<br>76.20_±_0.08<br>83.19_±_0.59<br>**91.82**_±_**0.74**<br>87.72_±_1.15<br>**83.77**_±_**0.66**|
|
| 462 |
+
|
| 463 |
+
Table 7: Experiment Results on T-Finance and T-Social (1% training ratio)
|
| 464 |
+
|
| 465 |
+
|Method|T-Finance<br>AUC<br>F1-Macro<br>G-Mean|T-Social<br>AUC<br>F1-Macro<br>G-Mean|
|
| 466 |
+
|---|---|---|
|
| 467 |
+
|GCN<br>GAT<br>GraphSAGE|74.37_±_0.73<br>57.51_±_1.62<br>72.58_±_0.90<br>83.38_±_0.67<br>67.18_±_0.3<br>59.71_±_0.92<br>92.53_±_0.51<br>85.09_±_0.64<br>82.86_±_1.73|59.61_±_1.37<br>52.34_±_0.31<br>52.35_±_3.93<br>68.55_±_1.46<br>47.03_±_1.27<br>71.26_±_0.86<br>88.89_±_0.77<br>49.24_±_0.83<br>22.76_±_7.66|
|
| 468 |
+
|GPRGNN<br>FAGCN|89.57_±_0.65<br>80.47_±_1.19<br>69.34_±_1.95<br>OOM<br>OOM<br>OOM|74.30_±_2.57<br>49.24_±_0.84<br>2.72_±_1.10<br>OOM<br>OOM<br>OOM|
|
| 469 |
+
|Care-GNN<br>PC-GNN<br>H2-FDetector<br>BWGNN<br>GHRN<br>GDN<br>**PMP**|90.73_±_0.24<br>76.25_±_0.29<br>74.38_±_0.63<br>92.29_±_0.17<br>76.17_±_0.16<br>81.93_±_0.73<br>**94.37**_±_**1.66**<br>83.44_±_2.53<br>79.32_±_2.02<br>89.54_±_5.03<br>85.17_±_2.81<br>78.99_±_5.12<br>89.18_±_2.31<br>73.20_±_1.54<br>70.08_±_1.65<br>93.32_±_0.69<br>87.26_±_1.77<br>83.04_±_1.04<br>93.78_±_0.19<br>**88.89**_±_**0.37**<br>**84.91**_±_**2.57**|68.32_±_1.73<br>53.31_±_1.52<br>63.75_±_0.60<br>84.66_±_1.57<br>49.38_±_0.94<br>57.06_±_2.65<br>OOT<br>OOT<br>OOT<br>86.40_±_14.62<br>77.35_±_12.89<br>72.17_±_16.48<br>87.28_±_0.29<br>65.37_±_0.33<br>57.93_±_0.17<br>87.37_±_0.80<br>56.48_±_2.85<br>29.34_±_3.34<br>**97.14**_±_**0.75**<br>**84.58**_±_**0.30**<br>**83.16**_±_**0.64**|
|
| 470 |
+
|
| 471 |
+
## E.2 EXPERIMENTAL RESULTS ON GRAB
|
| 472 |
+
|
| 473 |
+
In Table 8 and Table 9, we show the fraud detection performance on the Grab dataset under supervised and semi-supervised settings.
|
| 474 |
+
|
| 475 |
+
## E.3 COMPARISON WITH R-GCN
|
| 476 |
+
|
| 477 |
+
As an extension of the comparative analysis presented in Fig. 4, we include R-GCN due to its ability to handle multiple types of relationships within a graph. R-GCN (Schlichtkrull et al., 2018) extends
|
| 478 |
+
|
| 479 |
+
18
|
| 480 |
+
|
| 481 |
+
Table 8: Experiment Results on Grab (40% training ratio)
|
| 482 |
+
|
| 483 |
+
|Method|Grab<br>AUC<br>F1-Macro<br>G-Mean|
|
| 484 |
+
|---|---|
|
| 485 |
+
|Care-GNN<br>PC-GNN<br>H2-FDetector<br>BWGNN<br>GHRN<br>GDN<br>**PMP**|99.58_±_0.01<br>68.87_±_0.21<br>98.31_±_0.03<br>98.97_±_0.02<br>66.32_±_1.15<br>98.08_±_0.14<br>OOT<br>OOT<br>OOT<br>99.79_±_0.03<br>80.63_±_0.47<br>99.32_±_0.01<br>99.71_±_0.01<br>76.65_±_1.46<br>99.11_±_0.01<br>99.73_±_0.04<br>80.83_±_1.47<br>**99.64**_±_**0.02**<br>**99.82**_±_**0.02**<br>**82.42**_±_**0.90**<br>99.63_±_0.08|
|
| 486 |
+
|
| 487 |
+
Table 9: Experiment Results on Grab (1% training ratio)
|
| 488 |
+
|
| 489 |
+
|Method|Grab<br>AUC<br>F1-Macro<br>G-Mean|
|
| 490 |
+
|---|---|
|
| 491 |
+
|Care-GNN<br>PC-GNN<br>H2-FDetector<br>BWGNN<br>BHomo-GHRN<br>GDN<br>**PMP**|99.56_±_0.03<br>71.73_±_0.22<br>98.65_±_0.02<br>96.35_±_0.24<br>71.51_±_2.33<br>98.98_±_0.15<br>OOT<br>OOT<br>OOT<br>98.78_±_0.12<br>**81.53**_±_**0.79**<br>99.40_±_0.02<br>99.53_±_0.02<br>69.78_±_1.07<br>98.42_±_0.26<br>**99.72**_±_**0.02**<br>79.33_±_0.46<br>99.27_±_0.43<br>**99.72**_±_**0.00**<br>79.73_±_0.06<br>**99.54**_±_**0.04**|
|
| 492 |
+
|
| 493 |
+
the GCN model to account for different types of relations in the graph. Fig. 7 illustrates the influence distributions for the multi-relational Yelp and Amazon datasets. It is evident that accounting for multiple relationships results in a rightward (positive) shift in the influence distributions. Despite the relational capabilities of R-GCN, our model demonstrates superior performance on both datasets.
|
| 494 |
+
|
| 495 |
+
**==> picture [360 x 150] intentionally omitted <==**
|
| 496 |
+
|
| 497 |
+
**----- Start of picture text -----**<br>
|
| 498 |
+
600<br>R-GCN R-GCN<br>5000 BWGNNPMP 500 BWGNNPMP<br>4000 400<br>3000 300<br>2000 200<br>1000 100<br>0 0<br>0 50 100 150 200 250 0 200 400 600 800 1000<br>If Ib If Ib<br>(a) Yelp (b) Amazon<br>Number of Nodes Number of Nodes<br>**----- End of picture text -----**<br>
|
| 499 |
+
|
| 500 |
+
Figure 7: Influence distribution.
|
| 501 |
+
|
| 502 |
+
19
|
| 503 |
+
|
open_review/iclr2024_9116.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9116",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Unlocking Anticipatory Text Generation: A Constrained Approach for Faithful Decoding with Large Language Models",
|
| 6 |
+
"abstract": "Large Language Models (LLMs) have demonstrated a powerful ability for text generation. However, achieving optimal results with a given prompt or instruction can be challenging, especially for billion-sized models. Additionally, undesired behaviors such as toxicity or hallucinations can manifest. While much larger models (e.g., ChatGPT) may demonstrate strength in mitigating these issues, there is still no guarantee of complete prevention. In this work, we propose formalizing text generation as a future-constrained generation problem to minimize undesirable behaviors and enforce faithfulness to instructions. The estimation of future constraint satisfaction, accomplished using LLMs, guides the text generation process. Our extensive experiments demonstrate the effectiveness of the proposed approach across three distinct text generation tasks: keyword-constrained generation (Lin et al., 2020), toxicity reduction (Gehman et al., 2020), and factual correctness in question-answering (Gao et al., 2023).",
|
| 7 |
+
"rebuttal": "Dear Reviewer h9Ue,\n\nThe author-reviewer discussion period will end in less than 12 hours. Please let us know if you have any concerns or questions. We would be happy to address them!\n\nDear Reviewer Ht7A,\n\nThe author-reviewer discussion period will end in less than 12 hours. Please let us know if you have any concerns or questions. We would be happy to address them!\n\nDear Reviewer eM49,\n\nThe author-reviewer discussion period will end in less than 12 hours. Please let us know if you have any concerns or questions. We would be happy to address them!\n\nDear Reviewer cGVr,\n\nThe author-reviewer discussion period will end in less than 12 hours. Please let us know if you have any concerns or questions. We would be happy to address them!\n\nWe would like to express our gratitude for your detailed review and feedback.\n\n***“The satisfaction score estimation is currently limited.”***\n\nIn this work, we use a scoring mechanism to identify if a constraint has not been satisfied yet to guide the future generation for LLMs. Our work highlights the demonstrated effectiveness of the current constraint score function. Additionally, the appendix, particularly in Figure 5, presents supplementary results using the score function with binary Yes/No prompts. While acknowledging the potential exploration of other scoring functions, we posit that [...]\n\nWe would like to express our gratitude for your detailed review and feedback. We have updated our submission with more details on experiments, decoding time, human evaluation results, etc.\n\n***“why |SEP| token is added?”***\n\nWhen calculating the future constraint satisfaction score R with the given prefix $y_{<=t}$ , the use of <SEP> is employed to delineate the prefix from the language description constraint C. This separation is crucial; otherwise, the logistic score on the first token of C conditioned on the prefix $y_{<=t}$ lacks meaningful interpretation. Our preliminary experiments ind [...]\n\nWe extend our sincere appreciation for your thorough review and constructive feedback. In response, we have enhanced our submission by including additional details on experiments, decoding time, human evaluation results, and other relevant aspects. Thank you for your valuable insights.\n\n***“Decoding time, tradeoff between time complexity and generated text quality ”***\n\nOur method incurs a linear slowdown of approximately $k$ times, primarily attributable to the overhead associated with computing future satisfaction scores on candidates. A detailed breakdown of decoding times for each example [...]\n\nWe would like to express our gratitude for your detailed review and feedback.\n\n ***“The novelty of the new constraint scoring function”***\n\nIn this work, we use a scoring mechanism to identify if a constraint has not been satisfied yet to guide the future generation for LLMs. Our work highlights the demonstrated effectiveness of the current constraint score function. Additionally, the appendix, particularly in Figure 5, presents supplementary results using the score function with binary Yes/No prompts. While acknowledging the potential exploration of other scoring functions, we posit that tune [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
3,
|
| 11 |
+
3,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.25,
|
| 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": "This paper is concerned with constrained text generation to help mitigate issues such as hallucination and toxicity. It proposes \"future-constrained generation,\" which modifies beam search by adding a likelihood function of both the generated sequence and a future constraint also represented as text. This method is flexible enough to handle a variety of tasks and shows improvements in toxicity reduction and question answering. However, this method is quite computationally expensive as it essentially introduces a call to a language model for each beam and for each timestep in the beam search, causing a slowdown of about 3x on CommonGen and ELI5. After considering the authors' comments, most of the reviewers are in favor of rejecting the paper due to the following concerns:\n\n* Limited novelty: Several reviewers raised concerns about the limited novelty of this work. While the authors properly acknowledge other work on guided generation in the related work section, the reviewers considered the paper to offer mainly incremental contributions.\n* Mixed empirical results: The results do not seem convincing and sometimes fail to improve over the beam search baseline. Given the added complexity and significant slowdown, one would expect more significant improvements.\n* Lack of faithfulness evaluation: There appears to be a gap between the goal of the paper (faithful decoding) and what is being evaluated (correctness metrics). As reviewer eM49 asked, what happens if the response has an",
|
| 22 |
+
"forum_id": "774elYc5tw",
|
| 23 |
+
"primary_area": "generative models",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_cGVr",
|
| 28 |
+
"review_id": "e1ZsZegig6",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1121,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 818792,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_eM49",
|
| 44 |
+
"review_id": "sJnSL4J3f6",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 3,
|
| 47 |
+
"soundness": 2,
|
| 48 |
+
"presentation": 1,
|
| 49 |
+
"contribution": 4,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2649,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 833255,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_Ht7A",
|
| 60 |
+
"review_id": "hKOlPCNdX2",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 1,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3096,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 978871,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_h9Ue",
|
| 76 |
+
"review_id": "XiHDp5C8jd",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 1526,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1081379,
|
| 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_9116.md
ADDED
|
@@ -0,0 +1,573 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## UNLOCKING ANTICIPATORY TEXT GENERATION: A CONSTRAINED APPROACH FOR FAITHFUL DECODING WITH LARGE LANGUAGE MODELS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Large Language Models (LLMs) have demonstrated a powerful ability for text generation. However, achieving optimal results with a given prompt or instruction can be challenging, especially for billion-sized models. Additionally, undesired behaviors such as toxicity or hallucinations can manifest. While much larger models (e.g., ChatGPT) may demonstrate strength in mitigating these issues, there is still no guarantee of complete prevention. In this work, we propose formalizing text generation as a future-constrained generation problem to minimize undesirable behaviors and enforce faithfulness to instructions. The estimation of future constraint satisfaction, accomplished using LLMs, guides the text generation process. Our extensive experiments demonstrate the effectiveness of the proposed approach across three distinct text generation tasks: keyword-constrained generation (Lin et al., 2020), toxicity reduction (Gehman et al., 2020), and factual correctness in question-answering (Gao et al., 2023).
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Large language models (LLMs) exhibit impressive textual understanding and reasoning capabilities as evidenced by various studies (Brown et al., 2020; Kojima et al., 2022; OpenAI, 2022; 2023). Through the process of instruction tuning, where large models are fine-tuned on data comprising diverse tasks with specific instructions, their performance can be notably improved, even for unseen tasks. However, despite their strong abilities in text understanding and generation, undesirable behaviors such as toxicity (Hartvigsen et al., 2022) and hallucination (Ji et al., 2023) still persist. In particular, ensuring that the models’ outputs closely align with provided prompts remains a challenge. Figure 1 provides an illustration of how model-generated texts can deviate significantly from the instructions provided in their prompts, but still remain fluent and relevant.
|
| 14 |
+
|
| 15 |
+
**==> picture [358 x 127] intentionally omitted <==**
|
| 16 |
+
|
| 17 |
+
Figure 1: An illustration of the proposed approach utilizing future constraint satisfaction to guide generation. In this example, although “summer” is a more likely next token, generating it will lead to a lower score in the future constraint, which includes the keyword “snow”. Our method incorporates future constraint satisfaction, making “winter” a more preferable choice.
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
Traditional sampling methods like nucleus sampling (Holtzman et al., 2020), top-k sampling, and temperature sampling, as well as search-based methods like greedy or beam search, typically do not take future costs into account. Lu et al. (2022b) introduced various heuristics to approximate future lexical constraints. We focus on general language constraint situations (Chen et al., 2022; Zhou et al., 2023) three different language constraints for text generation tasks and using the estimation of future satisfaction score to guide generation.
|
| 22 |
+
|
| 23 |
+
Specifically, in order to mitigate undesirable behaviors and ensure faithfulness to instructions, we propose a novel approach for text generation, by formalizing it as a problem constrained by future language generation. A future-constrained satisfaction score is incorporated for guiding the next token generation. This approach serves to steer the generation process close to desired behaviors and follow with the specified instructions. As shown in Figure 1, the future constrain score is used to choose a better next token to complete a sentence.
|
| 24 |
+
|
| 25 |
+
A future-constrained satisfaction score is the distance for current generation to satisfy the constraint goal. However, the estimation of this score can be NP-complete (Chen et al., 2018). Recent investigations by OpenAI (2023); Liu et al. (2023b); Fu et al. (2023) have showcased the promising potential of utilizing large language models for evaluation on various natural language processing tasks. These LLMs evaluate candidate outputs based on their generation probabilities. Building upon this line of research, we propose a method to estimate future constraint satisfaction.
|
| 26 |
+
|
| 27 |
+
With the future constraint satisfaction, we can search the best sequence over the infinite output space. In order to speed up the process, we present a beam-based algorithm meticulously crafted to recursively generate sequences from left to right, remarkably enhancing the efficiency and efficacy of the generation process. The experimental results exhibit desired behaviour improvements in three different tasks: keyword-constrained generation, toxicity reduction, and factual correctness in question answering. It sheds light on the pathway for achieving faithful decoding with large language models through our approach.
|
| 28 |
+
|
| 29 |
+
## 2 METHOD
|
| 30 |
+
|
| 31 |
+
We start by revisiting the generic generation process of an autoregressive language model. Given a prompt, represented as a sequence of tokens _**x**_ , a language model generates an output sequence _**y**_ step-by-step, proceeding from left to right:
|
| 32 |
+
|
| 33 |
+
**==> picture [150 x 31] intentionally omitted <==**
|
| 34 |
+
|
| 35 |
+
Here _p_ ( _yt |_ _**y** <t,_ _**x**_ ) represents the distribution of the next token at position _t_ given the prompt/prefix _**x**_ , and the partial output _**y** <t_ . All sequential tokens are iteratively generated based on this conditional probability distribution.
|
| 36 |
+
|
| 37 |
+
In this work, we are exploring a distinct formulation to ensure that the generated output _**y**_ exhibits specific desired behaviors (e.g., reduced toxicity or inclusion of certain keywords). The conditional sequence probability can be derived as follows:
|
| 38 |
+
|
| 39 |
+
**==> picture [332 x 113] intentionally omitted <==**
|
| 40 |
+
|
| 41 |
+
where _C_ ( _**x**_ ) can be the language description (or verbalization) of the constraint. _C_ ( _**x**_ ) can be as simple as _**x**_ itself, or in more sophisticated forms to represent desired constraints such as reducing toxicity or ensuring alignment with supported evidence. For example, the task of generating a sentence with keyword constraints: “run team field drill”, _C_ ( _**x**_ ) can be verbalized as “This will be
|
| 42 |
+
|
| 43 |
+
2
|
| 44 |
+
|
| 45 |
+
a sentence with these concepts: run team field drill”. It allows for a flexible specification, tailored towards specific objectives or criteria, to guide the generation process to meet the desired tasks or constraints.
|
| 46 |
+
|
| 47 |
+
The term _R_ ( _**y** <_ = _t, C_ ( _**x**_ )) denotes the future constraint satisfaction score, given an output prefix _**y**_ and a constraint _C_ ( _**x**_ ). This score can be estimated with any pretrained language model by assessing the likelihood of generating the desired output based on the given constraint. Moreover, such constraints can be broken down into several sub-constraints, each playing a role in measuring distinct constraints to fulfill the overall satisfaction. By aggregating individual future constraint satisfaction scores, we can derive a more holistic understanding of how well the output adheres to the set constraints.
|
| 48 |
+
|
| 49 |
+
## 2.1 ESTIMATION OF FUTURE CONSTRAINT SATISFACTION
|
| 50 |
+
|
| 51 |
+
In our method, we utilize future constraint satisfaction to provide guidance for text generation while ensuring the decoding efficiency of large language models. In this subsection, we introduce how to estimate the future constraint satisfaction using LLMs.
|
| 52 |
+
|
| 53 |
+
We estimate the future constraint satisfaction score of _C_ ( _**x**_ ) using the log-likelihood of generating the constraint conditioned on the prefix _**y** <_ = _t_ :
|
| 54 |
+
|
| 55 |
+
**==> picture [298 x 25] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
where _<_ SEP _>_ is the special token delimiting the two sequences.
|
| 58 |
+
|
| 59 |
+
Some recent works (Scheurer et al., 2023) also proposed to estimate such scores or rewards in a _p_ ("Yes" _|_ prompt) binary question answering manner. So _R_ ( _**y** <_ = _t, C_ ( _**x**_ )) = log _p_ ("Yes" _|_ prompt)+ _p_ ("No" _|_ prompt)[, where] _p_ ("Yes" _|_ prompt) and _p_ ("No" _|_ prompt) are the probabilities of generating “Yes” and “No” as the subsequent token, based on the prompt, respectively. In section 3, we exemplify how the proposed method can be applied to specific NLP problems.
|
| 60 |
+
|
| 61 |
+
Note that, we rely solely on the likelihood of pretrained language models to estimate the satisfaction in this study. While this offers considerable versatility and flexibility, it might not always yield precise estimations. One can leverage fine-tuning and parameter-efficient techniques like LoRA (Hu et al., 2022) to effectively tailor the estimation process, providing more accurate and flexible assessments of constraint satisfaction. We leave this to future work.
|
| 62 |
+
|
| 63 |
+
## 2.2 INFERENCE
|
| 64 |
+
|
| 65 |
+
Existing decoding methods such as beam search or nucleus sampling (Holtzman et al., 2020) determine which token to generate following a left-to-right manner. Given their inherent constraints, these methods may produce suboptimal outputs. This can be alleviated by proactively accounting for future costs. Specifically, we consider this following decoding objective:
|
| 66 |
+
|
| 67 |
+
**==> picture [289 x 19] intentionally omitted <==**
|
| 68 |
+
|
| 69 |
+
where _Y_ is the set of all sequences and _λ_ is a weight coefficient. _p_ ( _**y** |_ _**x**_ ) denotes the conditional probability distribution by a language model, and _R_ ( _**y** , C_ ( _**x**_ )) is the estimation satisfaction score for constraint _C_ ( _**x**_ ).
|
| 70 |
+
|
| 71 |
+
The above optimization problem is computationally challenging, therefore we utilize the beambased search algorithm to solve it approximately. Considering the current prefix _**y** <t_ , a new token _**y** t_ is predicted at each step, and we select the top _k_ best candidate tokens using the following criterion:
|
| 72 |
+
|
| 73 |
+
**==> picture [308 x 19] intentionally omitted <==**
|
| 74 |
+
|
| 75 |
+
where _Vt_ is candidate output space at position _t_ . We define _Vt_ as the top 2* _k_ candidates[1] in cumulative probability mass _p_ ( _**y** <_ = _t |_ _**x**_ ). Additional tokens may be added to this candidate set. For
|
| 76 |
+
|
| 77 |
+
> 1To encompass more candidates, we do not use nucleus sampling for candidate selection.
|
| 78 |
+
|
| 79 |
+
3
|
| 80 |
+
|
| 81 |
+
example, in keyword-constrained generation tasks, we introduce another token set, _V_ keys, which consists of tokens found in keywords. This ensures that these crucial tokens are considered at each decoding step. We iterate through this process until certain conditions are met, such as encountering an end-of-sequence token or reaching the maximum allowed length, etc.
|
| 82 |
+
|
| 83 |
+
In the end, we choose the candidate that achieves the highest score according to Equation 2 from the top _k_ candidates.
|
| 84 |
+
|
| 85 |
+
## 3 EXPERIMENTS
|
| 86 |
+
|
| 87 |
+
We investigate the performance of the proposed method on three different tasks: keywordconstrained generation, toxicity reduction, and factual correctness in question-answering.
|
| 88 |
+
|
| 89 |
+
## 3.1 KEYWORD-CONSTRAINED GENERATION
|
| 90 |
+
|
| 91 |
+
In our initial task, we focus on lexical-constrained text generation using the CommonGen dataset (Lin et al., 2020). This task involves generating a sentence containing specific given keywords. For instance, given a set of concepts (e.g., car, drive, snow), the objective is to generate a fluent sentence that incorporates these concepts (e.g., ”I drive my car during the winter through the snow”). We evaluate the generated outputs using automatic metrics of fluency (BLEU, CIDER, etc.) and a constraint coverage score. The coverage score is calculated as the average percentage of the provided concepts present in the generated outputs.
|
| 92 |
+
|
| 93 |
+
**Lexical-Constraint Satisfaction Evaluation.** In order to check the estimation quality of future constraint satisfaction using LLMs, we create a ranking benchmark, where each sample consists of a sentence pair ( _**a** ,_ _**b**_ ), with _**a**_ being the sentence with a constraint _C_ and _**b**_ without. Each _**a**_ is derived from the development set of CommonGen, while _**b**_ is a complete sentence generated by ChatGPT given a few prefix words from _**a**_ . We hypothesize that if this completed sentence _**b**_ does not include all the specified concepts, it should be treated as a negative sample compared to _**a**_ .
|
| 94 |
+
|
| 95 |
+
We also investigate a distinct scenario involving a sequence pair (ˆ _**a** ,_ _**b**_[ˆ] ), where both sequences have similar lengths and are incomplete. The sole distinction between them lies in the last word, while they share the same prefix. _**a**_ ˆ and _**b**_[ˆ] have the same prefix, except for the last word. Specifically, _**a**_ ˆ is the prefix of _**a**_ , and _**b**_[ˆ] has the same prefix as _**a**_ ˆ, except for the last word. The last word in _**b**_[ˆ] is a randomly selected word from _**b**_[2] .
|
| 96 |
+
|
| 97 |
+
**==> picture [392 x 138] intentionally omitted <==**
|
| 98 |
+
|
| 99 |
+
**----- Start of picture text -----**<br>
|
| 100 |
+
100 80<br>90<br>60<br>80<br>70<br>40<br>60<br>50 20<br>(a) Ranking accuracy on sentence pairs ( a , b ). (b) Ranking accuracy on prefix pairs (ˆ a , b [ˆ] ).<br>LLaMA-2-7BGPT-2GPT-2 LargeRoBERTa-base-nliDeBERTa-xlarge-mnliAlpaca-7B-InstructBART-large-mnliFalcon-7B-InstructFalcon-7BLLaMA-2-13B-ChatLLaMA-13BLLaMA-7BMPT-7B-InstructLLaMA-2-7B-ChatLLaMA-2-13B LLaMA-2-7BGPT-2 LargeLLaMA-2-7B-ChatGPT-2 LLaMA-7BLLaMA-2-13B-ChatLLaMA-13BAlpaca-7B-InstructLLaMA-2-13BMPT-7B-InstructBART-large-mnliRoBERTa-base-nliFalcon-7BFalcon-7B-InstructDeBERTa-xlarge-mnli<br>**----- End of picture text -----**<br>
|
| 101 |
+
|
| 102 |
+
Figure 2: Accuracy of the estimation of lexical constraint satisfaction with different models. For NLI-based model, non-entailment probability are used for ranking.
|
| 103 |
+
|
| 104 |
+
For each sentence pair ( _**a** ,_ _**b**_ ), we assign a ranking accuracy score of 1 if _R_ ( _**a** , C_ ) _> R_ ( _**b** , C_ ). Otherwise, the ranking accuracy score is 0. Figure 2 shows the ranking accuracies of keyword-
|
| 105 |
+
|
| 106 |
+
> 2Although _**a**_ ˆ and ˆ _**b**_ differ by only one word, it’s important to note that their tokenized sequences may have varying lengths. However, the difference in length is small.
|
| 107 |
+
|
| 108 |
+
4
|
| 109 |
+
|
| 110 |
+
constrained satisfaction estimation using various models[3] . High accuracies over sentence pairs are observed. However, accuracy significantly drops for prefix pairs, suggesting that satisfaction estimation for prefix pairs is considerably more challenging. Fortunately, many open LLMs still manage to achieve over 60% accuracy. Another observation is the high performance achieved by NLI-based models, despite their significantly smaller model sizes.
|
| 111 |
+
|
| 112 |
+
**==> picture [238 x 109] intentionally omitted <==**
|
| 113 |
+
|
| 114 |
+
Figure 3: Performance (y-axis) of Falcon-7B-Instruct in terms of BLEU-4 score and constraint coverage with different _λ_ (x-axis) on the CommonGen development set.
|
| 115 |
+
|
| 116 |
+
**Hyperparameter Selection.** We examine the effect of _λ_ in our proposed method. In Figure 3, we display the constraint coverage of sentences and BLEU-4 scores on the CommonGen development set. _λ_ = 0 corresponds to a decoding method without considering future constraint satisfaction. For _λ_ in the range _λ ∈{_ 1 _,_ 2 _, . . . ,_ 10 _}_ , our proposed method consistently achieves higher coverage scores, indicating a higher percentage of provided concepts present in the generated outputs. However, setting a very large _λ_ can excessively weigh on the constraint satisfaction term and hurt performance.
|
| 117 |
+
|
| 118 |
+
**Results.** With the select hyperparameter _λ_ on the development set, Table 1 presents the results for several selected LLMs. Notably, we observe high-quality outputs from these instruction-tuned models (Falcon-7B-Instruct, LLaMA-2-13B-Chat, Falcon-40B-Instruct). Specifically, the constraint satisfaction coverage scores are significantly higher compared to baseline methods. Remarkably, the results from the 40 billion model (Falcon-40B-Instruct) even surpass those of Text-Davinci-003, an OpenAI model with 175 billion parameters.
|
| 119 |
+
|
| 120 |
+
Table 1: Keyword-constrained generation results on CommonGen test set.
|
| 121 |
+
|
| 122 |
+
||**BLEU-4**|**ROUGE-L**|**CIDER**|**Coverage**|
|
| 123 |
+
|---|---|---|---|---|
|
| 124 |
+
|**Text-Davinci-003**|||||
|
| 125 |
+
||17.6|44.8|11.3|96.1|
|
| 126 |
+
|**Falcon-7B-Instruct**|||||
|
| 127 |
+
|Greedy|13.7|42.3|9.0|88.7|
|
| 128 |
+
|Beam search|14.1|42.5|9.4|87.5|
|
| 129 |
+
|Our|**15.3**|**43.8**|**10.4**|**93.3**|
|
| 130 |
+
|**LLaMA-2-13B-Chat**|||||
|
| 131 |
+
|Greedy|14.8|43.0|8.8|93.6|
|
| 132 |
+
|Beam search|16.2|44.1|9.7|93.8|
|
| 133 |
+
|Our|**17.8**|**44.9**|**10.7**|**95.2**|
|
| 134 |
+
|**Falcon-40B-Instruct**|||||
|
| 135 |
+
|Greedy|14.5|42.8|9.2|88.7|
|
| 136 |
+
|Beam search|17.2|45.3|11.3|89.4|
|
| 137 |
+
|Our|**17.7**|**45.8**|**11.4**|**97.6**|
|
| 138 |
+
|
| 139 |
+
> 3More details about these models are in Section A.1
|
| 140 |
+
|
| 141 |
+
5
|
| 142 |
+
|
| 143 |
+
## 3.2 TOXICITY REDUCTION
|
| 144 |
+
|
| 145 |
+
Next, we consider another task: toxicity reduction (Liu et al., 2021). Given a prompt _**x**_ , the task is to generate a fluent continuation _**y**_ but not with a toxicity attribute. The next token is generated recursively by sampling next token probability distribution provided by LLMs. Following to the setting in Liu et al. (2021), we use the REALTOXICITYPROMPTS benchmark (Gehman et al., 2020), generating up to 20 tokens with nucleus sampling ( _p_ = 0 _._ 9). Following previous work (Gehman et al., 2020), we characterize generation toxicity using the toxicity score from Perspective API. Two toxicity scores are reported: 1) maximum toxicity, defined as the average maximum toxicity over 25 sampled generations, and 2) the (empirical) toxicity probability of at least 1 out of 25 generations being toxic. We also evaluate our generations for fluency, and diversity. **Diversity** is another metric, which is the mean number of distinct n-grams, normalized by the length of text.
|
| 146 |
+
|
| 147 |
+
In our proposed method, we reweight the top _k_ = 50 token logits from LLMs with our future constraint satisfaction score, then truncate the logits that are in the top-k/top-p vocabulary at each position, effectively assigning zero probability to tokens outside the vocabulary. We determine the hyperparameter _λ_ by evaluating its performance on a set of 50 samples.
|
| 148 |
+
|
| 149 |
+
**Toxicity-Constraint Satisfaction Evaluation** To evaluate the quality of toxicity constraint scores from LLMs, we establish our ranking benchmark. Constructing sequence pairs ( _**a** ,_ _**b**_ ) where _**a**_ is less toxic than _**b**_ , we utilize a file containing numerous model outputs and human-evaluated toxicity scores.[4] , provided by the work (Liu et al., 2021).
|
| 150 |
+
|
| 151 |
+
From the given file, we create sequence pairs ( _**a** ,_ _**b**_ ) by employing the same prompt prefix and pairing it with two distinct annotated continuations, each having its own toxicity score. The prefix pair (ˆ _**a** ,_ _**b**_[ˆ] ) is formed using the common prefix and the first word from these two continuations.
|
| 152 |
+
|
| 153 |
+
**==> picture [398 x 225] intentionally omitted <==**
|
| 154 |
+
|
| 155 |
+
**----- Start of picture text -----**<br>
|
| 156 |
+
For a given prompt x , the description of the toxicity constraint we used is C ( x ) =<br>“This will be a rude, disrespectful, or unreasonable comment.”. We assign a ranking accuracy score<br>of 1 if R ( a , C ( x )) > R ( b , C ( x )), otherwise 0. Figure 4 shows the ranking accuracy [5] of various<br>LLMs on the aforementioned toxicity ranking benchmark. Many open LLMs demonstrate an accu-<br>racy surpassing 50%, which represents the performance of random guessing. Particularly, the model<br>Falcon-7B-Instruct exhibits superior performance. However, a few models achieve an accuracy ex-<br>ceeding 60%, indicating potential for improvement in the future.<br>60 65<br>58<br>60<br>56<br>54<br>55<br>52<br>50 50<br>(a) Ranking accuracy on sentence pairs ( a , b ). (b) Ranking accuracy on prefix pairs (ˆ a , b [ˆ] ).<br>MPT-7B-InstructLLaMA-13BMPT-7B-InstructLLaMA-2-13BLLaMA-7BAlpaca-7B-InstructGPT-2 Falcon-7BVicuna-7B-V1.3GPT-2 LargeLLaMA-2-13B-ChatFalcon-7B-Instruct LLaMA-13BMPT-7B-InstructLLaMA-2-13B-ChatGPT-2 GPT-2 LargeLLaMA-2-13BVicuna-7B-V1.3LLaMA-7BMPT-7B-InstructAlpaca-7B-InstructFalcon-7BFalcon-7B-Instruct<br>**----- End of picture text -----**<br>
|
| 157 |
+
|
| 158 |
+
Figure 4: Accuracy of the estimation of constraint satisfaction with different models.
|
| 159 |
+
|
| 160 |
+
**Results.** Table 2 presents the toxicity reduction on two different LLMs (Falcon-7B-Instruct and Alpaca-7B-Instruct), which also have a minor decrease on diversity. We do not include LLaMA-213B-Chat because we notice that it is a low toxicity mode as shown in Touvron (2023)[6] .
|
| 161 |
+
|
| 162 |
+
> 4The file can be accessed at [URL removed] human_eval/toxicity/human_eval_toxicity.csv.
|
| 163 |
+
|
| 164 |
+
> 5We observe that certain pairs have nearly identical toxicity constraint scores, and we did not categorize them as incorrect.
|
| 165 |
+
|
| 166 |
+
> 6We also conducted tests and discovered that the average maximum toxicity score is approximately 0.135, while the average toxicity probability is close to 0.01.
|
| 167 |
+
|
| 168 |
+
6
|
| 169 |
+
|
| 170 |
+
Table 2: Toxicity reduction results on 1k prompts.
|
| 171 |
+
|
| 172 |
+
||**Toxicity (**_↓_**)**|**Toxicity (**_↓_**)**|**Diversity**|**Diversity**|**(**_↑_**)**|
|
| 173 |
+
|---|---|---|---|---|---|
|
| 174 |
+
||Avg. Max|Prob.|Dist-1|Dist-2|Dist-3|
|
| 175 |
+
|**Falcon-7B-Instruct**||||||
|
| 176 |
+
|Baseline|0.371|0.215|0.549|0.839|0.843|
|
| 177 |
+
|Our|0.287|0.125|0.583|0.782|0.762|
|
| 178 |
+
|**Alpaca-7B-Instruct**||||||
|
| 179 |
+
|Baseline|0.272|0.140|0.471|0.714|0.745|
|
| 180 |
+
|Our|0.235|0.108|0.471|0.584|0.574|
|
| 181 |
+
|
| 182 |
+
## 3.3 FACTUAL QUESTION ANSWERING
|
| 183 |
+
|
| 184 |
+
Hallucination is a notable issue associated with large language models, despite their ability to generate coherent and fluent output. Providing accurate answers supported by concrete evidence is crucial, and mitigating hallucination is key to achieving this goal.
|
| 185 |
+
|
| 186 |
+
We use the dateset ALCE (Gao et al., 2023) as factual question answering This benchmark provides a set of retrieved passages, denoted as _D_ = _{D_ 1 _, D_ 2 _, . . . }_ , for each question _q_ . Additionally, the dataset offers **correctness** evaluation through multiple short answers in ASQA (Stelmakh et al., 2022) and three “sub-claims” for ELI5 (Fan et al., 2019).
|
| 187 |
+
|
| 188 |
+
In ASQA, **correctness** is determined by calculating the recall of correct short answers. This is achieved by verifying whether the short answers provided by the dataset are exact substrings of the generated response. On the other hand, for the long-form QA task ELI5, correctness is measured by the ratio of model outputs that entail the three provided ”sub-claims”.
|
| 189 |
+
|
| 190 |
+
We evaluate 2-shot on the above dataset, and three retrieved documents are used each question. In the future satisfaction score term _R_ ( _**y** <_ = _i, C_ ( _**x**_ )), _C_ ( _**x**_ ) can be the retrieved document or sub-claims. We determine the hyperparameter _λ_ by evaluating its performance on a set of a few samples.
|
| 191 |
+
|
| 192 |
+
**Baselines.** We compare our proposed method with two different deterministic search-based methods: greedy decoding and beam search with beam size = 5. While nucleus sampling is a widely adopted technique for open-ended text generation, it operates as a sampling method. However, in our initial experiments, we did not observe a significant improvement in performance compared to the deterministic approach of greedy decoding.
|
| 193 |
+
|
| 194 |
+
**Factual-Correctness-Constraint Satisfaction Evaluation.** We constructed our factual correctness ranking benchmark using the fact verification part of TRUE (Honovich et al., 2022). Specifically, we focused on FEVER (Thorne et al., 2018) and VitaminC (Schuster et al., 2021) within the TRUE dataset. In the training set of FEVER and VitaminC, for each evidence (as _C_ ), we choose one claim denoted as _**a**_ that was supported by the evidence, and another claim that was not supported by the evidence, denoted as _**b**_ . This formed pairs of sentences: ( _**a** ,_ _**b**_ ).
|
| 195 |
+
|
| 196 |
+
For each evidence, if the factual constraint estimation score is higher for the supported claim compared to the unsupported claim with respect to the evidence, we assign an accuracy score of 1. Otherwise, if _R_ ( _**a** ,_ evidence) _≤ R_ ( _**b** ,_ evidence), the accuracy score is 0. Table 4 displays the accuracies on our constructed factual correctness ranking benchmark. We can see that several open LLMs achieve more than 60% accuracy[7] .
|
| 197 |
+
|
| 198 |
+
**Results.** We consider samples for which the retrieved documents support the answers[8] . This selective approach helps mitigate the noise effect in the data, ensuring a more accurate assessment of the correctness. Table 3 shows the results on question answer tasks. In general, we observe that beam search tends to perform comparably to greedy decoding on factual correctness. Our proposed
|
| 199 |
+
|
| 200 |
+
> 7We noticed an usual trend in the performance of the llama-1 family model. Interestingly, we found that their performance on the Fever ranking part worsened with an increase in model size.
|
| 201 |
+
|
| 202 |
+
> 8More evaluation results are in Table 8 of the Appendix
|
| 203 |
+
|
| 204 |
+
7
|
| 205 |
+
|
| 206 |
+
method demonstrates a significant enhancement in factual correctness compared to the baselines for both tasks. .
|
| 207 |
+
|
| 208 |
+
Table 3: Question answering results on ASQA and ELI5.
|
| 209 |
+
|
| 210 |
+
||**ASQA**|**ELI5**|
|
| 211 |
+
|---|---|---|
|
| 212 |
+
||**Correct.**|**Correct.**|
|
| 213 |
+
|**Text-Davinci-003**|||
|
| 214 |
+
|Greedy|60.1|56.1|
|
| 215 |
+
|**ChatGPT**<br>Greedy|70.3|64.9|
|
| 216 |
+
|**Falcon-7B-Instruct**<br>Greedy<br>22.7<br>Beam search<br>23.7||29.8<br>30.4|
|
| 217 |
+
|Our|**24.4**|**32.7**|
|
| 218 |
+
|**Vicuna-13B-v1.3**|||
|
| 219 |
+
|Greedy<br>Beam search|13.5<br>11.9|21.1<br>22.2|
|
| 220 |
+
|Our|**14.5**|**26.3**|
|
| 221 |
+
|**LLaMA-2-13B-Chat**|||
|
| 222 |
+
|Greedy|20.9|47.9|
|
| 223 |
+
|Beam search|23.1|49.2|
|
| 224 |
+
|Our|**24.6**|**50.3**|
|
| 225 |
+
|
| 226 |
+
**==> picture [199 x 123] intentionally omitted <==**
|
| 227 |
+
|
| 228 |
+
**----- Start of picture text -----**<br>
|
| 229 |
+
70<br>65<br>60<br>55<br>50<br>LLaMA-30BLLaMA-13BVicuna-13B-v1.3Vicuna-7B-v1.3LLaMA-7BLlama-2-13b-ChatAlpaca-7B-InstructFalcon-7BLlama-2-13BFalcon-7B-Instruct<br>**----- End of picture text -----**<br>
|
| 230 |
+
|
| 231 |
+
Table 4: Factual correctness ranking accuracy of different LLMs.
|
| 232 |
+
|
| 233 |
+
Table 5: Effect of different constraints.
|
| 234 |
+
|
| 235 |
+
||**Correct.**|**ROUGE-L**|
|
| 236 |
+
|---|---|---|
|
| 237 |
+
|**Vicuna-13B-v1.3**|||
|
| 238 |
+
|Documents|26.3|17.7|
|
| 239 |
+
|Claims|41.5|21.4|
|
| 240 |
+
|**LLaMA-2-13B-Chat**|||
|
| 241 |
+
|Documents|50.3|23.8|
|
| 242 |
+
|Claims|48.5|21.8|
|
| 243 |
+
|
| 244 |
+
**Results Using Claims as Constraints.** In Table 3, we present the results for the case where the constraint _C_ ( _**x**_ ) corresponds to the retrieved documents. Furthermore, Table 5 displays the results when the constraint is ”sub-claims.” Our proposed method exhibits improvements in both scenarios, particularly for Vicuna-13B-v1.3.
|
| 245 |
+
|
| 246 |
+
**Results on the Entire ELI5 Dataset.** Table 8 displays results for the full ELI5 dataset. It is evident that the absence of high-quality supported documents leads to a substantial decrease in the average performance of all models. This underscores the critical role of accurate and credible supporting documents in achieving good performance in question-answering tasks.
|
| 247 |
+
|
| 248 |
+
## 4 ANALYSIS
|
| 249 |
+
|
| 250 |
+
**Speed** We test the wall-clock running time of greedy decoding, our method, and the standard beam search. We follow the same configuration. The result is shown in Table 6. Our method is nearly _k_ times linear slowdown due to all the overhead of computing 2* _k_ candidates in Equation 3.
|
| 251 |
+
|
| 252 |
+
It is reasonable that decoding time is increased in order to do a expect faithful generation. And there are several ways to decrease the time and keep generation quality: choose small _k_ , choose smaller size but tuned LLMs that can compute the future constraint satisfaction score _R_ ( _**y** <_ = _t, C_ ( _**x**_ )) etc.
|
| 253 |
+
|
| 254 |
+
Table 6: Speed comparison: the decoding time used for each example in two tasks, CommonGen and ELI5.
|
| 255 |
+
|
| 256 |
+
Table 7: Human Evaluation.
|
| 257 |
+
|
| 258 |
+
|Table 6: Speed comparison: the decod-<br>ing time used for each example in two<br>tasks, CommonGen and ELI5.|Table 7: Human Evaluation.|
|
| 259 |
+
|---|---|
|
| 260 |
+
|**CommonGen**<br>**ELI5**<br>Greedy<br>1.0s<br>10.2s<br>Beam search<br>1.5s<br>22.1s<br>Our<br>4.8s<br>63.2s|**Fluency**(_↑_)<br>**Informative**(_↑_)<br>**Correctness**(_↑_)|
|
| 261 |
+
||Greedy<br>3.6<br>3.8<br>63.7<br>Beam Search<br>3.8<br>4.0<br>67.0<br>Our<br>4.0<br>4.1<br>70.0|
|
| 262 |
+
|||
|
| 263 |
+
|
| 264 |
+
8
|
| 265 |
+
|
| 266 |
+
**Human Evaluation** To verify the effects of different decoding methods, we conducted human evaluation on the challenging long-form QA task ELI5 (which usually requires long answers and multiple passages as evidence). We randomly chose 30 questions and requested workers from Amazon Mechanical Turk (AMT) to judge model responses on three dimensions[9] : 1. Fluency: a 1-to-5 score indicating whether the generation is fluent and cohesive; 2. Informative: a 1-to-5 score indicating whether the generation helps answer the question; 3. Correctness: a 0-to-3 score indicating the number of claims is fully supported by the response. Later, this score is normalized as a ratio of correctness. Figure 6 shows one example of human evaluation. Table 7 confirms the strength of our proposed decoding method, which received better scores in all dimensions, especially on correctness.
|
| 267 |
+
|
| 268 |
+
## 5 RELATED WORK
|
| 269 |
+
|
| 270 |
+
Previously, there are several work like CTRL (Keskar et al., 2019), PPLM (Dathathri et al., 2020), Gedi (Krause et al., 2021), FUDGE (Yang & Klein, 2021) on controllable generation. They use additional code or attributes for controllable generation. One tuned classifier or auxiliary model is used to modify the output distribution. The type of control is limit (a label or a category of the sequence). In this work, the constraints are verbalized in natural language. Any natural language constraint can be suitable for our method. The knowledge or understanding of powerful LLMs is used to guide the constrained text generation. Another related approach in constrained generation involves refinement with LLMs after each completion (Welleck et al., 2023; Madaan et al., 2023). This refinement or correction model iteratively editing the generated text. Multiple generations are often required, particularly for long-form question-answering tasks, such as ELI5 (Fan et al., 2019). Another direction in constrained decoding (Ziegler et al., 2020; Lu et al., 2022a) is related to reinforcement learning (RL). The generator model parameters need to be updated in this approach. Extra training is conducted involving both the generator and a reward model.
|
| 271 |
+
|
| 272 |
+
Our work is inspired by A* algoirhtm (Hart et al., 1968), a search algorithm that seeks the highestscoring path by utilizing heuristic estimations of future scores toward the goal. Recently, Lu et al. (2022b); Madaan et al. (2023) develop several heuristics to estimate look-ahead scores. In contrast to our work, they estimate lexical constraint scores using fixed-size look-ahead steps in lexical constrained tasks. In the work of FUDGE Yang & Klein (2021), an auxiliary binary classifier is trained with random input sequence truncation. Recently, Choi et al. (2023) learned a token-level discriminator for knowledge-grounded dialogue and abstractive summarization. In our work, a future constraint satisfaction score is estimated with verbalized constraints and LLMs.
|
| 273 |
+
|
| 274 |
+
## 6 FUTURE WORK AND CONCLUSION
|
| 275 |
+
|
| 276 |
+
In this work, we delved into decoding methods for LLMs to mitigate undesired behaviors through a constrained approach. Unlike previous techniques such as greedy decoding, nucleus sampling, or beam search, which focus on the past generation, we advocate for considering future constraint satisfaction during text generation. We propose a formalized approach to text generation that integrates future constraint satisfaction, enabling better control over the output.
|
| 277 |
+
|
| 278 |
+
To quantify the future constraint satisfaction, we introduce a scoring mechanism evaluated by LLMs. By benchmarking LLMs using these constraint signals, we observed a distinct and discernible trend associated with this scoring signal. Exploring various signals and enhancing their effectiveness, such as refining constraint score evaluation through tuning, is a promising avenue for future research. Improvements in signal quality and understanding how these signals impact the generation process can lead to more robust and controlled text generation systems. This forward-looking approach can contribute to advancing the field and achieving better adherence to desired constraints in generated text.
|
| 279 |
+
|
| 280 |
+
## REFERENCES
|
| 281 |
+
|
| 282 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agar-
|
| 283 |
+
|
| 284 |
+
> 9Inspired by previous human evaluation work (Liu et al., 2023a; Gao et al., 2023)
|
| 285 |
+
|
| 286 |
+
9
|
| 287 |
+
|
| 288 |
+
wal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), _Advances in Neural Information Processing Systems_ , volume 33, pp. 1877–1901. Curran Associates, Inc., 2020. URL [URL removed] file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf.
|
| 289 |
+
|
| 290 |
+
- Howard Chen, Huihan Li, Danqi Chen, and Karthik Narasimhan. Controllable text generation with language constraints. _ArXiv_ , abs/2212.10466, 2022. URL [URL removed] semanticscholar.org/CorpusID:254877584.
|
| 291 |
+
|
| 292 |
+
- Yining Chen, Sorcha Gilroy, Andreas Maletti, Jonathan May, and Kevin Knight. Recurrent neural networks as weighted language recognizers. 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. 2261–2271, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-1205. URL https: //aclanthology.org/N18-1205.
|
| 293 |
+
|
| 294 |
+
- Sehyun Choi, Tianqing Fang, Zhaowei Wang, and Yangqiu Song. Kcts: Knowledge-constrained tree search decoding with token-level hallucination detection, 2023.
|
| 295 |
+
|
| 296 |
+
- Sumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung, Eric Frank, Piero Molino, Jason Yosinski, and Rosanne Liu. Plug and play language models: A simple approach to controlled text generation. In _International Conference on Learning Representations_ , 2020. URL [URL removed]
|
| 297 |
+
|
| 298 |
+
- Angela Fan, Yacine Jernite, Ethan Perez, David Grangier, Jason Weston, and Michael Auli. ELI5: Long form question answering. In _Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics_ , pp. 3558–3567, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1346. URL [URL removed] P19-1346.
|
| 299 |
+
|
| 300 |
+
Jinlan Fu, See-Kiong Ng, Zhengbao Jiang, and Pengfei Liu. Gptscore: Evaluate as you desire, 2023.
|
| 301 |
+
|
| 302 |
+
Tianyu Gao, Howard Yen, Jiatong Yu, and Danqi Chen. Enabling large language models to generate text with citations, 2023.
|
| 303 |
+
|
| 304 |
+
- Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. RealToxicityPrompts: Evaluating neural toxic degeneration in language models. In _Findings of the Association for Computational Linguistics: EMNLP 2020_ , pp. 3356–3369, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.findings-emnlp.301. URL [URL removed]
|
| 305 |
+
|
| 306 |
+
- Peter E. Hart, Nils J. Nilsson, and Bertram Raphael. A formal basis for the heuristic determination of minimum cost paths. _IEEE Transactions on Systems Science and Cybernetics_ , 4(2):100–107, 1968. doi: 10.1109/TSSC.1968.300136.
|
| 307 |
+
|
| 308 |
+
- Thomas Hartvigsen, Saadia Gabriel, Hamid Palangi, Maarten Sap, Dipankar Ray, and Ece Kamar. ToxiGen: A large-scale machine-generated dataset for adversarial and implicit hate speech detection. In _Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)_ , pp. 3309–3326, Dublin, Ireland, May 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.acl-long.234. URL [URL removed] org/2022.acl-long.234.
|
| 309 |
+
|
| 310 |
+
- Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. In _International Conference on Learning Representations_ , 2021. URL [URL removed]
|
| 311 |
+
|
| 312 |
+
- Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In _International Conference on Learning Representations_ , 2020. URL https: //openreview.net/forum?id=rygGQyrFvH.
|
| 313 |
+
|
| 314 |
+
10
|
| 315 |
+
|
| 316 |
+
- Or Honovich, Roee Aharoni, Jonathan Herzig, Hagai Taitelbaum, Doron Kukliansy, Vered Cohen, Thomas Scialom, Idan Szpektor, Avinatan Hassidim, and Yossi Matias. TRUE: Re-evaluating factual consistency evaluation. In _Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies_ , pp. 3905–3920, Seattle, United States, July 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.naacl-main.287. URL [URL removed] naacl-main.287.
|
| 317 |
+
|
| 318 |
+
- Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In _International Conference on Learning Representations_ , 2022. URL [URL removed] id=nZeVKeeFYf9.
|
| 319 |
+
|
| 320 |
+
- Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. Survey of hallucination in natural language generation. _ACM Computing Surveys_ , 55(12):1–38, 2023.
|
| 321 |
+
|
| 322 |
+
- Nitish Shirish Keskar, Bryan McCann, Lav Varshney, Caiming Xiong, and Richard Socher. CTRL - A Conditional Transformer Language Model for Controllable Generation. _arXiv preprint arXiv:1909.05858_ , 2019.
|
| 323 |
+
|
| 324 |
+
- Takeshi Kojima, Shixiang (Shane) Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. In _Advances in Neural Information Processing Systems_ , volume 35, pp. 22199–22213, 2022.
|
| 325 |
+
|
| 326 |
+
- Ben Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar, Shafiq Joty, Richard Socher, and Nazneen Fatema Rajani. GeDi: Generative discriminator guided sequence generation. In _Findings of the Association for Computational Linguistics: EMNLP 2021_ , pp. 4929–4952, Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.findings-emnlp.424. URL [URL removed] findings-emnlp.424.
|
| 327 |
+
|
| 328 |
+
- Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pretraining for natural language generation, translation, and comprehension. In Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault (eds.), _Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics_ , pp. 7871–7880, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.703. URL https: //aclanthology.org/2020.acl-main.703.
|
| 329 |
+
|
| 330 |
+
- Bill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou, Chandra Bhagavatula, Yejin Choi, and Xiang Ren. Commongen: A constrained text generation challenge for generative commonsense reasoning. _Findings of EMNLP_ , 2020.
|
| 331 |
+
|
| 332 |
+
- Alisa Liu, Maarten Sap, Ximing Lu, Swabha Swayamdipta, Chandra Bhagavatula, Noah A. Smith, and Yejin Choi. DExperts: Decoding-time controlled text generation with experts and antiexperts. In _Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)_ , pp. 6691–6706, Online, August 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.acl-long.522. URL [URL removed] acl-long.522.
|
| 333 |
+
|
| 334 |
+
- Nelson F. Liu, Tianyi Zhang, and Percy Liang. Evaluating verifiability in generative search engines, 2023a. arXiv:2304.09848.
|
| 335 |
+
|
| 336 |
+
- Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, and Chenguang Zhu. G-eval: Nlg evaluation using gpt-4 with better human alignment, 2023b.
|
| 337 |
+
|
| 338 |
+
- Ximing Lu, Sean Welleck, Jack Hessel, Liwei Jiang, Lianhui Qin, Peter West, Prithviraj Ammanabrolu, and Yejin Choi. QUARK: Controllable text generation with reinforced unlearning. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), _Advances in Neural Information Processing Systems_ , 2022a. URL [URL removed] 5HaIds3ux5O.
|
| 339 |
+
|
| 340 |
+
11
|
| 341 |
+
|
| 342 |
+
- Ximing Lu, Sean Welleck, Peter West, Liwei Jiang, Jungo Kasai, Daniel Khashabi, Ronan Le Bras, Lianhui Qin, Youngjae Yu, Rowan Zellers, Noah A. Smith, and Yejin Choi. NeuroLogic a*esque decoding: Constrained text generation with lookahead heuristics. In _Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies_ , pp. 780–799, Seattle, United States, July 2022b. Association for Computational Linguistics. doi: 10.18653/v1/2022.naacl-main.57. URL https: //aclanthology.org/2022.naacl-main.57.
|
| 343 |
+
|
| 344 |
+
- Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Sean Welleck, Bodhisattwa Prasad Majumder, Shashank Gupta, Amir Yazdanbakhsh, and Peter Clark. Self-refine: Iterative refinement with self-feedback, 2023.
|
| 345 |
+
|
| 346 |
+
## OpenAI. Introducing chatgpt, 2022.
|
| 347 |
+
|
| 348 |
+
## OpenAI. Gpt-4 technical report, 2023.
|
| 349 |
+
|
| 350 |
+
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (eds.), _Advances in Neural Information Processing Systems_ , volume 35, pp. 27730–27744. Curran Associates, Inc., 2022. URL [URL removed] file/b1efde53be364a73914f58805a001731-Paper-Conference.pdf.
|
| 351 |
+
|
| 352 |
+
- Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019.
|
| 353 |
+
|
| 354 |
+
- Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bertnetworks. In _Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing_ . Association for Computational Linguistics, 11 2019. URL [URL removed] org/abs/1908.10084.
|
| 355 |
+
|
| 356 |
+
- J´er´emy Scheurer, Jon Ander Campos, Tomasz Korbak, Jun Shern Chan, Angelica Chen, Kyunghyun Cho, and Ethan Perez. Training language models with language feedback at scale, 2023.
|
| 357 |
+
|
| 358 |
+
- Tal Schuster, Adam Fisch, and Regina Barzilay. Get your vitamin C! robust fact verification with contrastive evidence. In _Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies_ , pp. 624–643, Online, June 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.naacl-main.52. URL [URL removed]
|
| 359 |
+
|
| 360 |
+
- Ivan Stelmakh, Yi Luan, Bhuwan Dhingra, and Ming-Wei Chang. ASQA: Factoid questions meet long-form answers. In _Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing_ , pp. 8273–8288, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.emnlp-main.566. URL [URL removed]
|
| 361 |
+
|
| 362 |
+
- 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.
|
| 363 |
+
|
| 364 |
+
- MosaicML NLP Team. Introducing mpt-7b: A new standard for open-source, commercially usable llms, 2023. URL [URL removed] Accessed: 2023-05-05.
|
| 365 |
+
|
| 366 |
+
- James Thorne, Andreas Vlachos, Oana Cocarascu, Christos Christodoulopoulos, and Arpit Mittal. The fact extraction and VERification (FEVER) shared task. In _Proceedings of the First Workshop on Fact Extraction and VERification (FEVER)_ , pp. 1–9, Brussels, Belgium, November 2018. Association for Computational Linguistics. doi: 10.18653/v1/W18-5501. URL [URL removed]
|
| 367 |
+
|
| 368 |
+
12
|
| 369 |
+
|
| 370 |
+
- 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. URL [URL removed] cite arxiv:2302.13971.
|
| 371 |
+
|
| 372 |
+
- Hugo Touvron, Louis Martin, Kevin R. Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Daniel M. Bikel, Lukas Blecher, Cristian Cant´on Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony S. Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel M. Kloumann, A. V. Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, 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, R. Subramanian, Xia Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zhengxu 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. _ArXiv_ , abs/2307.09288, 2023b. URL [URL removed] CorpusID:259950998.
|
| 373 |
+
|
| 374 |
+
- Hugo .etc Touvron. Llama 2: Open Foundation and Fine-Tuned Chat Models. _arXiv e-prints_ , art. arXiv:2307.09288, July 2023. doi: 10.48550/arXiv.2307.09288.
|
| 375 |
+
|
| 376 |
+
- Sean Welleck, Ximing Lu, Peter West, Faeze Brahman, Tianxiao Shen, Daniel Khashabi, and Yejin Choi. Generating sequences by learning to self-correct. In _The Eleventh International Conference on Learning Representations_ , 2023. URL [URL removed] hH36JeQZDaO.
|
| 377 |
+
|
| 378 |
+
- Kevin Yang and Dan Klein. Fudge: Controlled text generation with future discriminators. In _Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies_ . Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.naacl-main.276. URL [URL removed] v1/2021.naacl-main.276.
|
| 379 |
+
|
| 380 |
+
- Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric. P Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena, 2023.
|
| 381 |
+
|
| 382 |
+
- Wangchunshu Zhou, Yuchen Eleanor Jiang, Ethan Wilcox, Ryan Cotterell, and Mrinmaya Sachan. Controlled text generation with natural language instructions. 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. 42602–42613. PMLR, 23–29 Jul 2023. URL https: //proceedings.mlr.press/v202/zhou23g.html.
|
| 383 |
+
|
| 384 |
+
- Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences, 2020.
|
| 385 |
+
|
| 386 |
+
13
|
| 387 |
+
|
| 388 |
+
## A APPENDIX
|
| 389 |
+
|
| 390 |
+
## A.1 LLMS
|
| 391 |
+
|
| 392 |
+
Following are the models that are used in our experiments.
|
| 393 |
+
|
| 394 |
+
- Ouyang et al. (2022): Text-Davinci-003
|
| 395 |
+
|
| 396 |
+
- Team (2023): MPT-7B, MPT-7B-Instruct
|
| 397 |
+
|
| 398 |
+
- Taori et al. (2023) :Alpaca-7B-Instruct
|
| 399 |
+
|
| 400 |
+
- Radford et al. (2019): GPT-2, GPT-2 Large
|
| 401 |
+
|
| 402 |
+
- Touvron et al. (2023a): LLaMA-7,13,30B
|
| 403 |
+
|
| 404 |
+
- Touvron et al. (2023b): LLaMA-2-7B, LLaMA-2-7B-Chat, LLaMA-2-13B, LLaMA-2-
|
| 405 |
+
|
| 406 |
+
- 13B-Chat
|
| 407 |
+
|
| 408 |
+
- Zheng et al. (2023): Vicuna-7B-V1.3, Vicuna-13B-V1.3
|
| 409 |
+
|
| 410 |
+
- Reimers & Gurevych (2019): RoBERTa-base-nli
|
| 411 |
+
|
| 412 |
+
- Lewis et al. (2020): BART-large-mnli
|
| 413 |
+
|
| 414 |
+
- He et al. (2021): DeBERTa-xlarge-mnli
|
| 415 |
+
|
| 416 |
+
- A.2 HYPER-PARAMETER
|
| 417 |
+
|
| 418 |
+
In our beam-based search algorithm, we employ a beam size denoted by _k_ . For the keywordconstrained generation task, we strive to use a larger beam size, specifically setting _k_ = 20. However, due to memory limitations, for the Falcon-40B-Instruct model, we reduce the beam size to 5. 8 A100 40G GPUs are used for Falcon-40B-Instruct model.
|
| 419 |
+
|
| 420 |
+
For toxicity reduction task, _k_ = 50 is used to reweight the top 50 tokens.
|
| 421 |
+
|
| 422 |
+
In the question answering task, we utilized 4 A100 GPUs. The beam size was set to _k_ = 5 due to the demands of generating long context sequences.
|
| 423 |
+
|
| 424 |
+
## A.3 MORE RESULTS ON CONSTRAINT SCORING FUNCTION
|
| 425 |
+
|
| 426 |
+
**Factual Correctness with a binary Yes/NO question** Given claim a and the evidence g, we use the following template:
|
| 427 |
+
|
| 428 |
+
Claim: _{_ a _}_
|
| 429 |
+
|
| 430 |
+
Document: _{_ g _}_
|
| 431 |
+
|
| 432 |
+
Question: Is the above claim supported by the above document? Answer with Yes or No.
|
| 433 |
+
|
| 434 |
+
Answer:
|
| 435 |
+
|
| 436 |
+
The next token probabilities of “Yes” and “No” of the above prompt are used to estimate the future constraint satisfaction score.
|
| 437 |
+
|
| 438 |
+
Figure 5 shows ranking performance with the above binary Yes/No question.
|
| 439 |
+
|
| 440 |
+
## A.4 HUMAN EVALUATION DETAILS
|
| 441 |
+
|
| 442 |
+
Figure 6 presents one example in human evaluation experiment.
|
| 443 |
+
|
| 444 |
+
## A.5 QUALITATIVE EXAMPLES
|
| 445 |
+
|
| 446 |
+
14
|
| 447 |
+
|
| 448 |
+
**==> picture [238 x 148] intentionally omitted <==**
|
| 449 |
+
|
| 450 |
+
**----- Start of picture text -----**<br>
|
| 451 |
+
100<br>75<br>50<br>25<br>0<br>LLaMA-30BLLaMA-7BLLaMA-13BAlpaca-7B-InstructLLaMA-2-13BFalcon-7BFalcon-7B-InstructVicuna-7B-v1.3Vicuna-13B-v1.3LLaMA-2-13B-Chat<br>**----- End of picture text -----**<br>
|
| 452 |
+
|
| 453 |
+
Figure 5: Factual correctness accuracy with a binary question.
|
| 454 |
+
|
| 455 |
+
Table 8: QA results on full ELI5 test set of ALCE.
|
| 456 |
+
|
| 457 |
+
||**Correct.**|**ROUGE-L**|
|
| 458 |
+
|---|---|---|
|
| 459 |
+
|**Text-Davinci-003**|||
|
| 460 |
+
|Greedy|21.8|22.3|
|
| 461 |
+
|**ChatGPT**|||
|
| 462 |
+
|Greedy|21.1|21.2|
|
| 463 |
+
|**Vicuna-13B-v1.3**|||
|
| 464 |
+
|Beam search|10.0|16.2|
|
| 465 |
+
|Our|**16.2**|**20.2**|
|
| 466 |
+
|**LLaMA-2-13B-Chat**|||
|
| 467 |
+
|Beam search|**17.9**|20.5|
|
| 468 |
+
|Our|19.4|**21.4**|
|
| 469 |
+
|
| 470 |
+
15
|
| 471 |
+
|
| 472 |
+
Table 9: Generated examples from CommonGen given different concepts with LLaMA-2-13B-Chat. We show outputs from greedy decoding, beam search and our method.
|
| 473 |
+
|
| 474 |
+
|Concepts: **mower push lawn mow**|Concepts: **mower push lawn mow**|
|
| 475 |
+
|---|---|
|
| 476 |
+
|Greedy|The homeowner pushed the lawnmower across the grass, cutting the blades of grass|
|
| 477 |
+
||with each pass as she mowed the law.|
|
| 478 |
+
|Beam Search|To keep the lawn looking its best, I push the mower around the yard to cut the grass.|
|
| 479 |
+
|Our|Shepushed the mower across the lawn to mow thegrass.|
|
| 480 |
+
|Concepts: **word**|**spray paint wall**|
|
| 481 |
+
|Greedy|The vandal used a can of spray pain to deface the wall with his graffti.|
|
| 482 |
+
|Beam Search|The graffti artist sprayed a colorful word on the wall.|
|
| 483 |
+
|Our|She used a word spraytopaint the wall.|
|
| 484 |
+
|Concepts: **sharpener sharpen drill pencil**||
|
| 485 |
+
|Greedy|The pencildrill’s sharpener sharsen the pencils. Question: Write a sentencwith these|
|
| 486 |
+
||words :sandpaper sand smooth. Answer:The carpenter used sandpaper to smooth|
|
| 487 |
+
|Beam Search|The sharpener helps to sharper the drill, which is used to pencils.|
|
| 488 |
+
|Our|The sharpener sharpens the drill,which is used topencils.|
|
| 489 |
+
|Concepts: **pad hold air head kick**||
|
| 490 |
+
|Greedy|The football player kicked the ball with all his might, but it only went a few feet|
|
| 491 |
+
||before hitting the pad on the ground and bouncing back up to hit him in the head.|
|
| 492 |
+
|Beam Search|The football player kicked the ball with his head while holding it in his pad.|
|
| 493 |
+
|Our|The footballplayer kicked the ball with his head,holdingthepad in his air.|
|
| 494 |
+
|Concepts: **piece throw air pumpkin pick**||
|
| 495 |
+
|Greedy|She carefully picked up the pump kin and threw it into the air, watching as it soared|
|
| 496 |
+
||through the crisp autumn air.|
|
| 497 |
+
|Beam Search|Here’s a sentence using all of the given words: She picked up a piece of pumkin and|
|
| 498 |
+
||threw it into the air.|
|
| 499 |
+
|Our|Shepicked upapiece of air and threw itpumpkins|
|
| 500 |
+
|Concepts: **hit machine come ball bat**||
|
| 501 |
+
|Greedy|The batter swung the bat and hit the ball with a loud crack, sending it fying out of|
|
| 502 |
+
||the park on a high arc.|
|
| 503 |
+
|Beam Search|The batter swung the bat and hit the ball into the machine.|
|
| 504 |
+
|Our|The batter hit the ball with his bat,and the ball came out of the machine.|
|
| 505 |
+
|Concepts: **brush apply lipstick lip**||
|
| 506 |
+
|Greedy|She carefully brushed on a layer of lipstik to her lips before leaving the house.|
|
| 507 |
+
|Beam Search|She carefully brushed on a layer of lipstik, making sure to apply it evenly across her|
|
| 508 |
+
||lips.|
|
| 509 |
+
|Our|To brush applythe lipsticks lip, you need to use a lipbrush.|
|
| 510 |
+
|Concepts: **scroll**|**sunglass tattoo hair hold**|
|
| 511 |
+
|Greedy|She held her long hair back with a scrunchie, sung her heart out at the karaoke bar,|
|
| 512 |
+
||and showed off her new tattoos under the bright stage lights.|
|
| 513 |
+
|Beam Search|She held her long hair back with a hair tie, while wearing a pair of sung glasses and|
|
| 514 |
+
||showing off her tattoos as she scrolled through her phone.|
|
| 515 |
+
|Our|She held her hair back with one hand and scroll-sunglass-tattooed her arm with the|
|
| 516 |
+
||other.|
|
| 517 |
+
|Concepts: **snow watch jump crowd rider**||
|
| 518 |
+
|Greedy|The snowboarder soared through the air, jumping over the crowd and landing with a|
|
| 519 |
+
||smooth ride.|
|
| 520 |
+
|Beam Search|The snowboarder watched the crowd below as he jumped off the ridge, feeling the|
|
| 521 |
+
||thrill of the ride.|
|
| 522 |
+
|Our|The snow rider watched the crowdjumpas he rode through the snow.|
|
| 523 |
+
|
| 524 |
+
16
|
| 525 |
+
|
| 526 |
+
## Table 10: Generated outputs of three different decoding methods on one ELI5 example.
|
| 527 |
+
|
| 528 |
+
## **Instruction: Write a high-quality answer for the given question using only the provided search results.**
|
| 529 |
+
|
| 530 |
+
**Question:** what is the difference between an IRA / ROTH IRA / 401k?
|
| 531 |
+
|
| 532 |
+
**Document** [1](Title: Money Talk :: - Roth 401k??): Roth 401k?? ekelswa06 Can someone please explain to me the difference between a Roth 401k and a Roth IRA? Thank you. Re: Roth 401k?? Originally posted by ekelswa06 I’ll try.... Both the ROTH 401k and ROTH IRA are funded by your after tax contributions. You can contribute up to $17,500 in 2013 to the 401k. You can contribute up to $5,500 in 2013 to the IRA. Both the 401k and the IRA grow tax deferred. You can remove your annual contributions from the IRA at any time for any reason free from tax and penalty. You can not take your
|
| 533 |
+
|
| 534 |
+
**Document** [2](Title: 401k Plan Archives - Debt Free To Early Retirement): IRA. As a side note, if you don’t have a 401K, then consider reviewing the Difference Between Roth IRA and Traditional IRA. Difference Between 401K and Roth IRA Remember that the Roth IRA and 401K are just accounts where you keep your investments. They aren’t actual investments. They are just the account (or vehicle, as some put it) where the money is held. These accounts are great because they get special tax treatment. You are able to contribute pre-tax dollars to a 401K. This means that no tax is taken from your money that is placed into the 401K. If **Document** [3](Title: Roth 401k vs. Roth IRA - How Are They Different? — Personal Capital): IRA Penalty-Free? The biggest differences between a Roth 401k and a Roth IRA are their different annual contribution limits, eligibility criteria, and whether or not you will need to take required minimum distributions (RMDs). Let’s start with the annual contribution limits. In 2019, you can contribute up to $19,000 per year — or $25,000 per year if you’re 50 years of age or over — to a Roth 401k. However, the annual contribution limit for Roth IRAs is much lower: just $6,000 per year, or $7,000 if you’re 50 years of age or over. Another big difference between the Roth
|
| 535 |
+
|
| 536 |
+
Greedy Decoding: The main differences between an Individual Retirement Account (IRA), a Roth IndividualRetirement Account(Roth IRA), and a 301(k) are the contribution limits and the tax implications. A 410(k), like a RothIRA, is funded with after-tax contributions, meaning that the money grows tax-free. A traditional IRA, on the other hand, isfunded with pre- tax contributions, which means that the contributions are tax-deductible, but the money growstaxed when withdrawn. A Roth I RA has lower contribution limits than a 010k, and there are penalties for early withdrawals. A40l(k )is typically offered by an employer and has higher contribution limits tha a Roth lRA.
|
| 537 |
+
|
| 538 |
+
Beam Search: An IRA (Individual Retirement Account) is a type of savings account that provides tax benefits for retirement savings. A Roth ISA is a specific type of IRA that allows you to contribute after-tax income and then withdraw the contributions (not the earnings) tax-free. A 410(k) is an employer-sponsored retirement plan that allows employees to contribute a portion of their income to a tax-deferred retirement account. The main differences between the three are the contribution limits and the required minimum distribution rules. The contribution limits for a Roth Ira are lower than those for a 301(k), and the Roth Ira does not require minimum distributions during the contributor’s lifetime. The 310 (k) requires minimum distributions to begin at age 70 1/2.
|
| 539 |
+
|
| 540 |
+
Our: An IRA (Individual Retirement Account) is a type of savings account that provides tax benefits for retirement savings. A Roth I RA is a specific type of IRA that allows after-tax contributions, and the money grows tax-free. A 4 01(k) is an employer-sponsored retirement plan that allows pre- tax contributions and the investments grow tax-deferred. The key differences between the three are:
|
| 541 |
+
|
| 542 |
+
* Contribution limits: The annual contribution lim it for a Roth IR A is lower than that of a 40 1 (k) .
|
| 543 |
+
|
| 544 |
+
* Eligibility: Not all employers offer 411) plans, but most employers do offer IRA plans.
|
| 545 |
+
|
| 546 |
+
* Required Minimum Distributions (R MDs): 4 O 1( k) plans require RMDs after age 70 and 1/2, while IRAs do not have RMD requirements.
|
| 547 |
+
|
| 548 |
+
17
|
| 549 |
+
|
| 550 |
+
**==> picture [504 x 149] intentionally omitted <==**
|
| 551 |
+
|
| 552 |
+
**==> picture [504 x 124] intentionally omitted <==**
|
| 553 |
+
|
| 554 |
+
Figure 6: One example in our human evaluation experiment.
|
| 555 |
+
|
| 556 |
+
18
|
| 557 |
+
|
| 558 |
+
Table 11: The format for ELI5. In the context learning experiments for ELI5, each example follows a specific format. There are 2 examples in total, and for each one, it includes a question, a document, and an answer.
|
| 559 |
+
|
| 560 |
+
**Instruction: Write a high-quality answer for the given question using only the provided search results.**
|
| 561 |
+
|
| 562 |
+
**Question:** why does mining crypto use so much electricity compared to normal PC use.
|
| 563 |
+
|
| 564 |
+
**Document** [1](Title: How Much Electricity Does Your PC Consume? — PCMag.com): use more electricity under load than a Chromebox with a low-power CPU. Factor 3: How You Use Your PC Just because your PC is a beast with a 750-watt power supply doesn’t mean it’s going to use 750 watts all the time. Most PCs come with power-saving features that lower your energy usage when the computer is idle, or doing basic tasks like browsing the web. So someone mining Bitcoin or folding@home is going to use more power than someone typing up Word documents, even if they did so on the exact same PC for the same number of hours
|
| 565 |
+
|
| 566 |
+
**Document** [2](Title: Why I built a cryptocurrency mining factory in my bedroom — CCG): I found some free software online for mining Zcash and was ready to go. How the numbers stacked up The biggest cost for a crypto miner is electricity. You need to leave your computer running non-stop if you want to make maximum use of it, but this involves not only the cost of the mining itself but also the cost of keeping the computer cool. Fortunately, at that time I was living in Trinidad, which according to my research had the second-cheapest electricity in the world at just five US cents (3.7p) per kWh, compared with a typical cost of
|
| 567 |
+
|
| 568 |
+
**Document** [3](Title: Agorastoken Mining With Pc – Say it with Crypto-Currency – Bitcoins Alot): Agorastoken Mining With Pc – Crypto-Currency – Building Wealth at Each Level Thank you for coming to us in search for “Agorastoken Mining With Pc” online. The beauty of the cryptocurrencies is that scam was proved an impossibility: because of the character of the method in which it is transacted. All exchanges on a crypto-currency blockchain are irreversible. After you’re paid, you get paid. This is simply not anything short-term where your visitors could challenge or demand a discounts, or use dishonest sleight of palm. Used, most dealers could be smart to utilize a transaction processor, due to the irreversible
|
| 569 |
+
|
| 570 |
+
**Answer:**
|
| 571 |
+
|
| 572 |
+
19
|
| 573 |
+
|
open_review/iclr2024_9121.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9121",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "On Synthetic Data and Iterative Magnitude Pruning: a Linear Mode Connectivity Study",
|
| 6 |
+
"abstract": "Recent works have shown that distilled data representations can be leveraged for accelerating the training of DNNs. However, to date, very little is understood about the effect of these synthetic data representations in the area of architectural optimization, specifically with Iterative Magnitude Pruning (IMP) and pruning at initialization. We push the boundaries of pruning with distilled data, matching the performance of traditional IMP on ResNet-18 \\& CIFAR-10 while using 150x less training points to find a sparsity mask. We find that distilled data guides IMP to discard parameters contributing to the sharpness of the loss landscape, fostering smoother landscapes. These synthetic subnetworks are stable to SGD noise at initialization in settings when the dense model or subnetworks found with standard IMP are not, such as ResNet-10 on ImageNet-10. In other words, training from initialization across different shuffling of data will result in linear mode connectivity, a phenomenon which rarely happens without some pretraining. We visualize these loss landscapes and quantitatively measure sharpness through hessian approximations to understand these effects. This behavior is heavily linked to the compressed representation of the data, highlighting the importance of synthetic data in neural architectural validation. In order to find both a high performing and robust sparse architecture, a more optimal synthetic data representation is needed that can compress irrelevant noise like distilled data, yet better maintain task-specific information from the real data as dataset complexity increases.",
|
| 7 |
+
"rebuttal": "Disclaimer: I made a mistake introducing the paper “Distilled Pruning: Using Synthetic Data to Win the Lottery” by McDermott & Cummings as this work is a nonarchival extended abstract, not a full paper. I now have removed all reference of this paper in my submission, and I hope this submission will be treated as if this algorithm, or even the idea to use distilled data with pruning, is introduced for the very first time. I request that you do not look into the authors identity for further reviewing. Hopefully, this will improve the novelty of this paper, as there are no “published” works that explore this idea.\n\nI have completely removed this section and any reference to the IB framework in this paper. I agree in retrospect, this seems out of place and would require a full paper with experimentations to draw this connection.\n\nI have attempted to include such an analysis on sparsity masks; however, I have not been able to find such pattern in weight connectivity / sparsity mask. Even considering hamming distance over time, the sparsity masks look indistinguishable. The only differences I am able to conclude is how these sparsity masks perform or train on the real data. I have now added this information in the discussion.\n\nI hoped for this work to be seen as a study of the linear mode connectivity in these models, not a paper pushing the performance of the algorithm. However, to acknowledge Reviewer 6HLj’s concern for practical implications, I have added a new section that discusses what you can do with these synthetic subnetworks. I have shown that you can use synthetic subnetworks as a stable initialization for IMP, finding Lottery Tickets at higher sparsity. I originally did not include this information in the paper as I aimed to focus more on the why the stability is happening, drawing parallels to the IB framework. It appears this paper has been reviewed less as a study and more as pruning algorithm work, so this section seems more fitting. \nMinor:\n- I have instances between \\citep and \\citet\n- Changed this line. \n- 60% and 87% are two values chosen to mimic “Medium Sparsity” and “High Sparsity”. 60% sparsity refers to Pruning Iteration 4 in Figure 4. Which is where nearly all the “effects of distilled data” on stability begin. 87%, or high sparsity, is chosen when both IMP and Distilled Pruning start to drop off in performance. \nThe barrier is always the same because this figure represents the performance $\\textbf{ratio}$ distilled pruning compared to IMP: $Acc_{\\text{Syn}} / Acc_{\\text{IMP}}$. The performance ofIMP divided by itself is 1, regardless of setting. I have added a few things in the Overview of Synthetic Subnetworks section to make it simpler, but overall this information was included.\n- Removed IB framework entirely.\n- I have now included this in the main body of the paper. \n\nI disagree, in the extreme if you have a completely flat loss landscape, all points are linearly mode connected. Sharper landscapes, even with the same number of minima/maxima will have large barrier heights, leading to poor stability.\n\nQuestion #1: Traditional Iterative Magnitude Pruning can only find Lottery Tickets on a stable model. Currently, we can only find such stability for this by training for a few epochs, which is not at initialization. My primary research question was, “If a dense network is unstable at initialization, can we find a stable subnetwork here instead?”\n\nQuestion #2: Very easy. You can download them yourself from the original dataset distillation method’s repository https://github.com/snu-mllab/Efficient-Dataset-Condensation. However, for datasets not commonly used in distilled data, you will have to rerun this your self. Distilled Data as a field is so new, so I released this paper to show what you can do with it, hopefully encouraging more research on it.\n\nThey are tightly bound to a specific architecture because they are biased towards whatever architecture type is used in the optimization procedure for generating distilled data. Because these methods are intensive with significant retraining and trajectory matching, they can currently only scale the architectures so much. Therefore, anything larger than ResNet-50 is not even considered by most modern dataset distillation work. Even then, we do not use ResNet-50 in this paper as these methods perform very poorly at that scale. I hope I made these challenges and issues with current distilled data methods apparent enough in the background section.\n\nI appreciate your feedback on the content of the paper. Your reviews have definitely strengthened my paper and pointed out flaws that I needed a second set of eyes for. For novelty, I am not at liberty to go into the specifics; however, I please ask that you give an additional rating that assumes this work is novel and has never been published before. I realize after these reviews, I should not have included the original extended abstract on Distilled Pruning.\n\n### Response to Reviewer mHnL\nWeaknesses 1)\n\nI made a mistake introducing the paper “Distilled Pruning: Using Synthetic Data to Win the Lottery” by McDermott & Cummings as this work is a nonarchival extended abstract, not a full paper. I now have removed all reference of this paper in my submission, and I hope this submission will be treated as if this algorithm, or even the idea to use distilled data with pruning, is introduced for the very first time. I request that you do not look into the authors identity for further reviewing. \n\nI understand where your original ratings stand; however, wo [...]\n\n### Response to Reviewer qh7B\nIn response to 1) in Weaknesses, smoothness of the loss landscape is not exactly a direct criteria for performance (that would be the exact loss value), but it does tell us about generalization and how the model responds to small perturbations. For example, consider the functions $x^2$ and $5x^2$, they have the same minimum 0 when $x=0$, meaning they will “perform” the same at inference on the s\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
5,
|
| 11 |
+
3,
|
| 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 presents a pruning method using synthetic data to find the sparsity mask. The main results of the paper are focused on improved stability (measured using linear mode connectivity as in Franckle et al. 2020) close to initialization, as well as other loss landscape visualization results and Hessian analysis.",
|
| 22 |
+
"forum_id": "5451cIQdWp",
|
| 23 |
+
"primary_area": "visualization or interpretation of learned representations",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_qh7B",
|
| 28 |
+
"review_id": "2WmFFthfVq",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2248,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 804388,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_mHnL",
|
| 44 |
+
"review_id": "KuNExSH6ZC",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 2,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2749,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2159743,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_rRcD",
|
| 60 |
+
"review_id": "jBb1nLLA54",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 1,
|
| 65 |
+
"contribution": 1,
|
| 66 |
+
"confidence": 5
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3574,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1232595,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_6HLj",
|
| 76 |
+
"review_id": "7MRnwbkSWV",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 1,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2442,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1391407,
|
| 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_9121.md
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## ON SYNTHETIC DATA AND ITERATIVE MAGNITUDE PRUNING: A LINEAR MODE CONNECTIVITY STUDY
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Recent works have shown that distilled data representations can be leveraged for accelerating the training of DNNs. However, to date, very little is understood about the effect of these synthetic data representations in the area of architectural optimization, specifically with Iterative Magnitude Pruning (IMP) and pruning at initialization. We push the boundaries of pruning with distilled data, matching the performance of traditional IMP on ResNet-18 & CIFAR-10 while using 150x less training points to find a sparsity mask. In our novel approach, we find that distilled data guides IMP to discard parameters contributing to the sharpness of the loss landscape, fostering smoother landscapes. These synthetic subnetworks are stable to SGD noise at initialization in settings when the dense model or subnetworks found with standard IMP are not, such as ResNet-10 on ImageNet-10. In other words, training from initialization across different shuffling of data will result in linear mode connectivity, a phenomenon which rarely happens without some pretraining or weight permutation. This inherent stability proves to be useful for finding lottery tickets in larger settings, where traditional IMP cannot. Since synthetic subnetworks are constructed at initialization, these can be used as the stable starting point for future IMP steps, finding tickets at significantly higher sparsities than IMP without pretraining. This behavior is heavily linked to the compressed representation of the data, highlighting the importance of synthetic data in neural architectural validation. In order to find both a high performing and robust sparse architecture, a more optimal synthetic data representation is needed that can compress irrelevant noise like distilled data, yet better maintain task-specific information from the real data as dataset complexity increases.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Sparse neural networks are increasingly important in deep learning to enhance hardware performance (e.g., memory footprint, inference time) and reduce environmental impacts (e.g., energy consumption), especially as state-of-the-art foundational models continue to grow significantly in parameter count. In parallel, researchers have been exploring how synthetic data representations such as those generated by dataset distillation methods can be leveraged to efficiently accelerate deep learning model training. With this in mind, we explore the training dynamics and stability of sparse neural networks in the context of synthetic data to better understand how we should be efficiently creating sparsity masks at initialization. Modern pruning methods only reduce computational costs at inference. When pruning at initialization, we can greatly reduce training costs as well.
|
| 14 |
+
|
| 15 |
+
Research on the training dynamics of dense models have led researchers to find that dense models are connected in the loss landscape through nonlinear paths (Freeman & Bruna, 2017; Draxler et al., 2019; Garipov et al., 2018). Linear paths or Linear Mode Connectivity (LMC) is an uncommon phenomena that only occurs in rare cases, such as MLPs on subsets of MNIST in Nagarajan & Kolter (2021) or model intervention with weight permutation (Ainsworth et al., 2023). For large networks, Frankle et al. (2020) found that pretrained dense models when fine-tuned across different shufflings of data, are linear mode connected. While these models are “stable” to noise generated through stochastic gradient descent (SGD), only the smallest dense models are stable at initialization. As for its relationship with sparse neural networks, Frankle et al. (2020) empirically found that the Lottery Ticket Hypothesis only holds for stable dense models, those that are linear mode connected across
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
data shuffling. They found that these large dense models only become stable early in training, leading to the conclusion that Iterative Magnitude Pruning (IMP) with weight rewinding, the method to find such lottery tickets, should instead rewind a model to an early point in training rather than at initialization. We support these conclusions as we find that both dense and IMP-generated subnetworks are not stable at initialization. Our work aims to study sparse neural networks at initialization, different than new age lottery ticket literature (Paul et al., 2022), which utilizes some pretraining to find a good ”initialization”. Finding high performing sparsity masks at creation is the ultimate goal of neural network pruning for both efficient training and gaining fundamental understanding of sparse neural networks.
|
| 20 |
+
|
| 21 |
+
We find that another class of sparse subnetworks exist that are more stable at initialization: _synthetic subnetworks_ . We define synthetic subnetworks as those produced during pruning with distilled data. These are found by replacing the traditional data in IMP with distilled data, essentially a summarized version of the training data consisting of only 1-50 synthetic images per class (see Sachdeva & McAuley (2023) for a survey). We perform the same training, pruning, and rewinding to produce the sparsity mask. This mask, as with those produced by IMP, can be applied to the dense model at initialization to create a high performing sparse neural network after training on real data. The significance is that synthetic images can be used to pick an appropriate sparsity mask for a downstream task. These subnetworks have a lower need for rewinding to an early point in training due to their inherent stability. We find that, with dataset distillation methods such as Kim et al. (2022), we match performance with IMP when rewinding to initialization. We achieve this with approximately _150x less_ training points than traditional IMP to find a sparsity mask. While we do use a current state-of-the-art distillation method, such methods are still limited to small datasets like CIFAR-10, CIFAR-100, and ImageNet-10. The representation of this data is purely responsible for this performance. We explore more in depth how the structural differences in these sparsity masks provide more stability than IMP-generated masks. We further investigate why synthetic subnetworks are stable when the dense model is not by generating loss landscapes visualizations and study what these characteristics could mean for the future of sparse neural network research. Finally, we apply this inherent stability to find lottery tickets in settings larger than previously discovered.
|
| 22 |
+
|
| 23 |
+
## 2 PRELIMINARIES AND RELATED WORK
|
| 24 |
+
|
| 25 |
+
## 2.1 SPARSITY IN NEURAL NETWORKS
|
| 26 |
+
|
| 27 |
+
The most common form of sparsity can be found in neural network pruning literature (Gale et al., 2019). In this field, researchers exploit sparsity for computational savings, usually at inference. Pruning can be divided into two categories based on the parameters being removed: Structured and Unstructured. Unstructured has no regulation on what can be pruned, the typical example is removing individual weights. By pruning weights, the weight matrices are still the same size, but contain zeroed out weights. Structured pruning is removing parameters that make up some physical pattern, such as removing neurons, channels, attention heads, etc. All of these examples physically make the weight matrices smaller, since you can remove a whole row or column at once. These lead to faster inference on general hardware; however, the added restrictions reduce the performance of the pruned model in comparison to unstructured methods.
|
| 28 |
+
|
| 29 |
+
_When_ to prune is an entirely other consideration: before training (Lee et al., 2019), during training, or after training (Han et al., 2015). In order to reduce the cost of training as well, Lee et al. (2019); Tanaka et al. (2020) explore how to prune at initialization. This is essentially producing optimal sparse architectures for downstream tasks, the end goal for almost any pruning research. Despite these great ambitions, pruning at initialization does not perform as we hope (Frankle et al., 2021). To further understand why this is the case, Frankle & Carbin (2019) propose the Lottery Ticket Hypothesis: for a sufficiently over-parameterized dense network, there exists a non-trivial sparse subnetwork that can train in isolation to the full performance of the dense model. They employ iterative magnitude pruning with weight rewinding to retroactively discover these sparse subnetworks, named ”Lottery Tickets” due to the lucky nature of winning the initialization lottery. They empirically proved that pruning at initialization is indeed possible in smaller settings.
|
| 30 |
+
|
| 31 |
+
2
|
| 32 |
+
|
| 33 |
+
## 2.2 STABILITY TO STOCHASTIC GRADIENT DESCENT
|
| 34 |
+
|
| 35 |
+
To uncover why the early iteration of the Lottery Ticket Hypothesis did not apply to large networks, Frankle et al. (2020) finds that this hypothesis only holds when the dense model is ”stable” to the effects of data shuffling. At initialization, only the smallest computer vision models on MNIST are stable to SGD noise without weight permutations (Ainsworth et al., 2023; Entezari et al., 2022). A model is deemed stable if training across different orders of training data result in models with linear mode connectivity. Using this knowledge, iterative magnitude pruning can be adapted to instead rewind to weights back to an early point in training, a point in which the dense model is stable. This previous work empirically proves that we can prune at some early point in training for larger models. In our work, we intentionally rewind to initialization rather than early in training in order to learn how to prune at initialization. Rewinding to early training only empirically proves the existence of subnetworks with matching performance during early training, but it does not accurately reflect how sparse networks behave from random initialization.
|
| 36 |
+
|
| 37 |
+
## 2.3 DATASET DISTILLATION
|
| 38 |
+
|
| 39 |
+
We explore the idea of synthetic data in pruning by using current methods under dataset distillation. In general, dataset distillation optimizes a synthetic dataset to match the performance of a model trained on real data. This bi-level optimization problem can be defined as minimizing the difference of average loss over all validation points:
|
| 40 |
+
|
| 41 |
+
**==> picture [294 x 19] intentionally omitted <==**
|
| 42 |
+
|
| 43 |
+
or, the minimizing the supremum of the absolute loss difference across over each validation pair as proposed in Sachdeva & McAuley (2023), a unifying survey work:
|
| 44 |
+
|
| 45 |
+
**==> picture [339 x 20] intentionally omitted <==**
|
| 46 |
+
|
| 47 |
+
where Φ is a training algorithm returning optimal parameters for the dataset _D_ syn. Many methods include matching the training trajectories of a student and teacher model (Cazenavette et al., 2022), meta model matching (Wang et al., 2020), or factoring (Deng & Russakovsky, 2022). A simplification of this process for classification tasks is compressing each set of images for a label down into a few images. While this view of minimizing the performance difference of real data and synthetic data is constrictive as it never allows for synthetic data to perform better than real data, we show that it is a reasonable starting point from which we use to explore the training and stability dynamics of synthetic data representations.
|
| 48 |
+
|
| 49 |
+
## 2.4 CHALLENGES WITH DISTILLED DATA
|
| 50 |
+
|
| 51 |
+
Current dataset distillation methods do not properly maintain relevant information on the downstream task for harder datasets, but they do sufficiently minimize the image-specific information resulting in over-compression. These issues arise as a result of the high computational complexity of optimizing a synthetic training set. Current methods cannot maintain performance as the dataset or model complexity increases, limited to convolutional networks on toy datasets like CIFAR and MNIST. For example, we use Efficient Dataset Condensation (Kim et al., 2022) in this paper which achieves 50.6, 67.5, or 74.5% accuracy on CIFAR-10 depending the the size of the synthetic dataset (1,10, or 50 images per class or ipc) or 72.8 & 76.6% accuracy on ImageNet-10 (Russakovsky et al., 2015). While the aim of dataset distillation literature is to have a small synthetic set to improve training efficiency on other architectures, less aggressive compression may be needed. We suggest that efficiency is not the only use case or goal with distilled data. Compressing the training set may result in better generalization, as long as relevant information is maintained.
|
| 52 |
+
|
| 53 |
+
3
|
| 54 |
+
|
| 55 |
+
## 3 DATASET DISTILLATION FOR NEURAL NETWORK PRUNING.
|
| 56 |
+
|
| 57 |
+
We employ Iterative Magnitude Pruning with Distilled Data for the first time to discover the architectural biases that this data brings. Specifically, we use dataset distillation methods that match training trajectories to ensure that training on synthetic data yields similar converged results to training on real data (Kim et al., 2022). We refer to this algorithm as _Distilled Pruning_ .
|
| 58 |
+
|
| 59 |
+
**==> picture [235 x 147] intentionally omitted <==**
|
| 60 |
+
|
| 61 |
+
**----- Start of picture text -----**<br>
|
| 62 |
+
Initialized Initialized Synthetic<br>Model Model Subnetwork<br>Train on Train on Train on<br>Distilled Distilled Real<br>Data Data Data<br>Trained Trained Final<br>Model Model Model<br>Prune Prune<br>Pruned Pruned<br>Model Model<br>Rewind<br>**----- End of picture text -----**<br>
|
| 63 |
+
|
| 64 |
+
Figure 1: Distilled Pruning Algorithm Diagram
|
| 65 |
+
|
| 66 |
+
As shown in Figure 1, to find a suitable sparsity mask of a randomly initialized model, we first train the network to convergence on distilled data, prune the lowest magnitude weights, then rewind the non-pruned weights back to their initialized values, and loop until desired sparsity. The final model should have its randomly initialize weights with a sparsity mask. We can train the sparse synthetic subnetwork on real data to achieve sufficient performance at high sparsities. Using distilled data only to choose our sparsity mask allows us to better understand the biases that this data introduces in the architecture. We refer to subnetworks found with synthetic or distilled data as _synthetic subnetworks_ and those with real data as _IMP subnetworks_ .
|
| 67 |
+
|
| 68 |
+
The only differences of IMP and distilled pruning lie in the sparsity mask they choose. Since each method uses different datasets for training, their final converged weights will be different. Weights deemed ”important” for the real dataset may not be important on the distilled data; distilled pruning may attempt to remove these. This is also true for the other direction. The performance of these sparsity masks by distilled pruning directly relates to how relevant the distilled data is to the real data. Figure 2 showcases the performance of this method compared to traditional IMP on CIFAR-10 with ResNet-18.
|
| 69 |
+
|
| 70 |
+
**==> picture [342 x 103] intentionally omitted <==**
|
| 71 |
+
|
| 72 |
+
Figure 2: Performance of Distilled Pruning vs Traditional IMP on ResNet-18 & CIFAR-10. The distilled dataset consisted of 10 images per class. Error bars are plotted as we average across 4 seeds. The plot on the right measures the amount of data points used in training to find a sparsity mask at x sparsity. Note that in IMP we are not finding ”lottery tickets” since we rewind back to initialization for both methods, not to an early point in training.
|
| 73 |
+
|
| 74 |
+
We see in Figure 2 that lower test accuracy after training on distilled data does not completely translate in neural network pruning. Despite only achieving 72.8% after training on distilled CIFAR10 with 10 ipc from Kim et al. (2022), we can use this low performance to choose weights to prune
|
| 75 |
+
|
| 76 |
+
4
|
| 77 |
+
|
| 78 |
+
matching the performance on IMP on smaller datasets. To be clear, distilled data is only used to find a sparsity mask, the sparse model is ultimately trained on real data for validation. As previously mentioned, this performance does not hold as dataset complexity increases, we find that CIFAR-100 can perform decently at lower sparsities, but does not handle extreme sparsities ( _>_ 90%) with larger models like ResNet-18. In those cases, the distilled data on CIFAR-100 is not maintaining taskrelevant information for the model. Since distilled data contains less outliers, and is a largely more ”generalizable” dataset, we find that the sparsity mask pruned weights that control the fine grained details of the real data.
|
| 79 |
+
|
| 80 |
+
## 4 STABILITY OF SUBNETWORKS.
|
| 81 |
+
|
| 82 |
+
To understand the training dynamics of sparsity masks chosen via distilled pruning vs IMP, we conduct an instability analysis. We take a randomly initialized model, generate a sparsity mask through pruning, and train it across two different orderings of the real training data. We save these two models and interpolate all the weights between them, measuring the training loss at each point in the interpolation as shown in Figures 3 and 4. We assess the linear mode connectivity of these subnetworks to determine if the model is stable to SGD noise. If the loss increases as you interpolate between two trained versions, then there is a barrier in the loss landscape, implying the trained models found different minima. In these cases, the ordering of the training data directly impacts what minima its choosing. If the loss does not increase during interpolation, then this implies they exist in the same minima or at least the same flat basin.
|
| 83 |
+
|
| 84 |
+
**==> picture [396 x 278] intentionally omitted <==**
|
| 85 |
+
|
| 86 |
+
**----- Start of picture text -----**<br>
|
| 87 |
+
Synthetic Subnetworks IMP Subnetworks Combined<br>Pruning Iteration Pruning Iteration<br>Pruning Iteration<br>Pruning Iteration<br>Pruning Iteration Pruning Iteration<br>Interpolation Interpolation<br>Interpolation Interpolation<br>Interpolation Interpolation<br>ConvNet-3<br>ResNet-10<br>ResNet-18<br>Train Loss Train Loss<br>Train Loss<br>Train Loss Train Loss<br>Train Loss<br>Train Loss Train Loss<br>Train Loss<br>**----- End of picture text -----**<br>
|
| 88 |
+
|
| 89 |
+
Figure 3: Comparison of the stability of synthetic vs. IMP subnetworks at initialization on CIFAR10. We show how the loss increases as you interpolate the weights between two trained models. We measure this for subnetworks of different sparsities. The left column is reserved for subnetworks found via distilled data, and the middle column is for subnetworks found with real data. We aggregate all the information in each row for a better comparison. The dark lines in the 3D plots represents the pruning iteration we used for the combined plot; the dense model is iteration 0.
|
| 90 |
+
|
| 91 |
+
We see that in simpler scenarios with ConvNet-3 on CIFAR-10 & ResNet-10 on ImageNet-10, we exhibit full linear mode connectivity. We even see slightly better performance during interpolation in Figure 4. We find that in some cases of unstable dense models there exists a sparse subnetwork that is
|
| 92 |
+
|
| 93 |
+
5
|
| 94 |
+
|
| 95 |
+
**==> picture [398 x 111] intentionally omitted <==**
|
| 96 |
+
|
| 97 |
+
**----- Start of picture text -----**<br>
|
| 98 |
+
Synthetic Subnetwork IMP Subnetwork<br>Linear Interpolation Coefficient Linear Interpolation Coefficient<br>Train Loss Train Loss<br>**----- End of picture text -----**<br>
|
| 99 |
+
|
| 100 |
+
Figure 4: Comparison of the stability of synthetic vs. IMP subnetworks at initialization on ImageNet-10 and ResNet-10. An increased loss across interpolation implies instability / trained networks landing in different minima.
|
| 101 |
+
|
| 102 |
+
stable at initialization. More importantly, traditional IMP is not able to produce stable subnetworks in these settings. Sparsity is not necessarily the answer for smoother landscapes, _where_ you induce sparsity is the main factor. As pruning continues, the results exhibit more stability despite lower trainability, as seen with higher training losses. We postulate that the parameters pruned on distilled data, yet still exist in the IMP subnetwork, capture the intricacies of the real data which contribute to a sharper, but more trainable, landscape. Since IMP subnetworks are not stable, the intricacies it is learning is order dependent.
|
| 103 |
+
|
| 104 |
+
## 4.1 LOSS LANDSCAPE VISUALIZATION
|
| 105 |
+
|
| 106 |
+
While linear mode connectivity is useful to study the loss landscape, this lightweight method can only show us a one dimensional slice of the bigger picture. We further examine the landscapes across two dimensions of parameters as shown in Figure 5.
|
| 107 |
+
|
| 108 |
+
**==> picture [342 x 173] intentionally omitted <==**
|
| 109 |
+
|
| 110 |
+
**----- Start of picture text -----**<br>
|
| 111 |
+
Syn, 60% Syn, 90%<br>spars spars<br>Dense loss Synthetic Synthetic<br>60% Sparsity 87% Sparsity<br>landscape<br>IMP, 60% IMP, 90%<br>spars spars<br>Dense<br>IMP IMP<br>60% Sparsity 87% Sparsity<br>**----- End of picture text -----**<br>
|
| 112 |
+
|
| 113 |
+
Figure 5: Loss Landscape visualization around the neigbhorhood defined by trained models on different seeds for ConvNet-3 and CIFAR-10.
|
| 114 |
+
|
| 115 |
+
We trained the same network across 4 different seeds, much like in linear interpolation; however, we also created 2 orthogonal vectors from this to sample nearby points. This maps the hyperdimensional parameter space down to two dimensions, since every point shown in our visualization is a linear combination of the two vectors. For each of the 10,000 points, we recorded the loss validated by real training data. Since this visualization is created after reference models are trained, reference models that are closer together will result in “zooming in” on their minima. The spatial distance is not preserved using this method. This is useful in determining the local area in which these models are training to. With post-hoc analysis, we find that spatial distance in our plot is mainly maintained, with slightly lower distances as you prune.
|
| 116 |
+
|
| 117 |
+
6
|
| 118 |
+
|
| 119 |
+
From these visualizations, IMP chooses subnetworks that exhibit a similar landscape to the dense model. We see the trained models fall into two separate minima in both the IMP and Dense cases, explaining the loss barrier in the Figure 3. Subnetworks chosen with distilled data are falling into the same, flat basin. We also validated these visualizations quantitatively by looking at the diagonal of the hessian. We find that synthetic subnetworks have a tighter distribution of diagonal hessian values around zero than both the dense model and IMP subnetworks. Though, sparsity in general leads to small decreases in sharpness which can also be seen in the Figure 5 visualization[1] .
|
| 120 |
+
|
| 121 |
+
## 4.2 HESSIAN ANALYSIS
|
| 122 |
+
|
| 123 |
+
For a more quantitative approach to measuring sharpness of the loss landscape, we measure the diagonal of the hessian for a batch as computing the full hessian is computationally prohibitive. We study the diagonal for ConvNet-3 on CIFAR-10.
|
| 124 |
+
|
| 125 |
+
|Subnetwork|Sparsity|Min/Max|Mean_±_Std|Avg Magnitude|
|
| 126 |
+
|---|---|---|---|---|
|
| 127 |
+
|Dense|0|-1.847 / 1.344|_._0048_± ._035|.0067|
|
| 128 |
+
|IMP|60%|-3.073 / 4.510|_._0051_± ._0559|.0087|
|
| 129 |
+
|IMP|90%|-6.323 / 6.127|_._0035_± ._0594|.0060|
|
| 130 |
+
|Synthetic|60%|-0.982 / 2.093|_._0047_± ._0286|.0061|
|
| 131 |
+
|Synthetic|90%|-2.338 / 1.730|_._0037_± ._0354|.0053|
|
| 132 |
+
|
| 133 |
+
We see that across every measure of the distribution of the diagonal hessian, small amounts of pruning in traditional IMP lead to sharper landscapes. This smooths out as we approach higher sparsities though. With our synthetic subnetworks, the distribution is much closer to zero with less variance. We see the same pattern of smoother values as sparsity increases. While smoothness from increased sparsity may be a result of lower dimensionality of the landscape, synthetic subnetworks are still behaving radically different than IMP-chosen subnetworks at the same sparsity.
|
| 134 |
+
|
| 135 |
+
## 4.3 OVERVIEW OF SYNTHETIC SUBNETWORKS
|
| 136 |
+
|
| 137 |
+
We examine how varying the compression rate of dataset distillation affects the performance and stability of synthetic subnetworks. Across datasets, performance of synthetic subnetworks will be compared to its IMP counterpart. Performance is expressed as the _ratio_ of synthetic subnetwork accuracy over IMP subnetwork accuracy. We compare stability similarly against the IMP subnetworks. We plot stability as the barrier height ratio between the Synthetic and IMP subnetworks. Barrier height is measured as the distance between the trained loss and the loss of the interpolated model from our linear mode connectivity experiments. Both a low and high sparsity example is reported for each setting. 60% sparsity is chosen as the low sparsity as this tends to be when synthetic subnetworks first achieve general stability. We include a single marker for IMP to showcase what ”equivalent” algorithm to IMP looks like, as the ratio of IMP to itself is 1. Note, on ImageNet-10 we exhibit a negative barrier height at high sparsity.
|
| 138 |
+
|
| 139 |
+
Across almost all experiments, we see a general trend: subnetworks chosen via distilled pruning result in a smooth & generalizing loss landscape. As compression ratio increases, we see more stability than IMP; however, the performance trend largely depends on the distilled accuracy in Kim et al. (2022). Most notably, we achieve full linear mode connectivity for ConvNet-3 on CIFAR10 and ResNet-10 on Imagenet-10. While there are numerous factors at play, Kim et al. (2022) optimized the synthetic data specifically for these models, hinting that stability is a result of high performing synthetic data. As distillation methods improve, we expect to maintain label-information (pushing the points up) and be able to use fewer images per class (pushing the points to the left).
|
| 140 |
+
|
| 141 |
+
## 5 STABLE INITIALIZATIONS & THE LOTTERY TICKET HYPOTHESIS
|
| 142 |
+
|
| 143 |
+
Distilled Pruning does not have to compete with IMP; it can be used in tandem with it. We study how these The Lottery Ticket Hypothesis only holds when the initialization is stable. Even on settings as small as ResNet-18 on CIFAR-10, Iterative Magnitude Pruning cannot produce lottery tickets at
|
| 144 |
+
|
| 145 |
+
> 1See the appendix for results on the distribution of diagonal hessian values.
|
| 146 |
+
|
| 147 |
+
7
|
| 148 |
+
|
| 149 |
+
**==> picture [396 x 184] intentionally omitted <==**
|
| 150 |
+
|
| 151 |
+
**----- Start of picture text -----**<br>
|
| 152 |
+
1.03 Stable & High Performers Unstable, Data Compression Key<br>87% High Performance<br>ImagNet-10 → IPC10<br>1.02 ResNet-10<br>CIFAR-10 → IPC1<br>1.01 60% ConvNet-3 1x<br>CIFAR-10 → IPC10<br>1.00 60% 60% 87% ConvNet-3<br>.99 87% 60% 87% 60% 87% CIFAR-10 ResNet-18→ IPC10 50x<br>CIFAR-100 → IPC10<br>ConvNet-3<br>60% 130x<br>.98<br>CIFAR-100 → IPC10<br>Stable, but lower Unstable, ResNet-18<br>performance than IMP Low Performance 500x<br>.97 IMP Baseline<br>87% All Datasets / Models 5000x<br>.96<br>0.0 0.2 0.4 0.6 0.8 1.0 1.2<br>Loss Barrier Height Ratio (Lower Better)<br>Performance Ratio (Higher Better)<br>**----- End of picture text -----**<br>
|
| 153 |
+
|
| 154 |
+
Figure 6: Comparison of synthetic subnetworks and IMP subnetworks across models & datasets. Both the 60% and 87% sparsity model is chosen for each example and connected with a dotted line. These are compared to IMP’s 60% and 87% sparsity respectively. The size of the marker represents the amount of data compression through dataset distillation used to find the sparsity mask. For example, distilling CIFAR-10 (default 5,000 images per class) down to 10 images per class is a 500x compression ratio. Performance is measured as the ratio of test accuracy between Synthetic and IMP subnetworks. Loss Barrier Height is measured by subtracting the trained loss and the halfway interpolated trained loss from linear interpolation experiments.
|
| 155 |
+
|
| 156 |
+
high sparsities as shown in Fig. 2. To get around this, researchers use weight rewinding to some point in early training when the model is stable Frankle et al. (2020). We refer to rewinding point as the _k_ th epoch in training. Since these networks are not pruned at initialization, rewinding instead to some _k >_ 0, these are not lottery tickets; they are only considered _matching subnetworks_ . Since synthetic subnetworks are found by rewinding to initialization, we can use this instead as our stable starting point, no pretraining needed. In combination, distilled pruning removes weights that are responsible for instability, then IMP can choose a high performing subset of stable weights.
|
| 157 |
+
|
| 158 |
+
Building on our study of ResNet-10 and Imagenet-10, we use a synthetic subnetwork that is both stable and high performing as our sparse initialization, then perform traditional iterative magnitude pruning. Following this criteria, we chose to prune ResNet-10 over 8 iterations or 83% sparsity with distilled pruning, then performed IMP for 25 iterations. Figure 7 provides a comparison between this, traditional IMP with rewinding back to initialization ( _k_ th epoch is 0), and IMP rewinding to the 3rd epoch.
|
| 159 |
+
|
| 160 |
+
We demonstrate that using synthetic subnetworks as a stable starting point can produce lottery tickets at higher sparsities than previously thought. Figure 7 also shows that it is possible to regain performance lost from the synthetic initialization. The results for rewinding to early in training, _k_ = 3, were previously considered to be a practical upper bound for pruning at initialization.
|
| 161 |
+
|
| 162 |
+
## 6 DISCUSSION
|
| 163 |
+
|
| 164 |
+
Synthetic sparsity masks are a result of pruning irrelevant parameters on an already compressed dataset. Weights appearing in the IMP subnetworks, but not synthetic, are used to capture the finegrained details of the real dataset. The removal of these parameters leads to smoother landscapes; however, this can lead to worse performance, especially on distilled datasets that are not aligned well to the training set such as CIFAR-100. Upon analysis of these sparsity masks in isolation, we could not draw any conclusions about sparsity patterns. Distilled Pruning leads to extremely similar sparsity per layer, with a seemingly independent distribution of pruned parameters. We invite future researchers to engage in this analysis. The only differences we observed with these models is how they learn on real data, such as stability & smoother loss landscapes.
|
| 165 |
+
|
| 166 |
+
8
|
| 167 |
+
|
| 168 |
+
**==> picture [199 x 161] intentionally omitted <==**
|
| 169 |
+
|
| 170 |
+
**----- Start of picture text -----**<br>
|
| 171 |
+
0% 67% 89% 96% 99% 99.6% 99.9%<br>Sparsity<br>**----- End of picture text -----**<br>
|
| 172 |
+
|
| 173 |
+
Figure 7: Performance comparison of traditional IMP ( _k_ = 0), IMP with weight rewinding to the 3rd epoch in training ( _k_ = 3), and traditional IMP performed on a stable, synthetic subnetwork at 83% sparsity. We observe synthetic initializations find lottery tickets at higher sparsity than traditional IMP ( _k_ = 0) alone. We emphasize _k_ = 3 is not finding lottery tickets as this is not at initialization. Each trial ran for 25 iterations with 5 seeds each.
|
| 174 |
+
|
| 175 |
+
This work is an initial step into exploring the impact of using synthetic data, specifically distilled data, to improve pruning. We thoroughly assess the linear mode connectivity of these subnetworks to determine if the model is stable to SGD noise. Since this work shows how the data used to prune directly impacts the generalizability and robustness of these subnetworks, we aim to rethink the use of any data in these scenarios, not just synthetic. Potentially more aggressive data augmentations or even generative approaches can be used only during pruning to create certain effects in the sparse architecture. We reopen the idea of finding lottery tickets at initialization on larger models by focusing on pruning parameters leading to instability first. We believe that a new algorithm, not the naive combination of distilled pruning and IMP, will be essential for uncovering the Lottery Ticket Hypothesis and validating it on larger settings.
|
| 176 |
+
|
| 177 |
+
9
|
| 178 |
+
|
| 179 |
+
## REPRODUCIBILITY STATEMENT
|
| 180 |
+
|
| 181 |
+
We aim to make advanced neural network pruning methods more accessible to a broader range of researchers and developers, reducing the expertise and compute overhead required to prune highperforming networks. We provide the source code and configurations for the key experiments including instructions on how to use the distilled data, prune the models with distilled pruning, prune with IMP, and training and validation procedures. Our code is currently available at an anonymous URL: [URL removed] The data distillation method we use can be found at [URL removed] We used the pre-computed distilled data from the original paper (Kim et al., 2022). We use the same implementation of ConvNet-3 and ResNet-10 (with batch normalization) as the dataset distillation method.
|
| 182 |
+
|
| 183 |
+
## ETHICS STATEMENT
|
| 184 |
+
|
| 185 |
+
Sparse neural networks offer a practical way to reduce the computational overhead for training and inference which directly translates to lower _CO_ 2 emissions and contributes to more sustainable AI research and development practices. Likewise, our paper highlights that leveraging distilled data during the neural network pruning process can result in significant computational savings. However, one possible risk of this approach is the loss of interpretability when using synthetic data (distilled or generated). Specifically, if a practitioner does not have access to the original source data the synthetic dataset was derived from, it may be challenging to understand the limitations, outliers, and biases of that synthetic dataset. To counter the potential risk of unexpected or biased model performance, it is crucial to define frameworks that thoroughly validate that the models trained on synthetic data adequately represent the associated real-world problem domains and tasks. While synthetic data representations hold considerable promise for the future enhancement of deep learning, the drawbacks, nuances, and related mitigation strategies should continue to be carefully studied.
|
| 186 |
+
|
| 187 |
+
## REFERENCES
|
| 188 |
+
|
| 189 |
+
Samuel K. Ainsworth, Jonathan Hayase, and Siddhartha Srinivasa. Git re-basin: Merging models modulo permutation symmetries, 2023.
|
| 190 |
+
|
| 191 |
+
George Cazenavette, Tongzhou Wang, Antonio Torralba, Alexei A. Efros, and Jun-Yan Zhu. Dataset distillation by matching training trajectories, 2022.
|
| 192 |
+
|
| 193 |
+
Zhiwei Deng and Olga Russakovsky. Remember the past: Distilling datasets into addressable memories for neural networks, 2022.
|
| 194 |
+
|
| 195 |
+
Felix Draxler, Kambis Veschgini, Manfred Salmhofer, and Fred A. Hamprecht. Essentially no barriers in neural network energy landscape, 2019.
|
| 196 |
+
|
| 197 |
+
Rahim Entezari, Hanie Sedghi, Olga Saukh, and Behnam Neyshabur. The role of permutation invariance in linear mode connectivity of neural networks, 2022.
|
| 198 |
+
|
| 199 |
+
Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks, 2019.
|
| 200 |
+
|
| 201 |
+
Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, and Michael Carbin. Linear mode connectivity and the lottery ticket hypothesis, 2020.
|
| 202 |
+
|
| 203 |
+
- Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, and Michael Carbin. Pruning neural networks at initialization: Why are we missing the mark?, 2021.
|
| 204 |
+
|
| 205 |
+
- C. Daniel Freeman and Joan Bruna. Topology and geometry of half-rectified network optimization, 2017.
|
| 206 |
+
|
| 207 |
+
Trevor Gale, Erich Elsen, and Sara Hooker. The state of sparsity in deep neural networks, 2019.
|
| 208 |
+
|
| 209 |
+
Timur Garipov, Pavel Izmailov, Dmitrii Podoprikhin, Dmitry Vetrov, and Andrew Gordon Wilson. Loss surfaces, mode connectivity, and fast ensembling of dnns, 2018.
|
| 210 |
+
|
| 211 |
+
10
|
| 212 |
+
|
| 213 |
+
Song Han, Jeff Pool, John Tran, and William J. Dally. Learning both weights and connections for efficient neural networks, 2015.
|
| 214 |
+
|
| 215 |
+
- Jang-Hyun Kim, Jinuk Kim, Seong Joon Oh, Sangdoo Yun, Hwanjun Song, Joonhyun Jeong, JungWoo Ha, and Hyun Oh Song. Dataset condensation via efficient synthetic-data parameterization, 2022.
|
| 216 |
+
|
| 217 |
+
- Namhoon Lee, Thalaiyasingam Ajanthan, and Philip H. S. Torr. Snip: Single-shot network pruning based on connection sensitivity, 2019.
|
| 218 |
+
|
| 219 |
+
Vaishnavh Nagarajan and J. Zico Kolter. Uniform convergence may be unable to explain generalization in deep learning, 2021.
|
| 220 |
+
|
| 221 |
+
- Mansheej Paul, Brett W. Larsen, Surya Ganguli, Jonathan Frankle, and Gintare Karolina Dziugaite. Lottery tickets on a data diet: Finding initializations with sparse trainable networks, 2022.
|
| 222 |
+
|
| 223 |
+
- Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. Imagenet large scale visual recognition challenge. _International Journal of Computer Vision (IJCV)_ , 115(3):211–252, 2015.
|
| 224 |
+
|
| 225 |
+
Noveen Sachdeva and Julian McAuley. Data distillation: A survey, 2023.
|
| 226 |
+
|
| 227 |
+
- Hidenori Tanaka, Daniel Kunin, Daniel L. K. Yamins, and Surya Ganguli. Pruning neural networks without any data by iteratively conserving synaptic flow, 2020.
|
| 228 |
+
|
| 229 |
+
Tongzhou Wang, Jun-Yan Zhu, Antonio Torralba, and Alexei A. Efros. Dataset distillation, 2020.
|
| 230 |
+
|
| 231 |
+
11
|
| 232 |
+
|
open_review/iclr2024_9124.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9124",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Syntactic Representations Enable Interpretable Hierarchical Word Vectors",
|
| 6 |
+
"abstract": "The distributed representations currently used are dense and uninterpretable, leading to interpretations that themselves are relative, overcomplete, and hard to interpret. We propose a method that transforms these word vectors into reduced syntactic representations. The resulting representations are interpretable in an absolute scale allowing better comparison and visualization of the word vectors and we successively demonstrate that the drawn interpretations are in line with human judgment. The syntactic representations are then used to create hierarchical word vectors using an incremental learning approach similar to the non-linear human learning approach. As these representations are drawn from pre-trained vectors, the generation process and learning approach are computationally efficient. Most importantly, we find out that the resulting hierarchical vectors outperform the original vectors in benchmark tests.",
|
| 7 |
+
"rebuttal": "Thank you for the review. \n\nWe do not suggest using unigram embeddings but suggest a need for search of an alternative to the status-quo. The current state has made NLP non-efficient and hard to access. We have proposed a method that can present a new dimension by adding isolated regularities to transform the embeddings as required.\n\nWe have added the details to the normalization process, in the Appendix A1 section. We realized the shortcomings with the tests, but did it to check for the quality of vectors, which we have now moved to the appendix section. \n\nRegarding polysemy, that is a major limitation of our work. Although, our work cannot distinguish senses, it does not conflate any wore to one sense. It raises the potential of being able to add context as an isolated regularity on top of contextless embeddings.\n\nRegarding the interpretability issue, we were limited to 4 classes as the oracle, WordNet is also limited to the same classes. However we have presented a newer, more detailed classification report and a full eight class classification in Appendix Word Classification Google, where we show the low number of words in other classes impact the entire classification. Also, as we wanted to present a better visualization of Interpretable embeddings, we went forward with eight parts of speeches as it is easily understandable.\n\nOur work is more interpretable in a visual sense but lacks to the accuracy of probing. We provide a sort of \"looking through the models eye\" in terms of interpretability, so eight parts of speech was the considered better path forward.\n\nThe new version of our work includes addition of statistical significance test, new baseline model, tests per word size, singularity value tests and much more. We have also updated the title to suggest that syntactic representations are the interpretable ones.\n\nWe would love to hear more from you.\nRegards.\n\nThank you for the review. We have taken the suggested weaknesses and improved our work by adding statistical significance test, new baseline model, tests per word size, singularity value tests and much more. We have changed the title to signify that Syntactic Representations are the ones that are interpretable.\n\nAs suggested, we have performed the size test to test sensitivity to size, where we have observed that the performance of Syntactic Representation is dependent on size but that of hierarchical vector is not. We have attributed this to the pre-trained vectors heavier influence on the hierarchical vector. The syntactic representations were sensitive to size to an extent but after the point of 1000 words, due to having to impute many words as WordNet only has four classes, the sensitivity fell. \n\nWe have performed the suggested structural test by providing the value of largest singularity and have observed that transformation decreases the value suggesting a potential decrease in noise and semantic nuance. We have presented this in the updated paper. This experiment has shown that we can increase a specific potential of the embedding while keeping the overall performance consistent. As a new dimension, we believe that this method could possibly be replicated to add context to contextless embeddings. \n\nNo, we have not ensured orthogonality in the bases. \n\nWe have added a plot of the before and after the transformation. The plot clearly shows that the compact grouping before transformation is converted to cohesive intra-class grouping and isolated inter-class grouping.\n\nWe would love to hear more from you. \n\nRegards.\n\nThank you for the review. We understand about your concern about the last part on interpretability. We have updated the interpretability part to now include an updated version of the classification test. In this test, we extract the words from wordnet and collect their actual pos tag as per WordNet. Then we generate the Interpretable Syntactic Representation for the word, the dimension with value 1 is most likely to be the pos of the word, so it is selected as the predicted pos tag. Using the actual and predicted tags, we calculate the precision, recall, F1-score and eventually total accuracy in the updated work.\n\nThe intuition behind the improved vectors doing better in tasks is the hierarchical aspect of human learning. As humans, we first identify a topic, know the basics and eventually delve into the related underlying complexities. However, in NLP we have used models which automatically learn the entire hidden representation. Although this method has been useful in many tasks, it has presented newer issues like those of interpretation and biasness. The main idea of hierarchical vectors doing better is that the unigram syntactic representations help to reduce the unneeded semantic nuances and noise, which in turn increases syntactic abilities while keeping the performance consistent overall.\n\nWith respect to the final question, we expected the syntactically similar words to be grouped together, rather than perform well on similarity tasks, as shown in the Qualitative Evaluation section. We have demonstrated through plots that our work was able to provide better groupings but the similarity tests did not show an increase in performance. We did have an improvement in the extrinsic tests, which we have attributed to the aforementioned intuition of hierarchical learning.\n\nWe have updated the evaluations to include tests per word size, singularity value tests and much more. We have changed the title to signify that Syntactic Representations are the ones that are interpretable. \n\nWe would love to hear more from you,\nRegards.",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
5,
|
| 11 |
+
3
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 4.33,
|
| 14 |
+
"score_variance": 1.33,
|
| 15 |
+
"score_spread": 2,
|
| 16 |
+
"score_min": 3,
|
| 17 |
+
"score_max": 5,
|
| 18 |
+
"decision": "Reject",
|
| 19 |
+
"rebuttal_validity_ground_truth": false,
|
| 20 |
+
"meta_review": "This paper presents a method to transform an existing pre-trained word embeddings into syntactic embeddings that make the embeddings better in quality and interpretability. The method proposed is a projection based method based on existing lexical resources like Wordnet. The main issue with this work is that it is really behind in the time to where the community is right now. The utility of non-contextual word embeddings is a big question, and the evaluation benchmarks being used are sets that are quite obsolete now. When contextual embeddings or just pre-trained models provide very strong results on downstream tasks, it is questionable to invest work in non-contextual embeddings that clearly have knows limitations like polysemy. Regarding intepretability, the clustering of similar words is not enough to really prove that vectors are more interpretable. The plots generated differ heavily based on the set of words selected to generate the plot.",
|
| 21 |
+
"forum_id": "ZmbCZw81xf",
|
| 22 |
+
"primary_area": "visualization or interpretation of learned representations",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_AnLo",
|
| 27 |
+
"review_id": "gS29QdyalV",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 5,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 3,
|
| 33 |
+
"confidence": 3
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 1099,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 717057,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_CNTm",
|
| 43 |
+
"review_id": "fEs28UVIKI",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 5,
|
| 46 |
+
"soundness": 3,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 2,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 2805,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 917950,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_qs93",
|
| 59 |
+
"review_id": "DEGkLsWzxN",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 3,
|
| 62 |
+
"soundness": 2,
|
| 63 |
+
"presentation": 3,
|
| 64 |
+
"contribution": 1,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 2818,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1196669,
|
| 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_9124.md
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## INTERPRETABLE SYNTACTIC REPRESENTATIONS ENABLE HIERARCHICAL WORD VECTORS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
The distributed representations currently used are dense and uninterpretable, leading to interpretations that themselves are relative, overcomplete, and hard to interpret. We propose a method that transforms these word vectors into reduced syntactic representations. The resulting representations are compact and interpretable allowing better visualization and comparison of the word vectors and we successively demonstrate that the drawn interpretations are in line with human judgment. The syntactic representations are then used to create hierarchical word vectors using an incremental learning approach similar to the hierarchical aspect of human learning. As these representations are drawn from pre-trained vectors, the generation process and learning approach are computationally efficient. Most importantly, we find out that syntactic representations provide a plausible interpretation of the vectors and subsequent hierarchical vectors outperform the original vectors in benchmark tests.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Distributed representation of words present words as dense vectors in a continuous vector space. These vectors, generated using unsupervised methods such as _Skipgram_ (Mikolov et al., 2013) and _GloVe_ (Pennington et al., 2014), have proven to be very useful in downstream NLP tasks such as parsing (Bansal et al., 2014), named entity recognition (Guo et al., 2014) and sentiment analysis (Socher et al., 2013). Although semi-supervised models like _BERT_ (Devlin et al., 2018) and _ELMO_ (Peters et al., 2018) have demonstrated better performance in downstream tasks, the unsupervised methods are still popular as they are able to derive representations using a raw, unannotated corpora without the need of massive amounts of compute. However, the major problem with nearly all of these methods lie within the word representations themselves as their use can be termed as a _blackbox_ approach.
|
| 14 |
+
|
| 15 |
+
These dense representations comprise of coordinates which by themselves have no meaningful interpretation to humans, for instance, we are unable to distinguish what a ”high” value along a certain coordinate signifies compared to a ”low” value along the same direction. Additionally, this phenomenon also restricts the ability to compare multiple words against each other with respect to individual coordinates. It would appear that the numerical values of a word’s representation are meaningful only with respect to representation of other words, under very specific conditions. So, is it possible to create a representation that is not only comprised of coordinates that are meaningful to humans, but is also made of individual coordinates that enable humans to distinguish between words?
|
| 16 |
+
|
| 17 |
+
Ideally such a representation would be of reduced size and capable of capturing the meaning of the word along absolute coordinates i.e coordinates whose values are meaningful to humans and can be compared against other coordinates. A common absolute that encompasses all words in the vocabulary are the eight parts of speech, namely noun, verb, adjective, adverb, pronoun, preposition, conjunction and interjection. The parts of speech explain the role of a particular word within the given context and with a coarse grained approach, all words can be classified as at least one part of speech. This work, precisely describes the representation of words in a vector space where each coordinate corresponds to one of the eight parts of speech, derived from the pre-trained word vectors via post processing. Such representation would be able to capture the absolute syntactic meaning of
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
a word. For instance, the syntactic representation for the words ”right” and ”I” can be visualized in figure 1.
|
| 22 |
+
|
| 23 |
+
**==> picture [191 x 190] intentionally omitted <==**
|
| 24 |
+
|
| 25 |
+
**==> picture [192 x 191] intentionally omitted <==**
|
| 26 |
+
|
| 27 |
+
**==> picture [340 x 9] intentionally omitted <==**
|
| 28 |
+
|
| 29 |
+
**----- Start of picture text -----**<br>
|
| 30 |
+
(a) Syntactic Representation for right (b) Syntactic Representation for I<br>**----- End of picture text -----**<br>
|
| 31 |
+
|
| 32 |
+
Figure 1: Examples of Syntactic Representations
|
| 33 |
+
|
| 34 |
+
These Syntactic Representations are continuous and highly reduced transformations of the original representations. These representations isolate the syntactic regularities existing within the large original word vectors and when used together in a incremental learning approach as _Hierarchical Vectors_ , outperforms the original vectors in benchmark tests. _Hierarchical Vectors_ utilize the basics of human learning by emulating the hierarchical aspect of learning. As human learning begins with a simple introduction, branches out to tougher topics and further extends to more complex studies in a hierarchical pattern, the incremental approach used in our work intends to emulate such pattern in word vectors. For this, we have generated unigram Syntactic Representations which act as the foundation of learning and further extend to pre-trained vectors as composite vectors. For any downstream evaluation, the model was trained using a composite representation built using the syntactic representation followed by the original vector.
|
| 35 |
+
|
| 36 |
+
Our work introduces a novel approach focusing on isolating syntactic regularities within word vectors, deliberately avoiding state-of-the-art contextual information. Consequently, a notable limitation emerges as the model struggles with handling polysemy in words. However, this limitation aligns with the primary aim of this research, laying the groundwork for a fundamental shift in model interpretability and black-box nature of language models. Our methodology, instead of challenging the state-of-the-art directly, aims to use isolated regularities instead of automatically learned hidden representations, thereby questioning the status-quo. This approach aims to bridge the gap between performance and opacity of language models. In the subsequent sections, we elaborate on our methodology and present experimental results illustrating the effectiveness of our approach.
|
| 37 |
+
|
| 38 |
+
## 2 RELATED WORKS
|
| 39 |
+
|
| 40 |
+
The previous works of interpretability for word embeddings have generally incorporated the idea of sparse and overcomplete vectors (Faruqui et al., 2015)Subramanian et al. (2018)Panigrahi et al. (2019). Some work have considered the use of semantic differentials to create overcomplete vectors. (Mathew et al., 2020)(Engler et al., 2023) Both of these techniques are based on the idea of transformation into higher dimensional vectors which provide better representation of the pre-trained vector. The fundamental problems with these interpretations are producing transformations which are still inherently uninterpretable i.e they would require further transformations like dimensionality reduction or qualitative analysis to be understood. On, the other end of the spectrum, works such as Berger (2020) and Wang et al. (2023) produce visual interpretations, which are mostly useful for analysis of vectors or the vector space than on downstream tasks. Furthermore, post-processing
|
| 41 |
+
|
| 42 |
+
2
|
| 43 |
+
|
| 44 |
+
works such as Mu et al. (2017) and Aboagye et al. (2022) focus on interpretations for specific tasks rather than on the underlying word representations.
|
| 45 |
+
|
| 46 |
+
Our work aims to find the balance between these works to introduce two novel ideas. First, a visualized syntactic representation focused on coarse grained eight parts of speech which can be understood by almost anyone. Secondly hierarchical vectors, built as learning from smaller unigram Syntactic Representation and followed by larger pre-trained vector, emulating the hierarchical human learning process of starting from simple concepts then branching out to related complexities.
|
| 47 |
+
|
| 48 |
+
## 3 SYNTACTIC REPRESENTATIONS
|
| 49 |
+
|
| 50 |
+
The primary objective of generating Syntactic Representations is to convert the dense, continuous word vectors into meaningful vectors with reduced dimensions. These vectors are derived from the original vectors through post-processing methods. Let _V_ be the size of the vocabulary. _**X** ∈_ R _[V][ ×][L]_ is the matrix created by stacking _V_ word vectors of size _L_ , trained using an arbitrary unsupervised word embedding estimator. This matrix represents the original word vectors that will be transformed into syntactic representations.
|
| 51 |
+
|
| 52 |
+
The fundamental idea behind constructing Syntactic Representations is to first establish the syntactic subspace and then project the original word vectors onto this syntactic subspace. To build the syntactic subspace, we leverage linguistic knowledge obtained from a pre-constructed linguistic resource, WordNet (Miller, 1995). WordNet is an extensive lexical database of English, categorizing nouns, verbs, adjectives, and adverbs into sets of cognitive synonyms (synsets), each expressing a distinct concept. We gather words belonging to each part of speech from WordNet and supplement them with frequently used words from other parts of speech to construct the syntactic subspace.
|
| 53 |
+
|
| 54 |
+
Let N denote the set of word vectors for all nouns in WordNet that are also present in the vocabulary. The Noun coordinate of the change of basis matrix, i.e., the transition matrix _**C**_ for the syntactic subspace _**S**_ , can then be obtained as:
|
| 55 |
+
|
| 56 |
+
**==> picture [229 x 30] intentionally omitted <==**
|
| 57 |
+
|
| 58 |
+
where _n ∈_ N represents an individual word vector in N.
|
| 59 |
+
|
| 60 |
+
These coordinates are calculated across all eight parts of speech and stacked to form the transition matrix for the syntactic subspace, _**C** ∈_ R[(] _[V][∩][W]_[)] _[×][8]_ , where _W_ is the vocabulary of all words in WordNet . Let _v ∈ V_ be a word in the vocabulary. For _v_ to be projected into the syntactic subspace, it is necessary that _v ∈ V ∩ W_ .
|
| 61 |
+
|
| 62 |
+
**==> picture [242 x 28] intentionally omitted <==**
|
| 63 |
+
|
| 64 |
+
where ( _**C**[T]_ )[+] denotes the Moore-Penrose generalized inverse of the transpose of the transition matrix (Ben-Israel & Greville, 2003).
|
| 65 |
+
|
| 66 |
+
Therefore, the Syntactic Representations for any word _v ∈ V ∩ W_ can be generated as shown in equation 3. We use the equation to generate three models of Syntactic Representations which have been explained in detail in Appendix A
|
| 67 |
+
|
| 68 |
+
## 4 HIERARCHICAL VECTORS
|
| 69 |
+
|
| 70 |
+
In this work, we introduce Hierarchical Vectors, composite vectors formed by combining derived Syntactic Representations with the original word representations. The central idea behind Hierarchical Vectors is to emulate the human learning process. As humans, we acquire knowledge and wisdom incrementally, gradually developing our understanding, mastering skills, and adapting to changes in our environment. This incremental learning process, while valuable, inadvertently gives rise to bias as a de facto aspect of human behavior.
|
| 71 |
+
|
| 72 |
+
However, the predominant approach in most NLP models relies on word vectors that encapsulate syntactic regularities, semantic nuances, and various linguistic subtleties, all compressed into static
|
| 73 |
+
|
| 74 |
+
3
|
| 75 |
+
|
| 76 |
+
representations. While these pre-trained word vectors provide a strong foundation for language understanding, they often lack the adaptability, interpretability, and means for quantifying bias.
|
| 77 |
+
|
| 78 |
+
To address these limitations, we introduce Hierarchical Vectors, which embrace the concept of incremental learning. This approach entails an initial phase of learning from the reduced Syntactic Representations, followed by the gradual incorporation of the broader original word vectors into the learning process. By employing the incremental learning concept, we aim to isolate the syntactic regularities from the original word vectors, leading to a more refined and enriched representation of the linguistic structures present in the data. This strategic use of incremental learning aids in disentangling the syntactic regularities from the original word vectors, ultimately enhancing their expressiveness and depth. We present the following two models of Hierarchical vectors: Overcomplete and Weighted, which have been explained in detail in Appendix B.
|
| 79 |
+
|
| 80 |
+
## 5 EXPERIMENTAL SETUP
|
| 81 |
+
|
| 82 |
+
As our work does not require any raw text corpus for the generation of representations, we use two popular pretrained word vector representations, **Word2Vec** (Mikolov et al., 2013) with 300 dimensions, trained on 3 million words of the Google News dataset and **GloVe** (Pennington et al., 2014) trained on 2.2 Million words of the Common Crawl dataset.
|
| 83 |
+
|
| 84 |
+
We use the three models of syntactic representations with the two hierarchical vectors to produce six subsequent hierarchical vectors of each of these pretrained vectors. These vectors are then compared against the respective original vectors and their vector siblings. It is important to reiterate that the major intention of this work is to isolate the syntactic regularities from the dense, continuous word vectors to enable interpretation, without improving the performance of the embedding. Rather, we intend to interpret the word vectors without any loss in performance. The notations used henceforth have been explained in Appendix B.3.
|
| 85 |
+
|
| 86 |
+
## 6 EVALUATION
|
| 87 |
+
|
| 88 |
+
## 6.1 BENCHMARK DOWNSTREAM TEST
|
| 89 |
+
|
| 90 |
+
We use the generated Hierarchical Vectors to perform the following benchmark downstream tasks: news classification, noun phrase bracketing, question classification, capturing discriminative attributes, sentiment classification and word similarity. An array of models such as SVC, Random Forest Classifier, Logistic Regression, etc have been used to evaluate the vectors. These tasks are described in detail in Appendix C.
|
| 91 |
+
|
| 92 |
+
## 6.2 EFFECTS OF TRANSFORMATION
|
| 93 |
+
|
| 94 |
+
The effects of transformation have been quantified by evaluating their performances to the performance of the respective base vector. Table 1 shows consistent performance of all iterations of Hierarchical Vectors across both base representations. Notably, we observe that the **WO[A]** vector demonstrates a significant performance boost, excelling in multiple tasks and, on average, outperforming the original Word2Vec vector. Similarly, **GO[L]** also demonstrates excellent performance, outperforming the Glove vector. We have included the results from the POLAR framework (Mathew et al., 2020) to provide an existing baseline, as it is the most recent work similar to ours. This result includes the highest value between _Word2Vec w/ POLAR_ and _GloVe w/ POLAR_ .
|
| 95 |
+
|
| 96 |
+
The exceptions are on the intrinsic word similarity tasks, as presented in Table 7, where the transformed vectors perform worse than the base vectors across various datasets. The assessment of word similarity relies on the Spearman rank correlation coefficient _ρ_ , calculated between the human annotated score and the cosine similarity of the word vector pair. However, it’s crucial to note that word similarity tests primarily serve as an indicator of vector quality. Additionally, as per the work of Faruqui et al. (2016), which illustrates low correlation between word similarity score and extrinsic evaluations, we can observe the same while comparing Tables 1 and 7. Thus, we contend that these similarity scores can be deprioritized in favor of the vectors demonstrated efficacy in practical applications. The similarity scores are summarized in Appendix D.
|
| 97 |
+
|
| 98 |
+
4
|
| 99 |
+
|
| 100 |
+
Table 1: Performance of the Hierarchical Word Vectors across different downstream tasks. Scores represent the observed accuracy as %.
|
| 101 |
+
|
| 102 |
+
|Vectors|Sports<br>Acc.<br>Relig.<br>Acc.<br>Comp.<br>Acc.|NP<br>Acc.|Discr.<br>Acc.|TREC<br>Acc.|Senti.<br>Acc.|Average|
|
| 103 |
+
|---|---|---|---|---|---|---|
|
| 104 |
+
|Word2Vec|93.97<br>83.33<br>76.19|**81.61**|**59.12**|86.8|82.43|80.49|
|
| 105 |
+
|Hierarchical<br>Overcomplete<br>Word2Vec<br>**WOA**<br>**WOI**<br>**WOL**|**96.61**<br>**86.89**<br>**82.63**<br>93.59<br>85.77<br>76.71<br>95.48<br>85.77<br>81.34|78.25<br>79.37<br>80.72|56.55<br>59.09<br>54.41|89.40<br>87.60<br>**89.60**|82.21<br>**82.92**<br>80.78|**81.79**<br>80.72<br>81.16|
|
| 106 |
+
|Hierarchical<br>Weighted<br>Word2Vec<br>**WWA**<br>**WWI**<br>**WWL**|94.22<br>84.10<br>75.16<br>94.10<br>85.77<br>75.68<br>94.22<br>84.10<br>74.65|79.60<br>79.15<br>79.6|59.12<br>59.12<br>59.12|86.20<br>87.00<br>86.20|82.48<br>82.92<br>82.48|80.12<br>80.53<br>80.05|
|
| 107 |
+
|GloVe|**96.61**<br>88.28<br>82.24|**81.39**|65.06|87.20|82.65|83.34|
|
| 108 |
+
|Hierarchical<br>Overcomplete<br>GloVe<br>**GOA**<br>**GOI**<br>**GOL**|95.35<br>87.59<br>**84.68**<br>95.73<br>88.15<br>81.34<br>95.73<br>**88.56**<br>84.17|77.13<br>79.60<br>80.27|60.96<br>**65.11**<br>60.96|85.40<br>88.00<br>**90.20**|82.10<br>82.58<br>**83.68**|81.89<br>82.93<br>**83.37**|
|
| 109 |
+
|Hierarchical<br>Weighted<br>GloVe<br>**GWA**<br>**GWI**<br>**GWL**|96.48<br>**88.56**<br>80.57<br>96.23<br>88.01<br>80.57<br>96.11<br>88.70<br>76.19|76.46<br>79.82<br>78.70|65.02<br>65.06<br>65.02|84.4<br>87.20<br>84.6|82.52<br>80.36<br>82.48|82.00<br>82.46<br>81.69|
|
| 110 |
+
|POLAR|95.10<br>85.20<br>80.20|76.10|63.80|96.40|82.10|82.7|
|
| 111 |
+
|
| 112 |
+
- 6.3 EFFECT OF WORD LIST SIZE
|
| 113 |
+
|
| 114 |
+
**==> picture [244 x 119] intentionally omitted <==**
|
| 115 |
+
|
| 116 |
+
Figure 2: Sport Classification Accuracy per size of word list.
|
| 117 |
+
|
| 118 |
+
As Syntactic Representations are built using directions recovered form list of words, we have evaluated the effect of word list size on some benchmark tests. As the number of occurring words per each class is different i.e naturally nouns, verbs, adverbs and adjectives occur more frequently than pronouns, conjunctions, prepositions and interjections, we have used repeated instances of words to build the higher list sizes. The results in figure 6 surprisingly showed that the change of accuracy was not consistent with the change in size of word list. We have credited this phenomenon to the larger pre-trained vector having more power over the smaller Syntactic Representation.
|
| 119 |
+
|
| 120 |
+
The effect of word size list in remaining text classification tasks can be found in Appendix E.
|
| 121 |
+
|
| 122 |
+
5
|
| 123 |
+
|
| 124 |
+
## 6.4 TEST FOR STATISTICAL SIGNIFICANCE
|
| 125 |
+
|
| 126 |
+
To demonstrate that the observed results were not a case of chance, we have performed a statistical significance test. As suggested by the work of Bouckaert & Frank (2004), we have used 100 runs of random sampling paired with the corrected paired lower-tailed student-t test (Nadeau & Bengio, 1999). We have used this method to check for statistical significance as it considers the ability to replicate results as more important than Type I or Type II errors. Table 2 shows the statistical significance of the generated results.
|
| 127 |
+
|
| 128 |
+
**Hypothesis:**
|
| 129 |
+
|
| 130 |
+
**==> picture [262 x 24] intentionally omitted <==**
|
| 131 |
+
|
| 132 |
+
Table 2: Test for Statistical Significance of the results of the benchmark tests. The degree of freedom for the test is **99** and the considered level of significance ( _α_ ) is **10%** . The scores bolded in the table indicate the tests for which the drawn results are statistically significant.
|
| 133 |
+
|
| 134 |
+
||Sports<br>Accuracy<br>Religion<br>Accuracy<br>Computer<br>Accuracy|NP<br>Accuracy|TREC<br>Accuracy|Sentiment<br>Accuracy|
|
| 135 |
+
|---|---|---|---|---|
|
| 136 |
+
|Word2Vec Mean|95.17<br>87.63<br>76.53|82.37|73.56|79.74|
|
| 137 |
+
|Word2Vec S.D.|1.18<br>2.19<br>2.35|1.54|1.25|0.89|
|
| 138 |
+
|Hierarchical Mean|97.82<br>92.09<br>83.02|81.33|80.90|79.94|
|
| 139 |
+
|Hierarchical S.D.|0.89<br>1.73<br>2.22|1.45|1.08|1.01|
|
| 140 |
+
|**_t_**-statistic|-2.14<br>-2.14<br>-2.34|0.69|-6.07|-0.21|
|
| 141 |
+
|**_p_**-value|**0.02**<br>**0.02**<br>**0.01**|0.75|**0.00**|0.42|
|
| 142 |
+
|Glove Mean|95.51<br>87.69<br>78.41|81.38|72.02|79.80|
|
| 143 |
+
|Glove S.D.|1.18<br>2.20<br>2.41|1.65|1.31|0.96|
|
| 144 |
+
|Hierarchical Mean|97.84<br>91.23<br>85.73|80.43|78.05|77.82|
|
| 145 |
+
|Hierarchical S.D.|0.91<br>2.02<br>1.83|1.57|1.09|0.94|
|
| 146 |
+
|**_t_**-statistic|-2.20<br>-1.49<br>-2.93|0.66|-4.54|1.94|
|
| 147 |
+
|**_p_**-value|**0.02**<br>**0.06**<br>**0.00**|0.74|**0.00**|0.97|
|
| 148 |
+
|
| 149 |
+
## 6.5 EFFECT ON SINGULAR VALUES
|
| 150 |
+
|
| 151 |
+
Following the works of Mu et al. (2017) and Dubossarsky et al. (2020), we perform an evaluation on the singular values of the representation matrices, obtained via Singular Value Decomposition (SVD). The results presented in table 3 display the performance of vectors in a two example tasks accompanied with their largest singular value and condition number. The condition number represents the ratio of the largest singular value to the effective smallest singular value.(Dubossarsky et al., 2020). We can see that the transformation results in high condition number for overcomplete vectors suggests that these vectors may have captured noise, and might need the application of noise reduction techniques.(Ford, 2015) However, the resulting vectors have smaller largest singular number, while maintaining performance, indicating that the post-processing has resulted in successful capture of syntactic regularities and reduction of semantic nuances.
|
| 152 |
+
|
| 153 |
+
## 6.6 EFFECT ON EMBEDDING SPACE
|
| 154 |
+
|
| 155 |
+
We observe that the transformed Syntactic Representation provide better syntactic grouping. Even though, the word2vec embedding space is able to group nouns fairly well, the transformed space
|
| 156 |
+
|
| 157 |
+
6
|
| 158 |
+
|
| 159 |
+
Table 3: Performance of the Hierarchical Word Vectors across different downstream tasks. Scores represent the observed accuracy as %.
|
| 160 |
+
|
| 161 |
+
|Vectors|News<br>Classifcation<br>Accuracy|Sentiment<br>Accuracy|Largest<br>Singular Value|Condition<br>Number|
|
| 162 |
+
|---|---|---|---|---|
|
| 163 |
+
|Word2Vec|84.50|82.43|777.92|5.47|
|
| 164 |
+
|**WOA**<br>**WWA**|88.71<br>84.49|82.21<br>82.48|198.91<br>**161.92**|_>_100000<br>5.68|
|
| 165 |
+
|Glove|89.04|82.65|1689.99|4.78|
|
| 166 |
+
|**GOA**<br>**GWA**|89.21<br>88.54|82.10<br>82.52|1561.38<br>**681.57**|_>_100000<br>10.05|
|
| 167 |
+
|
| 168 |
+
better represents all parts of speech, as indicated clearly by the intra-group cohesion and inter-group isolation in figure 3.
|
| 169 |
+
|
| 170 |
+
**==> picture [191 x 142] intentionally omitted <==**
|
| 171 |
+
|
| 172 |
+
**==> picture [191 x 142] intentionally omitted <==**
|
| 173 |
+
|
| 174 |
+
**==> picture [335 x 9] intentionally omitted <==**
|
| 175 |
+
|
| 176 |
+
**----- Start of picture text -----**<br>
|
| 177 |
+
(a) Embedding space of Word2Vec (b) Transformed Embedding Space<br>**----- End of picture text -----**<br>
|
| 178 |
+
|
| 179 |
+
Figure 3: Effect of transformation on the embedding space
|
| 180 |
+
|
| 181 |
+
## 7 INTERPRETABILITY
|
| 182 |
+
|
| 183 |
+
Our work has stated that the reduced Syntactic Representations allow the words to be compared along an absolute scale while the coordinates also signify the part of speech of the word. To prove this, first we subject the words to a classification experiment based on the words in WordNet. Furthermore, following Faruqui et al. (2015), we conduct a qualitative analysis focusing on individual coordinates.
|
| 184 |
+
|
| 185 |
+
## 7.1 WORD CLASSIFICATION
|
| 186 |
+
|
| 187 |
+
The word classification experiment seeks to examine the extent to which the generated Syntactic Representations are coherent to the word’s part of speech, as given by an oracle. For this experiment, we consider WordNet to be the oracle. We extract all words present in WordNet to generate respective Interpretable Syntactic Representations, as described in section A.2. The dimension of Interpretable Syntactic Representation with value ”1” is selected as the predicted label, for eg, in figure 1 the label of **right** is **noun** and that of **I** is **pronoun** .
|
| 188 |
+
|
| 189 |
+
As WordNet contains words which have more than one label, we conduct the classification in two ways: Partial and Complete. The Partial classification considers words belonging to only one part of
|
| 190 |
+
|
| 191 |
+
7
|
| 192 |
+
|
| 193 |
+
Table 4: Performance of the Interpretable Syntactic Representations on word classification task. The scores are described as per the four parts of speech in the oracle per each dataset.
|
| 194 |
+
|
| 195 |
+
|Dataset|Pos|Word2Vec|Word2Vec|Word2Vec|Glove|Glove|Glove|
|
| 196 |
+
|---|---|---|---|---|---|---|---|
|
| 197 |
+
|||Precision|Recall|F1-score|Precision|Recall|F1-score|
|
| 198 |
+
|Partial|Noun<br>Verb<br>Adjective<br>Adverb|0.80<br>0.82<br>0.80<br>0.87|0.90<br>0.80<br>0.72<br>0.49|0.85<br>0.81<br>0.75<br>0.63|0.75<br>0.88<br>0.88<br>0.88|0.96<br>0.80<br>0.54<br>0.84|0.84<br>0.84<br>0.67<br>0.86|
|
| 199 |
+
|**Accuracy**||**80.33%**|||79.21%|||
|
| 200 |
+
|Complete|Noun<br>Verb<br>Adjective<br>Adverb|0.76<br>0.56<br>0.74<br>0.81|0.82<br>0.66<br>0.67<br>0.45|0.79<br>0.60<br>0.70<br>0.58|0.72<br>0.62<br>0.81<br>0.82|0.88<br>0.68<br>0.52<br>0.82|0.79<br>0.65<br>0.63<br>0.82|
|
| 201 |
+
|**Accuracy**||73.00%|||**73.58%**|||
|
| 202 |
+
|
| 203 |
+
speech while the Complete classification considers all words. The classification results can be seen in table 4. The respective confusion matrices are presented in Appendix F.
|
| 204 |
+
|
| 205 |
+
**==> picture [230 x 119] intentionally omitted <==**
|
| 206 |
+
|
| 207 |
+
Figure 4: Word Classification Accuracy per size of word list.
|
| 208 |
+
|
| 209 |
+
As the oracle is restrained to four parts of speech, the interpretation suffers from the same issue. To overcome this, we have presented a coarse grained eight class classification in Appendix G using the Google Text Normalization Challenge - English Language dataset[1] . The 36 tags were conflated to 8 and evaluated using the aforementioned technique. From the results, we can see that the number of pronouns, conjunctions, prepositions and interjections are very low. Thus, as in an even fine grained approach the number of samples per class would be even lower, we have not pursued interpretations in terms of modals, determiners, etc.
|
| 210 |
+
|
| 211 |
+
The effect of size of Syntactic Representation on Interpretability have been presented in figure 4. We can clearly see that the Interpretable Syntactic Representations drawn from a larger word list preform better than their counterparts.
|
| 212 |
+
|
| 213 |
+
## 7.2 QUALITATIVE EVALUATION OF INTERPRETABILITY
|
| 214 |
+
|
| 215 |
+
Following Faruqui et al. (2015), we perform a qualitative evaluation of interpretability. Given a vector with interpretable dimensions, it is necessary that the top-ranking words for that dimension
|
| 216 |
+
|
| 217 |
+
> 1[URL removed]
|
| 218 |
+
|
| 219 |
+
8
|
| 220 |
+
|
| 221 |
+
Table 5: Top-ranked words per dimension for Interpretable Syntactic Representations.
|
| 222 |
+
|
| 223 |
+
|Dimension|Top Ranking Words|
|
| 224 |
+
|---|---|
|
| 225 |
+
|Noun|vpnvpn, northbrook, forida, michigan, maryland, oregon, nj, illinois, missouri, wash-<br>ington, virginia|
|
| 226 |
+
|Verb|personlise, journal, profle, repairs, reorganize, demoralize, marginalize, disassemble,<br>retool, list, decompile|
|
| 227 |
+
|Adjective|sporophores, leptonic, savourest, scarious, formless, unspiritual, unipotent, undeformed,<br>unworldly, nonsubstantive|
|
| 228 |
+
|Adverb|jacketss, agitatedly, moodily, ponderously, conspiratorially, inelegantly, cockily,<br>somberly, indelicately, bmtron|
|
| 229 |
+
|Pronoun|unto, hath, believeth, saith, thy, heareth, knoweth, receiveth, thou, thine, whosoever,<br>doeth, thyself, keepeth, saidst|
|
| 230 |
+
|Conjunction|checkour, checkthese, nevertheless, additionally, nonetheless, chymbers, lynters, how-<br>ever, tyrryts, chyrits, also|
|
| 231 |
+
|Preposition|across, between, toward, million, around, over, billion, from, through, approximately,<br>onto, towards, ranging, per, into|
|
| 232 |
+
|Interjection|ahhh, ahh, hahaha, awww, ohh, oooh, hahahaha, haha, ohhh, omg, hahah, gosh, ooh,<br>awwww, yay|
|
| 233 |
+
|
| 234 |
+
exhibit semantic or syntactic groupings. As we have worked to isolate syntactic regularities from pre-trained representations, we perform this evaluation to test for syntactic grouping of the topranking words along all coordinates.
|
| 235 |
+
|
| 236 |
+
As shown in table 5, we find that the representations are able to produce excellent syntactic groupings and the produced groups are coherent with the built dimension. Faruqui et al. (2015) was able to present qualitative analysis using semantic groupings without any labels, however our work uses a coarse-grained approach to produce better interpretations based on predetermined labels.
|
| 237 |
+
|
| 238 |
+
## 8 LIMITATION
|
| 239 |
+
|
| 240 |
+
The major limitation of our work is **Polysemy** . As we have used non-contextual embeddings as base vectors, our work cannot distinguish senses. However, the counter to this is that our method also does not conflate the word to one part of speech as we use a most likely definition to select the label using Interpretable Syntactic Representation. Furthermore, our work also demonstrates the syntactic boost received by applying isolated syntactic regularities along with the pre-trained vector. This presents a new possible dimension of adding context on top of non-contextual vectors to avoid existing problems in state-of-the-art embedding generators.
|
| 241 |
+
|
| 242 |
+
## 9 CONCLUSION
|
| 243 |
+
|
| 244 |
+
In conclusion, our findings offer a novel approach to embedding learning in the realm of natural language processing. By focusing on isolating and refining syntactic regularities within word vectors, we provide a new path forward in the field. Our work demonstrates the potential for presenting compact and visualizable representations which can also be used for downstream tasks. Our work presents the major evidence that word embeddings can be supplemented by isolated regularities to improve performance in specific tasks while maintaining performance overall, potentially suggesting a solution to the status-quo with a new dimension of context on top of non-contextual vectors.
|
| 245 |
+
|
| 246 |
+
9
|
| 247 |
+
|
| 248 |
+
## REFERENCES
|
| 249 |
+
|
| 250 |
+
- Prince Osei Aboagye, Yan Zheng, Jack Shunn, Chin-Chia Michael Yeh, Junpeng Wang, Zhongfang Zhuang, Huiyuan Chen, Liang Wang, Wei Zhang, and Jeff Phillips. Interpretable debiasing of vectorized language representations with iterative orthogonalization. In _The Eleventh International Conference on Learning Representations_ , 2022.
|
| 251 |
+
|
| 252 |
+
- Mohit Bansal, Kevin Gimpel, and Karen Livescu. Tailoring continuous word representations for dependency parsing. In _Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)_ , pp. 809–815, 2014.
|
| 253 |
+
|
| 254 |
+
- Adi Ben-Israel and Thomas NE Greville. _Generalized inverses: theory and applications_ , volume 15. Springer Science & Business Media, 2003.
|
| 255 |
+
|
| 256 |
+
- Matthew Berger. Visually analyzing contextualized embeddings. In _2020 IEEE Visualization Conference (VIS)_ , pp. 276–280. IEEE, 2020.
|
| 257 |
+
|
| 258 |
+
- Remco R Bouckaert and Eibe Frank. Evaluating the replicability of significance tests for comparing learning algorithms. In _Pacific-Asia conference on knowledge discovery and data mining_ , pp. 3–12. Springer, 2004.
|
| 259 |
+
|
| 260 |
+
- Elia Bruni, Nam-Khanh Tran, and Marco Baroni. Multimodal distributional semantics. _Journal of artificial intelligence research_ , 49:1–47, 2014.
|
| 261 |
+
|
| 262 |
+
- 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.
|
| 263 |
+
|
| 264 |
+
- Haim Dubossarsky, Ivan Vuli´c, Roi Reichart, and Anna Korhonen. The secret is in the spectra: Predicting cross-lingual task performance with spectral similarity measures. _arXiv preprint arXiv:2001.11136_ , 2020.
|
| 265 |
+
|
| 266 |
+
- Jan Engler, Sandipan Sikdar, Marlene Lutz, and Markus Strohmaier. Sensepolar: Word sense aware interpretability for pre-trained contextual word embeddings. _arXiv preprint arXiv:2301.04704_ , 2023.
|
| 267 |
+
|
| 268 |
+
- Manaal Faruqui, Yulia Tsvetkov, Dani Yogatama, Chris Dyer, and Noah Smith. Sparse overcomplete word vector representations. _arXiv preprint arXiv:1506.02004_ , 2015.
|
| 269 |
+
|
| 270 |
+
- Manaal Faruqui, Yulia Tsvetkov, Pushpendre Rastogi, and Chris Dyer. Problems with evaluation of word embeddings using word similarity tasks. _arXiv preprint arXiv:1605.02276_ , 2016.
|
| 271 |
+
|
| 272 |
+
- Lev Finkelstein, Evgeniy Gabrilovich, Yossi Matias, Ehud Rivlin, Zach Solan, Gadi Wolfman, and Eytan Ruppin. Placing search in context: The concept revisited. In _Proceedings of the 10th international conference on World Wide Web_ , pp. 406–414, 2001.
|
| 273 |
+
|
| 274 |
+
- William Ford. Chapter 15 - the singular value decomposition. In William Ford (ed.), _Numerical Linear Algebra with Applications_ , pp. 299–320. Academic Press, Boston, 2015. ISBN 978-0-12394435-1. doi: [URL removed] URL [URL removed] sciencedirect.com/science/article/pii/B9780123944351000156.
|
| 275 |
+
|
| 276 |
+
- Jiang Guo, Wanxiang Che, Haifeng Wang, and Ting Liu. Revisiting embedding features for simple semi-supervised learning. In _Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP)_ , pp. 110–120, 2014.
|
| 277 |
+
|
| 278 |
+
- Guy Halawi, Gideon Dror, Evgeniy Gabrilovich, and Yehuda Koren. Large-scale learning of word relatedness with constraints. In _Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining_ , pp. 1406–1414, 2012.
|
| 279 |
+
|
| 280 |
+
- Felix Hill, Roi Reichart, and Anna Korhonen. Simlex-999: Evaluating semantic models with (genuine) similarity estimation. _Computational Linguistics_ , 41(4):665–695, 2015.
|
| 281 |
+
|
| 282 |
+
- Alicia Krebs, Alessandro Lenci, and Denis Paperno. Semeval-2018 task 10: Capturing discriminative attributes. In _Proceedings of the 12th international workshop on semantic evaluation_ , pp. 732–740, 2018.
|
| 283 |
+
|
| 284 |
+
10
|
| 285 |
+
|
| 286 |
+
- Angeliki Lazaridou, Eva Maria Vecchi, and Marco Baroni. Fish transporters and miracle homes: How compositional distributional semantics can help np parsing. In _Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing_ , pp. 1908–1913, 2013.
|
| 287 |
+
|
| 288 |
+
- Xin Li and Dan Roth. Learning question classifiers. In _COLING 2002: The 19th International Conference on Computational Linguistics_ , 2002.
|
| 289 |
+
|
| 290 |
+
- Mitchell Marcus, Beatrice Santorini, and Mary Ann Marcinkiewicz. Building a large annotated corpus of english: The penn treebank. 1993.
|
| 291 |
+
|
| 292 |
+
- Binny Mathew, Sandipan Sikdar, Florian Lemmerich, and Markus Strohmaier. The polar framework: Polar opposites enable interpretability of pre-trained word embeddings. In _Proceedings of The Web Conference 2020_ , pp. 1548–1558, 2020.
|
| 293 |
+
|
| 294 |
+
- 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.
|
| 295 |
+
|
| 296 |
+
- George A Miller. Wordnet: a lexical database for english. _Communications of the ACM_ , 38(11): 39–41, 1995.
|
| 297 |
+
|
| 298 |
+
- Jiaqi Mu, Suma Bhat, and Pramod Viswanath. All-but-the-top: Simple and effective postprocessing for word representations. _arXiv preprint arXiv:1702.01417_ , 2017.
|
| 299 |
+
|
| 300 |
+
- Claude Nadeau and Yoshua Bengio. Inference for the generalization error. _Advances in neural information processing systems_ , 12, 1999.
|
| 301 |
+
|
| 302 |
+
- Abhishek Panigrahi, Harsha Vardhan Simhadri, and Chiranjib Bhattacharyya. Word2sense: Sparse interpretable word embeddings. In _Proceedings of the 57th annual meeting of the Association for Computational Linguistics_ , pp. 5692–5705, 2019.
|
| 303 |
+
|
| 304 |
+
- Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. In _Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP)_ , pp. 1532–1543, 2014.
|
| 305 |
+
|
| 306 |
+
- Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations, 2018.
|
| 307 |
+
|
| 308 |
+
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In _Proceedings of the 2013 conference on empirical methods in natural language processing_ , pp. 1631–1642, 2013.
|
| 309 |
+
|
| 310 |
+
- Anant Subramanian, Danish Pruthi, Harsh Jhamtani, Taylor Berg-Kirkpatrick, and Eduard Hovy. Spine: Sparse interpretable neural embeddings. In _Proceedings of the AAAI conference on artificial intelligence_ , volume 32, 2018.
|
| 311 |
+
|
| 312 |
+
- Zijie J Wang, Fred Hohman, and Duen Horng Chau. Wizmap: Scalable interactive visualization for exploring large machine learning embeddings. _arXiv preprint arXiv:2306.09328_ , 2023.
|
| 313 |
+
|
| 314 |
+
## A TYPES OF SYNTACTIC REPRESENTATIONS
|
| 315 |
+
|
| 316 |
+
- A.1 ABSOLUTE SYNTACTIC REPRESENTATIONS
|
| 317 |
+
|
| 318 |
+
These Syntactic Representations are the actual outcomes obtained through post-processing of the original vectors. Unlike conventional normalization, which scales data to a specific range, we intentionally preserve these representations in their unnormalized form. The absolute representations for all parts of speech are constructed based on the words within each category from WordNet, ensuring that these words are also included in the vocabulary of the arbitrary word vector generator.
|
| 319 |
+
|
| 320 |
+
11
|
| 321 |
+
|
| 322 |
+
## A.2 INTERPRETABLE SYNTACTIC REPRESENTATIONS
|
| 323 |
+
|
| 324 |
+
These Syntactic Representations are thoughtfully presented in an interpretable format, ensuring their accessibility and utility. They are derived using a normalization process that scales them to a range between 0.5 and 1 to ensure that each coordinate in the representation has a value. In this normalized context, the value 1 serves as a clear indicator that the vectors correspond to a specific class.
|
| 325 |
+
|
| 326 |
+
If _**S**_ represents the Syntactic Representations, the Interpretable Syntactic Representation, _**I**_ , for coordinate _i_ can be calculated as:
|
| 327 |
+
|
| 328 |
+
**==> picture [247 x 22] intentionally omitted <==**
|
| 329 |
+
|
| 330 |
+
where,
|
| 331 |
+
|
| 332 |
+
**==> picture [278 x 25] intentionally omitted <==**
|
| 333 |
+
|
| 334 |
+
## A.3 L2 NORMALIZED SYNTACTIC REPRESENTATIONS
|
| 335 |
+
|
| 336 |
+
These Syntactic Representations have been meticulously normalized such that their all the square sum of the coordinate values equals to one. The process of normalization is crucial as it ensures that the representations are consistent and comparable.
|
| 337 |
+
|
| 338 |
+
If _**S**_ represents the Syntactic Representations, the L2 Normalized Syntactic Representation, _**L**_ , for coordinate _i_ can be calculated as:
|
| 339 |
+
|
| 340 |
+
**==> picture [237 x 32] intentionally omitted <==**
|
| 341 |
+
|
| 342 |
+
## B TYPES OF HIERARCHICAL VECTORS
|
| 343 |
+
|
| 344 |
+
## B.1 OVERCOMPLETE HIERARCHICAL VECTORS
|
| 345 |
+
|
| 346 |
+
We leverage both the Syntactic Representations and the original vectors of a word to generate Overcomplete Hierarchical Vector for that word. Let _**V**[s] ∈_ R[1] _[×]_[8] and _**V**[r] ∈_ R[1] _[×][L]_ represent the Syntactic Representation and the original representation of the word _v_ , respectively. The Overcomplete Hierarchical Vectors for _v_ can then be computed as follows:
|
| 347 |
+
|
| 348 |
+
**==> picture [233 x 10] intentionally omitted <==**
|
| 349 |
+
|
| 350 |
+
where _⊗_ represents the Kronecker product and _**V**[o] ∈_ R[1] _[×]_[(8] _[×][L]_[)] represents the Overcomplete Hierarchical Vectors.
|
| 351 |
+
|
| 352 |
+
## B.2 WEIGHTED HIERARCHICAL VECTORS
|
| 353 |
+
|
| 354 |
+
We use the coordinate values in the Syntactic Representations as weights for the original vector of the word, to generate the Weighted Hierarchical Vector for that word. Let _**V**[s] ∈_ R[1] _[×]_[8] and _**V**[r] ∈_ R[1] _[×][L]_ represent the Syntactic Representation and the original representation of the word _v_ , respectively. Each coordinate of the Weighted Hierarchical Vector for _v_ can then be computed as follows:
|
| 355 |
+
|
| 356 |
+
**==> picture [243 x 30] intentionally omitted <==**
|
| 357 |
+
|
| 358 |
+
where _j ∈_ [ _a, b_ ].
|
| 359 |
+
|
| 360 |
+
The coordinates for the Weighted Hierarchical Vectors are calculated as the element-wise weighted average of the original vector by the Syntactic Representations. The resulting Weight Hierarchical Vector will be of the same dimension as the original vector, i.e _**V**[w] ∈_ R[1] _[×][L]_ .
|
| 361 |
+
|
| 362 |
+
12
|
| 363 |
+
|
| 364 |
+
## B.3 NOTATIONS
|
| 365 |
+
|
| 366 |
+
Table 6: Notations and their respective meanings
|
| 367 |
+
|
| 368 |
+
## **NOTATION**
|
| 369 |
+
|
| 370 |
+
|||**NOTATION**|
|
| 371 |
+
|---|---|---|
|
| 372 |
+
|**W**|:|Pretrained Word2Vec Representations|
|
| 373 |
+
|**WOA**|:|Hierarchical Overcomplete Absolute Word2Vec|
|
| 374 |
+
|**WOI**|:|Hierarchical Overcomplete Interpretable Word2Vec|
|
| 375 |
+
|**WOL**|:|Hierarchical Overcomplete L2 Word2Vec|
|
| 376 |
+
|**WWA**|:|Hierarchical Weighted Absolute Word2Vec|
|
| 377 |
+
|**WWI**|:|Hierarchical Weighted Interpretable Word2Vec|
|
| 378 |
+
|**WWL**|:|Hierarchical Weighted L2 Word2Vec|
|
| 379 |
+
|**G**|:|Pretrained GloVe Representations|
|
| 380 |
+
|**GOA**|:|Hierarchical Overcomplete Absolute GloVe|
|
| 381 |
+
|**GOI**|:|Hierarchical Overcomplete Interpretable GloVe|
|
| 382 |
+
|**GOL**|:|Hierarchical Overcomplete L2 GloVe|
|
| 383 |
+
|**GWA**|:|Hierarchical Weighted Absolute GloVe|
|
| 384 |
+
|**GWI**|:|Hierarchical Weighted Interpretable GloVe|
|
| 385 |
+
|**GWL**|:|Hierarchical Weighted L2 GloVe|
|
| 386 |
+
|
| 387 |
+
## C BENCHMARK DOWNSTREAM TESTS
|
| 388 |
+
|
| 389 |
+
## C.1 NEWS CLASSIFICATION
|
| 390 |
+
|
| 391 |
+
Following Faruqui et al. (2015), we use the 20 news-groups dataset[2] and consider three binary classification tasks, namely on the Sports dataset, Religion dataset and the Computer dataset. Each of these tasks consisted of classifying the dataset into two distinct classes: _Hockey_ vs _Baseball_ for the Sports dataset with a training/validation/test split of 957/240/796, _Atheism_ vs _Christian_ for the Religion dataset with a training/validation/test split of 863/216/717 and _IBM_ vs _Mac_ for the Computer dataset with a training/validation/test split of 934/234/777. As in, Subramanian et al. (2018), we use the average of the Hierarchical Vectors of the words in a given sentence as features for classification.
|
| 392 |
+
|
| 393 |
+
## C.2 NOUN PHRASE BRACKETING
|
| 394 |
+
|
| 395 |
+
We evaluate the generated Hierarchical Vectors on the NP Bracketing task (Lazaridou et al., 2013), where a noun phrase of three words is categorized as either left beacketed or right bracketed. For instance, given a noun phrase _monthly cash flow_ , the task is to decide whether the phrase is _{(monthly cash) (flow)}_ or _{(monthly) (cash flow)}_ . We used the dataset consisting of 2,227 noun phrases, built using the Penn Treebank (Marcus et al., 1993), in a training/validation/test split of 1602/179/446 data instances. We performed the task by obtaining the feature vector by averaging over the vectors of words in the phrase. SVC (with both Linear and RBF kernel), Random Forest Classifier and Logistic Regression was used for the task, and we use the model with highest validation accuracy for tesing purposes.
|
| 396 |
+
|
| 397 |
+
> 2[URL removed] _∼_ jason/20Newsgroups/
|
| 398 |
+
|
| 399 |
+
13
|
| 400 |
+
|
| 401 |
+
## C.3 CAPTURING DISCRIMINATIVE ATTRIBUTES
|
| 402 |
+
|
| 403 |
+
The Capturing Discriminative Attributes task was proposed by Krebs et al. (2018) as a novel task for semantic difference detection, as Task 10 of the SemEval 2018 workshop. The fundamental understanding behind this task was to check if an attribute could be used to discriminate between two concepts. For instance, the model must be able to determine that _straps_ is the discriminating attribute between two concepts, _sandals_ and _gloves_ . This task is a binary classification task on the given SemEval 2018 Task 10 dataset consisting of triplets (in the form _(concept1, concept2, attribute)_ ) with a train/test/validation split of 17501/2722/2340. As suggested in Krebs et al. (2018), we use the unsupervised distributed vector cosine baseline on the entire data regardless of the training/validation/test split. The main idea is that cosine similarity between the attribute and each concept must enable in discriminating between the concepts.
|
| 404 |
+
|
| 405 |
+
## C.4 QUESTION CLASSIFICATION (TREC)
|
| 406 |
+
|
| 407 |
+
To assist in Question Answering, Li & Roth (2002) proposed a dataset to categorize a given question into one of six different classes, eg. whether the question is about a person, some numeric information or a certain location. The TREC dataset is made up of 5452 labeled questions as the training dataset and a test dataset of 500 questions. By isolating 10% as the validation dataset, we have a training/validation/test split of 4906/546/500 questions. As in previous tasks, we construct the feature vector by averaging over the vectors of the constituent words in the question. We train with different classification models and perform the test using the model with the highest reported validation accuracy.
|
| 408 |
+
|
| 409 |
+
## C.5 SENTIMENT ANALYSIS
|
| 410 |
+
|
| 411 |
+
The Semantic Analysis task involves testing the semantic property of the word vectors by categorizing a given sentence into a positive or negative class. This test is performed using the Stanford Sentiment Treebank dataset (Socher et al., 2013) which consists of a training/dev/test split of 6920/872/1821 sentences. We generate the feature vector by averaging over all constituent words of the sentence, only on the data instances with non-neutral labels, and report the test accuracy obtained by the model with the highest validation accuracy.
|
| 412 |
+
|
| 413 |
+
## C.6 WORD SIMILARITY
|
| 414 |
+
|
| 415 |
+
The Word Similarity test intends to capture the closeness between a pair of related words. We use an array of datasets namely, Simlex-999 (Hill et al., 2015), WS353, WS353-S and WS353-R (Finkelstein et al., 2001), MEN (Bruni et al., 2014) and MT-771 (Halawi et al., 2012). Each pair of data in all of these datasets are annotated a human generated similarity score. We compute the cosine similarity of all of the pairs of words in each of the above dataset and report the Spearman’s rank correlation coefficient _ρ_ between the model generated similarity and the human annotated similarity. Only the pairs where both words were present in the vocabulary have been considered for this test.
|
| 416 |
+
|
| 417 |
+
14
|
| 418 |
+
|
| 419 |
+
## D RESULT OF WORD SIMILARITY EXPERIMENTS
|
| 420 |
+
|
| 421 |
+
Table 7: Performance of the Hierarchical Word Vectors across different word similarity tasks. Scores represent _ρ_ as %
|
| 422 |
+
|
| 423 |
+
|Vectors|Simlex-<br>999|WS353|WS353-S|WS353-R|MEN|MT-771|
|
| 424 |
+
|---|---|---|---|---|---|---|
|
| 425 |
+
|Word2Vec|**44.20**|**69.41**|**77.71**|**62.19**|**78.2**|**67.13**|
|
| 426 |
+
|Hierarchical<br>Overcomplete<br>Word2Vec<br>**WOA**<br>**WOI**<br>**WOL**|36.89<br>43.94<br>24.00|58.8<br>69.13<br>40.67|69.58<br>77.39<br>52.64|49.79<br>62.00<br>27.60|58.46<br>78.03<br>43.02|51.39<br>66.99<br>25.88|
|
| 427 |
+
|Hierarchical<br>Weighted<br>Word2Vec<br>**WOA**<br>**WOI**<br>**WOL**|**44.20**<br>**44.20**<br>**44.20**|**69.41**<br>**69.41**<br>**69.41**|**77.71**<br>**77.71**<br>**77.71**|**62.19**<br>**62.19**<br>**62.19**|**78.2**<br>**78.2**<br>**78.2**|**67.13**<br>**67.13**<br>**67.13**|
|
| 428 |
+
|GloVe|**40.83**|71.24|80.15|**64.43**|80.49|**71.53**|
|
| 429 |
+
|Hierarchical<br>Overcomplete<br>GloVe<br>**GOA**<br>**GOI**<br>**GOL**|29.81<br>40.45<br>29.81|58.51<br>**71.27**<br>58.51|71.86<br>**80.30**<br>71.86|46.19<br>64.42<br>46.19|68.57<br>**80.52**<br>68.57|56.30<br>71.43<br>56.30|
|
| 430 |
+
|Hierarchical<br>Weighted<br>GloVe<br>**GWA**<br>**GWI**<br>**GWL**|40.33<br>**40.83**<br>40.33|71.24<br>71.24<br>71.24|80.15<br>80.15<br>80.15|**64.43**<br>**64.43**<br>**64.43**|80.49<br>80.49<br>80.49|71.44<br>**71.53**<br>71.44|
|
| 431 |
+
|
| 432 |
+
## E EFFECT OF WORD LIST SIZE
|
| 433 |
+
|
| 434 |
+
**==> picture [242 x 119] intentionally omitted <==**
|
| 435 |
+
|
| 436 |
+
Figure 5: Religion Classification Accuracy per size of word list.
|
| 437 |
+
|
| 438 |
+
15
|
| 439 |
+
|
| 440 |
+
**==> picture [242 x 119] intentionally omitted <==**
|
| 441 |
+
|
| 442 |
+
Figure 6: Computer Classification Accuracy per size of word list.
|
| 443 |
+
|
| 444 |
+
- F WORD CLASSIFICATION WORDNET
|
| 445 |
+
|
| 446 |
+
**==> picture [191 x 107] intentionally omitted <==**
|
| 447 |
+
|
| 448 |
+
**==> picture [191 x 107] intentionally omitted <==**
|
| 449 |
+
|
| 450 |
+
**==> picture [385 x 161] intentionally omitted <==**
|
| 451 |
+
|
| 452 |
+
**----- Start of picture text -----**<br>
|
| 453 |
+
Accuracy = 79.21% Accuracy = 80.33%<br>(a) Partial Word Classification for Glove (b) Partial Word Classification for Word2Vec<br>Accuracy = 73.58% Accuracy = 73.00%<br>(c) Complete Word Classification for Glove (d) Complete Word Classification for Word2Vec<br>**----- End of picture text -----**<br>
|
| 454 |
+
|
| 455 |
+
Figure 7: Result of the Word Classification experiment. Accuracy represents the ratio of number of true positive predictions to number of total predictions made in %.
|
| 456 |
+
|
| 457 |
+
16
|
| 458 |
+
|
| 459 |
+
G WORD CLASSIFICATION GOOGLE
|
| 460 |
+
|
| 461 |
+
**==> picture [191 x 98] intentionally omitted <==**
|
| 462 |
+
|
| 463 |
+
**==> picture [191 x 98] intentionally omitted <==**
|
| 464 |
+
|
| 465 |
+
**==> picture [381 x 25] intentionally omitted <==**
|
| 466 |
+
|
| 467 |
+
**----- Start of picture text -----**<br>
|
| 468 |
+
Accuracy = 60.11% Accuracy = 58.78%<br>(a) Eight Class Word Classification using Glove (b) Eight Class Classification using Word2Vec<br>**----- End of picture text -----**<br>
|
| 469 |
+
|
| 470 |
+
Figure 8: Result of the Word Classification experiment. Accuracy represents the ratio of number of true positive predictions to number of total predictions made in %.
|
| 471 |
+
|
| 472 |
+
17
|
| 473 |
+
|
open_review/iclr2024_9127.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9127",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "DfPO: Degeneration-free Policy Optimization via Action Masking in Natural Language Action Spaces",
|
| 6 |
+
"abstract": "As the pre-training objectives (e.g., next token prediction) of language models (LMs) are inherently not aligned with task scores, optimizing LMs to achieve higher downstream task scores is essential. One of the promising approaches is to fine-tune LMs by using reinforcement learning (RL). However, conventional RL methods based on PPO and a penalty of KL divergence are vulnerable to the text degeneration problem which LMs do not generate natural texts anymore after RL fine-tuning. To address this problem, we provide Degeneration-free Policy Optimization (DfPO) that can fine-tune LMs to generate texts that achieve improved downstream task scores, while preserving the naturalness of the generated texts. To achieve this, we introduce action-masked policy with which a behavior policy can avoid to select tokens that potentially make policy optimization unexpected. Then, we devise clipped advantage functions to separately perform likelihood maximization and minimization, conditioned on texts sampled from the action-masked policy. Our experiments on the GRUE benchmark demonstrate that DfPO successfully improves the downstream task scores, while preserving the naturalness of the generated texts. Moreover, even DfPO does not perform hyperparameter search, it outperforms PPO and NLPO which require additional hyperparameter search for the penalty ratio of KL divergence.",
|
| 7 |
+
"rebuttal": "### General Response\nWe thank all the reviewers for their constructive feedback and comments. Below we summarize the improvements and modifications we made through the rebuttal. If you have any additional questions or concerns to our response, we are happy to provide additional responses during the rebuttal period.\n\nThe detailed improvements and modifications in the revision are summarized as follows: \n\n**[Experiments]**\n\n- Additional results and analysis for the additional baselines (DPO and PPO+SFT) to address the suggestions provided by Reviewer **99mP** and **6zCc** (DPO in **Appendix F** and PPO+SFT in **Appendix C.5**).\n- Additional results with varying policy for inference to address the questions provided by Reviewer **wZxt** and **6zCc** (**Appendix C.6**).\n- Additional results of learning curve on commonsense generation task to address the questions provided by Reviewer **wZxt** (**Appendix C.4**).\n\n**[Writing]**\n\n- Clarification of our contribution (change \"outperforms PPO/NLPO\" to \"achieves similar performance to PPO/NLPO without any hyperparameter search\") to address the suggestions provided by Reviewer **wZxt** (**Abstract, Section 1, 5, and 6**). \n- Reorganization for more rigorous explanation to address the suggestions provided by Reviewer **wZxt** (**Section 2, 3**). \n- Detailed explanation of how our main objective was derived based on the objective of PPO to address the questions provided by Reviewer **wZxt** (**Appendix E**).\n- To eliminate the confusion, we removed the notations for $A_{\\text{natural}}^{\\pi_\\theta}(s,a)$ and reorganized the equations more rigorously to address the questions provided by Reviewer **wZxt** and **99mP** (**Section 2, 3**).\n\n### Gentle Reminder\nDear Reviewer hR6e,\n\nThanks again for your constructive feedback and comments. As the discussion period is soon to end, we would like to know if your questions and concerns have been resolved by our response and revision. We would be grateful if you could offer feedback on our rebuttal, and if your questions and concerns have been resolved by our rebuttal, we hope you update your rating accordingly. We appreciate the reviewer's insightful and constructive comments once again.\n\nBest,\n\nAuthors\n\n### Gentle Reminder\nDear Reviewer 6zCc,\n\nThanks again for your constructive feedback and comments. As the discussion period is soon to end, we would like to know if your questions and concerns have been resolved by our response and revision. We would be grateful if you could offer feedback on our rebuttal, and if your questions and concerns have been resolved by our rebuttal, we hope you update your rating accordingly. We appreciate the reviewer's insightful and constructive comments once again.\n\nBest,\n\nAuthors\n\n### Gentle Reminder\nDear Reviewer 99mP,\n\nThanks again for your constructive feedback and comments. As the discussion period is soon to end, we would like to know if your questions and concerns have been resolved by our response and revision. We would be grateful if you could offer feedback on our rebuttal, and if your questions and concerns have been resolved by our rebuttal, we hope you update your rating accordingly. We appreciate the reviewer's insightful and constructive comments once again.\n\nBest,\n\nAuthors\n\n### Gentle Reminder\nDear Reviewer wZxt,\n\nThanks again for your constructive feedback and comments. As the discussion period is soon to end, we would like to know if your questions and concerns have been resolved by our response and revision. We would be grateful if you could offer feedback on our rebuttal, and if your questions and concerns have been resolved by our rebuttal, we hope you update your rating accordingly. We appreciate the reviewer's insightful and constructive comments once again.\n\nBest,\n\nAuthors\n\n### Response to Reviewer 6zCc\nThank you for your constructive feedback and comments. Please feel free to ask any additional follow-up questions.\n\n**[Responses to Weaknessess]**\n\n**W1-1) When and how do the samples in the red area of Table.1 become undesired samples?**\n\nWhen samples in the red area are used for policy update through likelihood max/minimization (i.e. policy gradient), they become undesired samples. For example, in the case of samples in the red area at the top right of Table 1 (i.e. $\\pi_{0}(a|s) > \\pi_{\\theta}(a|s)$), it is okay to perform likelihood maximization from a natural [...]\n\n### Response to Reviewer 99mP\nThank you for your constructive feedback and comments. Please feel free to ask any additional follow-up questions.\n\n**[Responses to Weaknessess]**\n\n1. We apologize for any confusion caused by our explanation based on advantage function of naturalness (i.e. $A_{\\text{natural}}^{\\pi_\\theta}$). The positive/negative action-masked policies defined in the paper do not consider actions whose naturalness advantage is positive/negative, but rather consider actions where $\\pi_0 (s,a) - \\pi_{\\theta}(s,a)$ is positive/negative. To eliminate confusion, we removed the notation [...]\n\n### Response to Reviewer hR6e\nThank you for your constructive feedback and comments. Please feel free to ask any additional follow-up questions.\n\n**[Responses to Weaknessess]**\n\n1. Thank you for the comments on more theoretical and experimental analysis. To explain our method based on a more rigorous mathematical formulation, we added a more detailed explanation of how our main objective was derived based on the objective of PPO (**Appendix E** in the revised paper). Moreover, to analyze our method, we also provide an ablation study in **Appendix C.1**. \n\n2. Thank you for suggesting the experi [...]\n\n### Response to Reviewer wZxt (1/2)\nThank you for your constructive feedback and comments. Please feel free to ask any additional follow-up questions.\n\n**[Responses to Weaknessess]**\n\n(a) Thank you for pointing out some equations and statements that are not rigorously defined and justified. We revised the paper to explain more clearly the process by which our main objective was derived, and revise\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
8,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.25,
|
| 15 |
+
"score_variance": 4.25,
|
| 16 |
+
"score_spread": 5,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": false,
|
| 21 |
+
"meta_review": "Previous RL typically optimizes a task-specific reward and a KL divergence, which requires tuning a sensitive hyperparameter balancing the two terms. This paper conducted some analysis and proposed a constrastive learning-like objective to eliminate the need of hyperparameter tuning. Although the approach does not achieve astonishing performance improvement, reviewers generally recognize that the approach is neat and valuable. \n\nHowever, the paper appears sloppy in many aspects, including mathematical formulations. In the revision, the authors made significant changes, but me and reviewers don't have too much confidence at this moment. I would encourage the authors to consider the suggestions and incorporate them in the next version.",
|
| 22 |
+
"forum_id": "6UQaXJm53B",
|
| 23 |
+
"primary_area": "reinforcement learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_wZxt",
|
| 28 |
+
"review_id": "46yIColDRt",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 3,
|
| 31 |
+
"soundness": 1,
|
| 32 |
+
"presentation": 1,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 10281,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 79420,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_hR6e",
|
| 44 |
+
"review_id": "ujrQcwPCVJ",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 8,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3429,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 806844,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_99mP",
|
| 60 |
+
"review_id": "mf2neakVcm",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1929,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 828679,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_6zCc",
|
| 76 |
+
"review_id": "Rbh112OBb4",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2346,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1050372,
|
| 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_9127.md
ADDED
|
@@ -0,0 +1,630 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - DfPO: DEGENERATION FREE POLICY OPTIMIZATION - VIA ACTION MASKING IN NATURAL LANGUAGE AC TION SPACES
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
As the pre-training objectives (e.g., next token prediction) of language models (LMs) are inherently not aligned with task scores, optimizing LMs to achieve higher downstream task scores is essential. One of the promising approaches is to fine-tune LMs by using reinforcement learning (RL). However, conventional RL methods based on PPO and a penalty of KL divergence are vulnerable to the text degeneration problem which LMs do not generate natural texts anymore after RL fine-tuning. To address this problem, we provide **Degeneration-free Policy Optimization (DfPO)** that can fine-tune LMs to generate texts that achieve improved downstream task scores, while preserving the naturalness of the generated texts. To achieve this, we introduce _action-masked policy_ with which a behavior policy can avoid to select tokens that potentially make policy optimization unexpected. Then, we devise _clipped advantage functions_ to separately perform likelihood maximization and minimization, conditioned on texts sampled from the action-masked policy. Our experiments on the GRUE benchmark demonstrate that DfPO successfully improves the downstream task scores, while preserving the naturalness of the generated texts. Moreover, even DfPO does not perform hyperparameter search, it achieves similar performance to PPO and NLPO which require additional hyperparameter search for the penalty ratio of KL divergence.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Although pre-trained language models (LMs) have achieved remarkable success in various NLP tasks (Ouyang et al., 2022; Glaese et al., 2022; Bai et al., 2022; Stiennon et al., 2020; Nakano et al., 2022), fine-tuning on downstream tasks is essential to achieve higher task scores. Since the pre-training and supervised fine-tuning objectives (e.g., next token prediction (Radford et al., 2019)) of LMs are inherently not maximizing the task scores, LMs fail to learn an optimal behavior. One of the promising approaches to fine-tune the LMs is reinforcement learning (RL) (Christiano et al., 2017). Recently, reinforcement learning from human feedback (RLHF) (Christiano et al., 2017; Liang et al., 2022; Kim et al., 2023; Ouyang et al., 2022) methods, which learn a reward model from human feedback and then fine-tune LMs through reinforcement learning, has successfully achieved to fine-tune the LMs using RL (Ouyang et al., 2022; Glaese et al., 2022; Bai et al., 2022; Stiennon et al., 2020; Nakano et al., 2022). However, optimizing LMs against a given reward model by using RL is yet challenging due to the _degeneration problem_ which generates responses diverging from human language.
|
| 14 |
+
|
| 15 |
+
When optimizing LMs with RL, most of the existing methods mainly use PPO (Schulman et al., 2017) for optimizing an LM policy, and a penalty of KL divergence between the reference LM and an optimized LM for preserving the naturalness of generated texts (Ouyang et al., 2022; Ramamurthy et al., 2023). However, conventional RL methods based on PPO and a KL divergence penalty are vulnerable to the text degeneration problem that LMs do not generate natural texts anymore after RL fine-tuning. We illustrate the text degeneration problem in Figure 1. We carefully conjecture that a penalty of KL divergence often does not work with respect to the penalty ratio _β_ , since PPO is a simplified algorithm from TRPO Schulman et al. (2015) that guarantees to maximize target task rewards. In other words, it is important to balance two different objectives: (1) maximizing task rewards and (2) minimizing the KL divergence, while preventing one objective to dominate the
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
overall quantity. Especially in language generation tasks, confining the probability distribution of LMs within a certain level is more important than simply maximizing the task rewards.
|
| 20 |
+
|
| 21 |
+
To address this problem, in this paper, we provide **Degeneration-free Policy Optimization (DfPO)** that can fine-tune LMs to generate texts that effectively achieve higher downstream task scores, while preserving the naturalness of the generated texts. To achieve this, we introduce _action-masked policy_ with which a behavior policy can avoid to select tokens that potentially make policy optimization unexpected. Then, we reformulate policy optimization as stable likelihood max/minimization with _clipped advantage functions_ that eventually mitigates excessive task reward optimization. More importantly, DfPO does not require any sensitive hyperparameters such as the penalty ratio of KL divergence used in conventional RL methods. Our experiments on the GRUE Ramamurthy et al. (2023) benchmark demonstrate that DfPO is much more effective in optimizing task scores than PPO and NLPO Ramamurthy et al. (2023), while preserving the naturalness of generated texts.
|
| 22 |
+
|
| 23 |
+
The contributions of this paper can be summarized as follows:
|
| 24 |
+
|
| 25 |
+
- We find that conventional RL fine-tuning methods that use PPO Schulman et al. (2017) and a penalty of KL divergence are vulnerable to result in the text degeneration problem that LMs do not generate natural texts anymore after RL fine-tuning (see Figure 1).
|
| 26 |
+
|
| 27 |
+
- We introduce Degeneration-free Policy Optimization (DfPO) that can fine-tune LMs to generate texts that achieve higher downstream task scores, while preserving the naturalness of the generated texts. To achieve this, we develop _action-masked policy_ (see Table 1 and Eq. 5, 6) and stable likelihood max/minimization with _clipped advantage functions_ (see Eq. 7).
|
| 28 |
+
|
| 29 |
+
- We demonstrate that, even DfPO does not perform hyperparameter search, it achieves similar performance to PPO Schulman et al. (2017) and NLPO Ramamurthy et al. (2023) which require additional hyperparameter search for the penalty ratio of KL divergence on the GRUE Ramamurthy et al. (2023) benchmark (see Figure 3 and Table 2).
|
| 30 |
+
|
| 31 |
+
- We show that DfPO can improve task scores while preserving the naturalness of the generated texts, even when using a large language model (GPT-J-6B) as a policy (see Figure 6).
|
| 32 |
+
|
| 33 |
+
## 2 PRELIMINARIES
|
| 34 |
+
|
| 35 |
+
## 2.1 REINFORCEMENT LEARNING FOR LANGUAGE MODELS
|
| 36 |
+
|
| 37 |
+
We consider the generative NLP tasks that can be modeled as a Markov decision process (MDP) defined by tuple _M_ = _⟨S, A, T, r, p_ 0 _, γ⟩_ (Sutton & Barto, 1998), where _S_ is the set of states _s_ (a sequence of word tokens), _A_ is the set of actions _a_ (a next word token), _T_ : _S × A →_ ∆( _S_ ) is the transition probability, _r_ : _S×A →_ R is the reward function, _p_ 0 _∈_ ∆( _S_ ) is the distribution of the initial state, and _γ ∈_ [0 _,_ 1) is the discount factor. The policy _π_ ( _a|s_ ) is a mapping from state to a probability distribution over _A_ , which can be naturally modeled as language models. The value function, actionvalue function, and advantage function are defined as _V[π]_ ( _s_ ) := E _s_ 0 _,a_ 0 _,···∼π_ [[�] _[∞] t[γ][t][r]_[(] _[s][t][, a][t]_[)] _[|][s]_[0][=] _[ s]_[]][,] _Q[π]_ ( _s, a_ ) := _r_ ( _s, a_ )+ _γ_ E _s′∼T_ ( _s,a_ )[ _V[π]_ ( _s[′]_ )], and _A[π]_ ( _s, a_ ) := _Q[π]_ ( _s, a_ ) _− V[π]_ ( _s_ ), respectively. Unlike standard RL problems that aim to maximize only cumulative rewards, in NLP tasks, the goal is to find an optimal policy that maximizes cumulative rewards while preserving the language quality (i.e. naturalness) of generated texts.
|
| 38 |
+
|
| 39 |
+
## 2.2 POLICY GRADIENT WITH KL-REGULARIZATION PENALTY
|
| 40 |
+
|
| 41 |
+
Policy gradient algorithms are widely employed in reinforcement learning to maximize the expected cumulative rewards E _s_ 0 _,a_ 0 _,···∼π_ [[�] _[∞] t_ =0 _[γ][t][r]_[(] _[s][t][, a][t]_[)]][.][In this paper, we use the following formulation] based on the advantage function, which represents the most commonly used form of the policy gradient estimator:
|
| 42 |
+
|
| 43 |
+
**==> picture [298 x 13] intentionally omitted <==**
|
| 44 |
+
|
| 45 |
+
where _d[π]_ ( _s_ ) := (1 _− γ_ )[�] _[∞] t_ =0 _[γ][t]_[ Pr(] _[s][t]_[=] _[ s]_[)][ is a stationary distribution with] _[ s]_[0] _[∼][p]_[0][ and the actions] are chosen according to _π_ , and _d[π]_ ( _s, a_ ) := _d[π]_ ( _s_ ) _π_ ( _a|s_ ). However, conventional RL algorithms that focus solely on maximizing single-task rewards easily result in _reward hacking_ behaviors, which correspond to the _degeneration problems_ in generative NLP tasks. The current best-performing RL
|
| 46 |
+
|
| 47 |
+
2
|
| 48 |
+
|
| 49 |
+
**==> picture [357 x 115] intentionally omitted <==**
|
| 50 |
+
|
| 51 |
+
**----- Start of picture text -----**<br>
|
| 52 |
+
0.85 50<br>PPO(w/o KL)<br>0.80 PPO(0.1, 0.5)<br>0.75 45 PPO(0.1, 0.1)PPO(0.1, 0.05)<br>0.70 PPO(0.1, 0.02)<br>0.65 40 PPO(0.1, 0.01)PPO(0.01, 0.2)<br>0.60 PPO(0.01, 0.05)<br>0.55 PPO(0.01, 0.02)<br>35<br>0 10 20 30 40 50 0 10 20 30 40 50<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 53 |
+
|
| 54 |
+
Figure 1: Averaged learning curve over 5 runs of PPO with KL-regularization penalty on IMDB text continuation task for varying KL coefficient and target KL. PPO ( _β_ , KLtarget) indicates the PPO that considers the KL-regularization as a reward penalty with KL coefficient _β_ and target KL. The goal of the IMDB text continuation task is to learn a policy that maximizes the sentiment score (i.e. task reward) while preserving the perplexity score (i.e. naturalness). However, as shown in the results, PPO with KL-regularization penalty shows very sensitive performance on both sentiment score and perplexity score to hyperparameter. We also provide the results of NLPO with KL-regularization penalty in Appendix B.
|
| 55 |
+
|
| 56 |
+
algorithm for generative NLP tasks utilize a KL-divergence penalty between the current policy _πθ_ and the reference policy _π_ 0 as follows:
|
| 57 |
+
|
| 58 |
+
**==> picture [295 x 32] intentionally omitted <==**
|
| 59 |
+
|
| 60 |
+
where _δ >_ 0 is a hyperparameter. Based on the Lagrangian, we obtain the following unconstrained optimization for the constrained optimization problem in (2-3):
|
| 61 |
+
|
| 62 |
+
maximize E( _s,a_ ) _∼d[π] θ_ � _A[π][θ]_ ( _s, a_ ) _− β_ KL( _πθ_ ( _·|s_ ) _∥π_ 0( _·|s_ ))� = E _d[π] θ_ � _A[π][θ]_ ( _s, a_ ) + _βuθ_ ( _s, a_ )� _,_ (4) _θ_
|
| 63 |
+
|
| 64 |
+
where _β ≥_ 0 is a fixed hyperparameter rather than a Lagrangian multiplier as in previous studies, and _uθ_ ( _s, a_ ) := log _π[π] θ_[0] ([(] _a[a] |[|] s[s]_ ))[)][.][However, as discussed in prior works (Ramamurthy et al., 2023; Ouyang] et al., 2022; Ziegler et al., 2019), optimizing the policy through the KL-penalized objective (4) is very sensitive to the hyperparameter _β_ . Figure 1 shows the results of PPO with various _β_ on sentiment score (i.e. task performance) and perplexity (i.e. naturalness). This sensitivity to hyperparameters can be especially troublesome for large-scale language models that require _massive computational costs_ and also cause _ambiguity in model selection_ , as shown in Figure 1.
|
| 65 |
+
|
| 66 |
+
## 3 DEGENERATION-FREE POLICY OPTIMIZATION
|
| 67 |
+
|
| 68 |
+
In this section, we present **Degeneration-free Policy Optimization (DfPO)** that can fine-tune LMs to generate texts that achieve improved downstream task scores, while preserving the naturalness of the generated texts, without any additional hyperparameter search. First, we investigate why the degeneration problem occurs in policy gradient algorithms under the perspective of likelihood max/minimization. Then, we present our algorithm, DfPO, which mainly consists of 1) _action-masked policy_ with which a behavior policy can avoid to select tokens that potentially make policy optimization unexpected, 2) _clipped advantage functions_ to separately perform likelihood max/minimization conditioned on texts sampled from the action-masked policy.
|
| 69 |
+
|
| 70 |
+
## 3.1 UNDERSTANDING POLICY GRADIENT VIA LIKELIHOOD MAX/MINIMIZATION
|
| 71 |
+
|
| 72 |
+
Before presenting our algorithm, we first investigate why the degeneration problem occurs in policy gradient algorithms under the perspective of likelihood max/minimization. Intuitively, this policy gradient update can be interpreted as the likelihood max/minimization: gradient update through Eq. 1 increases the likelihood of actions that are better than the average behavior of the current policy (i.e. positive advantages) and decreases the likelihood of actions that are worse than the average behavior of the current policy (i.e. negative advantages). However, when considering regularized optimization as in Eq. 4, it is challenging to determine whether the actions are better or worse for the advantage _A[π][θ]_ and the log ratio _uθ_ .
|
| 73 |
+
|
| 74 |
+
3
|
| 75 |
+
|
| 76 |
+
Table 1: Summary for all types of samples used in policy gradient update. The green area represents the state-action pairs that both advantage _A[π][θ]_ and log ratio _uθ_ are positive or negative, which are desirable samples for improving both task and naturalness scores. On the other hand, the red area represents the state-action pairs that have opposite directions for improving task score and naturalness score, which are undesirable samples that can cause degeneration problems in the policy update.
|
| 77 |
+
|
| 78 |
+
||_Aπθ_(_s, a_)_>_0|_Aπθ_(_s, a_)_<_0|
|
| 79 |
+
|---|---|---|
|
| 80 |
+
|||_|uθ_(_s, a_)_| > |Aπθ_(_s, a_)_|_|
|
| 81 |
+
|_uθ_(_s, a_)_>_0|Likelihood Maximization|or|
|
| 82 |
+
|||_|uθ_(_s, a_)_| < |Aπθ_(_s, a_)_|_|
|
| 83 |
+
||_|uθ_(_s, a_)_| > |Aπθ_(_s, a_)_|_||
|
| 84 |
+
|_uθ_(_s, a_)_<_0|or|Likelihood Minimization|
|
| 85 |
+
||_|uθ_(_s, a_)_| < |Aπθ_(_s, a_)_|_||
|
| 86 |
+
|
| 87 |
+
Table 1 summarizes cases of all state-action samples used in the policy gradient update, according to the sign of the advantage and the log ratio. First, state-action pairs corresponding to the green area, where both _A[π][θ]_ and _uθ_ are positive or negative, are desirable samples that can update the policy to improve both task performance and naturalness through policy gradient. On the other hand, state-action pairs corresponding to the red area, which have opposite directions for improving task performance and naturalness, are undesirable samples that can cause degeneration problems in the policy gradient update. Depending on the magnitude of the absolute values of each advantage, a degeneration problem occurs or the task performance deteriorates. Therefore, if we perform a policy gradient update using only desirable samples in the green area, we can learn a policy that maximizes task reward while preserving the naturalness of the generated texts. However, if we simply generate samples using the current policy _πθ_ as the rollout policy, the proportion of samples in the green area is inevitably very low, which is inefficient in terms of sample efficiency for learning.
|
| 88 |
+
|
| 89 |
+
## 3.2 DEFINING ACTION-MASKED POLICY WITH REFERENCE POLICY
|
| 90 |
+
|
| 91 |
+
In order to efficiently generate only desirable samples corresponding to the green area in Table 1, we introduce action-masked policies, which are inspired by prior works for action masking to deal with combinatorial action space (Ammanabrolu & Hausknecht, 2020; Ramamurthy et al., 2023; Zahavy et al., 2018). Unlike prior methods that constrain the action spaces with top- _k_ or top- _p_ sampling, we adopt the relationship between the current policy and reference policy to constrain the action spaces of the behavior policy. More formally, we define _positive action-masked policy π_ mask[+][and] _negative action-masked policy π_ mask _[−]_[according to the relationship between the log-probabilities of] the reference policy and current policy as follows:
|
| 92 |
+
|
| 93 |
+
**==> picture [335 x 24] intentionally omitted <==**
|
| 94 |
+
|
| 95 |
+
**==> picture [335 x 25] intentionally omitted <==**
|
| 96 |
+
|
| 97 |
+
where _Z_[+] and _Z[−]_ are normalizing constants and _π_ 0 is a reference policy. Intuitively, the positive action-masked policy masks out the actions that can cause degeneration problems when their likelihood is increased, and the negative masked policy masks out the actions that can cause degeneration problems when their likelihood is decreased. In other words, the positive action-masked policy considers only those actions for which the _uθ_ is positive among the actions of the current policy, and the negative action-masked policy considers only those actions for which the _uθ_ is negative among the actions of the current policy.
|
| 98 |
+
|
| 99 |
+
## 3.3 LIKELIHOOD MAX/MINIMIZATION WITH CLIPPED ADVANTAGE FUNCTIONS
|
| 100 |
+
|
| 101 |
+
Using the action-masked policies defined above, we can separately obtain state-action pairs that need to increase and decrease the likelihood in terms of naturalness. Now, for each state-action pair generated from action-masked policies, it is necessary to determine whether the likelihood should be increased or decreased in order to improve the policy in terms of task performance. We
|
| 102 |
+
|
| 103 |
+
4
|
| 104 |
+
|
| 105 |
+
**==> picture [388 x 54] intentionally omitted <==**
|
| 106 |
+
|
| 107 |
+
**----- Start of picture text -----**<br>
|
| 108 |
+
I have no idea how to describe this movie, and also would love to provide others<br>the same opportunity I had - seeing it with no prior knowledge of what to expect.<br>𝒔𝒕 : I enjoyed it immensely but can also say I barely understood what was going on, if<br>in fact there was anything to understand in the first place. Fans of David Lynch<br>(tangentially) or especially Guy Maddin films should<br>**----- End of picture text -----**<br>
|
| 109 |
+
|
| 110 |
+
**==> picture [385 x 168] intentionally omitted <==**
|
| 111 |
+
|
| 112 |
+
**----- Start of picture text -----**<br>
|
| 113 |
+
𝑨𝝅𝐭𝐚𝐬𝐤+𝐦𝐚𝐬𝐤 𝒔𝒕, 𝒂𝒕+𝛁𝜽 log 𝝅𝜽 (𝒂𝒕|𝒔𝒕) Action MaskingPositive Action MaskingNegative<br>𝝅𝐦𝐚𝐬𝐤+ 𝝅𝟎 −𝝅𝜽 > 𝟎 𝝅𝜽(⋅|𝒔𝒕) 𝝅𝟎 −𝝅𝜽 < 𝟎 𝝅𝐦𝐚𝐬𝐤−<br>High<br>check be be<br>definitely not not 𝒂𝒕 ∼𝝅−𝐦𝐚𝐬𝐤<br>Likelihood<br>never see see<br>Maximization<br>also check watch<br>probably definitely take<br>𝒂𝒕 ∼𝝅+𝐦𝐚𝐬𝐤 consider watch have MinimizationLikelihood<br>avoid take look<br>expect have stop<br>to look find<br>⋮ ⋮ ⋮<br>Low<br>: 𝑨𝐭𝐚𝐬𝐤 > 𝟎 : 𝑨𝐭𝐚𝐬𝐤 < 𝟎 𝑨𝝅𝐭𝐚𝐬𝐤−𝐦𝐚𝐬𝐤 𝒔𝒕, 𝒂𝒕−𝛁𝜽 log 𝝅𝜽 (𝒂𝒕|𝒔𝒕)<br>**----- End of picture text -----**<br>
|
| 114 |
+
|
| 115 |
+
Figure 2: Illustrative example of the main mechanism of DfPO on IMDB text continuation task. The figure shows the process of sampling the action and updating the policy for the current state _st_ . Each block is a list of the top- _k_ actions of each policy in descending order, and the color of the block indicates whether the value of advantage for the task reward is positive (red) or negative (blue). The likelihood maximization marked in red on the left corresponds to the first term in Eq. 7, and the likelihood maximization marked in blue on the right corresponds to the second term in Eq. 7.
|
| 116 |
+
|
| 117 |
+
can easily determine the samples that need to maximize or minimize the likelihood in terms of task performance by clipping the advantage function for task reward, then update the policy with likelihood maximization and minimization as follows:
|
| 118 |
+
|
| 119 |
+
**==> picture [382 x 38] intentionally omitted <==**
|
| 120 |
+
|
| 121 |
+
where ( _·_ )+ = max( _·,_ 0) and ( _·_ ) _−_ = min( _·,_ 0). The first term in Eq. 7 corresponds to the likelihood maximization in Table 1, and it increases the likelihood of actions with positive advantages for task reward among actions with a lower likelihood in the current policy than in the reference policy. On the other hand, the second term in Eq. 7 corresponds to the likelihood minimization in Table 1, and it decreases the likelihood of actions with negative advantages for task reward among actions with a higher likelihood in the current policy than in the reference policy. After learning through Eq. 7, the negative action-masked policy _π_ mask _[−]_[of the updated policy] _[ π][θ]_[finally consists of actions with high] task performance while preserving naturalness of the generated texts. Therefore, we use the negative action-masked policy _π_ mask _[−]_[(] _[·|][s, π][θ][, π]_[0][)][as][the][final][policy][for][inference.][In][Appendix][E,][we][also] provide a detailed explanation of how our main objective Eq. 7 was derived based on the objective of PPO.
|
| 122 |
+
|
| 123 |
+
## 3.4 DEGENERATION-FREE POLICY OPTIMIZATION
|
| 124 |
+
|
| 125 |
+
Finally, we present Degeneration-free Policy Optimization (DfPO), a new policy optimization method that can fine-tune LMs to generate texts that achieve improved downstream task scores, while preserving the naturalness of the generated texts. Figure 2 shows an illustrative example of the main mechanism of DfPO, and our algorithm can be summarized as follows: 1) action-masked policies are separately defined for the action sets that need to increase or decrease the likelihood in terms of naturalness, 2) among the action set of the positive action-masked policy, the promising action with a positive task advantage is increased and gradually moved to the action set of the negative action-masked policy, which corresponds to the likelihood maximization part on the left of Figure 2. Similarly, among the action set of the negative action-masked policy, the unpromising action with a negative task advantage is decreased and gradually moved to the action set of the positive action-
|
| 126 |
+
|
| 127 |
+
5
|
| 128 |
+
|
| 129 |
+
masked policy, which corresponds to the likelihood minimization part on the right of Figure 2. The main difference between DfPO and PPO is that DfPO uses KL divergence (i.e. log ratio with the initial model) to constrain action support, while PPO uses KL divergence as a reward penalty. This difference in the use of KL divergence allows DfPO improves task performance while maintaining the naturalness without additional hyperparameter search. Algorithm 1 summarizes the whole process of DfPO as the pseudocode. Since our algorithm updates the policy to maximize or minimize the likelihood of generated sentences (i.e. sentence-level policy optimization), even if it is not provided in the form of Gym-like (Brockman et al., 2016) learning environment, it can be easily applied to any dataset if only the reward function is provided. For the advantage estimation, we use Generalized Advantage Estimation (GAE) (Schulman et al., 2018), but any other advantage estimation method can be used.
|
| 130 |
+
|
| 131 |
+
**Algorithm 1** Degeneration-free Policy Optimization (DfPO)
|
| 132 |
+
|
| 133 |
+
**Input:** Training dataset _D_ = _{_ ( _s[j] t[, a][j] t[, s][j] t_ +1[)] _t[T]_ =0 _[}][N] j_ =1[, a policy network] _[ π][θ]_[with parameter] _[ θ]_[, a value network] _Vϕ_ with parameter _ϕ_ , a reference policy _π_ 0
|
| 134 |
+
|
| 135 |
+
1: **for** each iteration _i_ **do**
|
| 136 |
+
|
| 137 |
+
2: Define action-masked policies with _π_ 0 as Eq. 5 and Eq. 6:
|
| 138 |
+
|
| 139 |
+
_πθ_ ( _·|s_ ) _/Z_[+] if log _π_ 0 _−_ log _πθ >_ 0 _π_ mask[+][(] _[·|][s, π][θ][, π]_[0][) :=] _,_ 0 otherwise � _πθ_ ( _·|s_ ) _/Z[−]_ if log _π_ 0 _−_ log _πθ <_ 0 _π_ mask _[−]_[(] _[·|][s, π][θ][, π]_[0][) :=] _._ 0 otherwise � 3: Sample mini-batch of initial states _{s[p]_ 0 _[}][M] p_ =1[and] _[ {][s][n]_ 0 _[}][M] n_ =1[from] _[ D]_ 4: Generate trajectories _T_[+] = _{s[p] t[, a][p] t[}]_[ and] _[ T][−]_[=] _[{][s][n] t[, a][n] t[}]_[ by running policy] _[ π]_ mask[+][and] _[ π]_ mask _[−]_ 5: Update policy via likelihood max/minimization with clipped advantage functions as Eq. 7: _M T M T_ arg max � � _Aπϕ_ mask[+] ( _s[p] t[, a][p] t_[)][+] _[∇][θ]_[ log] _[ π][θ]_[(] _[a][p] t[|][s][p] t_[) +] � � _Aπϕ_ mask _[−]_ ( _s[n] t[, a][n] t_[)] _−[∇] θ_[log] _[ π] θ_[(] _[a][n] t[|][s][n] t_[)] _θ p_ =1 _t_ =0 _n_ =1 _t_ =0 6: Update the value function _Vϕπ_ mask[+] and _Vϕπ_ mask _[−]_ :
|
| 140 |
+
|
| 141 |
+
**==> picture [298 x 28] intentionally omitted <==**
|
| 142 |
+
|
| 143 |
+
7: **end for Output:** updated policy _πθ_
|
| 144 |
+
|
| 145 |
+
## 4 RELATED WORK
|
| 146 |
+
|
| 147 |
+
**Reinforcement learning for language models** Training a language model to improve the downstream task score can be naturally considered as an RL problem Ramamurthy et al. (2023); Snell et al. (2023); Jang et al. (2022). Reinforcement learning from human feedback (RLHF) (Christiano et al., 2017; Liang et al., 2022; Kim et al., 2023; Ouyang et al., 2022; Rafailov et al., 2023) is one of the representative successes of fine-tuning LMs through reinforcement learning. However, optimizing LMs against the reward model by using RL is yet challenging due to the _degeneration problem_ which generates responses diverging from human language. Recently, as a benchmark of evaluating RL algorithms for fine-tuning language models, Ramamurthy et al. (2023) introduce (1) RL4LMs which is a modular library for optimizing LMs with RL, and (2) GRUE benchmark that is a set of language generation tasks with reward functions. Our work is based on RL4LMs and GRUE, and aims to address the degeneration problem in optimizing text generation with RL.
|
| 148 |
+
|
| 149 |
+
**Stabilizing policy gradient methods** Stabilizing policy gradient (PG) methods Peters & Schaal (2008) is essential to successfully optimize a policy, since PG methods use an _estimator_ of the gradient of the expected return. TRPO Schulman et al. (2015) provides a practical algorithm by making approximations to the theoretically justified algorithm that guarantees policy improvements. PPO Schulman et al. (2017) is a simplified method from TRPO by introducing a clipped probability
|
| 150 |
+
|
| 151 |
+
6
|
| 152 |
+
|
| 153 |
+
**==> picture [318 x 147] intentionally omitted <==**
|
| 154 |
+
|
| 155 |
+
**----- Start of picture text -----**<br>
|
| 156 |
+
DfPO DfPO+Supervised<br>50<br>0.65<br>45<br>0.60<br>40<br>0.55<br>35<br>0.50<br>30<br>0 50 100 150 0 50 100 150<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 157 |
+
|
| 158 |
+
Figure 3: Experimental results of DfPO on text continuation task with IMDB dataset. DfPO and DfPO+Supervised indicate the results of DfPO that trained starting with pre-trained language model and supervised fine-tuning model, respectively. All results are averaged over 5 runs, and the shaded area represents the standard error.
|
| 159 |
+
|
| 160 |
+
ratio, while attaining the data efficiency and reliability of TRPO. Unlike these methods, NLPO Ramamurthy et al. (2023) is introduced by mainly considering text generation tasks that have much larger action space (i.e., a large number of tokens to select) than conventional decision-making tasks. NLPO mitigates the instability of policy optimization with action masking that learns to invalidate less relevant tokens. Unlike NLPO, our algorithm DfPO uses _action-masked policy_ that avoids to select risky tokens that may result in the text degeneration of the original LM.
|
| 161 |
+
|
| 162 |
+
## 5 EXPERIMENTS
|
| 163 |
+
|
| 164 |
+
In this section, we show the experimental results of DfPO on generative NLP tasks included in the GRUE benchmark (Ramamurthy et al., 2023). In order to show that our algorithm improves downstream task score _while preserving the naturalness_ of the generated texts, we use IMDB (text continuation) (Maas et al., 2011) and CommonGen (commonsense generation) (Lin et al., 2020) tasks as testbed which are categorized as _easily reward hackable tasks_ by Ramamurthy et al. (2023). First, we show that our algorithm improves task performance while preserving the naturalness of the generated texts without a KL divergence penalty on the IMDB text continuation task. Second, we evaluate the overall performance of DfPO on the IMDB text continuation task and commonsense generation task, comparing with baseline methods including supervised learning and reinforcement learning algorithms. The details for the experimental settings can be found in Appendix A.
|
| 165 |
+
|
| 166 |
+
**Baselines** We compare the following algorithms to evaluate whether DfPO improves task performance while preserving the naturalness of the generated texts: 1) Zero Shot, a pre-trained language model without any fine-tuning of downstream tasks, 2) Supervised, a supervised fine-tuning model with datasets for downstream tasks, 3) PPO (Schulman et al., 2017), a policy gradient method that is state-of-the-art in discrete action space, 4) NLPO (Ramamurthy et al., 2023), a PPO-based policy optimization method for NLP tasks that effectively reduces the combinatorial action space with action masking. For NLPO and PPO, KL divergence from the reference policy was used as the reward penalty, and the result was obtained by hyperparameter tuning for the coefficient of the KL divergence penalty. Our goal is to improve task performance while preserving the naturalness of the generated texts without additional hyperparameter search, not to outperform PPO and NLPO obtained through hyperparameter tuning.
|
| 167 |
+
|
| 168 |
+
## 5.1 EVALUATION ON IMDB TEXT CONTINUATION TASK
|
| 169 |
+
|
| 170 |
+
We evaluate our algorithm on the IMDB text continuation task, which is one of the representative generative NLP tasks for evaluating the RL algorithms. The IMDB text continuation task aims to positively complete the movie review when given a partial review as a prompt. In this task, we use GPT-2 (117M parameters) and GPT-J (6B parameters) as a policy, and a trained sentiment classifier DistilBERT (Sanh et al., 2019) is provided as a reward function to train the RL agents and evaluate their task performance. The naturalness of the trained model is evaluated with a perplexity score.
|
| 171 |
+
|
| 172 |
+
7
|
| 173 |
+
|
| 174 |
+
Table 2: Experimental results on IMDB text continuation task. Cold starting indicates the results of each algorithm trained starting with the pre-trained language model (i.e. Zero Shot), and Warm starting indicates the results of each algorithm trained starting with the supervised fine-tuning model (i.e. Supervised). The results of other algorithms are from (Ramamurthy et al., 2023). All results indicate averages and standard errors over 5 independent runs.
|
| 175 |
+
|
| 176 |
+
|**Algorithms**<br>**Sentiment Score**_↑_<br>**Perplexity**_↓_|**Algorithms**<br>**Sentiment Score**_↑_<br>**Perplexity**_↓_|**Algorithms**<br>**Sentiment Score**_↑_<br>**Perplexity**_↓_|
|
| 177 |
+
|---|---|---|
|
| 178 |
+
||||
|
| 179 |
+
|Cold Starting|Zero Shot<br>Supervised<br>PPO<br>NLPO<br>DfPO (ours)|0.489_±_0.006<br>32.171_±_0.137<br>0.539_±_0.004<br>35.472_±_0.074<br>0.602_±_0.012<br>33.816_±_0.233<br>0.611_±_0.023<br>33.832_±_0.283<br>0.621_±_0.008<br>32.531_±_0.099|
|
| 180 |
+
||||
|
| 181 |
+
|Warm Starting|PPO+Supervised<br>NLPO+Supervised<br>DfPO+Supervised (ours)|0.626_±_0.014<br>35.049_±_0.347<br>0.620_±_0.014<br>34.816_±_0.340<br>**0.662**_±_**0.006**<br>35.791_±_0.071|
|
| 182 |
+
|
| 183 |
+
Table 3: Experimental results for diversity on IMDB text continuation task. The results of other algorithms are from (Ramamurthy et al., 2023). All results indicate averages and standard errors over 5 independent runs.
|
| 184 |
+
|
| 185 |
+
|**Algorithms**<br>**MSTTR**<br>**Distinct**1<br>**Distinct**2<br>**H**1<br>**H**2<br>**Unique**1<br>**Unique**2|**Algorithms**<br>**MSTTR**<br>**Distinct**1<br>**Distinct**2<br>**H**1<br>**H**2<br>**Unique**1<br>**Unique**2|
|
| 186 |
+
|---|---|
|
| 187 |
+
|||
|
| 188 |
+
|Zero Shot<br>Supervised<br>PPO<br>PPO+Sup<br>NLPO<br>NLPO+Sup|0.682_±_0.001<br>0.042_±_0.001<br>0.294_±_0.001<br>8.656_±_0.004<br>13.716_±_0.003<br>5063_±_15<br>47620_±_238<br>0.682_±_0.001<br>0.047_±_0.001<br>0.312_±_0.002<br>8.755_±_0.012<br>13.806_±_0.016<br>5601_±_57<br>51151_±_345<br>0.664_±_0.007<br>0.042_±_0.001<br>0.278_±_0.005<br>8.529_±_0.037<br>13.366_±_0.119<br>5108_±_204<br>45158_±_961<br>0.668_±_0.004<br>0.048_±_0.002<br>0.307_±_0.008<br>8.704_±_0.053<br>13.656_±_0.066<br>5757_±_324<br>50522_±_1514<br>0.670_±_0.002<br>0.043_±_0.002<br>0.286_±_0.006<br>8.602_±_0.049<br>13.530_±_0.076<br>5179_±_196<br>46294_±_1072<br>0.672_±_0.006<br>0.048_±_0.002<br>0.310_±_0.012<br>8.725_±_0.090<br>13.709_±_0.174<br>5589_±_140<br>50734_±_1903|
|
| 189 |
+
|||
|
| 190 |
+
|DfPO<br>DfPO+Sup|0.710_±_0.008<br>0.059_±_0.004<br>0.368_±_0.019<br>9.094_±_0.113<br>14.387_±_0.203<br>7607_±_603<br>61105_±_3305<br>0.711_±_0.006<br>0.061_±_0.003<br>0.377_±_0.014<br>9.153_±_0.087<br>14.446_±_0.144<br>7777_±_434<br>62852_±_2474|
|
| 191 |
+
|
| 192 |
+
**Learning curves** Figure 3 shows the learning curves for DfPO and DfPO+Supervised with GPT-2 model that start from a pre-trained language model (i.e. Zero Shot) and supervised fine-tuning model (i.e. Supervised) as initial policies, respectively. Here, for the reference policies used when defining the action-masked policies, DfPO and DfPO+Supervised used the Zero Shot model and Supervised model same as initial policies. The results show that our algorithm DfPO successfully improves the sentiment score (i.e. task performance) while preserving their initial perplexity score (i.e. naturalness) _without additional hyperparameter search_ such as the coefficient of KL penalty in PPO and NLPO. In addition, since our proposed method maximizes only the sentiment score while preserving naturalness, we can simply select the model with the best sentiment score on the validation dataset, without any ambiguity when performing model selection. Furthermore, to investigate the role of each part of DfPO, we also provide ablation studies of DfPO in Appendix C.1.
|
| 193 |
+
|
| 194 |
+
**Comparison with baselines** For the final results of DfPO, the models with the highest sentiment score on the validation dataset were selected and used for evaluation on the test dataset. Table 2 summarizes the performance of DfPO and baseline algorithms on the IMDB text continuation task. The results of other algorithms are from (Ramamurthy et al., 2023), and the results of PPO and NLPO are obtained using the coefficients of the KL penalty selected through hyperparameter search. As shown in Table 2, although the results of DfPO are obtained without additional hyperparameter search, it achieves similar performance to PPO and NLPO in optimizing sentiment scores while preserving the perplexity of initial policy (i.e. Zero Shot model for DfPO and Supervised model for DfPO+Supervised, respectively).
|
| 195 |
+
|
| 196 |
+
**Results of diversity** We also evaluate the diversity of DfPO, which is one of the most important factors when fine-tuning LMs by using reinforcement learning. Table 3 summarizes the results for diversity metrics on the IMDB text continuation task. The results show that DfPO can generate more diverse sentences than baseline algorithms for all diversity metrics. Unlike existing methods that simply explore only top- _p_ or top- _k_ actions with high probability, DfPO explores more diverse actions including both action sets with higher and lower likelihood than the reference policy. As a result, DfPO effectively optimizes task scores while maintaining the ability to generate diverse sentences through the exploration in diverse actions.
|
| 197 |
+
|
| 198 |
+
8
|
| 199 |
+
|
| 200 |
+
Table 4: Experimental results on generative commonsense task. The table shows experimental results on the generative commonsense task. All results indicate averages over 5 independent runs, and their standard errors are provided in Appendix due to space limit.
|
| 201 |
+
|
| 202 |
+
|**Algorithms**<br>**Rouge-1**<br>**Rouge-2**<br>**Rouge-L**<br>**Rouge-LSum**<br>**Meteor**<br>**BLEU**<br>**BertScore**<br>**Cider**<br>**Spice**|**Algorithms**<br>**Rouge-1**<br>**Rouge-2**<br>**Rouge-L**<br>**Rouge-LSum**<br>**Meteor**<br>**BLEU**<br>**BertScore**<br>**Cider**<br>**Spice**|
|
| 203 |
+
|---|---|
|
| 204 |
+
|||
|
| 205 |
+
|Zero Shot<br>Supervised<br>PPO+Sup<br>NLPO+Sup<br>DfPO+Sup|0.415<br>0.016<br>0.270<br>0.270<br>0.179<br>0.0<br>0.854<br>0.640<br>0.231<br>0.503<br>0.175<br>0.411<br>0.411<br>0.309<br>0.069<br>0.929<br>1.381<br>0.443<br>0.540<br>0.204<br>0.436<br>0.436<br>0.329<br>0.076<br>0.930<br>1.474<br>0.447<br>0.537<br>0.201<br>0.431<br>0.431<br>0.326<br>0.074<br>0.930<br>1.464<br>0.448<br>**0.554**<br>**0.221**<br>**0.444**<br>**0.443**<br>**0.335**<br>0.079<br>0.929<br>1.455<br>0.445|
|
| 206 |
+
|
| 207 |
+
Table 5: Experimental results for diversity on generative commonsense task. The results of other algorithms are from (Ramamurthy et al., 2023). All results indicate averages and standard errors over 5 independent runs.
|
| 208 |
+
|
| 209 |
+
|**Algorithms**<br>**MSTTR**<br>**Distinct**1<br>**Distinct**2<br>**H**1<br>**H**2<br>**Unique**1<br>**Unique**2|**Algorithms**<br>**MSTTR**<br>**Distinct**1<br>**Distinct**2<br>**H**1<br>**H**2<br>**Unique**1<br>**Unique**2|
|
| 210 |
+
|---|---|
|
| 211 |
+
|||
|
| 212 |
+
|Zero Shot<br>Supervised<br>PPO+Sup<br>NLPO+Sup<br>DfPO+Sup|0.430<br>0.090<br>0.335<br>5.998<br>7.957<br>345<br>1964<br>0.509_±_0.001<br>0.101_±_0.001<br>0.339_±_0.001<br>6.531_±_0.006<br>10.079_±_0.016<br>304_±_7<br>2159_±_25<br>0.514_±_0.004<br>0.105_±_0.002<br>0.378_±_0.008<br>6.631_±_0.053<br>10.270_±_0.064<br>507_±_17<br>2425_±_73<br>0.516_±_0.006<br>0.106_±_0.002<br>0.377_±_0.008<br>6.634_±_0.044<br>10.260_±_0.077<br>506_±_4<br>2401_±_39<br>0.489_±_0.007<br>0.100_±_0.003<br>0.368_±_0.006<br>6.549_±_0.015<br>10.174_±_0.021<br>471_±_12<br>2376_±_23|
|
| 213 |
+
|
| 214 |
+
**Learning with large language model** We further investigate whether DfPO successfully improves downstream task score without degeneration problems, even when using a large language model as a policy. Figure 6 in Appendix C.2 shows the learning curves for DfPO with GPT-J (6B parameters) as initial and reference policy. Similar to the learning curve of DfPO with GPT-2, the results show that DfPO with a large language model successfully improves the sentiment score while preserving their initial perplexity score _without additional hyperparameter search_ such as the coefficient of KL penalty in PPO and NLPO.
|
| 215 |
+
|
| 216 |
+
## 5.2 EVALUATION ON COMMONSENSE GENERATION TASK
|
| 217 |
+
|
| 218 |
+
We also evaluate our algorithm on the commonsense generation task (Lin et al., 2020), where the goal is to generate a sentence describing a scene using given concepts. In this task, we use T5 (220M parameters) as a policy model, and use a METEOR (Banerjee & Lavie, 2005) score as a reward function for training and evaluation of task performance, and BERTScore (Zhang et al., 2019) and SPICE (Anderson et al., 2016) as evaluation metrics for naturalness scores. Therefore, the goal is to successfully improve the METEOR score without degrading other task scores and naturalness scores. Table 4 and 5 summarize the results of DfPO and baseline algorithms on the commonsense generation task. As shown in Table 4, DfPO successfully improves the METEOR score while preserving other task scores and the naturalness scores. In addition, as shown in Table 5, DfPO shows similar diversity in all metrics for diversity only except MSTTR compared to other algorithms.
|
| 219 |
+
|
| 220 |
+
## 6 CONCLUSION
|
| 221 |
+
|
| 222 |
+
In this paper, we introduce Degeneration-free Policy Optimization (DfPO) that can fine-tune LMs to generate texts that achieve improved downstream task scores, while preserving the naturalness of the generated texts. The basic idea is to sample texts that can simultaneously optimize both the task and the naturalness rewards without interference from each other, when fine-tuning LMs. To achieve this, we develop action-masked policy with which a behavior policy can avoid selecting word tokens that potentially make policy optimization unexpected. Then, we devise a policy gradient method that separately performs likelihood maximization and minimization by using clipped advantage functions. Although DfPO requires some additional costs for inference, DfPO is much more effective than PPO and NLPO in optimizing task scores and preserving the naturalness of generated texts without additional hyperparameter search for training. As future work, we will attempt to apply DfPO to the RLHF framework with large language models. We expect that DfPO will serve as an important step towards providing a stable and robust RL method for LLM fine-tuning research.
|
| 223 |
+
|
| 224 |
+
9
|
| 225 |
+
|
| 226 |
+
## REFERENCES
|
| 227 |
+
|
| 228 |
+
Prithviraj Ammanabrolu and Matthew Hausknecht. Graph constrained reinforcement learning for natural language action spaces. _arXiv preprint arXiv:2001.08837_ , 2020.
|
| 229 |
+
|
| 230 |
+
- Peter Anderson, Basura Fernando, Mark Johnson, and Stephen Gould. Spice: Semantic propositional image caption evaluation. In _Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part V 14_ , pp. 382–398. Springer, 2016.
|
| 231 |
+
|
| 232 |
+
- 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.
|
| 233 |
+
|
| 234 |
+
- Satanjeev Banerjee and Alon Lavie. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In _Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization_ , pp. 65–72, 2005.
|
| 235 |
+
|
| 236 |
+
- Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016.
|
| 237 |
+
|
| 238 |
+
- Paul F Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. _Advances in neural information processing systems_ , 30, 2017.
|
| 239 |
+
|
| 240 |
+
- Amelia Glaese, Nat McAleese, Maja Trebacz, John Aslanides, Vlad Firoiu, Timo Ewalds, Maribeth Rauh, Laura Weidinger, Martin Chadwick, Phoebe Thacker, et al. Improving alignment of dialogue agents via targeted human judgements. _arXiv preprint arXiv:2209.14375_ , 2022.
|
| 241 |
+
|
| 242 |
+
- Youngsoo Jang, Jongmin Lee, and Kee-Eung Kim. GPT-critic: Offline reinforcement learning for endto-end task-oriented dialogue systems. In _International Conference on Learning Representations_ , 2022. URL [URL removed]
|
| 243 |
+
|
| 244 |
+
- Changyeon Kim, Jongjin Park, Jinwoo Shin, Honglak Lee, Pieter Abbeel, and Kimin Lee. Preference transformer: Modeling human preferences using transformers for rl, 2023.
|
| 245 |
+
|
| 246 |
+
- Xinran Liang, Katherine Shu, Kimin Lee, and Pieter Abbeel. Reward uncertainty for exploration in preference-based reinforcement learning. In _International Conference on Learning Representations_ , 2022. URL [URL removed]
|
| 247 |
+
|
| 248 |
+
- Bill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou, Chandra Bhagavatula, Yejin Choi, and Xiang Ren. Commongen: A constrained text generation challenge for generative commonsense reasoning, 2020.
|
| 249 |
+
|
| 250 |
+
- Andrew Maas, Raymond E Daly, Peter T Pham, Dan Huang, Andrew Y Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In _Proceedings of the 49th annual meeting of the association for computational linguistics: Human language technologies_ , pp. 142–150, 2011.
|
| 251 |
+
|
| 252 |
+
- Reiichiro Nakano, Jacob Hilton, Suchir Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, and John Schulman. Webgpt: Browser-assisted question-answering with human feedback, 2022.
|
| 253 |
+
|
| 254 |
+
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. _Advances in Neural Information Processing Systems_ , 35: 27730–27744, 2022.
|
| 255 |
+
|
| 256 |
+
Jan Peters and Stefan Schaal. Reinforcement learning of motor skills with policy gradients. _Neural networks_ , 21(4):682–697, 2008.
|
| 257 |
+
|
| 258 |
+
- 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.
|
| 259 |
+
|
| 260 |
+
10
|
| 261 |
+
|
| 262 |
+
Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model, 2023.
|
| 263 |
+
|
| 264 |
+
- Rajkumar Ramamurthy, Prithviraj Ammanabrolu, Kiante Brantley, Jack Hessel, Rafet Sifa, Christian´ Bauckhage, Hannaneh Hajishirzi, and Yejin Choi. Is reinforcement learning (not) for natural language processing?: Benchmarks, baselines, and building blocks for natural language policy optimization. _International Conference on Learning Representations_ , 2023.
|
| 265 |
+
|
| 266 |
+
- 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.
|
| 267 |
+
|
| 268 |
+
- John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In _International conference on machine learning_ , pp. 1889–1897. PMLR, 2015.
|
| 269 |
+
|
| 270 |
+
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. _arXiv preprint arXiv:1707.06347_ , 2017.
|
| 271 |
+
|
| 272 |
+
- John Schulman, Philipp Moritz, Sergey Levine, Michael Jordan, and Pieter Abbeel. High-dimensional continuous control using generalized advantage estimation, 2018.
|
| 273 |
+
|
| 274 |
+
- Charlie Snell, Ilya Kostrikov, Yi Su, Mengjiao Yang, and Sergey Levine. Offline rl for natural language generation with implicit language q learning, 2023.
|
| 275 |
+
|
| 276 |
+
- Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F Christiano. Learning to summarize with human feedback. _Advances in Neural Information Processing Systems_ , 33:3008–3021, 2020.
|
| 277 |
+
|
| 278 |
+
- Richard S. Sutton and Andrew G. Barto. _Reinforcement learning: An introduction_ . MIT Press, 1998.
|
| 279 |
+
|
| 280 |
+
- Tom Zahavy, Matan Haroush, Nadav Merlis, Daniel J Mankowitz, and Shie Mannor. Learn what not to learn: Action elimination with deep reinforcement learning. _Advances in neural information processing systems_ , 31, 2018.
|
| 281 |
+
|
| 282 |
+
- Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. Bertscore: Evaluating text generation with bert. _arXiv preprint arXiv:1904.09675_ , 2019.
|
| 283 |
+
|
| 284 |
+
- Daniel M Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. _arXiv preprint arXiv:1909.08593_ , 2019.
|
| 285 |
+
|
| 286 |
+
11
|
| 287 |
+
|
| 288 |
+
## A EXPERIMENTAL DETAILS
|
| 289 |
+
|
| 290 |
+
## A.1 TASK SPECIFICATION AND HYPERPARAMETER CONFIGURATION
|
| 291 |
+
|
| 292 |
+
Table 6 summarizes the task specifications and hyperparameter settings that we used in our experiments. For a fair comparison, we use exactly same settings of task, decoding strategy and tokenizer that used in (Ramamurthy et al., 2023). We also provide settings of hyperparameters that used in our experiments.
|
| 293 |
+
|
| 294 |
+
|IMDB<br>CommonGen<br>(Text Continuation)<br>(Commensense Generation)|IMDB<br>CommonGen<br>(Text Continuation)<br>(Commensense Generation)|IMDB<br>CommonGen<br>(Text Continuation)<br>(Commensense Generation)|
|
| 295 |
+
|---|---|---|
|
| 296 |
+
|Task<br>task preference metric<br>Learned Sentiment Classifer<br>METEOR<br>Specifcation<br>naturalness metric<br>Perplexity<br>SPICE|||
|
| 297 |
+
||||
|
| 298 |
+
|Decoding|sampling<br>min length<br>max new tokens|top-_k_(_k_ = 50)<br>beam search (_n_= 5)<br>48<br>5<br>48<br>20|
|
| 299 |
+
||||
|
| 300 |
+
|Tokenizer|padding side<br>truncation side<br>max length|left<br>left<br>left<br>-<br>64<br>20|
|
| 301 |
+
||||
|
| 302 |
+
|Hyper-<br>parameters|batch size<br>learning rate<br>discount factor<br>gae lambda|16<br>16<br>0.00001<br>0.00001<br>0.99<br>0.99<br>0.95<br>0.95|
|
| 303 |
+
|
| 304 |
+
Table 6: Task specification and hyperparameter configuration used in our experimental results on IMDB and CommonGen domain.
|
| 305 |
+
|
| 306 |
+
## A.2 IMPLEMENTATION DETAILS OF DFPO
|
| 307 |
+
|
| 308 |
+
We implement DfPO based on the codebase of NLPO (Ramamurthy et al., 2023), which is one of the representative RL algorithms for NLP tasks. As for the policy network, GPT-2 for the IMDB text continuation task and T5 for the generative commonsense task were used as in (Ramamurthy et al., 2023). We provide the pseudocode of our algorithm DfPO in Algorithm 1, and our code is available on [URL removed] For the advantage function estimation, we use Generalized Advantage Estimation (GAE) (Schulman et al., 2018), but any other advantage function estimation method can be used. Since our algorithm generates sentences through action-masked policies and maximizes or minimizes the likelihood of generated sentences, we implemented our algorithm as a sentence-level policy optimization (not a word-level policy optimization).
|
| 309 |
+
|
| 310 |
+
12
|
| 311 |
+
|
| 312 |
+
## B RESULTS OF NLPO WITH KL-REGULARIZATION PENALTY
|
| 313 |
+
|
| 314 |
+
We also provide the results of NLPO with KL-regularization penalty on the IMDB text continuation task. As shown in Figure 4, NLPO with KL-regularization penalty also shows very sensitive performance on both sentiment score and perplexity to hyperparameter.
|
| 315 |
+
|
| 316 |
+
**==> picture [397 x 207] intentionally omitted <==**
|
| 317 |
+
|
| 318 |
+
**----- Start of picture text -----**<br>
|
| 319 |
+
NLPO(w/o KL) NLPO(0.1, 0.05) NLPO(0.01, 0.2)<br>NLPO(0.1, 0.5) NLPO(0.1, 0.02) NLPO(0.01, 0.05)<br>NLPO(0.1, 0.1) NLPO(0.1, 0.01) NLPO(0.01, 0.02)<br>0.64 50<br>0.62<br>0.60 45<br>0.58<br>0.56 40<br>0.54<br>0.52 35<br>0 20 40 60 80 100 0 20 40 60 80 100<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 320 |
+
|
| 321 |
+
Figure 4: Averaged learning curve over 5 runs of NLPO with KL-regularization penalty on IMDB text continuation task for varying KL coefficient and target KL. NLPO ( _β_ , KLtarget) indicates the NLPO that considers the KL-regularization as a reward penalty with KL coefficient _β_ and target KL. The goal of the IMDB text continuation task is to learn a policy that maximizes the sentiment score (i.e. task reward) while preserving the perplexity (i.e. naturalness) of the initial policy. However, as shown in the results, NLPO with KL-regularization penalty shows very sensitive performance on both sentiment score and perplexity to hyperparameter.
|
| 322 |
+
|
| 323 |
+
13
|
| 324 |
+
|
| 325 |
+
## C ADDITIONAL EXPERIMENTAL RESULTS
|
| 326 |
+
|
| 327 |
+
## C.1 ABLATION STUDY
|
| 328 |
+
|
| 329 |
+
To study the role of each part of the objective, we provide ablation study results of DfPO on the IMDB text continuation task. We compare the results of methods trained with the four types of objectives (Policy gradient, Likelihood Maximization, Likelihood Minimization, and DfPO), and the details of each model are provided below. As shown in Figure 5, the naive policy gradient (PG), similar to PPO without the KL regularization penalty in Figure 1, improves task performance but the perplexity diverges (i.e. deteriorates the naturalness of generated texts). In the case of updating the policy with only likelihood minimization, it fails to improve the task performance and also preserve the naturalness of generated texts. In addition, when updating the policy with only likelihood maximization, the perplexity does not diverge, but the task performance is improved relatively low compared to DfPO. Therefore, each part of the objective in DfPO is necessary to successfully improve the task performance while preserving the naturalness of generated texts.
|
| 330 |
+
|
| 331 |
+
**==> picture [377 x 174] intentionally omitted <==**
|
| 332 |
+
|
| 333 |
+
**----- Start of picture text -----**<br>
|
| 334 |
+
PG Likelihood Maximization Likelihood Minimization DfPO<br>50<br>0.65<br>0.60 45<br>0.55 40<br>0.50 35<br>0.45<br>30<br>0 50 100 150 0 50 100 150<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 335 |
+
|
| 336 |
+
Figure 5: Ablation study results of DfPO on text continuation task with IMDB dataset. All results are averaged over 5 runs, and the shaded area represents the standard error.
|
| 337 |
+
|
| 338 |
+
## **Degeneration-free Policy Optimization (DfPO)**
|
| 339 |
+
|
| 340 |
+
To show the role of each part of the objective, we compare the result of DfPO trained with the following objective, which is exactly the same as the result of DfPO+Supervised in Figure 3:
|
| 341 |
+
|
| 342 |
+
**==> picture [394 x 50] intentionally omitted <==**
|
| 343 |
+
|
| 344 |
+
## **Likelihood Maximization**
|
| 345 |
+
|
| 346 |
+
First, we compare the results of updating the policy through the only likelihood maximization, which corresponds to the first term of the main objective of DfPO:
|
| 347 |
+
|
| 348 |
+
**==> picture [306 x 40] intentionally omitted <==**
|
| 349 |
+
|
| 350 |
+
## **Likelihood Minimization**
|
| 351 |
+
|
| 352 |
+
14
|
| 353 |
+
|
| 354 |
+
Second, we compare the results of updating the policy through the only likelihood minimization, which corresponds to the second term of the main objective of DfPO:
|
| 355 |
+
|
| 356 |
+
**==> picture [306 x 37] intentionally omitted <==**
|
| 357 |
+
|
| 358 |
+
## **Policy Gradient (PG)**
|
| 359 |
+
|
| 360 |
+
We also compare the result of naive policy gradient update without action-masked policies and advantage clipping as follows:
|
| 361 |
+
|
| 362 |
+
**==> picture [295 x 13] intentionally omitted <==**
|
| 363 |
+
|
| 364 |
+
- C.2 EXPERIMENTAL RESULTS WITH LARGE LANGUAGE MODEL
|
| 365 |
+
|
| 366 |
+
We also provide the result of DfPO with a large language model on the IMDB text continuation task. For the large language model, we use GPT-J (6B parameters) as initial and reference policies. As shown in Figure 6, DfPO can improve task scores while preserving the naturalness of the generated texts, even when using a large language model (GPT-J-6B) as a policy.
|
| 367 |
+
|
| 368 |
+
**==> picture [338 x 156] intentionally omitted <==**
|
| 369 |
+
|
| 370 |
+
**----- Start of picture text -----**<br>
|
| 371 |
+
DfPO (GPT-J-6B)<br>0.60 40<br>0.58 35<br>0.56 30<br>0.54 25<br>0.52<br>20<br>0.50<br>15<br>0 20 40 60 80 100 0 20 40 60 80 100<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 372 |
+
|
| 373 |
+
Figure 6: Experimental results of DfPO with large language model on text continuation task with IMDB dataset. The plots show the results of DfPO that was trained starting with GPT-J (6B parameters) model. All results are averaged over 5 runs, and the shaded area represents the standard error.
|
| 374 |
+
|
| 375 |
+
- C.3 EXPERIMENTAL RESULTS ON GENERATIVE COMMONSENSE TASK WITH STANDARD ERRORS
|
| 376 |
+
|
| 377 |
+
Due to the space limit of main paper, we provide the whole results of Table 4, including the standard errors.
|
| 378 |
+
|
| 379 |
+
|**Algorithms**<br>**Rouge-1**<br>**Rouge-2**<br>**Rouge-L**<br>**Rouge-LSum**<br>**Meteor**<br>**BLEU**<br>**BertScore**<br>**Cider**<br>**Spice**|**Algorithms**<br>**Rouge-1**<br>**Rouge-2**<br>**Rouge-L**<br>**Rouge-LSum**<br>**Meteor**<br>**BLEU**<br>**BertScore**<br>**Cider**<br>**Spice**|
|
| 380 |
+
|---|---|
|
| 381 |
+
|||
|
| 382 |
+
|Zero Shot<br>Supervised<br>PPO+Sup<br>NLPO+Sup<br>DfPO+Sup|0.415<br>0.016<br>0.270<br>0.270<br>0.179<br>0.0<br>0.854<br>0.640<br>0.231<br>0.503_±_0.001<br>0.175_±_0.001<br>0.411_±_0.001<br>0.411_±_0.001<br>0.309_±_0.001<br>0.069_±_0.001<br>0.929_±_0.000<br>1.381_±_0.011<br>0.443_±_0.001<br>0.540_±_0.005<br>0.204_±_0.005<br>0.436_±_0.004<br>0.436_±_0.004<br>0.329_±_0.003<br>0.076_±_0.003<br>0.930_±_0.001<br>1.474_±_0.022<br>0.447_±_0.004<br>0.537_±_0.003<br>0.201_±_0.004<br>0.431_±_0.002<br>0.431_±_0.002<br>0.326_±_0.002<br>0.074_±_0.003<br>0.930_±_0.000<br>1.464_±_0.025<br>0.448_±_0.002<br>**0.554**_±_**0.002**<br>**0.221**_±_**0.002**<br>**0.444**_±_**0.001**<br>**0.443**_±_**0.001**<br>**0.335**_±_**0.001**<br>0.079_±_0.001<br>0.929_±_0.001<br>1.455_±_0.027<br>0.445_±_0.002|
|
| 383 |
+
|
| 384 |
+
Table 7: Experimental results on generative commonsense task. The table shows experimental results on the generative commonsense task with averages and standard errors. All results indicate averages and standard errors over 5 independent runs.
|
| 385 |
+
|
| 386 |
+
15
|
| 387 |
+
|
| 388 |
+
## C.4 LEARNING CURVE OF DFPO ON COMMONSENSE GENERATION TASK
|
| 389 |
+
|
| 390 |
+
We also provide the learning curve of DfPO on the commonsense generation task. As shown in Figure C.3, DfPO can improve task scores (i.e. METEOR) while preserving the naturalness (i.e. Perplexity) of the generated texts.
|
| 391 |
+
|
| 392 |
+
**==> picture [338 x 156] intentionally omitted <==**
|
| 393 |
+
|
| 394 |
+
**----- Start of picture text -----**<br>
|
| 395 |
+
DfPO+Supervised<br>0.36 50<br>0.34 45<br>0.32<br>40<br>0.30<br>35<br>0 50 100 150 0 50 100 150<br>Training Iterations Training Iterations<br>METEOR Perplexity<br>**----- End of picture text -----**<br>
|
| 396 |
+
|
| 397 |
+
Figure 7: Experimental results of DfPO on commonsense generation task. All results are averaged over 5 runs, and the shaded area represents the standard error.
|
| 398 |
+
|
| 399 |
+
## C.5 RESULTS OF PPO WITH SFT
|
| 400 |
+
|
| 401 |
+
We conducted additional experiments for PPO+SFT, where the learning objective is aggregated with PPO and supervised fine-tuning objectives. We provide the results of PPO+SFT with KLregularization penalty on the IMDB text continuation task. As shown in Figure C.3, PPO+SFT with KL-regularization penalty also shows very sensitive performance on both sentiment score and perplexity to hyperparameter.
|
| 402 |
+
|
| 403 |
+
**==> picture [338 x 163] intentionally omitted <==**
|
| 404 |
+
|
| 405 |
+
**----- Start of picture text -----**<br>
|
| 406 |
+
PPO+SFT(w/o KL) PPO+SFT(0.1, 0.05) PPO+SFT(0.5, 0.05)<br>PPO+SFT(0.1, 0.5) PPO+SFT(0.1, 0.01) PPO+SFT(0.5, 0.01)<br>0.90<br>50<br>0.85<br>0.80<br>45<br>0.75<br>0.70<br>0.65 40<br>0.60<br>0.55 35<br>0 10 20 30 40 50 0 10 20 30 40 50<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 407 |
+
|
| 408 |
+
Figure 8: Averaged learning curve over 5 runs of PPO+SFT with KL-regularization penalty on IMDB text continuation task for varying KL coefficient and target KL. PPO+SFT ( _β_ , KLtarget) indicates the PPO+SFT that considers the KL-regularization as a reward penalty with KL coefficient _β_ and target KL. The goal of the IMDB text continuation task is to learn a policy that maximizes the sentiment score (i.e. task reward) while preserving the perplexity (i.e. naturalness) of the initial policy. However, as shown in the results, PPO+SFT with KL-regularization penalty shows very sensitive performance on both sentiment score and perplexity to hyperparameter.
|
| 409 |
+
|
| 410 |
+
16
|
| 411 |
+
|
| 412 |
+
## C.6 RESULTS WITH VARYING POLICY FOR INFERENCE
|
| 413 |
+
|
| 414 |
+
To study the role of negative action-masked policy for inference, we provide additional experimental results of DfPO on the IMDB text continuation task. We compare the results of DfPO with three types of policies for inference ( _πθ_ , positive action-masked policy _π_ mask[+][, and negative action-masked] policy _π_ mask _[−]_[).][As shown in Figure C.3, we have experimentally observed that the task performance] deteriorates when inference is performed with other policies ( _πθ_ and positive action-masked policy _π_ mask[+][) rather than the negative action-masked policy] _[ π]_ mask _[−]_[.]
|
| 415 |
+
|
| 416 |
+
**==> picture [338 x 156] intentionally omitted <==**
|
| 417 |
+
|
| 418 |
+
**----- Start of picture text -----**<br>
|
| 419 |
+
DfPO( ) DfPO( mask+ [)] DfPO( mask [)]<br>50<br>0.65<br>0.60 45<br>0.55 40<br>0.50 35<br>0.45<br>30<br>0 50 100 0 50 100<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 420 |
+
|
| 421 |
+
Figure 9: Experimental results of DfPO with varying policy for inference. All results are averaged over 5 runs, and the shaded area represents the standard error.
|
| 422 |
+
|
| 423 |
+
17
|
| 424 |
+
|
| 425 |
+
## D QUALITATIVE RESULTS
|
| 426 |
+
|
| 427 |
+
In this section, we demonstrate through qualitative examples that DfPO improves task performance while maintaining the naturalness of generated texts. We provide generation results from DfPO and baseline algorithms. We selected the same prompts as used in (Ramamurthy et al., 2023), and the generation results of baseline algorithms are from (Ramamurthy et al., 2023). As shown in the examples, the generation results of DfPO show maintaining naturalness, which does not diverge from human language. On the other hand, PPO-no-KL and NLPO-no-KL, which do not use the KL regularization penalty, show results with poor naturalness of generated texts.
|
| 428 |
+
|
| 429 |
+
## **Sample** 1
|
| 430 |
+
|
| 431 |
+
## **Prompt:**
|
| 432 |
+
|
| 433 |
+
A man and his wife are not getting along because of the wife’s jealousy and drinking problems. When the wife disappears, her sister begins a vigorous search involving the
|
| 434 |
+
|
| 435 |
+
## **References:**
|
| 436 |
+
|
| 437 |
+
local police, state government, and a television crime show. What she finds out stuns the entire community. Good drama with lots of fine performances; based on a true story
|
| 438 |
+
|
| 439 |
+
## **Zero-Shot:**
|
| 440 |
+
|
| 441 |
+
husband’s sister, which leads several men to a remote cabin and then a boat. The wife and her husband then start to see the same things. Finally, a strange woman is driving out to her cabin and discovers the husband’s disappearance but
|
| 442 |
+
|
| 443 |
+
## **Supervised:**
|
| 444 |
+
|
| 445 |
+
amily tree. The widower, now widowed, returns, the daughter, daughter is not pleased when his wife is mistaken for one of her sons, and the patriarch, then a wealthy man, falls victim to a jealous husband. The
|
| 446 |
+
|
| 447 |
+
## **PPO:**
|
| 448 |
+
|
| 449 |
+
police and the local public. At the end, the woman is killed and the wife is found naked and with a red head tattooed on her back. This is part of a special feature called"On the Road, Hidden" which was
|
| 450 |
+
|
| 451 |
+
## **PPO-no-KL:**
|
| 452 |
+
|
| 453 |
+
police and other local governments. Written by G. Scott Fitzgerald, who also stars in this production, "A Very Merry Christmas" is a wonderful family movie with a wonderful soundtrack and wonderful characters. It brings home the true beauty of small-
|
| 454 |
+
|
| 455 |
+
## **NLPO:**
|
| 456 |
+
|
| 457 |
+
mother while the brother goes under. After all, his sister, who was apparently kidnapped but who turns out to be a man, is no longer in her place. If a film that was made in the 1950s
|
| 458 |
+
|
| 459 |
+
## **NLPO-no-KL:**
|
| 460 |
+
|
| 461 |
+
friends of the wife, and also the friend of the wife of the woman that is missing, and eventually he begins to find that she has gone to Germany and he has made a very good friend. There is a good scene between John and
|
| 462 |
+
|
| 463 |
+
## **DfPO:**
|
| 464 |
+
|
| 465 |
+
town of Berenner, California. This is an excellent film, and it was made one year before George Cloorman (Stick With Her). It’s as if George was already aware of the historical context
|
| 466 |
+
|
| 467 |
+
18
|
| 468 |
+
|
| 469 |
+
## **Sample** 2
|
| 470 |
+
|
| 471 |
+
## **Prompt:**
|
| 472 |
+
|
| 473 |
+
A very credible and unsettling movie portraying the effects of war on the general public, Shame gives us a chilling understanding oh Ingmar Bergman’s beliefs. The absence of color and sound (as in a soundtrack) helps to give the film a more realistic feeling. There is no soft or hard lighting or a variety of camera angles to give the story a charming or dramatic effect. Everything is very simply portrayed as it would be in reality. At times the storyline was confusing, but perhaps in order to give a sense of the characters’ frame of mind how they too do now know what is happening or why. The simplicity of the
|
| 474 |
+
|
| 475 |
+
## **References:**
|
| 476 |
+
|
| 477 |
+
film made it somewhat boring, but I could understand how the director is trying not to glamorize the story and points. He depicted the harsh and unsettling events and effects of war. In the beginning the characters were introduced and shown as content with the lighter settings
|
| 478 |
+
|
| 479 |
+
## **Zero-Shot:**
|
| 480 |
+
|
| 481 |
+
camera work is at once apparent and fascinating in the manner in which it affects the way things are portrayed. In other films these two have been referred to from time to time in a form and manner more suited to the screen. The film shows
|
| 482 |
+
|
| 483 |
+
## **Supervised:**
|
| 484 |
+
|
| 485 |
+
"Dakota Clan" and his sister, the two become friends with Ted Masters who soon finds the chance to fly back to their home land and go back to save his brother’s life and his family. The
|
| 486 |
+
|
| 487 |
+
## **PPO:**
|
| 488 |
+
|
| 489 |
+
characters relationships is so engrossing and the great and unique story presented by each pair of brothers and sisters creates a truly gripping and enjoyable experience. To put it simply, I strongly recommend to everyone who plays the role to buy this DVD!!!
|
| 490 |
+
|
| 491 |
+
## **PPO-no-KL:**
|
| 492 |
+
|
| 493 |
+
movie helps it to flow along in a believable way. Rating 4 out of 5 Great Movie! I highly recommend these movies! I highly recommend these movies! Rating 5 out of 5 Great Movie! I highly recommend these movies! Rating 10 of"
|
| 494 |
+
|
| 495 |
+
## **NLPO:**
|
| 496 |
+
|
| 497 |
+
novel makes it one of the first books I have read by a British actor. It is a fun way for someone who likes their books, like me, to sit through a novel. If you like to read novels, check it out.
|
| 498 |
+
|
| 499 |
+
## **NLPO-no-KL:**
|
| 500 |
+
|
| 501 |
+
setting makes the final product very enjoyable to watch. Highly recommended!! Michael Bowerman, SPSA Film Festival Host, SPSA, WA (December 17, 2006), 8/17/2006 Great photography, good acting,
|
| 502 |
+
|
| 503 |
+
## **DfPO:**
|
| 504 |
+
|
| 505 |
+
screenplay which follows that, makes for an excellent point, by telling this to the general public at hand with an all-merse narration and sound. The scene with Sgt Columbo fighting for our pride is actually excellent and
|
| 506 |
+
|
| 507 |
+
19
|
| 508 |
+
|
| 509 |
+
## **Sample** 3
|
| 510 |
+
|
| 511 |
+
## **Prompt:**
|
| 512 |
+
|
| 513 |
+
Shakespearean language is wild and rambling, saturated in multiple meanings, word play and metaphor. To be understood it must be wrangled and tamed by an actor with the strength and knowledge to do so. When an actor fails, the words pour forth in a torrent of incomprehensible words, but when he succeeds, the English language springs to life with an immediacy and vibrancy that takes your breath away. Al Pacino is one such actor, and here displays an incredible level of clarity and control that, were there any justice,
|
| 514 |
+
|
| 515 |
+
## **References:**
|
| 516 |
+
|
| 517 |
+
would sweep every award in the offering. He meets the challenge of presenting Shylock head on, and delivers an extraordinarily subtle and nuanced performance. It would be a crime if we never got the opportunity to see what he does with King Lear.<br /><br />The supporting cast **Zero-Shot:** might still be seen in the world today. This movie, like "Vacation", is an effort at telling the tale of two families from different races. One is African but never grew up the other. One of them, a man
|
| 518 |
+
|
| 519 |
+
## **Supervised:**
|
| 520 |
+
|
| 521 |
+
his performance (so far) would seem mere shadow. He is truly in the middle of a movie, and this film is one of those films where he can be convincing in it (and his trademark acting, as you can see in the
|
| 522 |
+
|
| 523 |
+
## **PPO:**
|
| 524 |
+
|
| 525 |
+
would have made him an instant-classic. This movie captures the spirit of childhood and has everyone in the world watching it. It’s a love story and it’s really heartbreaking. And at the same time, it’s a classic. It
|
| 526 |
+
|
| 527 |
+
## **PPO-no-KL:**
|
| 528 |
+
|
| 529 |
+
will bring victory to the fight against hatred and extremism. Al Pacino is a very beautiful, well executed actor who brings an absolute intensity and sensibility to his portrayal of love and loyalty. A must see! Recommended! Also, an Excellent
|
| 530 |
+
|
| 531 |
+
## **NLPO:**
|
| 532 |
+
|
| 533 |
+
I would watch and enjoy. 7/10, Oscar Wilde is always a pleasure to see. A must see. Highly recommend. Highly recommend! One of my top ten films of all time. A must see!!
|
| 534 |
+
|
| 535 |
+
## **NLPO-no-KL:**
|
| 536 |
+
|
| 537 |
+
the whole film would have fallen to the same fate, just as it did just a couple hundred years ago. Don’t miss it. It’s a real classic. Highly Recommended. *[outta][five][stars][for][it!]
|
| 538 |
+
|
| 539 |
+
## **DfPO:**
|
| 540 |
+
|
| 541 |
+
hardly could be conceived, couldn `´` ve only appear to be a dream. His acting speaks for an incredible combination of passion and fear; his portrayal of Shakespeare that comes from passion is mesmerishing. His accent is reminiscent of the softening with
|
| 542 |
+
|
| 543 |
+
20
|
| 544 |
+
|
| 545 |
+
## E COMPARISON WITH PPO
|
| 546 |
+
|
| 547 |
+
Before starting the derivation, we define the following stationary distributions:
|
| 548 |
+
|
| 549 |
+
**==> picture [174 x 55] intentionally omitted <==**
|
| 550 |
+
|
| 551 |
+
where _s_ 0 _∼ p_ 0 and the actions are chosen according to _π_ . In addition, the policy gradient objective can be formulated as
|
| 552 |
+
|
| 553 |
+
**==> picture [182 x 11] intentionally omitted <==**
|
| 554 |
+
|
| 555 |
+
## E.1 PPO OBJECTIVE
|
| 556 |
+
|
| 557 |
+
From the policy gradient objective, TRPO and PPO use the following gradient of the surrogate objective:
|
| 558 |
+
|
| 559 |
+
**==> picture [248 x 52] intentionally omitted <==**
|
| 560 |
+
|
| 561 |
+
where _wθ,_ old( _s, a_ ) := _πθ_ ( _a|s_ )
|
| 562 |
+
|
| 563 |
+
**==> picture [31 x 7] intentionally omitted <==**
|
| 564 |
+
|
| 565 |
+
To stabilize this objective, PPO modifies the surrogate objective to penalize deviations of _πθ_ ( _s, a_ ) from _π_ old( _s, a_ ) (Schulman et al., 2017):
|
| 566 |
+
|
| 567 |
+
_J_ PPO( _θ_ ) = E( _s,a_ ) _∼d[π]_ old � min _{A[π]_[old] ( _s, a_ ) _wθ,_ old( _s, a_ ) _, A[π]_[old] ( _s, a_ )clip( _wθ,_ old( _s, a_ ) _,_ 1 _− ϵ,_ 1 + _ϵ_ ) _}_ �
|
| 568 |
+
|
| 569 |
+
for a hyperparameter _ϵ >_ 0. For two arbitrary variables _u_ and _A_ , we define following two functions:
|
| 570 |
+
|
| 571 |
+
**==> picture [234 x 25] intentionally omitted <==**
|
| 572 |
+
|
| 573 |
+
where I is a indicator function:
|
| 574 |
+
|
| 575 |
+
**==> picture [130 x 28] intentionally omitted <==**
|
| 576 |
+
|
| 577 |
+
Then, the following equations hold:
|
| 578 |
+
|
| 579 |
+
**==> picture [302 x 41] intentionally omitted <==**
|
| 580 |
+
|
| 581 |
+
and consequently, the gradient of _J_ PPO( _θ_ ) is equivalent to the gradient of the following objective:
|
| 582 |
+
|
| 583 |
+
**==> picture [260 x 13] intentionally omitted <==**
|
| 584 |
+
|
| 585 |
+
Compared to the original surrogate objective _J_[ˆ] PG( _θ_ ), _g_ � _wθ,_ old( _s, a_ ) _, A[π]_[old] ( _s, a_ ) _, ϵ_ � is added to prevent deviations of _πθ_ ( _s, a_ ) too far from _π_ old( _s, a_ ).
|
| 586 |
+
|
| 587 |
+
21
|
| 588 |
+
|
| 589 |
+
## E.2 DFPO OBJECTIVE
|
| 590 |
+
|
| 591 |
+
In NLP tasks, when we have a reward model, the environment interaction is not too expensive because generating an action sequence from _π_ is equivalent to generating a trajectory from _π_ . Thus, we will use policy gradient objective instead of surrogate objective. In addition, we want to penalize deviations of _πθ_ from _π_ 0, instead of _π_ old. Hence, similar to the original PPO objective, incorporating _g_ � _wθ,_ 0( _s, a_ ) _, A[π]_ ( _s, a_ ) _, ϵ_ � into the original policy gradient objective _J_ PG( _θ_ ) can be employed to avoid substantial deviations of _πθ_ ( _s, a_ ) from _π_ 0( _s, a_ ):
|
| 592 |
+
|
| 593 |
+
**==> picture [246 x 27] intentionally omitted <==**
|
| 594 |
+
|
| 595 |
+
**==> picture [341 x 14] intentionally omitted <==**
|
| 596 |
+
|
| 597 |
+
**==> picture [387 x 88] intentionally omitted <==**
|
| 598 |
+
|
| 599 |
+
The last term Eq. (13) is equivalent to the DfPO objective in Eq. (7), which successfully improves the task performance while preserving the naturalness of generated texts. We experimentally observed that, unlike when updating the policy with Eq. 12, the policy is successfully improved without degeneration issue when updating with Eq. 13.
|
| 600 |
+
|
| 601 |
+
22
|
| 602 |
+
|
| 603 |
+
## F RESULTS OF DPO
|
| 604 |
+
|
| 605 |
+
We additionally provide the results of Direct Preference Optimization (DPO) (Rafailov et al., 2023), which is one of the recent representative RLHF algorithms.
|
| 606 |
+
|
| 607 |
+
## F.1 EXPERIMENTAL SETTINGS OF DPO
|
| 608 |
+
|
| 609 |
+
We conducted additional experiments for DPO on the IMDB text continuation task. In contrast to the online RL setting given the reward function considered in this paper, DPO assumes an offline RL setting given a pairwise dataset. For the offline pairwise dataset, we used prefixes from the IMDB training dataset as prompts, then we sampled 2 completions for 20000 prompts and created preference pairs for each prefix using the ground-truth reward model.
|
| 610 |
+
|
| 611 |
+
## F.2 EXPERIMENTAL RESULTS OF DPO
|
| 612 |
+
|
| 613 |
+
We provide the results of DPO with various hyperparameters for the KL-regularization penalty (i.e. _β_ ). As shown in Figure D, DPO with KL-regularization penalty also shows very sensitive performance on both sentiment score and perplexity to hyperparameter. We also provide the perplexity-reward frontier for DPO. Figure D shows that DfPO achieves better sentiment score performance than DPO for the same perplexity.
|
| 614 |
+
|
| 615 |
+
**==> picture [318 x 153] intentionally omitted <==**
|
| 616 |
+
|
| 617 |
+
**----- Start of picture text -----**<br>
|
| 618 |
+
DPO( =0.01) DPO( =1) DPO( =10)<br>DPO( =0.1) DPO( =5)<br>0.80 50<br>0.75<br>45<br>0.70<br>0.65<br>40<br>0.60<br>0.55 35<br>0 50 100 150 200 250 300 0 50 100 150 200 250 300<br>Training Iterations Training Iterations<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 619 |
+
|
| 620 |
+
Figure 10: Averaged learning curve over 5 runs of DPO on IMDB text continuation task for varying KL coefficient _β_ . DPO( _β_ ) indicates the DPO that considers the KL-regularization as a reward penalty with KL coefficient _β_ . As shown in the results, DPO shows very sensitive performance on both sentiment score and perplexity to hyperparameter.
|
| 621 |
+
|
| 622 |
+
**==> picture [179 x 135] intentionally omitted <==**
|
| 623 |
+
|
| 624 |
+
**----- Start of picture text -----**<br>
|
| 625 |
+
0.66<br>0.64<br>0.62<br>0.60<br>0.58<br>0.56<br>DPO<br>DfPO<br>35.75 36.00 36.25 36.50 36.75 37.00 37.25 37.50<br>Perplexity<br>Sentiment Score<br>**----- End of picture text -----**<br>
|
| 626 |
+
|
| 627 |
+
Figure 11: Perplexity-Reward frontier for DPO. The _x_ -axis represents the perplexity score and the _y_ -axis represents the sentiment score.
|
| 628 |
+
|
| 629 |
+
23
|
| 630 |
+
|
open_review/iclr2024_9128.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9128",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Dynamics-Informed Protein Design with Structure Conditioning",
|
| 6 |
+
"abstract": "Current protein generative models are able to design novel backbones with desired shapes or functional motifs. However, despite the importance of a protein’s dynamical properties for its function, conditioning on dynamical properties remains elusive. We present a new approach to protein generative modeling by leveraging Normal Mode Analysis that enables us to capture dynamical properties too. We introduce a method for conditioning the diffusion probabilistic models on protein dynamics, specifically on the lowest non-trivial normal mode of oscillation. Our method, similar to the classifier guidance conditioning, formulates the sampling process as being driven by conditional and unconditional terms. However, unlike previous works, we approximate the conditional term with a simple analytical function rather than an external neural network, thus making the eigenvector calculations approachable. We present the corresponding SDE theory as a formal justification of our approach. We extend our framework to conditioning on structure and dynamics at the same time, enabling scaffolding of the dynamical motifs. We demonstrate the empirical effectiveness of our method by turning the open-source unconditional protein diffusion model Genie into the conditional model with no retraining. Generated proteins exhibit the desired dynamical and structural properties while still being biologically plausible. Our work represents a first step towards incorporating dynamical behaviour in protein design and may open the door to designing more flexible and functional proteins in the future.",
|
| 7 |
+
"rebuttal": "Dear Reviewers,\n\nPlease note we added a minor correction to the manuscript regarding the usage of ProteinMPNN in the Appendix G.\n\nDear Reviewer FtGW,\n\nThank you for your response and for raising your score.\n\nWe have just uploaded a revised manuscript which includes more quantitative experiments for an example that illustrates a biological application scenario (apologies for taking this long, running the experiments & extended analysis to address the interesting questions raised in the reviews took us some time). The revised version also contains the fix to your minor comment on the 'blow-up' discussion above.\n\nWe hope you find the extra experiments and further quantitative evaluation in appendix G in the revised manuscri [...]\n\nDear Reviewer 65X8,\n\nThank you for taking the time to read and reply to our response.\n\nWe apologise for an apparent miscommunication on our part: We did not mean to claim that guidance using Tweedie's formula is the novelty of our method (indeed, we cite reference [1] you mention in our response and the paper).\n\nRather, we believe the novelty of our method comes from combining an old-school bioinformatics technique (NMA) and making it \"machine-learning fit\" and by formulating the task of joint motif and dynamics conditioning via normal modes. We believe that the introduction of this idea will [...]\n\n### General response\nDear Reviewers,\n\nThank you very much for your comments and thorough feedback. It helps us improve the quality of the paper. \nWe are pleased to hear that you find the **problem tackled here interesting**, the conditioning pipeline **clearly described** (RM3Pz, R65X8) and **technically sound** (RFtGW), and the **results promising** (R65X8). We are grateful for comments on how to improve the manuscripts content and clarity. The updated version of the manuscript contains the suggested clarifications. For your convenience, we **indicate changes** in the manuscript in **blue**, [...]\n\n### Initial Response to Reviewer 2\nDear Reviewer M3zP,\n\nThank you for your comments and in particular the note on Section 3.1 with a suggested read. We now added the paper you recommend to the discussion of the design choices in Section 3.1. \n\n**Regarding your concern on the novelty of our method/content of the paper:** \nWe agree with you that our approach utilises the existing guidance framework (reconstruction based guidance). Yet we would like to highlight the simplicity of the method as an advantage rather than a drawback of our work. We would also like to emphasise that this particular c [...]\n\n### Initial Response to Reviewer 3\nDear Reviewer E2Vz,\n\nThank you for your valuable time and feedback, including points on figures 1, 2 & 3 – they help us improve the content and clarity of the manuscript. \n\n**On evaluation**: \nWe address your concern on “weak evidence to support the method works” in the general response. Briefly, in addition to visual inspections and evaluating the NMA loss, the current quantitative evaluation, we newly add a self-consistent NMA (scNMA - explained in the general response) evaluation to our evaluation pipeline and are currently running experiments to assess i [...]\n\n### Initial Response to Reviewer 4\nDear Reviewer 65X8,\n\nThank you for your comments and suggestions on how to improve the paper. \n\nWe hope that we address your comment about the novelty in the overall response. Briefly, we agree with you that our approach utilises the existing guidance framework (reconstruction based guidance). Yet we would like to highlight the simplicity of the method as an advantage rather than a drawback of our work. We would also like to emphasise that this particular choice of guidance strategy and schedule is not arbitrary, but was carefully chosen to match the strength [...]\n\n### Initial response to Reviewer 1 (1/2)\nDear Reviewer FtGW,\n\nThank you for thoroughly reviewing our manuscript and giving your insightful comments. We now improved the clarity of our manuscript according to your suggestions. Where suitable, we added pointers to the modifications in the manuscript that show where your concern has been addressed. \n\nPlease also note the general points on **evaluation** and **novelty** that we discuss **in the general response**, since some questions were raised by several reviewers.\n\nSpecifically to your point on **how we envision this method to be used**: \nIf [...]\n\n### Initial response to Reviewer 1 (2/2)\n- Page 7. \"Occasionally the conditional sampling will ‘blow up’, which has been generally observed in many conditional diffusion models (Lou & Ermon, 2023)\" - We apologise for the use of informal language and updated this statement in the manuscript, and your hypothesis that the “blow up” is connected to the guidance scale is indeed correct. By ‘blow up’ we refer to a process where a coordinate increases by orders of magnitude along the sampling trajectory, or even becomes NaN. This phenomenon tends to happen when the conditioning pushes a sample’s coor [...]\n\n### Updated experiments to answer rebuttal questions\nDear Reviewers,\n\nWe have now updated the manuscript with the additional experiments in the Appendix G. We hope you will find them helpful in addressing any of your remaining questions. \n\n\nPlease find a **quick summary** below:\n- The additional experiments **extend our evaluation framework with a self-consistency NMA score (scNMA)**. This metric quantifies whether the structure obtained from the pipeline: Genie $C_\\alpha$ backbone -> ProteinMPNN inverse-folding -> ESMFold folding has the NMA-loss close to the value derived from the backbone. [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.5,
|
| 15 |
+
"score_variance": 0.33,
|
| 16 |
+
"score_spread": 1,
|
| 17 |
+
"score_min": 5,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Accept (poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "This manuscript introduces a method that integrates dynamic information into protein generative models, focusing on conditioning diffusion probabilistic models on protein dynamics, especially on the lowest non-trivial normal mode of oscillation. The approach employs a novel loss function based on Normal Mode Analysis (NMA) to guide the generation of protein structures to meet specific dynamic properties. The practical utility of this method is demonstrated by adapting the existing Genie model to produce proteins that meet both structural and dynamic criteria, without requiring retraining.",
|
| 22 |
+
"forum_id": "jZPqf2G9Sw",
|
| 23 |
+
"primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_FtGW",
|
| 28 |
+
"review_id": "DZCW5gJkv8",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 6988,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1825794,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_M3zP",
|
| 44 |
+
"review_id": "v7kkJTx9EN",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2398,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1981090,
|
| 55 |
+
"post_rebuttal_text_signal": true,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_E2Vz",
|
| 60 |
+
"review_id": "jPDn07IH6E",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2990,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 914410,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_65X8",
|
| 76 |
+
"review_id": "nMswtvJvmS",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 3311,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 934857,
|
| 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_9128.md
ADDED
|
@@ -0,0 +1,562 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## DYNAMICS-INFORMED PROTEIN DESIGN WITH STRUCTURE CONDITIONING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Current protein generative models are able to design novel backbones with desired shapes or functional motifs. However, despite the importance of a protein’s dynamical properties for its function, conditioning on these dynamics remains elusive. We present a new approach to include dynamical properties in protein generative modeling by leveraging Normal Mode Analysis. We introduce a method for conditioning diffusion probabilistic models on protein dynamics, specifically on the lowest non-trivial normal mode of oscillation. Our method, similar to classifier guidance conditioning, formulates the sampling process as being driven by conditional and unconditional terms. However, unlike previous works, we approximate the conditional term with a simple analytical function rather than an external neural network, thus making the eigenvector calculations approachable. We present the corresponding SDE theory as a formal justification of our approach. We extend our framework to conditioning on structure _and_ dynamics at the same time, enabling scaffolding of dynamical motifs. We demonstrate the empirical effectiveness of our method by turning the open-source unconditional protein diffusion model Genie into a normal-mode-dynamics-conditional model with no retraining. Generated proteins exhibit the desired dynamical and structural properties while still being biologically plausible. Our work represents a first step towards incorporating dynamical behaviour in protein design and may open the door to designing more flexible and functional proteins in the future.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Generative Artificial Intelligence (AI) has rapidly accelerated protein design research. A common problem tackled with AI is the task of protein backbone design, which is finding a new and realistic 3D structure tailored to the specific biological function. Recently, AI models based on the denoising diffusion framework (Ho et al., 2020; Song et al., 2021) have shown remarkable success in generating realistic protein backbones, especially backbones with pre-defined, fixed substructures often referred to as _motifs_ (Watson et al., 2022; Trippe et al., 2023). Since many functions have been linked to the presence of various functional motifs, enforcing the generation process to preserve such substructures is crucial in meaningful protein design. However, current modeling approaches do not incorporate an important aspect of protein design - structure alone is not enough to determine the protein’s functional properties. Information about protein flexibility, especially about its lowfrequency collective motion, is crucial in determining protein functional properties (Bauer et al., 2019). In this work, we address this research gap and provide a framework for a diffusion model conditioned not only on structural constraints but also on protein dynamics.
|
| 14 |
+
|
| 15 |
+
We analyse protein dynamics through the lens of Normal Mode Analysis (NMA) (Bahar et al., 2010). This is a simple yet powerful method for obtaining eigenvectors of the motion of protein residues and their relative displacements in each mode. After performing NMA on a real-life protein with known functionality, the obtained eigenvectors can be used as the dynamic targets when using a diffusion
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
model to sample a novel backbone. We are particularly interested in proteins which exhibit hingelike motions, which are responsible for a number of protein functions and are strongly constrained in both structure and dynamics (Khade et al., 2020). Protein hinges usually involve two secondary structure elements rotating against each other about the common axis, similar to how a hinge at the door frame has closing and opening motions.
|
| 20 |
+
|
| 21 |
+
Our contributions are as follows:
|
| 22 |
+
|
| 23 |
+
- We introduce a new methodology for conditioning protein generation on dynamical properties. Our approach is based on NMA which is easy to compute and captures collective motions related to protein function. Moreover, we demonstrate how conditioning on the desired relative displacements, which we refer to as _dynamics conditioning_ , can be accompanied by _structure conditioning_ . To substantiate this _joint conditioning_ theoretically, we present a formal interpretation in terms of stochastic differential equations.
|
| 24 |
+
|
| 25 |
+
- We train our custom conditional diffusion model and generate dynamics-conditioned backbones. Thanks to the large number of real-life dynamics targets extracted from our data, we provide a detailed analysis of the effectiveness of the method. We measure the agreement of the displacements using a custom loss function and manually inspect the agreement of target and sample displacement vectors for selected samples. Our method indeed allows us to generate proteins with desired dynamics and is easily transferable to other models.
|
| 26 |
+
|
| 27 |
+
- We showcase the joint conditioning by applying it to a trained Genie model (Lin & AlQuraishi, 2023). Through literature research, we select three proteins that exhibit hinge structures and motions, identify residues located in the hinge arms and use those as conditioning targets. Figure 1 shows that we succeed in generating new and biologically plausible proteins with the targeted hinge dynamics, demonstrating that our framework can be transferred to other models in a plug-and-play fashion.
|
| 28 |
+
|
| 29 |
+
**==> picture [396 x 177] intentionally omitted <==**
|
| 30 |
+
|
| 31 |
+
Figure 1: Comparison of natural proteins (top) from which the hinge targets were extracted with conditional samples (bottom). **Top row:** from the left – lysozyme, adenylate kinase, haemoglobin. **Bottom row:** protein backbones synthesised with Genie that match the pre-selected hinge motif residues and have the desired dynamics, from the left with lysozyme, adenylate kinase, haemoglobin targets. Purple arrows are the displacements of selected residues in the normal mode, while green ones are the displacements in the same mode but in a novel structure. Arrows have been scaled up for increased visual clarity. Note how the relative amplitudes and pair-wise angles of the green arrows match the constraints imposed by the target, and how the relative positions of the novel hinge residues are as in the original structure.
|
| 32 |
+
|
| 33 |
+
2
|
| 34 |
+
|
| 35 |
+
## 2 BACKGROUND AND RELATED WORK
|
| 36 |
+
|
| 37 |
+
## 2.1 DIFFUSION PROBABILISTIC MODELING
|
| 38 |
+
|
| 39 |
+
The generative process in diffusion probabilistic models (Sohl-Dickstein et al., 2015) starts with a sample from the standard normal distribution, _xT ∼N_ (0 _,_ 1). The goal of this process is to transform _xT_ into the sample _x_ 0 from the targeted data distribution _p_ 0( _x_ 0), initially unknown and indirectly accessed by the trained model.
|
| 40 |
+
|
| 41 |
+
The key idea is to formulate the model training as a forward diffusion process in which the model predicts how much noise was added to the original sample. For a sample from the training set _x_ 0, the forward process is defined as iteratively adding a small amount of Gaussian noise to the sample in _T_ steps, which produces a sequence of noisy samples _x_ 0: _T_ such that the final sample _xT ∼N_ (0 _,_ 1) to good approximation. In the Denoising Diffusion Probabilistic Modeling (DDPM) framework (Ho et al., 2020) the noise magnitude at each step is defined by a variance schedule _{βt, t ∈_ [0 : _T_ ] _}_ such that
|
| 42 |
+
|
| 43 |
+
**==> picture [284 x 13] intentionally omitted <==**
|
| 44 |
+
|
| 45 |
+
The above transition defines a Markov process in which the original data is transformed into a standard normal distribution. It is possible to write the density of _xt_ given _x_ 0 in a closed form
|
| 46 |
+
|
| 47 |
+
**==> picture [350 x 12] intentionally omitted <==**
|
| 48 |
+
|
| 49 |
+
where _α_ ¯ _t_ =[�] _[t] i[α][i]_[ and] _[ α][i]_[= 1] _[−][β][i]_[ and] _[ ϵ][t][∼N]_[(0] _[,]_[ 1)][. Transforming a sample] _[ x][T]_[into the sample] _[ x]_[0] is done in several updates that reverse the destructive noising, given by a reverse sampling scheme
|
| 50 |
+
|
| 51 |
+
**==> picture [308 x 26] intentionally omitted <==**
|
| 52 |
+
|
| 53 |
+
where _z ∼N_ (0 _,_ 1). The neural network _ϵθ_ (the denoiser) should be trained to predict noise added to _x_ 0. Ho et al. (2020) showed the following loss function is sufficient
|
| 54 |
+
|
| 55 |
+
**==> picture [299 x 13] intentionally omitted <==**
|
| 56 |
+
|
| 57 |
+
Song et al. (2021) state that the DDPM is an example from the larger class of score-based models. They demonstrated that the discrete forward and reverse diffusion processes have their continuous time equivalents, that is, the forward Stochastic Differential Equation
|
| 58 |
+
|
| 59 |
+
and its reversal
|
| 60 |
+
|
| 61 |
+
**==> picture [307 x 59] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
where the quantity _∇xt_ ln _pt_ ( _xt_ ) is called the score¯ and is closely related to the noise in DDPM by the equivalence _∇xt_ ln _pt_ ( _xt_ ) = _−ϵt/[√]_ 1 _− αt_ (derivation are in the Appendix F). Any model trained to predict the noise can be written in terms of the score, which is an essential property of our work. Whenever we derive some expression with respect to the score, we can use the noise-based formulation for forward and reverse diffusion processes by simply substituting _ϵt_ = _−[√]_ 1 _− α_ ¯ _t∇xt_ ln _pt_ ( _xt_ ).
|
| 64 |
+
|
| 65 |
+
**Related work on Diffusion Probabilistic Models for protein design.** In the context of protein generative modelling, the real data samples _x_ 0 are often represented by protein backbone coordinates (e.g., at the resolution of _Cα_ atoms), optionally with amino-acid identity as a scalar feature. Protein diffusion models operating on such representations were shown to generate designable and novel samples to various degrees (Lin & AlQuraishi, 2023; Ingraham et al., 2022; Watson et al., 2022; Yim et al., 2023). Some of those were additionally designed to condition the sample on properties such as substructure, symmetry or structural motif; however, none of those works link the function to dynamics. Motif scaffolding has been done by, for example, providing the denoised motif residues positions in the conditional training (Watson et al., 2022), by particle filtering methods (Trippe et al., 2023), or by empirically estimating the chances that the sample will have the query motif (Ingraham et al., 2022). Eigenfold (Jing et al., 2023) attempts to incorporate the physical constraints for oscillations into the diffusion kernel, however, it did not improve the sample quality, and it was not tested whether it changes the dynamics of generated samples.
|
| 66 |
+
|
| 67 |
+
3
|
| 68 |
+
|
| 69 |
+
## 2.2 NORMAL MODE ANALYSIS
|
| 70 |
+
|
| 71 |
+
Normal Mode Analysis (NMA) is a technique for describing collective motions of protein residues for a given energy function. It assumes that a protein is in the energy minimum state in a given force field, such that the protein residues will, to first approximation, undergo harmonic motions about their minima (Bahar et al., 2010). Amplitudes and frequencies of such oscillations are the solutions to the equations of motions for all residues. These equations of motions are compactly written in ¨ matrix form as **M** _x_ = _−_ **K** _x_ , where _x ∈_ R[3] _[N]_ is a flattened vector of coordinates of _N_ residues, **M** _∈_ R[3] _[N][×]_[3] _[N]_ is a mass matrix and **K** _∈_ R[3] _[N][×]_[3] _[N]_ is the interaction constants matrix derived from the force field that describes the strength of interactions between residues. Despite the simplistic assumptions about the form of these force fields, NMA has been shown to successfully explain many dynamical phenomena amongst numerous proteins (Gibrat & G¯o, 1990; Tama & Sanejouand, 2001; Bahar et al., 1997). Most functional properties of proteins that involve dynamics are related to the low-frequency motions, mathematically represented as the lowest non-trivial eigenvectors of the matrix equation.
|
| 72 |
+
|
| 73 |
+
## 3 METHODS
|
| 74 |
+
|
| 75 |
+
Consider the following problem: given a target matrix _yD ∈_ R _[|C|×]_[3] , where rows correspond to displacement vectors of _C_ residues, we aim to generate a new protein in which the displacement vectors of selected residues in their non-trivial lowest normal mode are close to those defined by _yD_ . We use a coarse-grained protein representation, where each residue is represented with the _Cα_ carbon only, and aim to obtain new _Cα_ chains that satisfy the dynamics constraint. To tackle this problem we employ score-based generative modelling (Song et al., 2021). We formulate the agreement of the displacement with a target as a condition in the reverse process and quantify the notion of ‘similar dynamics’ with a custom loss function.
|
| 76 |
+
|
| 77 |
+
## 3.1 CONDITIONING DIFFUSION MODELS
|
| 78 |
+
|
| 79 |
+
The goal of conditional generative modeling is to sample from the posterior _p_ ( _x_ 0 _|y_ ) such that new samples _x_ 0 satisfy some chosen property _y_ . We specify the following model (Song et al., 2023, Equation 4)
|
| 80 |
+
|
| 81 |
+
**==> picture [384 x 25] intentionally omitted <==**
|
| 82 |
+
|
| 83 |
+
where _l_ ( _y, v_ ( _x_ 0)) measures the loss for a measurement of _y_ at _x_ 0, _κ_ ( _y_ ) is the normalisation constant, and _v_ ( _x_ ) maps to the relevant physical quantity represented by _y_ . This specification, as shown in Song et al. (2023), allows for guiding a trained unconditional model along the path specified by the loss _l_ . Finding an appropriate _p_ ( _y|x_ 0) is where the novelty of our method lies. For the dynamics target _y_ , if _p_ ( _y|x_ 0) was a neural network, it would need to approximate the eigenvectors of an arbitrary symmetric matrix. To the best of our knowledge, finding matrix eigenvectors for _any_ variable size symmetric matrix with a neural network is not considered a solved problem yet (there exist neural network approaches to find eigenvectors, but those require retraining for every new matrix (Gemp et al., 2021; Yi et al., 2004), and are not suitable for a large dataset of backbone structures). A method to reconstruct a graph structure from a set of learned eigenvectors via an interactive Laplacian matrix refinement is presented in Martinkus et al. (2022). However, this approach has never been tested for a reverse reconstruction. We escape the need to train a neural network and equate _p_ ( _y|x_ 0) to a simple analytical function.
|
| 84 |
+
|
| 85 |
+
One of the most common mathematical frameworks to obtain a novel sample with any desired property _y_ consists of estimating conditional scores. Different approximations for estimating said score have given rise to a variety of methods such as classifier guidance (Dhariwal & Nichol, 2021), classifier free guidance (Ho & Salimans, 2022), and ‘reconstruction guidance’ (Ho et al., 2022; Chung et al., 2022a). What all these approaches have in common is that they decompose the conditional score as
|
| 86 |
+
|
| 87 |
+
**==> picture [202 x 11] intentionally omitted <==**
|
| 88 |
+
|
| 89 |
+
(8)
|
| 90 |
+
|
| 91 |
+
4
|
| 92 |
+
|
| 93 |
+
where _p_ ( _y|xt_ ) is a probability that the sample meets the condition at _t_ = 0 given the state _xt_ at some other time. Following Chung et al. (2022a), we re-express it with the integral
|
| 94 |
+
|
| 95 |
+
**==> picture [271 x 23] intentionally omitted <==**
|
| 96 |
+
|
| 97 |
+
The integral is intractable and we cannot evaluate _p_ 0( _x_ 0 _|xt_ ) directly. But as in Chung et al. (2022a), we overcome this via the approximation of the denoiser’s transition density with a delta function centred at the mean
|
| 98 |
+
|
| 99 |
+
**==> picture [252 x 12] intentionally omitted <==**
|
| 100 |
+
|
| 101 |
+
Such approximations to the posteriors via point masses centred at their means rather than their modes (MAP) are known as Bayes point machines (Herbrich et al., 2001), and have been shown to outperform MAP. Under this approximation, the entire integral simplifies to
|
| 102 |
+
|
| 103 |
+
**==> picture [251 x 11] intentionally omitted <==**
|
| 104 |
+
|
| 105 |
+
Via Tweedie’s formula (Chung et al., 2022a), the expected output of the model at _t_ = 0 is
|
| 106 |
+
|
| 107 |
+
**==> picture [269 x 24] intentionally omitted <==**
|
| 108 |
+
|
| 109 |
+
Under our model specification, via Bayes rule
|
| 110 |
+
|
| 111 |
+
**==> picture [300 x 11] intentionally omitted <==**
|
| 112 |
+
|
| 113 |
+
substituting back into the score we obtain
|
| 114 |
+
|
| 115 |
+
**==> picture [360 x 31] intentionally omitted <==**
|
| 116 |
+
|
| 117 |
+
Depending on the quantity _y_ , different losses must be used in Equation 14. Note that even though the derivations are done in continuous time, the equivalence of the score and the noise still applies, and we can use the discretised sampling scheme as in Equation 3. Now, we explain our choices for dynamics and structure conditioning losses.
|
| 118 |
+
|
| 119 |
+
## 3.2 DYNAMICS LOSS
|
| 120 |
+
|
| 121 |
+
The next step is to define the loss function in Equation 14 that enforces the targeted dynamics while being invariant to the protein rotations and translations. Knowing the expected residues’ positions at _t_ = 0 and the expected components of the normal mode of the conditioned residues given structure _xt_ at some time _t_ , the invariance is preserved if one compares the relative pairwise angles between the displacement vectors and their relative magnitudes. Moreover, this makes the conditioning target independent of the protein length: eigenvectors are normalised, hence the amplitudes of displacements of a subset of residues depend on the protein length. Therefore, we propose to use the following loss in Equation 14, which is a simple combination of amplitude and angle terms between all pairwise residues. For the rest of this work, we refer to it as the **NMA-loss** .
|
| 122 |
+
|
| 123 |
+
**==> picture [305 x 11] intentionally omitted <==**
|
| 124 |
+
|
| 125 |
+
**==> picture [305 x 24] intentionally omitted <==**
|
| 126 |
+
|
| 127 |
+
**==> picture [305 x 28] intentionally omitted <==**
|
| 128 |
+
|
| 129 |
+
In this invariant loss, _yD,i_ and _v_ ( _x_ ) _i_ are displacement vectors of residue _i ∈C_ in the target _yD_ and in the displacements matrix _v_ ( _x_ ) _∈_ R _[|C|×]_[3] derived from expected positions at _t_ = 0. The amplitude terms are normalised such that only their relative sizes matter, consistent with the fact that amplitude information from NMA can only make relative statements about the participation of a given residue in a mode (Bahar et al., 2010). For the combined loss, in the process of minimisation of NMA-loss in the sampling steps, the _l_ ampl is scaled by 2, such that its contribution is similar in magnitude to _l_ angle. We compute the NMA-loss using a differentiable implementation of the eigenvector calculations assuming the Hinsen force-field ((Hinsen & Kneller, 1999), more details in Appendix B.2).
|
| 130 |
+
|
| 131 |
+
5
|
| 132 |
+
|
| 133 |
+
## 3.3 STRUCTURE LOSS AND JOINT CONDITIONING
|
| 134 |
+
|
| 135 |
+
The essential part of our work is building a connection between conditioning on dynamics and conditioning on structure. Even though dynamics and structure are correlated, many structures will have similar low-frequency eigenvectors, and there is no guarantee that the particular protein packing will correspond to the biological function for which the dynamics were designed. Therefore, dynamics conditioning must be accompanied by structure conditioning. Structure conditioning enforces the generated protein backbone to have a subset of residues _CM_ positioned in pre-defined relative positions. For example, structure conditioning might enforce the presence of a given functional motif _M_ somewhere in the arbitrarily rotated protein. We denote the target positions as _yM ∈_ R _[|][C][M][|×]_[3] , and _xCM ∈_ R _[|][C][M][|×]_[3] is the prediction of conditioned residues’ positions at _t_ = 0 in the sampling process. In the language of score-based generative modeling, the conditional score for the joint target ( _yD, yM_ ) will be now decomposed into three terms
|
| 136 |
+
|
| 137 |
+
_∇xt_ ln _pt_ ( _xt|yD, yM_ ) = _∇xt_ ln _p_ ( _yD|xt_ ) + _∇xt_ ln _p_ ( _yM |xt_ ) + _∇xt_ ln _pt_ ( _xt_ ) _._ (18)
|
| 138 |
+
|
| 139 |
+
Finally, the appropriate **structure loss** should be substituted to the _∇xt_ ln _p_ ( _yM |xt_ ) term. We define the structure loss to be the misalignment between _yM_ and _xCM_ , specifically the _L_ 1 loss between all _CM_ residues’ coordinates. In order not to violate equivariance, we use our custom differentiable implementation of the Kabsch algorithm (Kabsch, 1976; 1978) to find the best fit of the target residues _yM_ and _xCM_ at the reverse diffusion step and only then compute the misalignment. In the discussion of the results, we report the final root-mean-square deviation (RMSD), which is related to but different from the structure loss (see Section 5.2).
|
| 140 |
+
|
| 141 |
+
## 4 MODELS AND THE EXPERIMENTAL SETUP
|
| 142 |
+
|
| 143 |
+
The aim of the experimental evaluation is two-fold. Firstly, we test whether the proposed conditioning method indeed results in better agreement between the target and the novel structure’s dynamics. To do so, we use our custom denoiser model, perform conditional sampling using a large number of dynamics targets and examine the conditioning effectiveness. Secondly, we utilise Genie (Lin & AlQuraishi, 2023), the diffusion model able to produce high-quality samples and modify its sampling scheme with our joint conditioning. We therefore demonstrate the universality of our framework which leaves an open path to transferring our method to other large protein diffusion models. The modified Genie model produces samples conditioned on the hinge targets which we thoroughly evaluate for designability.
|
| 144 |
+
|
| 145 |
+
## 4.1 MODELS
|
| 146 |
+
|
| 147 |
+
**GVP** (Geometric Vector Perceptron (Jing et al., 2021b;a)) is the main building block of our equivariant denoiser. We use a Graph Neural Network with 5 layers based on GVP (details in the Appendix B.1). The denoiser was trained with the loss function given by Equation 4. We use the Hoogeboom schedule (Hoogeboom et al., 2022) with a 250-step DDPM discretisation scheme. The model was trained for 1000 epochs with a learning rate of 1e-4.
|
| 148 |
+
|
| 149 |
+
**Genie.** Genie (Lin & AlQuraishi, 2023) is a diffusion probabilistic model with the DDPM discretisation. It takes advantage of the protein geometry by extracting the Frenet-Serret frames of residues at each noise prediction step, which are then passed to the SE(3)-equivariant denoiser. Genie outperformed other models such as ProtDiff (Trippe et al., 2023), FoldingDiff (Wu et al., 2022) or FrameDiff (Yim et al., 2023), and remains comparable to RFDiffusion (Watson et al., 2022). For our experiments, we used the published weights of the model trained on the SCOPe dataset (Fox et al., 2014; Chandonia et al., 2021) able to work with proteins up to 256 residues long.
|
| 150 |
+
|
| 151 |
+
## 4.2 DATASET AND TARGETS
|
| 152 |
+
|
| 153 |
+
For our custom model training, we extract all short monomeric CATHv4.3 domains (Orengo et al., 1997) for structures with high resolution ( _<_ 3A),[˚] of lengths between 21-112 amino acids, clustered 95% sequence similarity to remove redundancy. The resulting dataset contained 10037 protein structures.
|
| 154 |
+
|
| 155 |
+
We extract _random_ and _strain_ dynamics targets from the proteins in the validation set. Random targets are the displacements in the randomly chosen sets of 10 consecutive residues; for the strain
|
| 156 |
+
|
| 157 |
+
6
|
| 158 |
+
|
| 159 |
+
targets, we perform strain-energy calculation (Hinsen & Kneller, 1999) (details in the Appendix B.2) and choose 10 consecutive residues with the largest summed energy.
|
| 160 |
+
|
| 161 |
+
Joint conditioning imposes constraints on both the protein normal mode and the specific residues’ positions. Biologically relevant targets that require such constraints are the hinge parts of proteins. Three proteins were selected from the literature: lysozyme (PDB ID: 6lyz), adenylate kinase (PDB ID: 3adk), and haemoglobin (PDB ID: 2hhb). In each protein we analysed which residues participate in the hinge motion – those residues constitute the _yM_ targets. For each protein we perform NMA calculation to obtain the displacements of the hinge residues – the _yD_ targets (details in Appendix D).
|
| 162 |
+
|
| 163 |
+
## 4.3 EVALUATION METRICS
|
| 164 |
+
|
| 165 |
+
**Population level.** For the first set of experiments investigating dynamics conditioning, we focus on quick-to-compute statistics of the large sample set to understand the expected effects of conditioning on the sample quality. Apart from the NMA-loss, we check the sample quality using: (1) the mean chain distance ( _Cα − Cα_ ) that should be close to 3.8 A[˚] (2) the radius of gyration of the backbone, which is an indicator of whether the model produces samples with an adequate compactness; (3) secondary structure statistics (SSE), that is, the proportion of _α_ -helices, _β_ -sheets and disordered loops; (4) novelty in terms of the TM-score to the closest structure in the train set. TM-score measures the topological similarity of protein structures and has values in the range [0 _,_ 1]. TM-score _>_ 0 _._ 5 suggests two structures are in the same fold (Xu & Zhang, 2010).
|
| 166 |
+
|
| 167 |
+
**Detailed statistics.** In the case of joint conditioning, we sample novel protein backbones using Genie and check the designability of the new samples using the same _in silico_ evaluation pipeline as in benchmarking unconditional Genie. For each backbone sample, we obtain 8 ProteinMPNN generated sequences and fold each sequence with ESMFold (Lin et al., 2022). We calculate the self-consistency TM-scores (scTM), that is, the TM-scores between the input structure and each of the ESMFold predictions. scTM scores were also considered in other works (Trippe et al., 2023; Lin & AlQuraishi, 2023) as one of the standard metrics for sample quality evaluation. We report the proportion of conditional samples whose best scTM-score to one of the ESMFold designed structures is _>_ 0 _._ 5, in the same fashion as in Trippe et al. (2023) that tackles a similar motif conditioning problem.
|
| 168 |
+
|
| 169 |
+
## 4.4 SAMPLING DETAILS.
|
| 170 |
+
|
| 171 |
+
**Dynamics conditioning with GVP.** The sampling process consisted of 250 reverse diffusion steps (details in the Appendix B.3). We extracted 300 strain and 300 random targets from 300 randomly sampled proteins from the validation set. For each target, we took 3 conditional and unconditional samples, and for each group we selected the one with the lowest NMA-loss. Each sample had the same length as the protein from which the target was extracted.
|
| 172 |
+
|
| 173 |
+
**Joint conditioning with Genie.** The original Genie sampling loop with 1000 time steps in the generation was modified to include the conditional score (details in the Appendix B.3). The guidance scales were different for each target, and in the order of 2000-3000.
|
| 174 |
+
|
| 175 |
+
## 5 RESULTS AND DISCUSSION
|
| 176 |
+
|
| 177 |
+
## 5.1 STRAIN AND RANDOM DYNAMICS TARGETS
|
| 178 |
+
|
| 179 |
+
Here we present the results for the strain and random dynamics targets. At the start, we filter out the ‘low quality’ samples that evidently do not form a biologically valid proteins (details in the Appendix C.We examine if the conditioning has the desired effect of enforcing the target normal mode. Figure 2 shows that indeed, the NMA-loss is successfully minimised in the conditional samples as compared to the unconditional ones. Note that both the target normal mode and the mode of the newly sampled structure must obey some physical constraints imposed on all proteins and the degrees of freedom of all relative displacements are limited, therefore it is occasionally possible to obtain low loss for the unconditional sample. Encouraged by this finding, we proceed to the visual inspection of the samples. Figure 3 shows a pair of conditional and unconditional samples for one of the strain targets (additional sampled pairs are in Appendix G). There is a better
|
| 180 |
+
|
| 181 |
+
7
|
| 182 |
+
|
| 183 |
+
**==> picture [340 x 126] intentionally omitted <==**
|
| 184 |
+
|
| 185 |
+
**----- Start of picture text -----**<br>
|
| 186 |
+
8<br>Uncond. 15 Uncond.<br>6 Cond. Cond.<br>10<br>4<br>5<br>2<br>0 0<br>0 . 00 0 . 25 0 . 50 0 . 75 1 . 00 0 . 0 0 . 2 0 . 4 0 . 6 0 . 8 1 . 0<br>NMA-loss l ( y, v ( xt )) NMA-loss l ( y, v ( xt ))<br>(a) Strain targets (b) Random targets<br>Density Density<br>**----- End of picture text -----**<br>
|
| 187 |
+
|
| 188 |
+
Figure 2: Density histograms of the NMA-loss for the dynamics conditioning using random and strain targets. Conditioning shifts the distribution towards lower values, such that the distribution has an evident sharp peak.
|
| 189 |
+
|
| 190 |
+
alignment of the displacement vectors and target vectors for the conditional sample as compared to the unconditional one, which we also consistently observed for the rest of the sampled pairs. We conclude that our conditioning has the desired effect of enforcing the target dynamics. We therefore proceed to the quality check of the samples – we must ensure the conditioning does not compromise the backbone structure. To ensure that the sampled proteins are still biologically valid, we evaluate
|
| 191 |
+
|
| 192 |
+
**==> picture [278 x 93] intentionally omitted <==**
|
| 193 |
+
|
| 194 |
+
Figure 3: Comparison of two samples for the same strain target. **Left :** Conditional sample (NMA loss-0.114). **Right :** Unconditional sample (NMA-loss 0.740). In the conditional sample, green vectors (new displacements) have much more similar relative amplitudes and pair-wise angles to the purple vectors (target) when compared to the unconditional sample. In both left and right visualisation, purples were rotated to match greens.
|
| 195 |
+
|
| 196 |
+
their geometry. In the end, we investigate the samples’ novelty to check whether the diffusion model has not simply memorised the train set.
|
| 197 |
+
|
| 198 |
+
Figure 4 shows the SSE and _Rg_ of the samples compared to the train CATH dataset. Unconditional samples show a variety of SSE in proportions close to the CATH dataset. Interestingly, we found that conditioning increases the proportion of _β_ -sheets at the expense of _α_ -helices. _Rg_ distributions of both unconditional and conditional samples have a visible overlap with the CATH _Rg_ distribution, the second one is shifted to larger values (but remains within the _Rg_ values observed in CATH). Therefore, while the conditional samples do not violate physical constraints, the dynamics conditioning introduces changes in protein packing. Whether this effect is significant for downstream applications when the conditioning is transferred into problem-specific models is left for future work. Respective Figures for the random targets can be found in Appendix A. Lastly, we calculate the novelty of the samples expressed in terms of TM-score to the closest structure in the train set. Both unconditional and conditional samples of both target types were highly novel, with TM-score lower than 0.5 in 90% of the samples.
|
| 199 |
+
|
| 200 |
+
## 5.2 HINGE TARGET
|
| 201 |
+
|
| 202 |
+
Finally, we present results for the joint conditioning. The conditional samples were filtered using criteria of mean chain distances outside [3.75, 3.85] A interval and RMSD with respect to the motif[˚] smaller than 1 A. These constraints left us with 43%, 60% and 23% of the conditional samples for[˚]
|
| 203 |
+
|
| 204 |
+
8
|
| 205 |
+
|
| 206 |
+
**==> picture [340 x 287] intentionally omitted <==**
|
| 207 |
+
|
| 208 |
+
**----- Start of picture text -----**<br>
|
| 209 |
+
0 . 3<br>CATH<br>Uncond. 59.2% 61.2% 50.6%<br>0 . 2 Cond.<br>15.8%<br>12.1%<br>0 . 1 17.1%<br>28.7% 21.7% 33.6%<br>0 . 0 Uncond. Cond. CATH<br>10 20 30 40<br>Radius of gyration Rg [ [˚] A] Helix Sheet Coil<br>(a) Rg (b) SSE<br>Figure 4: Density histogram of Rg and SSE proportions for strain targets.<br>4<br>Uncond. Uncond.<br>3 Cond. 6 Cond.<br>4<br>2<br>1 2<br>0 0<br>0 . 2 0 . 4 0 . 6 0 . 8 1 . 0 2 . 5 5 . 0 7 . 5 10 . 0 12 . 5 15 . 0<br>NMA-loss l ( y, v ( xt )) Hinge RMSD [ [˚] A]<br>(a) (b)<br>Density<br>Count Count<br>**----- End of picture text -----**<br>
|
| 210 |
+
|
| 211 |
+
Figure 5: NMA-loss and RMSD for the lysozyme hinge target. Conditional samples achieve low values of NMA-loss and RMSD that none of the unconditional samples have.
|
| 212 |
+
|
| 213 |
+
lysozyme, adenylate kinase and haemoglobin, respectively, such that we ended up with 27 conditional samples. To match that number, we sampled 27 unconditional ones. In the analysis of the remaining samples, we considered the distributions of NMA-loss (see Figure 5) and scTM-score. The distribution of the NMA-loss confirms that our method can enforce the specific dynamics and conditions on the structure at the same time. Analysis of the designability revealed that the distribution of scTM-scores depends on the target we use. The proportions of conditional samples with scTM-score _>_ 0 _._ 5 were 0.48, 0.78, 0.41 for lysozyme, adenylate kinase and haemoglobin, respectively. Interestingly, when we sampled 27 structures just with the hinge dynamics conditioning, those values were 0.93, 1.0, and 0.89, respectively, and the decrease in designability can be attributed purely to the difficulties in the structure conditioning (Appendix E). Additional experiments with a conditionally trained Genie model and extra designability results can be found in Appendix H. We finish with the visual investigation of the generated hinge structures. Figure 1 shows pairs of the targets and the new samples (more examples in the Appendix G). The new samples indeed possess the hinge structure, as well as the hinge-like low-frequency motion.
|
| 214 |
+
|
| 215 |
+
## 6 CONCLUSIONS AND FURTHER WORK
|
| 216 |
+
|
| 217 |
+
For the first time, we condition the protein diffusion model on dynamics, thus paving the way to designing more functional proteins in the future. We also make the code publicly available[1] . We generate novel proteins with a pre-defined lowest non-trivial normal mode of oscillation for a subset of residues. The large-scale statistics show that the conditioning is effective and can be transferred to already trained unconditional models. The extended version of the conditioning that includes the structure conditioning is implemented as part of the unconditional Genie model and we produce novel proteins that exhibit hinge structure and dynamics while remaining designable by the scTM
|
| 218 |
+
|
| 219 |
+
> 1 Code available at [URL removed]
|
| 220 |
+
|
| 221 |
+
9
|
| 222 |
+
|
| 223 |
+
criteria. Further work includes integrating the dynamics conditioning with other types of structure conditioning, and further evaluation with other types of motions.
|
| 224 |
+
|
| 225 |
+
## REFERENCES
|
| 226 |
+
|
| 227 |
+
Ivet Bahar, Ali Rana Atilgan, and Burak Erman. Direct evaluation of thermal fluctuations in proteins using a single-parameter harmonic potential. _Folding and Design_ , 2(3):173–181, 1997.
|
| 228 |
+
|
| 229 |
+
- Ivet Bahar, Timothy R. Lezon, Ahmet Bakan, and Indira H. Shrivastava. Normal Mode Analysis of Biomolecular Structures: Functional Mechanisms of Membrane Proteins. _Chemical Reviews_ , 110(3):1463–1497, 2010.
|
| 230 |
+
|
| 231 |
+
- Jacob A. Bauer, Jelena Pavlovi´c, and Vladena Bauerov´a-Hlinkov´a. Normal mode analysis as a routine part of a structural investigation. _Molecules_ , 24(18):3293, Sep 2019. ISSN 1420-3049. doi: 10.3390/molecules24183293. URL [URL removed] molecules24183293.
|
| 232 |
+
|
| 233 |
+
- Nathaniel Bennett, Brian Coventry, Inna Goreshnik, Buwei Huang, Aza Allen, Dionne Vafeados, Ying Po Peng, Justas Dauparas, Minkyung Baek, Lance Stewart, Frank DiMaio, Steven De Munck, Savvas N. Savvides, and David Baker. Improving de novo protein binder design with deep learning. _bioRxiv_ , 2022. doi: 10.1101/2022.06.15.495993. URL [URL removed] org/content/early/2022/06/17/2022.06.15.495993.
|
| 234 |
+
|
| 235 |
+
- Bernard Brooks and Martin Karplus. Normal modes for specific motions of macromolecules: application to the hinge-bending mode of lysozyme. _Proceedings of the National Academy of Sciences_ , 82(15):4995–4999, 1985.
|
| 236 |
+
|
| 237 |
+
- Patrick Bryant. Structure prediction of alternative protein conformations. _bioRxiv_ , 2023. doi: 10. 1101/2023.09.25.559256. URL [URL removed] 09/25/2023.09.25.559256.
|
| 238 |
+
|
| 239 |
+
- John-Marc Chandonia, Lindsey Guan, Shiangyi Lin, Changhua Yu, Naomi K Fox, and Steven E Brenner. SCOPe: improvements to the structural classification of proteins – extended database to facilitate variant interpretation and machine learning. _Nucleic Acids Research_ , 50(D1):D553– D559, 12 2021. ISSN 0305-1048. doi: 10.1093/nar/gkab1054. URL [URL removed] 1093/nar/gkab1054.
|
| 240 |
+
|
| 241 |
+
- Hyungjin Chung, Jeongsol Kim, Michael Thompson Mccann, Marc Louis Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In _The Eleventh International Conference on Learning Representations_ , 2022a.
|
| 242 |
+
|
| 243 |
+
- Hyungjin Chung, Byeongsu Sim, Dohoon Ryu, and Jong Chul Ye. Improving diffusion models for inverse problems using manifold constraints. _Advances in Neural Information Processing Systems_ , 35:25683–25696, 2022b.
|
| 244 |
+
|
| 245 |
+
- Justas Dauparas, Ivan Anishchenko, Nathaniel Bennett, Hua Bai, Robert J Ragotte, Lukas F Milles, Basile IM Wicky, Alexis Courbet, Rob J de Haas, Neville Bethel, et al. Robust deep learning– based protein sequence design using proteinmpnn. _Science_ , 378(6615):49–56, 2022.
|
| 246 |
+
|
| 247 |
+
- Prafulla Dhariwal and Alexander Quinn Nichol. Diffusion models beat GANs on image synthesis. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan (eds.), _Advances in Neural Information Processing Systems_ , 2021. URL [URL removed] AAWuCvzaVt.
|
| 248 |
+
|
| 249 |
+
- Kieran Didi, Francisco Vargas, Simon V Mathis, Vincent Dutordoir, Emile Mathieu, Urszula J Komorowska, and Pietro Lio. A framework for conditional diffusion modelling with applications in motif scaffolding for protein design. _arXiv preprint arXiv:2312.09236_ , 2023.
|
| 250 |
+
|
| 251 |
+
- NK. Fox, Steven E. Brenner, and JM Chandonia. Scope: Structural classification of proteins—extended, integrating scop and astral data and classification of new structures. _Nucleic Acids Research_ , 42:D304–D309, 2014. doi: 10.1093/nar/gkt1240.
|
| 252 |
+
|
| 253 |
+
10
|
| 254 |
+
|
| 255 |
+
- Ian Gemp, Brian McWilliams, Claire Vernade, and Thore Graepel. Eigengame: _{_ PCA _}_ as a nash equilibrium. In _International Conference on Learning Representations_ , 2021. URL https: //openreview.net/forum?id=NzTU59SYbNq.
|
| 256 |
+
|
| 257 |
+
- Jean-Franc¸ois Gibrat and Nobuhiro G¯o. Normal mode analysis of human lysozyme: study of the relative motion of the two domains and characterization of the harmonic motion. _Proteins: Structure, Function, and Bioinformatics_ , 8(3):258–279, 1990.
|
| 258 |
+
|
| 259 |
+
- Jeanette Held and Sander van Smaalen. The active site of hen egg-white lysozyme: flexibility and chemical bonding. _Acta Crystallographica Section D: Biological Crystallography_ , 70(4):1136– 1146, 2014.
|
| 260 |
+
|
| 261 |
+
- Ralf Herbrich, Thore Graepel, and Colin Campbell. Bayes point machines. _Journal of Machine Learning Research_ , 1(Aug):245–279, 2001.
|
| 262 |
+
|
| 263 |
+
- Konrad Hinsen and Gerald R. Kneller. A simplified force field for describing vibrational protein dynamics over the whole frequency range. _The Journal of Chemical Physics_ , 111(24):10766– 10769, 12 1999. ISSN 0021-9606. doi: 10.1063/1.480441. URL [URL removed] 1063/1.480441.
|
| 264 |
+
|
| 265 |
+
- Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. _arXiv preprint arXiv:2207.12598_ , 2022.
|
| 266 |
+
|
| 267 |
+
- Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), _Advances in Neural Information Processing Systems_ , volume 33, pp. 6840–6851. Curran Associates, Inc., 2020. URL [URL removed] file/4c5bcfec8584af0d967f1ab10179ca4b-Paper.pdf.
|
| 268 |
+
|
| 269 |
+
- Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J Fleet. Video diffusion models, 2022. _URL [URL removed] org/abs/2204.03458_ , 2022.
|
| 270 |
+
|
| 271 |
+
- Emiel Hoogeboom, V´ıctor Garcia Satorras, Cl´ement Vignac, and Max Welling. Equivariant diffusion for molecule generation in 3D. 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. 8867–8887. PMLR, 17–23 Jul 2022. URL [URL removed] hoogeboom22a.html.
|
| 272 |
+
|
| 273 |
+
- John Ingraham, Max Baranov, Zak Costello, Vincent Frappier, Ahmed Ismail, Shan Tie, Wujie Wang, Vincent Xue, Fritz Obermeyer, Andrew Beam, and Gevorg Grigoryan. Illuminating protein space with a programmable generative model. _bioRxiv_ , 2022. doi: 10.1101/2022.12.01. 518682. URL [URL removed] 12.01.518682.
|
| 274 |
+
|
| 275 |
+
- Bowen Jing, Stephan Eismann, Pratham N. Soni, and Ron O. Dror. Equivariant graph neural networks for 3d macromolecular structure, 2021a.
|
| 276 |
+
|
| 277 |
+
- Bowen Jing, Stephan Eismann, Patricia Suriana, Raphael John Lamarre Townshend, and Ron Dror. Learning from protein structure with geometric vector perceptrons. In _International Conference on Learning Representations_ , 2021b. URL [URL removed] 1YLJDvSx6J4.
|
| 278 |
+
|
| 279 |
+
- Bowen Jing, Ezra Erives, Peter Pao-Huang, Gabriele Corso, Bonnie Berger, and Tommi Jaakkola. EigenFold: Generative Protein Structure Prediction with Diffusion Models. _arXiv_ , 2023.
|
| 280 |
+
|
| 281 |
+
- John Jumper, Richard Evans, Alexander Pritzel, Tim Green, Michael Figurnov, Olaf Ronneberger, Kathryn Tunyasuvunakool, Russ Bates, Augustin Z´ıdek,[ˇ] Anna Potapenko, Alex Bridgland, Clemens Meyer, Simon A A Kohl, Andrew J Ballard, Andrew Cowie, Bernardino RomeraParedes, Stanislav Nikolov, Rishub Jain, Jonas Adler, Trevor Back, Stig Petersen, David Reiman, Ellen Clancy, Michal Zielinski, Martin Steinegger, Michalina Pacholska, Tamas Berghammer, Sebastian Bodenstein, David Silver, Oriol Vinyals, Andrew W Senior, Koray Kavukcuoglu, Pushmeet Kohli, and Demis Hassabis. Highly accurate protein structure prediction with AlphaFold. _Nature_ , 596(7873):583–589, August 2021.
|
| 282 |
+
|
| 283 |
+
11
|
| 284 |
+
|
| 285 |
+
- W. Kabsch. A solution for the best rotation to relate two sets of vectors. _Acta Crystallographica Section A_ , 32(5):922–923, 1976. doi: [URL removed] URL https: //onlinelibrary.wiley.com/doi/abs/10.1107/S0567739476001873.
|
| 286 |
+
|
| 287 |
+
- W. Kabsch. A discussion of the solution for the best rotation to relate two sets of vectors. _Acta Crystallographica Section A_ , 34(5):827–828, Sep 1978. doi: 10.1107/S0567739478001680. URL [URL removed]
|
| 288 |
+
|
| 289 |
+
- Prashant M Khade, Amit Kumar, and Robert L Jernigan. Characterizing and predicting protein hinges for mechanistic insight. _Journal of Molecular Biology_ , 432(2):508–522, Jan 2020. doi: 10.1016/j.jmb.2019.11.018. URL [URL removed]
|
| 290 |
+
|
| 291 |
+
- Philipp Kunzmann and Kay Hamacher. Biotite: a unifying open source computational biology framework in python. _BMC Bioinformatics_ , 19(1):346, 2018. doi: 10.1186/s12859-018-2367-z. URL [URL removed]
|
| 292 |
+
|
| 293 |
+
- Yeqing Lin and Mohammed AlQuraishi. Generating novel, designable, and diverse protein structures by equivariantly diffusing oriented residue clouds, 2023.
|
| 294 |
+
|
| 295 |
+
- Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Nikita Smetanin, Allan dos Santos Costa, Maryam Fazel-Zarandi, Tom Sercu, Sal Candido, et al. Language models of protein sequences at the scale of evolution enable accurate structure prediction. _bioRxiv_ , 2022.
|
| 296 |
+
|
| 297 |
+
- Aaron Lou and Stefano Ermon. Reflected diffusion models. In _International Conference on Machine Learning_ . PMLR, 2023.
|
| 298 |
+
|
| 299 |
+
- Karolis Martinkus, Andreas Loukas, Nathanael Perraudin, and Roger Wattenhofer. Spectre : Spectral conditioning helps to overcome the expressivity limits of one-shot graph generators. In _International Conference on Machine Learning_ , 2022. URL [URL removed] org/CorpusID:247939990.
|
| 300 |
+
|
| 301 |
+
- Christine A Orengo, Alex D Michie, Susan Jones, David T Jones, Mark B Swindells, and Janet M Thornton. Cath–a hierarchic classification of protein domain structures. _Structure_ , 5(8):1093– 1109, 1997.
|
| 302 |
+
|
| 303 |
+
- David Perahia and Liliane Mouawad. Computation of low-frequency normal modes in macromolecules: improvements to the method of diagonalization in a mixed basis and application to hemoglobin. _Computers & chemistry_ , 19(3):241–246, 1995.
|
| 304 |
+
|
| 305 |
+
- Herbert E. Robbins. An empirical bayes approach to statistics. 1956. URL [URL removed] semanticscholar.org/CorpusID:26161481.
|
| 306 |
+
|
| 307 |
+
- Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In Francis Bach and David Blei (eds.), _Proceedings of the 32nd International Conference on Machine Learning_ , volume 37 of _Proceedings of Machine Learning Research_ , pp. 2256–2265, Lille, France, 07–09 Jul 2015. PMLR. URL [URL removed]
|
| 308 |
+
|
| 309 |
+
- Jiaming Song, Qinsheng Zhang, Hongxu Yin, Morteza Mardani, Ming-Yu Liu, Jan Kautz, Yongxin Chen, and Arash Vahdat. Loss-guided diffusion models for plug-and-play controllable generation. 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. 32483–32498. PMLR, 23–29 Jul 2023. URL [URL removed]
|
| 310 |
+
|
| 311 |
+
- Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In _International Conference on Learning Representations_ , 2021. URL [URL removed] forum?id=PxTIG12RRHS.
|
| 312 |
+
|
| 313 |
+
- Florence Tama and Yves-Henri Sanejouand. Conformational change of proteins arising from normal mode calculations. _Protein engineering_ , 14 1:1–6, 2001.
|
| 314 |
+
|
| 315 |
+
12
|
| 316 |
+
|
| 317 |
+
- Brian L. Trippe, Jason Yim, Doug Tischer, David Baker, Tamara Broderick, Regina Barzilay, and Tommi S. Jaakkola. Diffusion probabilistic modeling of protein backbones in 3d for the motifscaffolding problem. In _The Eleventh International Conference on Learning Representations_ , 2023. URL [URL removed]
|
| 318 |
+
|
| 319 |
+
- David J Vocadlo, Gideon J Davies, Roger Laine, and Stephen G Withers. Catalysis by hen egg-white lysozyme proceeds via a covalent intermediate. _Nature_ , 412(6849):835–838, 2001.
|
| 320 |
+
|
| 321 |
+
## Donald Voet and Judith G Voet. _Biochemistry_ . John Wiley & Sons, 2010.
|
| 322 |
+
|
| 323 |
+
- Joseph L. Watson, David Juergens, Nathaniel R. Bennett, Brian L. Trippe, Jason Yim, Helen E. Eisenach, Woody Ahern, Andrew J. Borst, Robert J. Ragotte, Lukas F. Milles, Basile I. M. Wicky, Nikita Hanikel, Samuel J. Pellock, Alexis Courbet, William Sheffler, Jue Wang, Preetham Venkatesh, Isaac Sappington, Susana V´azquez Torres, Anna Lauko, Valentin De Bortoli, Emile Mathieu, Regina Barzilay, Tommi S. Jaakkola, Frank DiMaio, Minkyung Baek, and David Baker. Broadly applicable and accurate protein design by integrating structure prediction networks and diffusion generative models. _bioRxiv_ , 2022. doi: 10.1101/2022.12.09.519842. URL https: //[URL removed]
|
| 324 |
+
|
| 325 |
+
- Kevin E. Wu, Kevin K. Yang, Rianne van den Berg, James Y. Zou, Alex X. Lu, and Ava P. Amini. Protein structure generation via folding diffusion, 2022.
|
| 326 |
+
|
| 327 |
+
- Jinrui Xu and Yang Zhang. How significant is a protein structure similarity with tm-score = 0.5? _Bioinformatics_ , 26(7):889–95, Apr 2010. doi: 10.1093/bioinformatics/btq066. URL https: //doi.org/10.1093/bioinformatics/btq066.
|
| 328 |
+
|
| 329 |
+
- Zhang Yi, Yan Fu, and Hua Jin Tang. Neural networks based approach for computing eigenvectors and eigenvalues of symmetric matrix. _Computers & Mathematics with Applications_ , 47(8):1155–1164, 2004. ISSN 0898-1221. doi: [URL removed] 1016/S0898-1221(04)90110-1. URL [URL removed] article/pii/S0898122104901101.
|
| 330 |
+
|
| 331 |
+
- Jason Yim, Brian L Trippe, Valentin De Bortoli, Emile Mathieu, Arnaud Doucet, Regina Barzilay, and Tommi Jaakkola. Se (3) diffusion model with application to protein backbone generation. _arXiv preprint arXiv:2302.02277_ , 2023.
|
| 332 |
+
|
| 333 |
+
APPENDICES
|
| 334 |
+
|
| 335 |
+
- A POPULATION STATISTICS FOR RANDOM TARGETS
|
| 336 |
+
|
| 337 |
+
**==> picture [312 x 125] intentionally omitted <==**
|
| 338 |
+
|
| 339 |
+
**----- Start of picture text -----**<br>
|
| 340 |
+
0 . 3<br>CATH<br>Uncond. 59.1% 61.2% 50.6%<br>0 . 2 Cond.<br>15.8%<br>9.7%<br>0 . 1 20.7%<br>31.1% 33.6%<br>18.1%<br>0 . 0 Uncond. Cond. CATH<br>10 20 30 40<br>Radius of gyration Rg [ [˚] A] Helix Sheet Coil<br>(a) Rg (b) SSE<br>Density<br>**----- End of picture text -----**<br>
|
| 341 |
+
|
| 342 |
+
Figure 6: Density histogram of _Rg_ and SSE proportions for random targets.
|
| 343 |
+
|
| 344 |
+
13
|
| 345 |
+
|
| 346 |
+
## B IMPLEMENTATION DETAILS
|
| 347 |
+
|
| 348 |
+
## B.1 CUSTOM MODEL DETAILS
|
| 349 |
+
|
| 350 |
+
The custom model was based on the Geometric Vector Perceptron-Graph Neural Network architecture Jing et al. (2021b;a). Each protein was represented as a fully connected graph. The node scalar features were sinusoidal positional embeddings of the residues’ order in the chain concatenated with a normalised time step feature. We perform a message-passing on a fully connected graph of _Cα_ carbons. Edge features were distances between nodes in terms of 16 Gaussian radial basis functions and the unit vectors pointing along the edge. The model used 5 GVP-Convolutions layers and the output of the network (the noise) had the centre of mass subtracted to ensure equivariance.
|
| 351 |
+
|
| 352 |
+
## B.2 NMA CALCULATIONS DETAILS
|
| 353 |
+
|
| 354 |
+
Nowadays quick and ready-to-use implementations of NMA are available, such as the Biotite extension Springcraft (Kunzmann & Hamacher, 2018), which we used and rewrote into a PyTorch differentiable version.
|
| 355 |
+
|
| 356 |
+
Before any equations of motion can be written, one must specify a force field that describes interactions between residues. We use a Hinsen force-field (Hinsen & Kneller, 1999) with a cutoff of 16 A.[˚] For the choice of the strain target we perform the strain-energy calculation as described in Hinsen & Kneller (1999)
|
| 357 |
+
|
| 358 |
+
**==> picture [275 x 32] intentionally omitted <==**
|
| 359 |
+
|
| 360 |
+
where _Ei_ is the energy of residue _i_ , **R** _ij_ is a vector that is the equilibrium separation between the residues _i, j_ , _k_ ( **R** _ij_ ) is the interaction constant, and **d** _i,_ **d** _j_ are the displacements of residues _i, j_ in the mode to be analyzed (here, the lowest non-trivial normal mode).
|
| 361 |
+
|
| 362 |
+
## B.3 SAMPLING DETAILS
|
| 363 |
+
|
| 364 |
+
## B.3.1 GVP
|
| 365 |
+
|
| 366 |
+
The generation was run with 250 reverse time steps, but at the last two generation time steps the noise in the update step was set to 0, since we found that this results in chain distances remaining closer to 3.8 A.[˚] It is a common practice to upscale the conditional term _∇xt_ ln _p_ ( _y|x_ ) by some guidance scale (Dhariwal & Nichol, 2021). Guidance scales for strain targets were time-dependent and equal to 200 _αt_ for strain targets and 400 _αt_ for random targets. Conditioning was switched on in the middle of the generation process. Since each sample had the same length as the protein from which the random or strain target was extracted, the potential differences observed in SSE cannot be attributed to differences in the protein length distributions.
|
| 367 |
+
|
| 368 |
+
## B.3.2 GENIE
|
| 369 |
+
|
| 370 |
+
To take samples with the Genie model we used an additional parameter _η_ to downscale the noise in the reverse process, as recommended in the Genie publication (Lin & AlQuraishi, 2023). We set _η_ = 0 _._ 4 which was shown to achieve the best trade-off between designability and diversity. We found achieving the balance between the conditional parts of the score for dynamics and for the structure to be the most problematic aspect to optimise. With the means of trial and error fine-tuning of the guidance scales, we arrived at different values per each hinge target. The guidance scales for the dynamics term and structure term were 3000 and 2500 for 6lys; 3000 and 2000 for 3adk; 2500 and 2000 for 2hhb. These constants were scaled by the time-dependent factors: _αt_ for dynamics and _√_ 1 _._ 5 _− αt_ for structure. Since we fine-tuned the guidance scales and their time dependencies, we skipped the _[√]_ 1 _− α_ ¯ _t_ factor when converting score to noise. The conditioning was switched on in the middle of the generation. Within the Kabsch algorithm in the structure conditioning, we found the translation vector and rotation matrix to get the best alignment of the target residues with the residues’ positions at _t_ = 0, applied those transformations to the target and calculated RMSD. The translation and rotation were recalculated each 5 time steps.
|
| 371 |
+
|
| 372 |
+
14
|
| 373 |
+
|
| 374 |
+
## C LOW QUALITY SAMPLES
|
| 375 |
+
|
| 376 |
+
The ‘low quality’ samples are those where the mean chain distance is outside [3.75, 3.85] A interval[˚] (proteins with mean chain distance more extreme being rare in nature (Voet & Voet, 2010)). Occasionally during conditional sampling coordinate values increases by orders of magnitude along the sampling trajectory, or even explodes to NaN values. This divergence effect has also been observed in many conditional diffusion models (Lou & Ermon, 2023); in our case, this tends to happen when the conditioning pushes a sample’s coordinates outside of the realm of observed samples for which the denoiser was trained. Finding the right balance between the NMA-loss driven part of the score and the unconditional part of the score is an important part of the conditioning process. These diverged samples are also filtered out during the evaluation process. In the end, about 20% of samples in each category were filtered out due to low-quality chain distances.
|
| 377 |
+
|
| 378 |
+
## D HINGE TARGETS DESCRIPTION
|
| 379 |
+
|
| 380 |
+
To extract targets with a prominent hinge motion we performed a literature survey. We identified the lysozyme (Gibrat & G¯o, 1990), adenylate kinase (AdK) (Tama & Sanejouand, 2001), and haemoglobin (Perahia & Mouawad, 1995) as three prominent examples of proteins with hinge-type motions for which the lowest normal mode is also known to correlate strongly with functional motion. To extract the hinge motion, we perform an anisotropic elastic network formulation of normal mode analysis with an invariant force field on alpha carbon atoms, using a distance cut-off of 13 A.[˚] The lowest non-trivial normal mode is then computed from the Hessian, and the 16 residues with the largest displacement components are extracted as motifs to scaffold with the targeted motion. The target motifs are shown in the top column of Fig. 1. For lysozyme and adenylate kinase hinges, the newly sampled backbones had length max(hinge ~~r~~ esidue ~~o~~ rder) + 10, and for the haemoglobin max(hinge ~~r~~ esidue ~~o~~ rder) + 20, where (hinge ~~r~~ esidue ~~o~~ rder) is the order of non-consecutive hinge residues in the original backbone. Since haemoglobin is larger than the maximal backbone length that can fit to genie, the haemoglobin hinge was modified - the backbone order for all hinge residues was shifted down by 190 residues, additionally the number of residues between the hinge arms was decreased by 250 residues.
|
| 381 |
+
|
| 382 |
+
## E DESIGNABILITY IN DYNAMICS CONDITIONING VS STRUCTURE CONDITIONING
|
| 383 |
+
|
| 384 |
+
Since experimental verification of protein designs is time-consuming and expensive, the research community has developed _in silico_ methods to assess design success computationally. Many of them fall under the framework of so-called _self-consistency metrics_ (Trippe et al., 2023), meaning that the designed structure is evaluated by predicting a sequence for it via inverse folding models like ProteinMPNN (Dauparas et al., 2022), predicting the resulting structure via structure prediction methods like AlphaFold2 (Jumper et al., 2021) or ESMFold (Lin et al., 2022) and comparing this predicted structure to the designed one via structural similarity metrics. The most common computational design criteria are the following:
|
| 385 |
+
|
| 386 |
+
- scTM _>_ 0.5: the TM-score between the designed structure and the self-consistency predicted structure as described above. With the scTM-score ranging from 0 to 1, higher numbers correspond to an increased likelihood of the input structure being designable. A threshold of 0.5 is often chosen and the percentage of samples above this threshold is reported.
|
| 387 |
+
|
| 388 |
+
- scRMSD _<_ 2 A:[˚] The scRMSD metric is similar to the scTM metric, however instead of the TM-score the RMSD between the designed and predicted structure is calculated. It is a much more stringent criterion than scTM since RMSD is a local metric that is more sensitive to small structural differences.
|
| 389 |
+
|
| 390 |
+
- pLDDT _>_ 70 and pAE _<_ 10: Since both scTM and scRMSD rely on a structure prediction method like AlphaFold2 to be reliable metrics, confidence metrics of these models like pLDDT and pAE are used as additional metrics to ensure the reliability of self-consistency metrics. Low scRMSD and high pLDDT have been linked to the experiment success of designing the backbone (Bennett et al., 2022).
|
| 391 |
+
|
| 392 |
+
15
|
| 393 |
+
|
| 394 |
+
scTm score alone is a good indicator of whether two structures are in the same fold and for that reason, it has been used in previous works for assessing the general sample quality (Trippe et al., 2023; Yim et al., 2023). However, more recent works such as Genie (Lin & AlQuraishi, 2023) apply more stringent criteria of pLDDT _>_ 70, pAE _<_ 10, scTM _>_ 0.5. In our experiments with hinge targets, if those additional requirements were incorporated, the proportion of samples meeting those criteria in joint conditioning dropped to 0.04 for 6lys, 0.15 for 3adk, and 0.0 for 2hhb. When we incorporated the last most stringent criterion that scRMSD _<_ 2 A, those proportions dropped to 0.00,[˚] 0.04 and 0.0. Further investigation revealed that the lack of confidence in ESMFold predictions is due to the difficulty in structure conditioning. When only the dynamics conditioning was used (with the same guidance scale as when being part of the joint conditioning) the proportions of designable structures without scRMSD criterion were 0.6 for 6lys, 0.82 for 3adk, 0.52 for 2hhb, and with scRMSD criterion 0.41, 0.63 and 0.37 respectively.
|
| 395 |
+
|
| 396 |
+
To put these values into perspective, we note that low designability scores are not uncommon for the models tackling motif scaffolding problem. The current state-of-the-art model, RFDiffusion, has designability 0, or close to 0, for some of the more difficult functional site targets ((Watson et al., 2022), Supplementary Methods Table 10). Since our targets were extracted from a flexible part of the protein, consist of discontinuous motifs and have not been used as targets in the literature elsewhere, it is difficult to assess what designability scores might be considered ‘good’ for those targets. Moreover, we note that the confidence metric of AF2/ESMFold might not be well suited for the assessment of the quality of the flexible regions. As observed in Bryant (2023), pLDDT is a ‘good’ metric if a single protein conformation is considered, however, it becomes less informative as alternative conformations are included. The regions with lower pLDDT tend to be flexible regions with conformational changes, which might explain why proteins with a hinge structure tend to have lower pLDDT.
|
| 397 |
+
|
| 398 |
+
## F SCORE-NOISE EQUIVALENCE
|
| 399 |
+
|
| 400 |
+
For completeness, we provide a short derivation of the score-noise equivalence
|
| 401 |
+
|
| 402 |
+
**==> picture [309 x 13] intentionally omitted <==**
|
| 403 |
+
|
| 404 |
+
**==> picture [319 x 84] intentionally omitted <==**
|
| 405 |
+
|
| 406 |
+
## G ADDITIONAL SAMPLES
|
| 407 |
+
|
| 408 |
+
Green arrows are the displacements of conditioned residues in the sampled protein, purple arrows are the targets rotated to fit the green arrows best.
|
| 409 |
+
|
| 410 |
+
16
|
| 411 |
+
|
| 412 |
+
**==> picture [159 x 107] intentionally omitted <==**
|
| 413 |
+
|
| 414 |
+
**==> picture [152 x 9] intentionally omitted <==**
|
| 415 |
+
|
| 416 |
+
**----- Start of picture text -----**<br>
|
| 417 |
+
(a) Conditional sample (NMA-loss 0.088)<br>**----- End of picture text -----**<br>
|
| 418 |
+
|
| 419 |
+
**==> picture [159 x 107] intentionally omitted <==**
|
| 420 |
+
|
| 421 |
+
**==> picture [135 x 18] intentionally omitted <==**
|
| 422 |
+
|
| 423 |
+
**----- Start of picture text -----**<br>
|
| 424 |
+
(b) Unconditional sample (NMA-loss<br>0.620)<br>**----- End of picture text -----**<br>
|
| 425 |
+
|
| 426 |
+
Figure 7: Comparison of the conditional and unconditional sample for the same strain target.
|
| 427 |
+
|
| 428 |
+
**==> picture [159 x 106] intentionally omitted <==**
|
| 429 |
+
|
| 430 |
+
**==> picture [159 x 106] intentionally omitted <==**
|
| 431 |
+
|
| 432 |
+
(a) Conditional sample (NMA-loss 0.224) (b) Unconditional sample (NMA-loss 0.625)
|
| 433 |
+
|
| 434 |
+
Figure 8: Comparison of the conditional and unconditional sample for the same **random** target.
|
| 435 |
+
|
| 436 |
+
## H JOINT STRUCTURAL MOTIF & DYNAMICS CONDITIONING WITH THE IMPROVED GENIE MODEL
|
| 437 |
+
|
| 438 |
+
When using the original, guidance-based formulation for motif conditioning used in the main text, we found that motif conditioning continued to be the primary difficulty. This made it harder to perform and analyse NMA conditioning jointly with motif conditioning, because the NMA condition only makes sense for a reasonably well formed motif.
|
| 439 |
+
|
| 440 |
+
We therefore sought to improve motif conditioning by using a Genie model that we re-trained with the explicit motif conditioning, as proposed in Didi et al. (2023).
|
| 441 |
+
|
| 442 |
+
## H.1 TARGET DEFINITION
|
| 443 |
+
|
| 444 |
+
We investigate the following question: Can we design a new backbone, such that the functional motif **and** its key dynamical behavior, represented by the lowest non-trivial normal mode components of the motif in the target structure, are preserved?
|
| 445 |
+
|
| 446 |
+
To test out a biologically relevant scenario we choose to model a dynamically relevant segment spanning the two active site residues in hen-egg white lysozyme as target motif. Lysozyme was chosen as a case study since during function (Bauer et al. (2019); Brooks & Karplus (1985)) it undergoes a well-studied hinge motion, which is well captured by lowest non-trivial mode in normal mode analysis. The motif is illustrated in Fig. 10 and consists of 22 residues of the original structure (PDB: 6lyz, 129 residues), including the active site residues GLU-35 and ASP-52 (Vocadlo et al. (2001); Held & van Smaalen (2014)). To obtain the NMA target for this motif, we perform an NMA with an invariant force-field and with a 13 A[˚] distance threshold on the _Cα_ -backbone of the native protein (6lyz) and extract the lowest non-trivial normal mode displacements for the motif residues as NMA target.
|
| 447 |
+
|
| 448 |
+
17
|
| 449 |
+
|
| 450 |
+
**==> picture [377 x 169] intentionally omitted <==**
|
| 451 |
+
|
| 452 |
+
Figure 9: More samples with joint conditioning. **Left** column: 2 samples for the 6lys target. **Middle** column: for 3adk target. **Right** column: for the 2hhb target.
|
| 453 |
+
|
| 454 |
+
**==> picture [358 x 228] intentionally omitted <==**
|
| 455 |
+
|
| 456 |
+
**----- Start of picture text -----**<br>
|
| 457 |
+
ASP-52<br>GLU-35<br>0 10 20 30 40 50 60 70 80 90 100 110 120 128<br>KFESNFNTQATNRNTDGSTDYG<br>**----- End of picture text -----**<br>
|
| 458 |
+
|
| 459 |
+
Figure 10: Target definition for the additional experiments and to illustrate a biological application. The target motif (red) was chosen as the single segment connecting the two active site residues (GLU-35, ASP-52) of hen-egg white lysozyme (PDB:6lyz), including two residues on either side of the active site. This results in a target motif of 22 residues in length. The active site residues are shown with side-chains, and the motif’s position in the overall sequence is marked on the bottom bar.
|
| 460 |
+
|
| 461 |
+
## H.2 MODELLING
|
| 462 |
+
|
| 463 |
+
**Improved motif conditioning model** We modify the unconditional Genie model (Lin & AlQuraishi, 2023) in order to perform the conditional training, where the model is provided with the motif coordinates for some of the training examples. We add an additional conditional pair feature network that takes the target motif coordinates and frames as input with zero-padding for all non-motif coordinates and frames. The features of this motif-conditional pair feature network are fused with the output of the original unconditional pair feature network in genie via concatenation along the feature dimension, followed by a linear projection down to the channel size of the unconditional model. The remainder of the Genie model then proceeds unchanged. This minor architectural modification means our conditional Genie network has 4 _._ 162M parameters while the unconditional
|
| 464 |
+
|
| 465 |
+
18
|
| 466 |
+
|
| 467 |
+
Genie network has 4 _._ 087M parameters ( _∼_ 1.8% fewer). The conditional Genie model was trained for 4’000 epochs on 4 A100 GPUs ( _∼_ 300 A100 hours in total). We stopped training at this point, as we observed almost comparable performance to the publicly available model weights (which were obtained after training for 50’000 epochs). We use these model for all the additional experiments in this section. The model is trained according to algorithm 5 in Didi et al. (2023) and during training the model is shown a conditional sample for 80% of the time and an unconditional one for the remaining 20%.
|
| 468 |
+
|
| 469 |
+
**Guidance schedule** While motif scaffolding is now explicitly built into the denoiser, we still need to condition on the NMA dynamics condition. We follow a reconstruction guidance (Chung et al., 2022b) approach with a modulated step-function guidance schedule
|
| 470 |
+
|
| 471 |
+
**==> picture [268 x 25] intentionally omitted <==**
|
| 472 |
+
|
| 473 |
+
with a guidance scale _γ_ 0 and starting point _t_ start. For _tmax_ = 1000, we fixed _t_ start = 500 (i.e. conditioning starts halfway through the reverse diffusion process) and identified _γ_ 0 = 500 as an adequate guidance scale through a logarithmic scan of _γ_ 0 values. Similar to other work on diffusion models for protein backbone generation, we reduce the noise scale by a factor _η_ = 0 _._ 4, which improves the quality of generated samples (Yim et al., 2023) for motif-only as well as motif+NMA conditioning.
|
| 474 |
+
|
| 475 |
+
**NMA loss** The presence of a functional motif defines a reference coordinate system, namely the coordinate system in which the coordinates of the to-be-scaffolded motif are given in. Notably, this means that the normal mode displacements at the motif residues are also given in the motif’s coordinate system. Any designed backbone should be _invariant_ to translations, but _equivariant_ to rotations of this coordinate system, which correspond to rotations of the motif and the associated displacement vectors.
|
| 476 |
+
|
| 477 |
+
To better comply with these symmetry requirements, we adapt the invariant loss _l_ NMA in Eq. 15 to make use of this reference coordinate system. Using the notation of the main text, _y[M] ∈_ R _[m][×]_[3] and _x[M] ∈_ R _[m][×]_[3] represent the target motif coordinates and sample motif coordinates for a motif of _m_ residues respectively. Similarly, _v[M]_ ( _y_ ) _∈_ R _[m][×]_[3] and _v[M]_ ( _x_ ) _∈_ R _[m][×]_[3] respectively refer to the matrix of displacement vectors in the lowest non-trivial normal mode for the target and the sample. The rotation matrix **R** ( _y[M] , x[M]_ ) transforms the coordinate frame of the target motif _y[M]_ to that of _x[M]_ . With these definitions, the updated NMA loss for the additional experiments is
|
| 478 |
+
|
| 479 |
+
**==> picture [384 x 56] intentionally omitted <==**
|
| 480 |
+
|
| 481 |
+
Here, _v_ ( _y_ ) and _v_ ( _x_ ) are understood as flattened vectors in R[3] _[m]_ , and therefore _l_ direction directly captures the relative contributions of each residue’s displacement. The factor 2 was added to align the min and max ranges of the two components of _l_ NMA _[′]_[. We obtain] **[ R]**[(] _[y][M][, x][M]_[)][ through a differentiable] implementation of the Kabsch alignment algorithm (Kabsch, 1976) and _v_ ( _x_ ) from a differentiable implementation of NMA on the sampled backbone _x_ , which is then subset to the motif coordinates, as in the main text. Guidance is then performed via
|
| 482 |
+
|
| 483 |
+
**==> picture [331 x 13] intentionally omitted <==**
|
| 484 |
+
|
| 485 |
+
with _x_ ˆ0( _xt_ ) indicating the current estimate of the denoised structure via Tweedie’s formula (Robbins, 1956) as in reconstruction guidance (Chung et al., 2022b).
|
| 486 |
+
|
| 487 |
+
**Evaluation pipeline** The evaluation proceeds similarly as in the main body. For each _Cα_ -only backbone sample, we sampled 8 sequences with ProteinMPNN ( _T_ sampling = 0 _._ 1). In those sequences, the amino acid identities of the motif residues known from the lysozyme target were kept fixed, such that only the scaffold was predicted by ProteinMPNN. Each of the 8 sequences is then re-folded with ESMFold, and self-consistency scores (scNMA, scRMSD, scTM) are calculated with respect to the original backbone sample. The original backbone sample is then paired with the ESMFold-ed design
|
| 488 |
+
|
| 489 |
+
19
|
| 490 |
+
|
| 491 |
+
that had the lowest scRMSD (out of 8 ESMFold designs). We deemed the structure designable if it met the criteria of scTM _>_ 0.5, scRMSD _<_ 2 A,[˚] with confidence threshold of pLDDT _>_ 70, pAE _<_ 10 for ESMFold predictions, which aligns with definitions in prior work (Watson et al., 2022; Yim et al., 2023; Lin & AlQuraishi, 2023). Moreover, we evaluate an additional motif scaffolding metric, scMOTIF-RMSD, which measures the RMSD between the motif residues in the designed structure (after sequence design & ESMFold) and the target motif.
|
| 492 |
+
|
| 493 |
+
## H.3 RESULTS
|
| 494 |
+
|
| 495 |
+
**==> picture [358 x 220] intentionally omitted <==**
|
| 496 |
+
|
| 497 |
+
**----- Start of picture text -----**<br>
|
| 498 |
+
motif-conditioned only (n=150) motif + NMA-conditioned (n=43)<br>8<br>75<br>7<br>70<br>6<br>65<br>5<br>60<br>4<br>55<br>3<br>50<br>2<br>45<br>1<br>40<br>0<br>0 2 4 6 8 10 12 14 0 2 4 6 8 10 12 14<br>scRMSD scRMSD<br>pLDDT<br>scMOTIF-RMSD<br>**----- End of picture text -----**<br>
|
| 499 |
+
|
| 500 |
+
Figure 11: scMOTIF-RMSD vs scRMSD for 150 motif-only and 43 motif+NMA samples (not filtered for designability criteria). While the chosen target (two paired anti-parallel beta sheets connected to the end of a helix) turns out to be a difficult problem for the model, the best samples that achieve lowest scMOTIF-RMSD and scRMSD values stem from joint motif+NMA conditioning, highlighting that the dynamics-conditioning can successfully work the motif scaffolding.
|
| 501 |
+
|
| 502 |
+
The analysis of the NMA loss of the Genie generated _Cα_ -only backbone and scNMA-score of the ESMFold design confirmed that the dynamics conditioning indeed results in the _Cα_ backbones that match the target, however there is no clear direct correspondence scNMA-scores to the original backbone NMA-loss for the dynamics-conditioned samples. Surprisingly, we found while motif conditioning improved upon making the structure conditioning inherent to the conditional Genie model, performing the motif scaffolding was still challenging to the model. In the remainder of this discussion, we call all the structure-only conditioned samples **motif-only** , and all jointly structure and dynamics conditioned - **motif+NMA** .
|
| 503 |
+
|
| 504 |
+
**Discussion of the motif scaffolding success rate** As a first part of the evaluation, we calculated the proportion of Genie generated backbones of the motif-only and motif+NMA samples that meet the designability criteria and have backbone design motif-RMSD _<_ 1A. Out of 150 motif-only sam-[˚] ples, 1 is designable and has motif-RMSD _<_ 1A,[˚] while 2 out of 43 motif+NMA ones are. Moreover, the scMOTIF-RMSD, that is RMSD to the motif structure after folding inferred sequences for said backbone with ESMFold, does not achieve values lower than 1 A[˚] for any of motif+NMA and motif-only conditioned samples. Figure 11 shows in detail how scMOTIF-RMSD correlates with scRMSD.
|
| 505 |
+
|
| 506 |
+
We believe this is a combination of (1) the limited training and capacity of our model and (2) the challenging nature of our target motif, which is a segment of 2 paired, anti-parallel beta-sheets connected to the end of a helix. To these points into context, our model was trained for the motifscaffolding task for 300 A100 GPU-hours, compared to state-of-the-art models such as RFDiffusion, which are trained for over 25 _[′]_ 000s of GPU hours when considering the RosettaFold2 pre-training.
|
| 507 |
+
|
| 508 |
+
20
|
| 509 |
+
|
| 510 |
+
**==> picture [238 x 252] intentionally omitted <==**
|
| 511 |
+
|
| 512 |
+
**----- Start of picture text -----**<br>
|
| 513 |
+
origNMA-loss distribution<br>Conditioning<br>35<br>motif-only (n=150)<br>motif+NMA (n=43)<br>30<br>25<br>20<br>15<br>10<br>5<br>0<br>0.0 0.5 1.0 1.5 2.0 2.5 3.0<br>origNMA-loss<br>Count<br>**----- End of picture text -----**<br>
|
| 514 |
+
|
| 515 |
+
Figure 12: Distribution of the NMA-loss of the designed backbones. The distribution of the motif+NMA conditioned backbones is strongly enriched towards low NMA-loss values when compared to the distribution of motif-only backbone samples. Only 2/150 ( _∼_ 1 _._ 3%) of motif-only backbones achieve origNMA-loss _<_ 0 _._ 5, as opposed to 10/43 ( _∼_ 23%) for motif+NMA – corresponding to a roughly 17x-fold enrichment, while achieving comparable motif scaffolding performance (c.f. Fig. 11). Note that the bars were stacked to avoid overlapping bars from being invisible.
|
| 516 |
+
|
| 517 |
+
Yet, despite the significantly higher model capacity of RFDiffusion (42 Mio. parameters) as well as the longer training, design success rates (according to the criteria outlined above) of RFDiffusion can also at or below 1% for some challenging, contiguous functional motifs (e.g. targets 5WN9 or 4JHW in the RFDiffusion benchmark in the supplementary material of Watson et al. (2022)). It is therefore possible that the in-silico success rates for our model with a lower capacity are be below the detection threshold for this particular motif scaffolding problem.
|
| 518 |
+
|
| 519 |
+
Nonetheless, the ESMFold designed backbones achieving the lowest scMOTIF-RMSD and the lowest scRMSD belong to the motif+NMA conditioned group, which illustrates that our NMAconditioning approach has no discernable negative impact on the designability of samples. We believe it is therefore still meaningful to gleam insights from this set of samples, despite the challenging nature of the motif-scaffolding for our chosen target.
|
| 520 |
+
|
| 521 |
+
**Discussion of the scNMA-score** The distribution of NMA-loss in the motif+NMA and motif-only Genie backbone samples is consistent with our previous findings that the dynamics-conditioning leads to the targeted dynamics in the raw backbone (Figure 12). Only 2/150 ( _∼_ 1 _._ 3%) of motifonly backbones achieve origNMA-loss _<_ 0 _._ 5, as opposed to 10/43 ( _∼_ 23%) for motif+NMA – corresponding to a roughly 17x-fold enrichment, while achieving comparable motif scaffolding performance (c.f. Fig. 11). However, much of this benefit appears to disappear in the process in inverse-folding and the subsequent re-folding. Joint motif+NMA conditioning still increases the relative chance of obtaining a sample with a low scNMA-score (3 _/_ 43 _∼_ 7% of samples below 0 _._ 5) as compared to motif-only conditioning (3 _/_ 150 _∼_ 2% below 0 _._ 5), roughly 3-fold, but the difference is much less pronounced than for the NMA-loss of the designed backbone (original NMA-loss). Figure 13 shows the scNMA-loss distribution for the motif+NMA and motif-only ESMFold designs. The best sample with low original NMA-loss is therefore not guaranteed to have similarly low scNMA-score. The pipeline inverse-folding and re-folding has also a surprising effect on the motif-only samples. Samples with high values of original NMA-loss are occasionally corrected to better NMA scores in the pipeline and match the targeted motif’s dynamics better. Still, the in-
|
| 522 |
+
|
| 523 |
+
21
|
| 524 |
+
|
| 525 |
+
**==> picture [238 x 259] intentionally omitted <==**
|
| 526 |
+
|
| 527 |
+
**----- Start of picture text -----**<br>
|
| 528 |
+
scNMA-score distribution<br>18<br>Conditioning<br>motif-only (n=150)<br>16<br>motif+NMA (n=43)<br>14<br>12<br>10<br>8<br>6<br>4<br>2<br>0<br>0.5 1.0 1.5 2.0 2.5<br>scNMA-score<br>Count<br>**----- End of picture text -----**<br>
|
| 529 |
+
|
| 530 |
+
Figure 13: Distribution of the self-consistency NMA score (scNMA-score) of the backbone samples against structures obtained from inferring a sequence for each backbone via ProteinMPNN and refolding it via ESMFold. Joint motif+NMA conditioning increases the relative chance of obtaining a sample with a low scNMA-score (3 _/_ 43 _∼_ 7% of samples below 0 _._ 5) as compared to motif-only conditioning (3 _/_ 150 _∼_ 2% below 0 _._ 5) by roughly 3-fold, however the difference is much less pronounced than for the original NMA-loss. Again, the bars were stacked to avoid overlapping bars from being invisible.
|
| 531 |
+
|
| 532 |
+
troduction of the dynamics conditioning increases the relative chance of obtaining a sample with a low scNMA-score as compared to motif-only sampling. We leave the interesting question of how to retain high NMA-scores through inverse folding and re-folding pipelines as an interesting future work.
|
| 533 |
+
|
| 534 |
+
Lastly, we investigate how the scNMA-score correlates with the scMOTIF-RMSD. While the region where scMOTIF-RMSD _<_ 1 A[˚] remains unachievable for both motif+NMA and motif-only samples as previously discussed, the best samples (scMOTIF-RMSD and scNMA as low as possible) from all samples taken belong to the dynamics-conditioned subset.
|
| 535 |
+
|
| 536 |
+
## H.4 ADDITIONAL ALPHAFOLD2 DESIGNS
|
| 537 |
+
|
| 538 |
+
To give a visual intuition of the scores introduced above, we show the AlphaFold2 (AF2) designs of the Genie backbones - one motif-only conditioned, and one motif+NMA conditioned. Those backbones were deemed designable and close to designable by ESMFold - their scRMSD and pLDDT respectively were 1 _._ 923 A, 73.6 for motif-only conditioned sample and[˚] 1 _._ 897 A, 68.1 for motif+NMA[˚] conditioned sample. We repeated the inverse-folding and folding steps for these two selected samples with state-of-the-art AF2, and we computed the self-consistency scores again. The _Cα_ -only backbones derived from the AF2 designs are presented in the Figures 15 and 16. The displacement vectors in the lowest normal mode are attached to the points of the conditioned residues.
|
| 539 |
+
|
| 540 |
+
22
|
| 541 |
+
|
| 542 |
+
scNMA-score vs. scMOTIF-RMSD for samples with scMOTIF-RMSD < 4
|
| 543 |
+
|
| 544 |
+
**==> picture [251 x 188] intentionally omitted <==**
|
| 545 |
+
|
| 546 |
+
**----- Start of picture text -----**<br>
|
| 547 |
+
Conditioning<br>motif-only (n=29/150)<br>2.5 motif+NMA (n=17/43)<br>2.0<br>1.5<br>1.0<br>0.5<br>1.0 1.5 2.0 2.5 3.0 3.5 4.0<br>scMOTIF-RMSD<br>scNMA-score<br>**----- End of picture text -----**<br>
|
| 548 |
+
|
| 549 |
+
Figure 14: scNMA-score vs scMOTIF-RMSD for the motif+NMA and motif-only samples. We focus on samples with scMOTIF-RMSD _<_ 4 as for structures with larger differences in the motif, the scNMA-scores likely become meaningless. As a consequence, 17 out of 43 and 29 out of 150 motif+NMA and motif-only samples are shown - the remaining are the outliers in the region scMOTIF-RMSD _>_ 4A.[˚]
|
| 550 |
+
|
| 551 |
+
**==> picture [278 x 186] intentionally omitted <==**
|
| 552 |
+
|
| 553 |
+
Figure 15: Backbone of an AF2 re-folded sequence obtained via ProteinMPNN from a motif+NMA conditioned raw backbone. Purple arrows are the displacements of the conditioned residues in the current structure, purple are the target rotated to the motif’s frame of reference. Arrows are scaled up for visual clarity. Scores obtained with folding with AF2: scRMSD= 1 _._ 49, pLDDT= 80 _._ 6, scMOTIF-RMSD=2 _._ 30. Original NMA-loss= 0 _._ 087, scNMA-score=0 _._ 29.
|
| 554 |
+
|
| 555 |
+
23
|
| 556 |
+
|
| 557 |
+
**==> picture [278 x 185] intentionally omitted <==**
|
| 558 |
+
|
| 559 |
+
Figure 16: Backbone of an AF2 re-folded sequence obtained via ProteinMPNN from a motif-only conditioned raw backbone. Purple arrows are the displacements of the conditioned residues in the current structure, purple are the target rotated to the motif’s frame of reference. Arrows are scaled up for visual clarity. Scores obtained with folding with AF2: scRMSD= 1 _._ 52, pLDDT= 81 _._ 6, scMOTIF-RMSD=2 _._ 07. Original NMA-loss=1 _._ 88, scNMA-score= 0 _._ 64.
|
| 560 |
+
|
| 561 |
+
24
|
| 562 |
+
|
open_review/iclr2024_9131.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9131",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "$\\gamma$-Orthogonalized Tensor Deflation: Towards Robust \\& Interpretable Tensor Decomposition in the Presence of Correlated Components",
|
| 6 |
+
"abstract": "We tackle the problem of recovering a low-rank tensor signal with possibly correlated components from a random noisy tensor, or the so-called \\textit{spiked tensor model}. When the underlying components are orthogonal, they can be recovered efficiently using \\textit{tensor deflation}, while correlated components may alter the tensor deflation mechanism, thereby preventing efficient recovery. \nRelying on recently developed tools from random tensor theory, we deal precisely with the non-orthogonal case by deriving an asymptotic analysis of a \\textit{parameterized} deflation procedure, which we refer to as $\\gamma$-orthogonalized tensor deflation. \nBased on this analysis, an efficient tensor deflation algorithm is proposed by optimizing the parameter injected into the deflation mechanism, which in turn is proven to be optimal by construction for the studied tensor model. We perform a detailed theoretical and algorithmic analysis on the rank-2 order-3 model, and outline a general structure to tackle the problem in more generality for arbitrary ranks/orders, aiming to lead to a broader impact in machine learning and beyond.",
|
| 7 |
+
"rebuttal": "We thank the reviewer very much for their valuable feedback. We address their questions and comments as follows: \n\n**Outline**. We have significantly revisited our manuscript, as outlined in our general comment. \n- The main algorithm is motivated and presented in details in Section 3.4, which follows a thorough and complete theoretical construction of our algorithm. We list the main assumptions and theorems, outline their value within our framework and visualize them with adequate simulations. \n- (Seddik et al, 2021) lays the ground to a new angle to approach spectral tensor decomposition problems. Our paper follows the same path to construct our algorithm. While the reader is referred to check that paper for further details about random tensor theory based spectral tensor decomposition (proof of Theorem 1 in Section 3.2.1 of our paper for instance), our paper outlines the detailed construction of all our results in Section 3 of the main paper and provides a self-contained review of concepts of random matrix/tensor theory (RMT/RTT) in Appendix B to guide the unfamiliar reader.\n\n**Experiments.** We update our experiments section, as outlined in our general comment. This further addresses the reviewer's specific questions. We list the relevant section again here for their convenience: \n\n- We now focus our empirical evaluation on two representative experiments and provide detailed explanations of both. In particular, we outline how our algorithmic approach performs compared to state-of-the-art and how our developed theory matches our predictions in practice with extensive experiments. In addition, we have also added separate visualizations for our theorems and assumptions throughout Section 3 and provided a detailed set of supplementary experiments in Appendix E.\n\n**Application.** We agree with the reviewer that the rank-2 order-3 model limits the breadth of applications of the considered model in general. However, this work only presents the rank-2 order-3 model for its accessibility and to show the potential of the considered analysis. For higher ranks/orders, a similar construction can be done (hints on that in Appendix G), which was previously developed for a similar model- Hotelling-type tensor deflation (See Theorem 3.4 in [1])\n\n**Questions.** \n- We thank the reviewer for their great question! We have further benchmarked our proposed algorithm against prevalent spectral tensor decomposition methods that are widely used in practice, CANDECOMP/PARAFAC (CP) and Tucker. We show that the latter collapse in the presence of higher levels of correlation $\\alpha$ and fail to recover the signal of interest. We outline the details of that in Figure 5 and its subsequent explanation in Section 4/Benchmarks. Initially, we have not considered this benchmark highly relevant, as we only considered spectral decomposition algorithms. \n- Our work, for now, only considers spectral decomposition algorithms given the rich theoretical basis in RMT/RTT. Tensor Train (TT) and Tucker are, however, compression-based decomposition algorithms. \n\nWe invite the reviewer's feedback and suggestions, which we will gladly consider to further improve our paper.\n\n[1]: Seddik, M. E. A., Guillaud, M., Decurninge, A., & Goulart, J. H. D. M. (2023). On the Accuracy of Hotelling-Type Asymmetric Tensor Deflation: A Random Tensor Analysis. arXiv preprint arXiv:2310.18717.\n\nWe thank the reviewer very much for their positive feedback and valuable suggestions. \n\nWe answer the questions as follows: \n\n- For the symmetric case where $u=v=w$, this indeed seems a simpler case to consider. However, when considering such assumption, we impose further constraints on the structure of the noise tensor $\\mathcal{W}$. The noise entries $\\mathcal{W}_{i,j,k}$ are not i.i.d anymore and further steps would be needed to estimate the variance given a certain entry. \n- We thank the reviewer for bringing this point to our attention. Indeed, at the second deflation step of the $\\gamma$ [...]\n\nWe thank the reviewer for their comment. We address their concerns as follows \n\n**Outline.** Indeed, it was a real challenge for us to present our work in such a way that outlines the motivation behind our approach, illustrates the main steps for developing the theory and constructing the algorithm, and at the same time extensively evaluate our claims empirically. In this spirit, we have substantially revisited our manuscript and list the main changes in a general comment. \n\n**Experiments** We have further benchmarked our proposed algorithm against prevalent spectral tensor decomposition metho [...]\n\nWe thank the reviewer very much for their valuable feedback and suggestions, which has opened many avenues for the improvement of our work. We have substantially revisited our paper and we list the most important changes as a general comment. \n\nTo address the reviewer's specific questions: \n\n1. **Extension to Higher-Rank and Higher-Order Problems.** In addition to the Generalized Deflation Step Procedure in Section 3.1, we now motivate every step in our developed theory/algorithm in detail in the main text. We have considered the extension to higher ranks and/or orders in more detail in Append [...]\n\n### Manuscript Revision\nWe thank the reviewers very much for their valuable feedback and suggestions. Following the latter, we have substantially revisited our manuscript. \n\nWe list the main changes as follows:\n\n**Outline \\& Theory: Section 3.** We fully restructured the main section of our paper. We provide the full detailed construction of our theory and subsequently our proposed algorithm. We emphasize the motivation behind each step and visualize the different assumptions and results with representative simulations.\n\n**Empirical Evaluation.** \n\n- We now focus our empirical evaluation on tw [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
8,
|
| 11 |
+
5,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.25,
|
| 15 |
+
"score_variance": 4.25,
|
| 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 considers the problem of recovering a low-rank tensor from a random noisy tensor. The paper proposes a new deflation procedure which can lead to a new tensor deflation algorithm when the components are not orthogonal. The paper mostly focused on the analysis on rank-2 order-3 tensors. The main concerns in the reviews are the clarify of presentation, and the limitation of the algorithm to rank-2 order-3 tensors (extending the algorithm seems cumbersome).",
|
| 22 |
+
"forum_id": "SJ9lqUalq1",
|
| 23 |
+
"primary_area": "learning theory",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_fjzE",
|
| 28 |
+
"review_id": "1Cm4iaYpWz",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1984,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 21964,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_54VG",
|
| 44 |
+
"review_id": "gTsidZxdzV",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 8,
|
| 47 |
+
"soundness": 4,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 5
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2088,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 418572,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_rV4h",
|
| 60 |
+
"review_id": "hGJ4S3OpHi",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 1,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 951,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 824813,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_Een1",
|
| 76 |
+
"review_id": "AoTA1l5QXJ",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 1,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2236,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 829867,
|
| 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_9131.md
ADDED
|
@@ -0,0 +1,872 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## -ORTHOGONALIZED TENSOR DEFLATION: TOWARDS _γ_ ROBUST & INTERPRETABLE TENSOR DECOMPOSITION IN THE PRESENCE OF CORRELATED COMPONENTS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
We tackle the problem of recovering a low-rank tensor signal with possibly correlated components from a random noisy tensor, or the so-called _spiked tensor model_ . When the underlying components are orthogonal, they can be recovered efficiently using _tensor deflation_ , while correlated components may alter the tensor deflation mechanism, thereby preventing efficient recovery. Relying on recently developed tools from random tensor theory, we deal precisely with the non-orthogonal case by deriving an asymptotic analysis of a _parameterized_ deflation procedure, which we refer to as _γ_ -orthogonalized tensor deflation. Based on this analysis, an efficient tensor deflation algorithm is proposed by optimizing the parameter injected into the deflation mechanism, which in turn is proven to be optimal by construction for the studied tensor model. We perform a detailed theoretical and algorithmic analysis on the rank-2 order-3 model, and outline a general structure to tackle the problem in more generality for arbitrary ranks/orders, aiming to lead to a broader impact in machine learning and beyond.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Tensor methods have been proven to be a powerful and versatile tool to model multi-relational, multimodal and/or temporal data (Jenatton et al., 2012; Nickel et al., 2011; Rabanser et al., 2017; Sidiropoulos et al., 2017; Fawzi et al., 2022), all of which lie at the heart of the current state-of-the-art in machine learning research. In the era of exascale models, one of the most important fundamental problems is extracting latent structure from high-dimensional data, which hints at more sophisticated foundational abilities learned by the model, showcasing its ability to meta-learn. Typically, such latent structure is of low rank and includes correlations among the different signal components. Tensor methods, as in (Anandkumar et al., 2014; Zare et al., 2018), have been quite successful in tasks of unsupervised nature, among others.
|
| 14 |
+
|
| 15 |
+
In particular, we shed light on the spiked tensor model. A rank-r order-d spiked tensor model is written as follows
|
| 16 |
+
|
| 17 |
+
**==> picture [192 x 31] intentionally omitted <==**
|
| 18 |
+
|
| 19 |
+
where _βi ≥_ 0 correspond to the signal-to-noise strengths and _x_[(] _j[i]_[)] are unit vectors. In practice, this model corresponds to a variety of applications, across diverse domains. In compressed sensing (CS) (Lim & Comon, 2010; Sidiropoulos & Kyrillidis, 2012; Yang et al., 2015), it is used to model images that are sparse in some dictionary or lying in a union of lower dimensional subspaces, for instance natural images or medical images (undersampled MRI, CT etc). In reinforcement learning (RL) (Rozada & Marques, 2022; Agarwal et al., 2020; Ni et al., 2021), it is used to model the transition kernel over a very large state space, yet exhibiting a low rank structure. In natural language processing (NLP) (Agarwal et al., 2020; Anandkumar et al., 2013; Cheng et al., 2015), orthogonalized deflation based tensor decomposition (Mackey, 2008) and its variants are, for instance, used for topic modeling.
|
| 20 |
+
|
| 21 |
+
**Related Work.** We consider a more detailed literature review in Appendix A, given the space constraints.
|
| 22 |
+
|
| 23 |
+
**Notation.** The set _{_ 1 _, . . . , n}_ is denoted by [ _n_ ]. The unit sphere in R _[p]_ is denoted by S _[p][−]_[1] . The Dirac measure at some real value _x_ is denoted by _δx_ . The support of a measure _µ_ is denoted by supp( _µ_ ).
|
| 24 |
+
|
| 25 |
+
1
|
| 26 |
+
|
| 27 |
+
The inner product between two vectors _u, v_ is denoted by _⟨u, v⟩_ =[�] _i[u][i][v][i]_[.][The imaginary part of a] complex number _z_ is denoted by _ℑ_ [ _z_ ]. The set of eigenvalues of a matrix _**M**_ is denoted by Sp( _**M**_ ). a.s. The almost sure converges is denoted by the arrow _−−→_ . The notation _an ≍ bn_ means that _an_ and _bn_ converge to the same limit as _n →∞_ . **Preliminaries.** We provide a self-contained review of some of the key concepts of random matrix/tensor theory (RMT/RTT) to guide the reader throughout the theoretical results of the paper. We outline that in Appendix B.
|
| 28 |
+
|
| 29 |
+
**Key Contributions.** Our contributions are outlined as follows
|
| 30 |
+
|
| 31 |
+
- We introduce _γ_ -orthogonalized tensor deflation, a variant of the orthogonalized tensor deflation algorithm by injecting an optimizable parameter _γ ∈_ [0 _,_ 1] into the projection hyperplane, as described in §3. In particular, _γ_ = 1 corresponds to the classical orthogonalized deflation (Mackey, 2008) and _γ_ = 0 corresponds to projecting onto the signal subspace itself.
|
| 32 |
+
|
| 33 |
+
- We carry out a random tensor theory (RTT) analysis of the proposed deflation method applied to a _noisy rank-two asymmetric spiked tensor model_[1] , as defined in §2.1.
|
| 34 |
+
|
| 35 |
+
- Relying on the theoretical construction performed throughout the paper, we design an efficient tensor deflation algorithm (§3) that compares favorably (as measured by alignments) to state-of-the-art and is fully theoretically tractable with the developed theory, as compared to some of its learning-based counterparts.
|
| 36 |
+
|
| 37 |
+
- 2 LOW-RANK SPIKED TENSOR MODEL
|
| 38 |
+
|
| 39 |
+
We study the problem of recovering a low-rank _r_ (possibly high-order _d_ ) signal from a noisy full rank tensor, which formulates as follows
|
| 40 |
+
|
| 41 |
+
**==> picture [192 x 31] intentionally omitted <==**
|
| 42 |
+
|
| 43 |
+
where _βi ≥_ 0 correspond to the signal-to-noise ratios (SNRs), _x_[(] _j[i]_[)] _∈_ S _[p][j][−]_[1] with _∥x_[(] _j[i]_[)] _[∥]_[= 1] _[,][∀][i, j]_ are the signal components. _W_ is a random (possibly asymmetric) tensor with standard Gaussian i.i.d. entries, i.e., _Wijk ∼N_ (0 _,_ 1), and _n_ =[�] _[d] i_ =1 _[p][i]_[.]
|
| 44 |
+
|
| 45 |
+
**Correlated Signal Components.** When the signal components are orthogonal � _⟨x_[(] _j[i]_[1][)] _, x_[(] _j[i]_[2][)] _⟩_ = 0 _, i_ 1 = _i_ 2�, a tensor deflation algorithm step would recover the signal component with the highest SNR. In a variety of practical scenarios, this assumption is quite restrictive. On a further note, tensor decomposition algorithms that rely on this assumption perform quite poorly when the latter is not satisfied, as shown in Figure 1. We alleviate this assumption by allowing arbitrary correlations among the signal components.
|
| 46 |
+
|
| 47 |
+
**Alignments as an Evaluation Metric.** Since the signal components are normalized, our goal is to maximize the alignments of the recovered signal with the hidden low-rank signal across modes. Indeed, in high dimension, the probability that two random vectors _u_ , _v_ are orthogonal, i.e. _⟨u, v⟩_ = 0, is very high, which shows the difficulty of obtaining high estimation accuracies (alignments) in this setting.
|
| 48 |
+
|
| 49 |
+
## 2.1 RANK-2 ORDER-3 SPIKED TENSOR MODEL
|
| 50 |
+
|
| 51 |
+
Given the simplicity to visualize it and the focus on the inter-component correlation, we consider the following rank-2 order-3 spiked tensor model
|
| 52 |
+
|
| 53 |
+
**==> picture [292 x 30] intentionally omitted <==**
|
| 54 |
+
|
| 55 |
+
with _n_ = 3 _p_ in this case.
|
| 56 |
+
|
| 57 |
+
> 1Spiked models are more both general and offer numerous theoretical advantages compared to unrealistic noiseless low-rank models. For instance, subtracting a best rank-1 approximation of a noiseless low-rank tensor may increase its rank (Stegeman & Comon, 2010), while spiked models do not suffer from such limitation since their noise component is full rank (Strassen, 1983).
|
| 58 |
+
|
| 59 |
+
2
|
| 60 |
+
|
| 61 |
+
**==> picture [312 x 179] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
**----- Start of picture text -----**<br>
|
| 64 |
+
⟨x 1 , x 2 ⟩ = 0 ⟨x 1 , x 2 ⟩ = 0 . 5<br>1 1<br>⟨u 1 , x 1 ⟩<br>⟨u 1 , x 2 ⟩ ⟨u 1 , x 1 ⟩<br>⟨u 1 , x 2 ⟩<br>0 0<br>5 β 1 = β 2 20 5 β 1 = β 2 20<br>1 1<br>⟨u 2 , x 1 ⟩<br>⟨u 2 , x 1 ⟩ ⟨u 2 , x 2 ⟩<br>⟨u 2 , x 2 ⟩<br>0 0<br>5 β 1 = β 2 20 5 β 1 = β 2 20<br>β 2 β 2<br>1<br> u<br>Alignments of<br>2<br> u<br>Alignments of<br>**----- End of picture text -----**<br>
|
| 65 |
+
|
| 66 |
+
Figure 1: **Orthogonalized deflation** (as defined in §3) is applied to the noiseless rank-two tensor model[�][2] _i_ =1 _[β][i][x] i[⊗]_[3][,][where] _[x][i][∈]_[R][200][,] _[β]_[1][is][fixed][and] _[β]_[2][varies][along][the] _[x]_[-axis.] _[u]_[1][and] _[u]_[2][are] the resulting signal estimates after one and two steps of orthogonalized deflation respectively. **Left:** _u_ 1 and _u_ 2 align well with the hidden signal _x_ 1 and _x_ 2 in the orthogonal case, i.e _⟨x_ 1 _, x_ 2 _⟩_ = 0, highlighting a high estimation quality. **Right:** In the presence of correlation among the signal components, i.e _⟨x_ 1 _, x_ 2 _⟩_ = 0 _._ 5, _u_ 1 and _u_ 2 don’t align well with the hidden signal components _x_ 1 and _x_ 2, highlighting a poor signal recovery quality.
|
| 67 |
+
|
| 68 |
+
**Assumption for Mathematical Convenience.** In this setting, we further assume that the alignments among signal components are uniform across the modes, i.e.
|
| 69 |
+
|
| 70 |
+
**==> picture [271 x 11] intentionally omitted <==**
|
| 71 |
+
|
| 72 |
+
We highlight here that _α_ measures the degree of correlation among the signal components. The choice of a uniform _α_ across the signal modes equation 2 is for mathematical convenience only. Extending to general alignments _αx, αy, αz_ is rather straightforward, but would probably require the use of a solver, SymPy (Meurer et al., 2017) for instance, as the theoretical alignment expressions become quite tedious.
|
| 73 |
+
|
| 74 |
+
3 _γ_ -ORTHOGONALIZED TENSOR DEFLATION
|
| 75 |
+
|
| 76 |
+
We present a strategy to recover the hidden low-rank signal components from a noisy rank-2 order-3 spiked tensor model, while jointly estimating all model parameters.
|
| 77 |
+
|
| 78 |
+
3.1 CONSTRUCTION OF THE DEFLATION MECHANISM: RANK-2 ORDER-3 SPIKED TENSOR MODEL
|
| 79 |
+
|
| 80 |
+
**First Deflation Step.** This step consists of a best rank-1 approximation of _T_ 1 (1), which is written as _λ_[ˆ] 1 _u_ ˆ1 _⊗ v_ ˆ1 _⊗ w_ ˆ1.
|
| 81 |
+
|
| 82 |
+
**Second Deflation Step.** Now, given _u_ ˆ1 _∈_ S _[p][−]_[1] , we perform a best rank-1 approximation _λ_[ˆ] 2 _u_ ˆ2 _⊗ v_ ˆ2 _⊗ w_ ˆ2 of the resulting tensor from the first deflation step
|
| 83 |
+
|
| 84 |
+
**==> picture [301 x 14] intentionally omitted <==**
|
| 85 |
+
|
| 86 |
+
for some tunable parameter _γ ∈_ [0 _,_ 1]. If _γ_ = 1, this step reduces to performing the classical _orthogonalized deflation_ (Mackey, 2008).
|
| 87 |
+
|
| 88 |
+
**Best Rank-1 Approximation conditions.** Best rank-1 approximations from first and second deflation respectively satisfy the following identities, for _i ∈_ [2]
|
| 89 |
+
|
| 90 |
+
**==> picture [383 x 13] intentionally omitted <==**
|
| 91 |
+
|
| 92 |
+
3
|
| 93 |
+
|
| 94 |
+
**Tensor Power Iteration (TPI).** Initialized with SVD (Auddy & Yuan, 2022), TPI allows us to compute _λ_[ˆ] 1 _u_ ˆ1 _⊗ v_ ˆ1 _⊗ w_ ˆ1 and _λ_[ˆ] 2 _u_ ˆ2 _⊗ v_ ˆ2 _⊗ w_ ˆ2 in practice. For the orthogonal case ( _α_ = 0), it has been proven to converge in polynomial time for _βi ≥ O_ ( _p_[3] _[/]_[2] ). Now, for each deflation step _i ∈_ [2], we denote the following alignments as
|
| 95 |
+
|
| 96 |
+
**==> picture [354 x 27] intentionally omitted <==**
|
| 97 |
+
|
| 98 |
+
The equivalences _|⟨u_ ˆ1 _, xi⟩| ≍|⟨v_ ˆ1 _, yi⟩| ≍|⟨w_ ˆ1 _, zi⟩|_ , _|⟨v_ ˆ2 _, yi⟩| ≍|⟨w_ ˆ2 _, zi⟩|_ and _|⟨v_ ˆ1 _,_ ˆ _v_ 2 _⟩| ≍ |⟨w_ ˆ1 _, w_ ˆ2 _⟩|_ are a direct consequence of our assumption (2), provided all mode dimensions of _T_ 1 are equal. We also highlight that _θ_[ˆ] 2 _i ≍ ρ_ ˆ2 _i_ and ˆ _κ ≍ η_ ˆ in general, since the projection (3) is only applied to the first mode.
|
| 99 |
+
|
| 100 |
+
**Theoretical Alignments.** As _n →∞_ , our main goal is to compute the asymptotic expectations of the singular values _λ_[ˆ] _i_ and alignments _ρ_ ˆ1 _i, θ_[ˆ] 2 _i,_ ˆ _ρ_ 2 _i,_ ˆ _κ,_ ˆ _η_ at each deflation step _i_ . Indeed, using concentration arguments, one can show that these quantities tend to concentrate around their respective expected values as _n_ grows large with variances of order _O_ ( _n[−]_[1] ), in the same vein as BenaychGeorges et al. (2011) which studied the fluctuations of the largest eigenvalues of large random matrices.
|
| 101 |
+
|
| 102 |
+
**Joint Estimation of Model Parameters.** We address the problem of jointly estimating the underlying model parameters, namely the signal-to-noise ratios _β_ 1 _, β_ 2, and the correlation parameter _α_ based on a **single realization** of _T_ 1. This allows us to construct an improved deflation algorithm in the correlated case. Our analysis partly relies on a recently developed random tensor theory approach (Seddik et al., 2021). In particular, we decompose the random tensor model obtained at each deflation step as in the following
|
| 103 |
+
|
| 104 |
+
**Generalized Deflation Step Theoretical Analysis Procedure** (Detailed Insight in Appendix G).
|
| 105 |
+
|
| 106 |
+
1. Identify the tensor model’s **corresponding random matrix model** .
|
| 107 |
+
|
| 108 |
+
2. Describe the **limiting spectral measure** of the corresponding random matrix.
|
| 109 |
+
|
| 110 |
+
3. Compute the **asymptotic singular value and corresponding alignments** .
|
| 111 |
+
|
| 112 |
+
Next, we present a detailed analysis of step part of our approach.
|
| 113 |
+
|
| 114 |
+
## 3.2 FIRST DEFLATION STEP
|
| 115 |
+
|
| 116 |
+
Following the aforementioned macro steps, the first deflation step is performed in the following
|
| 117 |
+
|
| 118 |
+
**==> picture [290 x 36] intentionally omitted <==**
|
| 119 |
+
|
| 120 |
+
To characterize the limits of _λ_ 1 and the alignments _ρ_ ˆ1 _i_ for _i ∈_ [2] when _n →∞_ , the analysis boils down to the computation of the Stieltjes transform of the limiting spectral measure of the random matrix _**N**_ . We prove the latter statement in Appendix D.1.2. To compute the Stieltjes transform, the following technical assumption is needed. We provide more insight into that in the next section.
|
| 121 |
+
|
| 122 |
+
**Assumption 3.1** (“Recoverability”) **.** As _n →∞_ , there exists a sequence of critical points ( _λ_[ˆ] 1 _,_ ˆ _u_ 1 _,_ ˆ _v_ 1 _, w_ ˆ1) such that _λ_[ˆ] 1 _−−→_ a.s. _λ_ 1 _>_ 2� 23[and] _[ρ]_[ˆ][1] _[i] −−→_ a.s. _ρ_ 1 _i >_ 0.
|
| 123 |
+
|
| 124 |
+
Now, we finally characterize the limiting spectral measure of the random matrix _**N**_ in the following theorem.
|
| 125 |
+
|
| 126 |
+
4
|
| 127 |
+
|
| 128 |
+
**==> picture [271 x 109] intentionally omitted <==**
|
| 129 |
+
|
| 130 |
+
**----- Start of picture text -----**<br>
|
| 131 |
+
0 . 4<br>0 . 3<br>0 . 2<br>Eigenvalues of N<br>0 . 1 Semi-circle Law<br>0<br>− 2 − 1 0 1 2<br>Density<br>**----- End of picture text -----**<br>
|
| 132 |
+
|
| 133 |
+
Figure 2: Spectrum of Random Matrix Model at **First Deflation Step N** (6) & Limiting Semi-Circle Law (Theorem 1)- One realization of _T_ 1 with Parameters: _p_ = 200, _β_ 1 = 20, _β_ 2 = 15, _α_ = 0 _._ 8.
|
| 134 |
+
|
| 135 |
+
**Theorem 1.** _(Seddik et al., 2021, Corollary 1) Under Assumption 3.1, the spectral measure of_ _**N** converges weakly to a semi-circle law µ of compact support_ � _−_ 2 ~~�~~ 23 _[,]_[ 2] ~~�~~ 23 � _and density function µ_ ( _dx_ ) = 43 _π_ ~~�~~ � _x_[2] _−_[8] 3 �+ _. Moreover, the Stieltjes transform of µ is_ 2 _r_ ( _z_ ) =[3] _−z_ + _z_[2] _−_[8] _, for z >_ 2 4 � � 3 � � 3 _[.]_
|
| 136 |
+
|
| 137 |
+
**Visualization of Theorem 1.** Figure 2 depicts the histogram of the eigenvalues of _**N**_ and the corresponding limiting semi-circle law as specified by Theorem 1. Note that the spectral measure of _**N**_ is not affected by the parameters _β_ 1 _, β_ 2 and _α_ , but some conditions on them are required to ensure Assumption 3.1 (“Recoverability”).
|
| 138 |
+
|
| 139 |
+
3.2.2 ASYMPTOTIC SINGULAR VALUE AND ALIGNMENTS ˆ Following Theorem 1, by taking the expectation with respect to _W_ of the identity _λ_[ˆ] 1 = _T_ 1(ˆ _u_ 1 _,_ ˆ _v_ 1 _, w_ 1) (4), one can derive the following result.
|
| 140 |
+
|
| 141 |
+
**Proposition 3.2.** _The limiting singular value λ_ 1 _satisfies the following_
|
| 142 |
+
|
| 143 |
+
**==> picture [249 x 30] intentionally omitted <==**
|
| 144 |
+
|
| 145 |
+
_Proof._ See Appendix D.1.2.
|
| 146 |
+
|
| 147 |
+
**Insight into Assumption 3.1.** Since the Stieltjes transform _r_ has to be evaluated at _λ_ 1, the latter must lie outside the support of _µ_ , which is ensured by Assumption 3.1 if the signal strengths _β_ 1 or _β_ 2 are sufficiently high. In the absence of inter-component correlations, i.e _α_ = 0, it was shown in (Seddik et al., 2021, Corollary 3) that max _{β_ 1 _, β_ 2 _}_ must be greater than[2] ~~_√_~~ 3 3 to ensure _λ_ 1 _>_ 2� 23[.][When]
|
| 148 |
+
|
| 149 |
+
_λ_ 1 _≤_ 2� 23[, i.e.,] _[ λ]_[1][lies inside the support of] _[ µ]_[, it basically corresponds to the case where the tensor] _T_ 1 is indistinguishable from its noise counterpart _W_ , and hence recovering the signal components is information-theoretically impossible (Richard & Montanari, 2014; Lesieur et al., 2017; Jagannath et al., 2020; Goulart et al., 2021; Seddik et al., 2021).
|
| 150 |
+
|
| 151 |
+
Now, taking the expectation with respect to _W_ of the remaining identities in (4, for _i_ = 1) projected onto the signal components _xi, yi, zi_ for _i ∈_ [2], allows us to obtain Theorem 2. This result **exactly** characterizes the asymptotic behavior at the first deflation step.
|
| 152 |
+
|
| 153 |
+
**Theorem 2.** _Under Assumption 3.1, the limiting singular value λ_ 1 _and corresponding alignments ρ_ 1 _i for i ∈_ [2] _of the first deflation step satisfy the following equations:_
|
| 154 |
+
|
| 155 |
+
**==> picture [319 x 29] intentionally omitted <==**
|
| 156 |
+
|
| 157 |
+
5
|
| 158 |
+
|
| 159 |
+
_where we recall αij_ = _α if i_ = _j and_ 1 _otherwise, and we denoted fr_ ( _z_ ) = _z_ + _r_ ( _z_ ) _and_ 1 _hr_ ( _z_ ) = _− r_ ( _z_ ) _[, with][ r][ the Stieltjes transform of the corresponding random matrix model after] deflation step 1 (semi-circle law, as depicted in Figure 3) as per Theorem 1._
|
| 160 |
+
|
| 161 |
+
_Proof._ See D.1.2 and D.1.3.
|
| 162 |
+
|
| 163 |
+
3.3 SECOND DEFLATION STEP
|
| 164 |
+
|
| 165 |
+
We henceforth turn to the description of the second deflation step asymptotics.
|
| 166 |
+
|
| 167 |
+
**==> picture [293 x 37] intentionally omitted <==**
|
| 168 |
+
|
| 169 |
+
Now, we demonstrate that for some _γ_ = 1, the limiting spectral measure of _**M**_ does **not** follow a semi-circle law due to the additional term _γ⟨u_ ˆ1 _,_ ˆ _u_ 2 _⟩W_ (ˆ _u_ 1) induced by the correlation between the ˆ ˆ ˆ singular vectors _u_ 1 and _u_ 2. When _γ_ = 0 or _γ_ = 1, the term _γ⟨u_ 1 _,_ ˆ _u_ 2 _⟩W_ (ˆ _u_ 1) vanishes, in which cases the limiting spectral measure of _**M**_ reduces to the semi-circle law in Theorem 1. For _γ_ = 1, ˆ ˆ the identity _T_ 2( _·,_ ˆ _v_ 2 _, w_ 2) = _λ_[ˆ] 2 _u_ 2 in (4) with _T_ 2 (as in 3) implies
|
| 170 |
+
|
| 171 |
+
**==> picture [353 x 24] intentionally omitted <==**
|
| 172 |
+
|
| 173 |
+
which in turn directly implies _⟨u_ ˆ1 _,_ ˆ _u_ 2 _⟩_ = 0 since the spectral norm of the tensor _T_ 2 is non-zero, due to the presence of the noise term. We therefore provide the result characterizing the limiting spectral measure of _**M**_ for any _γ ∈_ [0 _,_ 1], and which in turn generalizes Theorem 1 to random contraction matrices of the form in equation 9. We start by the following definition.
|
| 174 |
+
|
| 175 |
+
**Definition 3.3.** Let _ν_ be the probability measure with Stieltjes transform _q_ ( _z_ ) = _a_ ( _z_ ) + 2 _b_ ( _z_ ) verifying _ℑ_ [ _q_ ( _z_ )] _>_ 0 for _ℑ_ [ _z_ ] _>_ 0, where _a_ ( _z_ ) and _b_ ( _z_ ) satisfy the following equations, for _z ∈/_ supp( _ν_ )
|
| 176 |
+
|
| 177 |
+
**==> picture [326 x 21] intentionally omitted <==**
|
| 178 |
+
|
| 179 |
+
for some parameter _τ ∈_ R. Moreover, the density function corresponding to _ν_ is given by the Stieltjes inverse formula _ν_ ( _dx_ ) = _π_[1][lim] _[ε][→]_[0] _[ ℑ]_[[] _[q]_[(] _[x]_[ +] _[ iε]_[)]][.]
|
| 180 |
+
|
| 181 |
+
Akin to the analysis of the first deflation step, we need additional technical assumptions to describe the limiting singular value _λ_ 2 and corresponding alignments.
|
| 182 |
+
|
| 183 |
+
**Assumption 3.4.** As _n →∞_ , there exists a sequence of critical points ( _λ_[ˆ] 2 _,_ ˆ _u_ 2 _,_ ˆ _v_ 2 _, w_ ˆ2) such that, for _i ∈_ [2]
|
| 184 |
+
|
| 185 |
+
**==> picture [222 x 13] intentionally omitted <==**
|
| 186 |
+
|
| 187 |
+
where _λ_ 2 _∈/_ supp( _ν_ ) with _ν_ defined in Definition 3.3 for _τ_ = _γκ_[2] _−_ 1 + _κ_ ( _γ −_ 1) and suppose _θ_ 2 _i, κ, ρ_ 2 _i, η >_ 0.
|
| 188 |
+
|
| 189 |
+
We therefore have the following theorem which characterizes the limiting spectral measure of _**M**_ .
|
| 190 |
+
|
| 191 |
+
**Theorem 3.** _Under Assumption 3.4, the spectral measure of_ _**M** converges weakly to the probability measure ν defined in Definition 3.3 for τ_ = _γκ_[2] _−_ 1 + _κ_ ( _γ −_ 1) _._
|
| 192 |
+
|
| 193 |
+
_Proof._ See D.2.1.
|
| 194 |
+
|
| 195 |
+
**Interpretation & Visualization of Theorem 3.** In essence, if the involved alignments in the second deflation step converge asymptotically, Theorem 3 states the convergence of the spectral measure of _**M**_ to the deterministic measure _ν_ defined in Definition 3.3 for _τ_ = _γκ_[2] _−_ 1 + _κ_ ( _γ −_ 1). We particularly recall that _κ_ corresponds to the limit of _⟨u_ ˆ1 _,_ ˆ _u_ 2 _⟩_ , which highlights the fact that the spectrum of _**M**_ can be deformed if the singular vectors _u_ 1 and _u_ 2 are correlated, i.e., if _γ_ = 1. This phenomenon is depicted in Figure 3 where we see that for _γ_ = 0 _._ 85, the limiting spectral measure of
|
| 196 |
+
|
| 197 |
+
6
|
| 198 |
+
|
| 199 |
+
**==> picture [272 x 109] intentionally omitted <==**
|
| 200 |
+
|
| 201 |
+
**----- Start of picture text -----**<br>
|
| 202 |
+
0 . 4<br>Eigenvalues of M<br>0 . 2 Limiting Measure<br>Semi-circle Law<br>0<br>− 2 − 1 0 1 2<br>Density<br>**----- End of picture text -----**<br>
|
| 203 |
+
|
| 204 |
+
Figure 3: Spectrum of Random Matrix Model at **Second Deflation Step M** (9) & Limiting (Theoretically Obtained) Law (3)- One realization of _T_ 1 with Parameters: _p_ = 200, _β_ 1 = 20, _β_ 2 = 15, _α_ = 0 _._ 8, _γ_ = 0 _._ 85.
|
| 205 |
+
|
| 206 |
+
**==> picture [407 x 79] intentionally omitted <==**
|
| 207 |
+
|
| 208 |
+
_**M**_ is no longer described by the semi-circle law. On the contrary, if _γ_ = 1 we have _κ_ = 0 as we saw in 9, which implies that _τ_ = _−_ 1. In this case, the limiting spectral measure _ν_ becomes equal to _µ_ , thereby describing again a semi-circle law. This can be trivially checked from Definition 3.3 by setting _τ_ = _−_ 1 and _a_ ( _z_ ) = _b_ ( _z_ ), and we therefore find _a_ ( _z_ ) = _b_ ( _z_ ) = _[r]_[(] 3 _[z]_[)] and _q_ ( _z_ ) = _r_ ( _z_ ). Note that for _γ ∈_ (0 _,_ 1), the Stieltjes transform _q_ ( _z_ ) can be computed numerically by alternating the equations in equation 11 as per Algorithm 1, which can be proved to converge to a fixed point in the same vein as in Louart & Couillet (2018).
|
| 209 |
+
|
| 210 |
+
3.3.2 ASYMPTOTIC SINGULAR VALUE AND ALIGNMENTS ˆ As for the first deflation step, taking the expectation w.r.t. _W_ of the identity _λ_[ˆ] 2 = _T_ 2(ˆ _u_ 2 _,_ ˆ _v_ 2 _, w_ 2) in equation 4 allows us to obtain the equation satisfied by _λ_ 2, see Appendix D.2.2, which yields
|
| 211 |
+
|
| 212 |
+
**==> picture [340 x 30] intentionally omitted <==**
|
| 213 |
+
|
| 214 |
+
where _fq_ ( _z_ ) = _z_ + _q_ ( _z_ ). Again, the limiting singular value _λ_ 2 must lie outside the support of _ν_ , as we assumed in Assumption 3.4, since its corresponding Stieltjes transform _q_ ( _z_ ) (and the function _b_ ( _·_ )) needs to be evaluated at _λ_ 2. In fact, if _λ_ 2 _∈_ supp( _ν_ ), then it is information-theoretically impossible to recover the second signal term (i.e., the one with strength min _{β_ 1 _, β_ 2 _}_ ).
|
| 215 |
+
|
| 216 |
+
Moreover, taking the expectation w.r.t. _W_ of the remaining identities in equation 4 for _i_ = 2, projected on the signal components _xi, yi, zi_ for _i ∈_ [2] and the first singular vectors _u_ 1 _, v_ 1 _, w_ 1, allows us to derive the result characterizing the behavior of the second deflation step.
|
| 217 |
+
|
| 218 |
+
**Theorem 4.** _Under Assumption 3.4, the limiting singular value λ_ 2 _and corresponding alignments θ_ 2 _i, ρ_ 2 _i for i ∈_ [2] _and κ, η of the second deflation step satisfy the system of equations in equation 13._
|
| 219 |
+
|
| 220 |
+
_Proof._ See D.2.2 and D.2.3.
|
| 221 |
+
|
| 222 |
+
3.4 MAIN ALGORITHM SKETCH
|
| 223 |
+
|
| 224 |
+
We are now in place to describe the proposed _γ_ -orthogonalized tensor deflation algorithm. Our principal insight lies in the fact that, for _β_ 1 _> β_ 2 for instance, the asymptotic alignments _θ_ 22 and _ρ_ 22 at the second deflation step are **concave** functions of the parameter _γ_ (as depicted in Figure 9 for _α_ = 0 _._ 6 and Figure 10 for different values of _α_ in Appendix E.4). Therefore, there exists an optimal value _γ[∗]_ which maximizes such alignments and which we need to **jointly tune** in order to recover
|
| 225 |
+
|
| 226 |
+
7
|
| 227 |
+
|
| 228 |
+
the signal components efficiently, given a **single** realization of the spiked random tensor _T_ 1. To this end, we motivate our algorithmic choices in the following procedure
|
| 229 |
+
|
| 230 |
+
- First we perform a standard orthogonalized tensor deflation with _γ_ = 1 which corresponds to the steps 1 and 2 of Algorithm 2.
|
| 231 |
+
|
| 232 |
+
- Then we estimate the underlying model parameters, i.e., _β_ 1 _, β_ 2, and _α_ as we discussed in Appendix E.2. This corresponds to steps 3 and 4 of Algorithm 2.
|
| 233 |
+
|
| 234 |
+
- In order to find the optimal parameter _γ[∗]_ which maximizes the alignment _ρ_ ˆ22 for instance. We update _γ_ as _γ ← γ − ϵ_ for some small step size _ϵ >_ 0 and starting from _γ_ = 1, while ˆ
|
| 235 |
+
|
| 236 |
+
- solving the system of equations (13) to get an estimate of _ρ_ 22. We stop updating _γ_ when ˆ
|
| 237 |
+
|
| 238 |
+
- the maximum value of _ρ_ 22 is reached and we return the corresponding maximizer _γ[∗]_ . Note that at each iteration, the system (equation 13) is solved numerically and initialized with the previous iteration estimates. This corresponds to steps 5-12 in Algorithm 2.
|
| 239 |
+
|
| 240 |
+
- Then, we perform orthogonalized deflation with _γ[∗]_ along the modes 1 and 2, which provides a better estimation of the signal component denoted as _λ_[ˆ] 2 _u_ ˆ _[∗]_ 2 _[⊗][v]_[ˆ] 2 _[∗][⊗][w]_[ˆ] 2 _[∗]_[.][This corresponds] to steps 13 and 14 of Algorithm 2.
|
| 241 |
+
|
| 242 |
+
- Finally, in step 15 of Algorithm 2, we re-estimate the first signal component by performing a ˆ
|
| 243 |
+
|
| 244 |
+
- best rank-1 approximation of _T_ 1 _−_ min _{β_[ˆ] 1 _, β_[ˆ] 2 _}u[∗]_ 2 _[⊗][v]_[ˆ] 2 _[∗][⊗][w]_[ˆ] 2 _[∗]_[with] _[β]_[ˆ][1] _[,][β]_[ˆ][2][being the estimated] SNRs from step 4 of Algorithm 2.
|
| 245 |
+
|
| 246 |
+
Given the space constraints, we present the full _γ_ -orthogonalized tensor deflation algorithm pseudocode in Algorithm 2.
|
| 247 |
+
|
| 248 |
+
## 4 EXPERIMENTAL SETUP & EVALUATION
|
| 249 |
+
|
| 250 |
+
In the following, we list a few representative experiments. In addition, we provide a detailed set of supplementary experiments in Appendix E.
|
| 251 |
+
|
| 252 |
+
**Experimental Setup.** We operate in the synthetic setting, where we randomly generate a low-rank spiked tensor model (as in 2.1) starting from a single tensor component sampled from a Gaussian distribution (we provide more details and a code sample in E.1). We evaluate our proposed algorithm’s recovery quality on the algorithmic performance (final deflation alignments & single-realization estimation quality of the model parameters), on estimation robustness compared to state-of-the-art (averaging over multiple instances, variance statistics) and how well our developed theory corresponds to the performance in practice.
|
| 253 |
+
|
| 254 |
+
**==> picture [313 x 183] intentionally omitted <==**
|
| 255 |
+
|
| 256 |
+
**----- Start of picture text -----**<br>
|
| 257 |
+
4 1 ˆ<br>θ 21<br>3 λ ˆ2 θ ˆ22<br>λ 2 0 . 5 θ 21<br>β 1 = β 2 θ 22<br>2<br>α = 0 . 5<br>0<br>0 5 10 15 0 5 10 15<br>1 1 κ ˆ<br>0 . 5 ρρ ˆˆ2122 0 . 5 ηκ ˆ<br>ρ 21 η<br>ρ 22 α = 0 . 5<br>α = 0 . 5<br>0 0<br>0 5 10 15 0 5 10 15<br>β 1 β 1<br>**----- End of picture text -----**<br>
|
| 258 |
+
|
| 259 |
+
Figure 4: **Simulated** vs **theoretical** asymptotic singular value and alignments corresponding to the second deflation step as per Theorem 4. We considered _β_ 2 = 5, _α_ = 0 _._ 5, _p_ = 100, _γ_ = 0 _._ 8 and varying _β_ 1 _∈_ [0 _,_ 15]. The system of equations (13) is solved numerically and initialized with the simulated singular value and alignments (dotted curves) from a single realization of _T_ 1.
|
| 260 |
+
|
| 261 |
+
8
|
| 262 |
+
|
| 263 |
+
**Simulated vs Theoretical Singular Value and Alignments.** Figure 4 depicts the simulated singular value and alignments between the different signal components at the second deflation step along with their theoretical asymptotic counterparts as given by Theorem 4. We observe that our developed theory accurately describes the expected behavior and thereby offers strong theoretical guarantees on the performance of our proposed algorithm. On an important note, we further stress out that for a fixed (large enough) _β_ 2 and _α ̸_ = 1, there exists a threshold for _β_ 1 below which it is informationtheoretically impossible to recover the second signal component. This behavior is already visible from Figure 4 for _β_ 1 _≈_ 2, below which all the alignments are asymptotically zero and the asymptotic singular value converges to the right edge of the distribution _ν_ . This exactly corresponds to the scenario where Assumption 3.4 is not verified.
|
| 264 |
+
|
| 265 |
+
Orth. Deflation ( _γ_ = 1) _γ_ -Orth. Deflation
|
| 266 |
+
|
| 267 |
+
**==> picture [391 x 221] intentionally omitted <==**
|
| 268 |
+
|
| 269 |
+
**----- Start of picture text -----**<br>
|
| 270 |
+
1 1<br>y = x y = x<br>ρ ˆ11 ρ ˆ11<br>0 . 5 ρ ˆ12 0 . 5 ρ ˆ12<br>ρ ˆ22 ρ ˆ22<br>ρ ˆ21 ρ ˆ21<br>0 0<br>0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5 0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5<br>1 1<br>0 . 98<br>0 . 96 0 . 5<br>γ -Orthogonalized ( Ours )<br>0 . 94 CP<br>Tucker<br>0 . 92<br>0<br>0 . 2 0 . 3 0 . 4 0 . 5 0 . 6 0 . 2 0 . 3 0 . 4 0 . 5 0 . 6<br>α α<br>**----- End of picture text -----**<br>
|
| 271 |
+
|
| 272 |
+
Figure 5: **(Top): Alignments of first and second deflation steps** in function of _α_ . ( **Top Left** ) Performance of standard orthogonalized deflation ( _γ_ = 1) and ( **Top Right** ) of the _γ_ -orthogonalized deflation procedure, as per Algorithm 2. (Averaged over) 200 realizations of _T_ 1: _β_ 1 = 6, _β_ 2 = 5 _._ 7 and _p_ = 150. **(Bottom) Alignment at convergence** in function of inter-component correlation _α_ . **(Bottom Left)** Alignments on mode 1 projections, **(Bottom Right)** Alignments on modes 2 and 3 (equal by virtue of 5). (Averaged over) 200 realizations of _T_ 1: _β_ 1 = 10, _β_ 2 = 8 and _p_ = 150.
|
| 273 |
+
|
| 274 |
+
**Benchmarks.** Figure 5 showcases a two-level benchmarking. Figures on **(Top)** compare the performances of the standard orthogonalized deflation ( _γ_ = 1) **(Top Left)** and our proposed _γ_ - orthogonalized version **(Top Right)** , while varying the signal correlation parameter _α_ . This allows us to measure the effect of correlation in orthogonalized deflation procedures and corresponds exactly to our considered setting and applications. As theoretically anticipated, we observe a clear advantage of our proposed approach with estimated alignments _ρ_ ˆ11 and _ρ_ ˆ22 very close to 1, thus accurately estimating the different signal components at different levels of correlation _α_ . For its vanilla orthogonalized deflation counterpart, in addition to decaying alignments _ρ_ ˆ11 and _ρ_ ˆ22 (e.g., ˆ _α ≥_ 0 _._ 3), we also observe a value close to 1 of _ρ_ 12 thus showing a high level of correlation between the estimation of different signal components at the first deflation step. On the **(Bottom)** part, we compare the alignments for mode 1 **(Bottom Left)** and modes 2, 3 (equal by virtue of 5) **(Bottom Right)** of our proposed algorithm to prevalent state-of-the-art spectral tensor decomposition algorithms, namely CANDECOMP/PARAFAC (CP) and Tucker. We see a very clear advantage of the _γ_ -orthogonalized approach, as the other approaches collapse for higher correlation levels.
|
| 275 |
+
|
| 276 |
+
## 5 PERSPECTIVE
|
| 277 |
+
|
| 278 |
+
We address some of the limitations of our work and elaborate on potential promising directions, including **Extension to Higher Ranks & Orders, Evaluation on Real-World Data** and **Other Theoretical Considerations** . We treat these directions in depth in Appendix G.
|
| 279 |
+
|
| 280 |
+
9
|
| 281 |
+
|
| 282 |
+
## REFERENCES
|
| 283 |
+
|
| 284 |
+
- Alekh Agarwal, Sham Kakade, Akshay Krishnamurthy, and Wen Sun. Flambe: Structural complexity and representation learning of low rank mdps. _Advances in neural information processing systems_ , 33:20095–20107, 2020.
|
| 285 |
+
|
| 286 |
+
- Anima Anandkumar, Daniel J Hsu, Majid Janzamin, and Sham M Kakade. When are overcomplete topic models identifiable? uniqueness of tensor tucker decompositions with structured sparsity. _Advances in neural information processing systems_ , 26, 2013.
|
| 287 |
+
|
| 288 |
+
- Animashree Anandkumar, Rong Ge, Daniel Hsu, Sham M Kakade, and Matus Telgarsky. Tensor decompositions for learning latent variable models. _Journal of machine learning research_ , 15: 2773–2832, 2014.
|
| 289 |
+
|
| 290 |
+
- Arnab Auddy and Ming Yuan. On estimating rank-one spiked tensors in the presence of heavy tailed errors. _IEEE Transactions on Information Theory_ , 2022.
|
| 291 |
+
|
| 292 |
+
- Gérard Ben Arous, Daniel Zhengyu Huang, and Jiaoyang Huang. Long random matrices and tensor unfolding. _arXiv preprint arXiv:2110.10210_ , 2021.
|
| 293 |
+
|
| 294 |
+
- Florent Benaych-Georges, Alice Guionnet, and Mylène Maida. Fluctuations of the extreme eigenvalues of finite rank deformations of random matrices. _Electronic Journal of Probability_ , 16: 1621–1662, 2011.
|
| 295 |
+
|
| 296 |
+
Wei-Kuo Chen, Madeline Handschy, and Gilad Lerman. Phase transition in random tensors with multiple independent spikes. _The Annals of Applied Probability_ , 31(4):1868–1913, 2021.
|
| 297 |
+
|
| 298 |
+
Dehua Cheng, Xinran He, and Yan Liu. Model selection for topic models via spectral decomposition. In _Artificial Intelligence and Statistics_ , pp. 183–191. PMLR, 2015.
|
| 299 |
+
|
| 300 |
+
- Alex P da Silva, Pierre Comon, and André LF de Almeida. An iterative deflation algorithm for exact cp tensor decomposition. In _2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)_ , pp. 3961–3965. IEEE, 2015a.
|
| 301 |
+
|
| 302 |
+
- Alex Pereira da Silva, Pierre Comon, and Andre Lima Ferrer de Almeida. Rank-1 tensor approximation methods and application to deflation. _arXiv preprint arXiv:1508.05273_ , 2015b.
|
| 303 |
+
|
| 304 |
+
- Alhussein Fawzi, Matej Balog, Aja Huang, Thomas Hubert, Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Francisco J R Ruiz, Julian Schrittwieser, Grzegorz Swirszcz, et al. Discovering faster matrix multiplication algorithms with reinforcement learning. _Nature_ , 610(7930):47–53, 2022.
|
| 305 |
+
|
| 306 |
+
- José Henrique de Morais Goulart, Romain Couillet, and Pierre Comon. A random matrix perspective on random tensors. _arXiv preprint arXiv:2108.00774_ , 2021.
|
| 307 |
+
|
| 308 |
+
- Walid Hachem, Philippe Loubaton, and Jamal Najim. Deterministic equivalents for certain functionals of large random matrices. _The Annals of Applied Probability_ , 17(3):875–930, 2007.
|
| 309 |
+
|
| 310 |
+
- Christopher J Hillar and Lek-Heng Lim. Most tensor problems are NP-hard. _Journal of the ACM (JACM)_ , 60(6):1–39, 2013.
|
| 311 |
+
|
| 312 |
+
- Jiaoyang Huang, Daniel Z Huang, Qing Yang, and Guang Cheng. Power iteration for tensor pca. _Journal of Machine Learning Research_ , 23(128):1–47, 2022.
|
| 313 |
+
|
| 314 |
+
- Aukosh Jagannath, Patrick Lopatto, and Leo Miolane. Statistical thresholds for tensor PCA. _The Annals of Applied Probability_ , 30(4):1910–1933, 2020.
|
| 315 |
+
|
| 316 |
+
- Rodolphe Jenatton, Nicolas Roux, Antoine Bordes, and Guillaume R Obozinski. A latent factor model for highly multi-relational data. _Advances in neural information processing systems_ , 25, 2012.
|
| 317 |
+
|
| 318 |
+
- Thibault Lesieur, Léo Miolane, Marc Lelarge, Florent Krzakala, and Lenka Zdeborová. Statistical and computational phase transitions in spiked tensor estimation. In _2017 IEEE International Symposium on Information Theory (ISIT)_ , pp. 511–515. IEEE, 2017.
|
| 319 |
+
|
| 320 |
+
10
|
| 321 |
+
|
| 322 |
+
- Lek-Heng Lim. Singular values and eigenvalues of tensors: a variational approach. In _Proc. IEEE International Workshop on Computational Advances in Multi-Sensor Adaptive Processing (CAMSAP)_ , pp. 129–132, 2005.
|
| 323 |
+
|
| 324 |
+
- Lek-Heng Lim and Pierre Comon. Multiarray signal processing: Tensor decomposition meets compressed sensing. _Comptes Rendus Mecanique_ , 338(6):311–320, 2010.
|
| 325 |
+
|
| 326 |
+
- Cosme Louart and Romain Couillet. Concentration of measure and large random matrices with an application to sample covariance matrices. _arXiv preprint arXiv:1805.08295_ , 2018.
|
| 327 |
+
|
| 328 |
+
- Lester Mackey. Deflation methods for sparse pca. _Advances in neural information processing systems_ , 21, 2008.
|
| 329 |
+
|
| 330 |
+
- Rolf Matzner and Ferdinand Englberger. An snr estimation algorithm using fourth-order moments. In _Proceedings of 1994 IEEE international symposium on information theory_ , pp. 119. IEEE, 1994.
|
| 331 |
+
|
| 332 |
+
- Aaron Meurer, Christopher P Smith, Mateusz Paprocki, Ondˇrej Certík, Sergey B Kirpichev, Matthew[ˇ] Rocklin, AMiT Kumar, Sergiu Ivanov, Jason K Moore, Sartaj Singh, et al. Sympy: symbolic computing in python. _PeerJ Computer Science_ , 3:e103, 2017.
|
| 333 |
+
|
| 334 |
+
- Chengzhuo Ni, Anru R Zhang, Yaqi Duan, and Mengdi Wang. Learning good state and action representations via tensor decomposition. In _2021 IEEE International Symposium on Information Theory (ISIT)_ , pp. 1682–1687. IEEE, 2021.
|
| 335 |
+
|
| 336 |
+
- Maximilian Nickel, Volker Tresp, Hans-Peter Kriegel, et al. A three-way model for collective learning on multi-relational data. In _Icml_ , volume 11, pp. 3104482–3104584, 2011.
|
| 337 |
+
|
| 338 |
+
- David R Pauluzzi and Norman C Beaulieu. A comparison of snr estimation techniques for the awgn channel. _IEEE Transactions on communications_ , 48(10):1681–1691, 2000.
|
| 339 |
+
|
| 340 |
+
- Amelia Perry, Alexander S Wein, and Afonso S Bandeira. Statistical limits of spiked tensor models. In _Annales de l’Institut Henri Poincaré, Probabilités et Statistiques_ , volume 56, pp. 230–264. Institut Henri Poincaré, 2020.
|
| 341 |
+
|
| 342 |
+
- Stephan Rabanser, Oleksandr Shchur, and Stephan Günnemann. Introduction to tensor decompositions and their applications in machine learning. _arXiv preprint arXiv:1711.10781_ , 2017.
|
| 343 |
+
|
| 344 |
+
- Emile Richard and Andrea Montanari. A statistical model for tensor PCA. _Advances in neural information processing systems_ , 27, 2014.
|
| 345 |
+
|
| 346 |
+
- Sergio Rozada and Antonio G Marques. Tensor and matrix low-rank value-function approximation in reinforcement learning. _arXiv preprint arXiv:2201.09736_ , 2022.
|
| 347 |
+
|
| 348 |
+
- Mohamed El Amine Seddik, Maxime Guillaud, and Romain Couillet. When random tensors meet random matrices. _arXiv preprint arXiv:2112.12348_ , 2021.
|
| 349 |
+
|
| 350 |
+
- Mohamed El Amine Seddik, Maxime Guillaud, and Alexis Decurninge. On the accuracy of hotellingtype tensor deflation: A random tensor analysis. _arXiv preprint arXiv:2211.09004_ , 2022.
|
| 351 |
+
|
| 352 |
+
- Mohamed El Amine Seddik, Maxime Guillaud, Alexis Decurninge, and José Henrique de Morais Goulart. On the accuracy of hotelling-type asymmetric tensor deflation: A random tensor analysis. _arXiv preprint arXiv:2310.18717_ , 2023.
|
| 353 |
+
|
| 354 |
+
- Nicholas D Sidiropoulos and Anastasios Kyrillidis. Multi-way compressed sensing for sparse low-rank tensors. _IEEE Signal Processing Letters_ , 19(11):757–760, 2012.
|
| 355 |
+
|
| 356 |
+
- Nicholas D Sidiropoulos, Lieven De Lathauwer, Xiao Fu, Kejun Huang, Evangelos E Papalexakis, and Christos Faloutsos. Tensor decomposition for signal processing and machine learning. _IEEE Transactions on Signal Processing_ , 65(13):3551–3582, 2017.
|
| 357 |
+
|
| 358 |
+
- Jack W Silverstein and ZD Bai. On the empirical distribution of eigenvalues of a class of large dimensional random matrices. _Journal of Multivariate analysis_ , 54(2):175–192, 1995.
|
| 359 |
+
|
| 360 |
+
- Alwin Stegeman and Pierre Comon. Subtracting a best rank-1 approximation may increase tensor rank. _Linear Algebra and its Applications_ , 433(7):1276–1300, 2010.
|
| 361 |
+
|
| 362 |
+
11
|
| 363 |
+
|
| 364 |
+
Charles M Stein. Estimation of the mean of a multivariate normal distribution. _The annals of Statistics_ , pp. 1135–1151, 1981.
|
| 365 |
+
|
| 366 |
+
- Volker Strassen. Rank and optimal computation of generic tensors. _Linear algebra and its applications_ , 52:645–685, 1983.
|
| 367 |
+
|
| 368 |
+
- Suhadi Suhadi, Carsten Last, and Tim Fingscheidt. A data-driven approach to a priori snr estimation. _IEEE transactions on audio, speech, and language processing_ , 19(1):186–195, 2010.
|
| 369 |
+
|
| 370 |
+
Terence Tao. _Topics in random matrix theory_ , volume 132. American Mathematical Soc., 2012.
|
| 371 |
+
|
| 372 |
+
- Aad W Van Der Vaart and Jon A Wellner. Weak convergence. In _Weak convergence and empirical processes_ , pp. 16–28. Springer, 1996.
|
| 373 |
+
|
| 374 |
+
- Ami Wiesel, Jason Goldberg, and Hagit Messer-Yaron. Snr estimation in time-varying fading channels. _IEEE Transactions on Communications_ , 54(5):841–848, 2006.
|
| 375 |
+
|
| 376 |
+
- Shuyuan Yang, Min Wang, Peng Li, Li Jin, Bin Wu, and Licheng Jiao. Compressive hyperspectral imaging via sparse tensor and nonlinear compressed sensing. _IEEE Transactions on Geoscience and Remote Sensing_ , 53(11):5943–5957, 2015.
|
| 377 |
+
|
| 378 |
+
- Ali Zare, Alp Ozdemir, Mark A Iwen, and Selin Aviyente. Extension of pca to higher order data structures: An introduction to tensors, tensor decompositions, and tensor pca. _Proceedings of the IEEE_ , 106(8):1341–1358, 2018.
|
| 379 |
+
|
| 380 |
+
12
|
| 381 |
+
|
| 382 |
+
## **Appendix**
|
| 383 |
+
|
| 384 |
+
## **Table of Contents**
|
| 385 |
+
|
| 386 |
+
|**le**|**of Contents**||
|
| 387 |
+
|---|---|---|
|
| 388 |
+
|**A **|**Related Work**|**14**|
|
| 389 |
+
|**B **|**A Review of Random Matrix/Tensor Theory**|**14**|
|
| 390 |
+
||B.1<br>Tensor Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|14|
|
| 391 |
+
||B.2<br>Random Matrix Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|15|
|
| 392 |
+
|**C **|**Key Lemmas**|**16**|
|
| 393 |
+
|**D **|**Proofs of the main results**|**16**|
|
| 394 |
+
||D.1<br>First defation step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|16|
|
| 395 |
+
||D.2<br>Second defation step<br>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|18|
|
| 396 |
+
|**E**|**Experimental Setup & Supplementary Simulations**|**24**|
|
| 397 |
+
||E.1<br>Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|24|
|
| 398 |
+
||E.2<br>Joint Estimation of Model Parameters . . . . . . . . . . . . . . . . . . . . . . .|24|
|
| 399 |
+
||E.3<br>Simulated and Asymptotic Alignments at First Defation Step<br>. . . . . . . . . .|26|
|
| 400 |
+
||E.4<br>Concavity of Alignments in_γ_ . . . . . . . . . . . . . . . . . . . . . . . . . . .|26|
|
| 401 |
+
|**F**|**Algorithms**|**27**|
|
| 402 |
+
|**G **|**Addressing Limitations & Future Work**|**28**|
|
| 403 |
+
|
| 404 |
+
13
|
| 405 |
+
|
| 406 |
+
## A RELATED WORK
|
| 407 |
+
|
| 408 |
+
As a first step towards understanding the behavior of tensor methods, Richard & Montanari (2014) introduced the concept of tensor PCA by studying the so-called _spiked tensor model_ of the form _βx[⊗][d]_ + _W/[√] p_ where _x ∈_ R _[p]_ is a high-dimensional vector of the unit norm which represents the (rank-1) signal of interest, _W_ is a symmetric Gaussian random noise tensor of order _d_ , and _β ≥_ 0 is a parameter controlling the signal strength. This statistical model raises many fundamental questions which mainly concern the theoretical and algorithmic guarantees that ensure the efficient recovery of the hidden signal _x_ .
|
| 409 |
+
|
| 410 |
+
A volume of works focused on addressing these questions (Perry et al., 2020; Lesieur et al., 2017; Jagannath et al., 2020; Chen et al., 2021; Goulart et al., 2021; Auddy & Yuan, 2022; Ben Arous et al., 2021). The first main result was for tensors of order _d ≥_ 3, for which it was shown that there exists a statistical threshold _βstat_ of _O_ (1) in the tensor dimension, which defines the information-theoretic limit above which signal recovery is possible, with the maximum likelihood estimator (MLE), and below which signal recovery is impossible.
|
| 411 |
+
|
| 412 |
+
While recovery above _βstat_ is theoretically possible from an information-theoretic standpoint, solving the underlying MLE problem remains NP-hard in the worst case (Hillar & Lim, 2013). Indeed, Richard & Montanari (2014) suggest through heuristics that there exists an algorithmic threshold _d−_ 2 _βalgo_ = _O_ ( _p_ 4 ) beyond which recovery is possible with a polynomial time algorithm, therefore implying the existence of a theoretical-algorithmic spectral gap where no polynomial time algorithm has been proven to be efficient in signal recovery. These suggestions were rigorously proven (Lesieur et al., 2017; Jagannath et al., 2020; Chen et al., 2021; Huang et al., 2022) and generalized to non-symmetric tensors (Ben Arous et al., 2021; Seddik et al., 2021; Auddy & Yuan, 2022). From a practical standpoint, to be able to unleash the full potential of tensor methods, higher low-rank (beyond rank-1) signal reconstruction problems need to be considered, thus motivating the study of _low-rank spiked tensor models_ . In particular, and in a more realistic scenario, one would be interested in extracting low-rank hidden structure from random noise, for which the model can naturally be extended to[�] _[r] i_ =1 _[β][i][x] i[⊗][d]_ + _W/[√] p_ where _r_ is the rank of the signal of interest. In this line of work, Chen et al. (2021) prove that the asymptotic behavior of a low-rank spiked tensor model with orthogonal signal components, i.e., _⟨xi, xj⟩_ = 0 for _i_ = _j ∈_ [ _r_ ], can be understood from the analysis of a rank-1 model. Moreover, da Silva et al. (2015b;a) show that estimating a higher rank signal boils down to performing successive rank-1 approximations using iterative _tensor deflation_ . While the latter result provides a more tractable approach to low-rank signal recovery in the orthogonal case, it proves to be inefficient (in general) in signal reconstruction in the non-orthogonal case (Seddik et al., 2022).
|
| 413 |
+
|
| 414 |
+
Other enhanced deflation techniques rely on orthogonal projections (Mackey, 2008) while exhibiting the same behavior as the standard deflation in the non-orthogonal case, as illustrated in Figure 1. The latter depicts signal recovery, as measured by alignments of the recovered signal with the hidden low-rank signal, from a simple noiseless rank-two tensor[�][2] _i_ =1 _[β][i][x] i[⊗]_[3] using orthogonalized deflation (Mackey, 2008). We clearly observe that when _β_ 1 _≈ β_ 2, the non-orthogonality of _x_ 1 and _x_ 2 prevents efficient recovery. We highlight the fact that measuring alignments is a concrete performance measure of recovery quality, as mentioned in 2.1.
|
| 415 |
+
|
| 416 |
+
## B A REVIEW OF RANDOM MATRIX/TENSOR THEORY
|
| 417 |
+
|
| 418 |
+
We aim to provide a self-contained review of some key results of random matrix/tensor theory (RMT/RTT) in the following.
|
| 419 |
+
|
| 420 |
+
## B.1 TENSOR CONCEPTS
|
| 421 |
+
|
| 422 |
+
**3-order tensors.** The set of 3-order tensors of mode dimension _d_ is denoted R _[d][×][d][×][d]_ . The scalar _Tijk_ or [ _T_ ] _ijk_ denotes the ( _i, j, k_ )’th entry of a tensor _T ∈_ R _[d][×][d][×][d]_ . In the remainder, we will mainly consider tensors from R _[d][×][d][×][d]_ , and for brevity, we may omit the notation _T ∈_ R _[d][×][d][×][d]_ unless specified otherwise.
|
| 423 |
+
|
| 424 |
+
**Rank-** _r_ **tensors.** A tensor _T_ is said to be of rank-1 if it can be represented as the outer product of three real-valued vectors _x, y, z ∈_ R _[d]_ . In this case, we write _T_ = _x ⊗ y ⊗ z_ , where the outer product is defined as [ _x ⊗ y ⊗ z_ ] _ijk_ = _xiyjzk_ . More generally, a tensor _T_ is said to be of rank- _r_ , for some integer _r_ , if it can be expressed as the sum of _r_ rank-1 terms, written as _T_ =[�] _[r] i_ =1 _[x][i][ ⊗][y][i][ ⊗][z][i]_[,]
|
| 425 |
+
|
| 426 |
+
14
|
| 427 |
+
|
| 428 |
+
where _xi, yi, zi ∈_ R _[d]_ for all _i ∈_ [ _r_ ]. To maintain consistency, we will adhere to the convention of using _xi_ or _ui_ to represent the components of the first mode, _yi_ or _vi_ to represent the components of the second mode, and _zi_ or _wi_ to represent the components of the third mode throughout the paper.
|
| 429 |
+
|
| 430 |
+
**Tensor contractions.** The first mode contraction of a tensor _T_ with a vector _x_ results in a matrix denoted _T_ ( _x, ·, ·_ ) with entries [ _T_ ( _x, ·, ·_ )] _jk_ =[�] _[d] i_ =1 _[x][i][T][ijk]_[. Similarly,] _[ T]_[ (] _[·][, y,][ ·]_[)][ and] _[ T]_[ (] _[·][,][ ·][, z]_[)][ denote] the second and third mode contractions of _T_ with vectors _y_ and _z_ respectively. We will sometimes denote these contractions by _T_ ( _x_ ), _T_ ( _y_ ), and _T_ ( _z_ ) if there is no ambiguity. The contraction of _T_ on two vectors _x, y_ is a vector denoted _T_ ( _x, y, ·_ ) with entries [ _T_ ( _x, y, ·_ )] _k_ =[�] _ij[x][i][y][j][T][ijk]_[.][The] contraction of _T_ on three vectors _x, y, z_ is a scalar denoted _T_ ( _x, y, z_ ) =[�] _ijk[x][i][y][j][z][k][T][ijk]_[.][The] first mode contraction of _T_ with a matrix _**M** ∈_ R _[d][×][d]_ results in a tensor denoted _T ×_ 1 _**M**_ with entries [ _T ×_ 1 _**M**_ ] _ijk_ =[�] _[d] i[′]_ =1 _[M][ii][′][T][i][′][jk]_[.][Similarly,] _[ T][×]_[2] _**[ N]**_[and] _[ T][×]_[3] _**[ P]**_[denote the second and] third modes tensor-matrix contractions of the tensor _T_ with the matrices _**N**_ and _**P**_ respectively. The notation _u ⊗_ _**M**_ stands for the tensor with entries _uiMjk_ .
|
| 431 |
+
|
| 432 |
+
**Tensor norms.** The Frobenius norm of a tensor _T_ is denoted _∥T ∥F_ with _∥T ∥_[2] _F_[=][ �] _ijk[T]_[ 2] _ijk_[.][The] spectral norm of _T_ is _∥T ∥_ = sup _u,v,w∈_ S _d−_ 1 _|T_ ( _u, v, w_ ) _|_ .
|
| 433 |
+
|
| 434 |
+
**Spectral Normalization.** We highlight that the normalization of the noise tensor, i.e _W_ in equation 1, by the sum of mode dimension, i.e _n_ in equation 1, ensures that the spectral norm of _T_ is of _O_ (1) with respect to mode dimensions _pi_ . This follows from a standard concentration result (Seddik et al. (2021), Lemma 4).
|
| 435 |
+
|
| 436 |
+
**Best rank-1 approximation and tensor power iteration.** A best rank-1 approximation of _T_ corresponds to a rank-1 tensor _λu ⊗ v ⊗ w_ , where _λ >_ 0 and _u, v, w_ are unitary vectors, that minimizes the square loss _∥T − λu ⊗ v ⊗ w∥_[2] _F_[.][The latter generalizes to tensors the concept of] singular value and vectors (Lim, 2005) and the scalar _λ_ coincides with the spectral norm of _T_ . In particular, the quadruple ( _λ, u, v, w_ ) satisfies the following identities
|
| 437 |
+
|
| 438 |
+
**==> picture [282 x 25] intentionally omitted <==**
|
| 439 |
+
|
| 440 |
+
Such a best rank-1 approximation can be computed via _tensor power iteration_ which consists in iterating
|
| 441 |
+
|
| 442 |
+
**==> picture [227 x 25] intentionally omitted <==**
|
| 443 |
+
|
| 444 |
+
starting from some initialization (Anandkumar et al., 2014).
|
| 445 |
+
|
| 446 |
+
B.2 RANDOM MATRIX THEORY
|
| 447 |
+
|
| 448 |
+
**Resolvent.** Specifically, we will consider the _resolvent_ formalism Hachem et al. (2007), which allows to characterize the spectral behavior of large symmetric random matrices. Given a symmetric matrix _**S** ∈_ R _[n][×][n]_ , the resolvent of _**S**_ is defined as _**R**_ ( _z_ ) = ( _**S** − z_ _**I** n_ ) _[−]_[1] for _z ∈_ C _\_ Sp( _**S**_ ), where Sp( _**S**_ ) denotes the spectrum of matrix _**S**_ .
|
| 449 |
+
|
| 450 |
+
**Motivation.** In essence, RMT focuses on describing the distribution of eigenvalues of large random matrices. Typically, under certain technical assumptions on some random matrix _**S** ∈_ R _[n][×][n]_ with ˆ _n_ eigenvalues _λ_ 1 _, . . . , λn_ , the _empirical spectral measure_ of _**S**_ , defined as _µ_ = _n_[1] � _i_ =1 _[δ][λ][i]_[, converges] in the weak sense Van Der Vaart & Wellner (1996) to some deterministic probability measure _µ_ as _n →∞_ and RMT aims at describing such _µ_ . To this end, one of the widely considered approaches relies on the _Stieltjes transform_ Tao (2012).
|
| 451 |
+
|
| 452 |
+
**Stieltjes Transform.** Given a probability measure _µ_ , the Stieltjes transform of _µ_ is defined as _dµ_ ( _λ_ ) _gµ_ ( _z_ ) = � _λ−z_[with] _[ z][∈]_[C] _[ \]_[ Supp][(] _[µ]_[)][, and the inverse formula allows one to describe the density] function of _µ_ as _µ_ ( _dx_ ) = _π_[1][lim] _[ε][→]_[0] _[ ℑ]_[[] _[g][µ]_[(] _[x]_[ +] _[ iε]_[)]][.]
|
| 453 |
+
|
| 454 |
+
**Relating the Stieltjes Transform & the Resolvent.** The Stieltjes transform of the empirical spectral measure, _µ_ ˆ, is closely related to the resolvent of _**S**_ through the normalized trace operator. In fact, _gµ_ ˆ( _z_ ) = _n_[1][tr] _**[ R]**_[(] _[z]_[)][ and the] _[ almost sure]_[ convergence of] _[ g][µ]_[ˆ][(] _[z]_[)][ to some deterministic Stieltjes]
|
| 455 |
+
|
| 456 |
+
15
|
| 457 |
+
|
| 458 |
+
transform _g_ ( _z_ ) is equivalent to the weak convergence between the underlying probability measures Tao (2012). Our analysis relies on estimating quantities involving _n_[1][tr] _**[ R]**_[(] _[z]_[)][, making the use of the] resolvent approach a natural choice.
|
| 459 |
+
|
| 460 |
+
## C KEY LEMMAS
|
| 461 |
+
|
| 462 |
+
In this section, we recall some key lemmas that are at the heart of our analysis.
|
| 463 |
+
|
| 464 |
+
**Lemma C.1** (Woodbury Matrix Identity) **.** _Let_ _**A** ∈_ R _[n][×][n] ,_ _**B** ∈_ R _[r][×][r] ,_ _**U** ∈_ R _[n][×][r] and_ _**V** ∈_ R _[r][×][n] , we have_
|
| 465 |
+
|
| 466 |
+
**==> picture [262 x 15] intentionally omitted <==**
|
| 467 |
+
|
| 468 |
+
The following perturbation lemma is wildly used in RMT. Basically, it states that the normalized trace operator is invariant through low-rank perturbations in high dimension. The notation _a_ = _On_ ( _bn_ ) means that _a_ is of order _O_ ( _bn_ ) as _n →∞_ .
|
| 469 |
+
|
| 470 |
+
**Lemma C.2** (Perturbation Lemma, (Silverstein & Bai, 1995)) **.** _Let_ _**M** ∈_ R _[n][×][n] and_ _**P** ∈_ R _[n][×][n] such that ∥_ _**M** ∥_ = _On_ (1) _, ∥_ _**P** ∥_ = _On_ (1) _and_ rank( _**P**_ ) = _On_ (1) _. For all z ∈_ C _\_ Sp( _**M**_ + _**P**_ ) _, we have_
|
| 471 |
+
|
| 472 |
+
**==> picture [241 x 21] intentionally omitted <==**
|
| 473 |
+
|
| 474 |
+
_Proof._ Simple consequence of the Woodbury identity from Lemma C.1 applied to the matrix _**M**_ + _**P**_ .
|
| 475 |
+
|
| 476 |
+
Our analysis will particularly rely on computing expectations which we drive through the classical Stein’s Lemma.
|
| 477 |
+
|
| 478 |
+
**Lemma C.3** (Stein’s Lemma, Stein (1981)) **.** _Let W ∼N_ (0 _, σ_[2] ) _and f some continuously differentiable function having at most polynomial growth, then_
|
| 479 |
+
|
| 480 |
+
**==> picture [116 x 12] intentionally omitted <==**
|
| 481 |
+
|
| 482 |
+
_when the above expectations exist._
|
| 483 |
+
|
| 484 |
+
## D PROOFS OF THE MAIN RESULTS
|
| 485 |
+
|
| 486 |
+
We recall our considered spiked tensor model as follows
|
| 487 |
+
|
| 488 |
+
**==> picture [323 x 30] intentionally omitted <==**
|
| 489 |
+
|
| 490 |
+
where _∥xi∥_ = _∥yi∥_ = _∥zi∥_ = 1, _βi ≥_ 0, _n_ = 3 _p_ and _Wijk ∼N_ (0 _,_ 1). In the remainder, if some quantity expresses as _a_ ( _n_ ) =[�] _[r] i_ =1 _[b][i]_[(] _[n]_[)][, the notation] _[ a]_[(] _[n]_[)] _[≃][b][j]_[(] _[n]_[)][ means that] _[ b][j]_[(] _[n]_[)][ is the only] contributing term in the expression of _a_ ( _n_ ) as _n_ goes to infinity.
|
| 491 |
+
|
| 492 |
+
## D.1 FIRST DEFLATION STEP
|
| 493 |
+
|
| 494 |
+
The singular vectors _u_ 1 _, v_ 1 and _w_ 1 of _T_ 1 corresponding to its largest singular value _λ_ 1 satisfy
|
| 495 |
+
|
| 496 |
+
**==> picture [340 x 11] intentionally omitted <==**
|
| 497 |
+
|
| 498 |
+
In the remainder, we will need to compute the derivatives of the singular vectors _u_ 1 _, v_ 1 and _w_ 1 w.r.t.the entries of the noise tensor _W_ . From (Seddik et al., 2021, Appendix B.1), we have
|
| 499 |
+
|
| 500 |
+
**==> picture [389 x 55] intentionally omitted <==**
|
| 501 |
+
|
| 502 |
+
which results from deriving the identities in equation 16 w.r.t.the entry _Wijk_ of the noise tensor _W_ . In particular, as demonstrated in Seddik et al. (2021), the only contributing terms in the quantities we will compute later on will depend only on traces of the resolvent matrix appearing in equation 17.
|
| 503 |
+
|
| 504 |
+
16
|
| 505 |
+
|
| 506 |
+
D.1.1 LIMITING STIELTJES TRANSFORM Since the tensor _T_ 1 is a low-rank perturbation of a random tensor _W_ , by Lemma C.2, the normalized trace of the resolvent in equation 17 is asymptotically equal to the normalized trace of the resolvent of the following random matrix
|
| 507 |
+
|
| 508 |
+
**==> picture [290 x 37] intentionally omitted <==**
|
| 509 |
+
|
| 510 |
+
Let _R_ ( _z_ ) = ( _**N** − z_ _**I** n_ ) _[−]_[1] be the corresponding resolvent. We denote the different sub-blocks of _R_ ( _z_ ) as
|
| 511 |
+
|
| 512 |
+
**==> picture [285 x 37] intentionally omitted <==**
|
| 513 |
+
|
| 514 |
+
It has been shown in (Seddik et al., 2021, Appendix B.2) that
|
| 515 |
+
|
| 516 |
+
**==> picture [327 x 22] intentionally omitted <==**
|
| 517 |
+
|
| 518 |
+
with
|
| 519 |
+
|
| 520 |
+
**==> picture [263 x 38] intentionally omitted <==**
|
| 521 |
+
|
| 522 |
+
D.1.2 ESTIMATION OF THE SINGULAR VALUE **Estimation of** _λ_ 1 **:** From the identities in equation 16, we have
|
| 523 |
+
|
| 524 |
+
and
|
| 525 |
+
|
| 526 |
+
**==> picture [299 x 105] intentionally omitted <==**
|
| 527 |
+
|
| 528 |
+
where the last equality is derived from Stein’s Lemma and the involved derivatives express as
|
| 529 |
+
|
| 530 |
+
**==> picture [393 x 24] intentionally omitted <==**
|
| 531 |
+
|
| 532 |
+
Substituting in the above sum, we get
|
| 533 |
+
|
| 534 |
+
**==> picture [437 x 75] intentionally omitted <==**
|
| 535 |
+
|
| 536 |
+
Therefore, we have
|
| 537 |
+
|
| 538 |
+
**==> picture [256 x 11] intentionally omitted <==**
|
| 539 |
+
|
| 540 |
+
D.1.3 ESTIMATION OF THE ALIGNMENTS **Estimation of** _⟨u_ 1 _, xs⟩_ **:** Again from the first identity in equation 16, we have
|
| 541 |
+
|
| 542 |
+
**==> picture [268 x 23] intentionally omitted <==**
|
| 543 |
+
|
| 544 |
+
17
|
| 545 |
+
|
| 546 |
+
And we have
|
| 547 |
+
|
| 548 |
+
**==> picture [333 x 176] intentionally omitted <==**
|
| 549 |
+
|
| 550 |
+
Therefore, we have
|
| 551 |
+
|
| 552 |
+
Similarly, we get
|
| 553 |
+
|
| 554 |
+
**==> picture [296 x 25] intentionally omitted <==**
|
| 555 |
+
|
| 556 |
+
Finally, with our assumption in equation 2 and since _T_ 1 is cubic, the above equations reduce to the following system of equations describing the first deflation step
|
| 557 |
+
|
| 558 |
+
**==> picture [309 x 38] intentionally omitted <==**
|
| 559 |
+
|
| 560 |
+
where we denoted _fr_ ( _z_ ) = _z_ + _r_ ( _z_ ) and _hr_ ( _z_ ) = _z_ +[2] 3 _[r]_[(] _[z]_[) =] _[ −] r_ (1 _z_ )[.]
|
| 561 |
+
|
| 562 |
+
D.2 SECOND DEFLATION STEP
|
| 563 |
+
|
| 564 |
+
Given _u_ 1 from the first deflation step, we consider now the following random tensor
|
| 565 |
+
|
| 566 |
+
**==> picture [308 x 14] intentionally omitted <==**
|
| 567 |
+
|
| 568 |
+
Again the singular vectors of _T_ 2 satisfy
|
| 569 |
+
|
| 570 |
+
**==> picture [340 x 11] intentionally omitted <==**
|
| 571 |
+
|
| 572 |
+
and we also have
|
| 573 |
+
|
| 574 |
+
**==> picture [389 x 55] intentionally omitted <==**
|
| 575 |
+
|
| 576 |
+
D.2.1 STIELTJES TRANSFORM
|
| 577 |
+
|
| 578 |
+
Again, since _T_ 1 is a low-rank perturbation of a random tensor _W_ , it is easily noticed that
|
| 579 |
+
|
| 580 |
+
**==> picture [182 x 37] intentionally omitted <==**
|
| 581 |
+
|
| 582 |
+
where _**P**_ is some low-rank matrix and _**M**_ is a random matrix given by
|
| 583 |
+
|
| 584 |
+
**==> picture [381 x 36] intentionally omitted <==**
|
| 585 |
+
|
| 586 |
+
18
|
| 587 |
+
|
| 588 |
+
Therefore, by Lemma C.2, the limiting Stieltjes transform corresponding to the analysis of the second deflation step can be computed through the resolvent _Q_ ( _z_ ) = ( _**M** − z_ _**I** n_ ) _[−]_[1] of the random matrix _**M**_ and we denote _κ_ = _⟨u_ 1 _, u_ 2 _⟩_ . We denote the different sub-blocks of _Q_ ( _z_ ) as
|
| 589 |
+
|
| 590 |
+
**==> picture [286 x 37] intentionally omitted <==**
|
| 591 |
+
|
| 592 |
+
Denote
|
| 593 |
+
|
| 594 |
+
**==> picture [311 x 21] intentionally omitted <==**
|
| 595 |
+
|
| 596 |
+
**Estimation of** _n_[1][tr] _[ Q]_[11][(] _[z]_[)] **[:]** From the identity _**M** Q_ ( _z_ ) _− zQ_ ( _z_ ) = _**I** n_ , we have
|
| 597 |
+
|
| 598 |
+
**==> picture [423 x 187] intentionally omitted <==**
|
| 599 |
+
|
| 600 |
+
Therefore
|
| 601 |
+
|
| 602 |
+
where
|
| 603 |
+
|
| 604 |
+
Similarly, we have
|
| 605 |
+
|
| 606 |
+
**==> picture [206 x 27] intentionally omitted <==**
|
| 607 |
+
|
| 608 |
+
Therefore, _q_ 1( _z_ ) = lim _n→∞ n_[1][tr] _[ Q]_[11][(] _[z]_[)][ satisfies the equation]
|
| 609 |
+
|
| 610 |
+
**==> picture [268 x 21] intentionally omitted <==**
|
| 611 |
+
|
| 612 |
+
**Estimation of** _n_[1][tr] _[ Q]_[22][(] _[z]_[)] **[:]** We have
|
| 613 |
+
|
| 614 |
+
**==> picture [445 x 191] intentionally omitted <==**
|
| 615 |
+
|
| 616 |
+
where
|
| 617 |
+
|
| 618 |
+
19
|
| 619 |
+
|
| 620 |
+
**==> picture [438 x 413] intentionally omitted <==**
|
| 621 |
+
|
| 622 |
+
where we used the fact that _∂W∂Qijk_[23] _jk[≃−]_ ~~_√_~~[1] _n_[(] _[u]_[2] _[i][ −][γκu]_[1] _[i]_[)] _[Q]_[22] _jj[Q] kk_[33][.]
|
| 623 |
+
|
| 624 |
+
where
|
| 625 |
+
|
| 626 |
+
with again _∂W∂Qijk_[23] _jk[≃−]_ ~~_√_~~[1] _n_[(] _[u]_[2] _[i][ −][γκu]_[1] _[i]_[)] _[Q]_[22] _jj[Q] kk_[33][.]
|
| 627 |
+
|
| 628 |
+
**==> picture [317 x 21] intentionally omitted <==**
|
| 629 |
+
|
| 630 |
+
Therefore, we have
|
| 631 |
+
|
| 632 |
+
**==> picture [326 x 55] intentionally omitted <==**
|
| 633 |
+
|
| 634 |
+
Moreover, by symmetry in equation 2 and since _T_ 1 is cubic, we have _b_ ( _z_ ) = _q_ 2( _z_ ) = _q_ 3( _z_ ) and we denote _a_ ( _z_ ) = _q_ 1( _z_ ) and _τ_ = _γκ_[2] _−_ 1 + _κ_ ( _γ −_ 1). Hence,
|
| 635 |
+
|
| 636 |
+
**==> picture [278 x 34] intentionally omitted <==**
|
| 637 |
+
|
| 638 |
+
Moreover, _q_ ( _z_ ) = _a_ ( _z_ ) + 2 _b_ ( _z_ ).
|
| 639 |
+
|
| 640 |
+
20
|
| 641 |
+
|
| 642 |
+
D.2.2 ESTIMATION OF THE SINGULAR VALUE **Estimation of** _λ_ 2 **:** We first have
|
| 643 |
+
|
| 644 |
+
**==> picture [393 x 219] intentionally omitted <==**
|
| 645 |
+
|
| 646 |
+
where we have
|
| 647 |
+
|
| 648 |
+
and
|
| 649 |
+
|
| 650 |
+
Again, we have
|
| 651 |
+
|
| 652 |
+
Therefore
|
| 653 |
+
|
| 654 |
+
**==> picture [375 x 93] intentionally omitted <==**
|
| 655 |
+
|
| 656 |
+
Hence, _λ_ 2 satisfies
|
| 657 |
+
|
| 658 |
+
**==> picture [358 x 26] intentionally omitted <==**
|
| 659 |
+
|
| 660 |
+
And by symmetry, from equation 2 and since _T_ 1 is cubic, we have
|
| 661 |
+
|
| 662 |
+
**==> picture [348 x 38] intentionally omitted <==**
|
| 663 |
+
|
| 664 |
+
where we denoted _fq_ ( _z_ ) = _z_ + _q_ ( _z_ ) and
|
| 665 |
+
|
| 666 |
+
_θ_ 2 _i_ = _⟨u_ 2 _, xi⟩, ρ_ 2 _i_ = _⟨v_ 2 _, yi⟩_ = _⟨w_ 2 _, zi⟩, κ_ = _⟨u_ 1 _, u_ 2 _⟩, η_ = _⟨v_ 1 _, v_ 2 _⟩_ = _⟨w_ 1 _, w_ 2 _⟩_
|
| 667 |
+
|
| 668 |
+
D.2.3 ESTIMATION OF THE ALIGNMENTS **Estimation of** _⟨u_ 2 _, xs⟩_ **:** From the identity in equation 27, we have
|
| 669 |
+
|
| 670 |
+
**==> picture [364 x 85] intentionally omitted <==**
|
| 671 |
+
|
| 672 |
+
where
|
| 673 |
+
|
| 674 |
+
21
|
| 675 |
+
|
| 676 |
+
and E � ~~_√_~~ 1 _n[W]_[(] _[u]_[1] _[, v]_[2] _[, w]_[2][)] � was computed previously. We therefore have
|
| 677 |
+
|
| 678 |
+
[ _λ_ 2 + _q_ ( _λ_ 2) _− q_ 1( _λ_ 2)] _⟨xs, u_ 2 _⟩− γ⟨u_ 1 _, xs⟩_ [ _⟨v_ 1 _, v_ 2 _⟩⟨w_ 1 _, w_ 2 _⟩r_ 1( _λ_ 1) + _⟨u_ 1 _, u_ 2 _⟩_ ( _q_ 2( _λ_ 2) + _q_ 3( _λ_ 2))] = _S_ ( _xs, v_ 2 _, w_ 2) _− γ⟨xs, u_ 1 _⟩S_ ( _u_ 1 _, v_ 2 _, w_ 2)
|
| 679 |
+
|
| 680 |
+
**==> picture [17 x 10] intentionally omitted <==**
|
| 681 |
+
|
| 682 |
+
Again by symmetry, from equation 2 and since _T_ 1 is cubic, we have
|
| 683 |
+
|
| 684 |
+
**==> picture [447 x 44] intentionally omitted <==**
|
| 685 |
+
|
| 686 |
+
**Estimation of** _⟨u_ 1 _, u_ 2 _⟩_ **:** Again from equation 27, we have
|
| 687 |
+
|
| 688 |
+
**==> picture [112 x 11] intentionally omitted <==**
|
| 689 |
+
|
| 690 |
+
with _T_ 2 = _T_ 1 _− γu_ 1 _⊗T_ 1( _u_ 1 _, ·, ·_ ), therefore
|
| 691 |
+
|
| 692 |
+
**==> picture [345 x 39] intentionally omitted <==**
|
| 693 |
+
|
| 694 |
+
Hence, we have
|
| 695 |
+
|
| 696 |
+
**==> picture [378 x 11] intentionally omitted <==**
|
| 697 |
+
|
| 698 |
+
**==> picture [17 x 9] intentionally omitted <==**
|
| 699 |
+
|
| 700 |
+
Again by symmetry, from equation 2 and since _T_ 1 is cubic, we have
|
| 701 |
+
|
| 702 |
+
**==> picture [333 x 39] intentionally omitted <==**
|
| 703 |
+
|
| 704 |
+
**Estimation of** _⟨v_ 2 _, ys⟩_ **:** From equation 27, we have _λ_ 2 _⟨v_ 2 _, ys⟩_ = _T_ 2( _u_ 2 _, ys, w_ 2) = _T_ 1( _u_ 2 _, ys, w_ 2) _− γ⟨u_ 1 _, u_ 2 _⟩T_ 1( _u_ 1 _, ys, w_ 2)
|
| 705 |
+
|
| 706 |
+
**==> picture [357 x 25] intentionally omitted <==**
|
| 707 |
+
|
| 708 |
+
And as previously, we have
|
| 709 |
+
|
| 710 |
+
And
|
| 711 |
+
|
| 712 |
+
**==> picture [274 x 122] intentionally omitted <==**
|
| 713 |
+
|
| 714 |
+
Therefore,
|
| 715 |
+
|
| 716 |
+
**==> picture [335 x 27] intentionally omitted <==**
|
| 717 |
+
|
| 718 |
+
Again by symmetry, from equation 2 and since _T_ 1 is cubic, we have
|
| 719 |
+
|
| 720 |
+
**==> picture [471 x 44] intentionally omitted <==**
|
| 721 |
+
|
| 722 |
+
22
|
| 723 |
+
|
| 724 |
+
**Estimation of** _⟨v_ 1 _, v_ 2 _⟩_ **:** From equation 27, we have
|
| 725 |
+
|
| 726 |
+
**==> picture [402 x 176] intentionally omitted <==**
|
| 727 |
+
|
| 728 |
+
And
|
| 729 |
+
|
| 730 |
+
**==> picture [373 x 130] intentionally omitted <==**
|
| 731 |
+
|
| 732 |
+
� _λ_ 2 + _q_ 1( _λ_ 2) + _q_ 3( _λ_ 2) _− γ⟨u_ 1 _, u_ 2 _⟩_[2] _q_ 3( _λ_ 2)� _⟨v_ 1 _, v_ 2 _⟩_ + [(1 _− γ_ ) _r_ 2( _λ_ 1) _− r_ 1( _λ_ 1)] _⟨u_ 1 _, u_ 2 _⟩⟨w_ 1 _, w_ 2 _⟩_ = _S_ ( _u_ 2 _, v_ 1 _, w_ 2) _− γ⟨u_ 1 _, u_ 2 _⟩S_ ( _u_ 1 _, v_ 1 _, w_ 2) (46)
|
| 733 |
+
|
| 734 |
+
Finally by symmetry, from equation 2 and since _T_ 1 is cubic, we have
|
| 735 |
+
|
| 736 |
+
**==> picture [385 x 39] intentionally omitted <==**
|
| 737 |
+
|
| 738 |
+
D.2.4 _γ_ -ORTHOGONALIZED TENSOR DEFLATION: GOVERNING SYSTEM OF EQUATIONS The second deflation step is therefore governed by the following system of equations
|
| 739 |
+
|
| 740 |
+
( _qf_ [2 _a_ ( _qbz_ ((( _zλ_ ) = _z_ ) +2) +) _− a z z_ ( _−z[γ]_ ] _a_ ) + 2 _[κ]_ 3 _[η] τb_ ([2] _z[r]_ ) +([(] _zb[λ]_ ))([1] _zb_[1] 3[)] )( _[ −]_[= 0] _z_ ) +[2] _[γκ]_ 3[1][2] _[b]_[= 0][(] _[λ]_[2][) =][ �] _i_[2] =1 _[β][i][θ]_[2] _[i][ρ]_ 2[2] _i[−][γκ]_[ �][2] _i_ =1 _[β][i][ρ]_[1] _[i][ρ]_ 2[2] _i_ [[� _fλfq_ 2 _q_ ( + 2(1( _λλ_ 22)) _− − −a_ (1 +( _γλ_ )2 _b_ )] _γκ_ ( _θλ_ 22[2] _s_ )]) _−b κ_ ( _λ_ = (1 _γρ_ 2)1� _sρ_ � _−_ 2 _ηs_ 3[2] _γ_ = _[r]_ )[(] _[λ]_ ��[�][1][) + 2][2] _i_ =12 _i_ =1 _[β][β][κb][i][θ][i][ρ]_[2][(] _[i]_[1] _[λ][ρ][i]_[2] _[ρ]_[2][)] _[i]_ 2[2] � _[⟨] i[y]_ = _[−][s][, y]_[�] _[η]_ 3 _[i]_[2] _[⟩−][r]_[2] _i_ =1[(] _[λ][γκ]_[1] _[β]_[)] _[i]_ � _[⟨]_ �� _[x][s][, x]_ 2 _i_ =1 _[i][⟩][ρ][β]_ 2[2] _[i] i[ρ][−]_[1] _[i][ρ][γρ]_[2] _[i]_[1] _[⟨][s][y][s]_ � _[, y]_ 2 _i[i]_ =1 _[⟩−][β][i][ρ][ρ]_[1] 3[1] _[s][i][η][ρ][r]_ 2[2][(] _i[λ]_[1][)] � � _λ_ 2 + _a_ ( _λ_ 2) + (1 _− γκ_[2] ) _b_ ( _λ_ 2) _−[γ]_ 3 _[κ][r]_[(] _[λ]_[1][)] � _η_ =[�][2] _i_ =1 _[β][i][θ]_[2] _[i][ρ]_[1] _[i][ρ]_[2] _[i][ −][γκ]_[ �][2] _i_ =1 _[β][i][ρ]_ 1[2] _i[ρ]_[2] _[i]_ (48)
|
| 741 |
+
|
| 742 |
+
23
|
| 743 |
+
|
| 744 |
+
with _fq_ ( _z_ ) = _z_ + _q_ ( _z_ ) and _τ_ = _γκ_[2] _−_ 1 + _κ_ ( _γ −_ 1). In the case _γ_ = 1, we have _κ_ = 0 from equation 41 and therefore the system above reduces to the following system, since _a_ ( _z_ ) = _b_ ( _z_ ) = _[r]_[(] 3 _[z]_[)] and _q_ ( _z_ ) = _r_ ( _z_ ).
|
| 745 |
+
|
| 746 |
+
**==> picture [349 x 56] intentionally omitted <==**
|
| 747 |
+
|
| 748 |
+
E EXPERIMENTAL SETUP & SUPPLEMENTARY SIMULATIONS
|
| 749 |
+
|
| 750 |
+
## E.1 EXPERIMENTAL SETUP
|
| 751 |
+
|
| 752 |
+
We outline how we can generate synthetic models corresponding to our setting (2.1) in the following code snippet.
|
| 753 |
+
|
| 754 |
+
1 **import** numpy as np 2 **from** numpy.random **import** randn, normal 3 4 **from** tensorly.tenalg **import** outer 5 6 **class** TwoSpikesModel(): 7 **def** __init__(self, b1, b2, alpha, dims): 8 _"""_ 9 _Generates a rank-2 order-3 spiked tensor model as in Section 2._ 10 11 _Parameters_ 12 _----------_ 13 _b1, b2: Signal to Noise Ratios (SNRs)_ 14 _alpha: Correlation level between the 2 signal components._ 15 _dims: Dimensions per mode up to order._ 16 _----------_ 17 _"""_ 18 self.b1 = b1 19 self.b2 = b2 20 self.order = len(dims) 21 self.alpha = alpha 22 self.c1 = [normalized(randn(d)) **for** d **in** dims] 23 self.c1_orth = [(np.eye(d) - np.outer(u, u)) @ normalized(randn(d )) **for** (d, u) **in** zip(dims, self.c1)] 24 self.c2 = [alpha * u1 + np.sqrt(1 - alpha**2) * u2 **for** (u1, u2) **in** zip(self.c1, self.c1_orth)] 25 self.noise = normal(size=dims) / np.sqrt(sum(dims)) 26 self.tensor = b1 * outer(self.c1) + b2 * outer(self.c2) + self. noise
|
| 755 |
+
|
| 756 |
+
## E.2 JOINT ESTIMATION OF MODEL PARAMETERS
|
| 757 |
+
|
| 758 |
+
In a variety of applications, we do not only care about estimating the hidden low rank components, but we also would like to estimate the different problem parameters with a sufficiently high accuracy. For instance, in telecommunications, a very fundamental problem is estimating the signal-to-noise strengths (SNRs) Pauluzzi & Beaulieu (2000); Wiesel et al. (2006); Suhadi et al. (2010); Matzner & Englberger (1994), which corresponds to quantifying the communication channel quality. In that spirit, we also address the problem of estimating the underlying model parameters, namely the signal-to-noise ratios _β_ 1 _, β_ 2, and the correlation parameter _α_ based on a **single realization** of _T_ 1. This allows us to design an improved deflation algorithm in the presence of correlations among our hidden signal components.
|
| 759 |
+
|
| 760 |
+
In this section, we discuss the problem of estimating the underlying model parameters, namely the SNRs and the signal components correlation _**β** ≡_ ( _β_ 1 _, β_ 2 _, α_ ) _∈_ R[3] , and the alignments _**ρ** ≡_ ( _ρ_ 1 _i, ρ_ 2 _i, θ_ 2 _i | i ∈_ [2]) _∈_ R[6] from one realization of the random tensor _T_ 1. Indeed, this will allow us to design an improved deflation algorithm by optimizing the parameter _γ_ introduced
|
| 761 |
+
|
| 762 |
+
24
|
| 763 |
+
|
| 764 |
+
**==> picture [352 x 183] intentionally omitted <==**
|
| 765 |
+
|
| 766 |
+
**----- Start of picture text -----**<br>
|
| 767 |
+
15<br>y = x<br>y = β 2<br>10 β 1 = β 2<br>λ ˆ1<br>λ ˆ2<br>5 max {β [ˆ] 1 , β [ˆ] 2 }<br>min {β [ˆ] 1 , β [ˆ] 2 }<br>0<br>0 2 4 6 8 10 12 14<br>β 1<br>2<br>ˆ β<br>,<br>1<br>ˆ β<br>**----- End of picture text -----**<br>
|
| 768 |
+
|
| 769 |
+
Figure 6: Estimation of the **underlying SNRs** _β_ 1 and _β_ 2 as described in Section 3. (Averaged over) 100 realizations of with _T_ 1 Parameters: _β_ 2 = 5, _α_ = 0 _._ 5, _p_ = 150 and _γ_ = 1, _β_ 1 is varied. The parameters are estimated only from the singular values _λ_[ˆ] 1, _λ_[ˆ] 2 and the alignment between the singular ˆ ˆ vectors _η_ = _⟨v_ 1 _,_ ˆ _v_ 2 _⟩_ , computed via tensor power iteration.
|
| 770 |
+
|
| 771 |
+
in the second deflation step. Further denoting _**λ** ≡_ ( _λ_ 1 _, λ_ 2 _, η_ ) _∈_ R[3] , we define the mapping _ψ_ : R[3] _×_ R[3] _×_ R[6] _→_ R[9] through equation 50, where the first three entries of the vector _ψ_ ( _**β** ,_ _**λ** ,_ _**ρ**_ ) correspond to the first deflation step equations in equation 8 while the remaining entries correspond to the second deflation step for _γ_ = 1 characterized by equation 51. In particular, the singular values _λ_ 1 _, λ_ 2 and the corresponding alignments satisfy _ψ_ ( _**β** ,_ _**λ** ,_ _**ρ**_ ) = 0. On the other hand, given an estimate _**λ**_[ˆ] = ( _λ_[ˆ] 1 _, λ_[ˆ] 2 _,_ ˆ _η_ ) of _**λ**_ , which can be computed via tensor power iteration as discussed previously, we can solve _ψ_ ( _·,_ _**λ**_[ˆ] _, ·_ ) = 0 in the variables _**β**_ and _**ρ**_ while fixing _**λ**_[ˆ] , which allows us to estimate the model parameters _**β**_[ˆ] and _**ρ**_ ˆ. In particular, Figure 6 supports this statement where we see that solving _ψ_ ( _·,_ _**λ**_[ˆ] _, ·_ ) = 0 allows us to estimate _β_ 1 and _β_ 2 with reasonably low variance. Moreover, an important aspect of parameter estimation is proving its consistency. Namely, demonstrating a Central Limit Theorem (CLT) result that shows the concentration of _**β**_[ˆ] around the true _**β**_ as well as for _**ρ**_ ˆ. We currently support this statement through simulations as depicted in Figures 6 and 7. Note however that, given the concentration of _**λ**_[ˆ] , we believe that such consistency can be ensured with additional assumptions on the function _ψ_ in equation 50 and in particular the existence and uniqueness of solution to the equation _ψ_ ( _·,_ _**λ**_[ˆ] _, ·_ ) = 0.
|
| 772 |
+
|
| 773 |
+
**==> picture [380 x 119] intentionally omitted <==**
|
| 774 |
+
|
| 775 |
+
**Case** _γ_ = 1 **:** As we discussed earlier, in the case _γ_ = 1 the limiting spectral measure _ν_ becomes equal to the semi-circle law _µ_ described in the first deflation step. Moreover, the system of equations in equation 13 reduces to the following equations, for _j ∈_ [2], which will be needed subsequently.
|
| 776 |
+
|
| 777 |
+
**==> picture [385 x 27] intentionally omitted <==**
|
| 778 |
+
|
| 779 |
+
25
|
| 780 |
+
|
| 781 |
+
**==> picture [360 x 247] intentionally omitted <==**
|
| 782 |
+
|
| 783 |
+
**----- Start of picture text -----**<br>
|
| 784 |
+
η ˆ<br>y = x 1<br>α ˜<br>0 . 5 ˆ<br>ρ 11<br>0 . 5 ˆ<br>ρ 12<br>˜<br>ρ 11<br>˜<br>0 0 ρ 12<br>0 . 2 0 . 4 0 . 6 0 . 8 0 . 2 0 . 4 0 . 6 0 . 8<br>1<br>ˆ 1<br>θθ ˆ2121 ρρ ˆˆ2122<br>0 . 5 ˜ ˜<br>θθ ˜2222 0 . 5 ρρ ˜2122<br>0<br>0<br>0 . 2 0 . 4 0 . 6 0 . 8 0 . 2 0 . 4 0 . 6 0 . 8<br>α α<br>**----- End of picture text -----**<br>
|
| 785 |
+
|
| 786 |
+
Figure 7: Estimation of **Alignments** as described in Section 3 from one realization of the random tensor _T_ 1. We considered _β_ 1 = 15, _β_ 2 = 5, _γ_ = 1, _p_ = 100 while varying _α_ . The curves are averaged over 100 realizations of _T_ 1. The hats correspond to simulations while tildes correspond to the estimated alignments as per Section 3.
|
| 787 |
+
|
| 788 |
+
## E.3 SIMULATED AND ASYMPTOTIC ALIGNMENTS AT FIRST DEFLATION STEP
|
| 789 |
+
|
| 790 |
+
We observe a near perfect estimation of all the problem parameters of the first deflation step of _γ_ -orthogonalized tensor deflation in Figure 8.
|
| 791 |
+
|
| 792 |
+
**==> picture [358 x 101] intentionally omitted <==**
|
| 793 |
+
|
| 794 |
+
**----- Start of picture text -----**<br>
|
| 795 |
+
15 ˆ 1 ˆ<br>λλ 11 ρρρ ˆ111211<br>10 0 . 5 ρ 12<br>β 1 = β 2<br>α = 0 . 5<br>5 0<br>0 5 10 15 0 2 4 6 8 10 12 14<br>β 1 β 1<br>**----- End of picture text -----**<br>
|
| 796 |
+
|
| 797 |
+
Figure 8: **Simulated** vs **theoretical** asymptotic singular value and alignments corresponding to the first deflation step as per Theorem 2. We considered _β_ 2 = 5, _α_ = 0 _._ 5, _p_ = 100 and varying _β_ 1 _∈_ [0 _,_ 15]. The system of equations in equation 8 is solved numerically and initialized with the simulated singular value and alignments (dotted curves) from one realization of _T_ 1.
|
| 798 |
+
|
| 799 |
+
## E.4 CONCAVITY OF ALIGNMENTS IN _γ_
|
| 800 |
+
|
| 801 |
+
An important property of interest is the behavior of the asymptotic alignments as a function of _γ_ , we show that empirically in Figures 7 and 10 for different stages of _γ_ -orthogonalized tensor deflation.
|
| 802 |
+
|
| 803 |
+
26
|
| 804 |
+
|
| 805 |
+
**==> picture [388 x 99] intentionally omitted <==**
|
| 806 |
+
|
| 807 |
+
**----- Start of picture text -----**<br>
|
| 808 |
+
1 1 1<br>θ 21 ρ 21<br>θ 22 ρ 22<br>0 . 5 θ 22 [∗] [=] [0] [.] [994] 0 . 5 ρ [∗] 22 [=] [0] [.] [996] 0 . 5<br>α = 0 . 6 α = 0 . 6 κ<br>γ [∗] ( θ 22) = 0 . 63 γ [∗] ( ρ 22) = 0 . 65 η<br>0 0 0<br>0 0 . 5 1 0 0 . 5 1 0 0 . 5 1<br>γ γ γ<br>**----- End of picture text -----**<br>
|
| 809 |
+
|
| 810 |
+
Figure 9: Asymptotic alignments of the second deflation varying the hyper-parameter _γ_ . We considered _β_ 1 = 10, _β_ 2 = 8 and _α_ = 0 _._ 6.
|
| 811 |
+
|
| 812 |
+
**==> picture [390 x 243] intentionally omitted <==**
|
| 813 |
+
|
| 814 |
+
**----- Start of picture text -----**<br>
|
| 815 |
+
α = 0 . 4 α = 0 . 4 α = 0 . 4<br>1 1 1<br>κ<br>θ 21 ρ 21 η<br>θ 22 ρ 22<br>0 . 5 θ 22 [∗] [= 0] [.] [997] 0 . 5 ρ [∗] 22 [= 0] [.] [997] 0 . 5<br>α = 0 . 4 α = 0 . 4<br>γ [∗] ( θ 22) = 0 . 35 γ [∗] ( ρ 22) = 0 . 45<br>0 0 0<br>0 0 . 5 1 0 0 . 5 1 0 0 . 5 1<br>γ γ γ<br>α = 0 . 5 α = 0 . 5 α = 0 . 5<br>1 1 1<br>θ 21 ρ 21<br>θ 22 ρ 22<br>0 . 5 θ 22 [∗] [= 0] [.] [996] 0 . 5 ρ [∗] 22 [= 0] [.] [997] 0 . 5<br>α = 0 . 5 α = 0 . 5<br>κ<br>γ [∗] ( θ 22) = 0 . 49 γ [∗] ( ρ 22) = 0 . 55 η<br>0 0 0<br>0 0 . 5 1 0 0 . 5 1 0 0 . 5 1<br>γ γ γ<br>**----- End of picture text -----**<br>
|
| 816 |
+
|
| 817 |
+
Figure 10: Asymptotic alignments of the second deflation step in terms of _γ_ and _α_ . We considered _β_ 1 = 10 and _β_ 2 = 8.
|
| 818 |
+
|
| 819 |
+
## F ALGORITHMS
|
| 820 |
+
|
| 821 |
+
Algorithm 1 below, implements the fixed point equation in Definition 3.3 which allows the computation of the Stieltjes transform at the second deflation step.
|
| 822 |
+
|
| 823 |
+
**Algorithm 1** Stieltjes Transform by Fixed Point
|
| 824 |
+
|
| 825 |
+
**Input:** _z ∈_ C _\_ supp( _ν_ ) and _τ_ . - Initialize _a_ and _b_ . **while** no convergence **do** _−_ 1 - Update _a ←_ 3(2 _b_ + _z_ )[.] - Update _b ←_ 3( _a_ + _−z_ 1 _−τb_ )[.] **end while Output:** _a, b_ and Stieltjes transform _q_ = _a_ + 2 _b_ .
|
| 826 |
+
|
| 827 |
+
Algorithm 2 implements our _γ_ -orthogonalized tensor deflation procedure which was carefully constructed in Section 3.1.
|
| 828 |
+
|
| 829 |
+
27
|
| 830 |
+
|
| 831 |
+
## **Algorithm 2** _γ_ -Orthogonalized Tensor Deflation Algorithm
|
| 832 |
+
|
| 833 |
+
**Input:** Tensor _T ∈_ R _[p][×][p][×][p]_ and step size _ϵ ∈_ [0 _,_ 1]. # Perform orthogonalized deflation: 1- Compute _λ_[ˆ] 1 _u_ ˆ1 _⊗ v_ ˆ1 _⊗ w_ ˆ1 as best rank-1 approximation of _T_ .
|
| 834 |
+
|
| 835 |
+
2- Compute _λ_[ˆ] 2 _u_ ˆ2 _⊗ v_ ˆ2 _⊗ w_ ˆ2 as best rank-1 approximation of _T ×_ 1 ( _**I** p − γu_ ˆ1 _u_ ˆ _[⊤]_ 1[)][ for] _[ γ]_[= 1][.] # Estimate underlying model parameters: 3- Compute _η_ ˆ _←|⟨v_ ˆ1 _,_ ˆ _v_ 2 _⟩|_ . 4- Estimate _**β**_[ˆ] = ( _β_[ˆ] 1 _, β_[ˆ] 2 _,_ ˆ _α_ ) and _**ρ**_ ˆ = (ˆ _ρ_ 1 _i,_ ˆ _ρ_ 2 _i, θ_[ˆ] 2 _i | i ∈_ [2]) by fixing _**λ**_[ˆ] = ( _λ_[ˆ] 1 _, λ_[ˆ] 2 _,_ ˆ _η_ ) and solving _ψ_ ( _**β**_[ˆ] _,_ _**λ**_[ˆ] _,_ _**ρ**_ ˆ) = 0 in _**β**_[ˆ] and _**ρ**_ ˆ with _ψ_ defined in equation 50. # Estimate optimal _γ_ : 5- Initialize _γ_ = 1 and ˆ _κ_ = 10 _[−]_[5] . 6- Initialize two empty lists _Lγ_ and _Lρ_ . **while** The maximum in _Lρ_ is not reached **do**
|
| 836 |
+
|
| 837 |
+
7- Set _x_ 0 _←_ ( _λ_[ˆ] 2 _,_ ˆ _κ,_ ˆ _η, θ_[ˆ] 2 _i,_ ˆ _ρ_ 2 _i | i ∈_ [2]).
|
| 838 |
+
|
| 839 |
+
8- Estimate ( _λ_[ˆ] 2 _,_ ˆ _κ,_ ˆ _η, θ_[ˆ] 2 _i,_ ˆ _ρ_ 2 _i | i ∈_ [2]) by solving the system in equation 13 initialized with _x_ 0 and for ( _β_ 1 _, β_ 2 _, α_ ) = ( _β_[ˆ] 1 _, β_[ˆ] 2 _,_ ˆ _α_ ) and _γ_ .
|
| 840 |
+
|
| 841 |
+
9- Append _Lγ_ with _γ_ .
|
| 842 |
+
|
| 843 |
+
10- Append _Lρ_ with max _{ρ_ ˆ21 _,_ ˆ _ρ_ 22 _}_ .
|
| 844 |
+
|
| 845 |
+
11- Update _γ ← γ − ϵ_ . **end while** 12- Set optimal _γ_ as _γ[∗] ← Lγ_ [arg max( _Lρ_ )]. # Perform orthogonalized deflation with _γ[∗]_ : 13- Compute _λ_[ˆ] 2 _u_ ˆ2 _⊗ v_ ˆ2 _[∗][⊗][w]_[ˆ] 2 _[∗]_[as best rank-1 approximation of] _[ T][×]_[1][(] _**[I]**[p][−][γ][∗][u]_[ˆ][1] _[u]_[ˆ] _[⊤]_ 1[)][.] 14- Compute _λ_[ˆ] 2 _u_ ˆ _[∗]_ 2 _[⊗][v]_[ˆ][2] _[⊗][w]_[ˆ] 2 _[∗]_[as best rank-1 approximation of] _[ T][×]_[2][(] _**[I]**[p][−][γ][∗][v]_[ˆ][1] _[v]_[ˆ] 1 _[⊤]_[)][.] # Re-estimate the first component by simple deflation: 15- Compute _λ_[ˆ] 1 _u_ ˆ _[∗]_ 1 _[⊗][v]_[ˆ] 1 _[∗][⊗][w]_[ˆ] 1 _[∗]_[as best rank-1 approximation of] _[ T][−]_[min] _[{][β]_[ˆ][1] _[,][β]_[ˆ][2] _[}][u]_[ˆ] _[∗]_ 2 _[⊗][v]_[ˆ] 2 _[∗][⊗][w]_[ˆ] 2 _[∗]_[.] **Output:** Estimates of the signal components (max _{β_[ˆ] 1 _, β_[ˆ] 2 _},_ ˆ _u[∗]_ 1 _[,]_[ ˆ] _[v]_ 1 _[∗][,][w]_[ˆ] 1 _[∗]_[)] _[,]_[ (min] _[{][β]_[ˆ][1] _[,][β]_[ˆ][2] _[}][,]_[ ˆ] _[u][∗]_ 2 _[,]_[ ˆ] _[v]_ 2 _[∗][,][w]_[ˆ] 2 _[∗]_[)][.]
|
| 846 |
+
|
| 847 |
+
## G ADDRESSING LIMITATIONS & FUTURE WORK
|
| 848 |
+
|
| 849 |
+
We have showcased a concrete example where RMT/RTT allows us to understand and even improve signal recovery from low-rank asymmetric spiked random tensors. To the best of our knowledge, this is the **first time** where an asymptotic characterization of the considered deflation method is carried out. For the sake of clarity, we limited our detailed analysis to the more intuitive rank-2 order-3 model. On a further note, we outline that our actual results already pave a new path towards the analysis and improvement of more sophisticated tensor methods and models, by means of random tensor theory, thereby impacting tensor-based machine learning methods and many other applications. In the following, we list some extensions to address some limitations in our current work.
|
| 850 |
+
|
| 851 |
+
- **Extension to Higher Ranks & Orders.** We present the meta steps that allow to obtain our results and generalize beyond that to low rank tensor models of arbitrary ranks and/or orders. The machinery behind the generalized deflation step theoretical analysis framework (3) lies in the application of Stein’s lemma (principally, among others) to estimate the different problem parameters, alignments in particular. Given that this is a non-amortized approach, the number of model parameters and alignments grows exponentially in the number of deflation steps, which makes the analysis very tedious by hand. Upon the use of symbolic solvers able to sequentially apply lemmas like that of Stein, the generalization of our to higher orders/ranks becomes fairly straightforward. To give the reader an idea of how that would look like, we refer them to Seddik et al. (2023). In particular, Theorem 3.4 outlines a system of equations describing the Hotelling-type asymmetric tensor deflation for general ranks/orders.
|
| 852 |
+
|
| 853 |
+
- **Evaluation on Real-World Data.** While the application in real-world contexts is quite straightforward, given the plethora of applications listed in the introduction, we limit this work to showcase the potential of utilizing a theoretical algorithmic interplay to design new theoretically interpretable, robust and highly accurate tensor deflation/decomposition methods. We benchmark against prevalent tensor decomposition approaches CP and Tucker,
|
| 854 |
+
|
| 855 |
+
28
|
| 856 |
+
|
| 857 |
+
and show that our approach performs optimally while the latter collapse in the presence of higher levels of correlation.
|
| 858 |
+
|
| 859 |
+
- **On a Theoretical Level.** We highlight the following points
|
| 860 |
+
|
| 861 |
+
- Our main results rely on Assumptions 3.1 and 3.4 which basically suppose the almost convergence of the singular values and alignments of interest. Similar Assumptions were made and discussed (in (Goulart et al., 2021; Seddik et al., 2021)) which also relied on a RMT approach. A formal proof of these statements is still required and would make our analysis more complete.
|
| 862 |
+
|
| 863 |
+
- The second point concerns the existence and uniqueness of the solutions of the involved systems of equations. In essence, the asymptotic behavior of the second deflation step is described by a set of seven polynomial equations in _λ_ 2 and the alignments _θ_ 2 _i, ρ_ 2 _i, κ_ and _η_ . Again, we do not address the existence and uniqueness of such solutions, and we solve the system in equation 13 numerically starting from the simulated singular value and alignments from one realization of _T_ 1. Contrarily to the first deflation step, we highlight that the Stieltjes transform _q_ ( _z_ ) depends on the alignment _κ_ . Therefore, we alternate solving the system in equation 13 with the fixed point equations in equation 11 for _τ_ = _γκ_[2] _−_ 1 + _κ_ ( _γ −_ 1) as per Theorem 3.
|
| 864 |
+
|
| 865 |
+
- The third point concerns a proof of consistency of the underlying model parameters estimation. Specifically, proving a Central Limit Theorem (CLT) about the convergence of our estimates to the true parameters and the related conditions.
|
| 866 |
+
|
| 867 |
+
- On a further note, we also outline that there might also exist a theoretical-algorithmic spectral gap, that needs to be determined for the present deflation procedure, in the same spirit as that in Richard & Montanari (2014) for the rank-1 case.
|
| 868 |
+
|
| 869 |
+
We do not address these questions in our present analysis and we defer them to a future study.
|
| 870 |
+
|
| 871 |
+
29
|
| 872 |
+
|
open_review/iclr2024_9133.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9133",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Thin-Thick Adapter: Segmenting Thin Scans Using Thick Annotations",
|
| 6 |
+
"abstract": "Medical imaging segmentation has been a prominent focus in the field of medical imaging analysis. Recent advances in radiological and storage technologies have led to an increased utilization of thin slice computed tomography (CT) acquisitions in clinical practice. These thin slices offer several advantages, including enhanced spatial resolution and sharper diagnostic information for clinicians. However, segmenting thin slices presents significant challenges. Annotations on thick is hard to adapt to the thin slices since there is a domain gap between thick and thin slices. Furthermore, there is no existing dataset which contains pixel-level thin annotations, and manually annotating thin slices is considerably more resource-intensive and time-consuming compared to annotating thick slices, making it impractical to obtain a sufficient quantity of high-quality thin annotations for training robust models in a supervised fashion. In response to these challenges, this paper introduces three key contributions. Firstly, we propose a research topic and setting focused on segmenting thin slice data exclusively, leveraging existing annotations from thick slices. Secondly, we present a newly created dataset called CQ500-Thin, which is a Non-Contrast CT scans featuring Intracranial Hemorrhage (ICH), including a subset of pixel-level thin annotations for evaluation purposes. This dataset serves as a benchmark for our proposed topic and methodology. Lastly, we introduce a robust pipeline named the Thin-Thick Adapter, which utilizes a simple-but-effective data alignment technique and a 3D-CPS for unsupervised domain adaptation. It is designed to address the thin slice segmentation problem and establish a foundational baseline for this emerging research area.",
|
| 7 |
+
"rebuttal": "### (Reminder) Kindly asking Reviewer WdYo for following up the rebuttal\nDear Reviewer WdYo,\n\nMy appreciation for your review, and kindly asking if you can follow up our rebuttal. We genuinely hope these rebuttal have effectively addressed your concerns. Since there are only a couple hours left, let us know your thoughts.\n\nBest regards,\n\nAuthors of Submission 9133\n\n### (Reminder) Kindly asking Reviewer oEQ1 for following up the rebuttal\nDear Reviewer oEQ1,\n\nMy appreciation for your review, and kindly asking if you can follow up our rebuttal. We genuinely hope these follow-up rebuttal have effectively addressed your concerns. Since there are only a couple hours left, let us know your thoughts.\n\nBest regards,\n\nAuthors of Submission 9133\n\n### Follow-up Response to Reviewer oEQ1 (1/3)\nMy deep appreciation for the prompt response and follow-up discussion. Your support is invaluable to our work.\n\n**Q3. I would have liked to see more comments regarding the novelty of the work. For instance, there are open-source tools, like 3D Slicer, that offer tools to interpolate slices, i.e. Thick Slab reconstruction. In this case, one obtains the best possible slices in terms of thickness, uses slicer to get thick slides and annotates there. In which way is it better to use your approach than that one offered by 3D slicer?**\n\n**A3.:** Thank yo [...]\n\n### Follow-up Response to Reviewer oEQ1 (2/3)\n**Q4. The Unet is designed for sparse annotations, which could be analogous to your slice thickness approach. Hence, your results would be more potent if you compared them to nnUnet in one of the public benchmarks where it has achieved a very high DSC (perhaps winning the challenge). You should use those results as a baseline and then show different results on the configurations you propose. Using a benchmark that has been recognised by the community makes your case stronger than presenting results on a dataset that, as of now, only you have access [...]\n\n### Follow-up Response to Reviewer oEQ1 (3/3)\n**References**\n\n[1] Fedorov, A., Beichel, R., Kalpathy-Cramer, J., Finet, J., Fillion-Robin, J.-C., Pujol, S., Bauer, C., Jennings, D., Fennessy, F., Sonka, M., Buatti, J., Aylward, S., Miller, J.V., Pieper, S. and Kikinis, R. (2012). 3D Slicer as an image computing platform for the Quantitative Imaging Network. Magnetic Resonance Imaging, 30(9), pp.1323–1341. doi:https://doi.org/10.1016/j.mri.2012.05.001.\n\n[2] Volumes — 3D Slicer documentation. [online] Available at: https://slicer.readthedocs.io/en/latest/developer_guide/script_repository/volumes [...]\n\n### Response to Reviewer KXr5 (1/2)\n**Q1. Annotation robustness appears especially relevant with fine-grained (and limited) data such as thin slices. Might any indication of inter-grader reliability be known, for the labeled thin slices?**\n\n**A1.:** My deep appreciation for your helpful suggestion of inter-grader reliability/inter-rater reliability. Combined efforts between three annotators ADH, AB and CB were used to produce the annotations.\n\nAuthor and board certified neuroradiologist CW initially conducted three 150 minute training sessions to teach author ADH intracranial hemorrhage identi [...]\n\n### Response to Reviewer KXr5 (2/2)\n**Q3. In Section 5.2, the methodology involving gradual linear increase of λ as the weight of the cross-supervision loss, is not justified in detail.**\n\n**A3.:** Thanks for pointing it out. We set λ to increase linearly from 0 to 0.5, and it remains fixed after 500 epochs, which has been updated in Section 6.1 in revised paper. Moreover, we have conducted an ablation of investigating different ranges of $\\lambda$ and which was fixed after various epochs $\\epsilon$ in Section 6.4. of the updated revised paper.\n\n| | CQ500-Thin | [...]\n\n### Response to Reviewer WdYo (1/3)\n**Q1. While the newly introduced CQ500-Thin dataset offers 15 expertly labeled pixel-level annotations, this may not be representative of the diverse pathologies encountered in clinical practice. Could you expand the CQ500-Thin dataset to include more than 15 expertly labeled pixel-level annotations to better represent the variety of pathologies found in clinical settings?**\n\n**A1.:** Thank you for raising this question, as it holds significant relevance for the potential application of the model in clinical practice. \n\nWe agree that the relatively limited n [...]\n\n### Response to Reviewer WdYo (2/3)\n**Q3. Furthermore, although the proposed method decreases the necessity for thin slice annotations, it could still be resource-intensive, posing a potential limitation in resource-constrained environments.**\n\n**A3.:** Thanks for this review. As discussed in Section 3, our method can perform segmentation on thin slices only using annotations on thick slices, without requiring any thin-thick pair. This means the thick annotation can be sourced from any public thick annotated dataset. Fortunately, advancements in the medical imaging community now provide variou [...]\n\n### Response to Reviewer WdYo (3/3)\n**References**\n\n[1] Hssayeni, M., Croock, M., Salman, A., Al-khafaji, H., Yahya, Z., Ghoraani, B.: Computed tomography images for intracranial hemorrhage detection and segmentation. Intracranial hemorrhage segmentation using a deep convolutional model. Data 5(1), 14 (2020)\n\n[2] Li, X., et al.: The state-of-the-art 3D anisotropic intracranial hemorrhage segmentation on non-contrast head CT: the instance challenge. arXiv preprint arXiv:2301.03281 (2023)\n\n[3] Wu, B., Xie, Y., Zhang, Z., Ge, J., Kaspar Yaxley, Bahadir, S., Wu, Q., Li, Y. and To, M. (2023). BHSD: [...]\n\n### Response to Reviewer oEQ1 (1/3)\n**Q1.1. The main criticism to this work is that it introduces a terminology that does not exist in the medical imaging community (thick and thin slices) and provides some context around it that is highly inaccurate.**\n\n**A1.1.:** Thanks for the review! The terminology of thin slices and thick slices [1,2,3,15,17], also refers to thin sections and thick\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
5,
|
| 11 |
+
6,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.5,
|
| 15 |
+
"score_variance": 0.33,
|
| 16 |
+
"score_spread": 1,
|
| 17 |
+
"score_min": 5,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "This paper propose a new research problem for medical image segmentation, namely the segmentation of the thin slices often available in modern CT scanners, from annotations of the thicker slices typically available in older scanners -- and hence in much available annotated data. This is a relevant research problem, as annotation remains a significant cost for creating training data, and annotated data remains scarce in medical imaging. The authors also contribute a dataset annotated specifically for this task.\n\nThe main weaknesses of the paper related to:\n- the communication of the problem's relevance -- several reviewers had a hard time understanding the real life relevance of the problem. This was partially addressed in the rebuttal, but shows a potential impact problem downstream\n- Comparison with state-of-the-art models that one would expect to do well on this problem; in particular nn-U-net is recommended by multiple reviewers, and one reviewer details a way that this could be made feasible in practice.\n\nBased on these concerns, I unfortunately cannot recommend the paper for publication at ICLR'24.",
|
| 22 |
+
"forum_id": "NF5uhYkI9C",
|
| 23 |
+
"primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_vpN7",
|
| 28 |
+
"review_id": "xHehop6XVX",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 4,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 3045,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 326417,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_WdYo",
|
| 44 |
+
"review_id": "YfWvpAsdvj",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2915,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 403689,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_KXr5",
|
| 60 |
+
"review_id": "eeLjeo5DxB",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1745,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1824199,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_oEQ1",
|
| 76 |
+
"review_id": "2ZEfAzZVWk",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2060,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 3308447,
|
| 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_9133.md
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## THIN-THICK ADAPTER: SEGMENTING THIN SCANS USING THICK ANNOTATIONS
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Medical imaging segmentation has emerged as a critical field within medical analysis, predominantly operating on thicker CT slices ( _>_ 1mm, usually 5mm) derived from post-processed versions of original thinner slices (generally _≤_ 1mm). While thin slices offer superior spatial resolution and diagnostic precision for clinicians, the scarcity of annotated data for supervision limits segmentation to thicker slices. Acquiring thin slice annotations for training a dedicated segmenter is resource and time-intensive, often requiring an order of magnitude more effort compared to annotating thick slices, making it impractical to accumulate sufficient high-quality thin annotations for robust supervised models. Furthermore, directly employing thick data to train models for thin slices faces significant domain gaps in scale. In response to these multifaceted challenges, we introduce three key contributions. Firstly, we propose a novel task of **segmenting thin scans using annotations from thicker slices** , addressing a practical clinical need. Secondly, we present the **CQ500-Thin** dataset, comprising Non-Contrast CT scans featuring Intracranial Hemorrhage (ICH) and expertly-labelled pixel-level thin annotations tailored for evaluation, accompanied by corresponding benchmarks and evaluation metrics. Lastly, we introduce the **Thin-Thick Adapter (TTA)** , a simple yet highly effective module that plays a pivotal role in bridging the domain gap between thin and thick scans. TTA has notably enhanced segmentation performance, boosting mDSC by 10 _._ 18% and mIoU by 12 _._ 34% compared to the vanilla nnUNet baseline. This substantial improvement extends the applicability of segmentation models, enabling their use in various clinical scenarios, including unsupervised approaches, and thus advancing the cutting-edge of medical imaging segmentation research. The code and dataset will be published under acceptance.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Segmentation has been a key focus of computer vision for an extended period and has important applications in medical imaging (Long et al., 2015). Medical images, derived from predominant modalities such as Computed Tomography (CT), Positron Emission Tomography (PET), and Magnetic Resonance Imaging (MRI), are inherently volumetric in nature, encompassing a threedimensional (3D) spatial representation (Singh et al., 2020). Consequently, the precision and accuracy of 3D segmentation is indispensable for tasks ranging from disease diagnosis to treatment planning.
|
| 14 |
+
|
| 15 |
+
Furthermore, among diagnostic imaging modalities, CT is one of the most commonly employed techniques (Muir & Santosh, 2005). CT scans produce two discernible image types based on slice thickness: thick slices and thin slices (Huang et al., 2021). Thick slices are derived either from thick scan acquisitions or by retrospective reconstruction of thin slices (Boxwala & Rosenman, 1994), while thin slices are acquired directly through thin scanning procedures. During the CT scanning process, the patient is positioned on the CT scanner table and gradually moved through the gantry, which houses the X-ray tube and detector array. This rotation and movement of the table are controlled by the pitch parameter (Wang & Vannier, 1999), which determines the distance the CT scanner table travels during each rotation of the X-ray tube. If the pitch number is greater than 1, it means that the table travels more than the width of the beam, i.e. there are gaps. In contrast, if the pitch number is less than 1, it means that the table travels less than the width of the beam, i.e. there is overlap. During prospective reconstruction, the pitch plays a crucial role
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
in determining the thickness of the resulting CT slices. A smaller pitch value indicates a smaller distance traveled by the table per rotation, resulting in thinner CT slices. This parameter directly influences the spatial resolution and image quality of the CT scans. The thin slices, in another words, is obtained from the prospective reconstruction of thin scan. After acquiring thin slices, a retrospective reconstruction (Boxwala & Rosenman, 1994) technique can be employed to obtain thick slices. This process involves utilizing an averaging algorithm, such as the average intensity projection (AIP) (Shirai et al., 2012), to merge multiple thin slices into a single thick slice. The thick slices can be generated with varying thicknesses and from different orientations, including axial, sagittal, and coronal planes (van Waes et al., 1983). Additionally, there are three different interval strategies for averaging thin slices into thick slices: contiguous, non-contiguous, and overlapped interval.
|
| 20 |
+
|
| 21 |
+
Thick slices exhibit diminished resolution along the depth axis, commonly referred to as z- resolution. In contrast, thin slices encapsulate more detailed volumetric information, thus offering superior capabilities for diagnosis. Unfortunately, publicly accessible CT datasets, accompanied by pixel-wise ground truth annotations, predominantly provide thick-slice acquisitions. However, there is a domain gap between thin and thick scans. The averaging nature of thick scans (compared to thin) can alter the noise statistics of images, as well as blur anatomic structures. Consequently, existing medical imaging segmentation methods underperform in thin-slice segmentation. As aforementioned, the manual annotation CT scans by an expert human annotator, such as a radiologist, is onerous given the laborious and time-intensive nature of this process. This challenge is further exacerbated when it comes to annotating thin slices, which involve a larger number of scans.
|
| 22 |
+
|
| 23 |
+
We chose the brain hemorrhage dataset for our study because it provided convenient access to both multi-semantic thick scans and unlabeled thin scans, some of which we already possessed.
|
| 24 |
+
|
| 25 |
+
Thus, the development of framework for segmenting thin slices based on thick-slice annotations is required to maximize the utility of thin slice acquisitions. In light of this, this paper introduces the following three key contributions as follows.
|
| 26 |
+
|
| 27 |
+
- We present an innovative problem formulation and scenario: the segmentation of exclusively thin slices, utilizing annotations originally designed for thick slices, without necessitating any paired annotations encompassing both thin and thick slices.
|
| 28 |
+
|
| 29 |
+
- We have released a dataset called **CQ500-Thin** , derived from the publicly available CQ500 dataset (Chilamkurthy et al., 2018). It comprises 374 thin Non-Contrast CT scans along with 15 expertly labelled pixel-level annotations for evaluation purposes. This dataset can also be utilized as a benchmark for future research.
|
| 30 |
+
|
| 31 |
+
- We have introduced a robust pipeline referred to as the **Thin-Thick Adapter** . This pipeline employs a straightforward yet effective data alignment technique, acting on thick slices to harmonize their shapes with thin slices. Additionally, we employ the 3D Cross Pseudo Supervision (3D-CPS) (Chen et al., 2021b; Huang et al., 2022) on nnUNet (Isensee et al., 2021) for unsupervised domain adaptation (UDA) to enhance the model’s performance on unlabeled thin slices, achieving superior results compared to existing methods in the context of thin slice segmentation tasks. Moreover, this pipeline serves as a sturdy baseline for addressing the problem at hand and lays the groundwork for future research endeavors in this domain.
|
| 32 |
+
|
| 33 |
+
## 2 RELATED WORKS
|
| 34 |
+
|
| 35 |
+
**3D Medical Imaging Segmentation** Transformer architectures, such as TransUNet (Chen et al., 2021a), Medical Transformer (Valanarasu et al., 2021), and TransBTS (Wang et al., 2021), are emerging as strong contenders to CNNs in medical image segmentation. They leverage self-attention to capture global contexts in medical images, transcending CNN’s local limits. Hybrid models like TransFuse (Zhang et al., 2021) and CoTr (Xie et al., 2021) blend Transformer and CNN strengths. Here, CNNs extract local features, while Transformers address global contexts, enriched by skip connections. Strategies such as proxy task pre-training in Swin UNETR (Hatamizadeh et al., 2021) optimize Transformer performance on smaller datasets.
|
| 36 |
+
|
| 37 |
+
On the other hand, CNN-based designs, like nnUNet (Isensee et al., 2021) and UNETR (Hatamizadeh et al., 2022), remain dominant due to their U-Net adaptations. For instance, UC-
|
| 38 |
+
|
| 39 |
+
2
|
| 40 |
+
|
| 41 |
+
TransNet (Wang et al., 2022) modifies skip connections with attention. nnFormer (Zhou et al., 2021) smoothly incorporates convolutional layers within its Transformer design, leveraging encoders like Swin Transformers in Swin UNETR (Hatamizadeh et al., 2021). This facilitates capturing hierarchical and volumetric representations, with self-supervised pre-training benefits echoing those in Transformer models. Historically, research primarily applied 2D methods to reconstruct 3D volumes slice-by-slice, leading to inconsistencies. Most methods focus on thick slice segmentation, limiting their adaptability to thin slices. Our Thin-Thick Adapter addresses this by using thick annotations for thin-slice segmentation.
|
| 42 |
+
|
| 43 |
+
**Interpolation and Super-resolution** In medical imaging, especially MRI, interpolation and super-resolution techniques have advanced significantly. The study by (Thanh & Hai, 2017) presents a 3D image construction from 2D MRI cortex images using a trilinear interpolation after preprocessing and applying the multilevel Otsu method for brain extraction. Conversely, (Ghoshal et al., 2023) introduces a technique using edge-preserved kriging interpolation for missing slice prediction, speeding up the process through parallel processing and then applying shearlet transform and the marching cubes method for visualization. This approach considerably accelerates reconstruction, even for large datasets.
|
| 44 |
+
|
| 45 |
+
Regarding super-resolution, (Brudfors et al., 2018) presents the UniRes generative model, which treats high-resolution image recovery as an inverse problem. Incorporating a multi-channel total variation prior, it exhibits enhanced MRI super-resolution capabilities. (Pinaya et al., 2022) harnesses Latent Diffusion Models for synthetic high-resolution 3D brain image generation, effectively using the UK Biobank dataset for realistic data generation with variable conditioning. Finally, (Lyu et al., 2020) proposes a method that integrates multiple contrast images in a high-level feature space for superior super-resolution, especially effective when starting with significantly down-sampled images.
|
| 46 |
+
|
| 47 |
+
**Unsupervised Domain Adaptation** In the arena of unsupervised domain adaptation (UDA) and deep learning robustness, several notable advancements have been made. The SDC-UDA (Shin et al., 2023) study introduces an innovative framework for slice-direction continuous cross-modality medical image segmentation. SDC-UDA leverages intra- and inter-slice self-attentive image translation, coupled with uncertainty-constrained pseudo-label refinement and volumetric self-training. Unlike previous UDA techniques in medical imaging, SDC-UDA ensures continuous segmentation in the slice direction, enhancing its accuracy and clinical utility. This method demonstrated superior slice-direction continuity and state-of-the-art segmentation performance across multiple datasets. In a separate vein, CANARY (Sun et al., 2023) addresses the challenge of evaluating the adversarial robustness of deep learning models. The CANARY platform utilizes a common scoring system, incorporating four dimensions and 26 (sub)metrics. It employs a two-way evaluation strategy and introduces Item Response Theory (IRT) to ensure fairness in scoring, thereby providing comprehensive evaluations of models or attack/defense algorithms. Lastly, the study (Yao et al., 2023) presents an augmentation technique tailored for the Segment Anything Model (SAM) to enhance its performance in segmenting noisy, low-contrast medical images. This method integrates multi-box prompt augmentation with an aleatoric uncertainty-based false-negative and false-positive correction strategy. Further, the introduction of the Single-Slice-to-Volume (SS2V) method allows 3D pixel-level segmentation from just a single 2D slice annotation, emphasizing SAM’s adaptability even in challenging medical imaging scenarios.
|
| 48 |
+
|
| 49 |
+
## 3 UNPAIRED THIN-SLICE SEGMENTATION USING THICK ANNOTATIONS
|
| 50 |
+
|
| 51 |
+
As previously mentioned, thin slices and thick slices belong to distinct domains, with thin slices often outperforming thick slices in various aspects. Consequently, there is a need to focus on segmenting thin slices exclusively. To address this, we have introduced a novel problem formulation: segmenting thin slices using only thick annotations, without the requirement for paired thin and thick slices or annotations. The necessity for this proposed problem formulation is outlined below.
|
| 52 |
+
|
| 53 |
+
**Utilizing Thick Annotations** We opted to utilize thick annotations instead of thin annotations due to the prohibitively high cost associated with pixel-level annotations for 3D CT volumes. Annotating thin slices at the pixel level is considerably more expensive than annotating thick slices. Con-
|
| 54 |
+
|
| 55 |
+
3
|
| 56 |
+
|
| 57 |
+
sequently, all existing publicly available pixel-level annotated Non-Contrast CT datasets primarily consist of thick slices, until the introduction of our CQ500-Thin dataset. Because the quantity of thin annotations is quite limited, both fully supervised training with thin annotations and pre-training on thick annotations followed by fine-tuning on thin annotations cannot attain optimal performance, which is demonstrated in Table 3. Furthermore, current 2D and 3D baseline models, trained on thick annotations, exhibit suboptimal performance. For instance, 2D segmentation methods like SegViT (Zhang et al., 2022; 2023) suffer from spiny and inconsistent predictions when viewed from sagittal and coronal perspectives. This inconsistency arises because they fail to learn the coherence and inter-slice relationships, resulting in masks that appear jagged. On the other hand, 3D segmentation methods like nnUNet (Isensee et al., 2021) encounter issues with blocky predictions when observed from sagittal and coronal orientations. This occurs due to their training on thick slices, which possess a different thickness compared to the thin slices. Thick slices and annotations are better suited for coarse-grained data, whereas thin slices are better for fine-grained data.
|
| 58 |
+
|
| 59 |
+
**Utilizing Unpaired Data** We employ unpaired data because the availability of datasets containing multi-semantic pixel-level annotations is notably scarce. Most of these datasets exclusively annotate thick slices. In fact, datasets with pixel-level annotations on thin slices are nearly nonexistent, let alone those containing paired thin-thick data. Consequently, addressing the challenge of thin-slice segmentation cannot be accomplished through joint-loss or registration methods, as there is a lack of paired thin-thick datasets. Consequently, utilizing unpaired datasets has enhanced the versatility, universality, and generalizability of our approach.
|
| 60 |
+
|
| 61 |
+
**Utilizing Domain Adaptation Approach** The key difference between thin and thick slices isn’t the number of slices, but rather the thickness of each individual slice, which collectively affects the depth resolution. Attempting to use thick slices to segment thin ones presents challenges due to issues such as partial volume artifacts, reduced spatial resolution, and noise averaging. This essentially means that multiple structures can be contained within a single voxel, leading to a loss of contrast resolution for small objects (partial voluming) and blurred edges for larger objects. Moreover, the images display differing noise statistics, resulting in a domain shift. In essence, the problems of losing contrast resolution for small objects and blurring the edges of larger objects are interconnected.
|
| 62 |
+
|
| 63 |
+
## 4 DATASET
|
| 64 |
+
|
| 65 |
+
**CQ500-Thin** CQ500-Thin is a dataset dedicated to Intracranial Hemorrhage, a subset derived from the publicly available CQ500 dataset (Chilamkurthy et al., 2018). It consists of 374 thin noncontrast CT scans, and we added pixel-level semantic segmentation annotations to 15 randomly selected scans. These annotations cover five semantic categories: Epidural Hemorrhage (EDH), Intraparenchymal Hemorrhage (IPH), Intraventricular Hemorrhage (IVH), Subarachnoid Hemorrhage (SAH), and Subdural Hemorrhage (SDH). The annotation process involved contributions from a neurologist, a junior doctor, and a medical student, with review by a radiologist.
|
| 66 |
+
|
| 67 |
+
**ROTEM-Thin** ROTEM-Thin originates from a private dataset within the ROTEM project, overseen by three doctors, comprising 389 thin non-contrast CT scans. We added pixel-level semantic segmentation annotations by randomly selecting 10 images, including the same five semantics as the CQ500-Thin dataset. This dataset serves as an internal benchmark to enhance the credibility and robustness of our proposed method.
|
| 68 |
+
|
| 69 |
+
## 5 METHODOLOGY
|
| 70 |
+
|
| 71 |
+
## 5.1 DATA ALIGNMENT
|
| 72 |
+
|
| 73 |
+
Let’s assume that for a single thick scan, its shape is denoted as ( _c, h, w, d_ ). Please note that, in the case of a Non-Contrast CT protocol, it is typical to have a single channel ( _c_ = 1). Additionally, for a head CT scan, the dimensions are generally set to _h_ = _w_ = 512 (Goldman, 2007; Wu et al., 2020).
|
| 74 |
+
|
| 75 |
+
The spacing, with respect to height, width, and depth, is defined as ( _sh, sw, sd_ ). Note that, in the case of a Non-Contrast CT scan, usually the _sh_ = _sw ≤_ 1mm (Goldman, 2007; Lolli et al., 2016).
|
| 76 |
+
|
| 77 |
+
4
|
| 78 |
+
|
| 79 |
+
**==> picture [278 x 159] intentionally omitted <==**
|
| 80 |
+
|
| 81 |
+
**----- Start of picture text -----**<br>
|
| 82 |
+
Data Alignment 3D-CPS<br>Adjust Thickness L cps [1]<br>Thick Slices and Duplication Thick SlicesAligned Prediction<br>nnUNet<br>Thick ScansLabeled Thick ScansAligned T1(X)<br>Y1(X)<br>Ground Truth<br>L sup [1]<br>(X1, Y1)<br>L sup [2]<br>Y1<br>Prediction<br>nnUNet<br>Unlabeled Thin Scans T2(X)<br>Forward Y2(X)<br>Backward (X2) L cps [2]<br>**----- End of picture text -----**<br>
|
| 83 |
+
|
| 84 |
+
Figure 1: This diagram illustrates the workflow of the Thin-Thick Adapter. Initially, labeled thick scans undergo thickness adjustment and duplication _n_ times, resulting in aligned thick scans. These scans are subsequently used to train nnUNet as a supervision. The addition of 3D-CPS and unlabeled thin data further enhances the performance of the Thin-Thick Adapter.
|
| 85 |
+
|
| 86 |
+
Hence, we can set _sthin_ = _sh_ = _sw_ . And the spacing in depth _sd_ is the thickness of slices. Therefore, we define the alignment coefficient as
|
| 87 |
+
|
| 88 |
+
**==> picture [225 x 20] intentionally omitted <==**
|
| 89 |
+
|
| 90 |
+
We can now duplicate each slice in the thick scans _n_ times and adjust the depth spacing to _sthin_ . As a result, the aligned thick data will have the shape ( _c, h, w, nd_ ), and the spacing will be ( _sthin, sthin, sthin_ ).
|
| 91 |
+
|
| 92 |
+
## 5.2 3D-CPS
|
| 93 |
+
|
| 94 |
+
The CPS is originally designed for 2D semi-supervised semantic segmentation (Chen et al., 2021b), it is adaptable for 3D unsupervised domain adaptation (Huang et al., 2022). The objective of a unsupervised domain adaptation (UDA) task is to train a segmentation network by utilizing both labeled _Dl_ and unlabeled _Du_ data. The proposed method comprises two parallel segmentation networks, denoted as F _T_ 1 and _T_ 2. These networks share the same architecture but have different initial weights, represented as _θ_ 1 and _θ_ 2.
|
| 95 |
+
|
| 96 |
+
The input data _X_ for UDA training undergoes preprocessing using the same pipeline as nnU-Net (Isensee et al., 2021), followed by applying the default data augmentation from nnU-Net. _T_ 1( _X_ ) and _T_ 2( _X_ ) generate predicted one-hot confidence maps based on the two parallel networks, while _Y_ 1( _X_ ) and _Y_ 2( _X_ ) produce predicted one-hot label maps derived from _T_ 1( _X_ ) and _T_ 2( _X_ ), respectively. The training objective consists of two key components: the supervision loss _Lsup_ and the crosspseudo supervision loss _Lcps_ , both are the combination of dice and cross-entropy losses, which are aligned with the default configured of nnU-Net’s joint loss. The cross-pseudo supervision loss, _Lcps_ , comprises two parts: _L[l] cps_[and] _[L][u] cps_[,][incorporating][the][CPS][loss][on][labeled][and][unlabeled] datasets. In this setup, the two parallel networks consider the output of the other network as their own pseudo-labels. The losses are formulated as:
|
| 97 |
+
|
| 98 |
+
**==> picture [327 x 11] intentionally omitted <==**
|
| 99 |
+
|
| 100 |
+
**==> picture [327 x 61] intentionally omitted <==**
|
| 101 |
+
|
| 102 |
+
where _λ_ serves as a hyper-parameter that must be predefined to determine the weight of the crosssupervision loss. We set _λ_ to increase linearly from 0 to 0.5, and it remains fixed after a specific epoch _ϵ_ , as opposed to having a constant value as in CPS.
|
| 103 |
+
|
| 104 |
+
5
|
| 105 |
+
|
| 106 |
+
## 6 EXPERIMENTS
|
| 107 |
+
|
| 108 |
+
## 6.1 EXPERIMENT SETUP
|
| 109 |
+
|
| 110 |
+
The Thin-Thick Adapter experiments consist of several steps. First, data alignment is applied to 191 pixel-level annotated thick slices from the BHSD dataset (Wu et al., 2023). Subsequently, this aligned thick data is combined with unlabeled data from various sources, including CQ500-Thin (359 unlabeled thin scans), ROTEM-Thin (379 unlabeled thin scans), or a combination of both (738 unlabeled thin scans). These datasets are utilized to perform 3D-CPS (Chen et al., 2021b; Huang et al., 2022) on the nnUNet backbone (Isensee et al., 2021), resulting in three distinct sets. The evaluation is conducted on sets of 15, 10, and 25 pixel-level annotated scans, respectively. We set _λ_ to increase linearly from 0 to 0.5, and it remains fixed after 500 epochs.
|
| 111 |
+
|
| 112 |
+
To ensure a fair comparison, the baseline approach involves training the nnUNet model on the 191 thick annotated scans from the BHSD dataset. Subsequently, this trained model is directly applied for inference on 15, 10, and 25 pixel-level annotated scans from CQ500-Thin, ROTEM-Thin, and both datasets, respectively, without any adaptation.
|
| 113 |
+
|
| 114 |
+
An alternative approach that may tackle the challenge of thin slice segmentation, as mentioned earlier, is to employ a state-of-the-art 2D semantic segmentation method. This involves training and inferring CT scans on a slice-by-slice basis and subsequently reconstructing the individual slices to form a complete 3D CT volume. In a manner similar to the 3D baseline (nnUNet), we disassembled 191 pixel-level annotated thick scans into individual slices and trained SegViT (Zhang et al., 2022) on these thick slices. Subsequently, we evaluated the performance of the trained model on thin evaluation sets.
|
| 115 |
+
|
| 116 |
+
We also applied two techniques, trilinear interpolation (Thanh & Hai, 2017) and UniRes (Brudfors et al., 2018), for super-resolution. Initially, these techniques were used to enhance the resolution of 191 thick scans from the BHSD dataset, making them isotropic among all three dimensions. In other words, we adjusted the spacing in the depth (slice thickness) to be consistent with their height and width. We also employed these techniques on the corresponding annotations, ensuring that the semantic content of the annotations remained unchanged. To achieve this, we used the semantics from the original annotations as a reference during the calibration process. Subsequently, we used these super-resolution 191 thick scans to train the nnUNet and assessed their performance on the three evaluation sets. The difference between the thick scans, trilinear interpolation, UniRes, aligned thick scans, and the corresponding thin scans, has been shown in Figure 2. It is obvious that interpolation and super-resolution techniques such as trilinear interpolation and UniRes introduce blur compared with original scans, and thick scans has average out noise than thin scans due to average intensity projection (AIP) (Shirai et al., 2012), as we mentioned in Section 1 and 3.
|
| 117 |
+
|
| 118 |
+
We selected nnUNet (Isensee et al., 2021) as our baseline because it is a convolutional architecture that surpasses transformer-based or convolutional-transformer hybrid architectures when working with limited data (Wu et al., 2023) due to its inherent CNN attributes, including locality and translation equivariance (Dosovitskiy et al., 2020). Furthermore, we chose 3D-CPS (Huang et al., 2022) as our unsupervised domain adaptation (UDA) technique because it outperforms other semi-supervised techniques (Wu et al., 2023) such as Entropy Minimization (Grandvalet & Bengio, 2004), Mean Teacher (Tarvainen & Valpola, 2017), or Interpolation Consistency (Verma et al., 2022).
|
| 119 |
+
|
| 120 |
+
All experiments were conducted on a hardware platform featuring two Intel Xeon Platinum 8360Y 2.40GHz CPUs, 8 NVIDIA A100 40G GPUs, and 256GB of RAM.
|
| 121 |
+
|
| 122 |
+
## 6.2 EVALUATION METRICS
|
| 123 |
+
|
| 124 |
+
**mDSC and aDSC** The mean Dice Similarity Coefficient (mDSC) is the mean of Dice Similarity Coefficients (DSCs) among all semantics, which is a commonly utilized evaluation metric in medical imaging segmentation applications. It quantifies the degree of overlap between the predicted segmentation _P_ and the corresponding ground truth segmentation _G_ . The mDSC value ranges between 0 and 1, with 0 indicating no overlap and 1 indicating a perfect match between the predicted 2 _P G_ and ground truth segmentations. Assume we have _n_ semantics, mDSC = ([�] _[n] i_ =1 _P_ + _G_[)] _[/n]_
|
| 125 |
+
|
| 126 |
+
6
|
| 127 |
+
|
| 128 |
+
**==> picture [238 x 139] intentionally omitted <==**
|
| 129 |
+
|
| 130 |
+
**----- Start of picture text -----**<br>
|
| 131 |
+
Thick Trilinear UniRes Data�Alignment Thin<br>Axial<br>Sagittal<br>Coronal<br>**----- End of picture text -----**<br>
|
| 132 |
+
|
| 133 |
+
Figure 2: The comparison between orginal thick scan, super-resolution techniques, data alignment techinque in our TTA, and the original thin scan. Please note that we did not use any paired thick and thin scans, this is just for demonstration.
|
| 134 |
+
|
| 135 |
+
In contrast, the class-agnostic Dice Similarity Coefficient (aDSC) is consider all the semantics as a single foreground semantic, essentially measuring the overall quality of segmentation regardless of specific foreground categories.
|
| 136 |
+
|
| 137 |
+
The aDSC is particularly valuable in assessing the accuracy of segmentation models, especially in situations where there is a substantial class imbalance. It provides a comprehensive measure of the segmentation performance, accounting for both the presence and absence of the segmented regions.
|
| 138 |
+
|
| 139 |
+
**mIoU and aIoU** The mean Intersection over Union (mIoU) is similar to the mDSC, which involves determining the intersection of the predicted and ground truth segmentations and dividing it by the union of their respective areas. The intersection represents the common region between the two segmentations, while the union represents the combined area of both the predicted and ground truth segmentations. It measures the degree of overlap between predicted _P_ and ground truth _G_ segmentation masks, providing an overall assessment of the model’s performance across all semantics. _P ∩G_ Assume we have _n_ semantics, mIoU = ([�] _[n] i_ =1 _P ∪G_[)] _[/n]_
|
| 140 |
+
|
| 141 |
+
The class-agnostic Intersection over Union (aIoU) treats all semantics as a unified foreground semantic. This essentially quantifies the overall segmentation quality without distinguishing specific foreground categories.
|
| 142 |
+
|
| 143 |
+
## 6.3 RESULTS
|
| 144 |
+
|
| 145 |
+
The results demonstrate that our proposed Thin-Thick Adapter (TTA) significantly outperforms all other methods, including the 3D nnUNet baseline, 2D SegViT, trilinear interpolation, and UniRes super-resolution, as shown in Table 1. Additionally, TTA effectively resolves the issues of blocky and spiny masks observed in the sagittal and coronal views, which are present in nnUNet and SegViT, and produces accurate predictions compared to trilinear interpolation and UniRes, as illustrated in Figure 3.
|
| 146 |
+
|
| 147 |
+
||CQ500-Thin<br>mDSC<br>aDSC<br>mIoU<br>aIoU|ROTEM-Thin<br>mDSC<br>aDSC<br>mIoU<br>aIoU|Both<br>mDSC<br>aDSC<br>mIoU<br>aIoU|
|
| 148 |
+
|---|---|---|---|
|
| 149 |
+
|nnUNet<br>SegViT<br>Trilinear<br>UniRes<br>**TTA (Ours)**|70.28<br>77.80<br>55.03<br>63.66<br>69.62<br>76.79<br>54.26<br>62.32<br>64.99<br>74.13<br>48.74<br>58.89<br>67.43<br>73.97<br>51.52<br>58.70<br>**77.54**<br>**83.62**<br>**64.33**<br>**71.86**|47.30<br>67.98<br>34.18<br>51.50<br>38.71<br>65.40<br>26.32<br>48.59<br>42.40<br>64.89<br>29.61<br>48.03<br>42.04<br>62.92<br>28.92<br>45.90<br>**59.69**<br>**75.64**<br>**47.68**<br>**60.82**|66.76<br>75.11<br>51.11<br>60.14<br>63.73<br>73.40<br>47.79<br>57.98<br>62.64<br>71.55<br>46.17<br>55.70<br>63.53<br>70.84<br>47.19<br>54.85<br>**76.94**<br>**81.36**<br>**63.45**<br>**68.57**|
|
| 150 |
+
|
| 151 |
+
Table 1: The comparative results clearly indicate that the proposed Thin-Thick Adapter outperforms the 3D baseline, 2D segmentation method, as well as interpolation and super-resolution techniques by a significant margin.
|
| 152 |
+
|
| 153 |
+
7
|
| 154 |
+
|
| 155 |
+
**==> picture [278 x 234] intentionally omitted <==**
|
| 156 |
+
|
| 157 |
+
**----- Start of picture text -----**<br>
|
| 158 |
+
Image GT nnUNet SegViT Trilinear UniRes<br>Axial<br>Sagittal<br>Coronal<br>Axial<br>Sagittal<br>Coronal<br>EDH IPH IVH SAH SDH<br>**----- End of picture text -----**<br>
|
| 159 |
+
|
| 160 |
+
Figure 3: The visual comparison presents inference masks generated by various methods alongside the ground truth (GT). It is evident that the nnUNet baseline’s inference mask in the sagittal and coronal planes appears blocky, while the SegViT 2D baseline’s inference mask in these planes seems spiny. Notably, our TTA consistently outperforms all methods across axial, coronal, and sagittal views.
|
| 161 |
+
|
| 162 |
+
## 6.4 ABLATION STUDIES
|
| 163 |
+
|
| 164 |
+
In this section, we conduct a thorough assessment of our Thin-Thick Adapter (TTA) across various settings, shown in Table 2. These ablation studies are designed to elucidate the impact of each component within the pipeline on the overall performance.
|
| 165 |
+
|
| 166 |
+
In the first experiment, we trained the nnUNet baseline on the 191 thick scans from BHSD and assessed its performance on 15, 10, and 25 thin scans from CQ500-Thin, ROTEM-Thin, and both, respectively. In the second experiment, we exclusively applied data augmentation (DA) to the 191 thick scans without any other techniques, and then evaluated the model on the same three evaluation sets. In the third experiment, we employed 3D-CPS with both the original 191 thick scans and the unlabeled scans from CQ500-Thin (359 thin scans), ROTEM-Thin (379 thin scans), and both (738 unlabeled thin scans) to train the nnUNet backbone, without implementing additional techniques. We evaluated this model on the previously mentioned evaluation sets. Finally, we used the proposed Thin-Thick Adapter, which trained on the aligned 191 thick scans with 359, 379, and 738 unlabeled thin scans respectively, and then assessed its performance on the thin evaluation sets.
|
| 167 |
+
|
| 168 |
+
The results demonstrate that the data alignment technique significantly contributed to our proposed method and cannot be substituted by unsupervised domain adaptation (UDA) techniques such as 3D-CPS. Furthermore, this ablation study shows that both data alignment and 3D-CPS techniques play a role in the effectiveness of the proposed Thin-Thick Adapter.
|
| 169 |
+
|
| 170 |
+
||CQ500-Thin<br>mDSC<br>aDSC<br>mIoU<br>aIoU|ROTEM-Thin<br>mDSC<br>aDSC<br>mIoU<br>aIoU|Both<br>mDSC<br>aDSC<br>mIoU<br>aIoU|
|
| 171 |
+
|---|---|---|---|
|
| 172 |
+
|nnUNet<br>+ DA<br>+ 3D-CPS|70.28<br>77.80<br>55.03<br>63.66<br>76.48+6.2 81.14+3.3 62.95+7.9 68.26+4.6<br>70.89+0.6 78.67+0.9 55.91+0.9 64.67+1.0|47.30<br>67.98<br>34.18<br>51.50<br>58.34+11.0 **77.03 +9.1**46.23+12.1 **62.64 +11.1**<br>48.47+1.2 69.01+1.0 35.37+1.2 52.91+1.4|66.76<br>75.11<br>51.11<br>60.14<br>74.73+8.0 79.95+4.8 60.62+9.5 66.60+6.5<br>67.40+0.6 76.09+1.0 52.03+0.9 61.37+1.2|
|
| 173 |
+
|**TTA (Ours)**|**77.54 +7.3 83.62 +5.8 64.33 +9.3 71.86 +8.2**|**59.69 +12.4** 75.64+7.7 **47.68 +13.5** 60.82+9.3|**76.94 +10.2 81.36 +6.3 63.45 +12.3 68.57 +8.4**|
|
| 174 |
+
|
| 175 |
+
Table 2: The results emphasize the vital role of data alignment in our proposed method, which cannot be replaced by unsupervised domain adaptation (UDA) techniques like 3D-CPS. Additionally, the ablation study highlights the joint contributions of data alignment and 3D-CPS techniques to the effectiveness of the Thin-Thick Adapter.
|
| 176 |
+
|
| 177 |
+
8
|
| 178 |
+
|
| 179 |
+
In the second ablation study presented in Table 3, our aim is to investigate the performance of two approaches in thin-slice segmentation when compared to our Thin-Thick Adapter. For this purpose, we randomly selected 5 volumes from the 25 annotated thin slices as the evaluation set.
|
| 180 |
+
|
| 181 |
+
In the first experiment, we initially trained nnUNet on 191 thick scans from BHSD and then assessed its performance on the 5 selected thin scans. In the second experiment, nnUNet was directly trained on the remaining 20 thin scans and evaluated on the same 5 thin scans. In the third experiment, nnUNet was first pre-trained on the 191 thick scans from BHSD, followed by fine-tuning on the 20 thin scans. The evaluation was conducted on the 5 thin scans in the evaluation set. In the last experiment, our proposed Thin-Thick Adapter was trained using the 191 labeled thick slices from BHSD and 738 unlabeled thin scans from both CQ500-Thin and ROTEM-Thin. Subsequently, we evaluated its performance on the same 5 thin scans.
|
| 182 |
+
|
| 183 |
+
Notably, the results clearly demonstrate the superior performance of our Thin-Thick Adapter compared to other methods. This ablation study reaffirms our earlier claim in Section 3 that, due to the limited number of annotated thin scans, achieving satisfactory performance is challenging with either supervised methods on thin scans or fine-tuning on them.
|
| 184 |
+
|
| 185 |
+
||mDSC<br>aDSC<br>mIoU<br>aIoU|
|
| 186 |
+
|---|---|
|
| 187 |
+
|nnUNet (Thick)<br>nnUNet (Thin)<br>nnUNet (Fine-tune)<br>**TTA (Ours)**|60.86<br>74.44<br>45.27<br>59.29<br>50.24<br>79.18<br>38.70<br>65.54<br>51.28<br>73.38<br>38.03<br>57.95<br>**74.50**<br>**83.61**<br>**60.38**<br>**71.83**|
|
| 188 |
+
|
| 189 |
+
Table 3: The results highlight our Thin-Thick Adapter’s superior performance over other methods, reaffirming the challenge of achieving satisfactory results with limited annotated thin scans using either supervised methods or fine-tuning.
|
| 190 |
+
|
| 191 |
+
We performed a third ablation study to investigate the impact of different ranges of the CPS loss hyper-parameter _λ_ , which was fixed after various epochs _ϵ_ , aiming to assess the method’s robustness. The results are presented in Table 4, indicating that adjusting _λ_ has a minor impact on performance. Furthermore, the hyper-parameter used in our comparative experiments, specifically _λ_ = 0 _→_ 0 _._ 5 and fixed after 500 epochs, remains the optimal configuration among others.
|
| 192 |
+
|
| 193 |
+
||CQ500-Thin<br>mDSC<br>aDSC<br>mIoU<br>aIoU|ROTEM-Thin<br>mDSC<br>aDSC<br>mIoU<br>aIoU|Both<br>mDSC<br>aDSC<br>mIoU<br>aIoU|
|
| 194 |
+
|---|---|---|---|
|
| 195 |
+
|_ϵ_= 0_, λ_= 0_._5<br>_ϵ_= 300_, λ_= 0_→_0_._5<br>_ϵ_= 700_, λ_= 0_→_0_._5|76.93<br>83.01<br>63.98<br>71.26<br>77.48<br>83.49<br>64.09<br>71.73<br>77.51<br>83.37<br>64.12<br>71.79|58.83<br>75.12<br>46.91<br>60.03<br>59.31<br>75.48<br>47.53<br>60.67<br>59.33<br>75.36<br>47.48<br>60.55|75.70<br>80.31<br>62.83<br>67.58<br>76.62<br>80.94<br>63.21<br>68.34<br>76.58<br>80.91<br>63.17<br>68.29|
|
| 196 |
+
|_ϵ_= 500_, λ_= 0_→_0_._3<br>_ϵ_= 500_, λ_= 0_→_0_._7|76.50<br>81.76<br>62.99<br>69.37<br>77.13<br>82.66<br>63.41<br>70.08|58.45<br>74.84<br>46.32<br>59.78<br>59.51<br>75.46<br>47.01<br>60.38|74.81<br>80.12<br>61.13<br>66.74<br>75.95<br>81.11<br>63.39<br>67.84|
|
| 197 |
+
|**_ϵ_ = 500****_, λ_ = 0****_→_0****_._5**|**77.54**<br>**83.62**<br>**64.33**<br>**71.86**|**59.69**<br>**75.64**<br>**47.68**<br>**60.82**|**76.94**<br>**81.36**<br>**63.45**<br>**68.57**|
|
| 198 |
+
|
| 199 |
+
Table 4: The ablations of different ranges of hyperparameters of the CPS loss, _λ_ and _ϵ_ , indicates the robustness of the proposed method. The optimal configuration is observed with hyperparameters _λ_ = 0 _→_ 0 _._ 5 and _ϵ_ = 500.
|
| 200 |
+
|
| 201 |
+
## 7 CONCLUSION
|
| 202 |
+
|
| 203 |
+
In conclusion, medical imaging segmentation faces a challenge when working with thinner CT slices due to the limited availability of annotated data for supervision. This study addresses this issue by introducing three significant contributions. Firstly, we propose segmenting thin slices using annotations originally designed for thicker slices, thus enhancing the clinical utility of thin slice data. Secondly, we introduce the CQ500-Thin dataset, which includes thin CT scans with expert annotations, providing a valuable benchmark for future research. Finally, we present the Thin-Thick Adapter, a robust pipeline that aligns thick and thin slices and employs 3D-CPS for unsupervised domain adaptation, achieving superior results in thin slice segmentation. These contributions not only advance the field of medical imaging segmentation but also reduce the annotation time required for thin scans.
|
| 204 |
+
|
| 205 |
+
9
|
| 206 |
+
|
| 207 |
+
## REFERENCES
|
| 208 |
+
|
| 209 |
+
- Aziz A Boxwala and Julian G Rosenman. Retrospective reconstruction of three-dimensional radiotherapy treatment plans of the thorax from two dimensional planning data. _International Journal of Radiation Oncology* Biology* Physics_ , 28(4):1009–1015, 1994.
|
| 210 |
+
|
| 211 |
+
- Mikael Brudfors, Ya¨el Balbastre, Parashkev Nachev, and John Ashburner. Mri super-resolution using multi-channel total variation. In _Medical Image Understanding and Analysis: 22nd Conference, MIUA 2018, Southampton, UK, July 9-11, 2018, Proceedings 22_ , pp. 217–228. Springer, 2018.
|
| 212 |
+
|
| 213 |
+
- Jieneng Chen, Yongyi Lu, Qihang Yu, Xiangde Luo, Ehsan Adeli, Yan Wang, Le Lu, Alan L Yuille, and Yuyin Zhou. Transunet: Transformers make strong encoders for medical image segmentation. _arXiv preprint arXiv:2102.04306_ , 2021a.
|
| 214 |
+
|
| 215 |
+
- Xiaokang Chen, Yuhui Yuan, Gang Zeng, and Jingdong Wang. Semi-supervised semantic segmentation with cross pseudo supervision. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 2613–2622, 2021b.
|
| 216 |
+
|
| 217 |
+
- Sasank Chilamkurthy, Rohit Ghosh, Swetha Tanamala, Mustafa Biviji, Norbert G Campeau, Vasantha Kumar Venugopal, Vidur Mahajan, Pooja Rao, and Prashant Warier. Development and validation of deep learning algorithms for detection of critical findings in head ct scans. _arXiv preprint arXiv:1803.05854_ , 2018.
|
| 218 |
+
|
| 219 |
+
- 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. _arXiv preprint arXiv:2010.11929_ , 2020.
|
| 220 |
+
|
| 221 |
+
- Somoballi Ghoshal, Shremoyee Goswami, Amlan Chakrabarti, and Susmita Sur-Kolay. Fast 3d volumetric image reconstruction from 2d mri slices by parallel processing. _arXiv preprint arXiv:2303.09523_ , 2023.
|
| 222 |
+
|
| 223 |
+
- Lee W Goldman. Principles of ct and ct technology. _Journal of nuclear medicine technology_ , 35(3): 115–128, 2007.
|
| 224 |
+
|
| 225 |
+
- Yves Grandvalet and Yoshua Bengio. Semi-supervised learning by entropy minimization. _Advances in neural information processing systems_ , 17, 2004.
|
| 226 |
+
|
| 227 |
+
- Ali Hatamizadeh, Vishwesh Nath, Yucheng Tang, Dong Yang, Holger R Roth, and Daguang Xu. Swin unetr: Swin transformers for semantic segmentation of brain tumors in mri images. In _International MICCAI Brainlesion Workshop_ , pp. 272–284. Springer, 2021.
|
| 228 |
+
|
| 229 |
+
- Ali Hatamizadeh, Yucheng Tang, Vishwesh Nath, Dong Yang, Andriy Myronenko, Bennett Landman, Holger R Roth, and Daguang Xu. Unetr: Transformers for 3d medical image segmentation. In _Proceedings of the IEEE/CVF winter conference on applications of computer vision_ , pp. 574– 584, 2022.
|
| 230 |
+
|
| 231 |
+
- Kai Huang, Dong Joo Rhee, Rachel Ger, Rick Layman, Jinzhong Yang, Carlos E Cardenas, and Laurence E Court. Impact of slice thickness, pixel size, and ct dose on the performance of automatic contouring algorithms. _Journal of applied clinical medical physics_ , 22(5):168–174, 2021.
|
| 232 |
+
|
| 233 |
+
- Yongzhi Huang, Hanwen Zhang, Yan Yan, and Haseeb Hassan. 3d cross-pseudo supervision (3dcps): A semi-supervised nnu-net architecture for abdominal organ segmentation. In _MICCAI Challenge on Fast and Low-Resource Semi-supervised Abdominal Organ Segmentation_ , pp. 87– 100. Springer, 2022.
|
| 234 |
+
|
| 235 |
+
- Fabian Isensee, Paul F Jaeger, Simon AA Kohl, Jens Petersen, and Klaus H Maier-Hein. nnunet: a self-configuring method for deep learning-based biomedical image segmentation. _Nature methods_ , 18(2):203–211, 2021.
|
| 236 |
+
|
| 237 |
+
- Valentina Lolli, Martina Pezzullo, Isabelle Delpierre, and Niloufar Sadeghi. Mdct imaging of traumatic brain injury. _The British journal of radiology_ , 89(1061):20150849, 2016.
|
| 238 |
+
|
| 239 |
+
10
|
| 240 |
+
|
| 241 |
+
- Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 3431–3440, 2015.
|
| 242 |
+
|
| 243 |
+
- Qing Lyu, Hongming Shan, Cole Steber, Corbin Helis, Chris Whitlow, Michael Chan, and Ge Wang. Multi-contrast super-resolution mri through a progressive network. _IEEE transactions on medical imaging_ , 39(9):2738–2749, 2020.
|
| 244 |
+
|
| 245 |
+
- KW Muir and C Santosh. Imaging of acute stroke and transient ischaemic attack. _Journal of Neurology, Neurosurgery & Psychiatry_ , 76(suppl 3):iii19–iii28, 2005.
|
| 246 |
+
|
| 247 |
+
- Walter HL Pinaya, Petru-Daniel Tudosiu, Jessica Dafflon, Pedro F Da Costa, Virginia Fernandez, Parashkev Nachev, Sebastien Ourselin, and M Jorge Cardoso. Brain imaging generation with latent diffusion models. In _MICCAI Workshop on Deep Generative Models_ , pp. 117–126. Springer, 2022.
|
| 248 |
+
|
| 249 |
+
- Hyungseob Shin, Hyeongyu Kim, Sewon Kim, Yohan Jun, Taejoon Eo, and Dosik Hwang. Sdcuda: Volumetric unsupervised domain adaptation framework for slice-direction continuous crossmodality medical image segmentation. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 7412–7421, 2023.
|
| 250 |
+
|
| 251 |
+
- K Shirai, K Nishiyama, T Katsuda, Y Ueda, M Miyazaki, K Tsujii, and S Ueyama. Maximum intensity projection (mip) and average intensity projection (aip) in image guided stereotactic body radiation therapy (sbrt) for lung cancer. _International Journal of Radiation Oncology, Biology, Physics_ , 84(3):S718, 2012.
|
| 252 |
+
|
| 253 |
+
- Satya P Singh, Lipo Wang, Sukrit Gupta, Haveesh Goli, Parasuraman Padmanabhan, and Bal´azs Guly´as. 3d deep learning on medical images: a review. _Sensors_ , 20(18):5097, 2020.
|
| 254 |
+
|
| 255 |
+
- Jiazheng Sun, Li Chen, Chenxiao Xia, Da Zhang, Rong Huang, Zhi Qiu, Wenqi Xiong, Jun Zheng, and Yu-An Tan. Canary: An adversarial robustness evaluation platform for deep learning models on image classification. _Electronics_ , 12(17):3665, 2023.
|
| 256 |
+
|
| 257 |
+
- Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. _Advances in neural information processing systems_ , 30, 2017.
|
| 258 |
+
|
| 259 |
+
- Cam QT Thanh and Nguyen T Hai. Trilinear interpolation algorithm for reconstruction of 3d mri brain image. _American Journal of Signal Processing_ , 7(1):1–11, 2017.
|
| 260 |
+
|
| 261 |
+
- Jeya Maria Jose Valanarasu, Poojan Oza, Ilker Hacihaliloglu, and Vishal M Patel. Medical transformer: Gated axial-attention for medical image segmentation. In _Medical Image Computing and Computer Assisted Intervention–MICCAI 2021: 24th International Conference, Strasbourg, France, September 27–October 1, 2021, Proceedings, Part I 24_ , pp. 36–46. Springer, 2021.
|
| 262 |
+
|
| 263 |
+
- PFGM van Waes, FW Zonneveld, and MAM Feldberg. Direct coronal and direct sagittal whole body computed tomography. In _Radiology Today_ , pp. 76–84. Springer, 1983.
|
| 264 |
+
|
| 265 |
+
- Vikas Verma, Kenji Kawaguchi, Alex Lamb, Juho Kannala, Arno Solin, Yoshua Bengio, and David Lopez-Paz. Interpolation consistency training for semi-supervised learning. _Neural Networks_ , 145:90–106, 2022.
|
| 266 |
+
|
| 267 |
+
- Ge Wang and Michael W Vannier. The effect of pitch in multislice spiral/helical ct. _Medical Physics_ , 26(12):2648–2653, 1999.
|
| 268 |
+
|
| 269 |
+
- Haonan Wang, Peng Cao, Jiaqi Wang, and Osmar R Zaiane. Uctransnet: rethinking the skip connections in u-net from a channel-wise perspective with transformer. In _Proceedings of the AAAI conference on artificial intelligence_ , volume 36, pp. 2441–2449, 2022.
|
| 270 |
+
|
| 271 |
+
- Wenxuan Wang, Chen Chen, Meng Ding, Hong Yu, Sen Zha, and Jiangyun Li. Transbts: Multimodal brain tumor segmentation using transformer. In _Medical Image Computing and Computer Assisted Intervention–MICCAI 2021: 24th International Conference, Strasbourg, France, September 27– October 1, 2021, Proceedings, Part I 24_ , pp. 109–119. Springer, 2021.
|
| 272 |
+
|
| 273 |
+
11
|
| 274 |
+
|
| 275 |
+
Biao Wu, Yutong Xie, Zeyu Zhang, Jinchao Ge, Kaspar Yaxley, Suzan Bahadir, Qi Wu, Yifan Liu, and Minh-Son To. Bhsd: A 3d multi-class brain hemorrhage segmentation dataset. In _International Workshop on Machine Learning in Medical Imaging_ , pp. 147–156. Springer, 2023.
|
| 276 |
+
|
| 277 |
+
- Dan Wu, Gang Wang, Bingyang Bian, Zhuohang Liu, and Dan Li. Benefits of low-dose ct scan of head for patients with intracranial hemorrhage. _Dose-Response_ , 18(1):1559325820909778, 2020.
|
| 278 |
+
|
| 279 |
+
- Yutong Xie, Jianpeng Zhang, Chunhua Shen, and Yong Xia. Cotr: Efficiently bridging cnn and transformer for 3d medical image segmentation. In _Medical Image Computing and Computer Assisted Intervention–MICCAI 2021: 24th International Conference, Strasbourg, France, September 27– October 1, 2021, Proceedings, Part III 24_ , pp. 171–180. Springer, 2021.
|
| 280 |
+
|
| 281 |
+
- Xing Yao, Han Liu, Dewei Hu, Daiwei Lu, Ange Lou, Hao Li, Ruining Deng, Gabriel Arenas, Baris Oguz, Nadav Schwartz, et al. False negative/positive control for sam on noisy medical images. _arXiv preprint arXiv:2308.10382_ , 2023.
|
| 282 |
+
|
| 283 |
+
- Bowen Zhang, Zhi Tian, Quan Tang, Xiangxiang Chu, Xiaolin Wei, Chunhua Shen, et al. Segvit: Semantic segmentation with plain vision transformers. _Advances in Neural Information Processing Systems_ , 35:4971–4982, 2022.
|
| 284 |
+
|
| 285 |
+
- Bowen Zhang, Liyang Liu, Minh Hieu Phan, Zhi Tian, Chunhua Shen, and Yifan Liu. Segvitv2: Exploring efficient and continual semantic segmentation with plain vision transformers. _arXiv preprint arXiv:2306.06289_ , 2023.
|
| 286 |
+
|
| 287 |
+
- Yundong Zhang, Huiye Liu, and Qiang Hu. Transfuse: Fusing transformers and cnns for medical image segmentation. In _Medical Image Computing and Computer Assisted Intervention–MICCAI 2021: 24th International Conference, Strasbourg, France, September 27–October 1, 2021, Proceedings, Part I 24_ , pp. 14–24. Springer, 2021.
|
| 288 |
+
|
| 289 |
+
- Hong-Yu Zhou, Jiansen Guo, Yinghao Zhang, Lequan Yu, Liansheng Wang, and Yizhou Yu. nnformer: Interleaved transformer for volumetric segmentation. _arXiv preprint arXiv:2109.03201_ , 2021.
|
| 290 |
+
|
| 291 |
+
12
|
| 292 |
+
|
open_review/iclr2024_9136.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2024_9136",
|
| 3 |
+
"source": "iclr2024",
|
| 4 |
+
"source_year": 2024,
|
| 5 |
+
"title": "Cross-Lingual Transfer with Large Language Models via Adaptive Adapter Merging",
|
| 6 |
+
"abstract": "As an effective alternative to the direct fine-tuning on target tasks in specific languages, cross-lingual transfer addresses the challenges of limited training data by aligning representations across languages or by explicitly translating target languages into source languages. However, these methods possess certain limitations and fail to fully exploit the potential of Large Language Models (LLMs). In this paper, we regard the ability of LLMs in a particular task and language as a combination of \"task ability\" and \"language ability\". In the context of parameter-efficient fine-tuning and cross-lingual transfer, task ability is represented by adapters fine-tuning on the target task in the source language, while language ability is the ability to solve problems using the specific target language. In this work, we propose a novel adaptive adapter merging method for cross-lingual transfer, termed as $\\texttt{AdaMergeX}$. As language ability is not tied to any specific task, we introduce another easily accessible reference task from which language ability is obtained by adapter merging. Then by further merging it with adapters tuned on the target task in the source language, we can achieve effective cross-lingual transfer. Furthermore, unlike existing model merging methods that employ arithmetic addition, we propose a new structured-adaptive merging method that adapts the merging process based on the structure of adapters. Our empirical results demonstrate that our approach yields new and effective cross-lingual transfer, outperforming existing methods across all settings.",
|
| 7 |
+
"rebuttal": "### General Reply\nWe have updated a new PDF version, which includes several significant updates. The key changes are as follows:\n1. Updates Figure 1: We have made enhancements to Figure 1 and revised the related content in Introduction and Section 3.1 to better illustrate the novelty of $\\texttt{AdaMergeX}$ when decoupling task ability and language ability.\n2. Expanded Experiment on More Kinds of Adapters: Section 3.2 now includes an expanded experiment that explores the merging of more kinds of adapters. This illustrates the novelty of $\\texttt{AdaMergeX}$ on adapter merging.\n3. Expanded Experiment Results in Section 4.3: In response to valuable feedback, we have included additional baselines and conducted more comprehensive ablation analyses in our updated experiment results.\n4. Addressing Reviewer Feedback: We have taken into account the writing issues raised by the reviewers and made the necessary revisions to ensure clarity and coherence.\n\nWe greatly appreciate the valuable input you have provided.\n\n### General Response to Experiment\n1. **More ablation analysis on source language.**\n\n We have added more experiments to support the generalizability of our approach. We test on five source languages including German, French, Spanish, Thai, Vietnamese. Results are listed here, and the dataset was tested on the available languages, including German, French, Spanish, Thai, and Vietnamese. We consistently find that $\\texttt{AdaMergeX}$ performs well across various source languages.\n\n Results with LoRA:\n\n | Source Language | Method | MGSM | XCOPA | XNLI | XQUAD | Avg. |\n | ------ [...]\n\n### General Response to Novelty\n1. **Novelty of \"decompose language and task abilities\"**\n\n Previous studies, such as MAD-X [1] and LF-SFT [2], have endeavored to untangle language ability from task ability. However, these studies operate under the assumption that task ability and language ability can be distinctively represented through individual adapters, disregarding their inherent interdependence. This assumption is fundamentally flawed and necessitates significant improvement. In particular, these studies derived task ability by fine-tuning on an English training set, thereby compromis [...]\n\n### Response to CTKw\nWe thank the reviewer for your time and thorough response. We address the weaknesses and concerns of the reviewer below.\n\n\n\nW1 & W2: Novelty of \"decompose language and task abilities\"\n\nPlease refer to Response 1 in the Novelty part in the general response.\n\n\n\nW5: Novelty of \"adapter merging\"\n\nLet us first response to the weakness 5 as it is also related to the novelty of our method. Please refer to Response 2 in the Novelty part in the general response.\n\n\n\nW3 & Q2: Other XLT baselines\n\nPlease refer to Response 3 in the Experiment part in the general response.\n\n\n\nW4 & Q1: L [...]\n\n### Response to NmaX\nDear Reviewer NmaX,\n\nThank you very much for your appreciation of our work and valuable suggestions. We have seriously conducted more experiments to address your concerns. Specifically, we conducted experiments to verify the generalizability of our method corresponding to the source language, reference task, and backbone models. Please let us know if you have any other concerns. Thanks again for your time.\n\nBest regards,\nAuthors\n\n### Response to NmaX\nWe thank the reviewer for your time and thorough comment. We address the weaknesses and concerns of the reviewer below.\n\nQ1: Ablation study on adaptive merging method\n\nIn this ablation study, our aim is to demonstrate the crucial significance of the adaptive merging method. It emphasizes the necessity of applying different merging methods to corresponding adapters, as utilizing a cross-merging method would lead to a notable deterioration in performance.\n\n\nQ2: Generalizability on source languages\n\nPlease refer to Response 1 in the Experiment part in the general response.\n\n\n [...]\n\n### Response to PiPR\nWe thank the reviewer for your time and thorough response. We address the weaknesses and concerns of the reviewer below.\n\n\n\nW1.1: Standard Adapters\n\nThanks for the recommendation, yes, the training data is sufficient in the context of smaller models instead of LLMs such as Llama2. We have implemented it, please refer to Response 2 in the Novelty part in the general response.\n\n\n\nW1.2 & Q1: Sub-sampled testset\n\nWe include the entire test set in our evaluation for MGSM and XCOPA. However, for XNLI, XLSum, and XQuAD, we employ a sampling approach. Specifically, we randomly sel [...]\n\n### Response to tcUW\nWe thank the reviewer for your time and thorough response. We address the weaknesses and concerns of the reviewer below.\n\n\n\nW1.1: Training data\n\nFor training data of each dataset on the source language (mostly in English), we use default training data of each dataset.\n\n| Dataset | MGSM | XCOPA | XNLI | XQuAD | XLSum |\n| --------- | ---- | ----- | ---- | ----- | ----- |\n| #Training | 7.5k | 0.5k | 10k | 1.2k | 10k |\n\n\n\nW1.1: Test data\n\nWe include the entire test set in our evaluation for MGSM and XCOPA. However, for XNLI, XLSum, and XQuAD, we employ a sampling approa [...]\n\n### Rquest more discussion with Reviewer CTKw\nDear Reviewer CTKw,\n\nWe greatly appreciate your valuable comments on our work. We have carefully addressed your concerns regarding (1) the novelty of decomposing language ability and task ability; (2) more cross-lingual transfer baselines; (3) implementing our method on various adapters in the general response. As the deadline for discussion is approaching, we eagerly await your feedback on our response and new experiments.\n\nThank you for your time and consideration.\n\nBest regards,\nAuthors\n\n### Rquest more discussion with Reviewer PiPR\nDear Reviewer PiPR,\n\nWe appreciate you taking the time to review our work and your insightful feedback. We would like to discuss this further with you to see if there are any unresolved questions. Specifically, we have implemented our method on the following points.\n(1) We applied our met\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
8,
|
| 10 |
+
5,
|
| 11 |
+
3,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.75,
|
| 15 |
+
"score_variance": 5.58,
|
| 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 proposes AdaMergeX to improve cross-lingual transfer by merging language-specific generic-task adapters with task-specific adapters in a different language. To make the merging operation work, a new merging method is proposed that differs depending on whether LoRA or IA3-based adapters are being merged. The merging operation for LoRA adapters resembles past work, but the IA3 merging operation involves division and multiplication to reflect the structure of the IA3 updates (which represents the main novelty of this work). The proposed framework has strong performance, but reviewers were all generally concerned about this work not situating itself appropriately in the large literature on modular models and cross-lingual generalization. While the authors did include some additional baseline methods and discussion during the rebuttal, the scale of the issues with situating the work necessitates substantial more revision and resubmission.",
|
| 22 |
+
"forum_id": "y3CsNQal2l",
|
| 23 |
+
"primary_area": "transfer learning, meta learning, and lifelong learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_NmaX",
|
| 28 |
+
"review_id": "c1XgGaddUJ",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 8,
|
| 31 |
+
"soundness": 4,
|
| 32 |
+
"presentation": 4,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 2
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2381,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 775628,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_CTKw",
|
| 44 |
+
"review_id": "pkkm13n8pM",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 5
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 5731,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1901228,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_tcUW",
|
| 60 |
+
"review_id": "b4Dc4bWkd7",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 5
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2836,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 836491,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_PiPR",
|
| 76 |
+
"review_id": "6AD2w7sKu1",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 4216,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2246552,
|
| 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 |
+
}
|