ZHANGYUXUAN-zR commited on
Commit
3465403
·
verified ·
1 Parent(s): b502ef0

Add files using upload-large-folder tool

Browse files
parse/train/HkUfnZFt1Rw/HkUfnZFt1Rw.md ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DISSECTING GRAPH MEASURES PERFORMANCE FOR NODE CLUSTERING IN LFR PARAMETER SPACE
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Graph measures can be used for graph node clustering using metric clustering algorithms. There are multiple measures applicable to this task, and which one performs better is an open question. We study the performance of 25 graph measures on generated graphs with different parameters. While usually measure comparisons are limited to general measure ranking on a particular dataset, we aim to explore the performance of various measures depending on graph features. Using an LFR graph generator, we create a dataset of $\sim 7 5 0 0$ graphs covering the whole LFR parameter space. For each graph, we assess the quality of clustering with $k$ -means algorithm for every considered measure. We determine the best measure for every area of the parameter space. We find that the parameter space consists of distinct zones where one particular measure is the best. We analyze the geometry of the resulting zones and describe it with simple criteria. Given particular graph parameters, this allows us to choose the best measure to use for clustering.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Graph node clustering is one of the central tasks in graph structure analysis. It provides a partition of nodes into disjoint clusters, which are groups of nodes that are characterized by strong mutual connections. It can be of practical use for graphs representing real-life systems, such as social networks or industrial processes. Clustering allows to infer some information about the system: the nodes of the same cluster are highly similar, while the nodes of different clusters are dissimilar. The technique can be applied without any labeled data to extract important insights about a network.
12
+
13
+ There are different approaches to clustering, including ones based on modularity optimization (Newman & Girvan, 2004; Blondel et al., 2008), label propagation algorithm (Raghavan et al., 2007; Barber & Clark, 2009), Markov cluster process (Van Dongen, 2000; Enright et al., 2002), and spectral clustering (Von Luxburg, 2007). In this work, we use a different approach based on choosing a closeness measure on a graph, which allows one to use any metric clustering algorithm (e.g., Yen et al., 2009).
14
+
15
+ The choice of the measure significantly affects the quality of clustering. Classical measures are the Shortest Path (Buckley & Harary, 1990) and the Commute Time (Gobel & Jagers, 1974) distances. ¨ The former is the minimum number of edges in a path between a given pair of nodes. The latter is the expected number of steps from one node to the other and back in a random walk on the graph. There is a number of other measures, including recent ones (e.g., Estrada & Silver, 2017; Jacobsen & Tien, 2018), many of them are parametric. Despite the fact that graph measures are compatible with any metric algorithm, in this paper we restrict ourselves to the kernel $k$ -means algorithm (e.g., Fouss et al., 2016).
16
+
17
+ We base our research on a generated set of graphs. There are various algorithms to generate graphs with community structures. The well-known ones are the Stochastic Block Model (Holland et al., 1983) and Lancichinetti–Fortunato–Radicchi benchmark (Lancichinetti et al., 2008) (hereafter, LFR). The first one is an extension of the Erdos–R ˝ enyi model with different intra- and in- ´ tercluster probabilities of edge creation. The second one involves power law distributions of node degrees and community sizes. There are other generation models, e.g., Naive Scale-free Clustering (Pasta & Zaidi, 2017). We choose the LFR model: although it misses some key properties of real graphs, like diameter or the clustering coefficient, this model has been proven to be effective in meta-learning (Prokhorenkova, 2019).
18
+
19
+ There are a lot of measure benchmarking studies considering node classification and clustering for both generated graphs and real-world datasets (Fouss et al., 2012; Sommer et al., 2016; 2017; Avrachenkov et al., 2017; Ivashkin & Chebotarev, 2016; Guex et al., 2018; 2019; Aynulin, 2019a;b; Courtain et al., 2020; Leleux et al., 2020), etc. Despite a large number of experimental results, theoretical results are still a matter of the future. One of the most interesting theoretical results on graph measures is the work by Luxburg et al. (2010), where some unattractive features of the Commute Time distance on large graphs were explained theoretically, and a reasonable amendment was proposed to fix the problem. Beyond the complexity of such proofs, there is still very little empirical understanding of what effects need to be proven. Our empirical work has two main differences from the previous ones. First, we consider a large number of graph measures, which for the first time gives a fairly complete picture. Second, unlike these studies concluding with a global leaderboard, we are looking for the leading measures for each set of the LFR parameters.
20
+
21
+ We aim to explore the performance of of the 25 most popular measures in the graph clustering problem on a set of generated graphs with various parameters. We assess the quality of clustering with every considered measure and determine the best measure for every region of the graph parameter space.
22
+
23
+ Our contributions are as follows:
24
+
25
+ • We generate a dataset of $\sim 7 5 0 0$ graphs covering all parameter space of LFR generator;
26
+ • We consider a broad set of measures and rank measures by clustering performance on this dataset;
27
+ • We find the regions of certain measure leadership in the graph parameter space;
28
+ • We determine the graph features that are responsible for measure leadership;
29
+ • We check the applicability of the results on real-world graphs.
30
+
31
+ Our framework for clustering with graph measures as well as a collected dataset are available on link_is_not_available_during_blind_review.
32
+
33
+ # 2 DEFINITIONS
34
+
35
+ # 2.1 KERNEL $k$ -MEANS
36
+
37
+ The original $k$ -means algorithm (Lloyd, 1982; MacQueen et al., 1967) clusters objects in Euclidean space. It requires coordinates of the objects to determine the distances between them and centroids. The algorithm can be generalized to use the degree of closeness between the objects without defining a particular space. This technique is called the kernel trick, usually it is used to bring non-linearity to linear algorithms. The algorithm that uses the kernel trick is called kernel $k$ -means (see, e.g., Fouss et al., 2016). For graph node clustering scenario, we can use graph measures as kernels for the kernel $k$ -means.
38
+
39
+ Initially, the number of clusters is known and we need to set initial state of centroids. The results of the clustering with $k$ -means are very sensitive to it. Usually, the algorithm runs several times with different initial states (trials) and chooses the best trial. There are different approaches to the initialization; we consider three of them: random data points, $k$ -means $^ { + + }$ (Arthur & Vassilvitskii, 2006), and random partition. We combine all these strategies to reduce the impact of the initialization strategy on the result.
40
+
41
+ # 2.2 CLOSENESS MEASURES
42
+
43
+ For a given graph $G$ , $V ( G )$ is the set of its vertices and $A$ is its adjacency matrix. A measure on $G$ is a function $\kappa \colon V ( G ) \times V ( G ) \to \mathbb { R }$ , which gets two nodes and returns closeness (bigger means closer) or distance (bigger means farther).
44
+
45
+ A kernel on a graph is a graph nodes’ closeness measure that has an inner product representation. Any symmetric positive semidefinite matrix is an inner product matrix (also called Gram matrix). A kernel matrix $K$ is a square matrix that contains similarities for all pairs of nodes in a graph.
46
+
47
+ To use kernel $k$ -means, we need kernels. Despite that not all closeness measures we consider are Gram matrices, we treat them as kernels. The applicability of this approach was confirmed in Fouss et al. (2016). For the list of measures bellow, we use the word “kernel” only for the measures that satisfy the strict definition of kernel.
48
+
49
+ Classical measures are Shortest Path distance (Buckley & Harary, 1990) (SP) and Commute Time distance (Gobel & Jagers, 1974) (CT). SP is the minimum number of edges in a path between a ¨ given pair of nodes. CT is the expected lengths of random walks between two nodes. SP and CT are defined as distances, so we need to transform them into similarities to use as kernels. We apply the following distance to closeness transformation (Chebotarev & Shamis, 1998a; Borg & Groenen, 2005):
50
+
51
+ $$
52
+ K = - H { \mathcal { D } } H ; H = I - E / n ,
53
+ $$
54
+
55
+ where $\mathcal { D }$ is a distance matrix, $E$ is the matrix of ones, $I$ is the identity matrix, and $n$ is the number of nodes.
56
+
57
+ In this paper, we examine 25 graph measures (or, more exactly, 25 parametric families of measures). We present these measures grouped by type similarly to (Avrachenkov et al., 2017):
58
+
59
+ • Adjacency Matrix $A$ based kernels and measures. – Katz kernel: $K _ { \alpha } ^ { \mathrm { K a t z } } = ( I - \alpha A ) ^ { - 1 }$ , $0 < \alpha < \rho ^ { - 1 }$ , where $\rho$ is the spectral radius of $A$ . (Katz, 1953) (also known as Walk proximity (Chebotarev & Shamis, 1998b) or von Neumann diffusion kernel (Kandola et al., 2003; Shawe-Taylor & Cristianini et al., 2004)). – Communicability kernel $K _ { t } ^ { \mathrm { C o m m } } = \mathrm { e x p m } ( t A )$ , $t > 0$ , where expm means matrix exponential (Fouss et al., 2006; Estrada & Hatano, 2007; 2008). – Double Factorial closeness: $\begin{array} { r } { K _ { t } ^ { \mathrm { D F } } = \sum _ { k = 0 } ^ { \operatorname* { i n f } } \frac { t ^ { k } } { k ! ! } A ^ { k } } \end{array}$ , $t > 0$ (Estrada & Silver, 2017).
60
+
61
+ • Laplacian Matrix $L = D - A$ based kernels and measures, where $D = \mathrm { D i a g } ( A \cdot { \bf 1 } )$ is the degree matrix of $G$ , $\operatorname { D i a g } ( \mathbf { x } )$ is the diagonal matrix with vector $\mathbf { X }$ on the main diagonal.
62
+
63
+ – Forest kernel: $K _ { t } ^ { \mathrm { F o r } } ~ = ~ ( I + t L ) ^ { - 1 }$ , $t > 0$ (also known as Regularized Laplacian kernel) (Chebotarev & Shamis, 1995).
64
+ – Heat kernel: $K _ { t } ^ { \mathrm { H e a t } } = \mathrm { e x p m } ( - t L )$ , $t > 0$ (Chung & Yau, 1998).
65
+ – Normalized Heat kernel: $K _ { t } ^ { \mathrm { N H e a t } } = \mathrm { e x p m } ( - t \mathcal { L } )$ , $\mathcal { L } = D ^ { - \frac { 1 } { 2 } } L D ^ { - \frac { 1 } { 2 } }$ , $t > 0$ (Chung, 1997).
66
+ – Absorption kernel: $K _ { t } ^ { \mathrm { A b s } } = ( t A + L ) ^ { - 1 }$ , $t > 0$ (Jacobsen & Tien, 2018).
67
+
68
+ • Markov Matrix $P = D ^ { - 1 } A$ based kernels and measures.
69
+
70
+ – Personalized PageRank closeness: $K _ { \alpha } ^ { \mathrm { P P R } } = ( I - \alpha P ) ^ { - 1 }$ , $0 \textless \alpha \textless 1$ (Page et al., 1999).
71
+ – Modified Personalized PageRank: $K _ { \alpha } ^ { \mathrm { M P P R } } = ( I - \alpha P ) ^ { - 1 } D ^ { - 1 } = ( D - \alpha A ) ^ { - 1 } ,$ , $0 < \alpha < 1$ (Kirkland $\&$ Neumann, 2012).
72
+ – PageRank heat closeness: $K _ { t } ^ { \mathrm { H P R } } = \exp \mathrm { m } ( - t ( I - P ) )$ , $t > 0$ (Chung, 2007).
73
+ – Randomized Shortest Path distance. Using $P$ and the matrix of the SP distances $C$ first get $Z$ (Yen et al., 2008):
74
+
75
+ $$
76
+ \begin{array} { r } { W = P \circ \exp ( - \beta C ) ; Z = ( I - W ) ^ { - 1 } . } \end{array}
77
+ $$
78
+
79
+ Then $S = ( Z ( C \circ W ) Z ) \div Z$ ; $\bar { C } = S - \mathbf { e } \mathrm { d i a g } ( S ) ^ { T }$ , and finally, ${ \mathcal { D } } _ { \mathrm { R S P } } = ( { \bar { C } } + { \bar { C } } ^ { T } ) / 2$ . Here $\circ$ and $\div$ are element-wise multiplication and division. Kernel version $K ^ { \mathrm { R S P } } ( t )$ can be obtained with equation 1.
80
+
81
+ – Free Energy distance. Using $Z$ from equation 2: $Z ^ { h } \ = \ Z { \mathrm { D i a g } } ( Z ) ^ { - 1 }$ ; $\Phi \_ { } = $ $- 1 / \beta \log Z ^ { h }$ ; $\mathcal { D } _ { \mathrm { F E } } = ( \Phi + \bar { \Phi ^ { T } } ) / 2$ (Kivimaki et al., 2014). Kernel version ¨ $K ^ { \mathrm { F E } } ( t )$ can be obtained with equation 1.
82
+
83
+ • Sigmoid Commute Time kernels.
84
+
85
+ – Sigmoid Commute Time kernel:
86
+
87
+ $$
88
+ K _ { t } ^ { \mathrm { S C T } } = \sigma ( - t K ^ { \mathrm { C T } } / \mathrm { s t d } ( K ^ { \mathrm { C T } } ) ) , t > 0 ,
89
+ $$
90
+
91
+ where $\sigma$ is an element-wise sigmoid function $\sigma ( x ) = 1 / ( 1 + e ^ { - x } )$ (Yen et al., 2007).
92
+
93
+ Table 1: Short names of considered kernels and other measures.
94
+
95
+ <table><tr><td rowspan="3">Family Adjacency matrix</td><td colspan="2">Short name</td><td></td></tr><tr><td>Plain</td><td>Logarithmic</td><td></td></tr><tr><td>measure</td><td>measure</td><td>Full name Katz kernel</td></tr><tr><td rowspan="2">based kernels</td><td>Katz Comm</td><td>logKatz logComm</td><td>Communicability kernel</td></tr><tr><td>DF</td><td>logDF</td><td>Double Factorial closeness</td></tr><tr><td rowspan="4">Laplacian based kernels</td><td>For</td><td>logFor</td><td>Forest kernel</td></tr><tr><td>Heat</td><td>logHeat</td><td>Heat kernel</td></tr><tr><td>NHeat</td><td>logNHeat</td><td>Normalized Heat kernel</td></tr><tr><td>Abs</td><td>logAbs</td><td>Absorption kernel</td></tr><tr><td rowspan="4">Markovmatrix based kernels and measures</td><td>PPR MPPR</td><td>logPPR</td><td>Personalized PageRank closeness</td></tr><tr><td>HPR</td><td>logMPPR</td><td>Modified Personalized PageRank</td></tr><tr><td></td><td>logHPR</td><td>PageRank heat closeness</td></tr><tr><td>RSP FE</td><td>=</td><td>Randomized Shortest Path kernel</td></tr><tr><td rowspan="2">Sigmoid Commute Time</td><td>SCT</td><td>1</td><td>Free Energy kernel Sigmoid Commute Time kernel</td></tr><tr><td>SCCT</td><td>=</td><td>Sigmoid Corrected Commute Time kernel</td></tr><tr><td rowspan="2"></td><td>SP-CT</td><td></td><td></td></tr><tr><td></td><td>1</td><td>linear combination of SP and CT</td></tr></table>
96
+
97
+ – Sigmoid Corrected Commute Time kernel. First of all, we need the Corrected Commute Time kernel (Luxburg et al., 2010):
98
+
99
+ $$
100
+ K ^ { \mathrm { C C T } } = H D ^ { - { \frac { 1 } { 2 } } } M ( I - M ) ^ { - 1 } M D ^ { - { \frac { 1 } { 2 } } } H ; M = D ^ { - { \frac { 1 } { 2 } } } \Big ( A - \frac { \vec { \bf d } \vec { \bf d } ^ { T } } { \mathrm { v o l } ( G ) } \Big ) D ^ { - { \frac { 1 } { 2 } } }
101
+ $$
102
+
103
+ where $H$ is the centering matrix $H = I - E / n$ , $\vec { \bf d }$ is the vector of diagonal elements of $D$ and $\mathrm { v o l } ( G )$ is the sum of all elements of $A$ . Then, apply equation 3 replacing $K ^ { \mathrm { C T } }$ with $K ^ { \mathrm { C C T } }$ to obtain $K ^ { \mathrm { S C C T } }$ .
104
+
105
+ Occasionally, element-wise logarithm is applied to the resulting kernel matrix (Chebotarev, 2013; Ivashkin $\&$ Chebotarev, 2016). We apply it to almost all investigated measures and consider the resulting measures separately from their plain versions (see Table 1). For some measures, like Forest kernel, this is well-known practice (Chebotarev, 2013), while for others, like Double Factorial closeness, this transformation, to the best of our knowledge, is applied for the first time. The considered measures and their short names are summarized in Table 1.
106
+
107
+ # 3 DATASET
108
+
109
+ We collected a paired dataset of graphs and the corresponding results of clustering with each measure mentioned in Table 1. In this section, we describe the graph generator, the sampling strategy, the calculated graph features, and the pipeline for the measure score calculation.
110
+
111
+ We use Lancichinetti–Fortunato–Radicchi (LFR) graph generator. It generates non-weighted graphs with ground truth non-overlapping communities. The model has mandatory parameters: the number of nodes $n$ ${ \mathrm { ~ ~ n ~ } } > 0 ,$ , the power law exponent for the degree distribution $\tau _ { 1 }$ $\mathit { \check { \tau } _ { 1 } } > 1 \mathit { \check { \tau } _ { \mathrm { , } } }$ , the power law exponent for the community size distribution $\tau _ { 2 }$ $( \tau _ { 2 } ~ > ~ 1 )$ , the fraction of intra-community edges incident to each node $\mu$ $0 \leq \mu \leq 1 )$ ), and either minimum degree (min degree) or average degree (avg degree). There are also extra parameters: maximum degree (max degree), minimum community size (min community), maximum community size (max community). Not the whole LFR parameter space corresponds to common real-world graphs; most of such graphs are described with $\tau _ { 1 } ~ \in ~ [ 1 , 4 ]$ and $\mu \ : < \ : 0 . 5$ (e.g., Fotouhi et al., 2019). However, there is also an interesting case of bipartite/multipartite-like graphs with $\mu > 0 . 5$ . Moreover, many of the datasets studied in Section 5 have $\tau _ { 1 } > 4$ . Our choice is to consider the entire parameter space to cover all theoretical and practical cases.
112
+
113
+ For the generation, we consider $1 0 < n < 1 5 0 0$ . It is impossible to generate a dataset with a uniform distribution of all LFR parameters, because $\tau _ { 1 }$ and $\tau _ { 2 }$ parameters are located on rays. We transform $\tau _ { 1 }$ and $\tau _ { 2 }$ to $\tilde { \tau _ { i } } = 1 - ( 1 / \sqrt { \tau _ { i } } ) , i = 1 , 2$ to bring their scope to the $[ 0 , 1 ]$ interval. In this case, “realistic” settings with $\tau _ { 1 } \in [ 1 , 4 ]$ take up $50 \%$ of the variable range. Also, as avg degree feature is limited by the $n$ of a particular graph, we decided to replace it with density (avg degree/ $( n { - } 1 ) )$ . It is not dependent on $n$ and belongs to $[ 0 , 1 ]$ . Using all these considerations, we collected our dataset by uniformly sampling parameters for LFR generator from the set $[ n , \tilde { \tau } _ { 1 } , \tilde { \tau } _ { 2 } , \mu$ , density] and generating graphs with these parameters. Additionally, we filter out all disconnected graphs.
114
+
115
+ ![](images/94e9d4844b8285e314e071ffb3f2f6dd30ffde4310a9a475e836731ad9512533.jpg)
116
+ Figure 1: Distribution of graph features in the dataset
117
+
118
+ In total, we generated 7396 graphs. It is worth noting that the generator fails for some sets of parameters, so the resulting dataset is not uniform (see Fig. 1). In our study, non-uniformity is not a very important issue, because we are interested in local effects, not global leadership. Moreover, true uniformity for LFR parameter space is impossible, due to the unlimited scope of parameters.
119
+
120
+ For our research, we choose a minimum set of the features that describe particular properties of graphs and are not interchangeable.
121
+
122
+ The LFR parameters can be divided in three groups by the graph properties they reflect:
123
+
124
+ • The size of the graph and the communities: $n , \tau _ { 1 }$ , min community, max community;
125
+ • The density and uniformity of the node degrees distribution: $\tau _ { 2 }$ , min degree, avg degree, max degree. As avg degree depends on $n$ , it is distributed exponentially, so we use log(avg degree) instead;
126
+ • The cluster separability: $\mu$ . As $\mu$ parameter considers only the ratio between the number of inter-cluster edges and the number of nodes but ignores overall density, we use modularity (Newman & Girvan, 2004) as a more appropriate measure for cluster separability.
127
+
128
+ ![](images/f87f7ddfe7340ba93c18fe511c5012c5342ef0d84239b578efe2f3f391b6661d.jpg)
129
+ Figure 2: Measuring ARI clustering score for a particular graph, measure, and measure parameter
130
+
131
+ Thus, the defined set of features $[ n , \tau _ { 1 } , \tau _ { 2 }$ , avg degree, modularity] is enough to consider all graph properties mentioned above. Although modularity is a widely used measure, it suffers from resolution limit problems (Fortunato & Barthelemy, 2007). We acknowledge that this may cause some limitations in our approach, which should be the topic of further research.
132
+
133
+ Table 2: The overall leaderboard. The win percentage is calculated among all 7396 graphs in the dataset. The ARI column shows the mean ARI across the dataset.
134
+
135
+ <table><tr><td>#</td><td>Measure</td><td>Rank</td><td>Wins, %</td><td>ARI</td><td>#</td><td>Measure</td><td>Rank</td><td>Wins, %</td><td>ARI</td></tr><tr><td>1</td><td>SCCT</td><td>4.7</td><td>56.0</td><td>0.58</td><td>14</td><td>DF</td><td>11.0</td><td>8.1</td><td>0.28</td></tr><tr><td>2</td><td>NHeat</td><td>6.9</td><td>25.2</td><td>0.40</td><td>15</td><td>logAbs</td><td>12.1</td><td>15.9</td><td>0.33</td></tr><tr><td>3</td><td>RSP</td><td>7.7</td><td>22.4</td><td>0.42</td><td>16</td><td>logComm</td><td>12.6</td><td>15.5</td><td>0.23</td></tr><tr><td>4</td><td>SCT</td><td>8.4</td><td>19.5</td><td>0.40</td><td>17</td><td>logFor</td><td>13.0</td><td>12.7</td><td>0.22</td></tr><tr><td>5</td><td>Comm</td><td>8.4</td><td>15.8</td><td>0.36</td><td>18</td><td>HeatPR</td><td>13.4</td><td>12.5</td><td>0.22</td></tr><tr><td>6</td><td>logNHeat</td><td>8.8</td><td>18.0</td><td>0.37</td><td>19</td><td>logHeat</td><td>13.6</td><td>11.9</td><td>0.21</td></tr><tr><td>7</td><td>SP-CT</td><td>9.0</td><td>20.4</td><td>0.41</td><td>20</td><td>Heat</td><td>14.7</td><td>11.2</td><td>0.19</td></tr><tr><td>8</td><td>logHeatPR</td><td>9.2</td><td>18.0</td><td>0.37</td><td>21</td><td>logDF</td><td>14.8</td><td>11.1</td><td>0.18</td></tr><tr><td>9</td><td>FE</td><td>9.5</td><td>19.3</td><td>0.39</td><td>22</td><td>PPR</td><td>16.7</td><td>4.0</td><td>0.13</td></tr><tr><td>10</td><td>Katz</td><td>9.8</td><td>7.7</td><td>0.32</td><td>23</td><td>Abs</td><td>18.6</td><td>3.7</td><td>0.08</td></tr><tr><td>11</td><td>logKatz</td><td>9.9</td><td>18.1</td><td>0.35</td><td>24</td><td>For</td><td>19.3</td><td>2.8</td><td>0.07</td></tr><tr><td>12</td><td>logPPR</td><td>10.0</td><td>17.5</td><td>0.35</td><td>25</td><td>ModifPPR</td><td>20.5</td><td>1.7</td><td>0.05</td></tr><tr><td>13</td><td>logModifPPR</td><td>10.5</td><td>17.3</td><td>0.35</td><td></td><td></td><td></td><td></td><td></td></tr></table>
136
+
137
+ For every generated graph, we calculate the top ARI score for every measure (Hubert & Arabie, 1985). We choose ARI as a clustering score which is both popular and unbiased (Gosgens et al., ¨ 2019). As soon as every measure has a parameter, we perform clustering for a range of parameter values (we transform the parameter to become in the [0, 1] interval and then choose 16 values linearly spaced from 0 to 1). For each value, we run $6 + 6 + 6$ trials of $k$ -means (6 trials for each of three initialization methods).
138
+
139
+ Fig. 2 shows the pipeline we use to calculate ARI score for a given LFR parameter set, a measure, and a measure parameter. Measure parameters are not the subject of our experiments, so for every measure we just take the result of the measure with the value of the parameter that gives the best ARI score.
140
+
141
+ Because of the need to iterate over graphs, measures, parameter values, and initializations, the task is computationally difficult. The total computation time was 20 days on 18 CPU cores and 6 GPUs.
142
+
143
+ # 4 RESULTS
144
+
145
+ # 4.1 GLOBAL LEADERSHIP IN LFR SPACE
146
+
147
+ We rank the measures by their ARI score on every graph of the dataset. The rank is defined as the position of the measure in this list, averaged over the dataset (see Table 2). It is important to note that the global leadership does not give a comprehensive advice on which measure is better to use, because for a particular graph, the global leader can perform worse than the others. Here we consider the entire LFR space, not just its zone corresponding to common real-world graphs, so the ranking may differ from those obtained for restricted settings.
148
+
149
+ As SCCT is the winner for both ranking and percentage of wins, we can say for sure that it is the global winner for the LFR space graphs. Other measures still can be leaders in some zones of the feature space.
150
+
151
+ # 4.2 FEATURE IMPORTANCE STUDY
152
+
153
+ First of all, we find out which graph features are important for the choice of the best measure and which are not. To do that, we use Linear Discriminant Analysis (Mika et al., 1999) (LDA). This method finds a new basis in the feature space to classify a dataset in the best way. It also shows how many components of basis are required to fit the majority of data.
154
+
155
+ Fig. 3a shows that the first two components take about $90 \%$ of the explained variance. Fig. 3b shows that these components include only $\tau _ { 1 }$ , avg degree, and modularity. The fact that $n$ is not used means that the size of the graph as well as the density are not of primary importance for choosing the best measure. So is not $\tau _ { 2 }$ measuring the diversity of cluster sizes.
156
+
157
+ ![](images/0bd8fcae444182bb890f34dfe5fa2f534fccbc423006501df41aac01e87c3458.jpg)
158
+ Figure 3: The results of LDA components.
159
+
160
+ Fig. 4 shows the point cloud projected on the space of the two main components of LDA. We see a confirmation that the measures are indeed zoned, but the areas are quite noisy. To detect the zones of measure leadership, we need to know the leadership on average in every area of space, rather than the wins in particular points. To define the local measure leadership in the whole space, we need to introduce a filtering algorithm that for every point of the space returns the measure leadership depending on the closest data points. As the choice of measure is actually dependent only on three features, we can limit our feature space to $[ \tau _ { 1 }$ , avg degree, modularity].
161
+
162
+ ![](images/987397c1772a927349e58b530d6fa6c770b22f058ba7a3de3c97fd0595b8fe5a.jpg)
163
+ Figure 4: The dataset projected on the two main components of LDA; the point color represents the winning measure for each graph
164
+
165
+ # 4.3 GAUSSIAN FILTER IN FEATURE SPACE
166
+
167
+ Using a filter in the feature space, we can suppress the noise and find actual zones of leadership for the measures. We use the Gaussian filter with a scale parameter $\sigma$ . For every given point of the space, it takes the data points that are closer than $3 \sigma$ and averages ARIs of the chosen points with a weight $e ^ { - \mathrm { d i s t } ^ { 2 } / 2 \sigma ^ { 2 } }$ . This allows to give larger weights to closer points. If there are less than three data points inside the sphere with a $3 \sigma$ radius, the filter returns nothing, allowing to ignore the points with insufficient data.
168
+
169
+ Before applying the filter, we prepare the dataset. First, we only take the points with only one winning measure, because multiple winners can confuse the filter. Then we normalize the standard
170
+
171
+ deviation of every feature distribution to one. Finally, we cut off the long tail of distant data points.
172
+ The resulting number of graphs is 5201.
173
+
174
+ To choose $\sigma$ , we apply the filter with different $\sigma$ and look at the number of connected components in the feature space. The needed $\sigma$ should be large enough to suppress the noise, however, it should not suppress small zones. Guided by this heuristic, we choose $\sigma = 0 . 5$ .
175
+
176
+ Table 3: The leaderboard of measure wins after filtering with $\sigma = 0 . 5$
177
+
178
+ <table><tr><td colspan="10">1oomoom</td><td rowspan="2"></td><td colspan="10">1H8o</td></tr><tr><td>Measure Wins</td><td>SCCS 4283</td><td>441</td><td>JHe 268</td><td></td><td>uom 78</td><td>64</td><td>3 56</td><td>E 3</td><td></td><td>A 3</td><td>5 2</td><td></td><td>1</td><td>J8o 1</td></tr></table>
179
+
180
+ After filtering with $\sigma = 0 . 5$ , the leaderboard of measure wins is changed (see Table 3). Only six measures keep their positions: SCCT, NHeat, logComm, Comm, logDF, and RSP. This means that these measures do have zones of leadership, otherwise they would be filtered out. We can plot the entire feature space colored by the leadership zones of the measures (Fig. 5). As the resulting space is 3D, we show slices of it by each of the three coordinates.
181
+
182
+ ![](images/6753805399d1d24f663771f2e1b233600464691b7c41335d14ebeabe0ec5aa53.jpg)
183
+ Figure 5: The feature space $[ \tau _ { 1 }$ , avg degree, modularity] divided into the leadership zones of six measures. The yellow points represent the positions of real-world datasets under study in the space.
184
+
185
+ # 5 REAL-WORLD DATASETS
186
+
187
+ Even though LFR lacks some characteristics of real-world graphs, there is evidence that the optimal parameter of the Louvain clustering for a real graph is close to the parameter for LFR graphs generated from the features of a real one (Prokhorenkova, 2019). So, there is a chance that the learned space might be helpful for choosing measures in the wild.
188
+
189
+ For evaluation, we use 29 graphs of standard datasets: Dolphins (Lusseau et al., 2003), Football (Newman & Girvan, 2004), Karate club (Zachary, 1977), Newsgroups (9 subsets, weights are binarized with threshold 0.1) (Yen et al., 2007), Political blogs (Adamic & Glance, 2005), Political books (Newman, 2006), SocioPatterns Primary school day (2 graphs) (Stehle et al., 2011), Cora (11 ´ subsets) (McCallum et al., 2000), Eu-core (Leskovec et al., 2007), EuroSIS (WebAtlas, 2009). The parameters of these graphs are marked in Fig. 5. For each graph, we found the best ARI for every measure (iterating over the measure parameter value). Now we can check the quality of measure choice, based on the found LFR data. The result of LFR recommendation is the measure that is chosen for the set of parameters corresponding to the dataset in hand.
190
+
191
+ Table 4: Mean ARI of the LFR recommended strategies for datasets. Top6 stands for the set of measures that have their zones in the LFR parameter space.
192
+
193
+ <table><tr><td>Strategy</td><td>Mean ARI</td></tr><tr><td>AlwaystakeSCCT Based on LFR space, top6 measures</td><td>0.61 0.62</td></tr><tr><td>Based on LFR space,all measures</td><td>0.62</td></tr><tr><td>Upper bound</td><td>0.64</td></tr></table>
194
+
195
+ The best measures on the considered datasets are SCCT (by the mean ARI) and SCT (by the rank). This is pretty similar to the results obtained for LFR. Moreover, Spearman correlation between the ranks of measures for the datasets and for the corresponding LFR recommendations is 0.90.
196
+
197
+ Let us use “always take SCCT” as our baseline strategy. In Table 4 we compare it with strategies based on the LFR space. We obtain LFR recommendation using $k \mathrm { n n }$ as a well-proven method for meta-learning. Since each graph is unique, the result of 1nn can be very noisy, thus we use 5nn.
198
+
199
+ Table 4 shows that the recommendation approach slightly beats the baseline. Reducing the number of measures from 25 to 6 do not drop the quality. However, this quality increase is not enough to draw confident conclusions about the advantages of the method. Using this fact and the fact that the ranks on datasets and recommendations are highly correlated, we conclude that the metalearning procedure is adequate to give a robust recommendation, but not precise enough to beat the baseline confidently. This may be due to the fact that that the nodes of real graphs were not labeled systematically since they were created in the wild. A larger dataset could help separate the signal from the noise and pinpoint where the limits of the method are. At least, the good news is that the conclusions made on the LFR basis do not contradict the results obtained on the datasets.
200
+
201
+ # 6 CONCLUSIONS
202
+
203
+ In this work, we have shown that the global leadership of measures does not provide comprehensive knowledge about graph measures. We demonstrated that among 25 measures, SCCT is the best measure for the LFR graphs both by winning rate and ranking. However, there are also smaller confident zones of leadership for NHeat, Comm, logComm, logDF, and RSP.
204
+
205
+ Our results do not contradict those of other experimental works and rather expand them by providing new findings. LogComm was first introduced in Ivashkin & Chebotarev (2016) and won in the competitions on graphs generated with a fixed set of SBM parameters. This study confirms its leadership, but only for a certain type of graphs. Another interesting finding is logDF, which unexpectedly shows good performance for the graphs with low modularity and low average degree.
206
+
207
+ This study is based on the LFR benchmark data. An attempt to apply the results to real data gives the quality slightly above the baseline. However, there is a strong correlation between the ranking of measures for datasets and the ranking of LFR recommendation, which indicates that the leading measures are the same, while the recommendations are not precise enough.
208
+
209
+ It can be noted that our study is insensitive to the non-uniformity of the generated dataset. While manipulations with this dataset may affect the global leaderboard, they cannot change the local leadership studied in this work.
210
+
211
+ # REFERENCES
212
+
213
+ Lada A. Adamic and Natalie Glance. The political blogosphere and the 2004 us election: divided they blog. In Proceedings of the 3rd International Workshop on Link Discovery, pp. 36–43, 2005.
214
+
215
+ David Arthur and Sergei Vassilvitskii. k-means $^ { + + }$ : The advantages of careful seeding. Technical report, Stanford University, 2006.
216
+
217
+ Konstantin Avrachenkov, Pavel Chebotarev, and Dmytro Rubanov. Kernels on graphs as proximity measures. In International Workshop on Algorithms and Models for the Web-Graph, pp. 27–41. Springer, 2017.
218
+
219
+ Rinat Aynulin. Efficiency of transformations of proximity measures for graph clustering. In International Workshop on Algorithms and Models for the Web-Graph, pp. 16–29. Springer, 2019a.
220
+
221
+ Rinat Aynulin. Impact of network topology on efficiency of proximity measures for community detection. In International Conference on Complex Networks and Their Applications, pp. 188– 197. Springer, 2019b.
222
+
223
+ Michael J. Barber and John W. Clark. Detecting network communities by propagating labels under constraints. Physical Review E, 80(2):026129, 2009.
224
+
225
+ Vincent D. Blondel, Jean-Loup Guillaume, Renaud Lambiotte, and Etienne Lefebvre. Fast unfolding of communities in large networks. Journal of Statistical Mechanics: Theory and Experiment, 2008(10):P10008, 2008.
226
+
227
+ Ingwer Borg and Patrick J. F. Groenen. Modern Multidimensional Scaling: Theory and Applications. Springer Science & Business Media, 2005.
228
+
229
+ Fred Buckley and Frank Harary. Distance in Graphs. Addison-Wesley, 1990.
230
+
231
+ Pavel Chebotarev. Studying new classes of graph metrics. In International Conference on Geometric Science of Information, pp. 207–214. Springer, 2013.
232
+
233
+ Pavel Chebotarev and Elena Shamis. On the proximity measure for graph vertices provided by the inverse Laplacian characteristic matrix. In Abstracts of the Conference “Linear Algebra and its Applications”, pp. 6–7, Manchester, UK, 1995. University of Manchester.
234
+
235
+ Pavel Chebotarev and Elena Shamis. On a duality between metrics and $\Sigma$ -proximities. Automation and Remote Control, 59(4):608–612, 1998a.
236
+
237
+ Pavel Chebotarev and Elena Shamis. On proximity measures for graph vertices. Automation and Remote Control, 59(10):1443–1459, 1998b.
238
+
239
+ Fan Chung. The heat kernel as the pagerank of a graph. Proceedings of the National Academy of Sciences, 104(50):19735–19740, 2007.
240
+
241
+ Fan Chung and Shing-Tung Yau. Coverings, heat kernels and spanning trees. Journal of Combinatorics, 6:163–184, 1998.
242
+
243
+ Fan R. K. Chung. Spectral Graph Theory, volume 92. American Mathematical Soc., 1997.
244
+
245
+ Sylvain Courtain, Pierre Leleux, Ilkka Kivimaki, Guillaume Guex, and Marco Saerens. Randomized ¨ shortest paths with net flows and capacity constraints. Information Sciences, 2020. To appear.
246
+
247
+ Anton J. Enright, Stijn Van Dongen, and Christos A. Ouzounis. An efficient algorithm for large-scale detection of protein families. Nucleic Acids Research, 30(7):1575–1584, 2002.
248
+
249
+ Ernesto Estrada and Naomichi Hatano. Statistical-mechanical approach to subgraph centrality in complex networks. Chemical Physics Letters, 439(1-3):247–251, 2007.
250
+
251
+ Ernesto Estrada and Naomichi Hatano. Communicability in complex networks. Physical Review E, 77(3):036111, 2008.
252
+
253
+ Ernesto Estrada and Grant Silver. Accounting for the role of long walks on networks via a new matrix function. Journal of Mathematical Analysis and Applications, 449(2):1581–1600, 2017.
254
+
255
+ Santo Fortunato and Marc Barthelemy. Resolution limit in community detection. Proceedings of the National Academy of Sciences, 104(1):36–41, 2007.
256
+
257
+ Babak Fotouhi, Naghmeh Momeni, Benjamin Allen, and Martin A Nowak. Evolution of cooperation on large networks with community structure. Journal of the Royal Society Interface, 16(152): 20180677, 2019.
258
+
259
+ Francois Fouss, Luh Yen, Alain Pirotte, and Marco Saerens. An experimental investigation of graph kernels on a collaborative recommendation task. In Sixth International Conference on Data Mining (ICDM’06), pp. 863–868. IEEE, 2006.
260
+
261
+ Franc¸ois Fouss, Kevin Francoisse, Luh Yen, Alain Pirotte, and Marco Saerens. An experimental investigation of kernels on graphs for collaborative recommendation and semisupervised classification. Neural Networks, 31:53–72, 2012.
262
+
263
+ Franc¸ois Fouss, Marco Saerens, and Masashi Shimbo. Algorithms and Models for Network Data and Link Analysis. Cambridge University Press, 2016.
264
+
265
+ F. Gobel and A. A. Jagers. Random walks on graphs. ¨ Stochastic Processes and Their Applications, 2(4):311–336, 1974.
266
+
267
+ Martijn Gosgens, Liudmila Prokhorenkova, and Alexey Tikhonov. Systematic analysis of cluster ¨ similarity indices: Towards bias-free cluster validation. arXiv preprint arXiv:1911.04773, 2019.
268
+
269
+ Guillaume Guex, Ilkka Kivimaki, and Marco Saerens. Randomized optimal transport on a graph: ¨ framework and new distance measures. arXiv preprint arXiv:1806.03232, 2018.
270
+
271
+ Guillaume Guex, Sylvain Courtain, and Marco Saerens. Covariance and correlation kernels on a graph in the generalized bag-of-paths formalism. arXiv preprint arXiv:1902.03002, 2019.
272
+
273
+ Paul W. Holland, Kathryn Blackmond Laskey, and Samuel Leinhardt. Stochastic blockmodels: First steps. Social Networks, 5(2):109–137, 1983.
274
+
275
+ Lawrence Hubert and Phipps Arabie. Comparing partitions. Journal of Classification, 2(1):193–218, 1985.
276
+
277
+ Vladimir Ivashkin and Pavel Chebotarev. Do logarithmic proximity measures outperform plain ones in graph clustering? In International Conference on Network Analysis, pp. 87–105. Springer, 2016.
278
+
279
+ Karly A. Jacobsen and Joseph H. Tien. A generalized inverse for graphs with absorption. Linear Algebra and its Applications, 537:118–147, 2018.
280
+
281
+ Jaz Kandola, Nello Cristianini, and John S. Shawe-Taylor. Learning semantic similarity. In Advances in Neural Information Processing Systems, pp. 673–680, 2003.
282
+
283
+ Leo Katz. A new status index derived from sociometric analysis. Psychometrika, 18(1):39–43, 1953.
284
+
285
+ Stephen J. Kirkland and Michael Neumann. Group Inverses of M-matrices and Their Applications. CRC Press, 2012.
286
+
287
+ Ilkka Kivimaki, Masashi Shimbo, and Marco Saerens. Developments in the theory of randomized ¨ shortest paths with a comparison of graph node distances. Physica A: Statistical Mechanics and its Applications, 393:600–616, 2014.
288
+
289
+ Andrea Lancichinetti, Santo Fortunato, and Filippo Radicchi. Benchmark graphs for testing community detection algorithms. Physical Review E, 78(4):046110, 2008.
290
+
291
+ Pierre Leleux, Sylvain Courtain, Guillaume Guex, and Marco Saerens. Sparse randomized shortest paths routing with tsallis divergence regularization. arXiv preprint arXiv:2007.00419, 2020.
292
+
293
+ Jure Leskovec, Jon Kleinberg, and Christos Faloutsos. Graph evolution: Densification and shrinking diameters. ACM Transactions on Knowledge Discovery from Data (TKDD), 1(1, Art. 2):1–41, 2007.
294
+
295
+ Stuart Lloyd. Least squares quantization in pcm. IEEE Transactions on Information Theory, 28(2): 129–137, 1982.
296
+
297
+ David Lusseau, Karsten Schneider, Oliver J. Boisseau, Patti Haase, Elisabeth Slooten, and Steve M. Dawson. The bottlenose dolphin community of doubtful sound features a large proportion of long-lasting associations. Behavioral Ecology and Sociobiology, 54(4):396–405, 2003.
298
+
299
+ Ulrike V. Luxburg, Agnes Radl, and Matthias Hein. Getting lost in space: Large sample analysis of the resistance distance. In Advances in Neural Information Processing Systems, pp. 2622–2630, 2010.
300
+
301
+ James MacQueen et al. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, volume 14, pp. 281–297. Oakland, CA, USA, 1967.
302
+
303
+ Andrew Kachites McCallum, Kamal Nigam, Jason Rennie, and Kristie Seymore. Automating the construction of internet portals with machine learning. Information Retrieval, 3(2):127–163, 2000.
304
+
305
+ Sebastian Mika, Gunnar Ratsch, Jason Weston, Bernhard Scholkopf, and Klaus-Robert Mullers. Fisher discriminant analysis with kernels. In Neural Networks for Signal Processing IX: Proceedings of the 1999 IEEE Signal Processing Society Workshop, pp. 41–48. IEEE, 1999.
306
+
307
+ Mark E. J. Newman. Modularity and community structure in networks. Proceedings of the National Academy of Sciences, 103(23):8577–8582, 2006.
308
+
309
+ Mark E. J. Newman and Michelle Girvan. Finding and evaluating community structure in networks. Physical Review E, 69(2):026113, 2004.
310
+
311
+ Lawrence Page, Sergey Brin, Rajeev Motwani, and Terry Winograd. The PageRank citation ranking: Bringing order to the web. Technical report, Stanford InfoLab, 1999.
312
+
313
+ Muhammad Qasim Pasta and Faraz Zaidi. Topology of complex networks and performance limitations of community detection algorithms. IEEE Access, 5:10901–10914, 2017.
314
+
315
+ Liudmila Prokhorenkova. Using synthetic networks for parameter tuning in community detection. In International Workshop on Algorithms and Models for the Web-Graph, pp. 1–15. Springer, 2019.
316
+
317
+ Usha Nandini Raghavan, Reka Albert, and Soundar Kumara. Near linear time algorithm to detect ´ community structures in large-scale networks. Physical Review E, 76(3):036106, 2007.
318
+
319
+ John Shawe-Taylor and Nello Cristianini et al. Kernel Methods for Pattern Analysis. Cambridge University Press, 2004.
320
+
321
+ Felix Sommer, Franc¸ois Fouss, and Marco Saerens. Comparison of graph node distances on clustering tasks. In International Conference on Artificial Neural Networks, pp. 192–201. Springer, 2016.
322
+
323
+ Felix Sommer, Franc¸ois Fouss, and Marco Saerens. Modularity-driven kernel k-means for community detection. In International Conference on Artificial Neural Networks, pp. 423–433. Springer, 2017.
324
+
325
+ Juliette Stehle, Nicolas Voirin, Alain Barrat, Ciro Cattuto, Lorenzo Isella, Jean-Franc¸ois Pinton, ´ Marco Quaggiotto, Wouter Van den Broeck, Corinne Regis, and Bruno Lina et al. High-resolution ´ measurements of face-to-face contact patterns in a primary school. PloS One, 6(8):e23176, 2011.
326
+
327
+ Stijn Marinus Van Dongen. Graph Clustering by Flow Smulation. PhD thesis, Utrecht University, 2000.
328
+
329
+ Ulrike Von Luxburg. A tutorial on spectral clustering. Statistics and Computing, 17(4):395–416, 2007.
330
+
331
+ WebAtlas. Eurosis webmapping, 2009. URL http://www.webatlas.fr/exhibition/ eurosis/.
332
+
333
+ Luh Yen, Francois Fouss, Christine Decaestecker, Pascal Francq, and Marco Saerens. Graph nodes clustering based on the commute-time kernel. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp. 1037–1045. Springer, 2007.
334
+
335
+ Luh Yen, Marco Saerens, Amin Mantrach, and Masashi Shimbo. A family of dissimilarity measures between nodes generalizing both the shortest-path and the commute-time distances. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–793, 2008.
336
+
337
+ Luh Yen, Francois Fouss, Christine Decaestecker, Pascal Francq, and Marco Saerens. Graph nodes clustering with the sigmoid commute-time kernel: A comparative study. Data & Knowledge Engineering, 68(3):338–361, 2009.
338
+
339
+ Wayne W. Zachary. An information flow model for conflict and fission in small groups. Journal of Anthropological Research, 33(4):452–473, 1977.
parse/train/HkUfnZFt1Rw/HkUfnZFt1Rw_content_list.json ADDED
@@ -0,0 +1,1778 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DISSECTING GRAPH MEASURES PERFORMANCE FOR NODE CLUSTERING IN LFR PARAMETER SPACE ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 101,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Graph measures can be used for graph node clustering using metric clustering algorithms. There are multiple measures applicable to this task, and which one performs better is an open question. We study the performance of 25 graph measures on generated graphs with different parameters. While usually measure comparisons are limited to general measure ranking on a particular dataset, we aim to explore the performance of various measures depending on graph features. Using an LFR graph generator, we create a dataset of $\\sim 7 5 0 0$ graphs covering the whole LFR parameter space. For each graph, we assess the quality of clustering with $k$ -means algorithm for every considered measure. We determine the best measure for every area of the parameter space. We find that the parameter space consists of distinct zones where one particular measure is the best. We analyze the geometry of the resulting zones and describe it with simple criteria. Given particular graph parameters, this allows us to choose the best measure to use for clustering. ",
40
+ "bbox": [
41
+ 233,
42
+ 263,
43
+ 764,
44
+ 444
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 468,
55
+ 336,
56
+ 484
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Graph node clustering is one of the central tasks in graph structure analysis. It provides a partition of nodes into disjoint clusters, which are groups of nodes that are characterized by strong mutual connections. It can be of practical use for graphs representing real-life systems, such as social networks or industrial processes. Clustering allows to infer some information about the system: the nodes of the same cluster are highly similar, while the nodes of different clusters are dissimilar. The technique can be applied without any labeled data to extract important insights about a network. ",
63
+ "bbox": [
64
+ 174,
65
+ 500,
66
+ 823,
67
+ 583
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "There are different approaches to clustering, including ones based on modularity optimization (Newman & Girvan, 2004; Blondel et al., 2008), label propagation algorithm (Raghavan et al., 2007; Barber & Clark, 2009), Markov cluster process (Van Dongen, 2000; Enright et al., 2002), and spectral clustering (Von Luxburg, 2007). In this work, we use a different approach based on choosing a closeness measure on a graph, which allows one to use any metric clustering algorithm (e.g., Yen et al., 2009). ",
74
+ "bbox": [
75
+ 174,
76
+ 589,
77
+ 825,
78
+ 672
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "The choice of the measure significantly affects the quality of clustering. Classical measures are the Shortest Path (Buckley & Harary, 1990) and the Commute Time (Gobel & Jagers, 1974) distances. ¨ The former is the minimum number of edges in a path between a given pair of nodes. The latter is the expected number of steps from one node to the other and back in a random walk on the graph. There is a number of other measures, including recent ones (e.g., Estrada & Silver, 2017; Jacobsen & Tien, 2018), many of them are parametric. Despite the fact that graph measures are compatible with any metric algorithm, in this paper we restrict ourselves to the kernel $k$ -means algorithm (e.g., Fouss et al., 2016). ",
85
+ "bbox": [
86
+ 174,
87
+ 680,
88
+ 825,
89
+ 791
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "We base our research on a generated set of graphs. There are various algorithms to generate graphs with community structures. The well-known ones are the Stochastic Block Model (Holland et al., 1983) and Lancichinetti–Fortunato–Radicchi benchmark (Lancichinetti et al., 2008) (hereafter, LFR). The first one is an extension of the Erdos–R ˝ enyi model with different intra- and in- ´ tercluster probabilities of edge creation. The second one involves power law distributions of node degrees and community sizes. There are other generation models, e.g., Naive Scale-free Clustering (Pasta & Zaidi, 2017). We choose the LFR model: although it misses some key properties of real graphs, like diameter or the clustering coefficient, this model has been proven to be effective in meta-learning (Prokhorenkova, 2019). ",
96
+ "bbox": [
97
+ 174,
98
+ 799,
99
+ 825,
100
+ 924
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "There are a lot of measure benchmarking studies considering node classification and clustering for both generated graphs and real-world datasets (Fouss et al., 2012; Sommer et al., 2016; 2017; Avrachenkov et al., 2017; Ivashkin & Chebotarev, 2016; Guex et al., 2018; 2019; Aynulin, 2019a;b; Courtain et al., 2020; Leleux et al., 2020), etc. Despite a large number of experimental results, theoretical results are still a matter of the future. One of the most interesting theoretical results on graph measures is the work by Luxburg et al. (2010), where some unattractive features of the Commute Time distance on large graphs were explained theoretically, and a reasonable amendment was proposed to fix the problem. Beyond the complexity of such proofs, there is still very little empirical understanding of what effects need to be proven. Our empirical work has two main differences from the previous ones. First, we consider a large number of graph measures, which for the first time gives a fairly complete picture. Second, unlike these studies concluding with a global leaderboard, we are looking for the leading measures for each set of the LFR parameters. ",
107
+ "bbox": [
108
+ 174,
109
+ 103,
110
+ 825,
111
+ 270
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "We aim to explore the performance of of the 25 most popular measures in the graph clustering problem on a set of generated graphs with various parameters. We assess the quality of clustering with every considered measure and determine the best measure for every region of the graph parameter space. ",
118
+ "bbox": [
119
+ 174,
120
+ 277,
121
+ 823,
122
+ 333
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Our contributions are as follows: ",
129
+ "bbox": [
130
+ 174,
131
+ 340,
132
+ 390,
133
+ 354
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "• We generate a dataset of $\\sim 7 5 0 0$ graphs covering all parameter space of LFR generator; \n• We consider a broad set of measures and rank measures by clustering performance on this dataset; \n• We find the regions of certain measure leadership in the graph parameter space; \n• We determine the graph features that are responsible for measure leadership; \n• We check the applicability of the results on real-world graphs. ",
140
+ "bbox": [
141
+ 215,
142
+ 367,
143
+ 825,
144
+ 478
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "Our framework for clustering with graph measures as well as a collected dataset are available on link_is_not_available_during_blind_review. ",
151
+ "bbox": [
152
+ 174,
153
+ 489,
154
+ 823,
155
+ 518
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "2 DEFINITIONS ",
162
+ "text_level": 1,
163
+ "bbox": [
164
+ 176,
165
+ 540,
166
+ 316,
167
+ 556
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "2.1 KERNEL $k$ -MEANS ",
174
+ "text_level": 1,
175
+ "bbox": [
176
+ 174,
177
+ 571,
178
+ 343,
179
+ 587
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "The original $k$ -means algorithm (Lloyd, 1982; MacQueen et al., 1967) clusters objects in Euclidean space. It requires coordinates of the objects to determine the distances between them and centroids. The algorithm can be generalized to use the degree of closeness between the objects without defining a particular space. This technique is called the kernel trick, usually it is used to bring non-linearity to linear algorithms. The algorithm that uses the kernel trick is called kernel $k$ -means (see, e.g., Fouss et al., 2016). For graph node clustering scenario, we can use graph measures as kernels for the kernel $k$ -means. ",
186
+ "bbox": [
187
+ 174,
188
+ 598,
189
+ 825,
190
+ 696
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "Initially, the number of clusters is known and we need to set initial state of centroids. The results of the clustering with $k$ -means are very sensitive to it. Usually, the algorithm runs several times with different initial states (trials) and chooses the best trial. There are different approaches to the initialization; we consider three of them: random data points, $k$ -means $^ { + + }$ (Arthur & Vassilvitskii, 2006), and random partition. We combine all these strategies to reduce the impact of the initialization strategy on the result. ",
197
+ "bbox": [
198
+ 174,
199
+ 704,
200
+ 825,
201
+ 787
202
+ ],
203
+ "page_idx": 1
204
+ },
205
+ {
206
+ "type": "text",
207
+ "text": "2.2 CLOSENESS MEASURES ",
208
+ "text_level": 1,
209
+ "bbox": [
210
+ 176,
211
+ 806,
212
+ 377,
213
+ 820
214
+ ],
215
+ "page_idx": 1
216
+ },
217
+ {
218
+ "type": "text",
219
+ "text": "For a given graph $G$ , $V ( G )$ is the set of its vertices and $A$ is its adjacency matrix. A measure on $G$ is a function $\\kappa \\colon V ( G ) \\times V ( G ) \\to \\mathbb { R }$ , which gets two nodes and returns closeness (bigger means closer) or distance (bigger means farther). ",
220
+ "bbox": [
221
+ 174,
222
+ 832,
223
+ 825,
224
+ 875
225
+ ],
226
+ "page_idx": 1
227
+ },
228
+ {
229
+ "type": "text",
230
+ "text": "A kernel on a graph is a graph nodes’ closeness measure that has an inner product representation. Any symmetric positive semidefinite matrix is an inner product matrix (also called Gram matrix). A kernel matrix $K$ is a square matrix that contains similarities for all pairs of nodes in a graph. ",
231
+ "bbox": [
232
+ 176,
233
+ 882,
234
+ 823,
235
+ 924
236
+ ],
237
+ "page_idx": 1
238
+ },
239
+ {
240
+ "type": "text",
241
+ "text": "To use kernel $k$ -means, we need kernels. Despite that not all closeness measures we consider are Gram matrices, we treat them as kernels. The applicability of this approach was confirmed in Fouss et al. (2016). For the list of measures bellow, we use the word “kernel” only for the measures that satisfy the strict definition of kernel. ",
242
+ "bbox": [
243
+ 174,
244
+ 103,
245
+ 823,
246
+ 160
247
+ ],
248
+ "page_idx": 2
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "Classical measures are Shortest Path distance (Buckley & Harary, 1990) (SP) and Commute Time distance (Gobel & Jagers, 1974) (CT). SP is the minimum number of edges in a path between a ¨ given pair of nodes. CT is the expected lengths of random walks between two nodes. SP and CT are defined as distances, so we need to transform them into similarities to use as kernels. We apply the following distance to closeness transformation (Chebotarev & Shamis, 1998a; Borg & Groenen, 2005): ",
253
+ "bbox": [
254
+ 173,
255
+ 165,
256
+ 825,
257
+ 250
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "equation",
263
+ "img_path": "images/8c2756638a171aebf9fcc9c2fdcf603ad54a32f10c426235d8b6bedd46066d6b.jpg",
264
+ "text": "$$\nK = - H { \\mathcal { D } } H ; H = I - E / n ,\n$$",
265
+ "text_format": "latex",
266
+ "bbox": [
267
+ 393,
268
+ 248,
269
+ 602,
270
+ 265
271
+ ],
272
+ "page_idx": 2
273
+ },
274
+ {
275
+ "type": "text",
276
+ "text": "where $\\mathcal { D }$ is a distance matrix, $E$ is the matrix of ones, $I$ is the identity matrix, and $n$ is the number of nodes. ",
277
+ "bbox": [
278
+ 174,
279
+ 268,
280
+ 823,
281
+ 296
282
+ ],
283
+ "page_idx": 2
284
+ },
285
+ {
286
+ "type": "text",
287
+ "text": "In this paper, we examine 25 graph measures (or, more exactly, 25 parametric families of measures). We present these measures grouped by type similarly to (Avrachenkov et al., 2017): ",
288
+ "bbox": [
289
+ 169,
290
+ 303,
291
+ 821,
292
+ 333
293
+ ],
294
+ "page_idx": 2
295
+ },
296
+ {
297
+ "type": "text",
298
+ "text": "• Adjacency Matrix $A$ based kernels and measures. – Katz kernel: $K _ { \\alpha } ^ { \\mathrm { K a t z } } = ( I - \\alpha A ) ^ { - 1 }$ , $0 < \\alpha < \\rho ^ { - 1 }$ , where $\\rho$ is the spectral radius of $A$ . (Katz, 1953) (also known as Walk proximity (Chebotarev & Shamis, 1998b) or von Neumann diffusion kernel (Kandola et al., 2003; Shawe-Taylor & Cristianini et al., 2004)). – Communicability kernel $K _ { t } ^ { \\mathrm { C o m m } } = \\mathrm { e x p m } ( t A )$ , $t > 0$ , where expm means matrix exponential (Fouss et al., 2006; Estrada & Hatano, 2007; 2008). – Double Factorial closeness: $\\begin{array} { r } { K _ { t } ^ { \\mathrm { D F } } = \\sum _ { k = 0 } ^ { \\operatorname* { i n f } } \\frac { t ^ { k } } { k ! ! } A ^ { k } } \\end{array}$ , $t > 0$ (Estrada & Silver, 2017). ",
299
+ "bbox": [
300
+ 215,
301
+ 343,
302
+ 825,
303
+ 470
304
+ ],
305
+ "page_idx": 2
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "• Laplacian Matrix $L = D - A$ based kernels and measures, where $D = \\mathrm { D i a g } ( A \\cdot { \\bf 1 } )$ is the degree matrix of $G$ , $\\operatorname { D i a g } ( \\mathbf { x } )$ is the diagonal matrix with vector $\\mathbf { X }$ on the main diagonal. ",
310
+ "bbox": [
311
+ 215,
312
+ 473,
313
+ 823,
314
+ 501
315
+ ],
316
+ "page_idx": 2
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "– Forest kernel: $K _ { t } ^ { \\mathrm { F o r } } ~ = ~ ( I + t L ) ^ { - 1 }$ , $t > 0$ (also known as Regularized Laplacian kernel) (Chebotarev & Shamis, 1995). \n– Heat kernel: $K _ { t } ^ { \\mathrm { H e a t } } = \\mathrm { e x p m } ( - t L )$ , $t > 0$ (Chung & Yau, 1998). \n– Normalized Heat kernel: $K _ { t } ^ { \\mathrm { N H e a t } } = \\mathrm { e x p m } ( - t \\mathcal { L } )$ , $\\mathcal { L } = D ^ { - \\frac { 1 } { 2 } } L D ^ { - \\frac { 1 } { 2 } }$ , $t > 0$ (Chung, 1997). \n– Absorption kernel: $K _ { t } ^ { \\mathrm { A b s } } = ( t A + L ) ^ { - 1 }$ , $t > 0$ (Jacobsen & Tien, 2018). ",
321
+ "bbox": [
322
+ 246,
323
+ 503,
324
+ 825,
325
+ 599
326
+ ],
327
+ "page_idx": 2
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "• Markov Matrix $P = D ^ { - 1 } A$ based kernels and measures. ",
332
+ "bbox": [
333
+ 215,
334
+ 602,
335
+ 604,
336
+ 617
337
+ ],
338
+ "page_idx": 2
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "– Personalized PageRank closeness: $K _ { \\alpha } ^ { \\mathrm { P P R } } = ( I - \\alpha P ) ^ { - 1 }$ , $0 \\textless \\alpha \\textless 1$ (Page et al., 1999). \n– Modified Personalized PageRank: $K _ { \\alpha } ^ { \\mathrm { M P P R } } = ( I - \\alpha P ) ^ { - 1 } D ^ { - 1 } = ( D - \\alpha A ) ^ { - 1 } ,$ , $0 < \\alpha < 1$ (Kirkland $\\&$ Neumann, 2012). \n– PageRank heat closeness: $K _ { t } ^ { \\mathrm { H P R } } = \\exp \\mathrm { m } ( - t ( I - P ) )$ , $t > 0$ (Chung, 2007). \n– Randomized Shortest Path distance. Using $P$ and the matrix of the SP distances $C$ first get $Z$ (Yen et al., 2008): ",
343
+ "bbox": [
344
+ 246,
345
+ 619,
346
+ 825,
347
+ 726
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "equation",
353
+ "img_path": "images/64f92fabe391830bdc8f20af00ccb901771a2162ae13398b46e363acc1d18aea.jpg",
354
+ "text": "$$\n\\begin{array} { r } { W = P \\circ \\exp ( - \\beta C ) ; Z = ( I - W ) ^ { - 1 } . } \\end{array}\n$$",
355
+ "text_format": "latex",
356
+ "bbox": [
357
+ 408,
358
+ 731,
359
+ 679,
360
+ 750
361
+ ],
362
+ "page_idx": 2
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "Then $S = ( Z ( C \\circ W ) Z ) \\div Z$ ; $\\bar { C } = S - \\mathbf { e } \\mathrm { d i a g } ( S ) ^ { T }$ , and finally, ${ \\mathcal { D } } _ { \\mathrm { R S P } } = ( { \\bar { C } } + { \\bar { C } } ^ { T } ) / 2$ . Here $\\circ$ and $\\div$ are element-wise multiplication and division. Kernel version $K ^ { \\mathrm { R S P } } ( t )$ can be obtained with equation 1. ",
367
+ "bbox": [
368
+ 261,
369
+ 755,
370
+ 823,
371
+ 797
372
+ ],
373
+ "page_idx": 2
374
+ },
375
+ {
376
+ "type": "text",
377
+ "text": "– Free Energy distance. Using $Z$ from equation 2: $Z ^ { h } \\ = \\ Z { \\mathrm { D i a g } } ( Z ) ^ { - 1 }$ ; $\\Phi \\_ { } = $ $- 1 / \\beta \\log Z ^ { h }$ ; $\\mathcal { D } _ { \\mathrm { F E } } = ( \\Phi + \\bar { \\Phi ^ { T } } ) / 2$ (Kivimaki et al., 2014). Kernel version ¨ $K ^ { \\mathrm { F E } } ( t )$ can be obtained with equation 1. ",
378
+ "bbox": [
379
+ 248,
380
+ 799,
381
+ 823,
382
+ 842
383
+ ],
384
+ "page_idx": 2
385
+ },
386
+ {
387
+ "type": "text",
388
+ "text": "• Sigmoid Commute Time kernels. ",
389
+ "bbox": [
390
+ 217,
391
+ 847,
392
+ 450,
393
+ 861
394
+ ],
395
+ "page_idx": 2
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "– Sigmoid Commute Time kernel: ",
400
+ "bbox": [
401
+ 248,
402
+ 864,
403
+ 473,
404
+ 880
405
+ ],
406
+ "page_idx": 2
407
+ },
408
+ {
409
+ "type": "equation",
410
+ "img_path": "images/a379bfc47a9404e964889c22c54290a1f8c8e0c667f3ba16e53ab50b5628eedb.jpg",
411
+ "text": "$$\nK _ { t } ^ { \\mathrm { S C T } } = \\sigma ( - t K ^ { \\mathrm { C T } } / \\mathrm { s t d } ( K ^ { \\mathrm { C T } } ) ) , t > 0 ,\n$$",
412
+ "text_format": "latex",
413
+ "bbox": [
414
+ 416,
415
+ 883,
416
+ 671,
417
+ 904
418
+ ],
419
+ "page_idx": 2
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "where $\\sigma$ is an element-wise sigmoid function $\\sigma ( x ) = 1 / ( 1 + e ^ { - x } )$ (Yen et al., 2007). ",
424
+ "bbox": [
425
+ 266,
426
+ 909,
427
+ 820,
428
+ 924
429
+ ],
430
+ "page_idx": 2
431
+ },
432
+ {
433
+ "type": "table",
434
+ "img_path": "images/f5059267794eaebe9a354e398abc6c919bd2b2f09f82c7f74672762e8fd280ab.jpg",
435
+ "table_caption": [
436
+ "Table 1: Short names of considered kernels and other measures. "
437
+ ],
438
+ "table_footnote": [],
439
+ "table_body": "<table><tr><td rowspan=\"3\">Family Adjacency matrix</td><td colspan=\"2\">Short name</td><td></td></tr><tr><td>Plain</td><td>Logarithmic</td><td></td></tr><tr><td>measure</td><td>measure</td><td>Full name Katz kernel</td></tr><tr><td rowspan=\"2\">based kernels</td><td>Katz Comm</td><td>logKatz logComm</td><td>Communicability kernel</td></tr><tr><td>DF</td><td>logDF</td><td>Double Factorial closeness</td></tr><tr><td rowspan=\"4\">Laplacian based kernels</td><td>For</td><td>logFor</td><td>Forest kernel</td></tr><tr><td>Heat</td><td>logHeat</td><td>Heat kernel</td></tr><tr><td>NHeat</td><td>logNHeat</td><td>Normalized Heat kernel</td></tr><tr><td>Abs</td><td>logAbs</td><td>Absorption kernel</td></tr><tr><td rowspan=\"4\">Markovmatrix based kernels and measures</td><td>PPR MPPR</td><td>logPPR</td><td>Personalized PageRank closeness</td></tr><tr><td>HPR</td><td>logMPPR</td><td>Modified Personalized PageRank</td></tr><tr><td></td><td>logHPR</td><td>PageRank heat closeness</td></tr><tr><td>RSP FE</td><td>=</td><td>Randomized Shortest Path kernel</td></tr><tr><td rowspan=\"2\">Sigmoid Commute Time</td><td>SCT</td><td>1</td><td>Free Energy kernel Sigmoid Commute Time kernel</td></tr><tr><td>SCCT</td><td>=</td><td>Sigmoid Corrected Commute Time kernel</td></tr><tr><td rowspan=\"2\"></td><td>SP-CT</td><td></td><td></td></tr><tr><td></td><td>1</td><td>linear combination of SP and CT</td></tr></table>",
440
+ "bbox": [
441
+ 173,
442
+ 127,
443
+ 839,
444
+ 381
445
+ ],
446
+ "page_idx": 3
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "– Sigmoid Corrected Commute Time kernel. First of all, we need the Corrected Commute Time kernel (Luxburg et al., 2010): ",
451
+ "bbox": [
452
+ 246,
453
+ 405,
454
+ 823,
455
+ 434
456
+ ],
457
+ "page_idx": 3
458
+ },
459
+ {
460
+ "type": "equation",
461
+ "img_path": "images/e2f6e962349a77cfa0bc8ac1e93a0fe49b7d74de57c7d1c9ad855cd6c1d59748.jpg",
462
+ "text": "$$\nK ^ { \\mathrm { C C T } } = H D ^ { - { \\frac { 1 } { 2 } } } M ( I - M ) ^ { - 1 } M D ^ { - { \\frac { 1 } { 2 } } } H ; M = D ^ { - { \\frac { 1 } { 2 } } } \\Big ( A - \\frac { \\vec { \\bf d } \\vec { \\bf d } ^ { T } } { \\mathrm { v o l } ( G ) } \\Big ) D ^ { - { \\frac { 1 } { 2 } } }\n$$",
463
+ "text_format": "latex",
464
+ "bbox": [
465
+ 295,
466
+ 438,
467
+ 790,
468
+ 478
469
+ ],
470
+ "page_idx": 3
471
+ },
472
+ {
473
+ "type": "text",
474
+ "text": "where $H$ is the centering matrix $H = I - E / n$ , $\\vec { \\bf d }$ is the vector of diagonal elements of $D$ and $\\mathrm { v o l } ( G )$ is the sum of all elements of $A$ . Then, apply equation 3 replacing $K ^ { \\mathrm { C T } }$ with $K ^ { \\mathrm { C C T } }$ to obtain $K ^ { \\mathrm { S C C T } }$ . ",
475
+ "bbox": [
476
+ 264,
477
+ 483,
478
+ 823,
479
+ 526
480
+ ],
481
+ "page_idx": 3
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "Occasionally, element-wise logarithm is applied to the resulting kernel matrix (Chebotarev, 2013; Ivashkin $\\&$ Chebotarev, 2016). We apply it to almost all investigated measures and consider the resulting measures separately from their plain versions (see Table 1). For some measures, like Forest kernel, this is well-known practice (Chebotarev, 2013), while for others, like Double Factorial closeness, this transformation, to the best of our knowledge, is applied for the first time. The considered measures and their short names are summarized in Table 1. ",
486
+ "bbox": [
487
+ 173,
488
+ 537,
489
+ 825,
490
+ 621
491
+ ],
492
+ "page_idx": 3
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "3 DATASET ",
497
+ "text_level": 1,
498
+ "bbox": [
499
+ 176,
500
+ 641,
501
+ 282,
502
+ 657
503
+ ],
504
+ "page_idx": 3
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "We collected a paired dataset of graphs and the corresponding results of clustering with each measure mentioned in Table 1. In this section, we describe the graph generator, the sampling strategy, the calculated graph features, and the pipeline for the measure score calculation. ",
509
+ "bbox": [
510
+ 176,
511
+ 672,
512
+ 825,
513
+ 714
514
+ ],
515
+ "page_idx": 3
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "We use Lancichinetti–Fortunato–Radicchi (LFR) graph generator. It generates non-weighted graphs with ground truth non-overlapping communities. The model has mandatory parameters: the number of nodes $n$ ${ \\mathrm { ~ ~ n ~ } } > 0 ,$ , the power law exponent for the degree distribution $\\tau _ { 1 }$ $\\mathit { \\check { \\tau } _ { 1 } } > 1 \\mathit { \\check { \\tau } _ { \\mathrm { , } } }$ , the power law exponent for the community size distribution $\\tau _ { 2 }$ $( \\tau _ { 2 } ~ > ~ 1 )$ , the fraction of intra-community edges incident to each node $\\mu$ $0 \\leq \\mu \\leq 1 )$ ), and either minimum degree (min degree) or average degree (avg degree). There are also extra parameters: maximum degree (max degree), minimum community size (min community), maximum community size (max community). Not the whole LFR parameter space corresponds to common real-world graphs; most of such graphs are described with $\\tau _ { 1 } ~ \\in ~ [ 1 , 4 ]$ and $\\mu \\ : < \\ : 0 . 5$ (e.g., Fotouhi et al., 2019). However, there is also an interesting case of bipartite/multipartite-like graphs with $\\mu > 0 . 5$ . Moreover, many of the datasets studied in Section 5 have $\\tau _ { 1 } > 4$ . Our choice is to consider the entire parameter space to cover all theoretical and practical cases. ",
520
+ "bbox": [
521
+ 174,
522
+ 722,
523
+ 825,
524
+ 888
525
+ ],
526
+ "page_idx": 3
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "For the generation, we consider $1 0 < n < 1 5 0 0$ . It is impossible to generate a dataset with a uniform distribution of all LFR parameters, because $\\tau _ { 1 }$ and $\\tau _ { 2 }$ parameters are located on rays. We transform $\\tau _ { 1 }$ and $\\tau _ { 2 }$ to $\\tilde { \\tau _ { i } } = 1 - ( 1 / \\sqrt { \\tau _ { i } } ) , i = 1 , 2$ to bring their scope to the $[ 0 , 1 ]$ interval. In this case, “realistic” settings with $\\tau _ { 1 } \\in [ 1 , 4 ]$ take up $50 \\%$ of the variable range. Also, as avg degree feature is limited by the $n$ of a particular graph, we decided to replace it with density (avg degree/ $( n { - } 1 ) )$ . It is not dependent on $n$ and belongs to $[ 0 , 1 ]$ . Using all these considerations, we collected our dataset by uniformly sampling parameters for LFR generator from the set $[ n , \\tilde { \\tau } _ { 1 } , \\tilde { \\tau } _ { 2 } , \\mu$ , density] and generating graphs with these parameters. Additionally, we filter out all disconnected graphs. ",
531
+ "bbox": [
532
+ 174,
533
+ 895,
534
+ 821,
535
+ 924
536
+ ],
537
+ "page_idx": 3
538
+ },
539
+ {
540
+ "type": "image",
541
+ "img_path": "images/94e9d4844b8285e314e071ffb3f2f6dd30ffde4310a9a475e836731ad9512533.jpg",
542
+ "image_caption": [
543
+ "Figure 1: Distribution of graph features in the dataset "
544
+ ],
545
+ "image_footnote": [],
546
+ "bbox": [
547
+ 210,
548
+ 107,
549
+ 784,
550
+ 324
551
+ ],
552
+ "page_idx": 4
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "",
557
+ "bbox": [
558
+ 173,
559
+ 380,
560
+ 825,
561
+ 464
562
+ ],
563
+ "page_idx": 4
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "In total, we generated 7396 graphs. It is worth noting that the generator fails for some sets of parameters, so the resulting dataset is not uniform (see Fig. 1). In our study, non-uniformity is not a very important issue, because we are interested in local effects, not global leadership. Moreover, true uniformity for LFR parameter space is impossible, due to the unlimited scope of parameters. ",
568
+ "bbox": [
569
+ 173,
570
+ 470,
571
+ 825,
572
+ 526
573
+ ],
574
+ "page_idx": 4
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "For our research, we choose a minimum set of the features that describe particular properties of graphs and are not interchangeable. ",
579
+ "bbox": [
580
+ 174,
581
+ 534,
582
+ 821,
583
+ 563
584
+ ],
585
+ "page_idx": 4
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "The LFR parameters can be divided in three groups by the graph properties they reflect: ",
590
+ "bbox": [
591
+ 173,
592
+ 569,
593
+ 485,
594
+ 598
595
+ ],
596
+ "page_idx": 4
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "• The size of the graph and the communities: $n , \\tau _ { 1 }$ , min community, max community; \n• The density and uniformity of the node degrees distribution: $\\tau _ { 2 }$ , min degree, avg degree, max degree. As avg degree depends on $n$ , it is distributed exponentially, so we use log(avg degree) instead; \n• The cluster separability: $\\mu$ . As $\\mu$ parameter considers only the ratio between the number of inter-cluster edges and the number of nodes but ignores overall density, we use modularity (Newman & Girvan, 2004) as a more appropriate measure for cluster separability. ",
601
+ "bbox": [
602
+ 215,
603
+ 609,
604
+ 485,
605
+ 856
606
+ ],
607
+ "page_idx": 4
608
+ },
609
+ {
610
+ "type": "image",
611
+ "img_path": "images/f87f7ddfe7340ba93c18fe511c5012c5342ef0d84239b578efe2f3f391b6661d.jpg",
612
+ "image_caption": [
613
+ "Figure 2: Measuring ARI clustering score for a particular graph, measure, and measure parameter "
614
+ ],
615
+ "image_footnote": [],
616
+ "bbox": [
617
+ 500,
618
+ 568,
619
+ 820,
620
+ 804
621
+ ],
622
+ "page_idx": 4
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "Thus, the defined set of features $[ n , \\tau _ { 1 } , \\tau _ { 2 }$ , avg degree, modularity] is enough to consider all graph properties mentioned above. Although modularity is a widely used measure, it suffers from resolution limit problems (Fortunato & Barthelemy, 2007). We acknowledge that this may cause some limitations in our approach, which should be the topic of further research. ",
627
+ "bbox": [
628
+ 174,
629
+ 868,
630
+ 825,
631
+ 924
632
+ ],
633
+ "page_idx": 4
634
+ },
635
+ {
636
+ "type": "table",
637
+ "img_path": "images/bf31236aac113b5c29a823a5c94adde266d40c14b068089f26234eb856bc8316.jpg",
638
+ "table_caption": [
639
+ "Table 2: The overall leaderboard. The win percentage is calculated among all 7396 graphs in the dataset. The ARI column shows the mean ARI across the dataset. "
640
+ ],
641
+ "table_footnote": [],
642
+ "table_body": "<table><tr><td>#</td><td>Measure</td><td>Rank</td><td>Wins, %</td><td>ARI</td><td>#</td><td>Measure</td><td>Rank</td><td>Wins, %</td><td>ARI</td></tr><tr><td>1</td><td>SCCT</td><td>4.7</td><td>56.0</td><td>0.58</td><td>14</td><td>DF</td><td>11.0</td><td>8.1</td><td>0.28</td></tr><tr><td>2</td><td>NHeat</td><td>6.9</td><td>25.2</td><td>0.40</td><td>15</td><td>logAbs</td><td>12.1</td><td>15.9</td><td>0.33</td></tr><tr><td>3</td><td>RSP</td><td>7.7</td><td>22.4</td><td>0.42</td><td>16</td><td>logComm</td><td>12.6</td><td>15.5</td><td>0.23</td></tr><tr><td>4</td><td>SCT</td><td>8.4</td><td>19.5</td><td>0.40</td><td>17</td><td>logFor</td><td>13.0</td><td>12.7</td><td>0.22</td></tr><tr><td>5</td><td>Comm</td><td>8.4</td><td>15.8</td><td>0.36</td><td>18</td><td>HeatPR</td><td>13.4</td><td>12.5</td><td>0.22</td></tr><tr><td>6</td><td>logNHeat</td><td>8.8</td><td>18.0</td><td>0.37</td><td>19</td><td>logHeat</td><td>13.6</td><td>11.9</td><td>0.21</td></tr><tr><td>7</td><td>SP-CT</td><td>9.0</td><td>20.4</td><td>0.41</td><td>20</td><td>Heat</td><td>14.7</td><td>11.2</td><td>0.19</td></tr><tr><td>8</td><td>logHeatPR</td><td>9.2</td><td>18.0</td><td>0.37</td><td>21</td><td>logDF</td><td>14.8</td><td>11.1</td><td>0.18</td></tr><tr><td>9</td><td>FE</td><td>9.5</td><td>19.3</td><td>0.39</td><td>22</td><td>PPR</td><td>16.7</td><td>4.0</td><td>0.13</td></tr><tr><td>10</td><td>Katz</td><td>9.8</td><td>7.7</td><td>0.32</td><td>23</td><td>Abs</td><td>18.6</td><td>3.7</td><td>0.08</td></tr><tr><td>11</td><td>logKatz</td><td>9.9</td><td>18.1</td><td>0.35</td><td>24</td><td>For</td><td>19.3</td><td>2.8</td><td>0.07</td></tr><tr><td>12</td><td>logPPR</td><td>10.0</td><td>17.5</td><td>0.35</td><td>25</td><td>ModifPPR</td><td>20.5</td><td>1.7</td><td>0.05</td></tr><tr><td>13</td><td>logModifPPR</td><td>10.5</td><td>17.3</td><td>0.35</td><td></td><td></td><td></td><td></td><td></td></tr></table>",
643
+ "bbox": [
644
+ 176,
645
+ 140,
646
+ 815,
647
+ 338
648
+ ],
649
+ "page_idx": 5
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "For every generated graph, we calculate the top ARI score for every measure (Hubert & Arabie, 1985). We choose ARI as a clustering score which is both popular and unbiased (Gosgens et al., ¨ 2019). As soon as every measure has a parameter, we perform clustering for a range of parameter values (we transform the parameter to become in the [0, 1] interval and then choose 16 values linearly spaced from 0 to 1). For each value, we run $6 + 6 + 6$ trials of $k$ -means (6 trials for each of three initialization methods). ",
654
+ "bbox": [
655
+ 173,
656
+ 364,
657
+ 825,
658
+ 449
659
+ ],
660
+ "page_idx": 5
661
+ },
662
+ {
663
+ "type": "text",
664
+ "text": "Fig. 2 shows the pipeline we use to calculate ARI score for a given LFR parameter set, a measure, and a measure parameter. Measure parameters are not the subject of our experiments, so for every measure we just take the result of the measure with the value of the parameter that gives the best ARI score. ",
665
+ "bbox": [
666
+ 174,
667
+ 455,
668
+ 825,
669
+ 511
670
+ ],
671
+ "page_idx": 5
672
+ },
673
+ {
674
+ "type": "text",
675
+ "text": "Because of the need to iterate over graphs, measures, parameter values, and initializations, the task is computationally difficult. The total computation time was 20 days on 18 CPU cores and 6 GPUs. ",
676
+ "bbox": [
677
+ 174,
678
+ 518,
679
+ 823,
680
+ 547
681
+ ],
682
+ "page_idx": 5
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "4 RESULTS ",
687
+ "text_level": 1,
688
+ "bbox": [
689
+ 174,
690
+ 569,
691
+ 281,
692
+ 584
693
+ ],
694
+ "page_idx": 5
695
+ },
696
+ {
697
+ "type": "text",
698
+ "text": "4.1 GLOBAL LEADERSHIP IN LFR SPACE ",
699
+ "text_level": 1,
700
+ "bbox": [
701
+ 178,
702
+ 601,
703
+ 468,
704
+ 614
705
+ ],
706
+ "page_idx": 5
707
+ },
708
+ {
709
+ "type": "text",
710
+ "text": "We rank the measures by their ARI score on every graph of the dataset. The rank is defined as the position of the measure in this list, averaged over the dataset (see Table 2). It is important to note that the global leadership does not give a comprehensive advice on which measure is better to use, because for a particular graph, the global leader can perform worse than the others. Here we consider the entire LFR space, not just its zone corresponding to common real-world graphs, so the ranking may differ from those obtained for restricted settings. ",
711
+ "bbox": [
712
+ 174,
713
+ 627,
714
+ 825,
715
+ 712
716
+ ],
717
+ "page_idx": 5
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "As SCCT is the winner for both ranking and percentage of wins, we can say for sure that it is the global winner for the LFR space graphs. Other measures still can be leaders in some zones of the feature space. ",
722
+ "bbox": [
723
+ 174,
724
+ 718,
725
+ 825,
726
+ 760
727
+ ],
728
+ "page_idx": 5
729
+ },
730
+ {
731
+ "type": "text",
732
+ "text": "4.2 FEATURE IMPORTANCE STUDY ",
733
+ "text_level": 1,
734
+ "bbox": [
735
+ 176,
736
+ 779,
737
+ 424,
738
+ 792
739
+ ],
740
+ "page_idx": 5
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "First of all, we find out which graph features are important for the choice of the best measure and which are not. To do that, we use Linear Discriminant Analysis (Mika et al., 1999) (LDA). This method finds a new basis in the feature space to classify a dataset in the best way. It also shows how many components of basis are required to fit the majority of data. ",
745
+ "bbox": [
746
+ 174,
747
+ 805,
748
+ 825,
749
+ 861
750
+ ],
751
+ "page_idx": 5
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "Fig. 3a shows that the first two components take about $90 \\%$ of the explained variance. Fig. 3b shows that these components include only $\\tau _ { 1 }$ , avg degree, and modularity. The fact that $n$ is not used means that the size of the graph as well as the density are not of primary importance for choosing the best measure. So is not $\\tau _ { 2 }$ measuring the diversity of cluster sizes. ",
756
+ "bbox": [
757
+ 174,
758
+ 867,
759
+ 823,
760
+ 924
761
+ ],
762
+ "page_idx": 5
763
+ },
764
+ {
765
+ "type": "image",
766
+ "img_path": "images/0bd8fcae444182bb890f34dfe5fa2f534fccbc423006501df41aac01e87c3458.jpg",
767
+ "image_caption": [
768
+ "Figure 3: The results of LDA components. "
769
+ ],
770
+ "image_footnote": [],
771
+ "bbox": [
772
+ 246,
773
+ 106,
774
+ 753,
775
+ 321
776
+ ],
777
+ "page_idx": 6
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Fig. 4 shows the point cloud projected on the space of the two main components of LDA. We see a confirmation that the measures are indeed zoned, but the areas are quite noisy. To detect the zones of measure leadership, we need to know the leadership on average in every area of space, rather than the wins in particular points. To define the local measure leadership in the whole space, we need to introduce a filtering algorithm that for every point of the space returns the measure leadership depending on the closest data points. As the choice of measure is actually dependent only on three features, we can limit our feature space to $[ \\tau _ { 1 }$ , avg degree, modularity]. ",
782
+ "bbox": [
783
+ 173,
784
+ 377,
785
+ 825,
786
+ 476
787
+ ],
788
+ "page_idx": 6
789
+ },
790
+ {
791
+ "type": "image",
792
+ "img_path": "images/987397c1772a927349e58b530d6fa6c770b22f058ba7a3de3c97fd0595b8fe5a.jpg",
793
+ "image_caption": [
794
+ "Figure 4: The dataset projected on the two main components of LDA; the point color represents the winning measure for each graph "
795
+ ],
796
+ "image_footnote": [],
797
+ "bbox": [
798
+ 200,
799
+ 501,
800
+ 799,
801
+ 696
802
+ ],
803
+ "page_idx": 6
804
+ },
805
+ {
806
+ "type": "text",
807
+ "text": "4.3 GAUSSIAN FILTER IN FEATURE SPACE ",
808
+ "text_level": 1,
809
+ "bbox": [
810
+ 176,
811
+ 775,
812
+ 472,
813
+ 789
814
+ ],
815
+ "page_idx": 6
816
+ },
817
+ {
818
+ "type": "text",
819
+ "text": "Using a filter in the feature space, we can suppress the noise and find actual zones of leadership for the measures. We use the Gaussian filter with a scale parameter $\\sigma$ . For every given point of the space, it takes the data points that are closer than $3 \\sigma$ and averages ARIs of the chosen points with a weight $e ^ { - \\mathrm { d i s t } ^ { 2 } / 2 \\sigma ^ { 2 } }$ . This allows to give larger weights to closer points. If there are less than three data points inside the sphere with a $3 \\sigma$ radius, the filter returns nothing, allowing to ignore the points with insufficient data. ",
820
+ "bbox": [
821
+ 174,
822
+ 801,
823
+ 825,
824
+ 888
825
+ ],
826
+ "page_idx": 6
827
+ },
828
+ {
829
+ "type": "text",
830
+ "text": "Before applying the filter, we prepare the dataset. First, we only take the points with only one winning measure, because multiple winners can confuse the filter. Then we normalize the standard ",
831
+ "bbox": [
832
+ 174,
833
+ 895,
834
+ 823,
835
+ 924
836
+ ],
837
+ "page_idx": 6
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "deviation of every feature distribution to one. Finally, we cut off the long tail of distant data points. \nThe resulting number of graphs is 5201. ",
842
+ "bbox": [
843
+ 171,
844
+ 103,
845
+ 823,
846
+ 132
847
+ ],
848
+ "page_idx": 7
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "To choose $\\sigma$ , we apply the filter with different $\\sigma$ and look at the number of connected components in the feature space. The needed $\\sigma$ should be large enough to suppress the noise, however, it should not suppress small zones. Guided by this heuristic, we choose $\\sigma = 0 . 5$ . ",
853
+ "bbox": [
854
+ 174,
855
+ 138,
856
+ 825,
857
+ 181
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "table",
863
+ "img_path": "images/fb155bf8a3e80d0274186eb7406b698a99978ac1180ce3713844f2823a2cbf88.jpg",
864
+ "table_caption": [
865
+ "Table 3: The leaderboard of measure wins after filtering with $\\sigma = 0 . 5$ "
866
+ ],
867
+ "table_footnote": [],
868
+ "table_body": "<table><tr><td colspan=\"10\">1oomoom</td><td rowspan=\"2\"></td><td colspan=\"10\">1H8o</td></tr><tr><td>Measure Wins</td><td>SCCS 4283</td><td>441</td><td>JHe 268</td><td></td><td>uom 78</td><td>64</td><td>3 56</td><td>E 3</td><td></td><td>A 3</td><td>5 2</td><td></td><td>1</td><td>J8o 1</td></tr></table>",
869
+ "bbox": [
870
+ 254,
871
+ 220,
872
+ 741,
873
+ 296
874
+ ],
875
+ "page_idx": 7
876
+ },
877
+ {
878
+ "type": "text",
879
+ "text": "After filtering with $\\sigma = 0 . 5$ , the leaderboard of measure wins is changed (see Table 3). Only six measures keep their positions: SCCT, NHeat, logComm, Comm, logDF, and RSP. This means that these measures do have zones of leadership, otherwise they would be filtered out. We can plot the entire feature space colored by the leadership zones of the measures (Fig. 5). As the resulting space is 3D, we show slices of it by each of the three coordinates. ",
880
+ "bbox": [
881
+ 173,
882
+ 311,
883
+ 826,
884
+ 382
885
+ ],
886
+ "page_idx": 7
887
+ },
888
+ {
889
+ "type": "image",
890
+ "img_path": "images/6753805399d1d24f663771f2e1b233600464691b7c41335d14ebeabe0ec5aa53.jpg",
891
+ "image_caption": [
892
+ "Figure 5: The feature space $[ \\tau _ { 1 }$ , avg degree, modularity] divided into the leadership zones of six measures. The yellow points represent the positions of real-world datasets under study in the space. "
893
+ ],
894
+ "image_footnote": [],
895
+ "bbox": [
896
+ 179,
897
+ 401,
898
+ 823,
899
+ 790
900
+ ],
901
+ "page_idx": 7
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "5 REAL-WORLD DATASETS ",
906
+ "text_level": 1,
907
+ "bbox": [
908
+ 176,
909
+ 863,
910
+ 411,
911
+ 878
912
+ ],
913
+ "page_idx": 7
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "Even though LFR lacks some characteristics of real-world graphs, there is evidence that the optimal parameter of the Louvain clustering for a real graph is close to the parameter for LFR graphs generated from the features of a real one (Prokhorenkova, 2019). So, there is a chance that the learned space might be helpful for choosing measures in the wild. ",
918
+ "bbox": [
919
+ 174,
920
+ 895,
921
+ 825,
922
+ 924
923
+ ],
924
+ "page_idx": 7
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "",
929
+ "bbox": [
930
+ 173,
931
+ 103,
932
+ 823,
933
+ 132
934
+ ],
935
+ "page_idx": 8
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "For evaluation, we use 29 graphs of standard datasets: Dolphins (Lusseau et al., 2003), Football (Newman & Girvan, 2004), Karate club (Zachary, 1977), Newsgroups (9 subsets, weights are binarized with threshold 0.1) (Yen et al., 2007), Political blogs (Adamic & Glance, 2005), Political books (Newman, 2006), SocioPatterns Primary school day (2 graphs) (Stehle et al., 2011), Cora (11 ´ subsets) (McCallum et al., 2000), Eu-core (Leskovec et al., 2007), EuroSIS (WebAtlas, 2009). The parameters of these graphs are marked in Fig. 5. For each graph, we found the best ARI for every measure (iterating over the measure parameter value). Now we can check the quality of measure choice, based on the found LFR data. The result of LFR recommendation is the measure that is chosen for the set of parameters corresponding to the dataset in hand. ",
940
+ "bbox": [
941
+ 174,
942
+ 138,
943
+ 825,
944
+ 263
945
+ ],
946
+ "page_idx": 8
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "Table 4: Mean ARI of the LFR recommended strategies for datasets. Top6 stands for the set of measures that have their zones in the LFR parameter space. ",
951
+ "bbox": [
952
+ 171,
953
+ 276,
954
+ 823,
955
+ 306
956
+ ],
957
+ "page_idx": 8
958
+ },
959
+ {
960
+ "type": "table",
961
+ "img_path": "images/31b6cc5f7c4678b49ab89da5c7af2106c38dc0dc46c5c93a1640ad9c404528b4.jpg",
962
+ "table_caption": [],
963
+ "table_footnote": [],
964
+ "table_body": "<table><tr><td>Strategy</td><td>Mean ARI</td></tr><tr><td>AlwaystakeSCCT Based on LFR space, top6 measures</td><td>0.61 0.62</td></tr><tr><td>Based on LFR space,all measures</td><td>0.62</td></tr><tr><td>Upper bound</td><td>0.64</td></tr></table>",
965
+ "bbox": [
966
+ 323,
967
+ 316,
968
+ 673,
969
+ 390
970
+ ],
971
+ "page_idx": 8
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "The best measures on the considered datasets are SCCT (by the mean ARI) and SCT (by the rank). This is pretty similar to the results obtained for LFR. Moreover, Spearman correlation between the ranks of measures for the datasets and for the corresponding LFR recommendations is 0.90. ",
976
+ "bbox": [
977
+ 176,
978
+ 404,
979
+ 823,
980
+ 446
981
+ ],
982
+ "page_idx": 8
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Let us use “always take SCCT” as our baseline strategy. In Table 4 we compare it with strategies based on the LFR space. We obtain LFR recommendation using $k \\mathrm { n n }$ as a well-proven method for meta-learning. Since each graph is unique, the result of 1nn can be very noisy, thus we use 5nn. ",
987
+ "bbox": [
988
+ 176,
989
+ 453,
990
+ 821,
991
+ 496
992
+ ],
993
+ "page_idx": 8
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "Table 4 shows that the recommendation approach slightly beats the baseline. Reducing the number of measures from 25 to 6 do not drop the quality. However, this quality increase is not enough to draw confident conclusions about the advantages of the method. Using this fact and the fact that the ranks on datasets and recommendations are highly correlated, we conclude that the metalearning procedure is adequate to give a robust recommendation, but not precise enough to beat the baseline confidently. This may be due to the fact that that the nodes of real graphs were not labeled systematically since they were created in the wild. A larger dataset could help separate the signal from the noise and pinpoint where the limits of the method are. At least, the good news is that the conclusions made on the LFR basis do not contradict the results obtained on the datasets. ",
998
+ "bbox": [
999
+ 174,
1000
+ 502,
1001
+ 825,
1002
+ 627
1003
+ ],
1004
+ "page_idx": 8
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "6 CONCLUSIONS ",
1009
+ "text_level": 1,
1010
+ "bbox": [
1011
+ 176,
1012
+ 647,
1013
+ 328,
1014
+ 664
1015
+ ],
1016
+ "page_idx": 8
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "In this work, we have shown that the global leadership of measures does not provide comprehensive knowledge about graph measures. We demonstrated that among 25 measures, SCCT is the best measure for the LFR graphs both by winning rate and ranking. However, there are also smaller confident zones of leadership for NHeat, Comm, logComm, logDF, and RSP. ",
1021
+ "bbox": [
1022
+ 174,
1023
+ 679,
1024
+ 823,
1025
+ 734
1026
+ ],
1027
+ "page_idx": 8
1028
+ },
1029
+ {
1030
+ "type": "text",
1031
+ "text": "Our results do not contradict those of other experimental works and rather expand them by providing new findings. LogComm was first introduced in Ivashkin & Chebotarev (2016) and won in the competitions on graphs generated with a fixed set of SBM parameters. This study confirms its leadership, but only for a certain type of graphs. Another interesting finding is logDF, which unexpectedly shows good performance for the graphs with low modularity and low average degree. ",
1032
+ "bbox": [
1033
+ 174,
1034
+ 742,
1035
+ 823,
1036
+ 813
1037
+ ],
1038
+ "page_idx": 8
1039
+ },
1040
+ {
1041
+ "type": "text",
1042
+ "text": "This study is based on the LFR benchmark data. An attempt to apply the results to real data gives the quality slightly above the baseline. However, there is a strong correlation between the ranking of measures for datasets and the ranking of LFR recommendation, which indicates that the leading measures are the same, while the recommendations are not precise enough. ",
1043
+ "bbox": [
1044
+ 174,
1045
+ 819,
1046
+ 823,
1047
+ 875
1048
+ ],
1049
+ "page_idx": 8
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "text": "It can be noted that our study is insensitive to the non-uniformity of the generated dataset. While manipulations with this dataset may affect the global leaderboard, they cannot change the local leadership studied in this work. ",
1054
+ "bbox": [
1055
+ 176,
1056
+ 882,
1057
+ 823,
1058
+ 922
1059
+ ],
1060
+ "page_idx": 8
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "REFERENCES ",
1065
+ "text_level": 1,
1066
+ "bbox": [
1067
+ 174,
1068
+ 102,
1069
+ 287,
1070
+ 118
1071
+ ],
1072
+ "page_idx": 9
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "Lada A. Adamic and Natalie Glance. The political blogosphere and the 2004 us election: divided they blog. In Proceedings of the 3rd International Workshop on Link Discovery, pp. 36–43, 2005. ",
1077
+ "bbox": [
1078
+ 174,
1079
+ 126,
1080
+ 823,
1081
+ 155
1082
+ ],
1083
+ "page_idx": 9
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "David Arthur and Sergei Vassilvitskii. k-means $^ { + + }$ : The advantages of careful seeding. Technical report, Stanford University, 2006. ",
1088
+ "bbox": [
1089
+ 174,
1090
+ 161,
1091
+ 823,
1092
+ 191
1093
+ ],
1094
+ "page_idx": 9
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "Konstantin Avrachenkov, Pavel Chebotarev, and Dmytro Rubanov. Kernels on graphs as proximity measures. In International Workshop on Algorithms and Models for the Web-Graph, pp. 27–41. Springer, 2017. ",
1099
+ "bbox": [
1100
+ 174,
1101
+ 199,
1102
+ 826,
1103
+ 242
1104
+ ],
1105
+ "page_idx": 9
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "Rinat Aynulin. Efficiency of transformations of proximity measures for graph clustering. In International Workshop on Algorithms and Models for the Web-Graph, pp. 16–29. Springer, 2019a. ",
1110
+ "bbox": [
1111
+ 173,
1112
+ 251,
1113
+ 823,
1114
+ 280
1115
+ ],
1116
+ "page_idx": 9
1117
+ },
1118
+ {
1119
+ "type": "text",
1120
+ "text": "Rinat Aynulin. Impact of network topology on efficiency of proximity measures for community detection. In International Conference on Complex Networks and Their Applications, pp. 188– 197. Springer, 2019b. ",
1121
+ "bbox": [
1122
+ 173,
1123
+ 287,
1124
+ 823,
1125
+ 330
1126
+ ],
1127
+ "page_idx": 9
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "Michael J. Barber and John W. Clark. Detecting network communities by propagating labels under constraints. Physical Review E, 80(2):026129, 2009. ",
1132
+ "bbox": [
1133
+ 173,
1134
+ 338,
1135
+ 825,
1136
+ 367
1137
+ ],
1138
+ "page_idx": 9
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Vincent D. Blondel, Jean-Loup Guillaume, Renaud Lambiotte, and Etienne Lefebvre. Fast unfolding of communities in large networks. Journal of Statistical Mechanics: Theory and Experiment, 2008(10):P10008, 2008. ",
1143
+ "bbox": [
1144
+ 174,
1145
+ 375,
1146
+ 823,
1147
+ 417
1148
+ ],
1149
+ "page_idx": 9
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "Ingwer Borg and Patrick J. F. Groenen. Modern Multidimensional Scaling: Theory and Applications. Springer Science & Business Media, 2005. ",
1154
+ "bbox": [
1155
+ 171,
1156
+ 426,
1157
+ 823,
1158
+ 455
1159
+ ],
1160
+ "page_idx": 9
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Fred Buckley and Frank Harary. Distance in Graphs. Addison-Wesley, 1990. ",
1165
+ "bbox": [
1166
+ 173,
1167
+ 463,
1168
+ 683,
1169
+ 479
1170
+ ],
1171
+ "page_idx": 9
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Pavel Chebotarev. Studying new classes of graph metrics. In International Conference on Geometric Science of Information, pp. 207–214. Springer, 2013. ",
1176
+ "bbox": [
1177
+ 174,
1178
+ 487,
1179
+ 825,
1180
+ 517
1181
+ ],
1182
+ "page_idx": 9
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Pavel Chebotarev and Elena Shamis. On the proximity measure for graph vertices provided by the inverse Laplacian characteristic matrix. In Abstracts of the Conference “Linear Algebra and its Applications”, pp. 6–7, Manchester, UK, 1995. University of Manchester. ",
1187
+ "bbox": [
1188
+ 174,
1189
+ 523,
1190
+ 823,
1191
+ 568
1192
+ ],
1193
+ "page_idx": 9
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "Pavel Chebotarev and Elena Shamis. On a duality between metrics and $\\Sigma$ -proximities. Automation and Remote Control, 59(4):608–612, 1998a. ",
1198
+ "bbox": [
1199
+ 173,
1200
+ 575,
1201
+ 821,
1202
+ 604
1203
+ ],
1204
+ "page_idx": 9
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "Pavel Chebotarev and Elena Shamis. On proximity measures for graph vertices. Automation and Remote Control, 59(10):1443–1459, 1998b. ",
1209
+ "bbox": [
1210
+ 173,
1211
+ 611,
1212
+ 823,
1213
+ 641
1214
+ ],
1215
+ "page_idx": 9
1216
+ },
1217
+ {
1218
+ "type": "text",
1219
+ "text": "Fan Chung. The heat kernel as the pagerank of a graph. Proceedings of the National Academy of Sciences, 104(50):19735–19740, 2007. ",
1220
+ "bbox": [
1221
+ 173,
1222
+ 648,
1223
+ 825,
1224
+ 678
1225
+ ],
1226
+ "page_idx": 9
1227
+ },
1228
+ {
1229
+ "type": "text",
1230
+ "text": "Fan Chung and Shing-Tung Yau. Coverings, heat kernels and spanning trees. Journal of Combinatorics, 6:163–184, 1998. ",
1231
+ "bbox": [
1232
+ 173,
1233
+ 686,
1234
+ 825,
1235
+ 715
1236
+ ],
1237
+ "page_idx": 9
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "Fan R. K. Chung. Spectral Graph Theory, volume 92. American Mathematical Soc., 1997. ",
1242
+ "bbox": [
1243
+ 171,
1244
+ 723,
1245
+ 774,
1246
+ 739
1247
+ ],
1248
+ "page_idx": 9
1249
+ },
1250
+ {
1251
+ "type": "text",
1252
+ "text": "Sylvain Courtain, Pierre Leleux, Ilkka Kivimaki, Guillaume Guex, and Marco Saerens. Randomized ¨ shortest paths with net flows and capacity constraints. Information Sciences, 2020. To appear. ",
1253
+ "bbox": [
1254
+ 173,
1255
+ 746,
1256
+ 828,
1257
+ 776
1258
+ ],
1259
+ "page_idx": 9
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "Anton J. Enright, Stijn Van Dongen, and Christos A. Ouzounis. An efficient algorithm for large-scale detection of protein families. Nucleic Acids Research, 30(7):1575–1584, 2002. ",
1264
+ "bbox": [
1265
+ 173,
1266
+ 784,
1267
+ 823,
1268
+ 814
1269
+ ],
1270
+ "page_idx": 9
1271
+ },
1272
+ {
1273
+ "type": "text",
1274
+ "text": "Ernesto Estrada and Naomichi Hatano. Statistical-mechanical approach to subgraph centrality in complex networks. Chemical Physics Letters, 439(1-3):247–251, 2007. ",
1275
+ "bbox": [
1276
+ 174,
1277
+ 820,
1278
+ 823,
1279
+ 849
1280
+ ],
1281
+ "page_idx": 9
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "text": "Ernesto Estrada and Naomichi Hatano. Communicability in complex networks. Physical Review E, 77(3):036111, 2008. ",
1286
+ "bbox": [
1287
+ 176,
1288
+ 857,
1289
+ 823,
1290
+ 887
1291
+ ],
1292
+ "page_idx": 9
1293
+ },
1294
+ {
1295
+ "type": "text",
1296
+ "text": "Ernesto Estrada and Grant Silver. Accounting for the role of long walks on networks via a new matrix function. Journal of Mathematical Analysis and Applications, 449(2):1581–1600, 2017. ",
1297
+ "bbox": [
1298
+ 174,
1299
+ 895,
1300
+ 820,
1301
+ 924
1302
+ ],
1303
+ "page_idx": 9
1304
+ },
1305
+ {
1306
+ "type": "text",
1307
+ "text": "Santo Fortunato and Marc Barthelemy. Resolution limit in community detection. Proceedings of the National Academy of Sciences, 104(1):36–41, 2007. ",
1308
+ "bbox": [
1309
+ 171,
1310
+ 103,
1311
+ 825,
1312
+ 132
1313
+ ],
1314
+ "page_idx": 10
1315
+ },
1316
+ {
1317
+ "type": "text",
1318
+ "text": "Babak Fotouhi, Naghmeh Momeni, Benjamin Allen, and Martin A Nowak. Evolution of cooperation on large networks with community structure. Journal of the Royal Society Interface, 16(152): 20180677, 2019. ",
1319
+ "bbox": [
1320
+ 174,
1321
+ 140,
1322
+ 823,
1323
+ 183
1324
+ ],
1325
+ "page_idx": 10
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Francois Fouss, Luh Yen, Alain Pirotte, and Marco Saerens. An experimental investigation of graph kernels on a collaborative recommendation task. In Sixth International Conference on Data Mining (ICDM’06), pp. 863–868. IEEE, 2006. ",
1330
+ "bbox": [
1331
+ 174,
1332
+ 191,
1333
+ 823,
1334
+ 234
1335
+ ],
1336
+ "page_idx": 10
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "Franc¸ois Fouss, Kevin Francoisse, Luh Yen, Alain Pirotte, and Marco Saerens. An experimental investigation of kernels on graphs for collaborative recommendation and semisupervised classification. Neural Networks, 31:53–72, 2012. ",
1341
+ "bbox": [
1342
+ 173,
1343
+ 242,
1344
+ 823,
1345
+ 286
1346
+ ],
1347
+ "page_idx": 10
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "Franc¸ois Fouss, Marco Saerens, and Masashi Shimbo. Algorithms and Models for Network Data and Link Analysis. Cambridge University Press, 2016. ",
1352
+ "bbox": [
1353
+ 171,
1354
+ 294,
1355
+ 821,
1356
+ 324
1357
+ ],
1358
+ "page_idx": 10
1359
+ },
1360
+ {
1361
+ "type": "text",
1362
+ "text": "F. Gobel and A. A. Jagers. Random walks on graphs. ¨ Stochastic Processes and Their Applications, 2(4):311–336, 1974. ",
1363
+ "bbox": [
1364
+ 173,
1365
+ 330,
1366
+ 823,
1367
+ 361
1368
+ ],
1369
+ "page_idx": 10
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "text": "Martijn Gosgens, Liudmila Prokhorenkova, and Alexey Tikhonov. Systematic analysis of cluster ¨ similarity indices: Towards bias-free cluster validation. arXiv preprint arXiv:1911.04773, 2019. ",
1374
+ "bbox": [
1375
+ 173,
1376
+ 368,
1377
+ 821,
1378
+ 397
1379
+ ],
1380
+ "page_idx": 10
1381
+ },
1382
+ {
1383
+ "type": "text",
1384
+ "text": "Guillaume Guex, Ilkka Kivimaki, and Marco Saerens. Randomized optimal transport on a graph: ¨ framework and new distance measures. arXiv preprint arXiv:1806.03232, 2018. ",
1385
+ "bbox": [
1386
+ 171,
1387
+ 405,
1388
+ 821,
1389
+ 435
1390
+ ],
1391
+ "page_idx": 10
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "text": "Guillaume Guex, Sylvain Courtain, and Marco Saerens. Covariance and correlation kernels on a graph in the generalized bag-of-paths formalism. arXiv preprint arXiv:1902.03002, 2019. ",
1396
+ "bbox": [
1397
+ 171,
1398
+ 443,
1399
+ 823,
1400
+ 473
1401
+ ],
1402
+ "page_idx": 10
1403
+ },
1404
+ {
1405
+ "type": "text",
1406
+ "text": "Paul W. Holland, Kathryn Blackmond Laskey, and Samuel Leinhardt. Stochastic blockmodels: First steps. Social Networks, 5(2):109–137, 1983. ",
1407
+ "bbox": [
1408
+ 173,
1409
+ 479,
1410
+ 823,
1411
+ 510
1412
+ ],
1413
+ "page_idx": 10
1414
+ },
1415
+ {
1416
+ "type": "text",
1417
+ "text": "Lawrence Hubert and Phipps Arabie. Comparing partitions. Journal of Classification, 2(1):193–218, 1985. ",
1418
+ "bbox": [
1419
+ 171,
1420
+ 517,
1421
+ 825,
1422
+ 546
1423
+ ],
1424
+ "page_idx": 10
1425
+ },
1426
+ {
1427
+ "type": "text",
1428
+ "text": "Vladimir Ivashkin and Pavel Chebotarev. Do logarithmic proximity measures outperform plain ones in graph clustering? In International Conference on Network Analysis, pp. 87–105. Springer, 2016. ",
1429
+ "bbox": [
1430
+ 176,
1431
+ 554,
1432
+ 823,
1433
+ 598
1434
+ ],
1435
+ "page_idx": 10
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "Karly A. Jacobsen and Joseph H. Tien. A generalized inverse for graphs with absorption. Linear Algebra and its Applications, 537:118–147, 2018. ",
1440
+ "bbox": [
1441
+ 174,
1442
+ 606,
1443
+ 821,
1444
+ 636
1445
+ ],
1446
+ "page_idx": 10
1447
+ },
1448
+ {
1449
+ "type": "text",
1450
+ "text": "Jaz Kandola, Nello Cristianini, and John S. Shawe-Taylor. Learning semantic similarity. In Advances in Neural Information Processing Systems, pp. 673–680, 2003. ",
1451
+ "bbox": [
1452
+ 174,
1453
+ 643,
1454
+ 823,
1455
+ 672
1456
+ ],
1457
+ "page_idx": 10
1458
+ },
1459
+ {
1460
+ "type": "text",
1461
+ "text": "Leo Katz. A new status index derived from sociometric analysis. Psychometrika, 18(1):39–43, 1953. ",
1462
+ "bbox": [
1463
+ 173,
1464
+ 681,
1465
+ 823,
1466
+ 710
1467
+ ],
1468
+ "page_idx": 10
1469
+ },
1470
+ {
1471
+ "type": "text",
1472
+ "text": "Stephen J. Kirkland and Michael Neumann. Group Inverses of M-matrices and Their Applications. CRC Press, 2012. ",
1473
+ "bbox": [
1474
+ 173,
1475
+ 718,
1476
+ 821,
1477
+ 747
1478
+ ],
1479
+ "page_idx": 10
1480
+ },
1481
+ {
1482
+ "type": "text",
1483
+ "text": "Ilkka Kivimaki, Masashi Shimbo, and Marco Saerens. Developments in the theory of randomized ¨ shortest paths with a comparison of graph node distances. Physica A: Statistical Mechanics and its Applications, 393:600–616, 2014. ",
1484
+ "bbox": [
1485
+ 174,
1486
+ 756,
1487
+ 825,
1488
+ 799
1489
+ ],
1490
+ "page_idx": 10
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "Andrea Lancichinetti, Santo Fortunato, and Filippo Radicchi. Benchmark graphs for testing community detection algorithms. Physical Review E, 78(4):046110, 2008. ",
1495
+ "bbox": [
1496
+ 173,
1497
+ 806,
1498
+ 821,
1499
+ 837
1500
+ ],
1501
+ "page_idx": 10
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "Pierre Leleux, Sylvain Courtain, Guillaume Guex, and Marco Saerens. Sparse randomized shortest paths routing with tsallis divergence regularization. arXiv preprint arXiv:2007.00419, 2020. ",
1506
+ "bbox": [
1507
+ 174,
1508
+ 843,
1509
+ 823,
1510
+ 873
1511
+ ],
1512
+ "page_idx": 10
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "Jure Leskovec, Jon Kleinberg, and Christos Faloutsos. Graph evolution: Densification and shrinking diameters. ACM Transactions on Knowledge Discovery from Data (TKDD), 1(1, Art. 2):1–41, 2007. ",
1517
+ "bbox": [
1518
+ 174,
1519
+ 882,
1520
+ 825,
1521
+ 922
1522
+ ],
1523
+ "page_idx": 10
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "Stuart Lloyd. Least squares quantization in pcm. IEEE Transactions on Information Theory, 28(2): 129–137, 1982. ",
1528
+ "bbox": [
1529
+ 173,
1530
+ 103,
1531
+ 821,
1532
+ 132
1533
+ ],
1534
+ "page_idx": 11
1535
+ },
1536
+ {
1537
+ "type": "text",
1538
+ "text": "David Lusseau, Karsten Schneider, Oliver J. Boisseau, Patti Haase, Elisabeth Slooten, and Steve M. Dawson. The bottlenose dolphin community of doubtful sound features a large proportion of long-lasting associations. Behavioral Ecology and Sociobiology, 54(4):396–405, 2003. ",
1539
+ "bbox": [
1540
+ 178,
1541
+ 140,
1542
+ 823,
1543
+ 184
1544
+ ],
1545
+ "page_idx": 11
1546
+ },
1547
+ {
1548
+ "type": "text",
1549
+ "text": "Ulrike V. Luxburg, Agnes Radl, and Matthias Hein. Getting lost in space: Large sample analysis of the resistance distance. In Advances in Neural Information Processing Systems, pp. 2622–2630, 2010. ",
1550
+ "bbox": [
1551
+ 174,
1552
+ 190,
1553
+ 823,
1554
+ 233
1555
+ ],
1556
+ "page_idx": 11
1557
+ },
1558
+ {
1559
+ "type": "text",
1560
+ "text": "James MacQueen et al. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, volume 14, pp. 281–297. Oakland, CA, USA, 1967. ",
1561
+ "bbox": [
1562
+ 176,
1563
+ 242,
1564
+ 823,
1565
+ 285
1566
+ ],
1567
+ "page_idx": 11
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "Andrew Kachites McCallum, Kamal Nigam, Jason Rennie, and Kristie Seymore. Automating the construction of internet portals with machine learning. Information Retrieval, 3(2):127–163, 2000. ",
1572
+ "bbox": [
1573
+ 174,
1574
+ 292,
1575
+ 825,
1576
+ 335
1577
+ ],
1578
+ "page_idx": 11
1579
+ },
1580
+ {
1581
+ "type": "text",
1582
+ "text": "Sebastian Mika, Gunnar Ratsch, Jason Weston, Bernhard Scholkopf, and Klaus-Robert Mullers. Fisher discriminant analysis with kernels. In Neural Networks for Signal Processing IX: Proceedings of the 1999 IEEE Signal Processing Society Workshop, pp. 41–48. IEEE, 1999. ",
1583
+ "bbox": [
1584
+ 173,
1585
+ 343,
1586
+ 825,
1587
+ 387
1588
+ ],
1589
+ "page_idx": 11
1590
+ },
1591
+ {
1592
+ "type": "text",
1593
+ "text": "Mark E. J. Newman. Modularity and community structure in networks. Proceedings of the National Academy of Sciences, 103(23):8577–8582, 2006. ",
1594
+ "bbox": [
1595
+ 173,
1596
+ 395,
1597
+ 821,
1598
+ 424
1599
+ ],
1600
+ "page_idx": 11
1601
+ },
1602
+ {
1603
+ "type": "text",
1604
+ "text": "Mark E. J. Newman and Michelle Girvan. Finding and evaluating community structure in networks. Physical Review E, 69(2):026113, 2004. ",
1605
+ "bbox": [
1606
+ 174,
1607
+ 431,
1608
+ 821,
1609
+ 462
1610
+ ],
1611
+ "page_idx": 11
1612
+ },
1613
+ {
1614
+ "type": "text",
1615
+ "text": "Lawrence Page, Sergey Brin, Rajeev Motwani, and Terry Winograd. The PageRank citation ranking: Bringing order to the web. Technical report, Stanford InfoLab, 1999. ",
1616
+ "bbox": [
1617
+ 173,
1618
+ 468,
1619
+ 821,
1620
+ 498
1621
+ ],
1622
+ "page_idx": 11
1623
+ },
1624
+ {
1625
+ "type": "text",
1626
+ "text": "Muhammad Qasim Pasta and Faraz Zaidi. Topology of complex networks and performance limitations of community detection algorithms. IEEE Access, 5:10901–10914, 2017. ",
1627
+ "bbox": [
1628
+ 174,
1629
+ 506,
1630
+ 818,
1631
+ 535
1632
+ ],
1633
+ "page_idx": 11
1634
+ },
1635
+ {
1636
+ "type": "text",
1637
+ "text": "Liudmila Prokhorenkova. Using synthetic networks for parameter tuning in community detection. In International Workshop on Algorithms and Models for the Web-Graph, pp. 1–15. Springer, 2019. ",
1638
+ "bbox": [
1639
+ 176,
1640
+ 542,
1641
+ 821,
1642
+ 585
1643
+ ],
1644
+ "page_idx": 11
1645
+ },
1646
+ {
1647
+ "type": "text",
1648
+ "text": "Usha Nandini Raghavan, Reka Albert, and Soundar Kumara. Near linear time algorithm to detect ´ community structures in large-scale networks. Physical Review E, 76(3):036106, 2007. ",
1649
+ "bbox": [
1650
+ 173,
1651
+ 594,
1652
+ 821,
1653
+ 623
1654
+ ],
1655
+ "page_idx": 11
1656
+ },
1657
+ {
1658
+ "type": "text",
1659
+ "text": "John Shawe-Taylor and Nello Cristianini et al. Kernel Methods for Pattern Analysis. Cambridge University Press, 2004. ",
1660
+ "bbox": [
1661
+ 173,
1662
+ 631,
1663
+ 823,
1664
+ 660
1665
+ ],
1666
+ "page_idx": 11
1667
+ },
1668
+ {
1669
+ "type": "text",
1670
+ "text": "Felix Sommer, Franc¸ois Fouss, and Marco Saerens. Comparison of graph node distances on clustering tasks. In International Conference on Artificial Neural Networks, pp. 192–201. Springer, 2016. ",
1671
+ "bbox": [
1672
+ 174,
1673
+ 667,
1674
+ 823,
1675
+ 710
1676
+ ],
1677
+ "page_idx": 11
1678
+ },
1679
+ {
1680
+ "type": "text",
1681
+ "text": "Felix Sommer, Franc¸ois Fouss, and Marco Saerens. Modularity-driven kernel k-means for community detection. In International Conference on Artificial Neural Networks, pp. 423–433. Springer, 2017. ",
1682
+ "bbox": [
1683
+ 173,
1684
+ 718,
1685
+ 825,
1686
+ 761
1687
+ ],
1688
+ "page_idx": 11
1689
+ },
1690
+ {
1691
+ "type": "text",
1692
+ "text": "Juliette Stehle, Nicolas Voirin, Alain Barrat, Ciro Cattuto, Lorenzo Isella, Jean-Franc¸ois Pinton, ´ Marco Quaggiotto, Wouter Van den Broeck, Corinne Regis, and Bruno Lina et al. High-resolution ´ measurements of face-to-face contact patterns in a primary school. PloS One, 6(8):e23176, 2011. ",
1693
+ "bbox": [
1694
+ 173,
1695
+ 770,
1696
+ 825,
1697
+ 813
1698
+ ],
1699
+ "page_idx": 11
1700
+ },
1701
+ {
1702
+ "type": "text",
1703
+ "text": "Stijn Marinus Van Dongen. Graph Clustering by Flow Smulation. PhD thesis, Utrecht University, 2000. ",
1704
+ "bbox": [
1705
+ 173,
1706
+ 820,
1707
+ 823,
1708
+ 849
1709
+ ],
1710
+ "page_idx": 11
1711
+ },
1712
+ {
1713
+ "type": "text",
1714
+ "text": "Ulrike Von Luxburg. A tutorial on spectral clustering. Statistics and Computing, 17(4):395–416, 2007. ",
1715
+ "bbox": [
1716
+ 174,
1717
+ 858,
1718
+ 823,
1719
+ 887
1720
+ ],
1721
+ "page_idx": 11
1722
+ },
1723
+ {
1724
+ "type": "text",
1725
+ "text": "WebAtlas. Eurosis webmapping, 2009. URL http://www.webatlas.fr/exhibition/ eurosis/. ",
1726
+ "bbox": [
1727
+ 174,
1728
+ 895,
1729
+ 821,
1730
+ 924
1731
+ ],
1732
+ "page_idx": 11
1733
+ },
1734
+ {
1735
+ "type": "text",
1736
+ "text": "Luh Yen, Francois Fouss, Christine Decaestecker, Pascal Francq, and Marco Saerens. Graph nodes clustering based on the commute-time kernel. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp. 1037–1045. Springer, 2007. ",
1737
+ "bbox": [
1738
+ 173,
1739
+ 103,
1740
+ 823,
1741
+ 146
1742
+ ],
1743
+ "page_idx": 12
1744
+ },
1745
+ {
1746
+ "type": "text",
1747
+ "text": "Luh Yen, Marco Saerens, Amin Mantrach, and Masashi Shimbo. A family of dissimilarity measures between nodes generalizing both the shortest-path and the commute-time distances. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–793, 2008. ",
1748
+ "bbox": [
1749
+ 173,
1750
+ 155,
1751
+ 826,
1752
+ 212
1753
+ ],
1754
+ "page_idx": 12
1755
+ },
1756
+ {
1757
+ "type": "text",
1758
+ "text": "Luh Yen, Francois Fouss, Christine Decaestecker, Pascal Francq, and Marco Saerens. Graph nodes clustering with the sigmoid commute-time kernel: A comparative study. Data & Knowledge Engineering, 68(3):338–361, 2009. ",
1759
+ "bbox": [
1760
+ 173,
1761
+ 219,
1762
+ 826,
1763
+ 262
1764
+ ],
1765
+ "page_idx": 12
1766
+ },
1767
+ {
1768
+ "type": "text",
1769
+ "text": "Wayne W. Zachary. An information flow model for conflict and fission in small groups. Journal of Anthropological Research, 33(4):452–473, 1977. ",
1770
+ "bbox": [
1771
+ 173,
1772
+ 272,
1773
+ 825,
1774
+ 300
1775
+ ],
1776
+ "page_idx": 12
1777
+ }
1778
+ ]
parse/train/HklSf3CqKm/HklSf3CqKm.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HklSf3CqKm/HklSf3CqKm_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HklSf3CqKm/HklSf3CqKm_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HklSf3CqKm/HklSf3CqKm_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJg8TeSFDH/rJg8TeSFDH_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJg8TeSFDH/rJg8TeSFDH_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rkZvSe-RZ/rkZvSe-RZ.md ADDED
@@ -0,0 +1,504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ENSEMBLE ADVERSARIAL TRAINING: ATTACKS AND DEFENSES
2
+
3
+ Florian Tramer\`
4
+ Stanford University
5
+ tramer@cs.stanford.edu
6
+ Alexey Kurakin
7
+ Google Brain
8
+ kurakin@google.com
9
+
10
+ Nicolas Papernot∗ Pennsylvania State University ngp5056@cse.psu.edu
11
+
12
+ Ian Goodfellow
13
+ Google Brain
14
+ goodfellow@google.com
15
+
16
+ Dan Boneh Stanford University dabo@cs.stanford.edu
17
+
18
+ Patrick McDaniel Pennsylvania State University mcdaniel@cse.psu.edu
19
+
20
+ # ABSTRACT
21
+
22
+ Adversarial examples are perturbed inputs designed to fool machine learning models. Adversarial training injects such examples into training data to increase robustness. To scale this technique to large datasets, perturbations are crafted using fast single-step methods that maximize a linear approximation of the model’s loss.
23
+
24
+ We show that this form of adversarial training converges to a degenerate global minimum, wherein small curvature artifacts near the data points obfuscate a linear approximation of the loss. The model thus learns to generate weak perturbations, rather than defend against strong ones. As a result, we find that adversarial training remains vulnerable to black-box attacks, where we transfer perturbations computed on undefended models, as well as to a powerful novel single-step attack that escapes the non-smooth vicinity of the input data via a small random step.
25
+
26
+ We further introduce Ensemble Adversarial Training, a technique that augments training data with perturbations transferred from other models. On ImageNet, Ensemble Adversarial Training yields models with strong robustness to black-box attacks. In particular, our most robust model won the first round of the NIPS 2017 competition on Defenses against Adversarial Attacks (Kurakin et al., 2017c).
27
+
28
+ # 1 INTRODUCTION
29
+
30
+ Machine learning (ML) models are often vulnerable to adversarial examples, maliciously perturbed inputs designed to mislead a model at test time (Biggio et al., 2013; Szegedy et al., 2013; Goodfellow et al., 2014b; Papernot et al., 2016a). Furthermore, Szegedy et al. (2013) showed that these inputs transfer across models: the same adversarial example is often misclassified by different models, thus enabling simple black-box attacks on deployed models (Papernot et al., 2017; Liu et al., 2017).
31
+
32
+ Adversarial training (Szegedy et al., 2013) increases robustness by augmenting training data with adversarial examples. Madry et al. (2017) showed that adversarially trained models can be made robust to white-box attacks (i.e., with knowledge of the model parameters) if the perturbations computed during training closely maximize the model’s loss. However, prior attempts at scaling this approach to ImageNet-scale tasks (Deng et al., 2009) have proven unsuccessful (Kurakin et al., 2017b).
33
+
34
+ It is thus natural to ask whether it is possible, at scale, to achieve robustness against the class of black-box adversaries Towards this goal, Kurakin et al. (2017b) adversarially trained an Inception v3 model (Szegedy et al., 2016b) on ImageNet using a “single-step” attack based on a linearization of the model’s loss (Goodfellow et al., 2014b). Their trained model is robust to single-step perturbations but remains vulnerable to more costly “multi-step” attacks. Yet, Kurakin et al. (2017b) found that these attacks fail to reliably transfer between models, and thus concluded that the robustness of their model should extend to black-box adversaries. Surprisingly, we show that this is not the case.
35
+
36
+ We demonstrate, formally and empirically, that adversarial training with single-step methods admits a degenerate global minimum, wherein the model’s loss can not be reliably approximated by a linear function. Specifically, we find that the model’s decision surface exhibits sharp curvature near the data points, thus degrading attacks based on a single gradient computation. In addition to the model of Kurakin et al. (2017b), we reveal similar overfitting in an adversarially trained Inception ResNet v2 model (Szegedy et al., 2016a), and a variety of models trained on MNIST (LeCun et al., 1998).
37
+
38
+ We harness this result in two ways. First, we show that adversarially trained models using single-step methods remain vulnerable to simple attacks. For black-box adversaries, we find that perturbations crafted on an undefended model often transfer to an adversarially trained one. We also introduce a simple yet powerful single-step attack that applies a small random perturbation—to escape the nonsmooth vicinity of the data point—before linearizing the model’s loss. While seemingly weaker than the Fast Gradient Sign Method of Goodfellow et al. (2014b), our attack significantly outperforms it for a same perturbation norm, for models trained with or without adversarial training.
39
+
40
+ Second, we propose Ensemble Adversarial Training, a training methodology that incorporates perturbed inputs transferred from other pre-trained models. Our approach decouples adversarial example generation from the parameters of the trained model, and increases the diversity of perturbations seen during training. We train Inception v3 and Inception ResNet v2 models on ImageNet that exhibit increased robustness to adversarial examples transferred from other holdout models, using various single-step and multi-step attacks (Goodfellow et al., 2014b; Carlini & Wagner, 2017a; Kurakin et al., 2017a; Madry et al., 2017). We also show that our methods globally reduce the dimensionality of the space of adversarial examples (Tramer et al., 2017). Our Inception ResNet v2 model won the \` first round of the NIPS 2017 competition on Defenses Against Adversarial Attacks (Kurakin et al., 2017c), where it was evaluated on other competitors’ attacks in a black-box setting.
41
+
42
+ # 2 RELATED WORK
43
+
44
+ Various defensive techniques against adversarial examples in deep neural networks have been proposed (Gu & Rigazio, 2014; Luo et al., 2015; Papernot et al., 2016c; Nayebi & Ganguli, 2017; Cisse et al., 2017) and many remain vulnerable to adaptive attackers (Carlini & Wagner, 2017a;b; Baluja & Fischer, 2017). Adversarial training (Szegedy et al., 2013; Goodfellow et al., 2014b; Kurakin et al., 2017b; Madry et al., 2017) appears to hold the greatest promise for learning robust models.
45
+
46
+ Madry et al. (2017) show that adversarial training on MNIST yields models that are robust to whitebox attacks, if the adversarial examples used in training closely maximize the model’s loss. Moreover, recent works by Sinha et al. (2018), Raghunathan et al. (2018) and Kolter & Wong (2017) even succeed in providing certifiable robustness for small perturbations on MNIST. As we argue in Appendix C, the MNIST dataset is peculiar in that there exists a simple “closed-form” denoising procedure (namely feature binarization) which leads to similarly robust models without adversarial training. This may explain why robustness to white-box attacks is hard to scale to tasks such as ImageNet (Kurakin et al., 2017b). We believe that the existence of a simple robust baseline for MNIST can be useful for understanding some limitations of adversarial training techniques.
47
+
48
+ Szegedy et al. (2013) found that adversarial examples transfer between models, thus enabling blackbox attacks on deployed models. Papernot et al. (2017) showed that black-box attacks could succeed with no access to training data, by exploiting the target model’s predictions to extract (Tramer et al., \` 2016) a surrogate model. Some prior works have hinted that adversarially trained models may remain vulnerable to black-box attacks: Goodfellow et al. (2014b) found that an adversarial maxout network on MNIST has slightly higher error on transferred examples than on white-box examples. Papernot et al. (2017) further showed that a model trained on small perturbations can be evaded by transferring perturbations of larger magnitude. Our finding that adversarial training degrades the accuracy of linear approximations of the model’s loss is as an instance of a gradient-masking phenomenon (Papernot et al., 2016b), which affects other defensive techniques (Papernot et al., 2016c; Carlini & Wagner, 2017a; Nayebi & Ganguli, 2017; Brendel & Bethge, 2017; Athalye et al., 2018).
49
+
50
+ # 3 THE ADVERSARIAL TRAINING FRAMEWORK
51
+
52
+ We consider a classification task with data $x \in [ 0 , 1 ] ^ { d }$ and labels $y _ { \mathrm { t r u e } } \in \mathbb { Z } _ { k }$ sampled from a distribution $\mathcal { D }$ . We identify a model with an hypothesis $h$ from a space $\mathcal { H }$ . On input $x$ , the model outputs class scores $h ( x ) \in \mathbb { R } ^ { k }$ . The loss function used to train the model, e.g., cross-entropy, is $L ( h ( x ) , y )$ .
53
+
54
+ # 3.1 THREAT MODEL
55
+
56
+ For some target model $h \in \mathcal H$ and inputs $( x , y _ { \mathrm { t r u e } } )$ the adversary’s goal is to find an adversarial example $x ^ { \mathrm { a d v } }$ such that $x ^ { \mathrm { a d v } }$ and $x$ are “close” yet the model misclassifies $x ^ { \mathrm { a d v } }$ . We consider the wellstudied class of $\ell _ { \infty }$ bounded adversaries (Goodfellow et al., 2014b; Madry et al., 2017) that, given some budget $\epsilon$ , output examples $x ^ { \mathrm { a d v } }$ where $\| x ^ { \mathrm { a d v } } - x \| _ { \infty } \leq \epsilon .$ . As we comment in Appendix C.1, $\ell _ { \infty }$ robustness is of course not an end-goal for secure ML. We use this standard model to showcase limitations of prior adversarial training methods, and evaluate our proposed improvements.
57
+
58
+ We distinguish between white-box adversaries that have access to the target model’s parameters (i.e., $h _ { . }$ ), and black-box adversaries with only partial information about the model’s inner workings. Formal definitions for these adversaries are in Appendix A. Although security against white-box attacks is the stronger notion (and the one we ideally want ML models to achieve), black-box security is a reasonable and more tractable goal for deployed ML models.
59
+
60
+ # 3.2 ADVERSARIAL TRAINING
61
+
62
+ Following Madry et al. (2017), we consider an adversarial variant of standard Empirical Risk Minimization (ERM), where our aim is to minimize the risk over adversarial examples:
63
+
64
+ $$
65
+ \begin{array} { r l } { h ^ { * } = \underset { h \in \mathcal { H } } { \arg \operatorname* { m i n } } } & { \underset { ( x , y _ { \mathrm { t u e } } ) \sim \mathcal { D } } { \mathbb { E } } \left[ \underset { \| x ^ { \mathrm { a d v } } - x \| _ { \infty } \leq \epsilon } { \operatorname* { m a x } } L ( h ( x ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) \right] . } \end{array}
66
+ $$
67
+
68
+ Madry et al. (2017) argue that adversarial training has a natural interpretation in this context, where a given attack (see below) is used to approximate solutions to the inner maximization problem, and the outer minimization problem corresponds to training over these examples. Note that the original formulation of adversarial training (Szegedy et al., 2013; Goodfellow et al., 2014b), which we use in our experiments, trains on both the “clean” examples x and adversarial examples xadv.
69
+
70
+ We consider three algorithms to generate adversarial examples with bounded $\ell _ { \infty }$ norm. The first two are single-step (i.e., they require a single gradient computation); the third is iterative—it computes multiple gradient updates. We enforce $x ^ { \mathrm { a d v } } \in [ 0 , 1 ] ^ { d }$ by clipping all components of $x ^ { \mathrm { a d v } }$ .
71
+
72
+ Fast Gradient Sign Method (FGSM). This method (Goodfellow et al., 2014b) linearizes the inner maximization problem in (1):
73
+
74
+ $$
75
+ x _ { \mathrm { F G S M } } ^ { \mathrm { a d v } } : = x + \varepsilon \cdot \mathrm { s i g n } \left( \nabla _ { x } L ( h ( x ) , y _ { \mathrm { t r u e } } ) \right) \ .
76
+ $$
77
+
78
+ Single-Step Least-Likely Class Method (Step-LL). This variant of FGSM introduced by Kurakin et al. (2017a;b) targets the least-likely class, $y _ { \mathrm { L L } } = \arg \operatorname* { m i n } \{ h ( x ) \}$ :
79
+
80
+ $$
81
+ x _ { \mathrm { L L } } ^ { \mathrm { a d v } } : = x - \varepsilon \cdot \mathrm { s i g n } \left( \nabla _ { x } L ( h ( x ) , y _ { \mathrm { L L } } ) \right) .
82
+ $$
83
+
84
+ Although this attack only indirectly tackles the inner maximization in (1), Kurakin et al. (2017b) find it to be the most effective for adversarial training on ImageNet.
85
+
86
+ Iterative Attack (I-FGSM or Iter-LL). This method iteratively applies the FGSM or Step-LL $k$ times with step-size $\alpha \geq \epsilon / k$ and projects each step onto the $\ell _ { \infty }$ ball of norm $\epsilon$ around $x$ . It uses projected gradient descent to solve the maximization in (1). For fixed $\epsilon$ , iterative attacks induce higher error rates than single-step attacks, but transfer at lower rates (Kurakin et al., 2017a;b).
87
+
88
+ # 3.3 A DEGENERATE GLOBAL MINIMUM FOR SINGLE-STEP ADVERSARIAL TRAINING
89
+
90
+ When performing adversarial training with a single-step attack (e.g., the FGSM or Step-LL methods above), we approximate Equation (1) by replacing the solution to the inner maximization problem
91
+
92
+ in with the output of the single-step attack (e.g., $x _ { \mathrm { F G S M } } ^ { \mathrm { a d v } }$ in (2)). That is, we solve
93
+
94
+ $$
95
+ h ^ { * } = \underset { h \in \mathcal { H } } { \arg \operatorname* { m i n } } \quad \underset { ( x , y _ { \mathrm { t u c } } ) \sim \mathcal { D } } { \mathbb { E } } \left[ L \big ( h ( x _ { \mathrm { F G S M } } ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } \big ) \right] .
96
+ $$
97
+
98
+ For model families $\mathcal { H }$ with high expressive power, this alternative optimization problem admits at least two substantially different global minima $h ^ { * }$ :
99
+
100
+ • For an input $x$ from $\mathcal { D }$ , there is no $x ^ { \mathrm { a d v } }$ close to $x$ (in $\ell _ { \infty }$ norm) that induces a high loss. That is,
101
+
102
+ $$
103
+ L ( h ^ { * } ( x _ { \mathrm { F G S M } } ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) \approx \operatorname* { m a x } _ { \| x ^ { \mathrm { a d v } } - x \| _ { \infty } \leq \epsilon } L ( h ^ { * } ( x ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) ] \approx 0 .
104
+ $$
105
+
106
+ In other words, $h ^ { * }$ is robust to all $\ell _ { \infty }$ bounded perturbations.
107
+
108
+ • The minimizer $h ^ { * }$ is a model for which the approximation method underlying the attack (i.e., linearization in our case) poorly fits the model’s loss function. That is,
109
+
110
+ $$
111
+ L ( h ^ { * } ( x _ { \mathrm { F G S M } } ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) \ll \operatorname* { m a x } _ { \| x ^ { \mathrm { a d v } } - x \| _ { \infty } \le \epsilon } L ( h ^ { * } ( x ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) ] .
112
+ $$
113
+
114
+ Thus the attack when applied to $h ^ { * }$ produces samples $x ^ { \mathrm { a d v } }$ that are far from optimal.
115
+
116
+ Note that this second “degenerate” minimum can be more subtle than a simple case of overfitting to samples produced from single-step attacks. Indeed, we show in Section 4.1 that single-step attacks applied to adversarially trained models create “adversarial” examples that are easy to classify even for undefended models. Thus, adversarial training does not simply learn to resist the particular attack used during training, but actually to make that attack perform worse overall. This phenomenon relates to the notion of Reward Hacking (Amodei et al., 2016) wherein an agent maximizes its formal objective function via unintended behavior that fails to captures the designer’s true intent.
117
+
118
+ # 3.4 ENSEMBLE ADVERSARIAL TRAINING
119
+
120
+ The degenerate minimum described in Section 3.3 is attainable because the learned model’s parameters influence the quality of both the minimization and maximization in (1). One solution is to use a stronger adversarial example generation process, at a high performance cost (Madry et al., 2017). Alternatively, Baluja & Fischer (2017) suggest training an adversarial generator model as in the GAN framework (Goodfellow et al., 2014a). The power of this generator is likely to require careful tuning, to avoid similar degenerate minima (where the generator or classifier overpowers the other).
121
+
122
+ We propose a conceptually simpler approach to decouple the generation of adversarial examples from the model being trained, while simultaneously drawing an explicit connection with robustness to black-box adversaries. Our method, which we call Ensemble Adversarial Training, augments a model’s training data with adversarial examples crafted on other static pre-trained models. Intuitively, as adversarial examples transfer between models, perturbations crafted on an external model are good approximations for the maximization problem in (1). Moreover, the learned model can not influence the “strength” of these adversarial examples. As a result, minimizing the training loss implies increased robustness to black-box attacks from some set of models.
123
+
124
+ Domain Adaptation with multiple sources. We can draw a connection between Ensemble Adversarial Training and multiple-source Domain Adaptation (Mansour et al., 2009; Zhang et al., 2012). In Domain Adaptation, a model trained on data sampled from one or more source distributions $\boldsymbol { S } _ { 1 } , \ldots , \boldsymbol { S } _ { k }$ is evaluated on samples $x$ from a different target distribution $\tau$ .
125
+
126
+ Let $A _ { i }$ be an adversarial distribution obtained by sampling $( x , y _ { \mathrm { t r u e } } )$ from $\mathcal { D }$ , computing an adversarial example $x ^ { \mathrm { a d v } }$ for some model such that $\| x ^ { \mathrm { a d v } } - x \| _ { \infty } \leq \epsilon$ , and outputting $( x ^ { \mathrm { a d v } } , y _ { \mathrm { t r u e } } )$ . In Ensemble Adversarial Training, the source distributions are $\mathcal { D }$ (the clean data) and $\mathcal { A } _ { 1 } , \ldots , \mathcal { A } _ { k }$ (the attacks overs the currently trained model and the static pre-trained models). The target distribution takes the form of an unseen black-box adversary $\mathcal { A } ^ { * }$ . Standard generalization bounds for Domain Adaptation (Mansour et al., 2009; Zhang et al., 2012) yield the following result.
127
+
128
+ Theorem 1 (informal). Let $h ^ { \ast } \in \mathcal { H }$ be a model learned with Ensemble Adversarial Training and static black-box adversaries $\mathcal { A } _ { 1 } , \ldots , \mathcal { A } _ { k }$ . Then, if $h ^ { * }$ is robust against the black-box adversaries $\mathcal { A } _ { 1 } , \ldots \mathcal { A } _ { k }$ used at training time, then $h ^ { * }$ has bounded error on attacks from a future black-box adversary $\mathcal { A } ^ { * }$ , if $\mathcal { A } ^ { * }$ is not “much stronger”, on average, than the static adversaries $\mathcal { A } _ { 1 } , \ldots , \mathcal { A } _ { k }$ .
129
+
130
+ ![](images/364615ab0fa795bce9de81e64d675fc54bea01c98991140721a6039e35625055.jpg)
131
+ Figure 1: Gradient masking in single-step adversarial training. We plot the loss of model ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ on points $x ^ { * } = x + \epsilon _ { 1 } \cdot g + \epsilon _ { 2 } \cdot g ^ { \perp }$ , where $g$ is the signed gradient and $g ^ { \perp }$ is an orthogonal adversarial direction. Plot (b) is a zoom of (a) near $x$ . The gradient poorly approximates the global loss.
132
+
133
+ We give a formal statement of this result and of the assumptions on $\mathcal { A } ^ { * }$ in Appendix B. Of course, ideally we would like guarantees against arbitrary future adversaries. For very low-dimensional tasks (e.g., MNIST), stronger guarantees are within reach for specific classes of adversaries (e.g., $\ell _ { \infty }$ bounded perturbations (Madry et al., 2017; Sinha et al., 2018; Raghunathan et al., 2018; Kolter & Wong, 2017)), yet they also fail to extend to other adversaries not considered at training time (see Appendix C.1 for a discussion). For ImageNet-scale tasks, stronger formal guarantees appear out of reach, and we thus resort to an experimental assessment of the robustness of Ensemble Adversarially Trained models to various non-interactive black-box adversaries in Section 4.2.
134
+
135
+ # 4 EXPERIMENTS
136
+
137
+ We show the existence of a degenerate minimum, as described in Section 3.3, for the adversarially trained Inception v3 model of Kurakin et al. (2017b). Their model (denoted ${ \mathrm { v } } 3 _ { \mathrm { a d v } , }$ ) was trained on a Step-LL attack with $\epsilon \leq 1 6 / 2 5 6$ . We also adversarially train an Inception ResNet v2 model (Szegedy et al., 2016a) using the same setup. We denote this model by $\mathrm { I R v } 2 _ { \mathrm { a d v } }$ . We refer the reader to (Kurakin et al., 2017b) for details on the adversarial training procedure.
138
+
139
+ We first measure the approximation-ratio of the Step-LL attack for the inner maximization in (1). As we do not know the true maximum, we lower-bound it using an iterative attack. For 1,000 random test points, we find that for a standard Inception v3 model, step-LL gets within $1 9 \%$ of the optimum loss on average. This attack is thus a good candidate for adversarial training. Yet, for the ${ \bf V } { \boldsymbol 3 } _ { \mathrm { a d v } }$ model, the approximation ratio drops to $7 \%$ , confirming that the learned model is less amenable to linearization. We obtain similar results for Inception ResNet v2 models. The ratio is $1 7 \%$ for a standard model, and $8 \%$ for $\mathrm { I R v } 2 _ { \mathrm { a d v } }$ . Similarly, we look at the cosine similarity between the perturbations given by a single-step and multi-step attack. The more linear the model, the more similar we expect both perturbations to be. The average similarity drops from 0.13 for Inception v3 to 0.02 for ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ . This effect is not due to the decision surface of ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ being “too flat” near the data points: the average gradient norm is larger for ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ (0.17) than for the standard v3 model (0.10).
140
+
141
+ We visualize this “gradient-masking” effect (Papernot et al., 2016b) by plotting the loss of ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ on examples $x ^ { * } = \bar { x } + \epsilon _ { 1 } \cdot g + \epsilon _ { 2 } \cdot \bar { g } ^ { ^ { \perp } }$ , where $g$ is the signed gradient of model ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ and $g ^ { \bot }$ is a signed vector orthogonal to $g$ . Looking forward to Section 4.1, we actually chose $g ^ { \bot }$ to be the signed gradient of another Inception model, from which adversarial examples transfer to ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ . Figure 1 shows that the loss is highly curved in the vicinity of the data point $x$ , and that the gradient poorly reflects the global loss landscape. Similar plots for additional data points are in Figure 4.
142
+
143
+ We show similar results for adversarially trained MNIST models in Appendix C.2. On this task, input dropout (Srivastava et al., 2014) mitigates adversarial training’s overfitting problem, in some cases. Presumably, the random input mask diversifies the perturbations seen during training (dropout at intermediate layers does not mitigate the overfitting effect). Mishkin et al. (2017) find that input dropout significantly degrades accuracy on ImageNet, so we did not include it in our experiments.
144
+
145
+ Table 1: Error rates $( \mathbf { i n \% } )$ of adversarial examples transferred between models. We use StepLL with $\epsilon = { ^ { 1 6 } } / { 2 5 6 }$ for 10,000 random test inputs. Diagonal elements represent a white-box attack. The best attack for each target appears in bold. Similar results for MNIST models appear in Table 7.
146
+
147
+ <table><tr><td colspan="6">Source</td></tr><tr><td>Target</td><td>V4</td><td>v3</td><td>v3adv</td><td>IRv2</td><td>IRv2adv</td></tr><tr><td>v4</td><td>60.2</td><td>39.2</td><td>31.1</td><td>36.6</td><td>30.9</td></tr><tr><td>v3</td><td>43.8</td><td>69.6</td><td>36.4</td><td>42.1</td><td>35.1</td></tr><tr><td>v3ady</td><td>36.3</td><td>35.6</td><td>26.6</td><td>35.2</td><td>35.9</td></tr><tr><td>IRv2</td><td>38.0</td><td>38.0</td><td>30.8</td><td>50.7</td><td>31.9</td></tr><tr><td>IRv2adv</td><td>31.0</td><td>30.3</td><td>25.7</td><td>30.6</td><td>21.4</td></tr></table>
148
+
149
+ <table><tr><td colspan="6">Source</td></tr><tr><td>Target</td><td>v4</td><td>v3</td><td>v3adv</td><td>IRv2</td><td>IRv2adv</td></tr><tr><td>v4</td><td>31.0</td><td>14.9</td><td>10.2</td><td>13.6</td><td>9.9</td></tr><tr><td>v3</td><td>18.7</td><td>42.7</td><td>13.0</td><td>17.8</td><td>12.8</td></tr><tr><td>v3ady</td><td>13.6</td><td>13.5</td><td>9.0</td><td>13.0</td><td>14.5</td></tr><tr><td>IRv2</td><td>14.1</td><td>14.8</td><td>9.9</td><td>24.0</td><td>10.6</td></tr><tr><td>IRv2adv</td><td>10.3</td><td>10.5</td><td>7.7</td><td>10.4</td><td>58</td></tr></table>
150
+
151
+ # 4.1 ATTACKS AGAINST ADVERSARIALLY TRAINED NETWORKS
152
+
153
+ Kurakin et al. (2017b) found their adversarially trained model to be robust to various single-step attacks. They conclude that this robustness should translate to attacks transferred from other models. As we have shown, the robustness to single-step attacks is actually misleading, as the model has learned to degrade the information contained in the model’s gradient. As a consequence, we find that the ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ model is substantially more vulnerable to single-step attacks than Kurakin et al. (2017b) predicted, both in a white-box and black-box setting. The same holds for the $\mathrm { I R v } 2 _ { \mathrm { a d v } }$ model.
154
+
155
+ In addition to the ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ and $\mathrm { I R v } 2 _ { \mathrm { a d v } }$ models, we consider standard Inception v3, Inception v4 and Inception ResNet v2 models. These models are available in the TensorFlow-Slim library (Abadi et al., 2015). We describe similar results for a variety of models trained on MNIST in Appendix C.2.
156
+
157
+ Black-box attacks. Table 1 shows error rates for single-step attacks transferred between models. We compute perturbations on one model (the source) and transfer them to all others (the targets). When the source and target are the same, the attack is white-box. Adversarial training greatly increases robustness to white-box single-step attacks, but incurs a higher error rate in a black-box setting. Thus, the robustness gain observed when evaluating defended models in isolation is misleading. Given the ubiquity of this pitfall among proposed defenses against adversarial examples (Carlini & Wagner, $2 0 1 7 \mathrm { a }$ ; Brendel & Bethge, 2017; Papernot et al., 2016b), we advise researchers to always consider both white-box and black-box adversaries when evaluating defensive strategies. Notably, a similar discrepancy between white-box and black-box attacks was recently observed in Buckman et al. (2018).
158
+
159
+ Attacks crafted on adversarial models are found to be weaker even against undefended models (i.e., when using ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ or $\mathrm { I R v } 2 _ { \mathrm { a d v } }$ as source, the attack transfers with lower probability). This confirms our intuition from Section 3.3: adversarial training does not just overfit to perturbations that affect standard models, but actively degrades the linear approximation underlying the single-step attack.
160
+
161
+ A new randomized single-step attack. The loss function visualization in Figure 1 shows that sharp curvature artifacts localized near the data points can mask the true direction of steepest ascent. We thus suggest to prepend single-step attacks by a small random step, in order to “escape” the non-smooth vicinity of the data point before linearizing the model’s loss. Our new attack, called $\mathrm { R + F G S M }$ (alternatively, $\mathrm { R } { + } ,$ Step-LL), is defined as follows, for parameters $\epsilon$ and $\alpha$ (where $\alpha < \epsilon$ ):
162
+
163
+ $$
164
+ x ^ { \mathrm { a d v } } = x ^ { \prime } + ( \varepsilon - \alpha ) \cdot \mathsf { s i g n } \left( \nabla _ { x ^ { \prime } } J ( x ^ { \prime } , y _ { \mathrm { t r u e } } ) \right) , \quad \mathrm { w h e r e } \quad x ^ { \prime } = x + \alpha \cdot \mathsf { s i g n } ( \mathcal { N } ( \mathbf { 0 } ^ { d } , \mathbf { I } ^ { d } ) ) ~ .
165
+ $$
166
+
167
+ Note that the attack requires a single gradient computation. The $\mathrm { R + F G S M }$ is a computationally efficient alternative to iterative methods that have high success rates in a white-box setting. Our attack can be seen as a single-step variant of the general PGD method from (Madry et al., 2017).
168
+
169
+ Table 2 compares error rates for the Step-LL and $\mathsf { R } { + } \mathsf { S }$ tep-LL methods (with $\epsilon \ : = \ : 1 6 / 2 5 6$ and $\alpha = \epsilon / 2 )$ ). The extra random step yields a stronger attack for all models, even those without adversarial training. This suggests that a model’s loss function is generally less smooth near the data points. We further compared the $\mathsf { R } { + } \iota$ Step-LL attack to a two-step Iter-LL attack, which computes two gradient steps. Surprisingly, we find that for the adversarially trained Inception v3 model, the $\mathbf { R } { + } \mathbf { S }$ tep-LL attack is stronger than the two-step Iter-LL attack. That is, the local gradients learned by the adversarially trained model are worse than random directions for finding adversarial examples!
170
+
171
+ <table><tr><td>v4</td><td>v3</td><td>v3adv</td><td>IRv2</td><td>IRv2adv</td></tr><tr><td>60.2</td><td>69.6</td><td>26.6</td><td>50.7</td><td>21.4</td></tr><tr><td>70.5</td><td>80.0</td><td>64.8</td><td>56.3</td><td>37.5</td></tr><tr><td>78.5</td><td>86.3</td><td>58.3</td><td>69.9</td><td>41.6</td></tr></table>
172
+
173
+ Table 2: Error rates $( \mathbf { i n \% } )$ for Step-LL, $\mathbf { R } +$ Step-LL and a two-step Iter-LL on ImageNet. We use $\epsilon = { ^ { 1 6 } } / { 2 5 6 }$ , $\alpha = \epsilon / 2$ on 10,000 random test inputs. $\mathrm { R + F G S M }$ results on MNIST are in Table 7.
174
+
175
+
176
+ <table><tr><td>v4</td><td>v3</td><td>v3adv</td><td>IRv2</td><td>IRv2adv</td></tr><tr><td>31.0</td><td>42.7</td><td>9.0</td><td>24.0</td><td>5.8</td></tr><tr><td>42.8</td><td>57.1</td><td>37.1</td><td>29.3</td><td>15.0</td></tr><tr><td>56.2</td><td>70.2</td><td>29.6</td><td>45.4</td><td>16.5</td></tr></table>
177
+
178
+ Table 3: Models used for Ensemble Adversarial Training on ImageNet. The ResNets (He et al., 2016) use either 50 or 101 layers. IncRes stands for Inception ResNet (Szegedy et al., 2016a).
179
+
180
+ <table><tr><td>Trained Model</td><td>Pre-trained Models</td><td>Holdout Models</td></tr><tr><td>Inception v3 (v3adv-ens3)</td><td>Inception v3,ResNet v2 (50)</td><td>Inception v4</td></tr><tr><td>Inception v3 (v3adv-ens4)</td><td>Inception v3,ResNet v2 (5O), IncRes v2</td><td>ResNet v1 (50)</td></tr><tr><td>IncRes v2 (IRv2adv-ens)</td><td>Inception v3, IncRes v2</td><td>ResNetv2(101))</td></tr></table>
181
+
182
+ We find that the addition of this random step hinders transferability (see Table 9). We also tried adversarial training using $\mathrm { R + F G S M }$ on MNIST, using a similar approach as (Madry et al., 2017). We adversarially train a CNN (model A in Table 5) for 100 epochs, and attain $> 9 0 . 0 \%$ accuracy on $\mathrm { R + F G S M }$ samples. However, training on $\mathrm { R + F G S M }$ provides only little robustness to iterative attacks. For the PGD attack of (Madry et al., 2017) with 20 steps, the model attains $1 8 . 0 \%$ accuracy.
183
+
184
+ # 4.2 ENSEMBLE ADVERSARIAL TRAINING
185
+
186
+ We now evaluate our Ensemble Adversarial Training strategy described in Section 3.4. We recall our intuition: by augmenting training data with adversarial examples crafted from static pre-trained models, we decouple the generation of adversarial examples from the model being trained, so as to avoid the degenerate minimum described in Section 3.3. Moreover, our hope is that robustness to attacks transferred from some fixed set of models will generalize to other black-box adversaries.
187
+
188
+ We train Inception v3 and Inception ResNet v2 models (Szegedy et al., 2016a) on ImageNet, using the pre-trained models shown in Table 3. In each training batch, we rotate the source of adversarial examples between the currently trained model and one of the pre-trained models. We select the source model at random in each batch, to diversify examples across epochs. The pre-trained models’ gradients can be precomputed for the full training set. The per-batch cost of Ensemble Adversarial Training is thus lower than that of standard adversarial training: using our method with $n - 1$ pre-trained models, only every $n ^ { \mathrm { t h } }$ batch requires a forward-backward pass to compute adversarial gradients. We use synchronous distributed training on 50 machines, with minibatches of size 16 (we did not pre-compute gradients, and thus lower the batch size to fit all models in memory). Half of the examples in a minibatch are replaced by Step-LL examples. As in Kurakin et al. (2017b), we use RMSProp with a learning rate of 0.045, decayed by a factor of 0.94 every two epochs.
189
+
190
+ To evaluate how robustness to black-box attacks generalizes across models, we transfer various attacks crafted on three different holdout models (see Table 3), as well as on an ensemble of these models (as in Liu et al. (2017)). We use the Step-LL, $\mathbf { R } +$ Step-LL, FGSM, I-FGSM and the PGD attack from Madry et al. (2017) using the hinge-loss function from Carlini & Wagner (2017a). Our results are in Table 4. For each model, we report the worst-case error rate over all black-box attacks transfered from each of the holdout models (20 attacks in total). Results for MNIST are in Table 8.
191
+
192
+ Convergence speed. Convergence of Ensemble Adversarial Training is slower than for standard adversarial training, a result of training on “hard” adversarial examples and lowering the batch size. Kurakin et al. (2017b) report that after 187 epochs ( $1 5 0 k$ iterations with minibatches of size 32), the ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ model achieves $7 8 \%$ accuracy. Ensemble Adversarial Training for models ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 3 }$ and ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 4 }$ converges after 280 epochs ( $4 5 0 k$ iterations with minibatches of size 16). The Inception ResNet v2 model is trained for 175 epochs, where a baseline model converges at around 160 epochs.
193
+
194
+ Table 4: Error rates $( \mathbf { i n \ \% } )$ ) for Ensemble Adversarial Training on ImageNet. Error rates on clean data are computed over the full test set. For 10,000 random test set inputs, and $\epsilon = { ^ { 1 6 } } / { 2 5 6 }$ , we report error rates on white-box Step-LL and the worst-case error over a series of black-box attacks (Step-LL, $R +$ Step-LL, FGSM, I-FGSM, PGD) transferred from the holdout models in Table 3. For both architectures, we mark methods tied for best in bold (based on $9 5 \%$ confidence).
195
+
196
+ <table><tr><td rowspan="2">Model</td><td colspan="3">Top 1</td><td colspan="3">Top 5</td></tr><tr><td>Clean</td><td>Step-LL</td><td>Max.Black-Box</td><td>Clean</td><td>Step-LL</td><td>Max.Black-Box</td></tr><tr><td>v3</td><td>22.0</td><td>69.6</td><td>51.2</td><td>6.1</td><td>42.7</td><td>24.5</td></tr><tr><td>v3adv</td><td>22.0</td><td>26.6</td><td>40.8</td><td>6.1</td><td>9.0</td><td>17.4</td></tr><tr><td>v3adv-ens3</td><td>23.6</td><td>30.0</td><td>34.0</td><td>7.6</td><td>10.1</td><td>11.2</td></tr><tr><td>v3adv-ens4</td><td>24.2</td><td>43.3</td><td>33.4</td><td>7.8</td><td>19.4</td><td>10.7</td></tr><tr><td>IRv2</td><td>19.6</td><td>50.7</td><td>44.4</td><td>4.8</td><td>24.0</td><td>17.8</td></tr><tr><td>IRv2adv</td><td>19.8</td><td>21.4</td><td>34.5</td><td>4.9</td><td>5.8</td><td>11.7</td></tr><tr><td>IRv2adv-ens</td><td>20.2</td><td>26.0</td><td>27.0</td><td>5.1</td><td>7.6</td><td>7.9</td></tr></table>
197
+
198
+ White-box attacks. For both architectures, the models trained with Ensemble Adversarial Training are slightly less accurate on clean data, compared to standard adversarial training. Our models are also more vulnerable to white-box single-step attacks, as they were only partially trained on such perturbations. Note that for ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 4 }$ , the proportion of white-box Step-LL samples seen during training is $^ 1 / 4$ (instead of $^ 1 / 3$ for model ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 3 }$ ). The negative impact on the robustness to white-box attacks is large, for only a minor gain in robustness to transferred samples. Thus it appears that while increasing the diversity of adversarial examples seen during training can provide some marginal improvement, the main benefit of Ensemble Adversarial Training is in decoupling the attacks from the model being trained, which was the goal we stated in Section 3.4.
199
+
200
+ Ensemble Adversarial Training is not robust to white-box Iter-LL and $\mathrm { R } { + } \mathrm { : }$ Step-LL samples: the error rates are similar to those for the ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ model, and omitted for brevity (see Kurakin et al. (2017b) for Iter-LL attacks and Table 2 for $\mathrm { R } { + } \mathrm { i }$ Step-LL attacks). Kurakin et al. (2017b) conjecture that larger models are needed to attain robustness to such attacks. Yet, against black-box adversaries, these attacks are only a concern insofar as they reliably transfer between models.
201
+
202
+ Black-box attacks. Ensemble Adversarial Training significantly boosts robustness to all attacks transferred from the holdout models. For the $\mathrm { I R v } 2 _ { \mathrm { a d v - e n s } }$ model, the accuracy loss (compared to IRv2’s accuracy on clean data) is $7 . 4 \%$ (top 1) and $\mathbf { 3 . 1 \% }$ (top 5). We find that the strongest attacks in our test suite (i.e., with highest transfer rates) are the FGSM attacks. Black-box $\mathbf { R } { + } \mathbf { S }$ tep-LL or iterative attacks are less effective, as they do not transfer with high probability (see Kurakin et al. (2017b) and Table 9). Attacking an ensemble of all three holdout models, as in Liu et al. (2017), did not lead to stronger black-box attacks than when attacking the holdout models individually.
203
+
204
+ Our results have little variance with respect to the attack parameters (e.g., smaller $\epsilon$ ) or to the use of other holdout models for black-box attacks (e.g., we obtain similar results by attacking the v3adv-ens3 and ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 4 }$ models with the IRv2 model). We also find that ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 3 }$ is not vulnerable to perturbations transferred from ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 4 }$ . We obtain similar results on MNIST (see Appendix C.2), thus demonstrating the applicability of our approach to different datasets and model architectures.
205
+
206
+ The NIPS 2017 competition on adversarial examples. Our Inception ResNet v2 model was included as a baseline defense in the NIPS 2017 competition on Adversarial Examples (Kurakin et al., 2017c). Participants of the attack track submitted non-interactive black-box attacks that produce adversarial examples with bounded $\ell _ { \infty }$ norm. Models submitted to the defense track were evaluated on all attacks over a subset of the ImageNet test set. The score of a defense was defined as the average accuracy of the model over all adversarial examples produced by all attacks.
207
+
208
+ Our $\mathrm { I R v } 2 _ { \mathrm { a d v - e n s } }$ model finished $\boldsymbol { l } ^ { s t }$ among 70 submissions in the first development round, with a score of $9 5 . 3 \%$ (the second placed defense scored $8 9 . 9 \%$ ). The test data was intentionally chosen as an “easy” subset of ImageNet. Our model achieved $9 7 . 9 \%$ accuracy on the clean test data.
209
+
210
+ After the first round, we released our model publicly, which enabled other users to launch white-box attacks against it. Nevertheless, a majority of the final submissions built upon our released model. The winning submission (team “liaofz” with a score of $9 5 . 3 \%$ ) made use of a novel adversarial denoising technique. The second placed defense (team “cihangxie” with a score of $9 2 . 4 \%$ ) prepends our $\mathrm { I R v } 2 _ { \mathrm { a d v - e n s } }$ model with random padding and resizing of the input image (Xie et al., 2018).
211
+
212
+ ![](images/f449b38b69b45a3191580e87ac4bd69f0109119052e927f54a66d5fb57558e43.jpg)
213
+ Figure 2: The dimensionality of the adversarial cone. For 500 correctly classified points $x$ , and for $\epsilon \in \{ 4 , 1 0 , 1 6 \}$ , we plot the probability that we find at least $k$ orthogonal vectors $r _ { i }$ such that $\| r _ { i } \| _ { \infty } = \epsilon$ and $\boldsymbol { x } + \boldsymbol { r } _ { i }$ is misclassified. For $\epsilon \geq 1 0$ , model ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ shows a bimodal phenomenon: most points $x$ either have 0 adversarial directions or more than 90.
214
+
215
+ It is noteworthy that the defenses that incorporated Ensemble Adversarial Training faired better against the worst-case black-box adversary. Indeed, although very robust on average, the winning defense achieved as low as $1 1 . 8 \%$ accuracy on some attacks. The best defense under this metric (team “rafaelmm” which randomly perturbed images before feeding them to our $\mathrm { I R v } 2 _ { \mathrm { a d v - e n s } }$ model) achieved at least $5 3 . 6 \%$ accuracy against all submitted attacks, including the attacks that explicitly targeted our released model in a white-box setting.
216
+
217
+ Decreasing gradient masking. Ensemble Adversarial Training decreases the magnitude of the gradient masking effect described previously. For the ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 3 }$ and ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 4 }$ models, we find that the loss incurred on a Step-LL attack gets within respectively $1 3 \%$ and $1 8 \%$ of the optimum loss (we recall that for models v3 and ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ , the approximation ratio was respectively $1 9 \%$ and $7 \%$ ). Similarly, for the $\mathrm { I R v } 2 _ { \mathrm { a d v - e n s } }$ model, the ratio improves from $8 \%$ (for $\mathrm { I R } \mathrm { v } 2 _ { \mathrm { a d v } } ,$ ) to $1 4 \%$ . As expected, not solely training on a white-box single-step attack reduces gradient masking. We also verify that after Ensemble Adversarial Training, a two-step iterative attack outperforms the $\mathrm { R } +$ Step-LL attack from Section 4.1, thus providing further evidence that these models have meaningful gradients.
218
+
219
+ Finally, we revisit the “Gradient-Aligned Adversarial Subspace” (GAAS) method of Tramer et al. \` (2017). Their method estimates the size of the space of adversarial examples in the vicinity of a point, by finding a set of orthogonal perturbations of norm $\epsilon$ that are all adversarial. We note that adversarial perturbations do not technically form a “subspace” (e.g., the 0 vector is not adversarial). Rather, they may form a “cone”, the dimension of which varies as we increase $\epsilon$ . By linearizing the loss function, estimating the dimensionality of this cone reduces to finding vectors $r _ { i }$ that are strongly aligned with the model’s gradient $g = \nabla _ { x } L ( h ( x ) , y _ { \mathrm { t r u e } } )$ . Tramer et al. (2017) give a method \` that finds $k$ orthogonal vectors $r _ { i }$ that satisfy $\begin{array} { r } { \boldsymbol { g } ^ { \intercal } \boldsymbol { r } _ { i } \geq \dot { \epsilon } \cdot \| \boldsymbol { g } \| _ { 2 } \cdot \frac { 1 } { \sqrt { k } } } \end{array}$ (this bound is tight). We extend this result to the $\ell _ { \infty }$ norm, an open question in Tramer et al. (2017). In Section E, we give a randomized \` combinatorial construction (Colbourn, 2010), that finds $k$ orthogonal vectors $r _ { i }$ satisfying $\| r _ { i } \| _ { \infty } =$ $\epsilon$ and $\begin{array} { r } { \mathbb { E } \left[ \boldsymbol { g } ^ { \top } \boldsymbol { r } _ { i } \right] \ge \epsilon \cdot \| \boldsymbol { g } \| _ { 1 } \cdot \frac { 1 } { \sqrt { k } } } \end{array}$ . We show that this result is tight as well.
220
+
221
+ For models v3, ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ and ${ \mathbf { v } } 3 _ { \mathrm { a d v - e n s } 3 }$ , we select 500 correctly classified test points. For each $x$ , we search for a maximal number of orthogonal adversarial perturbations $r _ { i }$ with $\| r _ { i } \| _ { \infty } = \epsilon$ . We limit our search to $k \leq 1 0 0$ directions per point. The results are in Figure 2. For $\epsilon \in \{ 4 , 1 0 , 1 6 \}$ , we plot the proportion of points that have at least $k$ orthogonal adversarial perturbations. For a fixed $\epsilon$ , the value of $k$ can be interpreted as the dimension of a “slice” of the cone of adversarial examples near a data point. For the standard Inception v3 model, we find over 50 orthogonal adversarial directions for $3 0 \%$ of the points. The ${ \bf V } { \boldsymbol 3 } _ { \mathrm { a d v } }$ model shows a curious bimodal phenomenon for $\epsilon \geq 1 0$ : for most points $( \approx 8 0 \%$ ), we find no adversarial direction aligned with the gradient, which is consistent with the gradient masking effect. Yet, for most of the remaining points, the adversarial space is very high-dimensional $k \geq 9 0$ ). Ensemble Adversarial Training yields a more robust model, with only a small fraction of points near a large adversarial space.
222
+
223
+ # 5 CONCLUSION AND FUTURE WORK
224
+
225
+ Previous work on adversarial training at scale has produced encouraging results, showing strong robustness to (single-step) adversarial examples (Goodfellow et al., 2014b; Kurakin et al., 2017b). Yet, these results are misleading, as the adversarially trained models remain vulnerable to simple black-box and white-box attacks. Our results, generic with respect to the application domain, suggest that adversarial training can be improved by decoupling the generation of adversarial examples from the model being trained. Our experiments with Ensemble Adversarial Training show that the robustness attained to attacks from some models transfers to attacks from other models.
226
+
227
+ We did not consider black-box adversaries that attack a model via other means than by transferring examples from a local model. For instance, generative techniques (Baluja & Fischer, 2017) might provide an avenue for stronger attacks. Yet, a recent work by Xiao et al. (2018) found Ensemble Adversarial Training to be resilient to such attacks on MNIST and CIFAR10, and often attaining higher robustness than models that were adversarially trained on iterative attacks.
228
+
229
+ Moreover, interactive adversaries (see Appendix A) could try to exploit queries to the target model’s prediction function in their attack, as demonstrated in Papernot et al. (2017). If queries to the target model yield prediction confidences, an adversary can estimate the target’s gradient at a given point (e.g., using finite-differences as in Chen et al. (2017)) and fool the target with our $\mathrm { R + F G S M }$ attack. Note that if queries only return the predicted label, the attack does not apply. Exploring the impact of these classes of black-box attacks and evaluating their scalability to complex tasks is an interesting avenue for future work.
230
+
231
+ # ACKNOWLEDGMENTS
232
+
233
+ We thank Ben Poole and Jacob Steinhardt for feedback on early versions of this work. Nicolas Papernot is supported by a Google PhD Fellowship in Security. Research was supported in part by the Army Research Laboratory, under Cooperative Agreement Number W911NF-13-2-0045 (ARL Cyber Security CRA), and the Army Research Office under grant W911NF-13-1-0421. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the Army Research Laboratory or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for government purposes notwithstanding any copyright notation hereon.
234
+
235
+ # REFERENCES
236
+
237
+ Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https://www.tensorflow.org/. Software available from tensorflow.org.
238
+
239
+ Dario Amodei, Chris Olah, Jacob Steinhardt, Paul Christiano, John Schulman, and Dan Mane. Con- ´ crete problems in ai safety. arXiv preprint arXiv:1606.06565, 2016.
240
+
241
+ Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. arXiv preprint arXiv:1802.00420, 2018.
242
+
243
+ Shumeet Baluja and Ian Fischer. Adversarial transformation networks: Learning to generate adversarial examples. arXiv preprint arXiv:1703.09387, 2017.
244
+
245
+ Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Srndi ˇ c, Pavel Laskov, Gior- ´ gio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In ECMLKDD, pp. 387–402. Springer, 2013.
246
+
247
+ Wieland Brendel and Matthias Bethge. Comment on” biologically inspired protection of deep networks from adversarial attacks”. arXiv preprint arXiv:1704.01547, 2017.
248
+
249
+ Jacob Buckman, Aurko Roy, Colin Raffel, and Ian Goodfellow. Thermometer encoding: One hot way to resist adversarial examples. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=S18Su--CW.
250
+
251
+ Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In IEEE Symposium on Security and Privacy, 2017a.
252
+
253
+ Nicholas Carlini and David Wagner. Adversarial examples are not easily detected: Bypassing ten detection methods. arXiv preprint arXiv:1705.07263, 2017b.
254
+
255
+ Pin-Yu Chen, Huan Zhang, Yash Sharma, Jinfeng Yi, and Cho-Jui Hsieh. Zoo: Zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, pp. 15–26. ACM, 2017.
256
+
257
+ Moustapha Cisse, Bojanowski Piotr, Grave Edouard, Dauphin Yann, and Usunier Nicolas. Parseval networks: Improving robustness to adversarial examples. arXiv preprint arXiv:1704.08847, 2017.
258
+
259
+ Charles J Colbourn. CRC handbook of combinatorial designs. CRC press, 2010.
260
+
261
+ J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009.
262
+
263
+ Logan Engstrom, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. A rotation and a translation suffice: Fooling cnns with simple transformations. arXiv preprint arXiv:1712.02779, 2017.
264
+
265
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014a.
266
+
267
+ Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014b.
268
+
269
+ Shixiang Gu and Luca Rigazio. Towards deep neural network architectures robust to adversarial examples. arXiv preprint arXiv:1412.5068, 2014.
270
+
271
+ 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.
272
+
273
+ J Zico Kolter and Eric Wong. Provable defenses against adversarial examples via the convex outer adversarial polytope. arXiv preprint arXiv:1711.00851, 2017.
274
+
275
+ Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. In ICLR, 2017a.
276
+
277
+ Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial machine learning at scale. In ICLR, 2017b.
278
+
279
+ Alexey Kurakin, Ian J Goodfellow, and Samy Bengio. Nips 2017: Defense against adversarial attack, 2017c. URL https://www.kaggle.com/c/ nips-2017-defense-against-adversarial-attack.
280
+
281
+ Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
282
+
283
+ Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In ICLR, 2017.
284
+
285
+ Yan Luo, Xavier Boix, Gemma Roig, Tomaso Poggio, and Qi Zhao. Foveation-based mechanisms alleviate adversarial examples. arXiv preprint arXiv:1511.06292, 2015.
286
+
287
+ 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.
288
+
289
+ Yishay Mansour, Mehryar Mohri, and Afshin Rostamizadeh. Domain adaptation: Learning bounds and algorithms. arXiv preprint arXiv:0902.3430, 2009.
290
+
291
+ Dmytro Mishkin, Nikolay Sergievskiy, and Jiri Matas. Systematic evaluation of convolution neural network advances on the imagenet. Computer Vision and Image Understanding, 2017.
292
+
293
+ Aran Nayebi and Surya Ganguli. Biologically inspired protection of deep networks from adversarial attacks. arXiv preprint arXiv:1703.09202, 2017.
294
+
295
+ Nicolas Papernot, Patrick McDaniel, Somesh Jha, Matt Fredrikson, Z Berkay Celik, and Ananthram Swami. The limitations of deep learning in adversarial settings. In Security and Privacy (EuroS&P), 2016 IEEE European Symposium on, pp. 372–387. IEEE, 2016a.
296
+
297
+ Nicolas Papernot, Patrick McDaniel, Arunesh Sinha, and Michael Wellman. Towards the science of security and privacy in machine learning. arXiv preprint arXiv:1611.03814, 2016b.
298
+
299
+ Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In Security and Privacy (SP), 2016 IEEE Symposium on, pp. 582–597. IEEE, 2016c.
300
+
301
+ Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Asia Conference on Computer and Communications Security (ASIACCS), pp. 506–519. ACM, 2017.
302
+
303
+ Aditi Raghunathan, Jacob Steinhardt, and Percy Liang. Certified defenses against adversarial examples. In International Conference on Learning Representations, 2018. URL https: //openreview.net/forum?id $=$ Bys4ob-Rb.
304
+
305
+ Aman Sinha, Hongseok Namkoong, and John Duchi. Certifiable distributional robustness with principled adversarial training. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id $=$ Hk6kPgZA-.
306
+
307
+ Nitish Srivastava, Geoffrey E Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of machine learning research, 15(1):1929–1958, 2014.
308
+
309
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
310
+
311
+ Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alex Alemi. Inception-v4, inceptionresnet and the impact of residual connections on learning. arXiv preprint arXiv:1602.07261, 2016a.
312
+
313
+ Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, pp. 2818–2826, 2016b.
314
+
315
+ Florian Tramer, Fan Zhang, Ari Juels, Michael K Reiter, and Thomas Ristenpart. Stealing machine\` learning models via prediction apis. In Usenix Security, 2016.
316
+
317
+ Florian Tramer, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick McDaniel. The space \` of transferable adversarial examples. arXiv preprint arXiv:1704.03453, 2017.
318
+
319
+ Chaowei Xiao, Bo Li, Jun-Yan Zhu, Warren He, Mingyan Liu, and Dawn Song. Generating adversarial examples with adversarial networks, 2018. URL https://openreview.net/ forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ HknbyQbC-.
320
+
321
+ Cihang Xie, Jianyu Wang, Zhishuai Zhang, Zhou Ren, and Alan Yuille. Mitigating adversarial effects through randomization. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id $=$ Sk9yuql0Z.
322
+
323
+ Chao Zhang, Lei Zhang, and Jieping Ye. Generalization bounds for domain adaptation. In Advances in neural information processing systems, pp. 3320–3328, 2012.
324
+
325
+ # A THREAT MODEL: FORMAL DEFINITIONS
326
+
327
+ We provide formal definitions for the threat model introduced in Section 3.1. In the following, we explicitly identify the hypothesis space $\mathcal { H }$ that a model belongs to as describing the model’s architecture. We consider a target model $h \in \mathcal H$ trained over inputs $( x , y _ { \mathrm { t r u e } } )$ sampled from a data distribution $\mathcal { D }$ . More precisely, we write
328
+
329
+ $$
330
+ h \gets \mathsf { t r a i n } ( \mathcal { H } , X _ { \mathrm { t r a i n } } , Y _ { \mathrm { t r a i n } } , r ) \ ,
331
+ $$
332
+
333
+ where train is a randomized training procedure that takes in a description of the model architecture $\mathcal { H }$ , a training set $X _ { \mathrm { t r a i n } } , Y _ { \mathrm { t r a i n } }$ sampled from $\mathcal { D }$ , and randomness $r$ .
334
+
335
+ iven a set of test inputs produces adversarial $X , Y = \{ ( x _ { 1 } , y _ { 1 } ) , \dots , ( x _ { m } , y _ { m } ) \}$ om, su $\mathcal { D }$ and a that $\epsilon > 0$ versaryfor all $\mathcal { A }$ $X ^ { \mathrm { a d v } } = \{ x _ { 1 } ^ { \mathrm { a d v } } , \ldots , x _ { m } ^ { \mathrm { a d v } } \}$ $\| x _ { i } - x _ { i } ^ { \mathrm { a d v } } \| _ { \infty } ~ \leq ~ \epsilon$ $i \in [ 1 , m ]$ . We evaluate success of the attack as the error rate of the target model over $X ^ { \mathrm { a d v } }$ :
336
+
337
+ $$
338
+ \frac { 1 } { m } \sum _ { i = 1 } ^ { m } \mathbb { 1 } ( \arg \operatorname* { m a x } h ( x _ { i } ^ { \mathrm { a d v } } ) \neq y _ { i } ) ~ .
339
+ $$
340
+
341
+ We assume $\mathcal { A }$ can sample inputs according to the data distribution $\mathcal { D }$ . We define three adversaries.
342
+
343
+ Definition 2 (White-Box Adversary). For a target model $h \in \mathcal H$ , a white-box adversary is given access to all elements of the training procedure, that is train (the training algorithm), $\mathcal { H }$ (the model architecture), the training data $X _ { t r a i n } , Y _ { t r a i n } ,$ , the randomness $r$ and the parameters $h$ . The adversary can use any attack (e.g., those in Section 3.2) to find adversarial inputs.
344
+
345
+ White-box access to the internal model weights corresponds to a very strong adversarial model. We thus also consider the following relaxed and arguably more realistic notion of a black-box adversary. Definition 3 (Non-Interactive Black-Box Adversary). For a target model $h \in \mathcal H$ , a non-interactive black-box adversary only gets access to train (the target model’s training procedure) and $\mathcal { H }$ (the model architecture). The adversary can sample from the data distribution $\mathcal { D }$ , and uses a local algorithm to craft adversarial examples Xadv.
346
+
347
+ Attacks based on transferability (Szegedy et al., 2013) fall in this category, wherein the adversary selects a procedure train0 and model architecture $\mathcal { H } ^ { \prime }$ , trains a local model $\mathit { \Pi } _ { h ^ { ' } }$ over $\mathcal { D }$ , and computes adversarial examples on its local model $h ^ { \prime }$ using white-box attack strategies.
348
+
349
+ Most importantly, a black-box adversary does not learn the randomness $r$ used to train the target, nor the target’s parameters $h$ . The black-box adversaries in our paper are actually slightly stronger than the ones defined above, in that they use the same training data $X _ { \mathrm { t r a i n } } , Y _ { \mathrm { t r a i n } }$ as the target model.
350
+
351
+ We provide $\mathcal { A }$ with the target’s training procedure train to capture knowledge of defensive strategies applied at training time, e.g., adversarial training (Szegedy et al., 2013; Goodfellow et al., 2014b) or ensemble adversarial training (see Section 4.2). For ensemble adversarial training, $\mathcal { A }$ also knows the architectures of all pre-trained models. In this work, we always mount black-box attacks that train a local model with a different architecture than the target model. We actually find that black-box attacks on adversarially trained models are stronger in this case (see Table 1).
352
+
353
+ The main focus of our paper is on non-interactive black-box adversaries as defined above. For completeness, we also formalize a stronger notion of interactive black-box adversaries that additionally issue prediction queries to the target model (Papernot et al., 2017). We note that in cases where ML models are deployed as part of a larger system (e.g., a self driving car), an adversary may not have direct access to the model’s query interface.
354
+
355
+ Definition 4 (Interactive Black-Box Adversary). For a target model $h \in \mathcal H$ , an interactive blackbox adversary only gets access to train (the target model’s training procedure) and $\mathcal { H }$ (the model architecture). The adversary issues (adaptive) oracle queries to the target model. That is, for arbitrary inputs $x \in [ 0 , 1 ] ^ { d }$ , the adversary obtains $y = \arg \operatorname* { m a x } h ( x )$ and uses a local algorithm to craft adversarial examples (given knowledge of $\mathcal { H }$ , train, and tuples $( x , y )$ ).
356
+
357
+ Papernot et al. (2017) show that such attacks are possible even if the adversary only gets access to a small number of samples from $\mathcal { D }$ . Note that if the target model’s prediction interface additionally returns class scores $h ( x )$ , interactive black-box adversaries could use queries to the target model to estimate the model’s gradient (e.g., using finite differences) (Chen et al., 2017), and then apply the attacks in Section 3.2. We further discuss interactive black-box attack strategies in Section 5.
358
+
359
+ # B GENERALIZATION BOUND FOR ENSEMBLE ADVERSARIAL TRAINING
360
+
361
+ We provide a formal statement of Theorem 1 in Section 3.4, regarding the generalization guarantees of Ensemble Adversarial Training. For simplicity, we assume that the model is trained solely on adversarial examples computed on the pre-trained models (i.e., we ignore the clean training data and the adversarial examples computed on the model being trained). Our results are easily extended to also consider these data points.
362
+
363
+ Let $\mathcal { D }$ be the data distribution and $\mathcal { A } _ { 1 } , \ldots , \mathcal { A } _ { k } , \mathcal { A } ^ { * }$ be adversarial distributions where a sample $( x , y )$ is obtained by sampling $( x , y _ { \mathrm { t r u e } } )$ from $\mathcal { D }$ , computing an $x ^ { \mathrm { a d v } }$ such that $\| x ^ { \mathrm { a d v } } - x \| _ { \infty } \leq \epsilon$ and returning $( x ^ { \mathrm { a d v } } , y _ { \mathrm { t r u e } } )$ . We assume the model is trained on $N$ data points $Z _ { \mathrm { t r a i n } }$ , where $\textstyle { \frac { N } { k } }$ data points are sampled from each distribution $A _ { i }$ , for $1 \leq i \leq k$ . We denote $\mathcal { A } _ { \mathrm { t r a i n } } = \{ \mathcal { A } _ { 1 } , . . . , \overset { \because } { \mathcal { A } } _ { k } \}$ . At test time, the model is evaluated on adversarial examples from $\mathcal { A } ^ { * }$ .
364
+
365
+ For a model $h \in \mathcal H$ we define the empirical risk
366
+
367
+ $$
368
+ \hat { R } ( h , { \mathcal A } _ { \mathrm { t r a i n } } ) : = \frac { 1 } { N } \sum _ { ( x ^ { \mathrm { a d v } } , y _ { \mathrm { t r u e } } ) \in Z _ { \mathrm { t r a i n } } } L ( h ( x ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) \ ,
369
+ $$
370
+
371
+ and the risk over the target distribution (or future adversary)
372
+
373
+ $$
374
+ R ( h , \mathcal { A } ^ { \ast } ) : = \underset { ( x ^ { \mathrm { a d v } } , y _ { \mathrm { t r u e } } ) \sim \mathcal { A } ^ { \ast } } { \mathbb { E } } [ L ( h ( x ^ { \mathrm { a d v } } ) , y _ { \mathrm { t r u e } } ) ] .
375
+ $$
376
+
377
+ We further define the average discrepancy distance (Mansour et al., 2009) between distributions $A _ { i }$ and $\mathcal { A } ^ { * }$ with respect to a hypothesis space $\mathcal { H }$ as
378
+
379
+ $$
380
+ \operatorname { d i s c } _ { { \mathcal { H } } } ( { \mathcal { A } } _ { \mathrm { t r a i n } } , { \mathcal { A } } ^ { * } ) : = \frac { 1 } { k } \sum _ { i = 1 } ^ { k } \operatorname* { s u p } _ { h _ { 1 } , h _ { 2 } \in { \mathcal { H } } } \left| \frac { \mathbb { E } } { A _ { i } } \big [ \mathbb { 1 } _ { \{ h _ { 1 } ( x ^ { \mathrm { a b } } ) = h _ { 2 } ( x ^ { \mathrm { a b } } ) \} } \big ] - \underline { { \mathbb { E } } } _ { * } \big [ \mathbb { 1 } _ { \{ h _ { 1 } ( x ^ { \mathrm { a b } } ) = h _ { 2 } ( x ^ { \mathrm { a b } } ) \} } \big ] \right| .
381
+ $$
382
+
383
+ This quantity characterizes how “different” the future adversary is from the train-time adversaries. Intuitively, the distance disc $( \mathcal { A } _ { \mathrm { t r a i n } } , \mathcal { A } ^ { * } )$ is small if the difference in robustness between two models to the target attack $\mathcal { A } ^ { * }$ is somewhat similar to the difference in robustness between these two models to the attacks used for training (e.g., if the static black-box attacks $\mathbf { \mathcal { A } } _ { i }$ induce much higher error on some model $h _ { 1 }$ than on another model $h _ { 2 }$ , then the same should hold for the target attack $\mathcal { A } ^ { * }$ ). In other words, the ranking of the robustness of models $h \in \mathcal H$ should be similar for the attacks in $\mathcal { A } _ { \mathrm { t r a i n } }$ as for $\mathcal { A } ^ { * }$ .
384
+
385
+ Finally, let $R _ { N } ( \mathscr { H } )$ be the average Rademacher complexity of the distributions $\mathcal { A } _ { 1 } , \ldots , \mathcal { A } _ { k }$ (Zhang et al., 2012). Note that $R _ { N } ( \mathscr { H } ) \dot { \mathbf { \Omega } } \to 0$ as $N \infty$ . The following theorem is a corollary of Zhang et al. (2012, Theorem 5.2):
386
+
387
+ Theorem 5. Assume that $\mathcal { H }$ is a function class consisting of bounded functions. Then, with probability at least $1 - \epsilon ,$ ,
388
+
389
+ $$
390
+ \operatorname* { s u p } _ { h \in \mathcal { H } } \vert \hat { R } ( h , { \mathcal A } _ { t r a i n } ) - R ( h , { \mathcal A } ^ { * } ) \vert \leq d i s c _ { \mathcal { H } } ( { \mathcal A } _ { t r a i n } , { \mathcal A } ^ { * } ) + 2 R _ { N } ( \mathcal { H } ) + O \left( \sqrt { \frac { \ln ( 1 / \epsilon ) } { N } } \right) .
391
+ $$
392
+
393
+ Compared to the standard generalization bound for supervised learning, the generalization bound for Domain Adaptation incorporates the extra term $\mathrm { d i s c } _ { \mathcal { H } } ( \mathcal { A } _ { \mathrm { t r a i n } } , \mathcal { A } ^ { * } )$ to capture the divergence between the target and source distributions. In our context, this means that the model $h ^ { * }$ learned by Ensemble Adversarial Training has guaranteed generalization bounds with respect to future adversaries that are not “too different” from the ones used during training. Note that $\mathcal { A } ^ { * }$ need not restrict itself to perturbation with bounded $\ell _ { \infty }$ norm for this result to hold.
394
+
395
+ # C EXPERIMENTS ON MNIST
396
+
397
+ We re-iterate our ImageNet experiments on MNIST. For this simpler task, Madry et al. (2017) show that training on iterative attacks conveys robustness to white-box attacks with bounded $\ell _ { \infty }$ norm. Our goal is not to attain similarly strong white-box robustness on MNIST, but to show that our observations on limitations of single-step adversarial training, extend to other datasets than ImageNet.
398
+
399
+ ![](images/2b6af3b5b8bdd08fb1a44e32ac65797040e19643a1e40965efbd54da313b7abf.jpg)
400
+ Figure 3: Adversarial Examples on MNIST. (top) clean examples. (middle) inputs are rotated by $2 0 ^ { \circ }$ and 5 random pixels are flipped. (bottom) The I-FGSM with $\epsilon = 0 . 3$ is applied.
401
+
402
+ C.1 A NOTE ON $\ell _ { \infty }$ ROBUSTNESS ON MNIST
403
+
404
+ The MNIST dataset is a simple baseline for assessing the potential of a defense, but the obtained results do not always generalize to harder tasks. We suggest that this is because achieving robustness to $\ell _ { \infty }$ perturbations admits a simple “closed-form” solution, given the near-binary nature of the data. Indeed, for an average MNIST image, over $8 0 \%$ of the pixels are in $\{ 0 , 1 \}$ and only $6 \%$ are in the range [0.2, 0.8]. Thus, for a perturbation with $\epsilon \leq 0 . 3$ , binarized versions of $x$ and $x ^ { \mathrm { a d v } }$ can differ in at most $6 \%$ of the input dimensions. By binarizing the inputs of a standard CNN trained without adversarial training, we obtain a model that enjoys robustness similar to the model trained by Madry et al. (2017). Concretely, for a white-box I-FGSM attack, we get at most $1 1 . 4 \%$ error.
405
+
406
+ The existence of such a simple robust representation begs the question of why learning a robust model with adversarial training takes so much effort. Finding techniques to improve the performance of adversarial training, even on simple tasks, could provide useful insights for more complex tasks such as ImageNet, where we do not know of a similarly simple “denoising” procedure.
407
+
408
+ These positive results on MNIST for the $\ell _ { \infty }$ norm also leave open the question of defining a general norm for adversarial examples. Let us motivate the need for such a definition: we find that if we first rotate an MNIST digit by $2 0 ^ { \circ }$ , and then use the I-FGSM, our rounding model and the model from Madry et al. (2017) achieve only $6 5 \%$ accuracy (on “clean” rotated inputs, the error is $< 5 \%$ ). If we further randomly “flip” 5 pixels per image, the accuracy of both models drops to under $5 0 \%$ . Thus, we successfully evade the model by slightly extending the threat model (see Figure 3).
409
+
410
+ Of course, we could augment the training set with such perturbations (see Engstrom et al. (2017)). An open question is whether we can enumerate all types of “adversarial” perturbations. In this work, we focus on the $\ell _ { \infty }$ norm to illustrate our findings on the limitations of single-step adversarial training on ImageNet and MNIST, and to showcase the benefits of our Ensemble Adversarial Training variant. Our approach can easily be extended to consider multiple perturbation metrics. We leave such an evaluation to future work.
411
+
412
+ # C.2 RESULTS
413
+
414
+ We repeat experiments from Section 4 on MNIST. We use the architectures in Table 5. We train a standard model for 6 epochs, and an adversarial model with the FGSM $\epsilon = 0 . 3$ ) for 12 epochs.
415
+
416
+ During adversarial training, we avoid the label leaking effect described by Kurakin et al. (2017b) by using the model’s predicted class arg max $h ( x )$ instead of the true label $y _ { \mathrm { t r u e } }$ in the FGSM,
417
+
418
+ We first analyze the “degenerate” minimum of adversarial training, described in Section 3.3. For each trained model, we compute the approximation-ratio of the FGSM for the inner maximization problem in equation (1). That is, we compare the loss produced by the FGSM with the loss of a strong iterative attack. The results appear in Table 6. As we can see, for all model architectures, adversarial training degraded the quality of a linear approximation to the model’s loss.
419
+
420
+ Table 5: Neural network architectures used in this work for the MNIST dataset. Conv: convolutional layer, FC: fully connected layer.
421
+
422
+ <table><tr><td>A</td><td>B</td><td>C</td><td>D</td></tr><tr><td>Conv(64,5,5) +Relu</td><td>Dropout(0.2)</td><td>Conv(128,3,3) + Tanh</td><td>[FC(300) + Relu] ×4</td></tr><tr><td>Conv(64,5,5) + Relu</td><td>Conv(64,8,8) + Relu</td><td>MaxPool(2,2)</td><td>Dropout(0.5)</td></tr><tr><td>Dropout(0.25)</td><td>Conv(128,6,6) +Relu</td><td>Conv(64,3,3) + Tanh</td><td>FC +Softmax</td></tr><tr><td>FC(128) + Relu</td><td>Conv(128,5,5) +Relu</td><td>MaxPool(2,2)</td><td></td></tr><tr><td>Dropout(0.5)</td><td>Dropout(0.5)</td><td>FC(128) + Relu</td><td></td></tr><tr><td>FC + Softmax</td><td>FC + Softmax</td><td>FC + Softmax</td><td></td></tr></table>
423
+
424
+ Table 6: Approximation ratio between optimal loss and loss induced by single-step attack on MNIST. Architecture $\mathbf { B } ^ { \prime }$ is the same as B without the input dropout layer.
425
+
426
+ <table><tr><td>A</td><td>Aadv</td><td>B</td><td>Badv</td><td>B*</td><td>Bdv</td><td>C</td><td>Cadv</td><td>D</td><td>Dady</td></tr><tr><td>17%</td><td>0%</td><td>25%</td><td>8%</td><td>23%</td><td>1%</td><td>25%</td><td>0%</td><td>49%</td><td>16%</td></tr></table>
427
+
428
+ We find that input dropout (Srivastava et al., 2014) (i.e., randomly dropping a fraction of input features during training) as used in architecture B limits this unwarranted effect of adversarial training.2 If we omit the input dropout (we call this architecture $\boldsymbol { \mathrm { B } } ^ { * }$ ) the single-step attack degrades significantly. We discuss this effect in more detail below. For the fully connected architecture D, we find that the learned model is very close to linear and thus also less prone to the degenerate solution to the min-max problem, as we postulated in Section 3.3.
429
+
430
+ Attacks. Table 7 compares error rates of undefended and adversarially trained models on whitebox and black-box attacks, as in Section 4.1. Again, model B presents an anomaly. For all other models, we corroborate our findings on ImageNet for adversarial training: (1) black-box attacks trump white-box single-step attacks; (2) white-box single-step attacks are significantly stronger if prepended by a random step. For model $\mathrm { \Delta B _ { a d v } }$ , the opposite holds true. We believe this is because input dropout increases diversity of attack samples similarly to Ensemble Adversarial Training.
431
+
432
+ Table 7: White-box and black-box attacks against standard and adversarially trained models. For each model, the strongest single-step white-box and black box attacks are marked in bold.
433
+
434
+ <table><tr><td rowspan="2"></td><td colspan="2">white-box</td><td colspan="5">black-box</td></tr><tr><td>FGSM</td><td>R+FGSM</td><td>FGSMA</td><td>FGSMB</td><td>FGSMB*</td><td>FGSMc</td><td>FGSMD</td></tr><tr><td>A</td><td>64.7</td><td>69.7</td><td>1</td><td>61.5</td><td>53.2</td><td>46.8</td><td>41.5</td></tr><tr><td>Aadv</td><td>2.2</td><td>14.8</td><td>6.6</td><td>10.7</td><td>8.8</td><td>6.5</td><td>8.3</td></tr><tr><td>B</td><td>85.0</td><td>86.0</td><td>45.7</td><td>1</td><td>69.9</td><td>59.9</td><td>85.9</td></tr><tr><td>Badv</td><td>11.6</td><td>11.1</td><td>6.4</td><td>8.9</td><td>8.5</td><td>4.9</td><td>6.1</td></tr><tr><td>B*</td><td>75.7</td><td>74.1</td><td>44.3</td><td>72.8</td><td>-</td><td>46.0</td><td>62.6</td></tr><tr><td>Badv</td><td>4.3</td><td>40.6</td><td>16.1</td><td>14.7</td><td>15.0</td><td>17.9</td><td>9.1</td></tr><tr><td>C</td><td>81.8</td><td>81.8</td><td>40.2</td><td>55.8</td><td>49.5</td><td>1</td><td>59.4</td></tr><tr><td>Cadv</td><td>3.7</td><td>17.1</td><td>9.8</td><td>29.3</td><td>21.5</td><td>11.9</td><td>21.9</td></tr><tr><td>D</td><td>92.4</td><td>95.4</td><td>61.3</td><td>74.1</td><td>68.9</td><td>65.1</td><td>-</td></tr><tr><td>Dadv</td><td>25.5</td><td>47.5</td><td>32.1</td><td>30.5</td><td>29.3</td><td>28.2</td><td>21.8</td></tr></table>
435
+
436
+ While training with input dropout helps avoid the degradation of the single-step attack, it also significantly delays convergence of the model. Indeed, model $\mathrm { \Delta B _ { a d v } }$ retains relatively high error on white-box FGSM examples. Adversarial training with input dropout can be seen as comparable to training with a randomized single-step attack, as discussed in Section 4.1.
437
+
438
+ The positive effect of input dropout is architecture and dataset specific: Adding an input dropout layer to models A, C and D confers only marginal benefit, and is outperformed by Ensemble Adversarial Training, discussed below. Moreover, Mishkin et al. (2017) find that input dropout significantly degrades accuracy on ImageNet. We thus did not incorporate it into our models on ImageNet.
439
+
440
+ Ensemble Adversarial Training. To evaluate Ensemble Adversarial Training 3.4, we train two models per architecture. The first, denoted $[ \mathrm { A } \mathrm { - } \mathrm { D } ] _ { \mathrm { a d v - e n s } }$ , uses a single pre-trained model of the same type (i.e., $\mathbf { A } _ { \mathrm { a d v - e n s } }$ is trained on perturbations from another model A). The second model, denoted [A$\mathrm { D l a d v } { \mathrm { - e n s } } 3$ , uses 3 pre-trained models $( \{ A , C , D \}$ or $\{ B , C , D \} )$ . We train all models for 12 epochs.
441
+
442
+ We evaluate our models on black-box attacks crafted on models A,B,C,D (for a fair comparison, we do not use the same pre-trained models for evaluation, but retrain them with different random seeds).
443
+
444
+ Table 8: Ensemble Adversarial Training on MNIST. For black-box robustness, we report the maximum and average error rate over a suite of 12 attacks, comprised of the FGSM, I-FGSM and PGD (Madry et al., 2017) attacks applied to models A,B,C and D. We use $\epsilon = 1 6$ in all cases. For each model architecture, we mark the models tied for best (at a $9 5 \%$ confidence level) in bold.
445
+
446
+ <table><tr><td></td><td>Clean</td><td>FGSM</td><td>Max.Black Box</td><td>Avg. Black Box</td></tr><tr><td>Aadv</td><td>0.8</td><td>2.2</td><td>10.8</td><td>7.7</td></tr><tr><td>Aadv-ens</td><td>0.8</td><td>7.0</td><td>6.6</td><td>5.2</td></tr><tr><td>Aadv-ens3</td><td>0.7</td><td>5.4</td><td>6.5</td><td>4.3</td></tr><tr><td>Badv</td><td>0.8</td><td>11.6</td><td>8.9</td><td>5.5</td></tr><tr><td>Badv-ens</td><td>0.7</td><td>10.5</td><td>6.8</td><td>5.3</td></tr><tr><td>Badv-ens3</td><td>0.8</td><td>14.0</td><td>8.8</td><td>5.1</td></tr><tr><td>Cadv</td><td>1.0</td><td>3.7</td><td>29.3</td><td>18.7</td></tr><tr><td>Cadv-ens</td><td>1.3</td><td>1.9</td><td>17.2</td><td>10.7</td></tr><tr><td>Cadv-ens3</td><td>1.4</td><td>3.6</td><td>14.5</td><td>8.4</td></tr><tr><td>Dadv</td><td>2.6</td><td>25.5</td><td>32.5</td><td>23.5</td></tr><tr><td>Dadv-ens</td><td>2.6</td><td>21.5</td><td>38.6</td><td>28.0</td></tr><tr><td>Dadv-ens3</td><td>2.6</td><td>29.4</td><td>29.8</td><td>15.6</td></tr></table>
447
+
448
+ The attacks we consider are the FGSM, I-FGSM and the PGD attack from Madry et al. (2017) with the loss function from Carlini & Wagner (2017a)), all with $\epsilon = 0 . 3$ . The results appear in Table 8. For each model, we report the worst-case and average-case error rate over all black-box attacks.
449
+
450
+ Ensemble Adversarial Training significantly increases robustness to black-box attacks, except for architecture B, which we previously found to not suffer from the same overfitting phenomenon that affects the other adversarially trained networks. Nevertheless, model $\mathrm { B _ { a d v - e n s } }$ achieves slightly better robustness to white-box and black-box attacks than $\mathrm { \Delta B _ { a d v } }$ . In the majority of cases, we find that using a single pre-trained model produces good results, but that the extra diversity of including three pre-trained models can sometimes increase robustness even further. Our experiments confirm our conjecture that robustness to black-box attacks generalizes across models. Indeed, we find that when training with three external models, we attain very good robustness against attacks initiated from models with the same architecture (as evidenced by the average error on our attack suite), but also increased robustness to attacks initiated from the fourth holdout model
451
+
452
+ # D TRANSFERABILITY OF RANDOMIZED SINGLE-STEP PERTURBATIONS.
453
+
454
+ In Section 4.1, we introduced the $\mathbb { R } { + } \mathbb { S }$ tep-LL attack, an extension of the Step-LL method that prepends the attack with a small random perturbation. In Table 9, we evaluate the transferability of $\mathrm { R } +$ Step-LL adversarial examples on ImageNet. We find that the randomized variant produces perturbations that transfer at a much lower rate (see Table 1 for the deterministic variant).
455
+
456
+ Table 9: Error rates $( \mathbf { i n \ } \% )$ of randomized single-step attacks transferred between models on ImageNet. We use $\mathrm { R } +$ Step-LL with $\epsilon = 1 6 / 2 5 6 , \alpha = \epsilon / 2$ for 10,000 random test set samples. The white-box attack always outperforms black-box attacks.
457
+
458
+ <table><tr><td colspan="6">Source</td></tr><tr><td>Target</td><td>v4</td><td>v3</td><td>v3adv</td><td>IRv2</td><td>IRv2ady</td></tr><tr><td>v4</td><td>70.5</td><td>37.2</td><td>23.2</td><td>34.0</td><td>24.6</td></tr><tr><td>v3</td><td>42.6</td><td>80.0</td><td>26.7</td><td>38.5</td><td>27.6</td></tr><tr><td>v3ady</td><td>31.4</td><td>30.7</td><td>64.8</td><td>30.4</td><td>34.0</td></tr><tr><td>IRv2</td><td>36.2</td><td>35.7</td><td>23.0</td><td>56.3</td><td>24.6</td></tr><tr><td>IRv2adv</td><td>26.8</td><td>26.3</td><td>25.2</td><td>26.9</td><td>37.5</td></tr></table>
459
+
460
+ <table><tr><td colspan="6">Source</td></tr><tr><td>Target</td><td>v4</td><td>v3</td><td>v3adv</td><td>IRv2</td><td>IRv2adv</td></tr><tr><td>v4</td><td>42.8</td><td>14.3</td><td>6.3</td><td>11.9</td><td>6.9</td></tr><tr><td>v3</td><td>18.0</td><td>57.1</td><td>8.0</td><td>15.6</td><td>8.6</td></tr><tr><td>v3ady</td><td>10.7</td><td>10.4</td><td>37.1</td><td>10.1</td><td>12.9</td></tr><tr><td>IRv2</td><td>12.8</td><td>13.6</td><td>6.1</td><td>29.3</td><td>7.0</td></tr><tr><td>IRv2adv</td><td>8.0</td><td>8.0</td><td>7.7</td><td>8.3</td><td>15.0</td></tr></table>
461
+
462
+ # E GRADIENT ALIGNED ADVERSARIAL SUBSPACES FOR THE $\ell _ { \infty }$ NORM
463
+
464
+ Tramer et al. (2017) consider the following task for a given model \` $h$ : for a (correctly classified) point $x$ , find $k$ orthogonal vectors $\{ r _ { 1 } , \ldots , r _ { k } \}$ such that $\lVert \boldsymbol { r } _ { i } \rVert _ { 2 } \leq \epsilon$ and all the $\boldsymbol { x } + \boldsymbol { r } _ { i }$ are adversarial (i.e., arg max $h ( x + r _ { i } ) \neq y _ { \mathrm { t r u e } } )$ . By linearizing the model’s loss function, this reduces to finding $k$ orthogonal vectors $r _ { i }$ that are maximally aligned with the model’s gradient $g = \nabla _ { x } L ( h ( x ) , \hat { y _ { \mathrm { t r u e } } } )$ . Tramer et al. (2017) left a construction for the\` $\ell _ { \infty }$ norm as an open problem.
465
+
466
+ We provide an optimal construction for the $\ell _ { \infty }$ norm, based on Regular Hadamard Matrices (Colbourn, 2010). Given the $\ell _ { \infty }$ constraint, we find orthogonal vectors $r _ { i }$ that are maximally aligned with the signed gradient, $\mathtt { s i g n } ( g )$ . We first prove an analog of (Tramer et al., 2017, Lemma 1). \`
467
+
468
+ Lemma 6. Let $v \in \{ - 1 , 1 \} ^ { d }$ and $\alpha \in ( 0 , 1 )$ . Suppose there are $k$ orthogonal vectors $r _ { 1 } , \ldots r _ { n } \in$ $\{ - 1 , 1 \} ^ { d }$ satisfying $v ^ { \top } r _ { i } \geq \alpha \cdot d .$ . Then $\alpha \leq { k ^ { - \frac { 1 } { 2 } } }$ .
469
+
470
+ Proof. Let $\begin{array} { r } { \hat { r _ { i } } = \frac { r _ { i } } { \Vert r _ { i } \Vert _ { 2 } } = \frac { r _ { i } } { \sqrt { d } } } \end{array}$ . Then, we have
471
+
472
+ $$
473
+ d = \| \boldsymbol { v } \| _ { 2 } ^ { 2 } \geq \sum _ { i = 1 } ^ { k } | \boldsymbol { v } ^ { \top } \hat { \boldsymbol { r _ { i } } } | ^ { 2 } = d ^ { - 1 } \sum _ { i = 1 } ^ { k } | \boldsymbol { v } ^ { \top } \boldsymbol { r _ { i } } | ^ { 2 } \geq d ^ { - 1 } \cdot k \cdot \left( { \boldsymbol { \alpha } } \cdot d \right) ^ { 2 } = k \cdot \alpha ^ { 2 } \cdot d \ ,
474
+ $$
475
+
476
+ from which we obtain $\alpha \leq k ^ { - { \frac { 1 } { 2 } } }$ .
477
+
478
+ This result bounds the number of orthogonal perturbations we can expect to find, for a given alignment with the signed gradient. As a warm-up consider the following trivial construction of $k$ orthogonal vectors in $\{ - 1 , 1 \} ^ { d }$ that are “somewhat” aligned with $\mathtt { s i g n } ( g )$ . We split $\mathtt { s i g n } ( g )$ into $k$ “chunks” of size $\frac { d } { k }$ and define $r _ { i }$ to be the vector that is equal to $\mathtt { s i g n } ( g )$ in the $i ^ { \mathrm { t h } }$ chunk and zero otherwise. We obtain $\begin{array} { r } { \mathrm { s i g n } ( g ) ^ { \top } r _ { i } = \frac { d } { k } } \end{array}$ , a factor $\sqrt { k }$ worse than the the bound in Lemma 6.
479
+
480
+ We now provide a construction that meets this upper bound. We make use of Regular Hadamard Matrices of order $k$ (Colbourn, 2010). These are square matrices $H _ { k }$ such that: (1) all entries of √ $H _ { k }$ are in $\{ - 1 , 1 \} ^ { k }$ ; (2) the rows of $H _ { k }$ are mutually orthogonal; (3) All row sums are equal to $\sqrt { k }$ .
481
+
482
+ The order of a Regular Hadamard Matrix is of the form $4 u ^ { 2 }$ for an integer $u$ . We use known constructions for $k \overset { \cdot } { \in } \{ 4 , 1 6 , 3 6 , 6 4 , 1 0 0 \}$ .
483
+
484
+ Lemma 7. Let $\boldsymbol { g } \in \mathbb { R } ^ { d }$ and $k$ be an integer for which a Regular Hadamard Matrix of order $k$ exists. Then, there is a randomized construction of $k$ orthogonal vectors $r _ { 1 } , . . . r _ { n } \in \{ - 1 , 1 \} ^ { d }$ , such that $s i g n ( g ) ^ { \top } r _ { i } = d \cdot k ^ { - 1 / 2 }$ . Moreover, $\mathbb { E } [ g ^ { \top } r _ { i } ] = k ^ { - 1 / 2 } \cdot \lVert g \rVert _ { 1 }$ .
485
+
486
+ Proof. We construct $k$ orthogonal vectors $r _ { 1 } , \ldots , r _ { k } \in \{ - 1 , 1 \} ^ { d }$ , where $r _ { i }$ is obtained by repeating the $\mathrm { i } ^ { \mathrm { t h } }$ row of $H _ { k } \ d / k$ times (for simplicity, we assume that $k$ divides $d$ . Otherwise we pad $r _ { i }$ with zeros). We then multiply each $r _ { i }$ component-wise with $\mathtt { s i g n } ( g )$ . By construction, the $k$ vectors $r _ { i } \in \{ - 1 , 1 \} ^ { d }$ are mutually orthogonal, and we have $\begin{array} { r } { \mathrm { s i g n } ( g ) ^ { \top } r _ { i } = \frac { d } { k } \cdot \sqrt { k } = d \cdot k ^ { - 1 / 2 } } \end{array}$ , which is tight according to Lemma 6.
487
+
488
+ As the weight of the gradient $g$ may not be uniformly distributed among its $d$ components, we apply our construction to a random permutation of the signed gradient. We then obtain
489
+
490
+ $$
491
+ \begin{array} { r l } & { \mathbb { E } [ g ^ { \top } \boldsymbol { r } _ { i } ] = \mathbb { E } \left[ \displaystyle \sum _ { j = 1 } ^ { d } \vert g ^ { ( j ) } \vert \cdot \mathsf { s i g n } ( g ^ { ( j ) } ) \cdot r _ { i } ^ { ( j ) } \right] } \\ & { \quad \quad = \displaystyle \sum _ { j = 1 } ^ { d } \vert g ^ { ( j ) } \vert \cdot \mathbb { E } \left[ \mathsf { s i g n } ( g ^ { ( j ) } ) \cdot r _ { i } ^ { ( j ) } \right] = k ^ { - 1 / 2 } \cdot \| g \| _ { 1 } . } \end{array}
492
+ $$
493
+
494
+ It can be shown that the bound in Lemma 7 can be attained if and only if the $r _ { i }$ are constructed from the rows of a Regular Hadamard Matrix (Colbourn, 2010). For general integers $k$ for which no such matrix exists, other combinatorial designs may be useful for achieving looser bounds.
495
+
496
+ # F ILLUSTRATIONS OF GRADIENT MASKING IN ADVERSARIAL TRAINING
497
+
498
+ In Section 3.3, we show that adversarial training introduces spurious curvature artifacts in the model’s loss function around data points. As a result, one-shot attack strategies based on first-order approximations of the model loss produce perturbations that are non-adversarial. In Figures 4 and 5 we show further illustrations of this phenomenon for the Inception ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ model trained on ImageNet by Kurakin et al. (2017b) as well as for the model $\mathbf { A } _ { \mathrm { a d v } }$ we trained on MNIST.
499
+
500
+ ![](images/923595c61cad34fb814eb73c6c063c03833140695ae2f1302f3f857f5a158110.jpg)
501
+ Figure 4: Additional illustrations of the local curvature artifacts introduced by adversarial training on ImageNet. We plot the loss of model ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ on samples of the form $x ^ { * } = \stackrel { \cdot } { x } + \epsilon _ { 1 } \cdot g + \epsilon _ { 2 } .$ · $g ^ { \perp }$ , where $g$ is the signed gradient of ${ \mathrm { v } } 3 _ { \mathrm { a d v } }$ and $g ^ { \perp }$ is an orthogonal adversarial direction, obtained from an Inception v4 model. The right-side plots are zoomed in versions of the left-side plots.
502
+
503
+ ![](images/80a137c74b4999940442ab91d53cd66f2fe0e469a712fe75d67af8e599265474.jpg)
504
+ Figure 5: Illustrations of the local curvature artifacts introduced by adversarial training on MNIST. We plot the loss of model $\mathbf { A _ { \mathrm { a d v } } }$ on samples of the form $x ^ { * } = x + \epsilon _ { 1 } \cdot g + \epsilon _ { 2 } \cdot g ^ { \perp }$ , where $g$ is the signed gradient of model $\mathbf { A } _ { \mathrm { a d v } }$ and $g ^ { \perp }$ is an orthogonal adversarial direction, obtained from model B. The right-side plots are zoomed in versions of the left-side plots.
parse/train/rkZvSe-RZ/rkZvSe-RZ_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rkZvSe-RZ/rkZvSe-RZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rkZvSe-RZ/rkZvSe-RZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/uXc42E9ZPFs/uXc42E9ZPFs.md ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Language models enable zero-shot prediction of the effects of mutations on protein function
2
+
3
+ Joshua Meier 1 2 Roshan Rao 3 Robert Verkuil 1 Jason Liu 1 Tom Sercu 1 Alexander Rives 1 2
4
+
5
+ # Abstract
6
+
7
+ Modeling the effect of sequence variation on function is a fundamental problem for understanding and designing proteins. Since evolution encodes information about function into patterns in protein sequences, unsupervised models of variant effects can be learned from sequence data. The approach to date has been to fit a model to a family of related sequences. The conventional setting is limited, since a new model must be trained for each prediction task. We show that using only zero-shot inference, without any supervision from experimental data or additional training, protein language models capture the functional effects of sequence variation, performing at state-of-the-art.
8
+
9
+ # 1 Introduction
10
+
11
+ Proteins have a myriad of diverse functions that underlie the complexity of life. Protein sequences encode function via structure through the spontaneous folding of the sequence into the three dimensional structure of the protein [1]. The effects of sequence mutations on function form a landscape that reveals how function constrains sequence. Alterations at some sites in a protein sequence cannot be tolerated because they are essential to the protein’s function. Other sites evolve together because the structure and function is determined by them collectively. Mutations can enhance the activity of a protein, attenuate it, or leave it unchanged.
12
+
13
+ The functional effect of sequence variations can be measured through deep mutational scanning experiments [2]. Consisting of thousands to hundreds of thousands of measurements of protein function, deep mutational scans give insight into the intrinsic constraints on a protein’s structure and function. Due to the cost and difficulty of implementing such experiments, compilations of deep mutational scanning data include experiments on a few dozens of proteins at most, relative to the tens of thousands of proteins encoded in the human genome, and the millions more across the tree of life that we would like to understand.
14
+
15
+ A model that learns the landscape linking sequence to function can provide insight into function without having to do experiments. Unsupervised models of mutational effects can be learned from sequences [3, 4]. Statistical patterns in a family of evolutionarily related protein sequences contain information about structure and function [5–7]. This is because the properties of a protein act as constraints on the selection of sequences through evolution [8].
16
+
17
+ In the natural language modeling community, there has been interest in zero-shot transfer of models to new tasks. Massive language models can solve tasks they haven’t been directly trained on [9–11]. Recently protein language models have achieved state-of-the-art in various structure prediction tasks [12–14]. Work to date has mainly focused on transfer in the classical representation learning setting, using pre-trained features with supervision on the downstream task.
18
+
19
+ ![](images/1652ff3fe8fd19a92d3d1daa55b292f281bfda542c9b42a504809d8893cff617.jpg)
20
+ Figure 1: Depiction of a mutational effect prediction task. The objective is to score the effect of sequence mutations on the function of a protein. Deep mutational scanning experiments provide ground truth experimental measurements of the protein’s function (fluorescence activity in the example here) for a large set of single mutations or combinations of mutations. For each protein, the prediction task is to score each possible mutation and rank its relative activity. Predictions for single substitutions can be described in a score matrix. The columns are the positions in the sequence. The rows are the possible variations at each position.
21
+
22
+ In this work we show that language models trained on large and diverse protein sequence databases can predict experimental measurements of protein function without further supervision. Prior work has focused on transferring the representations using supervision from experimental data [15, 16]. We find that language models can transfer to predict functional measurements without supervision. Language models perform zero-shot and few-shot prediction of mutational effects across a variety of proteins with widely differing functions. We perform experiments with state-of-the-art protein language models ESM-1b [12] and MSA Transformer [13]. We introduce a new protein language model, ESM-1v, with zero-shot performance comparable to state-of-the-art mutational effect predictors. Performance can be further improved by fine-tuning the model with sequences from the protein family. Predictions capture the functional landscape of the protein, correlate with amino acid conservation patterns in the core and surface, and identify residues responsible for binding and activity.
23
+
24
+ # 2 Zero-shot transfer
25
+
26
+ Zero-shot learning has classically described the extension of a classifier to a new set of classes that have not been seen in training [17]. In natural language processing this idea has been extended to describe the transfer of models to entirely new tasks without further training. Proposed as zero-data learning by Larochelle et al. [18], this perspective on transfer has been at the center of recent work understanding the generalization capabilities of large language models [9–11, 19]. The distinction from representation learning is that the models are used directly without additional supervision for the task. This means that the tasks must be learned purely from pre-training.
27
+
28
+ In this work we take a similar perspective on zero-shot transfer to that of GPT-3, described in Brown et al. [10]. We define zero-shot transfer to be transfer of a model to a new task without any further supervision to specialize the model to the task. We also consider the closely related idea of few-shot transfer. Here as in Brown et al. [10] we define the few-shot setting to be one in which a few positive examples are given to the model as inputs at inference time. As in the zero-shot setting, no gradient updates are performed to specialize the model. Similar to Brown et al. [10], the claim is not one of out-of-distribution generalization. The assumption is that in the pre-training stage, the model learns information relevant to the tasks to which it will later be transferred. In the case of protein language models, the pre-training dataset includes sequences from across evolution, which implies the model may see examples of sequences from protein families on which it will be evaluated. The essential departure from the standard approach in computational biology is that the model is general purpose and can be applied across a variety of tasks without specialization.
29
+
30
+ ![](images/bbf328ffdfa3e742bec3e891fde1e83564ab08c3637186440dcae4002cccba89.jpg)
31
+ Figure 2: Steps involved in variant effect prediction methods. Compared with EVMutation [4] and DeepSequence [20], MSA Transformer and ESM-1v require no task-specific model training for inference. Moreover, ESM-1v does not require MSA generation.
32
+
33
+ Measurements of function, a property of central importance to the understanding and design of proteins, are a practical ground for studying the generalization capability of protein language models. Deep mutational scanning experiments measure the effects of thousands to hundreds of thousands of mutations on a single protein, and have been performed on a variety of proteins having different functions and using various forms of experimental measurement. We study zero-shot and few-shot transfer of protein language models to function prediction using this data.
34
+
35
+ Supervised methods trained with data from experimental measurements [15, 16], and unsupervised methods trained only on sequences [3, 4] have been developed for prediction of mutational effects. Unsupervised mutational effect predictors are trained as task specific models on sequences from an individual protein family. In this view every protein is an independent prediction task where the objective is to score the effect of mutations on the protein’s function. While mutational effect predictors trained on multiple sequence alignments (MSAs) are typically described as unsupervised, they can also be seen as weakly supervised. Hsu et al. [15] observe that such models have weak supervision on the task through the MSA, which describes the fitness landscape of the protein through positive examples.
36
+
37
+ If protein language models can learn the information necessary to solve a task from pre-training, then they can be applied directly to new instances of the task, without specialization. This would mean that in practice a single general purpose model can be trained once and then applied to a variety of possible tasks. Thus zero-shot and few-shot transfer represent fundamentally new unsupervised learning capabilities that protein language models can bring to the computational biology toolkit.
38
+
39
+ # 3 Method
40
+
41
+ Protein language models trained with the masked language modeling objective are supervised to output the probability that an amino acid occurs at a position in a protein given the surrounding context. We use this capability to score sequence variations. For a given mutation we can consider the amino acid in the wildtype protein as a reference state, comparing the probability assigned to the mutated amino acid with the probability assigned to the wildtype.
42
+
43
+ <table><tr><td>Models</td><td>Full</td><td>Test</td></tr><tr><td>PSSM EVMutation (published)</td><td>0.460 0.508</td><td>0.460 0.495</td></tr><tr><td>EVMutation (replicated)</td><td>0.511</td><td>0.498</td></tr><tr><td>DeepSequence (published)</td><td>0.514</td><td>0.499</td></tr><tr><td>DeepSequence (replicated)</td><td>0.520</td><td>0.506</td></tr><tr><td>MSA Transformer</td><td>0.542</td><td>0.524</td></tr><tr><td>ESM-1v (zero shot) ESM-1v (+further training)</td><td>0.509</td><td>0.482</td></tr></table>
44
+
45
+ Table 1: Comparison of protein language models to state-of-the-art methods. Average |Spearman $\rho |$ on full and test sets. DeepSequence and ESM-1v models are each ensembles of 5 models. MSA Transformer is a single model, but is ensembled across 5 random samples of the MSA.
46
+
47
+ We score mutations using the log odds ratio at the mutated position, assuming an additive model when multiple mutations $T$ exist in the same sequence:
48
+
49
+ $$
50
+ \sum _ { t \in T } \log p ( x _ { t } = x _ { t } ^ { m t } | x _ { \backslash T } ) - \log p ( x _ { t } = x _ { t } ^ { w t } | x _ { \backslash T } )
51
+ $$
52
+
53
+ Here the sum is over the mutated positions, and the sequence input to the model is masked at every mutated position.
54
+
55
+ # 3.1 Zero-shot and few-shot transfer
56
+
57
+ In the zero-shot setting, inference is performed directly on the sequence to be evaluated. Since the MSA Transformer can take multiple sequences as input at inference time, we use this model in the few-shot setting, where additional sequences from the protein family are provided along with the sequence to be evaluated. In both the zero-shot and few-shot settings, only forward passes of the models are performed during inference; no gradient updates are taken. Fig. 2 illustrates the approach in comparison to the current practice of fitting a new model for each task.
58
+
59
+ # 3.2 Inference efficiency
60
+
61
+ Inference with ESM-1v is more efficient than current state-of-the-art methods. This is a result of two important differences: (i) the effect of mutations can be inferred directly without training a task-specific model; (ii) fitness landscapes can be predicted with a single forward pass. Time requirements are summarized in Fig. 7.
62
+
63
+ # 3.3 Scoring with MSA Transformer
64
+
65
+ We score mutations with MSA Transformer using the log odds ratio and additive model in Eq. (1). However, since MSA Transformer uses a set of sequences for inference, we input the sequence to be evaluated as the first sequence, and provide additional sequences from the MSA as context. Masking and scoring are performed on the first sequence only.
66
+
67
+ # 4 Results
68
+
69
+ # 4.1 Experimental setup
70
+
71
+ Prediction Models We compare to state-of-the-art unsupervised variant prediction methods, EVMutation [4] and DeepSequence [20]. We also examine performance of a variety of protein language models that have been recently introduced in the literature.
72
+
73
+ The position specific scoring matrix (PSSM), EVmutation [4], and DeepSequence [20] methods are all MSA based. The PSSM treats each position in the sequence independently, factorizing the likelihood into one term per sequence position. EVmutation is a Potts model, which adds pairwise terms modeling the interactions between positions. DeepSequence introduces a latent code, allowing potential higher-order interactions between positions.
74
+
75
+ ![](images/43c45825cfe5cd5eb060a1a70bb3776601e4c547fd35142ac8a655968e6b084e.jpg)
76
+ Figure 3: Per task performance. Comparison across 41 deep mutational scanning datasets. Points are |Spearman $\rho |$ on each dataset, error bars show standard deviation of 20 bootstrapped samples. Validation proteins are shown to the left of the dividing line and test proteins to the right. In 17 out of the 41 tasks, ESM-1v zero-shot has a higher |Spearman $\rho |$ than DeepSequence.
77
+
78
+ UniRep [21], TAPE [22], ProtBERT-BFD [14], ESM-1b [12], and ESM-1v (introduced here), are all single-sequence language models trained on large databases of unaligned and unrelated protein sequences (e.g. Pfam [23] or UniRef [24]). With the exception of UniRep, which is trained using next token prediction, all models are trained with masked language modeling [25].
79
+
80
+ Finally, the MSA Transformer [13] is a combination of both approaches; it is trained on a large database of MSAs using masked language modeling and takes an MSA as input during inference.
81
+
82
+ ESM-1v We train ESM-1v, a 650M parameter transformer language model for prediction of variant effects, on 98 million diverse protein sequences across evolution. The model is trained only on sequences, without any supervision from experimental measurements of function. We use Uniref90 2020-03 [24], employing the ESM-1b architecture and masked language modeling approach of Rives et al. [12]. The model attains a perplexity of 7.29 on a set of held-out Uniref90 sequences (Table 10). We train five models with different seeds to produce an ensemble.
83
+
84
+ Evaluation Models are evaluated on a set of 41 deep mutational scans collected by Riesselman et al. [20], which comprise a variety of tasks assessing a diverse set of proteins. Across tasks, the experiments differ in the functions tested and in the measurements performed. We treat each deep mutational scanning dataset as a separate prediction task, scoring each of the variants in the dataset with the model. The tasks are split into a validation set of ten mutational scanning datasets and a test set consisting of the remaining datasets. We evaluate performance by comparing the scores with the experimental measurements using Spearman rank correlation.
85
+
86
+ Comparisons Since the published versions of EVMutation and DeepSequence use MSAs generated from an earlier version of Uniref100, we generate new MSAs using EVMutation methodology and the version of Uniref100 concurrent with our pretraining dataset. We train replications of EVMutation and DeepSequence using their open source code. The same MSAs are also used in few-shot experiments with MSA Transformer and unsupervised fine-tuning experiments with ESM-1v.
87
+
88
+ # 4.2 Language models enable zero-shot and few-shot prediction of the effects of mutations
89
+
90
+ ESM-1v and MSA Transformer models make state-of-the-art predictions. Table 1 compares overall performance of the models across the 41 mutational scanning datasets. Fig. 3 presents a comparison between ESM-1v and DeepSequence on each of the tasks. Zero-shot inference with ESM-1v has a better correlation with experimental measurements than DeepSequence on 17 of the 41 datasets. The two methods are not statistically distinguishable via a paired $t$ -test.
91
+
92
+ <table><tr><td>Models</td><td>Full</td><td>Test</td></tr><tr><td>UniRep</td><td>0.156</td><td>0.151</td></tr><tr><td>TAPE</td><td>0.171</td><td>0.175</td></tr><tr><td>ProtBERT-BFD</td><td>0.428</td><td>0.399</td></tr><tr><td>ESM-1b</td><td>0.459</td><td>0.424</td></tr><tr><td>ESM-1vt</td><td>0.484</td><td>0.457</td></tr><tr><td>ESM-1v*</td><td>0.509</td><td>0.482</td></tr></table>
93
+
94
+ Table 2: Zero-shot performance. Average |Spearman $\rho |$ on full and test sets. †Average performance of five ESM-1v models. ?Ensemble of the five ESM-1v models.
95
+
96
+ Table 2 compares protein language models in the zero-shot setting. ESM-1v outperforms existing protein language models TAPE [22], UniRep [21], ProtBERT-BFD [14], and ESM-1b [12]. Fig. 8 breaks down performance across each of the tasks.
97
+
98
+ Pre-training data We examine the effect of the clustering level of pre-training data. Fig. 4 compares models pre-trained on datasets clustered at increasing sequence identity thresholds. ESM1b is trained on sequences clustered at a $50 \%$ identity threshold. Improvements are seen using a $70 \%$ threshold with greatest improvement at $90 \%$ . Uniref100 performance appears to deteriorate early in training despite being the largest of the datasets. These results establish a link between model performance and the data distribution, highlighting the importance of training data in the design of protein language models.
99
+
100
+ Scoring methods We compare four scoring methods on the validation set - masked marginals, wildtype marginals, mutant marginals, and psuedolikelihood. Table 5 shows that the masked marginal approach described in Eq. (1) outperforms other scoring methods, including ones in which the likelihood changes at non-mutated positions are considered. The scoring methods are described in detail in Appendix A.
101
+
102
+ Parameter count Previous work with protein language models has established a link between model scale and learning of protein structure [12, 26]. We examine zero-shot transfer performance as a function of parameter count. We train models using the same width, depth, and learning rate as described in Henighan et al. [27], observing improvements with scale (Fig. 9). These findings suggest that continued scaling of the models will further improve results.
103
+
104
+ # 4.3 MSA Transformer
105
+
106
+ We examine how the sequences provided to MSA Transformer affect few-shot transfer. Table 8 compares sequence selection methods that vary the diversity of the sequences. Providing a more diverse set of sequences improves few-shot performance. Selecting a set of sequences to maximize diversity outperforms selecting a diversity minimizing set of sequences. Random sampling performs even better, and sampling sequences according to sequence weights [28] performs best.
107
+
108
+ We also vary the number of sequences used for inference. Fig. 11 shows few-shot performance as a function of the number of sequences given as input. The model performs well using only a few sequences, but performs best with 384 total sequences. In the main tables we report results sampling 384 sequences using sequence reweighting and ensembling predictions over five different subsamples from the MSA.
109
+
110
+ # 4.4 Unsupervised fine-tuning on MSAs
111
+
112
+ While ESM-1v performs well when evaluated in the zero-shot setting, we explore whether results can be improved by fine-tuning on the MSA. Fine-tuning on MSAs has been used in previous work [21, 16] as a stage in transfer learning to specialize a pre-trained model to a protein family, before applying supervision with labeled data. Here we consider using the fine-tuned model to make unsupervised predictions directly, without adding supervision from experimental data.
113
+
114
+ ![](images/8091e2784327233652acd1ed4fe80d706fc49d6d0f362f8f9713999d7747cccc.jpg)
115
+ Figure 4: Comparison of pre-training datasets. Average |Spearman $\rho |$ on the single-mutation validation set. While a $50 \%$ clustering threshold was used for ESM-1b, training with $90 \%$ clustering results in a significant improvement on variant prediction tasks. Notably, models trained on Uniref100, the largest dataset in this figure, appear to deteriorate early in training. These results establish a link between model performance and the data distribution, and highlight the importance of training data in the design of protein language models.
116
+
117
+ We observe that naively fine-tuning the model on the MSA results in rapid overfitting and poor performance on the prediction tasks (Fig. 12). While we experiment with a variety of approaches to freezing parameters during fine-tuning, detailed in Appendix B, none produce significant improvements. We find that an approach using pre-training sequences to regularize the fine-tuning performs well and enables training of all parameters without overfitting (Fig. 13). Spiked fine-tuning improves average absolute Spearman rho on the full dataset from 0.510 for zero-shot evaluation to 0.537 with fine-tuning.
118
+
119
+ # 5 Analysis of models
120
+
121
+ Protein structure and function ESM-1v probabilities reflect the functional properties of sites within the protein. We use the entropy of the model’s predictions for a position as a measure of its estimation of conservation. The lowest entropy predictions cluster at binding sites. Fig. 14 compares the distribution of the model’s entropy between binding sites and non-binding sites. A significant difference is observed between the entropy assignment to binding and non-binding site residues. Fig. 5 visualizes the side chains of the 10 lowest entropy residues as predicted by the model on the crystal structure of DNA methyltransferase M.HaeIII interacting with its DNA substrate. In the crystal structure a cytosine of the substrate is inserted into the active site of the enzyme. The low entropy residues cluster in the active site and interact with the cytosine. Additional examples are visualized in Fig. 18.
122
+
123
+ The model probabilities also correspond to structure. Fig. 15 compares the entropy assigned to sites that are buried in the core of the protein vs. exposed on the surface. The model assigns significantly lower entropy to sites that are in the core of the protein, consistent with the idea that tight packing in the core places greater constraints on the selection of residues. Fig. 5B visualizes the entropy assigned by the model to each position overlayed on the structure of Indole-3-glycerolphosphate Synthase, a TIM barrel protein. Higher entropy is assigned to residues having outward facing side chains on the alpha helices, while lower entropy is assigned to the inward facing positions. Fig. 17 compares the probability assigned to hydrophobic, polar, and charged amino acids for buried sites vs. non-buried sites. The model prefers hydrophobic residues in the core and hydrophilic residues on the surface. The model probabilities closely match the empirical probabilities and those from the PSSM. Fig. 5C visualizes probability assigned to hydrophobic amino acids on the structure of
124
+
125
+ ![](images/2ea85c03a08acec02f38e3c0f7439ab7a8794f0fc9dd070ba947f7ef79ed915f.jpg)
126
+ Figure 5: ESM-1v reflects the molecular basis of function in proteins. (A) DNA methylase HaeIII (pdbid: 1DCT [29]). Side chains for the top 10 positions with lowest prediction entropy shown in blue. Low-entropy positions cluster in the active site. (B) TIM Barrel (pdbid: 1IGS [30]) with residues colored by entropy. The model’s predictions for residues on the surface have highest entropy (red) while those in the core have lower entropy (blue). Notably, residues on the alpha helices show a clear gradient from high to low entropy as residues transition from surface-facing to core-facing. (C) Sucrose-specific Porin (pdbid: 1A0T [31]), a transmembrane protein. The model predicts a hydrophobic band where the protein is embedded in the membrane.
127
+
128
+ Sucrose-specific Porin, a transmembrane protein. The model predicts a hydrophobic band in the center where the protein embeds in the membrane.
129
+
130
+ Calibration We evaluate model calibration using 15008 sequences with length $< 1 0 2 4$ from the trRosetta [32] dataset. ESM-1v probabilities for each amino acid at each position are calculated with the masked marginal probability in Eq. (1). Fig. 6 shows that the model is generally well calibrated for all amino acids except Methionine. ESM-1v always predicts Methionine as the first position in the sequence since full protein sequences always start with it, so care must be used when applying the model to subsequences. When excepting the first residue, the model achieves an average calibration error (defined for the multi-class setting in Appendix D.4) of 0.006.
131
+
132
+ We also explore the relationship between conservation (entropy of the PSSM) and the model’s predicted entropy. Fig. 16 shows that these are well correlated (Pearson’s $r = 0 . 4 4$ ), suggesting the model is able to identify conserved positions.
133
+
134
+ # 6 Related Work
135
+
136
+ # 6.1 Protein language models
137
+
138
+ In the past few years, a number of groups have developed language models for protein sequences [21, 33, 14, 34, 35, 22, 13, 12]. These models have been used for many tasks, including supervised low-N function prediction [16, 12], remote homology detection [22, 12], and protein generation [35]. The approach to the tasks typically involves transfer learning, where a pretrained language model is fine-tuned for a particular problem. Vig et al. [36] and Rao et al. [26] found that transformer attention corresponds to known biological properties such as structure and binding sites and can be used to predict contacts.
139
+
140
+ ![](images/22719229610aa8a6b0b3b3a8d8d5b6b256a8c4636893a0c752af2b26b6e02432.jpg)
141
+ Figure 6: Calibration plot for ESM-1v predictions on each of the 20 naturally occurring amino acids on the trRosetta dataset. The multi-class classification is converted into a set of 20 oneversus-all classifications for the purpose of this analysis. Left and right plots show calibration of all positions and positions excluding the first residue, respectively. Since full sequences always start with Methionine, the model overwhelmingly predicts it in the first position. When evaluating the model on subsequences, such as those in the trRosetta dataset, this causes a miscalibration at the first residue. Including the first residue, the model has an average calibration error (ACE) of 0.011 in the first case and 0.006 in the second.
142
+
143
+ # 6.2 Mutation effect prediction
144
+
145
+ Supervised and unsupervised methods have been developed for prediction of mutational effects. Supervised methods train models using experimental measurements or labels from databases of clinical variants. Standard machine learning tools including linear regression, random forests, and support-vector machines can be used [37]. Models have been designed specifically for proteins, using feature engineering such as Envision [38] and PolyPhen-2 [39], ensemble methods such as Revel [40], MPC [41], CADD [42], and M-CAP [43], language models such as UniRep [21, 16] and ESM [12], and other representation learning approaches [44, 45].
146
+
147
+ Unsupervised mutation effect predictors work by inferring the likelihood of a mutation from the evolutionary landscape of the original protein. A density model fit to related sequences is used for scoring. SIFT [46] is a first order approach using a position-specific-scoring-matrix. EVMutation [4] extends this to a second-order approach by training a Potts model on the MSA. DeepSequence [20] includes higher-order interactions by training a VAE on the MSA instead, using the ELBO to score mutations. Riesselman et al. [47] proposes using an autoregressive model that does not require the sequences to be aligned. Laine et al. [48] uses an evolutionary tree structure inferred from the MSA to compare mutations.
148
+
149
+ Hsu et al. [15] show that unsupervised mutational effect predictors can be extended to perform supervised predictions, with better unsupervised predictors generally resulting in better supervised predictors. This suggests improving unsupervised prediction can drive progress in both settings. Concurrent with our work, Hie et al. [49] use open-source protein language models ESM-1b and TAPE to predict the direction of evolution in protein fitness landscapes.
150
+
151
+ # 7 Discussion
152
+
153
+ Advances in language modeling at scale are bringing the goal of a general purpose model for proteins closer to realization. This line of work aspires to a model that learns to read and write biology in its native language, that can be directly applied across a range of protein understanding and design tasks. For scalability, learning from sequences is important: while there are no central databases of high-throughput functional measurements, and few compilations exist, billions of sequences are available to learn from in sequence databases [50, 51]. Sequences give an unparalleled view into the vast diversity and complexity of molecular parts invented by nature through billions of years of evolution.
154
+
155
+ Unsupervised structure [52–54, 28, 55, 56] and function [3, 4] learning methods first effectively realized the idea that biological properties could be read directly from sequences without supervision from experimental measurements. However these methods are not general purpose in the sense that a specialized model must be trained for every protein for which a prediction is to be made. We show that the same performance can be realized by a general purpose model that has been trained across many diverse protein families. Similar to observations on the learning of tertiary protein structure in large language models [12, 26], we find that increasing the scale of models leads to improvements in function learning. The understanding of mutational landscapes in the models correlates with the molecular basis of function in proteins, capturing binding sites and amino acid preferences that are determined by the folded structure.
156
+
157
+ Zero-shot transfer is an interesting capability of large scale language models, and represents a major point of departure from the unsupervised learning methods that are the basis for current state-of-theart inference of protein structure and function. The capability for zero-shot transfer implies that a model can be trained once and then applied to perform inference for many tasks. It is also a window into deeper questions about the forms of generalization that are possible in learning from sequences. Reading structural and functional design principles from sequences is a necessary capability for writing new biologically active sequences. Generalization in the zero-shot setting suggests the potential for large language models to capture knowledge that can be transferred to generating new functional proteins.
158
+
159
+ # Acknowledgments and Disclosure of Funding
160
+
161
+ We thank Naman Goyal, Chloe Hsu, Zeming Lin, Ishan Misra, Myle Ott, Sergey Ovchinnikov, and Ethan Perez for valuable input on the paper. Roshan Rao was supported by funding from Facebook, Berkeley Deep Drive, and DARPA XAI.
162
+
163
+ References
164
+ [1] Charles J Epstein, Robert F Goldberger, and Christian B Anfinsen. The genetic control of tertiary protein structure: studies with model systems. In Cold Spring Harbor symposia on quantitative biology, volume 28, pages 439–449. Cold Spring Harbor Laboratory Press, 1963.
165
+ [2] Douglas M Fowler and Stanley Fields. Deep mutational scanning: a new style of protein science. Nature methods, 11(8):801, 2014.
166
+ [3] Matteo Figliuzzi, Hervé Jacquier, Alexander Schug, Oliver Tenaillon, and Martin Weigt. Coevolutionary landscape inference and the context-dependence of mutations in beta-lactamase tem-1. Molecular biology and evolution, 33(1):268–280, 2016.
167
+ [4] Thomas A. Hopf, John B. Ingraham, Frank J. Poelwijk, Charlotta P.I. Schärfe, Michael Springer, Chris Sander, and Debora S. Marks. Mutation effects predicted from sequence co-variation. Nature Biotechnology, 35(2):128–135, feb 2017. ISSN 15461696. doi: 10.1038/nbt.3769.
168
+ [5] C Yanofsky, V Horn, and D Thorpe. Protein Structure Relationships Revealed By Mutational Analysis. Science (New York, N.Y.), 146(3651):1593–4, 12 1964. ISSN 0036-8075. URL http://www.ncbi.nlm.nih.gov/pubmed/14224506.
169
+ [6] D. Altschuh, A.M. Lesk, A.C. Bloomer, and A. Klug. Correlation of co-ordinated amino acid substitutions with function in viruses related to tobacco mosaic virus. Journal of Molecular Biology, 193(4):693–707, 1987. ISSN 0022-2836. doi: 10.1016/0022-2836(87)90352-4.
170
+ [7] D Altschuh, T Vernet, P Berti, D Moras, and K Nagai. Coordinated amino acid changes in homologous protein families. Protein Engineering, Design and Selection, 2(3):193–199, 1988.
171
+ [8] Ulrike Göbel, Chris Sander, Reinhard Schneider, and Alfonso Valencia. Correlated mutations and residue contacts in proteins. Proteins: Structure, Function, and Genetics, 18(4):309–317, 4 1994. ISSN 0887-3585. doi: 10.1002/prot.340180402. URL http://www.ncbi.nlm.nih. gov/pubmed/8208723http://doi.wiley.com/10.1002/prot.340180402.
172
+ [9] Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019.
173
+ [10] 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. CoRR, abs/2005.14165, 2020. URL https://arxiv.org/abs/2005.14165.
174
+ [11] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision, 2021.
175
+ [12] Alexander Rives, Joshua Meier, Tom Sercu, Siddharth Goyal, Zeming Lin, Jason Liu, Demi Guo, Myle Ott, C. Lawrence Zitnick, Jerry Ma, and Rob Fergus. Biological Structure and Function Emerge from Scaling Unsupervised Learning to 250 Million Protein Sequences. bioRxiv, page 622803, 4 2020. doi: 10.1101/622803. URL https://www.biorxiv.org/content/10. 1101/622803v3.
176
+ [13] Roshan Rao, Jason Liu, Robert Verkuil, Joshua Meier, John F. Canny, Pieter Abbeel, Tom Sercu, and Alexander Rives. MSA Transformer. bioRxiv, page 2021.02.12.430858, feb 2021. doi: 10.1101/2021.02.12.430858.
177
+ [14] Ahmed Elnaggar, Michael Heinzinger, Christian Dallago, Ghalia Rihawi, Yu Wang, Llion Jones, Tom Gibbs, Tamas Feher, Christoph Angerer, Martin Steinegger, Debsindhu Bhowmik, and Burkhard Rost. ProtTrans: Towards Cracking the Language of Life’s Code Through Self-Supervised Deep Learning and High Performance Computing. bioRxiv, 7 2020. URL http://arxiv.org/abs/2007.06225.
178
+
179
+ [15] Chloe Hsu, Hunter Nisonoff, Clara Fannjiang, and Jennifer Listgarten. Combining evolutionary and assay-labelled data for protein fitness prediction. bioRxiv, page 2021.03.28.437402, mar 2021. doi: 10.1101/2021.03.28.437402.
180
+
181
+ [16] Surojit Biswas, Grigory Khimulya, Ethan C Alley, Kevin M Esvelt, and George M Church. Low-N protein engineering with data-efficient deep learning. bioRxiv, page 2020.01.23.917682, 2020. doi: 10.1101/2020.01.23.917682.
182
+
183
+ [17] Christoph H Lampert, Hannes Nickisch, and Stefan Harmeling. Learning to detect unseen object classes by between-class attribute transfer. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 951–958. IEEE, 2009.
184
+
185
+ [18] Hugo Larochelle, Dumitru Erhan, and Yoshua Bengio. Zero-data learning of new tasks. In AAAI, volume 1, page 3, 2008.
186
+
187
+ [19] Ramesh A, Pavlov M, Goh G, Gray S, Voss C, Radford A, Chen M, and Sutskever I. Zero-shot text-to-image generation.
188
+
189
+ [20] Adam J. Riesselman, John B. Ingraham, and Debora S. Marks. Deep generative models of genetic variation capture the effects of mutations. Nature Methods, 15(10):816–822, 10 2018. ISSN 15487105. doi: 10.1038/s41592-018-0138-4.
190
+
191
+ [21] Ethan C. Alley, Grigory Khimulya, Surojit Biswas, Mohammed AlQuraishi, and George M. Church. Unified rational protein engineering with sequence-only deep representation learning. Nature Methods, 12:1315–1322, 3 2019. ISSN 15487105. doi: 10.1101/589333. URL https://www.biorxiv.org/content/10.1101/589333v1.
192
+
193
+ [22] Roshan Rao, Nicholas Bhattacharya, Neil Thomas, Yan Duan, Xi Chen, John Canny, Pieter Abbeel, and Yun S. Song. Evaluating Protein Transfer Learning with TAPE. In Neural Information Processing Systems. Cold Spring Harbor Laboratory, 6 2019. doi: 10.1101/676825. URL https://doi.org/10.1101/676825http://arxiv.org/abs/1906.08230.
194
+
195
+ [23] Robert D. Finn, Alex Bateman, Jody Clements, Penelope Coggill, Ruth Y. Eberhardt, Sean R. Eddy, Andreas Heger, Kirstie Hetherington, Liisa Holm, Jaina Mistry, Erik L.L. Sonnhammer, John Tate, and Marco Punta. Pfam: The protein families database, 1 2014. ISSN 03051048. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3965110/.
196
+
197
+ [24] Baris E. Suzek, Hongzhan Huang, Peter McGarvey, Raja Mazumder, and Cathy H. Wu. UniRef: Comprehensive and non-redundant UniProt reference clusters. Bioinformatics, 23(10):1282– 1288, 5 2007. ISSN 13674803. doi: 10.1093/bioinformatics/btm098. URL http://www. uniprot.org.
198
+
199
+ [25] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171– 4186, Minneapolis, Minnesota, 6 2019. Association for Computational Linguistics. doi: 10. 18653/v1/N19-1423. URL http://arxiv.org/abs/1810.04805.
200
+
201
+ [26] Roshan Rao, Joshua Meier, Tom Sercu, Sergey Ovchinnikov, and Alexander Rives. Transformer protein language models are unsupervised structure learners. ICLR, page 2020.12.15.422761, 12 2021. doi: 10.1101/2020.12.15.422761.
202
+
203
+ [27] Tom Henighan, Jared Kaplan, Mor Katz, Mark Chen, Christopher Hesse, Jacob Jackson, Heewoo Jun, Tom B. Brown, Prafulla Dhariwal, Scott Gray, Chris Hallacy, Benjamin Mann, Alec Radford, Aditya Ramesh, Nick Ryder, Daniel M. Ziegler, John Schulman, Dario Amodei, and Sam McCandlish. Scaling laws for autoregressive generative modeling. CoRR, abs/2010.14701, 2020. URL https://arxiv.org/abs/2010.14701.
204
+
205
+ [28] Faruck Morcos, Andrea Pagnani, Bryan Lunt, Arianna Bertolino, Debora S. Marks, Chris Sander, Riccardo Zecchina, José N. Onuchic, Terence Hwa, and Martin Weigt. Direct-coupling analysis of residue coevolution captures native contacts across many protein families. Proceedings of the National Academy of Sciences of the United States of America, 108(49):E1293–E1301, 12 2011. ISSN 00278424. doi: 10.1073/pnas.1111471108.
206
+
207
+ [29] KM Reinish, L Chen, GL Verdine, and WN Lipscomb. The crystal structure of haeiii methyltransferase covalently complexed to dna: an extrahelical cytosine and rearranged base pairing. Cell, 82(1):143–153, 1995.
208
+
209
+ [30] Michael Hennig, Beatrice Darimont, Reinhard Sterner, Kasper Kirschner, and Johan N Jansonius. $2 . 0 \textup { \AA }$ structure of indole-3-glycerol phosphate synthase from the hyperthermophile sulfolobus solfataricus: possible determinants of protein stability. Structure, 3(12):1295–1306, 1995.
210
+
211
+ [31] Doris Forst, Wolfram Welte, Thomas Wacker, and Kay Diederichs. Structure of the sucrosespecific porin scry from salmonella typhimurium and its complex with sucrose. Nature structural biology, 5(1):37–46, 1998.
212
+
213
+ [32] Jianyi Yang, Ivan Anishchenko, Hahnbeom Park, Zhenling Peng, Sergey Ovchinnikov, David Baker, and John Harvard. Improved protein structure prediction using predicted inter-residue orientations. bioRxiv, page 846279, 2019. doi: 10.1101/846279. URL https://www.biorxiv. org/content/10.1101/846279v1.
214
+
215
+ [33] Tristan Bepler and Bonnie Berger. Learning protein sequence embeddings using information from structure, 2 2019. URL http://arxiv.org/abs/1902.08661https://arxiv.org/ abs/1902.08661.
216
+
217
+ [34] Amy X Lu, Haoran Zhang, Marzyeh Ghassemi, and Alan Moses. Self-Supervised Contrastive Learning of Protein Representations By Mutual Information Maximization. bioRxiv, page 2020.09.04.283929, 9 2020. doi: 10.1101/2020.09.04.283929. URL https://doi.org/10. 1101/2020.09.04.283929.
218
+
219
+ [35] Ali Madani, Bryan McCann, Nikhil Naik, Nitish Shirish Keskar, Namrata Anand, Raphael R. Eguchi, Po-Ssu Huang, and Richard Socher. ProGen: Language Modeling for Protein Generation. bioRxiv, 3 2020. URL http://arxiv.org/abs/2004.03497.
220
+
221
+ [36] Jesse Vig, Ali Madani, Lav R. Varshney, Caiming Xiong, Richard Socher, and Nazneen Fatema Rajani. BERTology Meets Biology: Interpreting Attention in Protein Language Models. bioRxiv, page 2020.06.26.174417, 6 2020. doi: 10.1101/2020.06.26.174417. URL http: //arxiv.org/abs/2006.15222.
222
+
223
+ [37] Kevin K. Yang, Zachary Wu, and Frances H. Arnold. Machine-learning-guided directed evolution for protein engineering, aug 2019. ISSN 15487105.
224
+
225
+ [38] Vanessa E. Gray, Ronald J. Hause, Jens Luebeck, Jay Shendure, and Douglas M. Fowler. Quantitative Missense Variant Effect Prediction Using Large-Scale Mutagenesis Data. Cell Systems, 6(1):116–124.e3, jan 2018. ISSN 24054720. doi: 10.1016/j.cels.2017.11.003.
226
+
227
+ [39] Ivan A. Adzhubei, Steffen Schmidt, Leonid Peshkin, Vasily E. Ramensky, Anna Gerasimova, Peer Bork, Alexey S. Kondrashov, and Shamil R. Sunyaev. A method and server for predicting damaging missense mutations, apr 2010. ISSN 15487091.
228
+
229
+ [40] Nilah M Ioannidis, Joseph H Rothstein, Vikas Pejaver, Sumit Middha, Shannon K McDonnell, Saurabh Baheti, Anthony Musolf, Qing Li, Emily Holzinger, Danielle Karyadi, et al. Revel: an ensemble method for predicting the pathogenicity of rare missense variants. The American Journal of Human Genetics, 99(4):877–885, 2016.
230
+
231
+ [41] Kaitlin E Samocha, Jack A Kosmicki, Konrad J Karczewski, Anne H O’Donnell-Luria, Emma Pierce-Hoffman, Daniel G MacArthur, Benjamin M Neale, and Mark J Daly. Regional missense constraint improves variant deleteriousness prediction. BioRxiv, page 148353, 2017.
232
+
233
+ [42] Martin Kircher, Daniela M Witten, Preti Jain, Brian J O’Roak, Gregory M Cooper, and Jay Shendure. A general framework for estimating the relative pathogenicity of human genetic variants. Nature genetics, 46(3):310–315, 2014.
234
+
235
+ [43] Karthik A Jagadeesh, Aaron M Wenger, Mark J Berger, Harendra Guturu, Peter D Stenson, David N Cooper, Jonathan A Bernstein, and Gill Bejerano. M-cap eliminates a majority of variants of uncertain significance in clinical exomes at high sensitivity. Nature genetics, 48(12): 1581, 2016.
236
+
237
+ [44] Laksshman Sundaram, Hong Gao, Samskruthi Reddy Padigepati, Jeremy F McRae, Yanjun Li, Jack A Kosmicki, Nondas Fritzilas, Jörg Hakenberg, Anindita Dutta, John Shon, et al. Predicting the clinical impact of human mutation with deep neural networks. Nature genetics, 50(8):1161–1170, 2018.
238
+
239
+ [45] Haicang Zhang, Michelle S Xu, Wendy K Chung, and Yufeng Shen. Predicting functional effect of missense variants using graph attention neural networks. bioRxiv, 2021.
240
+
241
+ [46] Ngak Leng Sim, Prateek Kumar, Jing Hu, Steven Henikoff, Georg Schneider, and Pauline C. Ng. SIFT web server: Predicting effects of amino acid substitutions on proteins. Nucleic Acids Research, 40(W1):W452, jul 2012. ISSN 03051048. doi: 10.1093/nar/gks539.
242
+
243
+ [47] Adam Riesselman, Jung-Eun Shin, Aaron Kollasch, Conor McMahon, Elana Simon, Chris Sander, Aashish Manglik, Andrew Kruse, and Debora Marks. Accelerating Protein Design Using Autoregressive Generative Models. bioRxiv, page 757252, 2019. doi: 10.1101/757252. URL https://www.biorxiv.org/content/10.1101/757252v1.
244
+
245
+ [48] Elodie Laine, Yasaman Karami, and Alessandra Carbone. Gemme: a simple and fast global epistatic model predicting mutational effects. Molecular biology and evolution, 36(11):2604– 2619, 2019.
246
+
247
+ [49] Brian L Hie, Kevin K Yang, and Peter S Kim. Evolutionary velocity with protein language models. bioRxiv, 2021.
248
+
249
+ [50] Henrik Nordberg, Michael Cantor, Serge Dusheyko, Susan Hua, Alexander Poliakov, Igor Shabalov, Tatyana Smirnova, Igor V Grigoriev, and Inna Dubchak. The genome portal of the department of energy joint genome institute: 2014 updates. Nucleic acids research, 42(D1): D26–D31, 2014.
250
+
251
+ [51] M. Steinegger, M. Mirdita, and J. Söding. Protein-level assembly increases protein sequence recovery from metagenomic samples manyfold. Nat Methods, 16(7):603–606, 07 2019.
252
+
253
+ [52] Alan S. Lapedes, Bertrand G. Giraud, LonChang Liu, and Gary D. Stormo. Correlated Mutations in Models of Protein Sequences: Phylogenetic and Structural Effects. Lecture Notes-Monograph Series, 33:236–256, 1999. doi: 10.2307/4356049. URL http://www.jstor.org/stable/ 4356049.
254
+
255
+ [53] John Thomas, Naren Ramakrishnan, and Chris Bailey-Kellogg. Graphical models of residue coupling in protein families, 4 2008. ISSN 15455963. URL https://pubmed.ncbi.nlm. nih.gov/18451428/.
256
+
257
+ [54] Martin Weigt, Robert A. White, Hendrik Szurmant, James A. Hoch, and Terence Hwa. Identification of direct residue contacts in protein-protein interaction by message passing. Proceedings of the National Academy of Sciences of the United States of America, 106(1):67–72, 1 2009. ISSN 00278424. doi: 10.1073/pnas.0805923106. URL https://www.pnas.org/content/ 106/1/67https://www.pnas.org/content/106/1/67.abstract.
258
+
259
+ [55] Sivaraman Balakrishnan, Hetunandan Kamisetty, Jaime G. Carbonell, Su-In Lee, and Christopher James Langmead. Learning generative models for protein fold families. Proteins: Structure, Function, and Bioinformatics, 79(4):1061–1078, 4 2011. ISSN 08873585. doi: 10.1002/prot.22934. URL http://doi.wiley.com/10.1002/prot.22934.
260
+
261
+ [56] David T. Jones, Daniel W. A. Buchan, Domenico Cozzetto, and Massimiliano Pontil. PSICOV: precise structural contact prediction using sparse inverse covariance estimation on large multiple sequence alignments. Bioinformatics, 28(2):184–190, 1 2012. ISSN 1460-2059. doi: 10.1093/bioinformatics/btr638. URL https://academic.oup.com/bioinformatics/ article-lookup/doi/10.1093/bioinformatics/btr638.
262
+
263
+ [57] Emily E Wrenbeck, Matthew S Faber, and Timothy A Whitehead. Deep sequencing methods for protein engineering and design. Current opinion in structural biology, 45:36–44, 2017.
264
+
265
+ [58] Justin R Klesmith, John-Paul Bacik, Ryszard Michalczyk, and Timothy A Whitehead. Comprehensive sequence-flux mapping of a levoglucosan utilization pathway in e. coli. ACS synthetic biology, 4(11):1235–1243, 2015.
266
+
267
+ [59] Hugh K Haddox, Adam S Dingens, Sarah K Hilton, Julie Overbaugh, and Jesse D Bloom. Mapping mutational effects along the evolutionary landscape of hiv envelope. Elife, 7:e34420, 2018.
268
+ [60] Philip A Romero, Tuan M Tran, and Adam R Abate. Dissecting enzyme function with microfluidic-based deep mutational scanning. Proceedings of the National Academy of Sciences, 112(23):7159–7164, 2015.
269
+ [61] Elad Firnberg, Jason W Labonte, Jeffrey J Gray, and Marc Ostermeier. A comprehensive, high-resolution map of a gene’s fitness landscape. Molecular biology and evolution, 31(6): 1581–1592, 2014.
270
+ [62] Zhifeng Deng, Wanzhi Huang, Erol Bakkalbasi, Nicholas G Brown, Carolyn J Adamski, Kacie Rice, Donna Muzny, Richard A Gibbs, and Timothy Palzkill. Deep sequencing of systematic combinatorial libraries reveals $\beta$ -lactamase sequence constraints at high resolution. Journal of molecular biology, 424(3-4):150–167, 2012.
271
+ [63] Michael A Stiffler, Doeke R Hekstra, and Rama Ranganathan. Evolvability as a function of purifying selection in tem-1 $\beta$ -lactamase. Cell, 160(5):882–892, 2015.
272
+ [64] Hervé Jacquier, André Birgy, Hervé Le Nagard, Yves Mechulam, Emmanuelle Schmitt, Jérémy Glodt, Beatrice Bercot, Emmanuelle Petit, Julie Poulain, Guilène Barnaud, et al. Capturing the mutational landscape of the beta-lactamase tem-1. Proceedings of the National Academy of Sciences, 110(32):13067–13072, 2013.
273
+ [65] Scott D Findlay and Lynne-Marie Postovit. Comprehensive characterization of transcript diversity at the human nodal locus. BioRxiv, page 254409, 2018.
274
+ [66] Richard N McLaughlin Jr, Frank J Poelwijk, Arjun Raman, Walraj S Gosal, and Rama Ranganathan. The spatial architecture of protein function and adaptation. Nature, 491(7422): 138–142, 2012.
275
+ [67] Jacob O Kitzman, Lea M Starita, Russell S Lo, Stanley Fields, and Jay Shendure. Massively parallel single-amino-acid mutagenesis. Nature methods, 12(3):203–206, 2015.
276
+ [68] Michael B Doud and Jesse D Bloom. Accurate measurement of the effects of all amino-acid mutations on influenza hemagglutinin. Viruses, 8(6):155, 2016.
277
+ [69] Victoria O Pokusaeva, Dinara R Usmanova, Ekaterina V Putintseva, Lorena Espinar, Karen S Sarkisyan, Alexander S Mishin, Natalya S Bogatyreva, Dmitry N Ivankov, Arseniy V Akopyan, Sergey Ya Avvakumov, et al. An experimental assay of the interactions of amino acids from orthologous sequences shaping a complex fitness landscape. PLoS genetics, 15(4):e1008079, 2019.
278
+ [70] Parul Mishra, Julia M Flynn, Tyler N Starr, and Daniel NA Bolon. Systematic mutant analyses elucidate general and client-specific aspects of hsp90 function. Cell reports, 15(3):588–598, 2016.
279
+ [71] Eric D Kelsic, Hattie Chung, Niv Cohen, Jimin Park, Harris H Wang, and Roy Kishony. Rna structural determinants of optimal codons revealed by mage-seq. Cell systems, 3(6):563–571, 2016.
280
+ [72] Alexandre Melnikov, Peter Rogov, Li Wang, Andreas Gnirke, and Tarjei S Mikkelsen. Comprehensive mutational scanning of a kinase in vivo reveals substrate-dependent fitness landscapes. Nucleic acids research, 42(14):e112–e112, 2014.
281
+ [73] Lisa Brenan, Aleksandr Andreev, Ofir Cohen, Sasha Pantel, Atanas Kamburov, Davide Cacchiarelli, Nicole S Persky, Cong Zhu, Mukta Bagul, Eva M Goetz, et al. Phenotypic characterization of a comprehensive set of mapk1/erk2 missense mutants. Cell reports, 17(4):1171–1183, 2016.
282
+ [74] Liat Rockah-Shmuel, Ágnes Tóth-Petróczy, and Dan S Tawfik. Systematic mapping of protein mutational space by prolonged drift reveals the deleterious effects of seemingly neutral mutations. PLoS computational biology, 11(8):e1004421, 2015.
283
+
284
+ [75] Nicholas C Wu, C Anders Olson, Yushen Du, Shuai Le, Kevin Tran, Roland Remenyi, Danyang Gong, Laith Q Al-Mawsawi, Hangfei Qi, Ting-Ting Wu, et al. Functional constraint profiling of a viral protein reveals discordance of evolutionary conservation and functionality. PLoS genetics, 11(7):e1005310, 2015.
285
+
286
+ [76] Christopher D Aakre, Julien Herrou, Tuyen N Phung, Barrett S Perchuk, Sean Crosson, and Michael T Laub. Evolving new protein-protein interaction specificity through promiscuous intermediates. Cell, 163(3):594–606, 2015.
287
+
288
+ [77] Hangfei Qi, C Anders Olson, Nicholas C Wu, Ruian Ke, Claude Loverdo, Virginia Chu, Shawna Truong, Roland Remenyi, Zugen Chen, Yushen Du, et al. A quantitative high-resolution genetic profile rapidly identifies sequence determinants of hepatitis c viral fitness and drug sensitivity. PLoS pathogens, 10(4):e1004064, 2014.
289
+
290
+ [78] Kenneth A Matreyek, Lea M Starita, Jason J Stephany, Beth Martin, Melissa A Chiasson, Vanessa E Gray, Martin Kircher, Arineh Khechaduri, Jennifer N Dines, Ronald J Hause, et al. Multiplex assessment of protein variant abundance by massively parallel sequencing. Nature genetics, 50(6):874–882, 2018.
291
+
292
+ [79] Pradeep Bandaru, Neel H Shah, Moitrayee Bhattacharyya, John P Barton, Yasushi Kondo, Joshua C Cofsky, Christine L Gee, Arup K Chakraborty, Tanja Kortemme, Rama Ranganathan, et al. Deconstruction of the ras switching cycle through saturation mutagenesis. Elife, 6:e27810, 2017.
293
+
294
+ [80] Benjamin P Roscoe, Kelly M Thayer, Konstantin B Zeldovich, David Fushman, and Daniel NA Bolon. Analyses of the effects of all ubiquitin point mutants on yeast growth rate. Journal of molecular biology, 425(8):1363–1377, 2013.
295
+
296
+ [81] Benjamin P Roscoe and Daniel NA Bolon. Systematic exploration of ubiquitin sequence, e1 activation efficiency, and experimental fitness in yeast. Journal of molecular biology, 426(15): 2854–2870, 2014.
297
+
298
+ [82] David Mavor, Kyle Barlow, Samuel Thompson, Benjamin A Barad, Alain R Bonny, Clinton L Cario, Garrett Gaskins, Zairan Liu, Laura Deming, Seth D Axen, et al. Determination of ubiquitin fitness landscapes under different chemical stresses in a classroom setting. Elife, 5: e15802, 2016.
299
+
300
+ [83] Yvonne H Chan, Sergey V Venev, Konstantin B Zeldovich, and C Robert Matthews. Correlation of fitness landscapes from three orthologous tim barrels originates from sequence and structure constraints. Nature communications, 8(1):1–12, 2017.
301
+
302
+ [84] Daniel Melamed, David L Young, Caitlin E Gamble, Christina R Miller, and Stanley Fields. Deep mutational scanning of an rrm domain of the saccharomyces cerevisiae poly (a)-binding protein. Rna, 19(11):1537–1551, 2013.
303
+
304
+ [85] Lea M Starita, Jonathan N Pruneda, Russell S Lo, Douglas M Fowler, Helen J Kim, Joseph B Hiatt, Jay Shendure, Peter S Brzovic, Stanley Fields, and Rachel E Klevit. Activity-enhancing mutations in an e3 ubiquitin ligase identified by high-throughput mutagenesis. Proceedings of the National Academy of Sciences, 110(14):E1263–E1272, 2013.
305
+
306
+ [86] Carlos L Araya, Douglas M Fowler, Wentao Chen, Ike Muniez, Jeffery W Kelly, and Stanley Fields. A fundamental protein property, thermodynamic stability, revealed solely from largescale measurements of protein function. Proceedings of the National Academy of Sciences, 109 (42):16858–16863, 2012.
307
+
308
+ [87] Julian Salazar, Davis Liang, Toan Q. Nguyen, and Katrin Kirchhoff. Pseudolikelihood reranking with masked language models. CoRR, abs/1910.14659, 2019. URL http://arxiv.org/abs/ 1910.14659.
309
+
310
+ [88] Kevin K. Yang, Zachary Wu, Claire N. Bedbrook, and Frances H. Arnold. Learned protein embeddings for machine learning. Bioinformatics, 34(15):2642–2648, 8 2018. ISSN 14602059. doi: 10.1093/bioinformatics/bty178.
311
+
312
+ [89] Andrew Leaver-Fay, Matthew J O’meara, Mike Tyka, Ron Jacak, Yifan Song, Elizabeth H Kellogg, James Thompson, Ian W Davis, Roland A Pache, Sergey Lyskov, et al. Scientific benchmarks for guiding macromolecular energy function improvement. Methods in enzymology, 523:109–143, 2013.
313
+
314
+ [90] Milot Mirdita, Lars Von Den Driesch, Clovis Galiez, Maria J. Martin, Johannes Soding, and Martin Steinegger. Uniclust databases of clustered and deeply annotated protein sequences and alignments. Nucleic Acids Research, 45(D1):D170–D176, 1 2017. ISSN 13624962. doi: 10.1093/nar/gkw1081.
315
+
316
+ [91] Lukas Neumann, Andrew Zisserman, and Andrea Vedaldi. Relaxed Softmax: Efficient Confidence Auto-Calibration for Safe Pedestrian Detection. Technical report, oct 2018.
317
+
318
+ [92] Jeremy Nixon, Mike Dusenberry, Ghassen Jerfel, Timothy Nguyen, Jeremiah Liu, Linchuan Zhang, and Dustin Tran. Measuring Calibration in Deep Learning. apr 2019. URL http: //arxiv.org/abs/1904.01685.
319
+
320
+ [93] L. Steven Johnson, Sean R. Eddy, and Elon Portugaly. Hidden Markov model speed heuristic and iterative HMM search procedure. BMC Bioinformatics, 11(1):431, 8 2010. ISSN 14712105. doi: 10.1186/1471-2105-11-431. URL https://bmcbioinformatics.biomedcentral. com/articles/10.1186/1471-2105-11-431.
321
+
322
+ [94] Didier Nurizzo, Steven C Shewry, Michael H Perlin, Scott A Brown, Jaydev N Dholakia, Roy L Fuchs, Taru Deva, Edward N Baker, and Clyde A Smith. The crystal structure of aminoglycoside3-phosphotransferase-iia, an enzyme responsible for antibiotic resistance. Journal of molecular biology, 327(2):491–506, 2003.
parse/train/uXc42E9ZPFs/uXc42E9ZPFs_content_list.json ADDED
@@ -0,0 +1,1648 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Language models enable zero-shot prediction of the effects of mutations on protein function ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 187,
8
+ 122,
9
+ 810,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Joshua Meier 1 2 Roshan Rao 3 Robert Verkuil 1 Jason Liu 1 Tom Sercu 1 Alexander Rives 1 2 ",
17
+ "bbox": [
18
+ 285,
19
+ 224,
20
+ 712,
21
+ 255
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 290,
32
+ 535,
33
+ 308
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Modeling the effect of sequence variation on function is a fundamental problem for understanding and designing proteins. Since evolution encodes information about function into patterns in protein sequences, unsupervised models of variant effects can be learned from sequence data. The approach to date has been to fit a model to a family of related sequences. The conventional setting is limited, since a new model must be trained for each prediction task. We show that using only zero-shot inference, without any supervision from experimental data or additional training, protein language models capture the functional effects of sequence variation, performing at state-of-the-art. ",
40
+ "bbox": [
41
+ 233,
42
+ 323,
43
+ 766,
44
+ 448
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 474,
55
+ 310,
56
+ 492
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Proteins have a myriad of diverse functions that underlie the complexity of life. Protein sequences encode function via structure through the spontaneous folding of the sequence into the three dimensional structure of the protein [1]. The effects of sequence mutations on function form a landscape that reveals how function constrains sequence. Alterations at some sites in a protein sequence cannot be tolerated because they are essential to the protein’s function. Other sites evolve together because the structure and function is determined by them collectively. Mutations can enhance the activity of a protein, attenuate it, or leave it unchanged. ",
63
+ "bbox": [
64
+ 174,
65
+ 507,
66
+ 825,
67
+ 604
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The functional effect of sequence variations can be measured through deep mutational scanning experiments [2]. Consisting of thousands to hundreds of thousands of measurements of protein function, deep mutational scans give insight into the intrinsic constraints on a protein’s structure and function. Due to the cost and difficulty of implementing such experiments, compilations of deep mutational scanning data include experiments on a few dozens of proteins at most, relative to the tens of thousands of proteins encoded in the human genome, and the millions more across the tree of life that we would like to understand. ",
74
+ "bbox": [
75
+ 174,
76
+ 611,
77
+ 825,
78
+ 708
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "A model that learns the landscape linking sequence to function can provide insight into function without having to do experiments. Unsupervised models of mutational effects can be learned from sequences [3, 4]. Statistical patterns in a family of evolutionarily related protein sequences contain information about structure and function [5–7]. This is because the properties of a protein act as constraints on the selection of sequences through evolution [8]. ",
85
+ "bbox": [
86
+ 174,
87
+ 714,
88
+ 825,
89
+ 784
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In the natural language modeling community, there has been interest in zero-shot transfer of models to new tasks. Massive language models can solve tasks they haven’t been directly trained on [9–11]. Recently protein language models have achieved state-of-the-art in various structure prediction tasks [12–14]. Work to date has mainly focused on transfer in the classical representation learning setting, using pre-trained features with supervision on the downstream task. ",
96
+ "bbox": [
97
+ 174,
98
+ 790,
99
+ 825,
100
+ 859
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/1652ff3fe8fd19a92d3d1daa55b292f281bfda542c9b42a504809d8893cff617.jpg",
107
+ "image_caption": [
108
+ "Figure 1: Depiction of a mutational effect prediction task. The objective is to score the effect of sequence mutations on the function of a protein. Deep mutational scanning experiments provide ground truth experimental measurements of the protein’s function (fluorescence activity in the example here) for a large set of single mutations or combinations of mutations. For each protein, the prediction task is to score each possible mutation and rank its relative activity. Predictions for single substitutions can be described in a score matrix. The columns are the positions in the sequence. The rows are the possible variations at each position. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 235,
113
+ 106,
114
+ 741,
115
+ 327
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "In this work we show that language models trained on large and diverse protein sequence databases can predict experimental measurements of protein function without further supervision. Prior work has focused on transferring the representations using supervision from experimental data [15, 16]. We find that language models can transfer to predict functional measurements without supervision. Language models perform zero-shot and few-shot prediction of mutational effects across a variety of proteins with widely differing functions. We perform experiments with state-of-the-art protein language models ESM-1b [12] and MSA Transformer [13]. We introduce a new protein language model, ESM-1v, with zero-shot performance comparable to state-of-the-art mutational effect predictors. Performance can be further improved by fine-tuning the model with sequences from the protein family. Predictions capture the functional landscape of the protein, correlate with amino acid conservation patterns in the core and surface, and identify residues responsible for binding and activity. ",
122
+ "bbox": [
123
+ 174,
124
+ 467,
125
+ 825,
126
+ 619
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "2 Zero-shot transfer ",
133
+ "text_level": 1,
134
+ "bbox": [
135
+ 176,
136
+ 638,
137
+ 357,
138
+ 655
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "Zero-shot learning has classically described the extension of a classifier to a new set of classes that have not been seen in training [17]. In natural language processing this idea has been extended to describe the transfer of models to entirely new tasks without further training. Proposed as zero-data learning by Larochelle et al. [18], this perspective on transfer has been at the center of recent work understanding the generalization capabilities of large language models [9–11, 19]. The distinction from representation learning is that the models are used directly without additional supervision for the task. This means that the tasks must be learned purely from pre-training. ",
145
+ "bbox": [
146
+ 174,
147
+ 670,
148
+ 825,
149
+ 767
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "In this work we take a similar perspective on zero-shot transfer to that of GPT-3, described in Brown et al. [10]. We define zero-shot transfer to be transfer of a model to a new task without any further supervision to specialize the model to the task. We also consider the closely related idea of few-shot transfer. Here as in Brown et al. [10] we define the few-shot setting to be one in which a few positive examples are given to the model as inputs at inference time. As in the zero-shot setting, no gradient updates are performed to specialize the model. Similar to Brown et al. [10], the claim is not one of out-of-distribution generalization. The assumption is that in the pre-training stage, the model learns information relevant to the tasks to which it will later be transferred. In the case of protein language models, the pre-training dataset includes sequences from across evolution, which implies the model may see examples of sequences from protein families on which it will be evaluated. The essential departure from the standard approach in computational biology is that the model is general purpose and can be applied across a variety of tasks without specialization. ",
156
+ "bbox": [
157
+ 174,
158
+ 772,
159
+ 825,
160
+ 911
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "image",
166
+ "img_path": "images/bbf328ffdfa3e742bec3e891fde1e83564ab08c3637186440dcae4002cccba89.jpg",
167
+ "image_caption": [
168
+ "Figure 2: Steps involved in variant effect prediction methods. Compared with EVMutation [4] and DeepSequence [20], MSA Transformer and ESM-1v require no task-specific model training for inference. Moreover, ESM-1v does not require MSA generation. "
169
+ ],
170
+ "image_footnote": [],
171
+ "bbox": [
172
+ 178,
173
+ 92,
174
+ 766,
175
+ 333
176
+ ],
177
+ "page_idx": 2
178
+ },
179
+ {
180
+ "type": "text",
181
+ "text": "",
182
+ "bbox": [
183
+ 174,
184
+ 434,
185
+ 821,
186
+ 463
187
+ ],
188
+ "page_idx": 2
189
+ },
190
+ {
191
+ "type": "text",
192
+ "text": "Measurements of function, a property of central importance to the understanding and design of proteins, are a practical ground for studying the generalization capability of protein language models. Deep mutational scanning experiments measure the effects of thousands to hundreds of thousands of mutations on a single protein, and have been performed on a variety of proteins having different functions and using various forms of experimental measurement. We study zero-shot and few-shot transfer of protein language models to function prediction using this data. ",
193
+ "bbox": [
194
+ 174,
195
+ 469,
196
+ 825,
197
+ 553
198
+ ],
199
+ "page_idx": 2
200
+ },
201
+ {
202
+ "type": "text",
203
+ "text": "Supervised methods trained with data from experimental measurements [15, 16], and unsupervised methods trained only on sequences [3, 4] have been developed for prediction of mutational effects. Unsupervised mutational effect predictors are trained as task specific models on sequences from an individual protein family. In this view every protein is an independent prediction task where the objective is to score the effect of mutations on the protein’s function. While mutational effect predictors trained on multiple sequence alignments (MSAs) are typically described as unsupervised, they can also be seen as weakly supervised. Hsu et al. [15] observe that such models have weak supervision on the task through the MSA, which describes the fitness landscape of the protein through positive examples. ",
204
+ "bbox": [
205
+ 174,
206
+ 559,
207
+ 825,
208
+ 684
209
+ ],
210
+ "page_idx": 2
211
+ },
212
+ {
213
+ "type": "text",
214
+ "text": "If protein language models can learn the information necessary to solve a task from pre-training, then they can be applied directly to new instances of the task, without specialization. This would mean that in practice a single general purpose model can be trained once and then applied to a variety of possible tasks. Thus zero-shot and few-shot transfer represent fundamentally new unsupervised learning capabilities that protein language models can bring to the computational biology toolkit. ",
215
+ "bbox": [
216
+ 174,
217
+ 690,
218
+ 825,
219
+ 760
220
+ ],
221
+ "page_idx": 2
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "3 Method ",
226
+ "text_level": 1,
227
+ "bbox": [
228
+ 174,
229
+ 797,
230
+ 269,
231
+ 815
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "Protein language models trained with the masked language modeling objective are supervised to output the probability that an amino acid occurs at a position in a protein given the surrounding context. We use this capability to score sequence variations. For a given mutation we can consider the amino acid in the wildtype protein as a reference state, comparing the probability assigned to the mutated amino acid with the probability assigned to the wildtype. ",
238
+ "bbox": [
239
+ 174,
240
+ 842,
241
+ 825,
242
+ 911
243
+ ],
244
+ "page_idx": 2
245
+ },
246
+ {
247
+ "type": "table",
248
+ "img_path": "images/efa663e8bf8cca512e2f4cf01f9cb70084a34280053c0e3acbc5ee05735878d9.jpg",
249
+ "table_caption": [],
250
+ "table_footnote": [],
251
+ "table_body": "<table><tr><td>Models</td><td>Full</td><td>Test</td></tr><tr><td>PSSM EVMutation (published)</td><td>0.460 0.508</td><td>0.460 0.495</td></tr><tr><td>EVMutation (replicated)</td><td>0.511</td><td>0.498</td></tr><tr><td>DeepSequence (published)</td><td>0.514</td><td>0.499</td></tr><tr><td>DeepSequence (replicated)</td><td>0.520</td><td>0.506</td></tr><tr><td>MSA Transformer</td><td>0.542</td><td>0.524</td></tr><tr><td>ESM-1v (zero shot) ESM-1v (+further training)</td><td>0.509</td><td>0.482</td></tr></table>",
252
+ "bbox": [
253
+ 343,
254
+ 88,
255
+ 655,
256
+ 226
257
+ ],
258
+ "page_idx": 3
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "Table 1: Comparison of protein language models to state-of-the-art methods. Average |Spearman $\\rho |$ on full and test sets. DeepSequence and ESM-1v models are each ensembles of 5 models. MSA Transformer is a single model, but is ensembled across 5 random samples of the MSA. ",
263
+ "bbox": [
264
+ 173,
265
+ 236,
266
+ 825,
267
+ 279
268
+ ],
269
+ "page_idx": 3
270
+ },
271
+ {
272
+ "type": "text",
273
+ "text": "We score mutations using the log odds ratio at the mutated position, assuming an additive model when multiple mutations $T$ exist in the same sequence: ",
274
+ "bbox": [
275
+ 176,
276
+ 303,
277
+ 823,
278
+ 330
279
+ ],
280
+ "page_idx": 3
281
+ },
282
+ {
283
+ "type": "equation",
284
+ "img_path": "images/c0c7a776b2bea09152f1876e1742fe7059f6d26963e729955d09c8c4e7f53359.jpg",
285
+ "text": "$$\n\\sum _ { t \\in T } \\log p ( x _ { t } = x _ { t } ^ { m t } | x _ { \\backslash T } ) - \\log p ( x _ { t } = x _ { t } ^ { w t } | x _ { \\backslash T } )\n$$",
286
+ "text_format": "latex",
287
+ "bbox": [
288
+ 333,
289
+ 335,
290
+ 661,
291
+ 369
292
+ ],
293
+ "page_idx": 3
294
+ },
295
+ {
296
+ "type": "text",
297
+ "text": "Here the sum is over the mutated positions, and the sequence input to the model is masked at every mutated position. ",
298
+ "bbox": [
299
+ 176,
300
+ 372,
301
+ 825,
302
+ 400
303
+ ],
304
+ "page_idx": 3
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "3.1 Zero-shot and few-shot transfer ",
309
+ "text_level": 1,
310
+ "bbox": [
311
+ 174,
312
+ 416,
313
+ 434,
314
+ 431
315
+ ],
316
+ "page_idx": 3
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "In the zero-shot setting, inference is performed directly on the sequence to be evaluated. Since the MSA Transformer can take multiple sequences as input at inference time, we use this model in the few-shot setting, where additional sequences from the protein family are provided along with the sequence to be evaluated. In both the zero-shot and few-shot settings, only forward passes of the models are performed during inference; no gradient updates are taken. Fig. 2 illustrates the approach in comparison to the current practice of fitting a new model for each task. ",
321
+ "bbox": [
322
+ 174,
323
+ 441,
324
+ 825,
325
+ 525
326
+ ],
327
+ "page_idx": 3
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "3.2 Inference efficiency ",
332
+ "text_level": 1,
333
+ "bbox": [
334
+ 174,
335
+ 540,
336
+ 348,
337
+ 555
338
+ ],
339
+ "page_idx": 3
340
+ },
341
+ {
342
+ "type": "text",
343
+ "text": "Inference with ESM-1v is more efficient than current state-of-the-art methods. This is a result of two important differences: (i) the effect of mutations can be inferred directly without training a task-specific model; (ii) fitness landscapes can be predicted with a single forward pass. Time requirements are summarized in Fig. 7. ",
344
+ "bbox": [
345
+ 174,
346
+ 565,
347
+ 825,
348
+ 622
349
+ ],
350
+ "page_idx": 3
351
+ },
352
+ {
353
+ "type": "text",
354
+ "text": "3.3 Scoring with MSA Transformer ",
355
+ "text_level": 1,
356
+ "bbox": [
357
+ 176,
358
+ 637,
359
+ 433,
360
+ 652
361
+ ],
362
+ "page_idx": 3
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "We score mutations with MSA Transformer using the log odds ratio and additive model in Eq. (1). However, since MSA Transformer uses a set of sequences for inference, we input the sequence to be evaluated as the first sequence, and provide additional sequences from the MSA as context. Masking and scoring are performed on the first sequence only. ",
367
+ "bbox": [
368
+ 174,
369
+ 662,
370
+ 825,
371
+ 718
372
+ ],
373
+ "page_idx": 3
374
+ },
375
+ {
376
+ "type": "text",
377
+ "text": "4 Results ",
378
+ "text_level": 1,
379
+ "bbox": [
380
+ 174,
381
+ 737,
382
+ 266,
383
+ 753
384
+ ],
385
+ "page_idx": 3
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "4.1 Experimental setup ",
390
+ "text_level": 1,
391
+ "bbox": [
392
+ 174,
393
+ 768,
394
+ 349,
395
+ 784
396
+ ],
397
+ "page_idx": 3
398
+ },
399
+ {
400
+ "type": "text",
401
+ "text": "Prediction Models We compare to state-of-the-art unsupervised variant prediction methods, EVMutation [4] and DeepSequence [20]. We also examine performance of a variety of protein language models that have been recently introduced in the literature. ",
402
+ "bbox": [
403
+ 174,
404
+ 794,
405
+ 825,
406
+ 835
407
+ ],
408
+ "page_idx": 3
409
+ },
410
+ {
411
+ "type": "text",
412
+ "text": "The position specific scoring matrix (PSSM), EVmutation [4], and DeepSequence [20] methods are all MSA based. The PSSM treats each position in the sequence independently, factorizing the likelihood into one term per sequence position. EVmutation is a Potts model, which adds pairwise terms modeling the interactions between positions. DeepSequence introduces a latent code, allowing potential higher-order interactions between positions. ",
413
+ "bbox": [
414
+ 174,
415
+ 842,
416
+ 825,
417
+ 911
418
+ ],
419
+ "page_idx": 3
420
+ },
421
+ {
422
+ "type": "image",
423
+ "img_path": "images/43c45825cfe5cd5eb060a1a70bb3776601e4c547fd35142ac8a655968e6b084e.jpg",
424
+ "image_caption": [
425
+ "Figure 3: Per task performance. Comparison across 41 deep mutational scanning datasets. Points are |Spearman $\\rho |$ on each dataset, error bars show standard deviation of 20 bootstrapped samples. Validation proteins are shown to the left of the dividing line and test proteins to the right. In 17 out of the 41 tasks, ESM-1v zero-shot has a higher |Spearman $\\rho |$ than DeepSequence. "
426
+ ],
427
+ "image_footnote": [],
428
+ "bbox": [
429
+ 181,
430
+ 93,
431
+ 816,
432
+ 315
433
+ ],
434
+ "page_idx": 4
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "UniRep [21], TAPE [22], ProtBERT-BFD [14], ESM-1b [12], and ESM-1v (introduced here), are all single-sequence language models trained on large databases of unaligned and unrelated protein sequences (e.g. Pfam [23] or UniRef [24]). With the exception of UniRep, which is trained using next token prediction, all models are trained with masked language modeling [25]. ",
439
+ "bbox": [
440
+ 174,
441
+ 415,
442
+ 825,
443
+ 472
444
+ ],
445
+ "page_idx": 4
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "Finally, the MSA Transformer [13] is a combination of both approaches; it is trained on a large database of MSAs using masked language modeling and takes an MSA as input during inference. ",
450
+ "bbox": [
451
+ 171,
452
+ 477,
453
+ 823,
454
+ 506
455
+ ],
456
+ "page_idx": 4
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "ESM-1v We train ESM-1v, a 650M parameter transformer language model for prediction of variant effects, on 98 million diverse protein sequences across evolution. The model is trained only on sequences, without any supervision from experimental measurements of function. We use Uniref90 2020-03 [24], employing the ESM-1b architecture and masked language modeling approach of Rives et al. [12]. The model attains a perplexity of 7.29 on a set of held-out Uniref90 sequences (Table 10). We train five models with different seeds to produce an ensemble. ",
461
+ "bbox": [
462
+ 174,
463
+ 520,
464
+ 825,
465
+ 603
466
+ ],
467
+ "page_idx": 4
468
+ },
469
+ {
470
+ "type": "text",
471
+ "text": "Evaluation Models are evaluated on a set of 41 deep mutational scans collected by Riesselman et al. [20], which comprise a variety of tasks assessing a diverse set of proteins. Across tasks, the experiments differ in the functions tested and in the measurements performed. We treat each deep mutational scanning dataset as a separate prediction task, scoring each of the variants in the dataset with the model. The tasks are split into a validation set of ten mutational scanning datasets and a test set consisting of the remaining datasets. We evaluate performance by comparing the scores with the experimental measurements using Spearman rank correlation. ",
472
+ "bbox": [
473
+ 174,
474
+ 618,
475
+ 825,
476
+ 715
477
+ ],
478
+ "page_idx": 4
479
+ },
480
+ {
481
+ "type": "text",
482
+ "text": "Comparisons Since the published versions of EVMutation and DeepSequence use MSAs generated from an earlier version of Uniref100, we generate new MSAs using EVMutation methodology and the version of Uniref100 concurrent with our pretraining dataset. We train replications of EVMutation and DeepSequence using their open source code. The same MSAs are also used in few-shot experiments with MSA Transformer and unsupervised fine-tuning experiments with ESM-1v. ",
483
+ "bbox": [
484
+ 174,
485
+ 731,
486
+ 825,
487
+ 800
488
+ ],
489
+ "page_idx": 4
490
+ },
491
+ {
492
+ "type": "text",
493
+ "text": "4.2 Language models enable zero-shot and few-shot prediction of the effects of mutations ",
494
+ "text_level": 1,
495
+ "bbox": [
496
+ 171,
497
+ 815,
498
+ 803,
499
+ 830
500
+ ],
501
+ "page_idx": 4
502
+ },
503
+ {
504
+ "type": "text",
505
+ "text": "ESM-1v and MSA Transformer models make state-of-the-art predictions. Table 1 compares overall performance of the models across the 41 mutational scanning datasets. Fig. 3 presents a comparison between ESM-1v and DeepSequence on each of the tasks. Zero-shot inference with ESM-1v has a better correlation with experimental measurements than DeepSequence on 17 of the 41 datasets. The two methods are not statistically distinguishable via a paired $t$ -test. ",
506
+ "bbox": [
507
+ 176,
508
+ 842,
509
+ 823,
510
+ 911
511
+ ],
512
+ "page_idx": 4
513
+ },
514
+ {
515
+ "type": "table",
516
+ "img_path": "images/5457182653c2263c8f454555d6e60164a38fb0d2afde0a1c6ba2b1c8126edb94.jpg",
517
+ "table_caption": [],
518
+ "table_footnote": [],
519
+ "table_body": "<table><tr><td>Models</td><td>Full</td><td>Test</td></tr><tr><td>UniRep</td><td>0.156</td><td>0.151</td></tr><tr><td>TAPE</td><td>0.171</td><td>0.175</td></tr><tr><td>ProtBERT-BFD</td><td>0.428</td><td>0.399</td></tr><tr><td>ESM-1b</td><td>0.459</td><td>0.424</td></tr><tr><td>ESM-1vt</td><td>0.484</td><td>0.457</td></tr><tr><td>ESM-1v*</td><td>0.509</td><td>0.482</td></tr></table>",
520
+ "bbox": [
521
+ 379,
522
+ 88,
523
+ 617,
524
+ 202
525
+ ],
526
+ "page_idx": 5
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "Table 2: Zero-shot performance. Average |Spearman $\\rho |$ on full and test sets. †Average performance of five ESM-1v models. ?Ensemble of the five ESM-1v models. ",
531
+ "bbox": [
532
+ 171,
533
+ 214,
534
+ 823,
535
+ 242
536
+ ],
537
+ "page_idx": 5
538
+ },
539
+ {
540
+ "type": "text",
541
+ "text": "Table 2 compares protein language models in the zero-shot setting. ESM-1v outperforms existing protein language models TAPE [22], UniRep [21], ProtBERT-BFD [14], and ESM-1b [12]. Fig. 8 breaks down performance across each of the tasks. ",
542
+ "bbox": [
543
+ 174,
544
+ 272,
545
+ 825,
546
+ 314
547
+ ],
548
+ "page_idx": 5
549
+ },
550
+ {
551
+ "type": "text",
552
+ "text": "Pre-training data We examine the effect of the clustering level of pre-training data. Fig. 4 compares models pre-trained on datasets clustered at increasing sequence identity thresholds. ESM1b is trained on sequences clustered at a $50 \\%$ identity threshold. Improvements are seen using a $70 \\%$ threshold with greatest improvement at $90 \\%$ . Uniref100 performance appears to deteriorate early in training despite being the largest of the datasets. These results establish a link between model performance and the data distribution, highlighting the importance of training data in the design of protein language models. ",
553
+ "bbox": [
554
+ 173,
555
+ 332,
556
+ 825,
557
+ 429
558
+ ],
559
+ "page_idx": 5
560
+ },
561
+ {
562
+ "type": "text",
563
+ "text": "Scoring methods We compare four scoring methods on the validation set - masked marginals, wildtype marginals, mutant marginals, and psuedolikelihood. Table 5 shows that the masked marginal approach described in Eq. (1) outperforms other scoring methods, including ones in which the likelihood changes at non-mutated positions are considered. The scoring methods are described in detail in Appendix A. ",
564
+ "bbox": [
565
+ 174,
566
+ 446,
567
+ 825,
568
+ 517
569
+ ],
570
+ "page_idx": 5
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "Parameter count Previous work with protein language models has established a link between model scale and learning of protein structure [12, 26]. We examine zero-shot transfer performance as a function of parameter count. We train models using the same width, depth, and learning rate as described in Henighan et al. [27], observing improvements with scale (Fig. 9). These findings suggest that continued scaling of the models will further improve results. ",
575
+ "bbox": [
576
+ 174,
577
+ 535,
578
+ 825,
579
+ 604
580
+ ],
581
+ "page_idx": 5
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "4.3 MSA Transformer ",
586
+ "text_level": 1,
587
+ "bbox": [
588
+ 174,
589
+ 623,
590
+ 341,
591
+ 638
592
+ ],
593
+ "page_idx": 5
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "We examine how the sequences provided to MSA Transformer affect few-shot transfer. Table 8 compares sequence selection methods that vary the diversity of the sequences. Providing a more diverse set of sequences improves few-shot performance. Selecting a set of sequences to maximize diversity outperforms selecting a diversity minimizing set of sequences. Random sampling performs even better, and sampling sequences according to sequence weights [28] performs best. ",
598
+ "bbox": [
599
+ 174,
600
+ 650,
601
+ 823,
602
+ 719
603
+ ],
604
+ "page_idx": 5
605
+ },
606
+ {
607
+ "type": "text",
608
+ "text": "We also vary the number of sequences used for inference. Fig. 11 shows few-shot performance as a function of the number of sequences given as input. The model performs well using only a few sequences, but performs best with 384 total sequences. In the main tables we report results sampling 384 sequences using sequence reweighting and ensembling predictions over five different subsamples from the MSA. ",
609
+ "bbox": [
610
+ 174,
611
+ 726,
612
+ 825,
613
+ 795
614
+ ],
615
+ "page_idx": 5
616
+ },
617
+ {
618
+ "type": "text",
619
+ "text": "4.4 Unsupervised fine-tuning on MSAs ",
620
+ "text_level": 1,
621
+ "bbox": [
622
+ 176,
623
+ 815,
624
+ 455,
625
+ 830
626
+ ],
627
+ "page_idx": 5
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "While ESM-1v performs well when evaluated in the zero-shot setting, we explore whether results can be improved by fine-tuning on the MSA. Fine-tuning on MSAs has been used in previous work [21, 16] as a stage in transfer learning to specialize a pre-trained model to a protein family, before applying supervision with labeled data. Here we consider using the fine-tuned model to make unsupervised predictions directly, without adding supervision from experimental data. ",
632
+ "bbox": [
633
+ 174,
634
+ 842,
635
+ 825,
636
+ 911
637
+ ],
638
+ "page_idx": 5
639
+ },
640
+ {
641
+ "type": "image",
642
+ "img_path": "images/8091e2784327233652acd1ed4fe80d706fc49d6d0f362f8f9713999d7747cccc.jpg",
643
+ "image_caption": [
644
+ "Figure 4: Comparison of pre-training datasets. Average |Spearman $\\rho |$ on the single-mutation validation set. While a $50 \\%$ clustering threshold was used for ESM-1b, training with $90 \\%$ clustering results in a significant improvement on variant prediction tasks. Notably, models trained on Uniref100, the largest dataset in this figure, appear to deteriorate early in training. These results establish a link between model performance and the data distribution, and highlight the importance of training data in the design of protein language models. "
645
+ ],
646
+ "image_footnote": [],
647
+ "bbox": [
648
+ 387,
649
+ 93,
650
+ 609,
651
+ 319
652
+ ],
653
+ "page_idx": 6
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "We observe that naively fine-tuning the model on the MSA results in rapid overfitting and poor performance on the prediction tasks (Fig. 12). While we experiment with a variety of approaches to freezing parameters during fine-tuning, detailed in Appendix B, none produce significant improvements. We find that an approach using pre-training sequences to regularize the fine-tuning performs well and enables training of all parameters without overfitting (Fig. 13). Spiked fine-tuning improves average absolute Spearman rho on the full dataset from 0.510 for zero-shot evaluation to 0.537 with fine-tuning. ",
658
+ "bbox": [
659
+ 174,
660
+ 453,
661
+ 825,
662
+ 551
663
+ ],
664
+ "page_idx": 6
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "5 Analysis of models ",
669
+ "text_level": 1,
670
+ "bbox": [
671
+ 174,
672
+ 578,
673
+ 361,
674
+ 595
675
+ ],
676
+ "page_idx": 6
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "Protein structure and function ESM-1v probabilities reflect the functional properties of sites within the protein. We use the entropy of the model’s predictions for a position as a measure of its estimation of conservation. The lowest entropy predictions cluster at binding sites. Fig. 14 compares the distribution of the model’s entropy between binding sites and non-binding sites. A significant difference is observed between the entropy assignment to binding and non-binding site residues. Fig. 5 visualizes the side chains of the 10 lowest entropy residues as predicted by the model on the crystal structure of DNA methyltransferase M.HaeIII interacting with its DNA substrate. In the crystal structure a cytosine of the substrate is inserted into the active site of the enzyme. The low entropy residues cluster in the active site and interact with the cytosine. Additional examples are visualized in Fig. 18. ",
681
+ "bbox": [
682
+ 173,
683
+ 614,
684
+ 825,
685
+ 752
686
+ ],
687
+ "page_idx": 6
688
+ },
689
+ {
690
+ "type": "text",
691
+ "text": "The model probabilities also correspond to structure. Fig. 15 compares the entropy assigned to sites that are buried in the core of the protein vs. exposed on the surface. The model assigns significantly lower entropy to sites that are in the core of the protein, consistent with the idea that tight packing in the core places greater constraints on the selection of residues. Fig. 5B visualizes the entropy assigned by the model to each position overlayed on the structure of Indole-3-glycerolphosphate Synthase, a TIM barrel protein. Higher entropy is assigned to residues having outward facing side chains on the alpha helices, while lower entropy is assigned to the inward facing positions. Fig. 17 compares the probability assigned to hydrophobic, polar, and charged amino acids for buried sites vs. non-buried sites. The model prefers hydrophobic residues in the core and hydrophilic residues on the surface. The model probabilities closely match the empirical probabilities and those from the PSSM. Fig. 5C visualizes probability assigned to hydrophobic amino acids on the structure of ",
692
+ "bbox": [
693
+ 174,
694
+ 758,
695
+ 825,
696
+ 911
697
+ ],
698
+ "page_idx": 6
699
+ },
700
+ {
701
+ "type": "image",
702
+ "img_path": "images/2ea85c03a08acec02f38e3c0f7439ab7a8794f0fc9dd070ba947f7ef79ed915f.jpg",
703
+ "image_caption": [
704
+ "Figure 5: ESM-1v reflects the molecular basis of function in proteins. (A) DNA methylase HaeIII (pdbid: 1DCT [29]). Side chains for the top 10 positions with lowest prediction entropy shown in blue. Low-entropy positions cluster in the active site. (B) TIM Barrel (pdbid: 1IGS [30]) with residues colored by entropy. The model’s predictions for residues on the surface have highest entropy (red) while those in the core have lower entropy (blue). Notably, residues on the alpha helices show a clear gradient from high to low entropy as residues transition from surface-facing to core-facing. (C) Sucrose-specific Porin (pdbid: 1A0T [31]), a transmembrane protein. The model predicts a hydrophobic band where the protein is embedded in the membrane. "
705
+ ],
706
+ "image_footnote": [],
707
+ "bbox": [
708
+ 196,
709
+ 106,
710
+ 807,
711
+ 381
712
+ ],
713
+ "page_idx": 7
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "Sucrose-specific Porin, a transmembrane protein. The model predicts a hydrophobic band in the center where the protein embeds in the membrane. ",
718
+ "bbox": [
719
+ 176,
720
+ 541,
721
+ 823,
722
+ 570
723
+ ],
724
+ "page_idx": 7
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "Calibration We evaluate model calibration using 15008 sequences with length $< 1 0 2 4$ from the trRosetta [32] dataset. ESM-1v probabilities for each amino acid at each position are calculated with the masked marginal probability in Eq. (1). Fig. 6 shows that the model is generally well calibrated for all amino acids except Methionine. ESM-1v always predicts Methionine as the first position in the sequence since full protein sequences always start with it, so care must be used when applying the model to subsequences. When excepting the first residue, the model achieves an average calibration error (defined for the multi-class setting in Appendix D.4) of 0.006. ",
729
+ "bbox": [
730
+ 174,
731
+ 587,
732
+ 825,
733
+ 685
734
+ ],
735
+ "page_idx": 7
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "We also explore the relationship between conservation (entropy of the PSSM) and the model’s predicted entropy. Fig. 16 shows that these are well correlated (Pearson’s $r = 0 . 4 4$ ), suggesting the model is able to identify conserved positions. ",
740
+ "bbox": [
741
+ 176,
742
+ 690,
743
+ 823,
744
+ 733
745
+ ],
746
+ "page_idx": 7
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "6 Related Work ",
751
+ "text_level": 1,
752
+ "bbox": [
753
+ 174,
754
+ 755,
755
+ 321,
756
+ 772
757
+ ],
758
+ "page_idx": 7
759
+ },
760
+ {
761
+ "type": "text",
762
+ "text": "6.1 Protein language models ",
763
+ "text_level": 1,
764
+ "bbox": [
765
+ 174,
766
+ 787,
767
+ 383,
768
+ 803
769
+ ],
770
+ "page_idx": 7
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "In the past few years, a number of groups have developed language models for protein sequences [21, 33, 14, 34, 35, 22, 13, 12]. These models have been used for many tasks, including supervised low-N function prediction [16, 12], remote homology detection [22, 12], and protein generation [35]. The approach to the tasks typically involves transfer learning, where a pretrained language model is fine-tuned for a particular problem. Vig et al. [36] and Rao et al. [26] found that transformer attention corresponds to known biological properties such as structure and binding sites and can be used to predict contacts. ",
775
+ "bbox": [
776
+ 174,
777
+ 814,
778
+ 825,
779
+ 911
780
+ ],
781
+ "page_idx": 7
782
+ },
783
+ {
784
+ "type": "image",
785
+ "img_path": "images/22719229610aa8a6b0b3b3a8d8d5b6b256a8c4636893a0c752af2b26b6e02432.jpg",
786
+ "image_caption": [
787
+ "Figure 6: Calibration plot for ESM-1v predictions on each of the 20 naturally occurring amino acids on the trRosetta dataset. The multi-class classification is converted into a set of 20 oneversus-all classifications for the purpose of this analysis. Left and right plots show calibration of all positions and positions excluding the first residue, respectively. Since full sequences always start with Methionine, the model overwhelmingly predicts it in the first position. When evaluating the model on subsequences, such as those in the trRosetta dataset, this causes a miscalibration at the first residue. Including the first residue, the model has an average calibration error (ACE) of 0.011 in the first case and 0.006 in the second. "
788
+ ],
789
+ "image_footnote": [],
790
+ "bbox": [
791
+ 243,
792
+ 97,
793
+ 754,
794
+ 320
795
+ ],
796
+ "page_idx": 8
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "6.2 Mutation effect prediction ",
801
+ "text_level": 1,
802
+ "bbox": [
803
+ 174,
804
+ 477,
805
+ 395,
806
+ 491
807
+ ],
808
+ "page_idx": 8
809
+ },
810
+ {
811
+ "type": "text",
812
+ "text": "Supervised and unsupervised methods have been developed for prediction of mutational effects. Supervised methods train models using experimental measurements or labels from databases of clinical variants. Standard machine learning tools including linear regression, random forests, and support-vector machines can be used [37]. Models have been designed specifically for proteins, using feature engineering such as Envision [38] and PolyPhen-2 [39], ensemble methods such as Revel [40], MPC [41], CADD [42], and M-CAP [43], language models such as UniRep [21, 16] and ESM [12], and other representation learning approaches [44, 45]. ",
813
+ "bbox": [
814
+ 174,
815
+ 501,
816
+ 825,
817
+ 599
818
+ ],
819
+ "page_idx": 8
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "Unsupervised mutation effect predictors work by inferring the likelihood of a mutation from the evolutionary landscape of the original protein. A density model fit to related sequences is used for scoring. SIFT [46] is a first order approach using a position-specific-scoring-matrix. EVMutation [4] extends this to a second-order approach by training a Potts model on the MSA. DeepSequence [20] includes higher-order interactions by training a VAE on the MSA instead, using the ELBO to score mutations. Riesselman et al. [47] proposes using an autoregressive model that does not require the sequences to be aligned. Laine et al. [48] uses an evolutionary tree structure inferred from the MSA to compare mutations. ",
824
+ "bbox": [
825
+ 174,
826
+ 604,
827
+ 825,
828
+ 715
829
+ ],
830
+ "page_idx": 8
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "Hsu et al. [15] show that unsupervised mutational effect predictors can be extended to perform supervised predictions, with better unsupervised predictors generally resulting in better supervised predictors. This suggests improving unsupervised prediction can drive progress in both settings. Concurrent with our work, Hie et al. [49] use open-source protein language models ESM-1b and TAPE to predict the direction of evolution in protein fitness landscapes. ",
835
+ "bbox": [
836
+ 174,
837
+ 722,
838
+ 825,
839
+ 791
840
+ ],
841
+ "page_idx": 8
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "7 Discussion ",
846
+ "text_level": 1,
847
+ "bbox": [
848
+ 174,
849
+ 810,
850
+ 292,
851
+ 827
852
+ ],
853
+ "page_idx": 8
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "Advances in language modeling at scale are bringing the goal of a general purpose model for proteins closer to realization. This line of work aspires to a model that learns to read and write biology in its native language, that can be directly applied across a range of protein understanding and design tasks. For scalability, learning from sequences is important: while there are no central databases of high-throughput functional measurements, and few compilations exist, billions of sequences are available to learn from in sequence databases [50, 51]. Sequences give an unparalleled view into the vast diversity and complexity of molecular parts invented by nature through billions of years of evolution. ",
858
+ "bbox": [
859
+ 174,
860
+ 842,
861
+ 823,
862
+ 911
863
+ ],
864
+ "page_idx": 8
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "",
869
+ "bbox": [
870
+ 174,
871
+ 92,
872
+ 823,
873
+ 132
874
+ ],
875
+ "page_idx": 9
876
+ },
877
+ {
878
+ "type": "text",
879
+ "text": "Unsupervised structure [52–54, 28, 55, 56] and function [3, 4] learning methods first effectively realized the idea that biological properties could be read directly from sequences without supervision from experimental measurements. However these methods are not general purpose in the sense that a specialized model must be trained for every protein for which a prediction is to be made. We show that the same performance can be realized by a general purpose model that has been trained across many diverse protein families. Similar to observations on the learning of tertiary protein structure in large language models [12, 26], we find that increasing the scale of models leads to improvements in function learning. The understanding of mutational landscapes in the models correlates with the molecular basis of function in proteins, capturing binding sites and amino acid preferences that are determined by the folded structure. ",
880
+ "bbox": [
881
+ 174,
882
+ 138,
883
+ 825,
884
+ 277
885
+ ],
886
+ "page_idx": 9
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "Zero-shot transfer is an interesting capability of large scale language models, and represents a major point of departure from the unsupervised learning methods that are the basis for current state-of-theart inference of protein structure and function. The capability for zero-shot transfer implies that a model can be trained once and then applied to perform inference for many tasks. It is also a window into deeper questions about the forms of generalization that are possible in learning from sequences. Reading structural and functional design principles from sequences is a necessary capability for writing new biologically active sequences. Generalization in the zero-shot setting suggests the potential for large language models to capture knowledge that can be transferred to generating new functional proteins. ",
891
+ "bbox": [
892
+ 174,
893
+ 284,
894
+ 826,
895
+ 409
896
+ ],
897
+ "page_idx": 9
898
+ },
899
+ {
900
+ "type": "text",
901
+ "text": "Acknowledgments and Disclosure of Funding ",
902
+ "text_level": 1,
903
+ "bbox": [
904
+ 174,
905
+ 428,
906
+ 553,
907
+ 445
908
+ ],
909
+ "page_idx": 9
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "We thank Naman Goyal, Chloe Hsu, Zeming Lin, Ishan Misra, Myle Ott, Sergey Ovchinnikov, and Ethan Perez for valuable input on the paper. Roshan Rao was supported by funding from Facebook, Berkeley Deep Drive, and DARPA XAI. ",
914
+ "bbox": [
915
+ 174,
916
+ 459,
917
+ 825,
918
+ 501
919
+ ],
920
+ "page_idx": 9
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "References \n[1] Charles J Epstein, Robert F Goldberger, and Christian B Anfinsen. The genetic control of tertiary protein structure: studies with model systems. In Cold Spring Harbor symposia on quantitative biology, volume 28, pages 439–449. Cold Spring Harbor Laboratory Press, 1963. \n[2] Douglas M Fowler and Stanley Fields. Deep mutational scanning: a new style of protein science. Nature methods, 11(8):801, 2014. \n[3] Matteo Figliuzzi, Hervé Jacquier, Alexander Schug, Oliver Tenaillon, and Martin Weigt. Coevolutionary landscape inference and the context-dependence of mutations in beta-lactamase tem-1. Molecular biology and evolution, 33(1):268–280, 2016. \n[4] Thomas A. Hopf, John B. Ingraham, Frank J. Poelwijk, Charlotta P.I. Schärfe, Michael Springer, Chris Sander, and Debora S. Marks. Mutation effects predicted from sequence co-variation. Nature Biotechnology, 35(2):128–135, feb 2017. ISSN 15461696. doi: 10.1038/nbt.3769. \n[5] C Yanofsky, V Horn, and D Thorpe. Protein Structure Relationships Revealed By Mutational Analysis. Science (New York, N.Y.), 146(3651):1593–4, 12 1964. ISSN 0036-8075. URL http://www.ncbi.nlm.nih.gov/pubmed/14224506. \n[6] D. Altschuh, A.M. Lesk, A.C. Bloomer, and A. Klug. Correlation of co-ordinated amino acid substitutions with function in viruses related to tobacco mosaic virus. Journal of Molecular Biology, 193(4):693–707, 1987. ISSN 0022-2836. doi: 10.1016/0022-2836(87)90352-4. \n[7] D Altschuh, T Vernet, P Berti, D Moras, and K Nagai. Coordinated amino acid changes in homologous protein families. Protein Engineering, Design and Selection, 2(3):193–199, 1988. \n[8] Ulrike Göbel, Chris Sander, Reinhard Schneider, and Alfonso Valencia. Correlated mutations and residue contacts in proteins. Proteins: Structure, Function, and Genetics, 18(4):309–317, 4 1994. ISSN 0887-3585. doi: 10.1002/prot.340180402. URL http://www.ncbi.nlm.nih. gov/pubmed/8208723http://doi.wiley.com/10.1002/prot.340180402. \n[9] Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019. \n[10] 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. CoRR, abs/2005.14165, 2020. URL https://arxiv.org/abs/2005.14165. \n[11] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision, 2021. \n[12] Alexander Rives, Joshua Meier, Tom Sercu, Siddharth Goyal, Zeming Lin, Jason Liu, Demi Guo, Myle Ott, C. Lawrence Zitnick, Jerry Ma, and Rob Fergus. Biological Structure and Function Emerge from Scaling Unsupervised Learning to 250 Million Protein Sequences. bioRxiv, page 622803, 4 2020. doi: 10.1101/622803. URL https://www.biorxiv.org/content/10. 1101/622803v3. \n[13] Roshan Rao, Jason Liu, Robert Verkuil, Joshua Meier, John F. Canny, Pieter Abbeel, Tom Sercu, and Alexander Rives. MSA Transformer. bioRxiv, page 2021.02.12.430858, feb 2021. doi: 10.1101/2021.02.12.430858. \n[14] Ahmed Elnaggar, Michael Heinzinger, Christian Dallago, Ghalia Rihawi, Yu Wang, Llion Jones, Tom Gibbs, Tamas Feher, Christoph Angerer, Martin Steinegger, Debsindhu Bhowmik, and Burkhard Rost. ProtTrans: Towards Cracking the Language of Life’s Code Through Self-Supervised Deep Learning and High Performance Computing. bioRxiv, 7 2020. URL http://arxiv.org/abs/2007.06225. ",
925
+ "bbox": [
926
+ 173,
927
+ 71,
928
+ 828,
929
+ 921
930
+ ],
931
+ "page_idx": 10
932
+ },
933
+ {
934
+ "type": "text",
935
+ "text": "[15] Chloe Hsu, Hunter Nisonoff, Clara Fannjiang, and Jennifer Listgarten. Combining evolutionary and assay-labelled data for protein fitness prediction. bioRxiv, page 2021.03.28.437402, mar 2021. doi: 10.1101/2021.03.28.437402. ",
936
+ "bbox": [
937
+ 171,
938
+ 90,
939
+ 823,
940
+ 133
941
+ ],
942
+ "page_idx": 11
943
+ },
944
+ {
945
+ "type": "text",
946
+ "text": "[16] Surojit Biswas, Grigory Khimulya, Ethan C Alley, Kevin M Esvelt, and George M Church. Low-N protein engineering with data-efficient deep learning. bioRxiv, page 2020.01.23.917682, 2020. doi: 10.1101/2020.01.23.917682. ",
947
+ "bbox": [
948
+ 171,
949
+ 141,
950
+ 825,
951
+ 184
952
+ ],
953
+ "page_idx": 11
954
+ },
955
+ {
956
+ "type": "text",
957
+ "text": "[17] Christoph H Lampert, Hannes Nickisch, and Stefan Harmeling. Learning to detect unseen object classes by between-class attribute transfer. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 951–958. IEEE, 2009. ",
958
+ "bbox": [
959
+ 171,
960
+ 191,
961
+ 823,
962
+ 234
963
+ ],
964
+ "page_idx": 11
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "[18] Hugo Larochelle, Dumitru Erhan, and Yoshua Bengio. Zero-data learning of new tasks. In AAAI, volume 1, page 3, 2008. ",
969
+ "bbox": [
970
+ 171,
971
+ 242,
972
+ 825,
973
+ 271
974
+ ],
975
+ "page_idx": 11
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "[19] Ramesh A, Pavlov M, Goh G, Gray S, Voss C, Radford A, Chen M, and Sutskever I. Zero-shot text-to-image generation. ",
980
+ "bbox": [
981
+ 171,
982
+ 277,
983
+ 825,
984
+ 308
985
+ ],
986
+ "page_idx": 11
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "[20] Adam J. Riesselman, John B. Ingraham, and Debora S. Marks. Deep generative models of genetic variation capture the effects of mutations. Nature Methods, 15(10):816–822, 10 2018. ISSN 15487105. doi: 10.1038/s41592-018-0138-4. ",
991
+ "bbox": [
992
+ 173,
993
+ 315,
994
+ 825,
995
+ 358
996
+ ],
997
+ "page_idx": 11
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "[21] Ethan C. Alley, Grigory Khimulya, Surojit Biswas, Mohammed AlQuraishi, and George M. Church. Unified rational protein engineering with sequence-only deep representation learning. Nature Methods, 12:1315–1322, 3 2019. ISSN 15487105. doi: 10.1101/589333. URL https://www.biorxiv.org/content/10.1101/589333v1. ",
1002
+ "bbox": [
1003
+ 174,
1004
+ 364,
1005
+ 826,
1006
+ 421
1007
+ ],
1008
+ "page_idx": 11
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "[22] Roshan Rao, Nicholas Bhattacharya, Neil Thomas, Yan Duan, Xi Chen, John Canny, Pieter Abbeel, and Yun S. Song. Evaluating Protein Transfer Learning with TAPE. In Neural Information Processing Systems. Cold Spring Harbor Laboratory, 6 2019. doi: 10.1101/676825. URL https://doi.org/10.1101/676825http://arxiv.org/abs/1906.08230. ",
1013
+ "bbox": [
1014
+ 174,
1015
+ 429,
1016
+ 825,
1017
+ 486
1018
+ ],
1019
+ "page_idx": 11
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "[23] Robert D. Finn, Alex Bateman, Jody Clements, Penelope Coggill, Ruth Y. Eberhardt, Sean R. Eddy, Andreas Heger, Kirstie Hetherington, Liisa Holm, Jaina Mistry, Erik L.L. Sonnhammer, John Tate, and Marco Punta. Pfam: The protein families database, 1 2014. ISSN 03051048. URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3965110/. ",
1024
+ "bbox": [
1025
+ 174,
1026
+ 493,
1027
+ 826,
1028
+ 549
1029
+ ],
1030
+ "page_idx": 11
1031
+ },
1032
+ {
1033
+ "type": "text",
1034
+ "text": "[24] Baris E. Suzek, Hongzhan Huang, Peter McGarvey, Raja Mazumder, and Cathy H. Wu. UniRef: Comprehensive and non-redundant UniProt reference clusters. Bioinformatics, 23(10):1282– 1288, 5 2007. ISSN 13674803. doi: 10.1093/bioinformatics/btm098. URL http://www. uniprot.org. ",
1035
+ "bbox": [
1036
+ 174,
1037
+ 558,
1038
+ 826,
1039
+ 614
1040
+ ],
1041
+ "page_idx": 11
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "[25] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171– 4186, Minneapolis, Minnesota, 6 2019. Association for Computational Linguistics. doi: 10. 18653/v1/N19-1423. URL http://arxiv.org/abs/1810.04805. ",
1046
+ "bbox": [
1047
+ 173,
1048
+ 621,
1049
+ 828,
1050
+ 705
1051
+ ],
1052
+ "page_idx": 11
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "[26] Roshan Rao, Joshua Meier, Tom Sercu, Sergey Ovchinnikov, and Alexander Rives. Transformer protein language models are unsupervised structure learners. ICLR, page 2020.12.15.422761, 12 2021. doi: 10.1101/2020.12.15.422761. ",
1057
+ "bbox": [
1058
+ 171,
1059
+ 713,
1060
+ 825,
1061
+ 756
1062
+ ],
1063
+ "page_idx": 11
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "[27] Tom Henighan, Jared Kaplan, Mor Katz, Mark Chen, Christopher Hesse, Jacob Jackson, Heewoo Jun, Tom B. Brown, Prafulla Dhariwal, Scott Gray, Chris Hallacy, Benjamin Mann, Alec Radford, Aditya Ramesh, Nick Ryder, Daniel M. Ziegler, John Schulman, Dario Amodei, and Sam McCandlish. Scaling laws for autoregressive generative modeling. CoRR, abs/2010.14701, 2020. URL https://arxiv.org/abs/2010.14701. ",
1068
+ "bbox": [
1069
+ 174,
1070
+ 763,
1071
+ 826,
1072
+ 833
1073
+ ],
1074
+ "page_idx": 11
1075
+ },
1076
+ {
1077
+ "type": "text",
1078
+ "text": "[28] Faruck Morcos, Andrea Pagnani, Bryan Lunt, Arianna Bertolino, Debora S. Marks, Chris Sander, Riccardo Zecchina, José N. Onuchic, Terence Hwa, and Martin Weigt. Direct-coupling analysis of residue coevolution captures native contacts across many protein families. Proceedings of the National Academy of Sciences of the United States of America, 108(49):E1293–E1301, 12 2011. ISSN 00278424. doi: 10.1073/pnas.1111471108. ",
1079
+ "bbox": [
1080
+ 174,
1081
+ 842,
1082
+ 826,
1083
+ 911
1084
+ ],
1085
+ "page_idx": 11
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": "[29] KM Reinish, L Chen, GL Verdine, and WN Lipscomb. The crystal structure of haeiii methyltransferase covalently complexed to dna: an extrahelical cytosine and rearranged base pairing. Cell, 82(1):143–153, 1995. ",
1090
+ "bbox": [
1091
+ 171,
1092
+ 90,
1093
+ 823,
1094
+ 133
1095
+ ],
1096
+ "page_idx": 12
1097
+ },
1098
+ {
1099
+ "type": "text",
1100
+ "text": "[30] Michael Hennig, Beatrice Darimont, Reinhard Sterner, Kasper Kirschner, and Johan N Jansonius. $2 . 0 \\textup { \\AA }$ structure of indole-3-glycerol phosphate synthase from the hyperthermophile sulfolobus solfataricus: possible determinants of protein stability. Structure, 3(12):1295–1306, 1995. ",
1101
+ "bbox": [
1102
+ 171,
1103
+ 142,
1104
+ 823,
1105
+ 185
1106
+ ],
1107
+ "page_idx": 12
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "text": "[31] Doris Forst, Wolfram Welte, Thomas Wacker, and Kay Diederichs. Structure of the sucrosespecific porin scry from salmonella typhimurium and its complex with sucrose. Nature structural biology, 5(1):37–46, 1998. ",
1112
+ "bbox": [
1113
+ 173,
1114
+ 194,
1115
+ 825,
1116
+ 236
1117
+ ],
1118
+ "page_idx": 12
1119
+ },
1120
+ {
1121
+ "type": "text",
1122
+ "text": "[32] Jianyi Yang, Ivan Anishchenko, Hahnbeom Park, Zhenling Peng, Sergey Ovchinnikov, David Baker, and John Harvard. Improved protein structure prediction using predicted inter-residue orientations. bioRxiv, page 846279, 2019. doi: 10.1101/846279. URL https://www.biorxiv. org/content/10.1101/846279v1. ",
1123
+ "bbox": [
1124
+ 173,
1125
+ 246,
1126
+ 826,
1127
+ 301
1128
+ ],
1129
+ "page_idx": 12
1130
+ },
1131
+ {
1132
+ "type": "text",
1133
+ "text": "[33] Tristan Bepler and Bonnie Berger. Learning protein sequence embeddings using information from structure, 2 2019. URL http://arxiv.org/abs/1902.08661https://arxiv.org/ abs/1902.08661. ",
1134
+ "bbox": [
1135
+ 173,
1136
+ 310,
1137
+ 825,
1138
+ 353
1139
+ ],
1140
+ "page_idx": 12
1141
+ },
1142
+ {
1143
+ "type": "text",
1144
+ "text": "[34] Amy X Lu, Haoran Zhang, Marzyeh Ghassemi, and Alan Moses. Self-Supervised Contrastive Learning of Protein Representations By Mutual Information Maximization. bioRxiv, page 2020.09.04.283929, 9 2020. doi: 10.1101/2020.09.04.283929. URL https://doi.org/10. 1101/2020.09.04.283929. ",
1145
+ "bbox": [
1146
+ 173,
1147
+ 362,
1148
+ 826,
1149
+ 419
1150
+ ],
1151
+ "page_idx": 12
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "text": "[35] Ali Madani, Bryan McCann, Nikhil Naik, Nitish Shirish Keskar, Namrata Anand, Raphael R. Eguchi, Po-Ssu Huang, and Richard Socher. ProGen: Language Modeling for Protein Generation. bioRxiv, 3 2020. URL http://arxiv.org/abs/2004.03497. ",
1156
+ "bbox": [
1157
+ 173,
1158
+ 428,
1159
+ 825,
1160
+ 472
1161
+ ],
1162
+ "page_idx": 12
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "[36] Jesse Vig, Ali Madani, Lav R. Varshney, Caiming Xiong, Richard Socher, and Nazneen Fatema Rajani. BERTology Meets Biology: Interpreting Attention in Protein Language Models. bioRxiv, page 2020.06.26.174417, 6 2020. doi: 10.1101/2020.06.26.174417. URL http: //arxiv.org/abs/2006.15222. ",
1167
+ "bbox": [
1168
+ 174,
1169
+ 479,
1170
+ 826,
1171
+ 536
1172
+ ],
1173
+ "page_idx": 12
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "[37] Kevin K. Yang, Zachary Wu, and Frances H. Arnold. Machine-learning-guided directed evolution for protein engineering, aug 2019. ISSN 15487105. ",
1178
+ "bbox": [
1179
+ 171,
1180
+ 545,
1181
+ 821,
1182
+ 575
1183
+ ],
1184
+ "page_idx": 12
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "[38] Vanessa E. Gray, Ronald J. Hause, Jens Luebeck, Jay Shendure, and Douglas M. Fowler. Quantitative Missense Variant Effect Prediction Using Large-Scale Mutagenesis Data. Cell Systems, 6(1):116–124.e3, jan 2018. ISSN 24054720. doi: 10.1016/j.cels.2017.11.003. ",
1189
+ "bbox": [
1190
+ 173,
1191
+ 583,
1192
+ 823,
1193
+ 626
1194
+ ],
1195
+ "page_idx": 12
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "[39] Ivan A. Adzhubei, Steffen Schmidt, Leonid Peshkin, Vasily E. Ramensky, Anna Gerasimova, Peer Bork, Alexey S. Kondrashov, and Shamil R. Sunyaev. A method and server for predicting damaging missense mutations, apr 2010. ISSN 15487091. ",
1200
+ "bbox": [
1201
+ 173,
1202
+ 635,
1203
+ 823,
1204
+ 678
1205
+ ],
1206
+ "page_idx": 12
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "[40] Nilah M Ioannidis, Joseph H Rothstein, Vikas Pejaver, Sumit Middha, Shannon K McDonnell, Saurabh Baheti, Anthony Musolf, Qing Li, Emily Holzinger, Danielle Karyadi, et al. Revel: an ensemble method for predicting the pathogenicity of rare missense variants. The American Journal of Human Genetics, 99(4):877–885, 2016. ",
1211
+ "bbox": [
1212
+ 173,
1213
+ 686,
1214
+ 828,
1215
+ 743
1216
+ ],
1217
+ "page_idx": 12
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "[41] Kaitlin E Samocha, Jack A Kosmicki, Konrad J Karczewski, Anne H O’Donnell-Luria, Emma Pierce-Hoffman, Daniel G MacArthur, Benjamin M Neale, and Mark J Daly. Regional missense constraint improves variant deleteriousness prediction. BioRxiv, page 148353, 2017. ",
1222
+ "bbox": [
1223
+ 171,
1224
+ 752,
1225
+ 823,
1226
+ 795
1227
+ ],
1228
+ "page_idx": 12
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "[42] Martin Kircher, Daniela M Witten, Preti Jain, Brian J O’Roak, Gregory M Cooper, and Jay Shendure. A general framework for estimating the relative pathogenicity of human genetic variants. Nature genetics, 46(3):310–315, 2014. ",
1233
+ "bbox": [
1234
+ 173,
1235
+ 803,
1236
+ 823,
1237
+ 847
1238
+ ],
1239
+ "page_idx": 12
1240
+ },
1241
+ {
1242
+ "type": "text",
1243
+ "text": "[43] Karthik A Jagadeesh, Aaron M Wenger, Mark J Berger, Harendra Guturu, Peter D Stenson, David N Cooper, Jonathan A Bernstein, and Gill Bejerano. M-cap eliminates a majority of variants of uncertain significance in clinical exomes at high sensitivity. Nature genetics, 48(12): 1581, 2016. ",
1244
+ "bbox": [
1245
+ 174,
1246
+ 856,
1247
+ 826,
1248
+ 911
1249
+ ],
1250
+ "page_idx": 12
1251
+ },
1252
+ {
1253
+ "type": "text",
1254
+ "text": "[44] Laksshman Sundaram, Hong Gao, Samskruthi Reddy Padigepati, Jeremy F McRae, Yanjun Li, Jack A Kosmicki, Nondas Fritzilas, Jörg Hakenberg, Anindita Dutta, John Shon, et al. Predicting the clinical impact of human mutation with deep neural networks. Nature genetics, 50(8):1161–1170, 2018. ",
1255
+ "bbox": [
1256
+ 173,
1257
+ 90,
1258
+ 828,
1259
+ 147
1260
+ ],
1261
+ "page_idx": 13
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "text": "[45] Haicang Zhang, Michelle S Xu, Wendy K Chung, and Yufeng Shen. Predicting functional effect of missense variants using graph attention neural networks. bioRxiv, 2021. ",
1266
+ "bbox": [
1267
+ 169,
1268
+ 155,
1269
+ 825,
1270
+ 184
1271
+ ],
1272
+ "page_idx": 13
1273
+ },
1274
+ {
1275
+ "type": "text",
1276
+ "text": "[46] Ngak Leng Sim, Prateek Kumar, Jing Hu, Steven Henikoff, Georg Schneider, and Pauline C. Ng. SIFT web server: Predicting effects of amino acid substitutions on proteins. Nucleic Acids Research, 40(W1):W452, jul 2012. ISSN 03051048. doi: 10.1093/nar/gks539. ",
1277
+ "bbox": [
1278
+ 171,
1279
+ 193,
1280
+ 823,
1281
+ 234
1282
+ ],
1283
+ "page_idx": 13
1284
+ },
1285
+ {
1286
+ "type": "text",
1287
+ "text": "[47] Adam Riesselman, Jung-Eun Shin, Aaron Kollasch, Conor McMahon, Elana Simon, Chris Sander, Aashish Manglik, Andrew Kruse, and Debora Marks. Accelerating Protein Design Using Autoregressive Generative Models. bioRxiv, page 757252, 2019. doi: 10.1101/757252. URL https://www.biorxiv.org/content/10.1101/757252v1. ",
1288
+ "bbox": [
1289
+ 173,
1290
+ 242,
1291
+ 825,
1292
+ 299
1293
+ ],
1294
+ "page_idx": 13
1295
+ },
1296
+ {
1297
+ "type": "text",
1298
+ "text": "[48] Elodie Laine, Yasaman Karami, and Alessandra Carbone. Gemme: a simple and fast global epistatic model predicting mutational effects. Molecular biology and evolution, 36(11):2604– 2619, 2019. ",
1299
+ "bbox": [
1300
+ 173,
1301
+ 308,
1302
+ 823,
1303
+ 349
1304
+ ],
1305
+ "page_idx": 13
1306
+ },
1307
+ {
1308
+ "type": "text",
1309
+ "text": "[49] Brian L Hie, Kevin K Yang, and Peter S Kim. Evolutionary velocity with protein language models. bioRxiv, 2021. ",
1310
+ "bbox": [
1311
+ 174,
1312
+ 357,
1313
+ 821,
1314
+ 387
1315
+ ],
1316
+ "page_idx": 13
1317
+ },
1318
+ {
1319
+ "type": "text",
1320
+ "text": "[50] Henrik Nordberg, Michael Cantor, Serge Dusheyko, Susan Hua, Alexander Poliakov, Igor Shabalov, Tatyana Smirnova, Igor V Grigoriev, and Inna Dubchak. The genome portal of the department of energy joint genome institute: 2014 updates. Nucleic acids research, 42(D1): D26–D31, 2014. ",
1321
+ "bbox": [
1322
+ 173,
1323
+ 395,
1324
+ 825,
1325
+ 450
1326
+ ],
1327
+ "page_idx": 13
1328
+ },
1329
+ {
1330
+ "type": "text",
1331
+ "text": "[51] M. Steinegger, M. Mirdita, and J. Söding. Protein-level assembly increases protein sequence recovery from metagenomic samples manyfold. Nat Methods, 16(7):603–606, 07 2019. ",
1332
+ "bbox": [
1333
+ 173,
1334
+ 458,
1335
+ 821,
1336
+ 488
1337
+ ],
1338
+ "page_idx": 13
1339
+ },
1340
+ {
1341
+ "type": "text",
1342
+ "text": "[52] Alan S. Lapedes, Bertrand G. Giraud, LonChang Liu, and Gary D. Stormo. Correlated Mutations in Models of Protein Sequences: Phylogenetic and Structural Effects. Lecture Notes-Monograph Series, 33:236–256, 1999. doi: 10.2307/4356049. URL http://www.jstor.org/stable/ 4356049. ",
1343
+ "bbox": [
1344
+ 173,
1345
+ 496,
1346
+ 826,
1347
+ 551
1348
+ ],
1349
+ "page_idx": 13
1350
+ },
1351
+ {
1352
+ "type": "text",
1353
+ "text": "[53] John Thomas, Naren Ramakrishnan, and Chris Bailey-Kellogg. Graphical models of residue coupling in protein families, 4 2008. ISSN 15455963. URL https://pubmed.ncbi.nlm. nih.gov/18451428/. ",
1354
+ "bbox": [
1355
+ 174,
1356
+ 560,
1357
+ 825,
1358
+ 603
1359
+ ],
1360
+ "page_idx": 13
1361
+ },
1362
+ {
1363
+ "type": "text",
1364
+ "text": "[54] Martin Weigt, Robert A. White, Hendrik Szurmant, James A. Hoch, and Terence Hwa. Identification of direct residue contacts in protein-protein interaction by message passing. Proceedings of the National Academy of Sciences of the United States of America, 106(1):67–72, 1 2009. ISSN 00278424. doi: 10.1073/pnas.0805923106. URL https://www.pnas.org/content/ 106/1/67https://www.pnas.org/content/106/1/67.abstract. ",
1365
+ "bbox": [
1366
+ 174,
1367
+ 611,
1368
+ 826,
1369
+ 681
1370
+ ],
1371
+ "page_idx": 13
1372
+ },
1373
+ {
1374
+ "type": "text",
1375
+ "text": "[55] Sivaraman Balakrishnan, Hetunandan Kamisetty, Jaime G. Carbonell, Su-In Lee, and Christopher James Langmead. Learning generative models for protein fold families. Proteins: Structure, Function, and Bioinformatics, 79(4):1061–1078, 4 2011. ISSN 08873585. doi: 10.1002/prot.22934. URL http://doi.wiley.com/10.1002/prot.22934. ",
1376
+ "bbox": [
1377
+ 173,
1378
+ 689,
1379
+ 823,
1380
+ 746
1381
+ ],
1382
+ "page_idx": 13
1383
+ },
1384
+ {
1385
+ "type": "text",
1386
+ "text": "[56] David T. Jones, Daniel W. A. Buchan, Domenico Cozzetto, and Massimiliano Pontil. PSICOV: precise structural contact prediction using sparse inverse covariance estimation on large multiple sequence alignments. Bioinformatics, 28(2):184–190, 1 2012. ISSN 1460-2059. doi: 10.1093/bioinformatics/btr638. URL https://academic.oup.com/bioinformatics/ article-lookup/doi/10.1093/bioinformatics/btr638. ",
1387
+ "bbox": [
1388
+ 173,
1389
+ 753,
1390
+ 825,
1391
+ 824
1392
+ ],
1393
+ "page_idx": 13
1394
+ },
1395
+ {
1396
+ "type": "text",
1397
+ "text": "[57] Emily E Wrenbeck, Matthew S Faber, and Timothy A Whitehead. Deep sequencing methods for protein engineering and design. Current opinion in structural biology, 45:36–44, 2017. ",
1398
+ "bbox": [
1399
+ 169,
1400
+ 832,
1401
+ 820,
1402
+ 862
1403
+ ],
1404
+ "page_idx": 13
1405
+ },
1406
+ {
1407
+ "type": "text",
1408
+ "text": "[58] Justin R Klesmith, John-Paul Bacik, Ryszard Michalczyk, and Timothy A Whitehead. Comprehensive sequence-flux mapping of a levoglucosan utilization pathway in e. coli. ACS synthetic biology, 4(11):1235–1243, 2015. ",
1409
+ "bbox": [
1410
+ 171,
1411
+ 868,
1412
+ 823,
1413
+ 911
1414
+ ],
1415
+ "page_idx": 13
1416
+ },
1417
+ {
1418
+ "type": "text",
1419
+ "text": "[59] Hugh K Haddox, Adam S Dingens, Sarah K Hilton, Julie Overbaugh, and Jesse D Bloom. Mapping mutational effects along the evolutionary landscape of hiv envelope. Elife, 7:e34420, 2018. \n[60] Philip A Romero, Tuan M Tran, and Adam R Abate. Dissecting enzyme function with microfluidic-based deep mutational scanning. Proceedings of the National Academy of Sciences, 112(23):7159–7164, 2015. \n[61] Elad Firnberg, Jason W Labonte, Jeffrey J Gray, and Marc Ostermeier. A comprehensive, high-resolution map of a gene’s fitness landscape. Molecular biology and evolution, 31(6): 1581–1592, 2014. \n[62] Zhifeng Deng, Wanzhi Huang, Erol Bakkalbasi, Nicholas G Brown, Carolyn J Adamski, Kacie Rice, Donna Muzny, Richard A Gibbs, and Timothy Palzkill. Deep sequencing of systematic combinatorial libraries reveals $\\beta$ -lactamase sequence constraints at high resolution. Journal of molecular biology, 424(3-4):150–167, 2012. \n[63] Michael A Stiffler, Doeke R Hekstra, and Rama Ranganathan. Evolvability as a function of purifying selection in tem-1 $\\beta$ -lactamase. Cell, 160(5):882–892, 2015. \n[64] Hervé Jacquier, André Birgy, Hervé Le Nagard, Yves Mechulam, Emmanuelle Schmitt, Jérémy Glodt, Beatrice Bercot, Emmanuelle Petit, Julie Poulain, Guilène Barnaud, et al. Capturing the mutational landscape of the beta-lactamase tem-1. Proceedings of the National Academy of Sciences, 110(32):13067–13072, 2013. \n[65] Scott D Findlay and Lynne-Marie Postovit. Comprehensive characterization of transcript diversity at the human nodal locus. BioRxiv, page 254409, 2018. \n[66] Richard N McLaughlin Jr, Frank J Poelwijk, Arjun Raman, Walraj S Gosal, and Rama Ranganathan. The spatial architecture of protein function and adaptation. Nature, 491(7422): 138–142, 2012. \n[67] Jacob O Kitzman, Lea M Starita, Russell S Lo, Stanley Fields, and Jay Shendure. Massively parallel single-amino-acid mutagenesis. Nature methods, 12(3):203–206, 2015. \n[68] Michael B Doud and Jesse D Bloom. Accurate measurement of the effects of all amino-acid mutations on influenza hemagglutinin. Viruses, 8(6):155, 2016. \n[69] Victoria O Pokusaeva, Dinara R Usmanova, Ekaterina V Putintseva, Lorena Espinar, Karen S Sarkisyan, Alexander S Mishin, Natalya S Bogatyreva, Dmitry N Ivankov, Arseniy V Akopyan, Sergey Ya Avvakumov, et al. An experimental assay of the interactions of amino acids from orthologous sequences shaping a complex fitness landscape. PLoS genetics, 15(4):e1008079, 2019. \n[70] Parul Mishra, Julia M Flynn, Tyler N Starr, and Daniel NA Bolon. Systematic mutant analyses elucidate general and client-specific aspects of hsp90 function. Cell reports, 15(3):588–598, 2016. \n[71] Eric D Kelsic, Hattie Chung, Niv Cohen, Jimin Park, Harris H Wang, and Roy Kishony. Rna structural determinants of optimal codons revealed by mage-seq. Cell systems, 3(6):563–571, 2016. \n[72] Alexandre Melnikov, Peter Rogov, Li Wang, Andreas Gnirke, and Tarjei S Mikkelsen. Comprehensive mutational scanning of a kinase in vivo reveals substrate-dependent fitness landscapes. Nucleic acids research, 42(14):e112–e112, 2014. \n[73] Lisa Brenan, Aleksandr Andreev, Ofir Cohen, Sasha Pantel, Atanas Kamburov, Davide Cacchiarelli, Nicole S Persky, Cong Zhu, Mukta Bagul, Eva M Goetz, et al. Phenotypic characterization of a comprehensive set of mapk1/erk2 missense mutants. Cell reports, 17(4):1171–1183, 2016. \n[74] Liat Rockah-Shmuel, Ágnes Tóth-Petróczy, and Dan S Tawfik. Systematic mapping of protein mutational space by prolonged drift reveals the deleterious effects of seemingly neutral mutations. PLoS computational biology, 11(8):e1004421, 2015. ",
1420
+ "bbox": [
1421
+ 168,
1422
+ 45,
1423
+ 828,
1424
+ 917
1425
+ ],
1426
+ "page_idx": 14
1427
+ },
1428
+ {
1429
+ "type": "text",
1430
+ "text": "[75] Nicholas C Wu, C Anders Olson, Yushen Du, Shuai Le, Kevin Tran, Roland Remenyi, Danyang Gong, Laith Q Al-Mawsawi, Hangfei Qi, Ting-Ting Wu, et al. Functional constraint profiling of a viral protein reveals discordance of evolutionary conservation and functionality. PLoS genetics, 11(7):e1005310, 2015. ",
1431
+ "bbox": [
1432
+ 173,
1433
+ 90,
1434
+ 826,
1435
+ 147
1436
+ ],
1437
+ "page_idx": 15
1438
+ },
1439
+ {
1440
+ "type": "text",
1441
+ "text": "[76] Christopher D Aakre, Julien Herrou, Tuyen N Phung, Barrett S Perchuk, Sean Crosson, and Michael T Laub. Evolving new protein-protein interaction specificity through promiscuous intermediates. Cell, 163(3):594–606, 2015. ",
1442
+ "bbox": [
1443
+ 171,
1444
+ 156,
1445
+ 823,
1446
+ 200
1447
+ ],
1448
+ "page_idx": 15
1449
+ },
1450
+ {
1451
+ "type": "text",
1452
+ "text": "[77] Hangfei Qi, C Anders Olson, Nicholas C Wu, Ruian Ke, Claude Loverdo, Virginia Chu, Shawna Truong, Roland Remenyi, Zugen Chen, Yushen Du, et al. A quantitative high-resolution genetic profile rapidly identifies sequence determinants of hepatitis c viral fitness and drug sensitivity. PLoS pathogens, 10(4):e1004064, 2014. ",
1453
+ "bbox": [
1454
+ 173,
1455
+ 209,
1456
+ 826,
1457
+ 266
1458
+ ],
1459
+ "page_idx": 15
1460
+ },
1461
+ {
1462
+ "type": "text",
1463
+ "text": "[78] Kenneth A Matreyek, Lea M Starita, Jason J Stephany, Beth Martin, Melissa A Chiasson, Vanessa E Gray, Martin Kircher, Arineh Khechaduri, Jennifer N Dines, Ronald J Hause, et al. Multiplex assessment of protein variant abundance by massively parallel sequencing. Nature genetics, 50(6):874–882, 2018. ",
1464
+ "bbox": [
1465
+ 173,
1466
+ 275,
1467
+ 826,
1468
+ 332
1469
+ ],
1470
+ "page_idx": 15
1471
+ },
1472
+ {
1473
+ "type": "text",
1474
+ "text": "[79] Pradeep Bandaru, Neel H Shah, Moitrayee Bhattacharyya, John P Barton, Yasushi Kondo, Joshua C Cofsky, Christine L Gee, Arup K Chakraborty, Tanja Kortemme, Rama Ranganathan, et al. Deconstruction of the ras switching cycle through saturation mutagenesis. Elife, 6:e27810, 2017. ",
1475
+ "bbox": [
1476
+ 173,
1477
+ 342,
1478
+ 826,
1479
+ 397
1480
+ ],
1481
+ "page_idx": 15
1482
+ },
1483
+ {
1484
+ "type": "text",
1485
+ "text": "[80] Benjamin P Roscoe, Kelly M Thayer, Konstantin B Zeldovich, David Fushman, and Daniel NA Bolon. Analyses of the effects of all ubiquitin point mutants on yeast growth rate. Journal of molecular biology, 425(8):1363–1377, 2013. ",
1486
+ "bbox": [
1487
+ 174,
1488
+ 409,
1489
+ 826,
1490
+ 450
1491
+ ],
1492
+ "page_idx": 15
1493
+ },
1494
+ {
1495
+ "type": "text",
1496
+ "text": "[81] Benjamin P Roscoe and Daniel NA Bolon. Systematic exploration of ubiquitin sequence, e1 activation efficiency, and experimental fitness in yeast. Journal of molecular biology, 426(15): 2854–2870, 2014. ",
1497
+ "bbox": [
1498
+ 174,
1499
+ 460,
1500
+ 826,
1501
+ 503
1502
+ ],
1503
+ "page_idx": 15
1504
+ },
1505
+ {
1506
+ "type": "text",
1507
+ "text": "[82] David Mavor, Kyle Barlow, Samuel Thompson, Benjamin A Barad, Alain R Bonny, Clinton L Cario, Garrett Gaskins, Zairan Liu, Laura Deming, Seth D Axen, et al. Determination of ubiquitin fitness landscapes under different chemical stresses in a classroom setting. Elife, 5: e15802, 2016. ",
1508
+ "bbox": [
1509
+ 174,
1510
+ 512,
1511
+ 826,
1512
+ 569
1513
+ ],
1514
+ "page_idx": 15
1515
+ },
1516
+ {
1517
+ "type": "text",
1518
+ "text": "[83] Yvonne H Chan, Sergey V Venev, Konstantin B Zeldovich, and C Robert Matthews. Correlation of fitness landscapes from three orthologous tim barrels originates from sequence and structure constraints. Nature communications, 8(1):1–12, 2017. ",
1519
+ "bbox": [
1520
+ 173,
1521
+ 579,
1522
+ 823,
1523
+ 622
1524
+ ],
1525
+ "page_idx": 15
1526
+ },
1527
+ {
1528
+ "type": "text",
1529
+ "text": "[84] Daniel Melamed, David L Young, Caitlin E Gamble, Christina R Miller, and Stanley Fields. Deep mutational scanning of an rrm domain of the saccharomyces cerevisiae poly (a)-binding protein. Rna, 19(11):1537–1551, 2013. ",
1530
+ "bbox": [
1531
+ 173,
1532
+ 631,
1533
+ 823,
1534
+ 674
1535
+ ],
1536
+ "page_idx": 15
1537
+ },
1538
+ {
1539
+ "type": "text",
1540
+ "text": "[85] Lea M Starita, Jonathan N Pruneda, Russell S Lo, Douglas M Fowler, Helen J Kim, Joseph B Hiatt, Jay Shendure, Peter S Brzovic, Stanley Fields, and Rachel E Klevit. Activity-enhancing mutations in an e3 ubiquitin ligase identified by high-throughput mutagenesis. Proceedings of the National Academy of Sciences, 110(14):E1263–E1272, 2013. ",
1541
+ "bbox": [
1542
+ 174,
1543
+ 684,
1544
+ 826,
1545
+ 741
1546
+ ],
1547
+ "page_idx": 15
1548
+ },
1549
+ {
1550
+ "type": "text",
1551
+ "text": "[86] Carlos L Araya, Douglas M Fowler, Wentao Chen, Ike Muniez, Jeffery W Kelly, and Stanley Fields. A fundamental protein property, thermodynamic stability, revealed solely from largescale measurements of protein function. Proceedings of the National Academy of Sciences, 109 (42):16858–16863, 2012. ",
1552
+ "bbox": [
1553
+ 173,
1554
+ 750,
1555
+ 825,
1556
+ 806
1557
+ ],
1558
+ "page_idx": 15
1559
+ },
1560
+ {
1561
+ "type": "text",
1562
+ "text": "[87] Julian Salazar, Davis Liang, Toan Q. Nguyen, and Katrin Kirchhoff. Pseudolikelihood reranking with masked language models. CoRR, abs/1910.14659, 2019. URL http://arxiv.org/abs/ 1910.14659. ",
1563
+ "bbox": [
1564
+ 171,
1565
+ 816,
1566
+ 823,
1567
+ 858
1568
+ ],
1569
+ "page_idx": 15
1570
+ },
1571
+ {
1572
+ "type": "text",
1573
+ "text": "[88] Kevin K. Yang, Zachary Wu, Claire N. Bedbrook, and Frances H. Arnold. Learned protein embeddings for machine learning. Bioinformatics, 34(15):2642–2648, 8 2018. ISSN 14602059. doi: 10.1093/bioinformatics/bty178. ",
1574
+ "bbox": [
1575
+ 174,
1576
+ 868,
1577
+ 826,
1578
+ 911
1579
+ ],
1580
+ "page_idx": 15
1581
+ },
1582
+ {
1583
+ "type": "text",
1584
+ "text": "[89] Andrew Leaver-Fay, Matthew J O’meara, Mike Tyka, Ron Jacak, Yifan Song, Elizabeth H Kellogg, James Thompson, Ian W Davis, Roland A Pache, Sergey Lyskov, et al. Scientific benchmarks for guiding macromolecular energy function improvement. Methods in enzymology, 523:109–143, 2013. ",
1585
+ "bbox": [
1586
+ 174,
1587
+ 90,
1588
+ 826,
1589
+ 147
1590
+ ],
1591
+ "page_idx": 16
1592
+ },
1593
+ {
1594
+ "type": "text",
1595
+ "text": "[90] Milot Mirdita, Lars Von Den Driesch, Clovis Galiez, Maria J. Martin, Johannes Soding, and Martin Steinegger. Uniclust databases of clustered and deeply annotated protein sequences and alignments. Nucleic Acids Research, 45(D1):D170–D176, 1 2017. ISSN 13624962. doi: 10.1093/nar/gkw1081. ",
1596
+ "bbox": [
1597
+ 173,
1598
+ 156,
1599
+ 826,
1600
+ 212
1601
+ ],
1602
+ "page_idx": 16
1603
+ },
1604
+ {
1605
+ "type": "text",
1606
+ "text": "[91] Lukas Neumann, Andrew Zisserman, and Andrea Vedaldi. Relaxed Softmax: Efficient Confidence Auto-Calibration for Safe Pedestrian Detection. Technical report, oct 2018. ",
1607
+ "bbox": [
1608
+ 171,
1609
+ 220,
1610
+ 823,
1611
+ 250
1612
+ ],
1613
+ "page_idx": 16
1614
+ },
1615
+ {
1616
+ "type": "text",
1617
+ "text": "[92] Jeremy Nixon, Mike Dusenberry, Ghassen Jerfel, Timothy Nguyen, Jeremiah Liu, Linchuan Zhang, and Dustin Tran. Measuring Calibration in Deep Learning. apr 2019. URL http: //arxiv.org/abs/1904.01685. ",
1618
+ "bbox": [
1619
+ 173,
1620
+ 258,
1621
+ 825,
1622
+ 301
1623
+ ],
1624
+ "page_idx": 16
1625
+ },
1626
+ {
1627
+ "type": "text",
1628
+ "text": "[93] L. Steven Johnson, Sean R. Eddy, and Elon Portugaly. Hidden Markov model speed heuristic and iterative HMM search procedure. BMC Bioinformatics, 11(1):431, 8 2010. ISSN 14712105. doi: 10.1186/1471-2105-11-431. URL https://bmcbioinformatics.biomedcentral. com/articles/10.1186/1471-2105-11-431. ",
1629
+ "bbox": [
1630
+ 173,
1631
+ 309,
1632
+ 826,
1633
+ 366
1634
+ ],
1635
+ "page_idx": 16
1636
+ },
1637
+ {
1638
+ "type": "text",
1639
+ "text": "[94] Didier Nurizzo, Steven C Shewry, Michael H Perlin, Scott A Brown, Jaydev N Dholakia, Roy L Fuchs, Taru Deva, Edward N Baker, and Clyde A Smith. The crystal structure of aminoglycoside3-phosphotransferase-iia, an enzyme responsible for antibiotic resistance. Journal of molecular biology, 327(2):491–506, 2003. ",
1640
+ "bbox": [
1641
+ 174,
1642
+ 376,
1643
+ 825,
1644
+ 431
1645
+ ],
1646
+ "page_idx": 16
1647
+ }
1648
+ ]
parse/train/uXc42E9ZPFs/uXc42E9ZPFs_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/uXc42E9ZPFs/uXc42E9ZPFs_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/v2tmeZVV9-c/v2tmeZVV9-c.md ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ACCURATELY SOLVING ROD DYNAMICS WITH GRAPH LEARNING
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Iterative solvers are widely used to accurately simulate physical systems. These solvers require initial guesses to generate a sequence of improving approximate solutions. In this contribution, we introduce a novel method to accelerate iterative solvers for rod dynamics with graph networks (GNs) by predicting the initial guesses to reduce the number of iterations. Unlike existing methods that aim to learn physical systems in an end-to-end manner, our approach guarantees longterm stability and therefore leads to more accurate solutions. Furthermore, our method improves the run time performance of traditional iterative solvers for rod dynamics. To explore our method we make use of position-based dynamics (PBD) as a common solver for physical systems and evaluate it by simulating the dynamics of elastic rods. Our approach is able to generalize across different initial conditions, discretizations, and realistic material properties. We demonstrate that it also performs well when taking discontinuous effects into account such as collisions between individual rods. Finally, to illustrate the scalability of our approach, we simulate complex 3D tree models composed of over a thousand individual branch segments swaying in wind fields.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ The numeric simulation of a dynamic system commonly comprises the derivation of the mathematical model given by the underlying differential equations and their integration forward in time. In the context of physics-based systems, the mathematical model is usually based on first principles and depending on the properties of the simulated system, the numerical integration of a complex system can be very resource demanding (Nealen et al., 2006), e.g., hindering interactive applications. Enabled by the success of deep neural networks to serve as effective function approximators, researchers recently started investigating the applicability of neural networks for simulating dynamic systems. While many physical phenomena can well be described within fixed spatial domains (e.g., in fluid dynamics) that can be learned with convolutional neural network (CNN) architectures (Chu & Thuerey, 2017; Guo et al., 2016; Tompson et al., 2016; Xiao et al., 2020), a large range of physical systems can more naturally be represented as graphs. Examples include systems based on connected particles (Muller et al., 2007), coupled oscillators (Michels & Desbrun, 2015; Michels et al., 2014), ¨ or finite elements (Nealen et al., 2006). Existing methods enable learning these systems often in an end-to-end manner and with a focus on replacing the entire or a part of the integration procedure. A number of methods show initial success in approximating physical systems; however, they often fail to reliably simulate the state of a system over longer time horizons if significant disadvantages are not accepted, such as the use of large datasets containing long-term simulations and the employment of specific memory structures (Sanchez-Gonzalez et al., 2020).
12
+
13
+ In this paper, we aim to improve the performance of iterative solvers for physical systems with graph networks (GN). An iterative solver requires an initial guess, and based on it generates a sequence of improving approximate solutions. The initial guess can be computed by simply using values obtained in the previous iteration or by solving a few steps of a similar but simpler physical system. The performance of an iterative solver is significantly influenced by the calculation of the initial guess, which we aim to replace with the prediction of a GN. To demonstrate our approach, we use a position-based dynamics (PBD) solver that approximates physical phenomena by using sets of connected vertices (Bender et al., 2017; 2014b; Macklin et al., 2016; Muller et al., 2007). To ¨ simulate a physical system, PBD first computes updated locations of vertices using symplectic Euler integration to then correct the initial position estimates so as to satisfy a set of predefined constraints. The correction step is known as constraint projection and is commonly solved iteratively. The explicit forward integration for predicting the system’s updated state has negligible cost, whereas the projection step is computationally expensive. Our goal is to employ a GN to predict the outcome of the constraint projection step as an initial guess. This way, our approach inherits the long-term stability of a classic PBD solver, while providing better run-time performance.
14
+
15
+ ![](images/66d9183e801abcbe38f01980eb6475c1e896e2ffa8061ae8d4129f00236e3887.jpg)
16
+ Figure 1: Renderings taken from real-time simulations of the elastic deformation of a helix falling down on the ground plane (left) and two rods colliding with each other (right).
17
+
18
+ To showcase the capabilities of our combined PBD solver, we aim to simulate the physically plausible mechanics of elastic rods. Rods play an important role for a variety of application domains, ranging from surgical simulation of sutures (Feess et al., 2016), catheters, and tendons (Pai, 2002), to human hair (Michels et al., 2015) and vegetation (Pirk et al., 2017) in animated movies. Furthermore, approaches exist to realistically simulate rods as sets of connected vertices accurately capturing their mechanical properties (Bergou et al., 2008; Kugelstadt & Schoemer, 2016; Michels et al., 2015; Pai, 2002). Our approach is able to generalize across different initial conditions, rod discretizations, and realistic material parameters such as Young’s modulus and torsional modulus (Deul et al., 2018). Moreover, we demonstrate that our approach can handle discontinuous collisions between individual rods. Figure 1 shows examples of elastic rod deformations of a helix falling down (left) and two colliding rods (right). Finally, we show that the data-driven prediction of the initial guesses of the constraint projection leads to a decreased number of required iterations, which – in turn – results in a significant increase of performance compared to canonical initial guesses.
19
+
20
+ In summary, our contributions are: (1) we show how to accelerate iterative solvers with GNs; (2) we show that our network-enabled solver ensures long-term stability required for simulating physical systems; (3) we showcase the effectiveness of our method by realistically simulating elastic rods; (4) we demonstrate accuracy and generalizability of our approach by simulating different scenarios and various mechanical properties of rods including collisions and complex topologies (dynamic tree simulations).
21
+
22
+ # 2 RELATED WORK
23
+
24
+ In the following we provide an overview of the related work, which spans from data-driven physics simulations and graph learning to position-based dynamics and elastic rods.
25
+
26
+ Data-driven Physics Simulations. It has been recognized that neural networks can be used as effective function approximators for physical and dynamic systems. To this end, early approaches focus on emulating the dynamics of physics through learned controllers (Grzeszczuk et al., 1998) or by designing subspace integrators (Barbic & James, 2005). Today, a range of approaches exist that enable ˇ learning ordinary and partial differential equations (Lagaris et al., 1998; Raissi et al., 2019; Raissi & Karniadakis, 2018), for example, to transform them into optimization problems (Dissanayake & Phan-Thien, 1994), to accelerate their computation (Mishra, 2018; Sirignano & Spiliopoulos, 2018), or to solve for advection and diffusion in complex geometries (Berg & Nystrom, 2018). ¨ Other methods focus on specific data-driven solutions for non-linear elasticity (Ibanez et al., 2017), ˜ for approximating Maxwell’s equation in photonic simulations (Trivedi et al., 2019), or for animating cloth (Wang et al., 2011), partially focusing on interactive applications (Holden et al., 2019). More recently, research on data-driven approaches for modeling the intricacies of fluid dynamics has gained momentum (Ladicky et al., 2015; Ummenhofer et al., 2020). Due to fixed-size spatial rep- ´ resentation of Eulerian fluid solvers, a number of approaches rely on CNN-type architectures (Chu & Thuerey, 2017; Guo et al., 2016; Tompson et al., 2016; Xiao et al., 2020). Furthermore, it has been shown that data-driven approaches can even be used to approximate the temporal evolution of fluid flows (Wiewel et al., 2018), to compute liquid splashing (Um et al., 2017), artistic styletransfer (Kim et al., 2020), or to derive fluid dynamics from reduced sets of parameters (Kim et al., 2019).
27
+
28
+ Graph-based Learning. Graphs have proven to be a powerful representation for learning a wide range of tasks (Battaglia et al., 2018; Scarselli et al., 2009). In particular, it has been shown that graphs enable learning knowledge representations (Kipf et al., 2018), message passing (Gilmer et al., 2017), or to encode long-range dependencies, e.g., as found in video processing (Wang et al., 2017). A variety of methods uses graph-based representations to learn properties of dynamic physical systems, e.g. for climate prediction (Seo & Liu, 2019), with an emphasis on individual objects (Chang et al., 2016) and their relations (Sanchez-Gonzalez et al., 2018), for partially observable systems (Li et al., 2018), the prevalent interactions within physical systems (Kipf et al., 2018), hierarchically-organized particle systems (Mrowca et al., 2018), or – more generally – physical simulation (Sanchez-Gonzalez et al., 2019; 2020). While many of the existing approaches learn the time integration of physical systems in an end-to-end manner, we use a graph network to predict the outcome of a PBD solver for rod dynamics to enable more efficient computations.
29
+
30
+ ![](images/43792af9bed5d0f27d102a89cfeb714f437c3c4218295dc2fb7b707853997e9d.jpg)
31
+ Figure 2: Illustration of the discretization of a single rod using several rod segments arranged along its centerline (left). Each rod segment is described by its position and orientation within the generalized coordinates $\mathbf { p } _ { i }$ . The Lagrange multipliers $\lambda _ { i }$ represent the interaction between rod segments. The forward integration path is illustrated in red (middle) and constraint projection in green (right).
32
+
33
+ Position-based Dynamics and Elastic Rods. PBD is a robust and efficient approach for simulating position changes of connected sets of vertices (Bender et al., 2017; 2014b; Macklin et al., 2016; Muller et al., 2007). Compared to forced-based methods that compute the force directly, the inter- ¨ action between different vertices in PBD is realized by a constraint projection step in an iterative manner. To avoid the dependency of the system’s stiffness on the number of iterations and the time step size, an extended position-based dynamics approach was introduced (XPBD) (Macklin et al., 2016). A number of methods exist that model the dynamic properties of rods that can even simulate more complicated rod mechanics (Pai, 2002). Moreover, particle systems were employed to simulate the dynamics of rods (Michels et al., 2017) and, in particular, for the physically accurate simulation of thin fibers (Michels et al., 2015) such as present in human hair or textiles. On a different trajectory, it has been recognized that rods can be simulated based on PBD (Umetani et al., 2014). The initial formulation was improved (Kugelstadt & Schoemer, 2016) by including the orientation of rod segments in the system’s state to account for torsion effects. Later, the XPBD framework was utilized (Deul et al., 2018) to address the non-physical influence of iteration numbers and steps sizes, which enables the more accurate simulation of elastic rods.
34
+
35
+ # 3 METHODOLOGY
36
+
37
+ We propose a novel approach to simulate the temporal evolution of a dynamic system which consists of elastic rods. Each rod is discretized using several rod segments arranged along its centerline (Figure 2). For each rod segment, its state is described by its position, orientation, velocity and angular velocity. The state of the system is given as the set of the individual states of all rod segments. The simulation is carried out by employing PBD (Muller et al., 2007) directly manipulating the sys- ¨ tem’s state. Orientations are represented as quaternions allowing for a convenient implementation of bending and twisting effects (Kugelstadt & Schoemer, 2016). Extended PBD (XPBD) (Macklin et al., 2016) is implemented to avoid that the rods’ stiffnesses depends on the time step size and the number of iterations (Deul et al., 2018).
38
+
39
+ The generalized coordinates of a rod segment $i$ at time $t$ is given by $\mathbf { p } _ { i , t } \in \mathbb { R } ^ { 3 } \times \mathbb { H }$ , which includes its position $\mathbf { x } _ { i , t } \in \mathbb { R } ^ { 3 }$ given in Cartesian coordinates and its orientation described by a quaternion $\mathbf { q } _ { i , t } \in \mathbb { H }$ . Correspondingly, $\boldsymbol { v } _ { i , t } \in \mathbb { R } ^ { 6 }$ refers to the generalized velocity of the rod segment, which includes velocity and angular velocity. The system is continuously updated during the simulation by applying corrections $\bar { \Delta } \mathbf { p } _ { i } = ( \Delta \mathbf { x } _ { i } , \Delta \phi _ { i } ) ^ { \mathsf { T } } \in \mathbb { R } ^ { 6 }$ with position shifts $\Delta \mathbf { x } _ { i } \in \mathbb { R } ^ { 3 }$ and orientation shifts $\bar { \Delta { \phi _ { i } } } \in \mathbb { R } ^ { 3 }$ representing the integration of the angular velocity.1
40
+
41
+ A single time integration step is presented in Algorithm 1. In the beginning (lines 1 to 4), generalized velocity and generalized coordinates are updated by employing a symplectic Euler integration step. In this regard, $\mathbf { a } _ { \mathrm { e x t } }$ denotes the generalized acceleration due to the external net force, e.g., given by gravity. XPBD (Macklin et al., 2016) employs the Lagrange multiplier $\boldsymbol { \lambda }$ which is initialized as zero (line 5) along with the integrated generalized coordinates $\mathbf { p } ^ { * }$ . Collision detection results are stored in $\mathbf { C o l l } _ { \mathrm { r - r } }$ and $\mathbf { C o l l } _ { \mathrm { r - p } }$ (line 6), where $\mathbf { C o l l } _ { \mathrm { r - r } }$ includes all the pairs of two rod segments that potentially collide with each other and $\mathbf { C o l l } _ { \mathrm { r - p } }$ includes information of all rod segments that potentially collide with another object such as a plane. Within several solver iterations, we alternate between rod constraint projection and the collision constrain projection (lines 7 to 15). The rod constraints include shear-stretch and bend-twist constraints representing the corresponding elastic energy. The Lagrange multiplier represents the interaction between rod segments. Figure 2 illustrated the discretization for a single rod into several interacting segments. The correction values $\Delta \mathbf { p }$ and $\Delta \lambda$ in line 9 are computed by constraint projection (Deul et al., 2018; Kugelstadt & Schoemer, 2016). The generalized coordinates and Lagrange multipliers are updated for each rod (lines 8 to 12), and rodrod and rod-plane collisions are addressed to update the generalized coordinates. For details about the collision projection procedure, we refer to Macklin et al. (2014). For the non-collision case, the steps within line 6 and 13 are not needed.
42
+
43
+ Algorithm 1 Numerical integration procedure updating $\mathbf { p } _ { i , t } \mapsto \mathbf { p } _ { i , t + \Delta t }$ and $\begin{array} { r } { \pmb { v } _ { i , t } \mapsto \pmb { v } _ { i , t + \Delta t } } \end{array}$ .
44
+
45
+ 1: for all rod segments do
46
+ 2: $\pmb { v } _ { i } ^ { * } \gets \pmb { v } _ { i , t } + \Delta t \mathbf { a } _ { \mathrm { e x t } }$
47
+ 3: $\mathbf { p } _ { i } ^ { * } \gets \mathbf { p } _ { i , t } + \Delta t \ \mathbf { H } ( \mathbf { q } _ { i , t } ) \mathbf { \sigma } _ { i } ^ { * }$ with $\mathbf { H } ( \mathbf { q } _ { i , t } ) : = \left[ \mathbf { 1 } _ { 3 \times 3 } , \mathbf { 0 } _ { 3 \times 3 } ; \mathbf { 0 } _ { 4 \times 3 } , \mathbf { G } ( \mathbf { q } _ { i , t } ) \right]$
48
+ 4: end for
49
+ 5: $\pmb { \lambda } ^ { 0 } \mathbf { 0 } , \mathbf { p } ^ { 0 } \mathbf { p } ^ { * }$
50
+ 6: $\mathrm { ( C o l l _ { r \mathrm { - } r } , C o l l _ { r \mathrm { - } p } ) }$ generateCollisionConstraints $( \mathbf { p } , \mathbf { p } ^ { * } )$
51
+ 7: for $j 0$ to number of required solver iterations do
52
+ 8: for all rods do
53
+ 9: $\begin{array} { l } { ( \Delta \mathbf { p } , \Delta \pmb { \lambda } ) \mathsf { r o d C } } \\ { \lambda ^ { j + 1 } \lambda ^ { j } + \Delta \pmb { \lambda } } \\ { \mathbf { p } ^ { j + 1 } \mathbf { p } ^ { j } + \Delta \mathbf { p } } \end{array}$ onstraintProjection $( \mathbf { p } ^ { j } , \lambda ^ { j } )$
54
+ 10:
55
+ 11:
56
+ 12: end for
57
+ 13: $\mathbf { p } ^ { j + 1 } $ updateCollisionConstraintProjection $( \mathbf { p } ^ { j + 1 } , \mathbf { C o l l } _ { \mathrm { r - r } } , \mathbf { C o l l } _ { \mathrm { r - p } } )$
58
+ 14: $j \gets j + 1$
59
+ 15: end for
60
+ 16: for all rod segments do
61
+ 17: $\begin{array} { r l } & { \mathbf { p } _ { i , t + \Delta t } \mathbf { p } _ { i } ^ { j } } \\ & { \mathbf { \delta } \mathbf { { \sigma } } \mathbf { { v } } _ { i , t + \Delta t } \mathbf { H } ^ { \top } ( \mathbf { q } _ { i , t } ) ( \mathbf { p } _ { i , t + \Delta t } - \mathbf { p } _ { i , t } ) / \Delta t } \end{array}$
62
+ 18:
63
+ 19: end for
64
+
65
+ ![](images/1568f99e63d0de48aa59add5ada4bf6c639c6b83fad06ae80808b98bf25bb205.jpg)
66
+ Figure 3: Illustration of our approach incorporating a network which consists of $M$ graph networks (GN-blocks) into the position-based dynamics framework.
67
+
68
+ The most expensive part of Algorithm 1 involves the computation of the corrections of generalized coordinates and Lagrange multipliers (line 9). This projection step requires the solution of a linear system which is a linearization of a non-linear one so that the matrix depends on the system’s state making it impossible to precompute its inverse. Instead, a new system at every point in time is solved iteratively using the conjugated gradient (CG) solver. Such iterative solvers are widely used in the context of physical simulations and regularly described as the de facto standard (Barrett et al., 1994; Saad, 2003) since they often show superior performance and usually scale well allowing for exploiting parallel hardware. However, we would like to point out that also highly efficient direct solvers can be found in the literature (Deul et al., 2018).
69
+
70
+ Instead of fully replacing the projection step in an end-to-end learning manner, we follow the strategy of accelerating it by first computing a guess
71
+
72
+ $$
73
+ ( \Delta \mathbf { p } ^ { 0 } , \Delta \lambda ^ { 0 } ) \gets \mathsf { c o r r e c t i o n } \mathsf { G u e s s } ( \mathbf { p } ^ { j } ) ,
74
+ $$
75
+
76
+ for the iterative procedure (line 9)
77
+
78
+ $$
79
+ ( \Delta { \bf p } , \Delta \lambda ) \gets \mathrm { r o d } { \sf C o n s t r a i n t P r o j e c t i o n } ( { \bf p } ^ { j } , \lambda ^ { j } , \Delta { \bf p } ^ { 0 } , \Delta \lambda ^ { 0 } ) .
80
+ $$
81
+
82
+ A neural network is employed to compute the initial guess in Eq. (1) for the constraint projection. The motivation for this approach is to reduce the number of iterations required for the convergence of the CG solver which solves the linear system in Eq. (2) compared to the canonical initialization with zeros. We obtain our final framework by replacing line 9 in Algorithm 1 with Eq. (1) and Eq. (2) as illustrated in Figure 3, which is inherently as accurate as the traditional PBD method. We name the data-driven part COPINGNet (“COnstraint Projection INitial Guess Network”) which learns to compute the correction guess.
83
+
84
+ # 3.1 GRAPH ENCODING
85
+
86
+ COPINGNet is a graph network based architecture which we apply in order to compute initial guesses for $\Delta \mathbf { p }$ and $\Delta \lambda$ . In this regard, we need to incorporate the rods’ state into a graph description (Battaglia et al., 2018). A graph $G = ( V , E , U )$ usually consists of nodes (or vertices) $V$ , edges $E$ as well as global features $U$ . However, in our framework, global features $U$ are not used. For example, gravity could be a potentially meaningful global feature, but it also can be easily included as an external acceleration. Hence, $U = \emptyset$ and the graph can just be represented as $G = G ( V , E )$ . In our case, the rods’ segments within the scene are represented by the graph’s nodes while the interactions between the rods’ segments are represented by the edges.
87
+
88
+ COPINGNet provides a graph-to-graph mapping: $\mathbb { G } ^ { \mathrm { { i n } } } \xrightarrow { } \mathbb { G } ^ { \circ \mathbf { u t } }$ , from an input graph $G _ { \mathrm { i n } } \in \mathbb { G } ^ { \mathrm { i n } }$ to an output graph $G _ { \mathsf { o u t } } \in \mathbb { G } ^ { \mathsf { o u t } }$ . Nodes and edges of both graphs are equipped with specific features. In the case of the input graph, the node features describe the state of the rods’ segments, i.e.
89
+
90
+ in which the positions are denoted with $\mathbf { x } _ { i } ~ \in ~ \mathbb { R } ^ { 3 }$ , the orientations with $\mathbf { q } _ { i } ~ \in ~ \mathbb { H }$ , the radii with $r _ { i } ~ \in \mathbb { R } ^ { > 0 }$ , the densities with $\rho _ { i } \in \mathbb { R } ^ { > 0 }$ , and the segment lengths with $\bar { \ell _ { i } } \ \in \ \mathbb { R } ^ { > 0 }$ . Moreover, a segment position indicator $\alpha _ { i } \in [ 0 , 1 ] \ \subset \ \mathbb { R }$ is included corresponding to a parameterization by arc length.2 Binary segment flag $\mathsf { \bar { f } } _ { 0 _ { i } } \in \{ 0 , 1 \}$ , “left” end flag $f _ { 1 _ { i } } \in \{ 0 , 1 \}$ and “right” end flag $f _ { 2 _ { i } } \in \{ 0 , 1 \}$ are set to zero if the specific segment respectively the left or right segment of the rod is fixed and to one otherwise. The nodes of $G _ { \mathrm { i n } }$ are given as the set of $V _ { \mathfrak { i n } } = \mathbf { \bar { \cup } } _ { i = 1 } ^ { n } \bar { \left\{ \mathbf { v } _ { \mathfrak { i n } , i } \right\} }$ , in which $n = | V _ { \mathsf { i n } } |$ denotes the number of segments in the scene. The nodes of $G _ { \mathsf { o u t } }$ contain the correction values of the generalized coordinates, i.e.
91
+
92
+ While rod segments are represented as node features, we represent constraints between rod segments as edge features: $\mathbf { e } _ { \mathsf { i n } , i } = ( \omega _ { i } , _ { \mathsf { e } } ^ { } , T _ { i } ^ { \mathsf { T } } ) ^ { \mathsf { T } } \in \mathbb { E } ^ { \mathsf { i n } } \subseteq \mathbb { R } ^ { 5 }$ ,
93
+
94
+ in which the (rest) Darboux vector $\omega \in \mathbb { R } ^ { 3 }$ describes the static angle of two rod segments, and Young’s modulus $Y ~ \in ~ \mathbb { R } ^ { > 0 }$ and torsion modulus $T ~ \in ~ \mathbb { R } ^ { > 0 }$ are corresponding to extension, bending, and twist constraint parameters. The set of edges of the input graph is then given by $E _ { \mathsf { i n } } = \mathsf { \bar { U } } _ { i = 1 } ^ { m } \{ \mathbf { e _ { i \mathsf { n } , i } } \}$ , in which $m = \vert E _ { \mathrm { i n } } \vert$ denotes the number of interactions between different segments. The correction of the Lagrange multiplier $\Delta \lambda _ { i } \in \mathbb { R } ^ { 6 }$ is stored in the output edges:
95
+
96
+ The set of output edges is then given by $E _ { \mathsf { o u t } } = \cup _ { i = 1 } ^ { m } \{ \mathbf { e } _ { \mathsf { o u t } , i } \}$
97
+
98
+ The connectivity information $C$ of each graph is stored in two vectors $\mathbf { c } _ { \mathsf { s d } }$ and $\mathbf { c } _ { \mathrm { r v } }$ containing the sender node index and the receiver node index of each corresponding edge. This concludes the specification of the input graph $G _ { \mathsf { i n } } = G ( V _ { \mathsf { i n } } , E _ { \mathsf { i n } } )$ and the output graph $\begin{array} { r } { G _ { \mathrm { o u t } } = G ( V _ { \mathrm { o u t } } , E _ { \mathrm { o u t } } ) } \end{array}$ with connectivity information $C = ( \mathbf { c } _ { \mathsf { s d } } , \mathbf { c } _ { \mathsf { r v } } )$ .
99
+
100
+ # 3.2 NETWORK STRUCTURE
101
+
102
+ In the following, we describe the structure of COPINGNet after we formalized its input and output in the previous section. As illustrated in Figure 3, the network consists of an encoder network, multiple stacks of GN-blocks, and a decoder network. The graph network from Battaglia et al. (2018) is used as a basic element and denoted as a GN-block. Residual connection between blocks could improve performance of neural networks in both CNN (He et al., 2015), and graph neural network [Li et al. (2019)]. As in related work (Sanchez-Gonzalez et al., 2020), we employ the residual connection between the GN-blocks, but our encoder/decoder network directly deals with the graph. The encoder network performs a mapping: $\mathbb { G } ^ { \mathsf { i n } } \to \mathbb { G } ^ { \mathsf { i a t e n t } }$ and is implemented using two multi-layer perceptrons (MLPs), $\mathsf { \bar { M } L P _ { e d g e } : \mathbb { E } ^ { i n } } \overset { \cdot } { } \mathbb { E } ^ { | \mathrm { a t e n t } } \subseteq \mathbb { R } ^ { l }$ and $\mathsf { M L P } _ { \mathsf { n o d e } } \colon \mathbb { V } ^ { \mathsf { i n } } \to \mathbb { V } ^ { \mathsf { l a t e n t } } \subseteq \mathbb { R } ^ { l }$ , in which $l$ denotes the latent size. They work separately and thus $E _ { \mathsf { e n } } = \mathsf { M L P } _ { \mathsf { e d g e } } ( E _ { \mathsf { i n } } )$ and $V _ { \mathsf { e n } } = \mathsf { M L P } _ { \mathsf { n o d e } } ( V _ { \mathsf { i n } } )$ . Edge features $E _ { \mathrm { i n } }$ from the input are constant for a rod during the simulation and this results in constant encoded edge features $E _ { \mathrm { e n } }$ , which could be recorded after the first run and used afterwards during inference. The edge feature $\mathbf { e } _ { \mathrm { i n } , i }$ contains the material parameters which could vary by different orders of magnitude. Hence, we normalize Young’s modulus and torsion modulus before feeding them into the network. After encoding, the graph $G _ { \mathsf { e n } } ( V _ { \mathsf { e n } } , E _ { \mathsf { e n } } ) \ \in \ \mathbb { G } ^ { | \mathsf { a t e n t } }$ is passed to several GN-blocks with residual connections. Each GN-block also contains two MLPs. However, they use message passing taking advantage of neighbourhood nodes/edges information (Battaglia et al.,
103
+
104
+ Under review as a conference paper at ICLR 2021
105
+
106
+ <table><tr><td>Train/Val 256/100</td><td>#Steps 50</td><td>#Nodes N Ud(10,55)</td><td>Young&#x27;sModulus Y 10° Pa,a ~U(4.0,6.0)</td><td>Initial Angle0 U(0°,45.0°)</td><td>RodLength l U(1.0 m,5.0 m)</td></tr><tr><td>Train/Val</td><td>#Steps</td><td>#Nodes N</td><td>Torsion Modulus T</td><td>Helix Radius/Height</td><td>Winding Number</td></tr><tr><td>256/100</td><td>50</td><td>Ud(45,105)</td><td>10° Pa,a ~U(4.0,6.0)</td><td>u(0.4 m,0.6 m)/u(0.4 m,0.6 m)</td><td>U(2.0,3.0)</td></tr></table>
107
+
108
+ Table 1: Specification of training and validation datasets for the two scenarios of an initially straight bending rod (top) and an elastic helix (bottom). The datasets are comprised of a number of data points (left) each describing the rod’s dynamics within $t \in [ 0 \mathrm { ~ s } , 5 0 \Delta t ]$ discretized with a time step size of $\Delta t = 0 . 0 2 { \mathrm { ~ s } }$ . The number of nodes $N$ is sampled from a discrete uniform distribution $\mathcal { U } _ { \mathrm { d } }$ while the remaining parameters are sampled from a continuous uniform distribution $\mathcal { U }$ . We trained our network for 5 hours for the bending rod scenario and 6 hours for the helix case.
109
+
110
+ ![](images/2c001d770b6a2025e2608f89b2ea7d64d5e863ed2a8335a6ed9184e85bda896c.jpg)
111
+ Figure 4: Illustration of the ratio of COPINGNet’s inference time $t _ { \mathrm { i n f e r } }$ and the vanilla CG solver’s run time $t _ { C G }$ (purple curves; right vertical axis) for the initially straight bending rod (left) and the elastic helix (right) simulations. The black curves show the CG iteration number ratio while the red curves show the total speedup of the constraint projection when taking into account COPINGNet’s inference time (left vertical axis). The pink curves show the total speedup of the entire simulations. The orange and green dashed line indicate the lower and upper boundaries of the total number of nodes used in the training data. We can observe a speedup even for rods and helices with greater node number than the ones used in the the training dataset. The result is averaged from 50 simulations each running 100 steps.
112
+
113
+ 2018). A number of $M$ GN-blocks enable the use of neighbourhood information with distances smaller or equal to $M$ . The graph network performs a mapping within the latent space: $\mathbb { G } ^ { \mathsf { l a t e n t } } \to$ $\mathbb { G } ^ { | \mathsf { a t e n t } }$ , and after $M$ GN-blocks, we obtain $\bar { G } _ { \mathsf { e n } } ^ { \prime } ( V _ { \mathsf { e n } } ^ { \prime } , E _ { \mathsf { e n } } ^ { \prime } ) \in \mathbb { G } ^ { \mathsf { l a t e n t } }$ . The decoder network performs a mapping: $\mathbb { G } ^ { \mathsf { l a t e n t } } \to \mathbb { G } ^ { \mathsf { o u t } }$ , which has a similar structure as the encoder network. Two MLPs $\mathsf { M L P _ { e d g e } : \mathbb { E } ^ { l a t e n t } \to \mathbb { E } ^ { o u t } }$ and $\mathsf { M L P _ { n o d e } : \mathbb { V } ^ { l a t e n t } \to \mathbb { V } ^ { o u t } }$ compute $\begin{array} { r } { E _ { \mathsf { o u t } } = \mathsf { M L P _ { e d g e } } ( E _ { \mathsf { e n } } ^ { ' } ) } \end{array}$ and $V _ { \mathrm { o u t } } = \mathsf { M L P } _ { \mathsf { n o d e } } ( V _ { \mathrm { e n } } ^ { ' } )$ . A tanh-function at the end of ${ \mathsf { M L P } } _ { \mathsf { e d g e } }$ and ${ \mathsf { M L P } } _ { \mathsf { n o d e } }$ is used restricting the output to the interval $[ - 1 , 1 ] \subset \mathbb { R }$ . COPINGNet learns the relative correction values. The generated dataset is normalized, and the maximum correction value of the generalized coordinates and the Lagrange multipliers will be recorded as norms. The final correction value is achieved by multiplying the relative correction values and the norms. This normalization process damps the noise caused by the network and leads to a more stable performance. For simplicity, all the MLPs in different blocks have the same number of layers, and the same width as latent size $l$ within the latent layers. The input and output sizes of each MLP are consistent with the corresponding node/edge feature dimensions. The loss $L$ is computed from both parts, nodes and edges,
114
+
115
+ $$
116
+ L : = \mathsf { M S E } ( V _ { \mathrm { o u t } } , \tilde { V } _ { \mathrm { o u t } } ) + \mathsf { M S E } ( E _ { \mathrm { o u t } } , \tilde { E } _ { \mathrm { o u t } } ) ,
117
+ $$
118
+
119
+ in which $( V _ { \mathrm { o u t } } , E _ { \mathrm { o u t } } )$ is the output graph’s ground truth in contrast to COPINGNet’s prediction $( \tilde { V } _ { \mathrm { o u t } } , \tilde { E } _ { \mathrm { o u t } } )$ . The mean squared error between $\chi$ and $\tilde { \chi }$ is denoted with ${ \mathsf { M S E } } ( \chi , \tilde { \chi } )$ .
120
+
121
+ For evaluation purposes, we also incorporated the $k$ -nearest neighbor $k$ -NN) algorithm as described in the supplementary material setting $k = 3$ .
122
+
123
+ # 4 EVALUATION
124
+
125
+ We generate training and validation datasets based on two scenarios: an initially straight bending rod and an elastic helix each fixed at one end oscillating under the influence of gravity. The specification of these datasets is provided in Table 1. The PBD code is written in $\mathrm { C } { + } { + }$ , while the COPINGNet is implemented in PyTorch. The training is performed on an NVIDIA
126
+
127
+ ![](images/ed1e9b6d007b1d7eedb0fe3c233c6801ad15aea379f4a368495e2ea2be90dc0b.jpg)
128
+ Figure 5: Realistic biomechanical simulation of a 3D tree model composed of over $1 k$ nodes swaying in a wind field. Our GN approach performs correctly even under a large number of rod segments while increasing performance of the original PBD method.
129
+
130
+ ![](images/62c93181cb7245b24d09430f33cbbbb1481298dad4a26237055e6d5ad4b12b0b.jpg)
131
+ Figure 6: The dashed horizontal lines show the benchmark CG solver’s constant performance for an initially straight bending rod simulation (left) and an elastic helix simulation (right). The parameters $\phi _ { 0 } = 0 ^ { \circ }$ , $N = 3 0$ , $\ell = 3 . 0 \mathrm { m }$ , $Y = 1 . 0 \cdot 1 0 ^ { 5 }$ Pa (left), and $\mathsf { H R } = 0 . 5 \ \mathrm { m }$ , $\mathsf { H } \mathsf { H } = 0 . 5 \ \mathrm { m }$ , $\mathsf { H W } = 2 . 5$ , $G = 1 . 0 \cdot 1 0 ^ { 5 }$ Pa, $N = 6 0$ (right) are applied. We are comparing our COPINGNet-assisted PBD approach (orange) to a simplified version in which the $k$ -NN (green) is used to predict the initial guess. Moreover (left), we added a performance measurement in which we restricted the solution to be in a two-dimensional plane (black). The results are averages over 20 simulations and smoothed with a window of 10 frames. The dashed vertical lines mark the number of 50 frames contained in the training data set. For the helix simulation we observe a speed up of approximately $50 \%$ even beyond the training data (50 time frames). For the bending rod simulation we observe a speedup that further decreases with increasing time frame number.
132
+
133
+ Discretization. Our approach addresses the acceleration of the most expensive part within PBD by providing an accurate initial guess of the constraint projection. We measure the system’s complexity by the number of nodes in a rod. Figure 4 shows the ratio of COPINGNet’s inference run time (black and red curves) compared to the run time of the vanilla CG solver (purple curves) for different numbers of nodes. The increasing black and red curves indicate that the speedup of COPINGNet is more significant with greater number of nodes. With only a few nodes the CG solver performs better due to the inference overhead. Once the number of nodes is increasing, a significant speedup can be obtained of up to $5 0 \%$ for the constraint projection. Surprisingly, our approach also performs well when going far beyond the sampling range (orange to green dashed lines). Since the constraint projection is the most time-consuming part of the entire simulation, the speedup converges to that of the whole simulation (pink curves) with increasing number of nodes as shown in Figure 4.
134
+
135
+ Temporal Evolution. In addition to the complexity analysis, we also analyze the required number of CG iterations for the vanilla constraint projection compared to the one accelerated using COPINGNet over time as shown in Figure 6. We obtain a significant total speedup compared to the CG solver (dashed blue line). As stated in Table 1, our training data contains dynamical simulations of 50 time steps. In this range we observe the highest speedup. As was the case for the complexity analysis, we again obtain a significant speedup for simulations beyond 50 time steps. This performance gain is more present for the helix (green curve) compared to the rod simulation (orange curve).
136
+
137
+ Long-term Stability. In case the constraint projection is completely replaced by COPINGNet (endto-end approach), stability of the PBD method decreases as error accumulation takes place. This is illustrated in Figure 7 showing the temporal evolution of the relative change of the total rod length. An initially straight rod bending under the influence of gravity is simulated using the parameters $\phi _ { 0 } = 0 ^ { \circ }$ , $N = 3 0$ , $\ell = 4 . 0 \mathrm { m }$ , and varying Young’s modulus $Y$ . In this scenario the rod length is expected to stay constant during the mechanical simulation. In case COPINGNet is used in an endto-end manner (colored lines), where the whole constraint projection step is replaced, we observe that the rod length changes incorrectly. In fact, the divergence of using COPINGNet to replace the constraint projection step increases exponentially beyond the range of the training data (50 steps). To the contrary, when COPINGNet is used to only estimate the initial guess of the constraint projection (black lines), no rod deformation takes place even beyond the training data range.
138
+
139
+ Collisions. Figure 1 illustrates a collision of an elastic helix with the ground plane and a collision between two rods. Collision detection is efficiently implemented using the hierarchical spatial hashing scheme according to Eitz & Gu (2007). Rod-rod collisions are then treated with line-to-line distance constraints, and collisions with the ground plane using half-space constraints. Moreover, frictional effects are implemented according to Macklin et al. (2014). This approach allows us to handle discontinuous events such as collisions between individual rods and other objects. Moreover, for this experiment we use the neural networks trained on the rod and helix simulations. Employing COPINGNet trained on the helix data to simulate the collision of the ground plane $( \mathsf { H } \mathsf { R } = \mathsf { H } \mathsf { H } = 0 . 5 \mathrm { ~ m ~ }$ , $\mathsf { H W } = 2 . 5$ , $G = 1 . { \overset { \vartriangle } { 0 } } \cdot 1 0 ^ { 6 } { \overset { \vartriangle } { \ v u } }$ Pa, $N = 5 0$ ), we measure a total speedup of approx. $1 0 \%$ . In the case of two colliding rods $\langle \phi _ { 0 } = 0 ^ { \circ }$ , $N \in \{ 2 0 , 3 0 \}$ , $\ell \in \{ 4 . 0 \mathrm { m } , 4 . 5 \mathrm { m } \}$ , $Y = 1 . 0 \cdot 1 0 ^ { 6 } \ : \mathrm { P a } )$ , we obtain a speedup of approx. $6 \%$ .
140
+
141
+ Complex Scenarios. Our method is also capable to deal with complex scenarios such as 3D tree models swaying in wind fields as shown in Figure 5. We represent trees using the extended Cosserat rod theory introduced in Pirk et al. (2017). This method allows us to simulate realistic biomechanics of thousands of rod segments at interactive rates. We generated 100 different tree topologies using 70 individual rods (average node number: 1056) and simulate the swaying motions of these tree models with vanilla PBD to generate the training dataset. For the evaluation, 30 different tree topologies have been generated for each of the following four experiments using 10 rods (204 nodes), 20 rods (355 nodes), 40 rods (654 nodes), and 70 rods (1061 nodes). We were able to significantly improve the runtime performance of the method by $1 7 . 0 \%$ (10 rods), $1 5 . 8 \%$ (20 rods), $1 3 . { \bar { 0 \% } }$ (40 rods), and $1 1 . 1 \%$ (70 rods). This takes into account the inference time introduced by the neural network.
142
+
143
+ ![](images/a880abe5ec3310b65f98fc0d9a3fc219a05368751e37b593573a311958b42906.jpg)
144
+ Figure 7: Illustration of the relative change of the total rod length $( l / l _ { 0 } )$ for different values of Young’s moduli $( Y )$ . Colored lines show different results for COPINGNet replacing the constraint projection. The thick black line represent the result for COPINGNet replacing only the initial guess. This indicates that the end-to-end approach does not generalize past the 50 time steps used in preparing the training data.
145
+
146
+ Generalization. Figure 7 and Figure 10 (supplementary material) indicate that using COPINGNet in an end-to-end manner does not generalize beyond the training data. Specifically, the end-to-end setup diverges in terms of rod geometry and segment position from the correct solution. This effect increases significantly beyond the training data range. Although, we only use COPINGNet as a benchmark for this evaluation, other GNs are expected to perform similarly. Common workarounds to increase the stability of dynamical systems with neural networks are temporal skip-connections, recurrent training, and data augmentation. However, these approaches focus on runtime speed and memory performance rather than stability (Holden et al., 2019). Interestingly, replacing just the initial guess with a GN does not deform the rod or introduces discontinuities at any observed stage of the bending simulation. This means that employing GNs can result in a performance increase without a loss of stability. Furthermore, a GN that only provides initial guesses seems to also generalize to other scenarios. We observed performance improvements for the collision and complex tree case, although the network was never trained on these different rod discretizations and topologies. This indicates that our method is capable to generalize within a specific physical scenario and to a lesser extent to other scenarios.
147
+
148
+ # 5 CONCLUSION
149
+
150
+ We discovered that applying GNs for replacing the initial guess has fundamental advantages over end-to-end approaches. First, our network-enabled solver ensures long-term stability inherited from traditional solvers for physical systems, while improving runtime performance. Second, our approach is able to generalize across different initial conditions, rod discretizations, and material parameters, and it handles discontinuous effects such as collisions. While end-to-end approaches offer more significant speedups, our method is superior in cases where stability is an essential requirement. Our approach to accelerate iterative solvers with GNs opens multiple avenues for future work. For one, it would be interesting to explore mechanical systems describing general deformable (e.g. textiles) or volumetric objects, which have been simulated with PBD. Second, our approach can be applied to other iterative methods, such as in finite elements analysis or in the context of linear complementarity problems (LCP). This would allow us to accelerate physical simulations, when iterative solvers are applied, without compromising stability.
151
+
152
+ # REFERENCES
153
+
154
+ Jernej Barbic and Doug L. James. Real-time subspace integration for st. venant-kirchhoff de- ˇ formable models. ACM Transactions on Graphics, 24(3):982–990, July 2005.
155
+
156
+ Richard Barrett, Michael Berry, Tony F. Chan, James Demmel, June Donato, Jack Dongarra, Victor Eijkhout, Roldan Pozo, Charles Romine, and Henk van der Vorst. Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods, 2nd Edition. SIAM, Philadelphia, PA, 1994.
157
+
158
+ Peter W. Battaglia, Jessica B. Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vin´ıcius Flores Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, C¸ aglar Gulc¸ehre, H. Francis Song, Andrew J. Ballard, Justin Gilmer, George E. Dahl, Ashish ¨ Vaswani, Kelsey R. Allen, Charles Nash, Victoria Langston, Chris Dyer, Nicolas Heess, Daan Wierstra, Pushmeet Kohli, Matthew Botvinick, Oriol Vinyals, Yujia Li, and Razvan Pascanu. Relational inductive biases, deep learning, and graph networks. CoRR, abs/1806.01261, 2018. URL http://arxiv.org/abs/1806.01261.
159
+
160
+ Jan Bender, Kenny Erleben, and Jeff Trinkle. Interactive Simulation of Rigid Body Dynamics in Computer Graphics. Computer Graphics Forum, 33(1):246–270, 2014a.
161
+
162
+ Jan Bender, Matthias Muller, Miguel A. Otaduy, Matthias Teschner, and Miles Macklin. A survey ¨ on position-based simulation methods in computer graphics. Computer Graphics Forum, 33(6): 228–251, 2014b.
163
+
164
+ Jan Bender, Matthias Muller, and Miles Macklin. Position-based simulation methods in computer ¨ graphics. In EUROGRAPHICS 2017 Tutorials. Eurographics Association, 2017.
165
+
166
+ Jens Berg and Kaj Nystrom. A unified deep artificial neural network approach to partial differential ¨ equations in complex geometries. Neurocomputing, 317:28 – 41, 2018.
167
+
168
+ Miklos Bergou, Max Wardetzky, Stephen Robinson, Basile Audoly, and Eitan Grinspun. Discrete ´ elastic rods. ACM Transactions on Graphics, 27(3):63:1–63:12, 2008.
169
+
170
+ Michael B. Chang, Tomer Ullman, Antonio Torralba, and Joshua B. Tenenbaum. A compositional object-based approach to learning physical dynamics. arXiv preprint arXiv:1612.00341, 2016.
171
+
172
+ Mengyu Chu and Nils Thuerey. Data-Driven Synthesis of Smoke Flows with CNN-Based Feature Descriptors. ACM Transactions on Graphics, 36(4), July 2017.
173
+
174
+ Crispin Deul, Tassilo Kugelstadt, Marcel Weiler, and Jan Bender. Direct position-based solver for stiff rods. Computer Graphics Forum, 37(6):313–324, 2018.
175
+
176
+ Gamini Dissanayake and Nhan Phan-Thien. Neural-network-based approximations for solving partial differential equations. Communications in Numerical Methods in Engineering, 10(3):195– 201, 1994.
177
+
178
+ Mathias Eitz and Lixu Gu. Hierarchical spatial hashing for real-time collision detection. IEEE International Conference on Shape Modeling and Applications 2007 (SMI ’07), pp. 61–70, 2007.
179
+
180
+ Stefan Feess, Kathrin Kurfiss, and Dominik L. Michels. Accurate Simulation of Wound Healing and Skin Deformation. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA ’16, pp. 129–137, Goslar, DEU, 2016. Eurographics Association.
181
+
182
+ Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. CoRR, abs/1704.01212, 2017.
183
+
184
+ Radek Grzeszczuk, Demetri Terzopoulos, and Geoffrey Hinton. Neuroanimator: Fast neural network emulation and control of physics-based models. In Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’98, pp. 9–20, New York, NY, USA, 1998. Association for Computing Machinery.
185
+
186
+ Xiaoxiao Guo, Wei Li, and Francesco Iorio. Convolutional neural networks for steady flow approximation. In Proceedings of the 22Nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’16, pp. 481–490, New York, NY, USA, 2016. ACM.
187
+
188
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CoRR, abs/1512.03385, 2015.
189
+
190
+ Daniel Holden, Bang Chi Duong, Sayantan Datta, and Derek Nowrouzezahrai. Subspace neural physics: Fast data-driven interactive simulation. In Proceedings of the 18th Annual ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA ’19, New York, NY, USA, 2019. Association for Computing Machinery.
191
+
192
+ Ruben Ibanez, Domenico Borzacchiello, Jose Vicente Aguado, Emmanuelle Abisset-Chavanne, ˜ Elias Cueto, Pierre Ladeveze, and Francisco Chinesta. Data-driven non-linear elasticity: Constitutive manifold construction and problem discretization. Computational Mechanics, 60(5): 813–826, November 2017.
193
+
194
+ Byungsoo Kim, Vinicius C. Azevedo, Nils Thuerey, Theodore Kim, Markus Gross, and Barbara Solenthaler. Deep fluids: A generative network for parameterized fluid simulations. CGF, 38(2): 59–70, 2019.
195
+
196
+ Byungsoo Kim, Vinicius C. Azevedo, Markus Gross, and Barbara Solenthaler. Lagrangian neural style transfer for fluids. ACM Transaction on Graphics (SIGGRAPH), 2020.
197
+
198
+ Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. arXiv preprint arXiv:1802.04687, 2018.
199
+
200
+ Tassilo Kugelstadt and Elmar Schoemer. Position and orientation based cosserat rods. In Proceedings of the 2016 ACM SIGGRAPH/Eurographics Symposium on Computer Animation. Eurographics Association, 2016.
201
+
202
+ L’ubor Ladicky, SoHyeon Jeong, Barbara Solenthaler, Marc Pollefeys, and Markus Gross. Data- ´ driven fluid simulations using regression forests. ACM Transactions on Graphics, 34(6), 2015.
203
+
204
+ Isaac E. Lagaris, Aristidis Likas, and Dimitrios I. Fotiadis. Artificial neural networks for solving ordinary and partial differential equations. IEEE Transactions on Neural Networks, 9(5):987– 1000, 1998.
205
+
206
+ Guohao Li, Matthias Muller, Ali Thabet, and Bernard Ghanem. DeepGCNs: Can GCNs Go as Deep ¨ as CNNs? In The IEEE International Conference on Computer Vision (ICCV), 2019.
207
+
208
+ Yunzhu Li, Jiajun Wu, Jun-Yan Zhu, Joshua B. Tenenbaum, Antonio Torralba, and Russ Tedrake. Propagation networks for model-based control under partial observation, 2018.
209
+
210
+ Miles Macklin, Matthias Muller, Nuttapong Chentanez, and Tae-Yong Kim. Unified particle physics ¨ for real-time applications. ACM Transactions on Graphics, 33(4), July 2014.
211
+
212
+ Miles Macklin, Matthias Muller, and Nuttapong Chentanez. Xpbd: Position-based simulation of ¨ compliant constrained dynamics. In Proceedings of the 9th International Conference on Motion in Games, MIG ’16, pp. 49–54, New York, NY, USA, 2016. ACM.
213
+
214
+ Dominik L. Michels and Mathieu Desbrun. A Semi-analytical Approach to Molecular Dynamics. Journal of Computational Physics, 303:336 – 354, 2015.
215
+
216
+ Dominik L. Michels, Gerrit A. Sobottka, and Andreas G. Weber. Exponential Integrators for Stiff Elastodynamic Problems. ACM Transactions on Graphics, 33(1):7:1–7:20, 2014.
217
+
218
+ Dominik L. Michels, J. Paul T. Mueller, and Gerrit A. Sobottka. A Physically Based Approach to the Accurate Simulation of Stiff Fibers and Stiff Fiber Meshes. Comput. Graph., 53(PB):136–146, December 2015.
219
+
220
+ Dominik L. Michels, Vu Thai Luan, and Mayya Tokman. A Stiffly Accurate Integrator for Elastodynamic Problems. ACM Transactions on Graphics, 36(4), July 2017.
221
+
222
+ Siddhartha Mishra. A machine learning framework for data driven acceleration of computations of differential equations, 2018.
223
+
224
+ Damian Mrowca, Chengxu Zhuang, Elias Wang, Nick Haber, Li Fei-Fei, Joshua B. Tenenbaum, and Daniel L. K. Yamins. Flexible neural representation for physics prediction, 2018.
225
+
226
+ Matthias Muller, Bruno Heidelberger, Marcus Hennix, and John Ratcliff. Position based dynamics. ¨ Journal of Visual Communication and Image Representation, 18(2):109 – 118, 2007.
227
+
228
+ Andrew Nealen, Matthias Muller, Richard Keiser, Eddy Boxerman, and Mark Carlson. Physically ¨ based deformable models in computer graphics. Computer Graphics Forum, 25(4):809–836, 2006.
229
+
230
+ Dinesh K. Pai. Strands: Interactive simulation of thin solids using cosserat models. Computer Graphics Forum, 21(3):347–352, 2002.
231
+
232
+ Soren Pirk, Michal Jarzabek, Torsten H ¨ adrich, Dominik L. Michels, and Wojciech Palubicki. In- ¨ teractive wood combustion for botanical tree models. ACM Transactions on Graphics, 36(6): 197:1–197:12, November 2017.
233
+
234
+ Maziar Raissi and George Em Karniadakis. Hidden physics models: Machine learning of nonlinear partial differential equations. Journal of Computational Physics, 357:125 – 141, 2018.
235
+
236
+ Maziar Raissi, Paris Perdikaris, and George Em Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686 – 707, 2019.
237
+
238
+ Yousef Saad. Iterative Methods for Sparse Linear Systems. Society for Industrial and Applied Mathematics, USA, 2nd edition, 2003.
239
+
240
+ Alvaro Sanchez-Gonzalez, Nicolas Heess, Jost Tobias Springenberg, Josh Merel, Martin Riedmiller, Raia Hadsell, and Peter Battaglia. Graph networks as learnable physics engines for inference and control, 2018.
241
+
242
+ Alvaro Sanchez-Gonzalez, Victor Bapst, Kyle Cranmer, and Peter Battaglia. Hamiltonian graph networks with ode integrators, 2019.
243
+
244
+ Alvaro Sanchez-Gonzalez, Jonathan Godwin, Tobias Pfaff, Rex Ying, Jure Leskovec, and Peter W. Battaglia. Learning to simulate complex physics with graph networks, 2020.
245
+
246
+ Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, Jan 2009.
247
+
248
+ Sungyong Seo and Yan Liu. Differentiable physics-informed graph networks. CoRR, abs/1902.02950, 2019.
249
+
250
+ Justin Sirignano and Konstantinos Spiliopoulos. Dgm: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339 – 1364, 2018.
251
+
252
+ Jonathan Tompson, Kristofer Schlachter, Pablo Sprechmann, and Ken Perlin. Accelerating eulerian fluid simulation with convolutional networks. CoRR, abs/1607.03597, 2016.
253
+
254
+ Rahul Trivedi, Logan Su, Jesse Lu, Martin F Schubert, and Jelena Vuckovic. Data-driven acceleration of photonic simulations, 2019.
255
+
256
+ Kiwon Um, Xiangyu Hu, and Nils Thuerey. Liquid splash modeling with neural networks, 2017.
257
+
258
+ Nobuyuki Umetani, Ryan Schmidt, and Jos Stam. Position-based elastic rods. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA ’14, pp. 21–30, Aire-la-Ville, Switzerland, Switzerland, 2014. Eurographics Association.
259
+
260
+ Benjamin Ummenhofer, Lukas Prantl, Nils Thuerey, and Vladlen Koltun. Lagrangian fluid simulation with continuous convolutions. In International Conference on Learning Representations, 2020.
261
+
262
+ Huamin Wang, James F. O’Brien, and Ravi Ramamoorthi. Data-driven elastic models for cloth: Modeling and measurement. In ACM SIGGRAPH 2011 Papers, SIGGRAPH ’11, pp. 71:1–71:12, New York, NY, USA, 2011. ACM.
263
+
264
+ Xiaolong Wang, Ross B. Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. CoRR, abs/1711.07971, 2017.
265
+
266
+ Steffen Wiewel, Moritz Becher, and Nils Thuerey. Latent-space physics: Towards learning the temporal evolution of fluid flow. CoRR, abs/1802.10123, 2018.
267
+
268
+ Xiangyun Xiao, Yanqing Zhou, Hui Wang, and Xubo Yang. A novel cnn-based poisson solver for fluid simulation. IEEE Transactions on Visualization and Computer Graphics, 26(3):1454–1465, 2020.
269
+
270
+ # SUPPLEMENTARY MATERIAL
271
+
272
+ DYNAMIC RESULTS
273
+
274
+ ![](images/0b597f1dd7e6c0c813a7a05d75e5ba2bca3c7d5c214676eb06c33d3baf6e7b1a.jpg)
275
+ Figure 8: Illustration of the temporal evolution of scenarios (a) to (d) for the initially straight bending rod, and (e) to (f) for the elastic helix. The different cases represent various material property configurations.
276
+
277
+ In Figure 8 we show the temporal evolution of different scenarios (a) to (d) for the initially straight bending rod, and (e) to (f) for the elastic helix. The default parameters of the initially straight bending rod are $\phi _ { 0 } ~ = ~ 0 ^ { \circ }$ , $N \ = \ 3 0$ , $\ell ~ = ~ 4 . 0 ~ \mathrm { m }$ , and $\dot { Y } ~ = ~ 1 . 0 \cdot 1 0 ^ { 5 } ~ \mathrm { P a }$ . In (a), we modify $\phi _ { 0 } ~ \in ~ \{ 0 . 0 ^ { \circ } , 1 5 . 0 ^ { \circ } , 3 0 . 0 ^ { \circ } , 4 5 . 0 ^ { \circ } \}$ . In (b), we modify $N ~ \in ~ \{ 1 0 , 2 0 , 4 0 , 6 0 \}$ . In (c), we modify $\ell \in \{ 1 . 0 \mathrm { m } , 2 . 0 \mathrm { m } , 3 . 0 \mathrm { m } , 4 . 0 \mathrm { m } ,$ $5 . 0 \mathrm { m } , 6 . 0 \mathrm { m } \}$ . In (d), we modify $Y ~ \in ~ \{ 2 . 0 ~ \cdot$ $1 0 ^ { 4 } \mathrm { P a } , 5 . 0 \cdot 1 \dot { 0 } ^ { 4 } \mathrm { P a } , 1 . \dot { 0 } \cdot 1 0 ^ { 5 } \mathrm { P a } , 2 . 0 \cdot 1 0 ^ { 5 } \mathrm { P a } , 5 . 0 \cdot 1 0 ^ { 5 } \mathrm { P a } , 1 . \dot { 0 } \cdot 1 0 ^ { 6 } \mathrm { P a }$ . The default parameters of the elastic helix are $\mathsf { H } \mathsf { R } \ = \ 0 . 5 \ \mathrm { m }$ (helix radius), $\mathsf { H } \mathsf { H } \ = \ 0 . 5 \ \mathrm { m }$ (helix height), $\mathsf { H W } = 2 . 5$ (winding number), $T \ = \ 1 . 0 \cdot 1 0 ^ { 5 } \mathrm { { \ P a } }$ , and $N ~ = ~ 6 0$ . In (e), we modify $( { \mathsf { H } } { \mathsf { R } } , { \mathsf { H } } { \mathsf { H } } , { \mathsf { H } } { \mathsf { W } } ) \ \in$ $\{ ( 0 . 4 \mathrm { m } , 0 . 4 \mathrm { m } , 2 . 0 \mathrm { m } )$ , $( 0 . 4 \mathrm { m } , 0 . 4 \mathrm { m } , 3 . 0 \mathrm { m } )$ , $( 0 . 5 \mathrm { m } , 0 . 5 \mathrm { m } , 2 . 0 \mathrm { m } )$ , $( 0 . 5 \mathrm { m } , 0 . 5 \mathrm { m } , 3 . 0 \mathrm { m } ) \}$ . In (f), we modify $N \in \{ 3 0 , 6 0 , 8 0 , 1 0 0 \}$ . In (g), we modify $G \in \{ 2 . 0 \cdot 1 0 ^ { 4 } \mathrm { { P a } , 5 . 0 \cdot 1 0 ^ { 4 } \mathrm { { P a } , 1 . 0 \cdot 1 0 ^ { 5 } \mathrm { { P a } , 1 . 0 \cdot } } } $ $1 0 ^ { 6 } \mathrm { P a } \}$ . For each experiment, the rod colors indicate the corresponding parameters in the following (ascending) order: blue, orange, green, red, purple, brown.
278
+
279
+ Dynamic results of our graph learning assisted simulations can be found in the video
280
+
281
+ GraphLearningPhysicalSystems.mp4 (2:20 min, 20.6 MB, $1 9 2 0 \times 1 0 8 0$ , H.264)
282
+
283
+ provided as additional supplementary material. These results are obtained by employing three GN blocks, two MLP layers, and a MLP width of 32. Parameters have been used which are are not covered within the training dataset.
284
+
285
+ Moreover, to further demonstrate general applicability, Figure 9 shows an additional simulation of a tightening knot for which COPINGNet-based PBD shows a total speedup of $1 0 . 4 \%$ compared to vanilla PBD. COPINGNet is trained using a dataset containing 20 simulations of the same knot scenario with different discretizations over 100 frames. It can clearly be observed that COPINGNet generalizes beyond the training data.
286
+
287
+ ![](images/6752cbda86a8300a84044c3b5b500309708fa2e4efd317ebbb30644ecd988263.jpg)
288
+ Figure 9: Illustration of the temporal evolution of a knot scenario. The rod is fixed at both ends and the knot is pulled tight. The predicted results by end-to-end COPINGNet-based learning are shown in red while the results computed with COPINGNet-assisted PBD are shown in black. The visualization of the last frame contains a close-up to demonstrate that the knot structure is still preserved. The rod parameters are $N = 1 1 0$ , $R = 0 . 0 1 { \mathrm { m } }$ , $\ell = 1 1 . 0 \mathrm { m }$ , and $Y = T = 1 . 0 \cdot 1 0 ^ { 4 } \mathrm { P a }$ .
289
+
290
+ Figure 10 illustrates the temporal evolution of a bending rod and elastic helix scenarios using different approaches. For the bending rod case, the parameters $\phi _ { 0 } = 0 ^ { \circ }$ , $N = 3 0$ , $\ell = 4 . 0 ~ \mathrm { m }$ , and $Y = 1 . { \overset { \underset { \textstyle \star } { } } { 0 } } \cdot 1 0 ^ { 5 }$ Pa are used. In the helix case, $\mathsf { H R } = 0 . 5 \ : \mathrm { m }$ (helix radius), $\mathsf { H H } = 0 . 5 \ : \mathrm { m }$ (helix height), $\mathsf { H W } = 2 . 5$ (winding number), $T = 1 . 0 \cdot 1 0 ^ { 5 } ~ \mathrm { P }$ a, and $N = 6 0$ were applied. The temporal evolution of the positions’ normalized root mean square error (NRMSE) is shown in Figure 11.
291
+
292
+ ![](images/b3bcd2519c63fdba03741161d6ac7115740fe4407ef7cdce2603dadb5e9a83d0.jpg)
293
+ Figure 10: Illustration of the temporal evolution of bending rod (upper row) and elastic helix (lower row) scenarios simulated using our COPINGNet-assisted PBD approach (blue curves), vanilla PBD (orange dotted curves), $k$ -NN-based end-to-end learning (purple curves) and GN-based end-to-end learning (green curves). While the COPINGNet-assisted approach and the vanilla PBD solver allow us to simulate both cases in a stable manner, both end-to-end learning approaches diverge with increasing time due to error accumulation.
294
+
295
+ ![](images/7af2ff4964c586a7b2b5eec02829443f3cf76cb9efa13d93aaa05b1cafb91ed6.jpg)
296
+ Figure 11: Illustration of the positions’ normalized root mean square error (NRMSE) compared to vanilla PBD using our COPINGNet-assisted PBD approach (blue curves), $k$ -NN-based end-toend learning (purple curves), and GN-based end-to-end learning (green curves) for the bending rod (left) and the elastic helix (right) scenarios. While the COPINGNet-assisted PBD approach converges to an almost correct solution, both end-to-end learning approaches show large error rates with increasing time frame number.
297
+
298
+ # ARCHITECTURE
299
+
300
+ The evaluation of COPINGNet’s architecture, introduced in Section 3.2, is presented in Figure 12. The performance is studied for different numbers of GN-blocks and MLP layers, and different MLP widths (latent sizes). The measurements demonstrate that a larger number of GN-blocks usually increases the performance while the performance improvement is not longer significant for more than four GN-blocks. This is plausible and can be considered analogously to the size of the stencil of a numerical integrator: a larger number of GN-blocks means that a specific node can take advantage of information gained from neighbourhoods further away. Correspondingly, a larger stencil can do so as well. However, increasing the size of the stencil usually does not result in more accurate results once the critical size is reached. This can be observed here as well. In contrast, it can be clearly observed that deeper MLP networks do not improve the performance. This is consistent with other research on graph networks (Sanchez-Gonzalez et al., 2020). However, increasing the MLP width can increase the network’s ability to generalize. It is shown that the highest performance is achieved with the largest MLP width, especially in the case of the helix scenarios. Since increasing the number of GN-blocks and MLP width will lead to longer inference time, we compromise by choosing medium numbers. For further evaluations, we employ three GN-blocks, two MLP layers, and a MLP width of 32.
301
+
302
+ ![](images/f63ca5cbc4111c5cfe5f36c2ca8872b766dd5b0361615dbc9bd1b72442468255.jpg)
303
+ Figure 12: Illustration of the evaluation of COPINGNet’s architecture (blue: benchmark architecture). The result is averaged from 50 test simulations each running for 100 time steps.
304
+
305
+ $k$ -NEAREST NEIGHBOR ALGORITHM
306
+
307
+ For evaluation purposes, we also incorporated the $k$ -nearest neighbor ( $k$ -NN) algorithm into our framework to compute an initial guess for the constraint projection step.
308
+
309
+ Consider a $k$ -NN data point $( \bf x _ { i } , \bf y _ { i } )$ . Its components contain node and edge feature information:
310
+
311
+ $$
312
+ \begin{array} { r } { \mathbf { x } _ { i } = ( \mathbf { v } _ { \mathrm { i n } , i } , \mathbf { e } _ { \mathrm { i n } , i _ { k } } , \ldots ) ^ { \mathsf { T } } , \mathbf { y } _ { i } = ( \mathbf { v } _ { \mathrm { o u t } , i } , \mathbf { e } _ { \mathrm { o u t } , i _ { k } } , \ldots ) ^ { \mathsf { T } } , k \in \mathbb { N } _ { 0 } . } \end{array}
313
+ $$
314
+
315
+ Simulation data is collected to form a dataset $\left\{ \left( \mathbf { x } _ { i } , \mathbf { y } _ { i } \right) \right\}$ . During inference, the nearest $k$ data points of $\mathbf { x } _ { i } ^ { * }$ are picked and linear interpolations are performed to obtain the predicted $\mathbf { y } _ { i } ^ { * }$ .
316
+
317
+ For each input node feature $\mathbf { v } _ { \mathrm { i n } , i } ^ { * }$ , we obtain the corresponding output node feature $\tilde { \mathbf { v } } _ { \mathrm { o u t } , i } = \mathbf { v } _ { \mathrm { o u t } , i } ^ { * }$ The output edge feature is averaged from the information of the corresponding component $\mathbf { y } _ { j } ^ { * }$ :
318
+
319
+ $$
320
+ \tilde { \mathbf { e } } _ { \mathrm { o u t } , i } = \frac { 1 } { M } \sum _ { j } \mathbf { e } _ { \mathrm { o u t } , j _ { k } } ^ { * } ,
321
+ $$
322
+
323
+ in which $M$ denotes the number of nodes.
324
+
325
+ The $k$ -NN algorithm is applied as an end-to-end method completely replacing constraint projection or to predict an initial guess.
parse/train/v2tmeZVV9-c/v2tmeZVV9-c_content_list.json ADDED
@@ -0,0 +1,1672 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "ACCURATELY SOLVING ROD DYNAMICS WITH GRAPH LEARNING ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 55,
9
+ 656,
10
+ 103
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 184,
19
+ 127,
20
+ 398,
21
+ 155
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 152,
32
+ 544,
33
+ 167
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Iterative solvers are widely used to accurately simulate physical systems. These solvers require initial guesses to generate a sequence of improving approximate solutions. In this contribution, we introduce a novel method to accelerate iterative solvers for rod dynamics with graph networks (GNs) by predicting the initial guesses to reduce the number of iterations. Unlike existing methods that aim to learn physical systems in an end-to-end manner, our approach guarantees longterm stability and therefore leads to more accurate solutions. Furthermore, our method improves the run time performance of traditional iterative solvers for rod dynamics. To explore our method we make use of position-based dynamics (PBD) as a common solver for physical systems and evaluate it by simulating the dynamics of elastic rods. Our approach is able to generalize across different initial conditions, discretizations, and realistic material properties. We demonstrate that it also performs well when taking discontinuous effects into account such as collisions between individual rods. Finally, to illustrate the scalability of our approach, we simulate complex 3D tree models composed of over a thousand individual branch segments swaying in wind fields. ",
40
+ "bbox": [
41
+ 233,
42
+ 183,
43
+ 764,
44
+ 404
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 436,
55
+ 336,
56
+ 452
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "The numeric simulation of a dynamic system commonly comprises the derivation of the mathematical model given by the underlying differential equations and their integration forward in time. In the context of physics-based systems, the mathematical model is usually based on first principles and depending on the properties of the simulated system, the numerical integration of a complex system can be very resource demanding (Nealen et al., 2006), e.g., hindering interactive applications. Enabled by the success of deep neural networks to serve as effective function approximators, researchers recently started investigating the applicability of neural networks for simulating dynamic systems. While many physical phenomena can well be described within fixed spatial domains (e.g., in fluid dynamics) that can be learned with convolutional neural network (CNN) architectures (Chu & Thuerey, 2017; Guo et al., 2016; Tompson et al., 2016; Xiao et al., 2020), a large range of physical systems can more naturally be represented as graphs. Examples include systems based on connected particles (Muller et al., 2007), coupled oscillators (Michels & Desbrun, 2015; Michels et al., 2014), ¨ or finite elements (Nealen et al., 2006). Existing methods enable learning these systems often in an end-to-end manner and with a focus on replacing the entire or a part of the integration procedure. A number of methods show initial success in approximating physical systems; however, they often fail to reliably simulate the state of a system over longer time horizons if significant disadvantages are not accepted, such as the use of large datasets containing long-term simulations and the employment of specific memory structures (Sanchez-Gonzalez et al., 2020). ",
63
+ "bbox": [
64
+ 174,
65
+ 459,
66
+ 825,
67
+ 708
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "In this paper, we aim to improve the performance of iterative solvers for physical systems with graph networks (GN). An iterative solver requires an initial guess, and based on it generates a sequence of improving approximate solutions. The initial guess can be computed by simply using values obtained in the previous iteration or by solving a few steps of a similar but simpler physical system. The performance of an iterative solver is significantly influenced by the calculation of the initial guess, which we aim to replace with the prediction of a GN. To demonstrate our approach, we use a position-based dynamics (PBD) solver that approximates physical phenomena by using sets of connected vertices (Bender et al., 2017; 2014b; Macklin et al., 2016; Muller et al., 2007). To ¨ simulate a physical system, PBD first computes updated locations of vertices using symplectic Euler integration to then correct the initial position estimates so as to satisfy a set of predefined constraints. The correction step is known as constraint projection and is commonly solved iteratively. The explicit forward integration for predicting the system’s updated state has negligible cost, whereas the projection step is computationally expensive. Our goal is to employ a GN to predict the outcome of the constraint projection step as an initial guess. This way, our approach inherits the long-term stability of a classic PBD solver, while providing better run-time performance. ",
74
+ "bbox": [
75
+ 174,
76
+ 715,
77
+ 825,
78
+ 924
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/66d9183e801abcbe38f01980eb6475c1e896e2ffa8061ae8d4129f00236e3887.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Renderings taken from real-time simulations of the elastic deformation of a helix falling down on the ground plane (left) and two rods colliding with each other (right). "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 176,
91
+ 50,
92
+ 823,
93
+ 117
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "To showcase the capabilities of our combined PBD solver, we aim to simulate the physically plausible mechanics of elastic rods. Rods play an important role for a variety of application domains, ranging from surgical simulation of sutures (Feess et al., 2016), catheters, and tendons (Pai, 2002), to human hair (Michels et al., 2015) and vegetation (Pirk et al., 2017) in animated movies. Furthermore, approaches exist to realistically simulate rods as sets of connected vertices accurately capturing their mechanical properties (Bergou et al., 2008; Kugelstadt & Schoemer, 2016; Michels et al., 2015; Pai, 2002). Our approach is able to generalize across different initial conditions, rod discretizations, and realistic material parameters such as Young’s modulus and torsional modulus (Deul et al., 2018). Moreover, we demonstrate that our approach can handle discontinuous collisions between individual rods. Figure 1 shows examples of elastic rod deformations of a helix falling down (left) and two colliding rods (right). Finally, we show that the data-driven prediction of the initial guesses of the constraint projection leads to a decreased number of required iterations, which – in turn – results in a significant increase of performance compared to canonical initial guesses. ",
100
+ "bbox": [
101
+ 174,
102
+ 156,
103
+ 825,
104
+ 337
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "In summary, our contributions are: (1) we show how to accelerate iterative solvers with GNs; (2) we show that our network-enabled solver ensures long-term stability required for simulating physical systems; (3) we showcase the effectiveness of our method by realistically simulating elastic rods; (4) we demonstrate accuracy and generalizability of our approach by simulating different scenarios and various mechanical properties of rods including collisions and complex topologies (dynamic tree simulations). ",
111
+ "bbox": [
112
+ 174,
113
+ 344,
114
+ 825,
115
+ 428
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "2 RELATED WORK ",
122
+ "text_level": 1,
123
+ "bbox": [
124
+ 176,
125
+ 434,
126
+ 346,
127
+ 449
128
+ ],
129
+ "page_idx": 1
130
+ },
131
+ {
132
+ "type": "text",
133
+ "text": "In the following we provide an overview of the related work, which spans from data-driven physics simulations and graph learning to position-based dynamics and elastic rods. ",
134
+ "bbox": [
135
+ 174,
136
+ 452,
137
+ 821,
138
+ 479
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "Data-driven Physics Simulations. It has been recognized that neural networks can be used as effective function approximators for physical and dynamic systems. To this end, early approaches focus on emulating the dynamics of physics through learned controllers (Grzeszczuk et al., 1998) or by designing subspace integrators (Barbic & James, 2005). Today, a range of approaches exist that enable ˇ learning ordinary and partial differential equations (Lagaris et al., 1998; Raissi et al., 2019; Raissi & Karniadakis, 2018), for example, to transform them into optimization problems (Dissanayake & Phan-Thien, 1994), to accelerate their computation (Mishra, 2018; Sirignano & Spiliopoulos, 2018), or to solve for advection and diffusion in complex geometries (Berg & Nystrom, 2018). ¨ Other methods focus on specific data-driven solutions for non-linear elasticity (Ibanez et al., 2017), ˜ for approximating Maxwell’s equation in photonic simulations (Trivedi et al., 2019), or for animating cloth (Wang et al., 2011), partially focusing on interactive applications (Holden et al., 2019). More recently, research on data-driven approaches for modeling the intricacies of fluid dynamics has gained momentum (Ladicky et al., 2015; Ummenhofer et al., 2020). Due to fixed-size spatial rep- ´ resentation of Eulerian fluid solvers, a number of approaches rely on CNN-type architectures (Chu & Thuerey, 2017; Guo et al., 2016; Tompson et al., 2016; Xiao et al., 2020). Furthermore, it has been shown that data-driven approaches can even be used to approximate the temporal evolution of fluid flows (Wiewel et al., 2018), to compute liquid splashing (Um et al., 2017), artistic styletransfer (Kim et al., 2020), or to derive fluid dynamics from reduced sets of parameters (Kim et al., 2019). ",
145
+ "bbox": [
146
+ 174,
147
+ 486,
148
+ 825,
149
+ 750
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Graph-based Learning. Graphs have proven to be a powerful representation for learning a wide range of tasks (Battaglia et al., 2018; Scarselli et al., 2009). In particular, it has been shown that graphs enable learning knowledge representations (Kipf et al., 2018), message passing (Gilmer et al., 2017), or to encode long-range dependencies, e.g., as found in video processing (Wang et al., 2017). A variety of methods uses graph-based representations to learn properties of dynamic physical systems, e.g. for climate prediction (Seo & Liu, 2019), with an emphasis on individual objects (Chang et al., 2016) and their relations (Sanchez-Gonzalez et al., 2018), for partially observable systems (Li et al., 2018), the prevalent interactions within physical systems (Kipf et al., 2018), hierarchically-organized particle systems (Mrowca et al., 2018), or – more generally – physical simulation (Sanchez-Gonzalez et al., 2019; 2020). While many of the existing approaches learn the time integration of physical systems in an end-to-end manner, we use a graph network to predict the outcome of a PBD solver for rod dynamics to enable more efficient computations. ",
156
+ "bbox": [
157
+ 173,
158
+ 757,
159
+ 825,
160
+ 924
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "image",
166
+ "img_path": "images/43792af9bed5d0f27d102a89cfeb714f437c3c4218295dc2fb7b707853997e9d.jpg",
167
+ "image_caption": [
168
+ "Figure 2: Illustration of the discretization of a single rod using several rod segments arranged along its centerline (left). Each rod segment is described by its position and orientation within the generalized coordinates $\\mathbf { p } _ { i }$ . The Lagrange multipliers $\\lambda _ { i }$ represent the interaction between rod segments. The forward integration path is illustrated in red (middle) and constraint projection in green (right). "
169
+ ],
170
+ "image_footnote": [],
171
+ "bbox": [
172
+ 174,
173
+ 51,
174
+ 821,
175
+ 133
176
+ ],
177
+ "page_idx": 2
178
+ },
179
+ {
180
+ "type": "text",
181
+ "text": "Position-based Dynamics and Elastic Rods. PBD is a robust and efficient approach for simulating position changes of connected sets of vertices (Bender et al., 2017; 2014b; Macklin et al., 2016; Muller et al., 2007). Compared to forced-based methods that compute the force directly, the inter- ¨ action between different vertices in PBD is realized by a constraint projection step in an iterative manner. To avoid the dependency of the system’s stiffness on the number of iterations and the time step size, an extended position-based dynamics approach was introduced (XPBD) (Macklin et al., 2016). A number of methods exist that model the dynamic properties of rods that can even simulate more complicated rod mechanics (Pai, 2002). Moreover, particle systems were employed to simulate the dynamics of rods (Michels et al., 2017) and, in particular, for the physically accurate simulation of thin fibers (Michels et al., 2015) such as present in human hair or textiles. On a different trajectory, it has been recognized that rods can be simulated based on PBD (Umetani et al., 2014). The initial formulation was improved (Kugelstadt & Schoemer, 2016) by including the orientation of rod segments in the system’s state to account for torsion effects. Later, the XPBD framework was utilized (Deul et al., 2018) to address the non-physical influence of iteration numbers and steps sizes, which enables the more accurate simulation of elastic rods. ",
182
+ "bbox": [
183
+ 174,
184
+ 199,
185
+ 825,
186
+ 406
187
+ ],
188
+ "page_idx": 2
189
+ },
190
+ {
191
+ "type": "text",
192
+ "text": "3 METHODOLOGY ",
193
+ "text_level": 1,
194
+ "bbox": [
195
+ 176,
196
+ 421,
197
+ 341,
198
+ 436
199
+ ],
200
+ "page_idx": 2
201
+ },
202
+ {
203
+ "type": "text",
204
+ "text": "We propose a novel approach to simulate the temporal evolution of a dynamic system which consists of elastic rods. Each rod is discretized using several rod segments arranged along its centerline (Figure 2). For each rod segment, its state is described by its position, orientation, velocity and angular velocity. The state of the system is given as the set of the individual states of all rod segments. The simulation is carried out by employing PBD (Muller et al., 2007) directly manipulating the sys- ¨ tem’s state. Orientations are represented as quaternions allowing for a convenient implementation of bending and twisting effects (Kugelstadt & Schoemer, 2016). Extended PBD (XPBD) (Macklin et al., 2016) is implemented to avoid that the rods’ stiffnesses depends on the time step size and the number of iterations (Deul et al., 2018). ",
205
+ "bbox": [
206
+ 173,
207
+ 441,
208
+ 825,
209
+ 565
210
+ ],
211
+ "page_idx": 2
212
+ },
213
+ {
214
+ "type": "text",
215
+ "text": "The generalized coordinates of a rod segment $i$ at time $t$ is given by $\\mathbf { p } _ { i , t } \\in \\mathbb { R } ^ { 3 } \\times \\mathbb { H }$ , which includes its position $\\mathbf { x } _ { i , t } \\in \\mathbb { R } ^ { 3 }$ given in Cartesian coordinates and its orientation described by a quaternion $\\mathbf { q } _ { i , t } \\in \\mathbb { H }$ . Correspondingly, $\\boldsymbol { v } _ { i , t } \\in \\mathbb { R } ^ { 6 }$ refers to the generalized velocity of the rod segment, which includes velocity and angular velocity. The system is continuously updated during the simulation by applying corrections $\\bar { \\Delta } \\mathbf { p } _ { i } = ( \\Delta \\mathbf { x } _ { i } , \\Delta \\phi _ { i } ) ^ { \\mathsf { T } } \\in \\mathbb { R } ^ { 6 }$ with position shifts $\\Delta \\mathbf { x } _ { i } \\in \\mathbb { R } ^ { 3 }$ and orientation shifts $\\bar { \\Delta { \\phi _ { i } } } \\in \\mathbb { R } ^ { 3 }$ representing the integration of the angular velocity.1 ",
216
+ "bbox": [
217
+ 174,
218
+ 566,
219
+ 825,
220
+ 651
221
+ ],
222
+ "page_idx": 2
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "A single time integration step is presented in Algorithm 1. In the beginning (lines 1 to 4), generalized velocity and generalized coordinates are updated by employing a symplectic Euler integration step. In this regard, $\\mathbf { a } _ { \\mathrm { e x t } }$ denotes the generalized acceleration due to the external net force, e.g., given by gravity. XPBD (Macklin et al., 2016) employs the Lagrange multiplier $\\boldsymbol { \\lambda }$ which is initialized as zero (line 5) along with the integrated generalized coordinates $\\mathbf { p } ^ { * }$ . Collision detection results are stored in $\\mathbf { C o l l } _ { \\mathrm { r - r } }$ and $\\mathbf { C o l l } _ { \\mathrm { r - p } }$ (line 6), where $\\mathbf { C o l l } _ { \\mathrm { r - r } }$ includes all the pairs of two rod segments that potentially collide with each other and $\\mathbf { C o l l } _ { \\mathrm { r - p } }$ includes information of all rod segments that potentially collide with another object such as a plane. Within several solver iterations, we alternate between rod constraint projection and the collision constrain projection (lines 7 to 15). The rod constraints include shear-stretch and bend-twist constraints representing the corresponding elastic energy. The Lagrange multiplier represents the interaction between rod segments. Figure 2 illustrated the discretization for a single rod into several interacting segments. The correction values $\\Delta \\mathbf { p }$ and $\\Delta \\lambda$ in line 9 are computed by constraint projection (Deul et al., 2018; Kugelstadt & Schoemer, 2016). The generalized coordinates and Lagrange multipliers are updated for each rod (lines 8 to 12), and rodrod and rod-plane collisions are addressed to update the generalized coordinates. For details about the collision projection procedure, we refer to Macklin et al. (2014). For the non-collision case, the steps within line 6 and 13 are not needed. ",
227
+ "bbox": [
228
+ 173,
229
+ 652,
230
+ 825,
231
+ 886
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "Algorithm 1 Numerical integration procedure updating $\\mathbf { p } _ { i , t } \\mapsto \\mathbf { p } _ { i , t + \\Delta t }$ and $\\begin{array} { r } { \\pmb { v } _ { i , t } \\mapsto \\pmb { v } _ { i , t + \\Delta t } } \\end{array}$ . ",
238
+ "bbox": [
239
+ 173,
240
+ 103,
241
+ 779,
242
+ 119
243
+ ],
244
+ "page_idx": 3
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "1: for all rod segments do \n2: $\\pmb { v } _ { i } ^ { * } \\gets \\pmb { v } _ { i , t } + \\Delta t \\mathbf { a } _ { \\mathrm { e x t } }$ \n3: $\\mathbf { p } _ { i } ^ { * } \\gets \\mathbf { p } _ { i , t } + \\Delta t \\ \\mathbf { H } ( \\mathbf { q } _ { i , t } ) \\mathbf { \\sigma } _ { i } ^ { * }$ with $\\mathbf { H } ( \\mathbf { q } _ { i , t } ) : = \\left[ \\mathbf { 1 } _ { 3 \\times 3 } , \\mathbf { 0 } _ { 3 \\times 3 } ; \\mathbf { 0 } _ { 4 \\times 3 } , \\mathbf { G } ( \\mathbf { q } _ { i , t } ) \\right]$ \n4: end for \n5: $\\pmb { \\lambda } ^ { 0 } \\mathbf { 0 } , \\mathbf { p } ^ { 0 } \\mathbf { p } ^ { * }$ \n6: $\\mathrm { ( C o l l _ { r \\mathrm { - } r } , C o l l _ { r \\mathrm { - } p } ) }$ generateCollisionConstraints $( \\mathbf { p } , \\mathbf { p } ^ { * } )$ \n7: for $j 0$ to number of required solver iterations do \n8: for all rods do \n9: $\\begin{array} { l } { ( \\Delta \\mathbf { p } , \\Delta \\pmb { \\lambda } ) \\mathsf { r o d C } } \\\\ { \\lambda ^ { j + 1 } \\lambda ^ { j } + \\Delta \\pmb { \\lambda } } \\\\ { \\mathbf { p } ^ { j + 1 } \\mathbf { p } ^ { j } + \\Delta \\mathbf { p } } \\end{array}$ onstraintProjection $( \\mathbf { p } ^ { j } , \\lambda ^ { j } )$ \n10: \n11: \n12: end for \n13: $\\mathbf { p } ^ { j + 1 } $ updateCollisionConstraintProjection $( \\mathbf { p } ^ { j + 1 } , \\mathbf { C o l l } _ { \\mathrm { r - r } } , \\mathbf { C o l l } _ { \\mathrm { r - p } } )$ \n14: $j \\gets j + 1$ \n15: end for \n16: for all rod segments do \n17: $\\begin{array} { r l } & { \\mathbf { p } _ { i , t + \\Delta t } \\mathbf { p } _ { i } ^ { j } } \\\\ & { \\mathbf { \\delta } \\mathbf { { \\sigma } } \\mathbf { { v } } _ { i , t + \\Delta t } \\mathbf { H } ^ { \\top } ( \\mathbf { q } _ { i , t } ) ( \\mathbf { p } _ { i , t + \\Delta t } - \\mathbf { p } _ { i , t } ) / \\Delta t } \\end{array}$ \n18: \n19: end for ",
249
+ "bbox": [
250
+ 174,
251
+ 121,
252
+ 771,
253
+ 359
254
+ ],
255
+ "page_idx": 3
256
+ },
257
+ {
258
+ "type": "image",
259
+ "img_path": "images/1568f99e63d0de48aa59add5ada4bf6c639c6b83fad06ae80808b98bf25bb205.jpg",
260
+ "image_caption": [
261
+ "Figure 3: Illustration of our approach incorporating a network which consists of $M$ graph networks (GN-blocks) into the position-based dynamics framework. "
262
+ ],
263
+ "image_footnote": [],
264
+ "bbox": [
265
+ 174,
266
+ 367,
267
+ 823,
268
+ 512
269
+ ],
270
+ "page_idx": 3
271
+ },
272
+ {
273
+ "type": "text",
274
+ "text": "The most expensive part of Algorithm 1 involves the computation of the corrections of generalized coordinates and Lagrange multipliers (line 9). This projection step requires the solution of a linear system which is a linearization of a non-linear one so that the matrix depends on the system’s state making it impossible to precompute its inverse. Instead, a new system at every point in time is solved iteratively using the conjugated gradient (CG) solver. Such iterative solvers are widely used in the context of physical simulations and regularly described as the de facto standard (Barrett et al., 1994; Saad, 2003) since they often show superior performance and usually scale well allowing for exploiting parallel hardware. However, we would like to point out that also highly efficient direct solvers can be found in the literature (Deul et al., 2018). ",
275
+ "bbox": [
276
+ 173,
277
+ 570,
278
+ 825,
279
+ 696
280
+ ],
281
+ "page_idx": 3
282
+ },
283
+ {
284
+ "type": "text",
285
+ "text": "Instead of fully replacing the projection step in an end-to-end learning manner, we follow the strategy of accelerating it by first computing a guess ",
286
+ "bbox": [
287
+ 171,
288
+ 703,
289
+ 821,
290
+ 732
291
+ ],
292
+ "page_idx": 3
293
+ },
294
+ {
295
+ "type": "equation",
296
+ "img_path": "images/82df0370a7624d0375b2a60ca1a031889150f92f2dfc0e759f6ec8859b7d7991.jpg",
297
+ "text": "$$\n( \\Delta \\mathbf { p } ^ { 0 } , \\Delta \\lambda ^ { 0 } ) \\gets \\mathsf { c o r r e c t i o n } \\mathsf { G u e s s } ( \\mathbf { p } ^ { j } ) ,\n$$",
298
+ "text_format": "latex",
299
+ "bbox": [
300
+ 370,
301
+ 739,
302
+ 625,
303
+ 758
304
+ ],
305
+ "page_idx": 3
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "for the iterative procedure (line 9) ",
310
+ "bbox": [
311
+ 174,
312
+ 768,
313
+ 397,
314
+ 782
315
+ ],
316
+ "page_idx": 3
317
+ },
318
+ {
319
+ "type": "equation",
320
+ "img_path": "images/fe78d41afdd3dc7225498e866362b5cbf6ba935df53cd97090affc3ef9c80f7c.jpg",
321
+ "text": "$$\n( \\Delta { \\bf p } , \\Delta \\lambda ) \\gets \\mathrm { r o d } { \\sf C o n s t r a i n t P r o j e c t i o n } ( { \\bf p } ^ { j } , \\lambda ^ { j } , \\Delta { \\bf p } ^ { 0 } , \\Delta \\lambda ^ { 0 } ) .\n$$",
322
+ "text_format": "latex",
323
+ "bbox": [
324
+ 299,
325
+ 790,
326
+ 699,
327
+ 810
328
+ ],
329
+ "page_idx": 3
330
+ },
331
+ {
332
+ "type": "text",
333
+ "text": "A neural network is employed to compute the initial guess in Eq. (1) for the constraint projection. The motivation for this approach is to reduce the number of iterations required for the convergence of the CG solver which solves the linear system in Eq. (2) compared to the canonical initialization with zeros. We obtain our final framework by replacing line 9 in Algorithm 1 with Eq. (1) and Eq. (2) as illustrated in Figure 3, which is inherently as accurate as the traditional PBD method. We name the data-driven part COPINGNet (“COnstraint Projection INitial Guess Network”) which learns to compute the correction guess. ",
334
+ "bbox": [
335
+ 173,
336
+ 827,
337
+ 825,
338
+ 925
339
+ ],
340
+ "page_idx": 3
341
+ },
342
+ {
343
+ "type": "text",
344
+ "text": "3.1 GRAPH ENCODING ",
345
+ "text_level": 1,
346
+ "bbox": [
347
+ 176,
348
+ 103,
349
+ 346,
350
+ 117
351
+ ],
352
+ "page_idx": 4
353
+ },
354
+ {
355
+ "type": "text",
356
+ "text": "COPINGNet is a graph network based architecture which we apply in order to compute initial guesses for $\\Delta \\mathbf { p }$ and $\\Delta \\lambda$ . In this regard, we need to incorporate the rods’ state into a graph description (Battaglia et al., 2018). A graph $G = ( V , E , U )$ usually consists of nodes (or vertices) $V$ , edges $E$ as well as global features $U$ . However, in our framework, global features $U$ are not used. For example, gravity could be a potentially meaningful global feature, but it also can be easily included as an external acceleration. Hence, $U = \\emptyset$ and the graph can just be represented as $G = G ( V , E )$ . In our case, the rods’ segments within the scene are represented by the graph’s nodes while the interactions between the rods’ segments are represented by the edges. ",
357
+ "bbox": [
358
+ 173,
359
+ 126,
360
+ 825,
361
+ 237
362
+ ],
363
+ "page_idx": 4
364
+ },
365
+ {
366
+ "type": "text",
367
+ "text": "COPINGNet provides a graph-to-graph mapping: $\\mathbb { G } ^ { \\mathrm { { i n } } } \\xrightarrow { } \\mathbb { G } ^ { \\circ \\mathbf { u t } }$ , from an input graph $G _ { \\mathrm { i n } } \\in \\mathbb { G } ^ { \\mathrm { i n } }$ to an output graph $G _ { \\mathsf { o u t } } \\in \\mathbb { G } ^ { \\mathsf { o u t } }$ . Nodes and edges of both graphs are equipped with specific features. In the case of the input graph, the node features describe the state of the rods’ segments, i.e. ",
368
+ "bbox": [
369
+ 176,
370
+ 237,
371
+ 823,
372
+ 279
373
+ ],
374
+ "page_idx": 4
375
+ },
376
+ {
377
+ "type": "text",
378
+ "text": "in which the positions are denoted with $\\mathbf { x } _ { i } ~ \\in ~ \\mathbb { R } ^ { 3 }$ , the orientations with $\\mathbf { q } _ { i } ~ \\in ~ \\mathbb { H }$ , the radii with $r _ { i } ~ \\in \\mathbb { R } ^ { > 0 }$ , the densities with $\\rho _ { i } \\in \\mathbb { R } ^ { > 0 }$ , and the segment lengths with $\\bar { \\ell _ { i } } \\ \\in \\ \\mathbb { R } ^ { > 0 }$ . Moreover, a segment position indicator $\\alpha _ { i } \\in [ 0 , 1 ] \\ \\subset \\ \\mathbb { R }$ is included corresponding to a parameterization by arc length.2 Binary segment flag $\\mathsf { \\bar { f } } _ { 0 _ { i } } \\in \\{ 0 , 1 \\}$ , “left” end flag $f _ { 1 _ { i } } \\in \\{ 0 , 1 \\}$ and “right” end flag $f _ { 2 _ { i } } \\in \\{ 0 , 1 \\}$ are set to zero if the specific segment respectively the left or right segment of the rod is fixed and to one otherwise. The nodes of $G _ { \\mathrm { i n } }$ are given as the set of $V _ { \\mathfrak { i n } } = \\mathbf { \\bar { \\cup } } _ { i = 1 } ^ { n } \\bar { \\left\\{ \\mathbf { v } _ { \\mathfrak { i n } , i } \\right\\} }$ , in which $n = | V _ { \\mathsf { i n } } |$ denotes the number of segments in the scene. The nodes of $G _ { \\mathsf { o u t } }$ contain the correction values of the generalized coordinates, i.e. ",
379
+ "bbox": [
380
+ 173,
381
+ 297,
382
+ 825,
383
+ 409
384
+ ],
385
+ "page_idx": 4
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "While rod segments are represented as node features, we represent constraints between rod segments as edge features: $\\mathbf { e } _ { \\mathsf { i n } , i } = ( \\omega _ { i } , _ { \\mathsf { e } } ^ { } , T _ { i } ^ { \\mathsf { T } } ) ^ { \\mathsf { T } } \\in \\mathbb { E } ^ { \\mathsf { i n } } \\subseteq \\mathbb { R } ^ { 5 }$ , ",
390
+ "bbox": [
391
+ 181,
392
+ 426,
393
+ 821,
394
+ 457
395
+ ],
396
+ "page_idx": 4
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "in which the (rest) Darboux vector $\\omega \\in \\mathbb { R } ^ { 3 }$ describes the static angle of two rod segments, and Young’s modulus $Y ~ \\in ~ \\mathbb { R } ^ { > 0 }$ and torsion modulus $T ~ \\in ~ \\mathbb { R } ^ { > 0 }$ are corresponding to extension, bending, and twist constraint parameters. The set of edges of the input graph is then given by $E _ { \\mathsf { i n } } = \\mathsf { \\bar { U } } _ { i = 1 } ^ { m } \\{ \\mathbf { e _ { i \\mathsf { n } , i } } \\}$ , in which $m = \\vert E _ { \\mathrm { i n } } \\vert$ denotes the number of interactions between different segments. The correction of the Lagrange multiplier $\\Delta \\lambda _ { i } \\in \\mathbb { R } ^ { 6 }$ is stored in the output edges: ",
401
+ "bbox": [
402
+ 173,
403
+ 460,
404
+ 825,
405
+ 530
406
+ ],
407
+ "page_idx": 4
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "The set of output edges is then given by $E _ { \\mathsf { o u t } } = \\cup _ { i = 1 } ^ { m } \\{ \\mathbf { e } _ { \\mathsf { o u t } , i } \\}$ ",
412
+ "bbox": [
413
+ 173,
414
+ 546,
415
+ 578,
416
+ 560
417
+ ],
418
+ "page_idx": 4
419
+ },
420
+ {
421
+ "type": "text",
422
+ "text": "The connectivity information $C$ of each graph is stored in two vectors $\\mathbf { c } _ { \\mathsf { s d } }$ and $\\mathbf { c } _ { \\mathrm { r v } }$ containing the sender node index and the receiver node index of each corresponding edge. This concludes the specification of the input graph $G _ { \\mathsf { i n } } = G ( V _ { \\mathsf { i n } } , E _ { \\mathsf { i n } } )$ and the output graph $\\begin{array} { r } { G _ { \\mathrm { o u t } } = G ( V _ { \\mathrm { o u t } } , E _ { \\mathrm { o u t } } ) } \\end{array}$ with connectivity information $C = ( \\mathbf { c } _ { \\mathsf { s d } } , \\mathbf { c } _ { \\mathsf { r v } } )$ . ",
423
+ "bbox": [
424
+ 174,
425
+ 561,
426
+ 825,
427
+ 617
428
+ ],
429
+ "page_idx": 4
430
+ },
431
+ {
432
+ "type": "text",
433
+ "text": "3.2 NETWORK STRUCTURE ",
434
+ "text_level": 1,
435
+ "bbox": [
436
+ 176,
437
+ 628,
438
+ 377,
439
+ 643
440
+ ],
441
+ "page_idx": 4
442
+ },
443
+ {
444
+ "type": "text",
445
+ "text": "In the following, we describe the structure of COPINGNet after we formalized its input and output in the previous section. As illustrated in Figure 3, the network consists of an encoder network, multiple stacks of GN-blocks, and a decoder network. The graph network from Battaglia et al. (2018) is used as a basic element and denoted as a GN-block. Residual connection between blocks could improve performance of neural networks in both CNN (He et al., 2015), and graph neural network [Li et al. (2019)]. As in related work (Sanchez-Gonzalez et al., 2020), we employ the residual connection between the GN-blocks, but our encoder/decoder network directly deals with the graph. The encoder network performs a mapping: $\\mathbb { G } ^ { \\mathsf { i n } } \\to \\mathbb { G } ^ { \\mathsf { i a t e n t } }$ and is implemented using two multi-layer perceptrons (MLPs), $\\mathsf { \\bar { M } L P _ { e d g e } : \\mathbb { E } ^ { i n } } \\overset { \\cdot } { } \\mathbb { E } ^ { | \\mathrm { a t e n t } } \\subseteq \\mathbb { R } ^ { l }$ and $\\mathsf { M L P } _ { \\mathsf { n o d e } } \\colon \\mathbb { V } ^ { \\mathsf { i n } } \\to \\mathbb { V } ^ { \\mathsf { l a t e n t } } \\subseteq \\mathbb { R } ^ { l }$ , in which $l$ denotes the latent size. They work separately and thus $E _ { \\mathsf { e n } } = \\mathsf { M L P } _ { \\mathsf { e d g e } } ( E _ { \\mathsf { i n } } )$ and $V _ { \\mathsf { e n } } = \\mathsf { M L P } _ { \\mathsf { n o d e } } ( V _ { \\mathsf { i n } } )$ . Edge features $E _ { \\mathrm { i n } }$ from the input are constant for a rod during the simulation and this results in constant encoded edge features $E _ { \\mathrm { e n } }$ , which could be recorded after the first run and used afterwards during inference. The edge feature $\\mathbf { e } _ { \\mathrm { i n } , i }$ contains the material parameters which could vary by different orders of magnitude. Hence, we normalize Young’s modulus and torsion modulus before feeding them into the network. After encoding, the graph $G _ { \\mathsf { e n } } ( V _ { \\mathsf { e n } } , E _ { \\mathsf { e n } } ) \\ \\in \\ \\mathbb { G } ^ { | \\mathsf { a t e n t } }$ is passed to several GN-blocks with residual connections. Each GN-block also contains two MLPs. However, they use message passing taking advantage of neighbourhood nodes/edges information (Battaglia et al., ",
446
+ "bbox": [
447
+ 173,
448
+ 651,
449
+ 825,
450
+ 887
451
+ ],
452
+ "page_idx": 4
453
+ },
454
+ {
455
+ "type": "table",
456
+ "img_path": "images/23efbca533370192dfbc94a158adf9f744347a0d1fb867b07fb5ed8f7905d3de.jpg",
457
+ "table_caption": [
458
+ "Under review as a conference paper at ICLR 2021 "
459
+ ],
460
+ "table_footnote": [],
461
+ "table_body": "<table><tr><td>Train/Val 256/100</td><td>#Steps 50</td><td>#Nodes N Ud(10,55)</td><td>Young&#x27;sModulus Y 10° Pa,a ~U(4.0,6.0)</td><td>Initial Angle0 U(0°,45.0°)</td><td>RodLength l U(1.0 m,5.0 m)</td></tr><tr><td>Train/Val</td><td>#Steps</td><td>#Nodes N</td><td>Torsion Modulus T</td><td>Helix Radius/Height</td><td>Winding Number</td></tr><tr><td>256/100</td><td>50</td><td>Ud(45,105)</td><td>10° Pa,a ~U(4.0,6.0)</td><td>u(0.4 m,0.6 m)/u(0.4 m,0.6 m)</td><td>U(2.0,3.0)</td></tr></table>",
462
+ "bbox": [
463
+ 173,
464
+ 58,
465
+ 825,
466
+ 114
467
+ ],
468
+ "page_idx": 5
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "Table 1: Specification of training and validation datasets for the two scenarios of an initially straight bending rod (top) and an elastic helix (bottom). The datasets are comprised of a number of data points (left) each describing the rod’s dynamics within $t \\in [ 0 \\mathrm { ~ s } , 5 0 \\Delta t ]$ discretized with a time step size of $\\Delta t = 0 . 0 2 { \\mathrm { ~ s } }$ . The number of nodes $N$ is sampled from a discrete uniform distribution $\\mathcal { U } _ { \\mathrm { d } }$ while the remaining parameters are sampled from a continuous uniform distribution $\\mathcal { U }$ . We trained our network for 5 hours for the bending rod scenario and 6 hours for the helix case. ",
473
+ "bbox": [
474
+ 173,
475
+ 123,
476
+ 825,
477
+ 208
478
+ ],
479
+ "page_idx": 5
480
+ },
481
+ {
482
+ "type": "image",
483
+ "img_path": "images/2c001d770b6a2025e2608f89b2ea7d64d5e863ed2a8335a6ed9184e85bda896c.jpg",
484
+ "image_caption": [
485
+ "Figure 4: Illustration of the ratio of COPINGNet’s inference time $t _ { \\mathrm { i n f e r } }$ and the vanilla CG solver’s run time $t _ { C G }$ (purple curves; right vertical axis) for the initially straight bending rod (left) and the elastic helix (right) simulations. The black curves show the CG iteration number ratio while the red curves show the total speedup of the constraint projection when taking into account COPINGNet’s inference time (left vertical axis). The pink curves show the total speedup of the entire simulations. The orange and green dashed line indicate the lower and upper boundaries of the total number of nodes used in the training data. We can observe a speedup even for rods and helices with greater node number than the ones used in the the training dataset. The result is averaged from 50 simulations each running 100 steps. "
486
+ ],
487
+ "image_footnote": [],
488
+ "bbox": [
489
+ 212,
490
+ 214,
491
+ 781,
492
+ 315
493
+ ],
494
+ "page_idx": 5
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "2018). A number of $M$ GN-blocks enable the use of neighbourhood information with distances smaller or equal to $M$ . The graph network performs a mapping within the latent space: $\\mathbb { G } ^ { \\mathsf { l a t e n t } } \\to$ $\\mathbb { G } ^ { | \\mathsf { a t e n t } }$ , and after $M$ GN-blocks, we obtain $\\bar { G } _ { \\mathsf { e n } } ^ { \\prime } ( V _ { \\mathsf { e n } } ^ { \\prime } , E _ { \\mathsf { e n } } ^ { \\prime } ) \\in \\mathbb { G } ^ { \\mathsf { l a t e n t } }$ . The decoder network performs a mapping: $\\mathbb { G } ^ { \\mathsf { l a t e n t } } \\to \\mathbb { G } ^ { \\mathsf { o u t } }$ , which has a similar structure as the encoder network. Two MLPs $\\mathsf { M L P _ { e d g e } : \\mathbb { E } ^ { l a t e n t } \\to \\mathbb { E } ^ { o u t } }$ and $\\mathsf { M L P _ { n o d e } : \\mathbb { V } ^ { l a t e n t } \\to \\mathbb { V } ^ { o u t } }$ compute $\\begin{array} { r } { E _ { \\mathsf { o u t } } = \\mathsf { M L P _ { e d g e } } ( E _ { \\mathsf { e n } } ^ { ' } ) } \\end{array}$ and $V _ { \\mathrm { o u t } } = \\mathsf { M L P } _ { \\mathsf { n o d e } } ( V _ { \\mathrm { e n } } ^ { ' } )$ . A tanh-function at the end of ${ \\mathsf { M L P } } _ { \\mathsf { e d g e } }$ and ${ \\mathsf { M L P } } _ { \\mathsf { n o d e } }$ is used restricting the output to the interval $[ - 1 , 1 ] \\subset \\mathbb { R }$ . COPINGNet learns the relative correction values. The generated dataset is normalized, and the maximum correction value of the generalized coordinates and the Lagrange multipliers will be recorded as norms. The final correction value is achieved by multiplying the relative correction values and the norms. This normalization process damps the noise caused by the network and leads to a more stable performance. For simplicity, all the MLPs in different blocks have the same number of layers, and the same width as latent size $l$ within the latent layers. The input and output sizes of each MLP are consistent with the corresponding node/edge feature dimensions. The loss $L$ is computed from both parts, nodes and edges, ",
499
+ "bbox": [
500
+ 173,
501
+ 463,
502
+ 825,
503
+ 665
504
+ ],
505
+ "page_idx": 5
506
+ },
507
+ {
508
+ "type": "equation",
509
+ "img_path": "images/1756e570a68102c82c60790ea88b5e96bd53889cddbbe4c0386a22844d1dc451.jpg",
510
+ "text": "$$\nL : = \\mathsf { M S E } ( V _ { \\mathrm { o u t } } , \\tilde { V } _ { \\mathrm { o u t } } ) + \\mathsf { M S E } ( E _ { \\mathrm { o u t } } , \\tilde { E } _ { \\mathrm { o u t } } ) ,\n$$",
511
+ "text_format": "latex",
512
+ "bbox": [
513
+ 354,
514
+ 666,
515
+ 638,
516
+ 685
517
+ ],
518
+ "page_idx": 5
519
+ },
520
+ {
521
+ "type": "text",
522
+ "text": "in which $( V _ { \\mathrm { o u t } } , E _ { \\mathrm { o u t } } )$ is the output graph’s ground truth in contrast to COPINGNet’s prediction $( \\tilde { V } _ { \\mathrm { o u t } } , \\tilde { E } _ { \\mathrm { o u t } } )$ . The mean squared error between $\\chi$ and $\\tilde { \\chi }$ is denoted with ${ \\mathsf { M S E } } ( \\chi , \\tilde { \\chi } )$ . ",
523
+ "bbox": [
524
+ 169,
525
+ 686,
526
+ 823,
527
+ 718
528
+ ],
529
+ "page_idx": 5
530
+ },
531
+ {
532
+ "type": "text",
533
+ "text": "For evaluation purposes, we also incorporated the $k$ -nearest neighbor $k$ -NN) algorithm as described in the supplementary material setting $k = 3$ . ",
534
+ "bbox": [
535
+ 174,
536
+ 723,
537
+ 823,
538
+ 752
539
+ ],
540
+ "page_idx": 5
541
+ },
542
+ {
543
+ "type": "text",
544
+ "text": "4 EVALUATION ",
545
+ "text_level": 1,
546
+ "bbox": [
547
+ 174,
548
+ 767,
549
+ 315,
550
+ 781
551
+ ],
552
+ "page_idx": 5
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "We generate training and validation datasets based on two scenarios: an initially straight bending rod and an elastic helix each fixed at one end oscillating under the influence of gravity. The specification of these datasets is provided in Table 1. The PBD code is written in $\\mathrm { C } { + } { + }$ , while the COPINGNet is implemented in PyTorch. The training is performed on an NVIDIA\rR $\\mathrm { T e s l a } ^ { \\textregistered }$ V100 GPU. The training time varies from 8 to 30 hours for different architecture parameters. A constant learning rate of $\\eta = 0 . 0 0 1$ was used and a mean square loss function was employed. Our approach generalizes across different initial conditions, geometries, discretizations, and material parameters. In the supplementary material we show that it is possible to robustly generate various dynamical results (Figure 9). For a discussion on the network architecture please see Figure 11 (supplementary material). ",
557
+ "bbox": [
558
+ 173,
559
+ 785,
560
+ 825,
561
+ 924
562
+ ],
563
+ "page_idx": 5
564
+ },
565
+ {
566
+ "type": "image",
567
+ "img_path": "images/ed1e9b6d007b1d7eedb0fe3c233c6801ad15aea379f4a368495e2ea2be90dc0b.jpg",
568
+ "image_caption": [
569
+ "Figure 5: Realistic biomechanical simulation of a 3D tree model composed of over $1 k$ nodes swaying in a wind field. Our GN approach performs correctly even under a large number of rod segments while increasing performance of the original PBD method. "
570
+ ],
571
+ "image_footnote": [],
572
+ "bbox": [
573
+ 173,
574
+ 53,
575
+ 823,
576
+ 164
577
+ ],
578
+ "page_idx": 6
579
+ },
580
+ {
581
+ "type": "image",
582
+ "img_path": "images/62c93181cb7245b24d09430f33cbbbb1481298dad4a26237055e6d5ad4b12b0b.jpg",
583
+ "image_caption": [
584
+ "Figure 6: The dashed horizontal lines show the benchmark CG solver’s constant performance for an initially straight bending rod simulation (left) and an elastic helix simulation (right). The parameters $\\phi _ { 0 } = 0 ^ { \\circ }$ , $N = 3 0$ , $\\ell = 3 . 0 \\mathrm { m }$ , $Y = 1 . 0 \\cdot 1 0 ^ { 5 }$ Pa (left), and $\\mathsf { H R } = 0 . 5 \\ \\mathrm { m }$ , $\\mathsf { H } \\mathsf { H } = 0 . 5 \\ \\mathrm { m }$ , $\\mathsf { H W } = 2 . 5$ , $G = 1 . 0 \\cdot 1 0 ^ { 5 }$ Pa, $N = 6 0$ (right) are applied. We are comparing our COPINGNet-assisted PBD approach (orange) to a simplified version in which the $k$ -NN (green) is used to predict the initial guess. Moreover (left), we added a performance measurement in which we restricted the solution to be in a two-dimensional plane (black). The results are averages over 20 simulations and smoothed with a window of 10 frames. The dashed vertical lines mark the number of 50 frames contained in the training data set. For the helix simulation we observe a speed up of approximately $50 \\%$ even beyond the training data (50 time frames). For the bending rod simulation we observe a speedup that further decreases with increasing time frame number. "
585
+ ],
586
+ "image_footnote": [],
587
+ "bbox": [
588
+ 181,
589
+ 231,
590
+ 816,
591
+ 344
592
+ ],
593
+ "page_idx": 6
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "Discretization. Our approach addresses the acceleration of the most expensive part within PBD by providing an accurate initial guess of the constraint projection. We measure the system’s complexity by the number of nodes in a rod. Figure 4 shows the ratio of COPINGNet’s inference run time (black and red curves) compared to the run time of the vanilla CG solver (purple curves) for different numbers of nodes. The increasing black and red curves indicate that the speedup of COPINGNet is more significant with greater number of nodes. With only a few nodes the CG solver performs better due to the inference overhead. Once the number of nodes is increasing, a significant speedup can be obtained of up to $5 0 \\%$ for the constraint projection. Surprisingly, our approach also performs well when going far beyond the sampling range (orange to green dashed lines). Since the constraint projection is the most time-consuming part of the entire simulation, the speedup converges to that of the whole simulation (pink curves) with increasing number of nodes as shown in Figure 4. ",
598
+ "bbox": [
599
+ 174,
600
+ 520,
601
+ 825,
602
+ 674
603
+ ],
604
+ "page_idx": 6
605
+ },
606
+ {
607
+ "type": "text",
608
+ "text": "Temporal Evolution. In addition to the complexity analysis, we also analyze the required number of CG iterations for the vanilla constraint projection compared to the one accelerated using COPINGNet over time as shown in Figure 6. We obtain a significant total speedup compared to the CG solver (dashed blue line). As stated in Table 1, our training data contains dynamical simulations of 50 time steps. In this range we observe the highest speedup. As was the case for the complexity analysis, we again obtain a significant speedup for simulations beyond 50 time steps. This performance gain is more present for the helix (green curve) compared to the rod simulation (orange curve). ",
609
+ "bbox": [
610
+ 174,
611
+ 674,
612
+ 825,
613
+ 771
614
+ ],
615
+ "page_idx": 6
616
+ },
617
+ {
618
+ "type": "text",
619
+ "text": "Long-term Stability. In case the constraint projection is completely replaced by COPINGNet (endto-end approach), stability of the PBD method decreases as error accumulation takes place. This is illustrated in Figure 7 showing the temporal evolution of the relative change of the total rod length. An initially straight rod bending under the influence of gravity is simulated using the parameters $\\phi _ { 0 } = 0 ^ { \\circ }$ , $N = 3 0$ , $\\ell = 4 . 0 \\mathrm { m }$ , and varying Young’s modulus $Y$ . In this scenario the rod length is expected to stay constant during the mechanical simulation. In case COPINGNet is used in an endto-end manner (colored lines), where the whole constraint projection step is replaced, we observe that the rod length changes incorrectly. In fact, the divergence of using COPINGNet to replace the constraint projection step increases exponentially beyond the range of the training data (50 steps). To the contrary, when COPINGNet is used to only estimate the initial guess of the constraint projection (black lines), no rod deformation takes place even beyond the training data range. ",
620
+ "bbox": [
621
+ 173,
622
+ 772,
623
+ 825,
624
+ 924
625
+ ],
626
+ "page_idx": 6
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "Collisions. Figure 1 illustrates a collision of an elastic helix with the ground plane and a collision between two rods. Collision detection is efficiently implemented using the hierarchical spatial hashing scheme according to Eitz & Gu (2007). Rod-rod collisions are then treated with line-to-line distance constraints, and collisions with the ground plane using half-space constraints. Moreover, frictional effects are implemented according to Macklin et al. (2014). This approach allows us to handle discontinuous events such as collisions between individual rods and other objects. Moreover, for this experiment we use the neural networks trained on the rod and helix simulations. Employing COPINGNet trained on the helix data to simulate the collision of the ground plane $( \\mathsf { H } \\mathsf { R } = \\mathsf { H } \\mathsf { H } = 0 . 5 \\mathrm { ~ m ~ }$ , $\\mathsf { H W } = 2 . 5$ , $G = 1 . { \\overset { \\vartriangle } { 0 } } \\cdot 1 0 ^ { 6 } { \\overset { \\vartriangle } { \\ v u } }$ Pa, $N = 5 0$ ), we measure a total speedup of approx. $1 0 \\%$ . In the case of two colliding rods $\\langle \\phi _ { 0 } = 0 ^ { \\circ }$ , $N \\in \\{ 2 0 , 3 0 \\}$ , $\\ell \\in \\{ 4 . 0 \\mathrm { m } , 4 . 5 \\mathrm { m } \\}$ , $Y = 1 . 0 \\cdot 1 0 ^ { 6 } \\ : \\mathrm { P a } )$ , we obtain a speedup of approx. $6 \\%$ . ",
631
+ "bbox": [
632
+ 176,
633
+ 103,
634
+ 821,
635
+ 146
636
+ ],
637
+ "page_idx": 7
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "",
642
+ "bbox": [
643
+ 174,
644
+ 146,
645
+ 549,
646
+ 325
647
+ ],
648
+ "page_idx": 7
649
+ },
650
+ {
651
+ "type": "text",
652
+ "text": "Complex Scenarios. Our method is also capable to deal with complex scenarios such as 3D tree models swaying in wind fields as shown in Figure 5. We represent trees using the extended Cosserat rod theory introduced in Pirk et al. (2017). This method allows us to simulate realistic biomechanics of thousands of rod segments at interactive rates. We generated 100 different tree topologies using 70 individual rods (average node number: 1056) and simulate the swaying motions of these tree models with vanilla PBD to generate the training dataset. For the evaluation, 30 different tree topologies have been generated for each of the following four experiments using 10 rods (204 nodes), 20 rods (355 nodes), 40 rods (654 nodes), and 70 rods (1061 nodes). We were able to significantly improve the runtime performance of the method by $1 7 . 0 \\%$ (10 rods), $1 5 . 8 \\%$ (20 rods), $1 3 . { \\bar { 0 \\% } }$ (40 rods), and $1 1 . 1 \\%$ (70 rods). This takes into account the inference time introduced by the neural network. ",
653
+ "bbox": [
654
+ 174,
655
+ 327,
656
+ 549,
657
+ 436
658
+ ],
659
+ "page_idx": 7
660
+ },
661
+ {
662
+ "type": "image",
663
+ "img_path": "images/a880abe5ec3310b65f98fc0d9a3fc219a05368751e37b593573a311958b42906.jpg",
664
+ "image_caption": [
665
+ "Figure 7: Illustration of the relative change of the total rod length $( l / l _ { 0 } )$ for different values of Young’s moduli $( Y )$ . Colored lines show different results for COPINGNet replacing the constraint projection. The thick black line represent the result for COPINGNet replacing only the initial guess. This indicates that the end-to-end approach does not generalize past the 50 time steps used in preparing the training data. "
666
+ ],
667
+ "image_footnote": [],
668
+ "bbox": [
669
+ 570,
670
+ 160,
671
+ 815,
672
+ 272
673
+ ],
674
+ "page_idx": 7
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "",
679
+ "bbox": [
680
+ 174,
681
+ 436,
682
+ 825,
683
+ 518
684
+ ],
685
+ "page_idx": 7
686
+ },
687
+ {
688
+ "type": "text",
689
+ "text": "Generalization. Figure 7 and Figure 10 (supplementary material) indicate that using COPINGNet in an end-to-end manner does not generalize beyond the training data. Specifically, the end-to-end setup diverges in terms of rod geometry and segment position from the correct solution. This effect increases significantly beyond the training data range. Although, we only use COPINGNet as a benchmark for this evaluation, other GNs are expected to perform similarly. Common workarounds to increase the stability of dynamical systems with neural networks are temporal skip-connections, recurrent training, and data augmentation. However, these approaches focus on runtime speed and memory performance rather than stability (Holden et al., 2019). Interestingly, replacing just the initial guess with a GN does not deform the rod or introduces discontinuities at any observed stage of the bending simulation. This means that employing GNs can result in a performance increase without a loss of stability. Furthermore, a GN that only provides initial guesses seems to also generalize to other scenarios. We observed performance improvements for the collision and complex tree case, although the network was never trained on these different rod discretizations and topologies. This indicates that our method is capable to generalize within a specific physical scenario and to a lesser extent to other scenarios. ",
690
+ "bbox": [
691
+ 174,
692
+ 520,
693
+ 825,
694
+ 727
695
+ ],
696
+ "page_idx": 7
697
+ },
698
+ {
699
+ "type": "text",
700
+ "text": "5 CONCLUSION ",
701
+ "text_level": 1,
702
+ "bbox": [
703
+ 176,
704
+ 738,
705
+ 320,
706
+ 753
707
+ ],
708
+ "page_idx": 7
709
+ },
710
+ {
711
+ "type": "text",
712
+ "text": "We discovered that applying GNs for replacing the initial guess has fundamental advantages over end-to-end approaches. First, our network-enabled solver ensures long-term stability inherited from traditional solvers for physical systems, while improving runtime performance. Second, our approach is able to generalize across different initial conditions, rod discretizations, and material parameters, and it handles discontinuous effects such as collisions. While end-to-end approaches offer more significant speedups, our method is superior in cases where stability is an essential requirement. Our approach to accelerate iterative solvers with GNs opens multiple avenues for future work. For one, it would be interesting to explore mechanical systems describing general deformable (e.g. textiles) or volumetric objects, which have been simulated with PBD. Second, our approach can be applied to other iterative methods, such as in finite elements analysis or in the context of linear complementarity problems (LCP). This would allow us to accelerate physical simulations, when iterative solvers are applied, without compromising stability. ",
713
+ "bbox": [
714
+ 174,
715
+ 757,
716
+ 825,
717
+ 924
718
+ ],
719
+ "page_idx": 7
720
+ },
721
+ {
722
+ "type": "text",
723
+ "text": "REFERENCES ",
724
+ "text_level": 1,
725
+ "bbox": [
726
+ 176,
727
+ 102,
728
+ 287,
729
+ 117
730
+ ],
731
+ "page_idx": 8
732
+ },
733
+ {
734
+ "type": "text",
735
+ "text": "Jernej Barbic and Doug L. James. Real-time subspace integration for st. venant-kirchhoff de- ˇ formable models. ACM Transactions on Graphics, 24(3):982–990, July 2005. ",
736
+ "bbox": [
737
+ 173,
738
+ 126,
739
+ 821,
740
+ 154
741
+ ],
742
+ "page_idx": 8
743
+ },
744
+ {
745
+ "type": "text",
746
+ "text": "Richard Barrett, Michael Berry, Tony F. Chan, James Demmel, June Donato, Jack Dongarra, Victor Eijkhout, Roldan Pozo, Charles Romine, and Henk van der Vorst. Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods, 2nd Edition. SIAM, Philadelphia, PA, 1994. ",
747
+ "bbox": [
748
+ 174,
749
+ 161,
750
+ 826,
751
+ 218
752
+ ],
753
+ "page_idx": 8
754
+ },
755
+ {
756
+ "type": "text",
757
+ "text": "Peter W. Battaglia, Jessica B. Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vin´ıcius Flores Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, C¸ aglar Gulc¸ehre, H. Francis Song, Andrew J. Ballard, Justin Gilmer, George E. Dahl, Ashish ¨ Vaswani, Kelsey R. Allen, Charles Nash, Victoria Langston, Chris Dyer, Nicolas Heess, Daan Wierstra, Pushmeet Kohli, Matthew Botvinick, Oriol Vinyals, Yujia Li, and Razvan Pascanu. Relational inductive biases, deep learning, and graph networks. CoRR, abs/1806.01261, 2018. URL http://arxiv.org/abs/1806.01261. ",
758
+ "bbox": [
759
+ 174,
760
+ 227,
761
+ 825,
762
+ 324
763
+ ],
764
+ "page_idx": 8
765
+ },
766
+ {
767
+ "type": "text",
768
+ "text": "Jan Bender, Kenny Erleben, and Jeff Trinkle. Interactive Simulation of Rigid Body Dynamics in Computer Graphics. Computer Graphics Forum, 33(1):246–270, 2014a. ",
769
+ "bbox": [
770
+ 178,
771
+ 333,
772
+ 821,
773
+ 362
774
+ ],
775
+ "page_idx": 8
776
+ },
777
+ {
778
+ "type": "text",
779
+ "text": "Jan Bender, Matthias Muller, Miguel A. Otaduy, Matthias Teschner, and Miles Macklin. A survey ¨ on position-based simulation methods in computer graphics. Computer Graphics Forum, 33(6): 228–251, 2014b. ",
780
+ "bbox": [
781
+ 173,
782
+ 369,
783
+ 825,
784
+ 411
785
+ ],
786
+ "page_idx": 8
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Jan Bender, Matthias Muller, and Miles Macklin. Position-based simulation methods in computer ¨ graphics. In EUROGRAPHICS 2017 Tutorials. Eurographics Association, 2017. ",
791
+ "bbox": [
792
+ 173,
793
+ 420,
794
+ 821,
795
+ 449
796
+ ],
797
+ "page_idx": 8
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "Jens Berg and Kaj Nystrom. A unified deep artificial neural network approach to partial differential ¨ equations in complex geometries. Neurocomputing, 317:28 – 41, 2018. ",
802
+ "bbox": [
803
+ 176,
804
+ 457,
805
+ 821,
806
+ 486
807
+ ],
808
+ "page_idx": 8
809
+ },
810
+ {
811
+ "type": "text",
812
+ "text": "Miklos Bergou, Max Wardetzky, Stephen Robinson, Basile Audoly, and Eitan Grinspun. Discrete ´ elastic rods. ACM Transactions on Graphics, 27(3):63:1–63:12, 2008. ",
813
+ "bbox": [
814
+ 174,
815
+ 494,
816
+ 821,
817
+ 523
818
+ ],
819
+ "page_idx": 8
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "Michael B. Chang, Tomer Ullman, Antonio Torralba, and Joshua B. Tenenbaum. A compositional object-based approach to learning physical dynamics. arXiv preprint arXiv:1612.00341, 2016. ",
824
+ "bbox": [
825
+ 173,
826
+ 531,
827
+ 823,
828
+ 560
829
+ ],
830
+ "page_idx": 8
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "Mengyu Chu and Nils Thuerey. Data-Driven Synthesis of Smoke Flows with CNN-Based Feature Descriptors. ACM Transactions on Graphics, 36(4), July 2017. ",
835
+ "bbox": [
836
+ 171,
837
+ 568,
838
+ 823,
839
+ 597
840
+ ],
841
+ "page_idx": 8
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "Crispin Deul, Tassilo Kugelstadt, Marcel Weiler, and Jan Bender. Direct position-based solver for stiff rods. Computer Graphics Forum, 37(6):313–324, 2018. ",
846
+ "bbox": [
847
+ 171,
848
+ 604,
849
+ 823,
850
+ 633
851
+ ],
852
+ "page_idx": 8
853
+ },
854
+ {
855
+ "type": "text",
856
+ "text": "Gamini Dissanayake and Nhan Phan-Thien. Neural-network-based approximations for solving partial differential equations. Communications in Numerical Methods in Engineering, 10(3):195– 201, 1994. ",
857
+ "bbox": [
858
+ 174,
859
+ 641,
860
+ 823,
861
+ 684
862
+ ],
863
+ "page_idx": 8
864
+ },
865
+ {
866
+ "type": "text",
867
+ "text": "Mathias Eitz and Lixu Gu. Hierarchical spatial hashing for real-time collision detection. IEEE International Conference on Shape Modeling and Applications 2007 (SMI ’07), pp. 61–70, 2007. ",
868
+ "bbox": [
869
+ 171,
870
+ 693,
871
+ 825,
872
+ 722
873
+ ],
874
+ "page_idx": 8
875
+ },
876
+ {
877
+ "type": "text",
878
+ "text": "Stefan Feess, Kathrin Kurfiss, and Dominik L. Michels. Accurate Simulation of Wound Healing and Skin Deformation. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA ’16, pp. 129–137, Goslar, DEU, 2016. Eurographics Association. ",
879
+ "bbox": [
880
+ 176,
881
+ 728,
882
+ 825,
883
+ 772
884
+ ],
885
+ "page_idx": 8
886
+ },
887
+ {
888
+ "type": "text",
889
+ "text": "Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. CoRR, abs/1704.01212, 2017. ",
890
+ "bbox": [
891
+ 171,
892
+ 779,
893
+ 823,
894
+ 809
895
+ ],
896
+ "page_idx": 8
897
+ },
898
+ {
899
+ "type": "text",
900
+ "text": "Radek Grzeszczuk, Demetri Terzopoulos, and Geoffrey Hinton. Neuroanimator: Fast neural network emulation and control of physics-based models. In Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’98, pp. 9–20, New York, NY, USA, 1998. Association for Computing Machinery. ",
901
+ "bbox": [
902
+ 174,
903
+ 816,
904
+ 825,
905
+ 873
906
+ ],
907
+ "page_idx": 8
908
+ },
909
+ {
910
+ "type": "text",
911
+ "text": "Xiaoxiao Guo, Wei Li, and Francesco Iorio. Convolutional neural networks for steady flow approximation. In Proceedings of the 22Nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’16, pp. 481–490, New York, NY, USA, 2016. ACM. ",
912
+ "bbox": [
913
+ 176,
914
+ 882,
915
+ 823,
916
+ 924
917
+ ],
918
+ "page_idx": 8
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CoRR, abs/1512.03385, 2015. ",
923
+ "bbox": [
924
+ 173,
925
+ 103,
926
+ 821,
927
+ 132
928
+ ],
929
+ "page_idx": 9
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "Daniel Holden, Bang Chi Duong, Sayantan Datta, and Derek Nowrouzezahrai. Subspace neural physics: Fast data-driven interactive simulation. In Proceedings of the 18th Annual ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA ’19, New York, NY, USA, 2019. Association for Computing Machinery. ",
934
+ "bbox": [
935
+ 174,
936
+ 140,
937
+ 825,
938
+ 196
939
+ ],
940
+ "page_idx": 9
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "Ruben Ibanez, Domenico Borzacchiello, Jose Vicente Aguado, Emmanuelle Abisset-Chavanne, ˜ Elias Cueto, Pierre Ladeveze, and Francisco Chinesta. Data-driven non-linear elasticity: Constitutive manifold construction and problem discretization. Computational Mechanics, 60(5): 813–826, November 2017. ",
945
+ "bbox": [
946
+ 174,
947
+ 205,
948
+ 825,
949
+ 261
950
+ ],
951
+ "page_idx": 9
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "Byungsoo Kim, Vinicius C. Azevedo, Nils Thuerey, Theodore Kim, Markus Gross, and Barbara Solenthaler. Deep fluids: A generative network for parameterized fluid simulations. CGF, 38(2): 59–70, 2019. ",
956
+ "bbox": [
957
+ 174,
958
+ 270,
959
+ 825,
960
+ 313
961
+ ],
962
+ "page_idx": 9
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "Byungsoo Kim, Vinicius C. Azevedo, Markus Gross, and Barbara Solenthaler. Lagrangian neural style transfer for fluids. ACM Transaction on Graphics (SIGGRAPH), 2020. ",
967
+ "bbox": [
968
+ 174,
969
+ 320,
970
+ 821,
971
+ 349
972
+ ],
973
+ "page_idx": 9
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. arXiv preprint arXiv:1802.04687, 2018. ",
978
+ "bbox": [
979
+ 174,
980
+ 357,
981
+ 821,
982
+ 387
983
+ ],
984
+ "page_idx": 9
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "Tassilo Kugelstadt and Elmar Schoemer. Position and orientation based cosserat rods. In Proceedings of the 2016 ACM SIGGRAPH/Eurographics Symposium on Computer Animation. Eurographics Association, 2016. ",
989
+ "bbox": [
990
+ 174,
991
+ 395,
992
+ 825,
993
+ 438
994
+ ],
995
+ "page_idx": 9
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "L’ubor Ladicky, SoHyeon Jeong, Barbara Solenthaler, Marc Pollefeys, and Markus Gross. Data- ´ driven fluid simulations using regression forests. ACM Transactions on Graphics, 34(6), 2015. ",
1000
+ "bbox": [
1001
+ 174,
1002
+ 445,
1003
+ 820,
1004
+ 474
1005
+ ],
1006
+ "page_idx": 9
1007
+ },
1008
+ {
1009
+ "type": "text",
1010
+ "text": "Isaac E. Lagaris, Aristidis Likas, and Dimitrios I. Fotiadis. Artificial neural networks for solving ordinary and partial differential equations. IEEE Transactions on Neural Networks, 9(5):987– 1000, 1998. ",
1011
+ "bbox": [
1012
+ 173,
1013
+ 482,
1014
+ 825,
1015
+ 525
1016
+ ],
1017
+ "page_idx": 9
1018
+ },
1019
+ {
1020
+ "type": "text",
1021
+ "text": "Guohao Li, Matthias Muller, Ali Thabet, and Bernard Ghanem. DeepGCNs: Can GCNs Go as Deep ¨ as CNNs? In The IEEE International Conference on Computer Vision (ICCV), 2019. ",
1022
+ "bbox": [
1023
+ 173,
1024
+ 534,
1025
+ 821,
1026
+ 563
1027
+ ],
1028
+ "page_idx": 9
1029
+ },
1030
+ {
1031
+ "type": "text",
1032
+ "text": "Yunzhu Li, Jiajun Wu, Jun-Yan Zhu, Joshua B. Tenenbaum, Antonio Torralba, and Russ Tedrake. Propagation networks for model-based control under partial observation, 2018. ",
1033
+ "bbox": [
1034
+ 174,
1035
+ 570,
1036
+ 820,
1037
+ 599
1038
+ ],
1039
+ "page_idx": 9
1040
+ },
1041
+ {
1042
+ "type": "text",
1043
+ "text": "Miles Macklin, Matthias Muller, Nuttapong Chentanez, and Tae-Yong Kim. Unified particle physics ¨ for real-time applications. ACM Transactions on Graphics, 33(4), July 2014. ",
1044
+ "bbox": [
1045
+ 173,
1046
+ 607,
1047
+ 821,
1048
+ 637
1049
+ ],
1050
+ "page_idx": 9
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "Miles Macklin, Matthias Muller, and Nuttapong Chentanez. Xpbd: Position-based simulation of ¨ compliant constrained dynamics. In Proceedings of the 9th International Conference on Motion in Games, MIG ’16, pp. 49–54, New York, NY, USA, 2016. ACM. ",
1055
+ "bbox": [
1056
+ 173,
1057
+ 645,
1058
+ 825,
1059
+ 688
1060
+ ],
1061
+ "page_idx": 9
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "text": "Dominik L. Michels and Mathieu Desbrun. A Semi-analytical Approach to Molecular Dynamics. Journal of Computational Physics, 303:336 – 354, 2015. ",
1066
+ "bbox": [
1067
+ 173,
1068
+ 695,
1069
+ 821,
1070
+ 724
1071
+ ],
1072
+ "page_idx": 9
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "Dominik L. Michels, Gerrit A. Sobottka, and Andreas G. Weber. Exponential Integrators for Stiff Elastodynamic Problems. ACM Transactions on Graphics, 33(1):7:1–7:20, 2014. ",
1077
+ "bbox": [
1078
+ 173,
1079
+ 733,
1080
+ 821,
1081
+ 762
1082
+ ],
1083
+ "page_idx": 9
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "Dominik L. Michels, J. Paul T. Mueller, and Gerrit A. Sobottka. A Physically Based Approach to the Accurate Simulation of Stiff Fibers and Stiff Fiber Meshes. Comput. Graph., 53(PB):136–146, December 2015. ",
1088
+ "bbox": [
1089
+ 173,
1090
+ 770,
1091
+ 825,
1092
+ 813
1093
+ ],
1094
+ "page_idx": 9
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "Dominik L. Michels, Vu Thai Luan, and Mayya Tokman. A Stiffly Accurate Integrator for Elastodynamic Problems. ACM Transactions on Graphics, 36(4), July 2017. ",
1099
+ "bbox": [
1100
+ 171,
1101
+ 820,
1102
+ 823,
1103
+ 849
1104
+ ],
1105
+ "page_idx": 9
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "Siddhartha Mishra. A machine learning framework for data driven acceleration of computations of differential equations, 2018. ",
1110
+ "bbox": [
1111
+ 174,
1112
+ 858,
1113
+ 823,
1114
+ 887
1115
+ ],
1116
+ "page_idx": 9
1117
+ },
1118
+ {
1119
+ "type": "text",
1120
+ "text": "Damian Mrowca, Chengxu Zhuang, Elias Wang, Nick Haber, Li Fei-Fei, Joshua B. Tenenbaum, and Daniel L. K. Yamins. Flexible neural representation for physics prediction, 2018. ",
1121
+ "bbox": [
1122
+ 176,
1123
+ 895,
1124
+ 823,
1125
+ 924
1126
+ ],
1127
+ "page_idx": 9
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "Matthias Muller, Bruno Heidelberger, Marcus Hennix, and John Ratcliff. Position based dynamics. ¨ Journal of Visual Communication and Image Representation, 18(2):109 – 118, 2007. ",
1132
+ "bbox": [
1133
+ 171,
1134
+ 103,
1135
+ 823,
1136
+ 132
1137
+ ],
1138
+ "page_idx": 10
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Andrew Nealen, Matthias Muller, Richard Keiser, Eddy Boxerman, and Mark Carlson. Physically ¨ based deformable models in computer graphics. Computer Graphics Forum, 25(4):809–836, 2006. ",
1143
+ "bbox": [
1144
+ 173,
1145
+ 141,
1146
+ 821,
1147
+ 184
1148
+ ],
1149
+ "page_idx": 10
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "Dinesh K. Pai. Strands: Interactive simulation of thin solids using cosserat models. Computer Graphics Forum, 21(3):347–352, 2002. ",
1154
+ "bbox": [
1155
+ 174,
1156
+ 194,
1157
+ 823,
1158
+ 223
1159
+ ],
1160
+ "page_idx": 10
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Soren Pirk, Michal Jarzabek, Torsten H ¨ adrich, Dominik L. Michels, and Wojciech Palubicki. In- ¨ teractive wood combustion for botanical tree models. ACM Transactions on Graphics, 36(6): 197:1–197:12, November 2017. ",
1165
+ "bbox": [
1166
+ 173,
1167
+ 232,
1168
+ 825,
1169
+ 275
1170
+ ],
1171
+ "page_idx": 10
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Maziar Raissi and George Em Karniadakis. Hidden physics models: Machine learning of nonlinear partial differential equations. Journal of Computational Physics, 357:125 – 141, 2018. ",
1176
+ "bbox": [
1177
+ 173,
1178
+ 285,
1179
+ 825,
1180
+ 314
1181
+ ],
1182
+ "page_idx": 10
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Maziar Raissi, Paris Perdikaris, and George Em Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686 – 707, 2019. ",
1187
+ "bbox": [
1188
+ 173,
1189
+ 324,
1190
+ 826,
1191
+ 367
1192
+ ],
1193
+ "page_idx": 10
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "Yousef Saad. Iterative Methods for Sparse Linear Systems. Society for Industrial and Applied Mathematics, USA, 2nd edition, 2003. ",
1198
+ "bbox": [
1199
+ 171,
1200
+ 376,
1201
+ 825,
1202
+ 405
1203
+ ],
1204
+ "page_idx": 10
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "Alvaro Sanchez-Gonzalez, Nicolas Heess, Jost Tobias Springenberg, Josh Merel, Martin Riedmiller, Raia Hadsell, and Peter Battaglia. Graph networks as learnable physics engines for inference and control, 2018. ",
1209
+ "bbox": [
1210
+ 173,
1211
+ 415,
1212
+ 823,
1213
+ 458
1214
+ ],
1215
+ "page_idx": 10
1216
+ },
1217
+ {
1218
+ "type": "text",
1219
+ "text": "Alvaro Sanchez-Gonzalez, Victor Bapst, Kyle Cranmer, and Peter Battaglia. Hamiltonian graph networks with ode integrators, 2019. ",
1220
+ "bbox": [
1221
+ 171,
1222
+ 467,
1223
+ 823,
1224
+ 496
1225
+ ],
1226
+ "page_idx": 10
1227
+ },
1228
+ {
1229
+ "type": "text",
1230
+ "text": "Alvaro Sanchez-Gonzalez, Jonathan Godwin, Tobias Pfaff, Rex Ying, Jure Leskovec, and Peter W. Battaglia. Learning to simulate complex physics with graph networks, 2020. ",
1231
+ "bbox": [
1232
+ 174,
1233
+ 506,
1234
+ 820,
1235
+ 536
1236
+ ],
1237
+ "page_idx": 10
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, Jan 2009. ",
1242
+ "bbox": [
1243
+ 173,
1244
+ 544,
1245
+ 825,
1246
+ 587
1247
+ ],
1248
+ "page_idx": 10
1249
+ },
1250
+ {
1251
+ "type": "text",
1252
+ "text": "Sungyong Seo and Yan Liu. Differentiable physics-informed graph networks. CoRR, abs/1902.02950, 2019. ",
1253
+ "bbox": [
1254
+ 171,
1255
+ 597,
1256
+ 823,
1257
+ 626
1258
+ ],
1259
+ "page_idx": 10
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "Justin Sirignano and Konstantinos Spiliopoulos. Dgm: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339 – 1364, 2018. ",
1264
+ "bbox": [
1265
+ 174,
1266
+ 635,
1267
+ 823,
1268
+ 665
1269
+ ],
1270
+ "page_idx": 10
1271
+ },
1272
+ {
1273
+ "type": "text",
1274
+ "text": "Jonathan Tompson, Kristofer Schlachter, Pablo Sprechmann, and Ken Perlin. Accelerating eulerian fluid simulation with convolutional networks. CoRR, abs/1607.03597, 2016. ",
1275
+ "bbox": [
1276
+ 173,
1277
+ 674,
1278
+ 821,
1279
+ 703
1280
+ ],
1281
+ "page_idx": 10
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "text": "Rahul Trivedi, Logan Su, Jesse Lu, Martin F Schubert, and Jelena Vuckovic. Data-driven acceleration of photonic simulations, 2019. ",
1286
+ "bbox": [
1287
+ 174,
1288
+ 712,
1289
+ 821,
1290
+ 742
1291
+ ],
1292
+ "page_idx": 10
1293
+ },
1294
+ {
1295
+ "type": "text",
1296
+ "text": "Kiwon Um, Xiangyu Hu, and Nils Thuerey. Liquid splash modeling with neural networks, 2017. ",
1297
+ "bbox": [
1298
+ 173,
1299
+ 751,
1300
+ 807,
1301
+ 767
1302
+ ],
1303
+ "page_idx": 10
1304
+ },
1305
+ {
1306
+ "type": "text",
1307
+ "text": "Nobuyuki Umetani, Ryan Schmidt, and Jos Stam. Position-based elastic rods. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA ’14, pp. 21–30, Aire-la-Ville, Switzerland, Switzerland, 2014. Eurographics Association. ",
1308
+ "bbox": [
1309
+ 176,
1310
+ 776,
1311
+ 821,
1312
+ 819
1313
+ ],
1314
+ "page_idx": 10
1315
+ },
1316
+ {
1317
+ "type": "text",
1318
+ "text": "Benjamin Ummenhofer, Lukas Prantl, Nils Thuerey, and Vladlen Koltun. Lagrangian fluid simulation with continuous convolutions. In International Conference on Learning Representations, 2020. ",
1319
+ "bbox": [
1320
+ 174,
1321
+ 828,
1322
+ 823,
1323
+ 871
1324
+ ],
1325
+ "page_idx": 10
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Huamin Wang, James F. O���Brien, and Ravi Ramamoorthi. Data-driven elastic models for cloth: Modeling and measurement. In ACM SIGGRAPH 2011 Papers, SIGGRAPH ’11, pp. 71:1–71:12, New York, NY, USA, 2011. ACM. ",
1330
+ "bbox": [
1331
+ 174,
1332
+ 881,
1333
+ 823,
1334
+ 924
1335
+ ],
1336
+ "page_idx": 10
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "Xiaolong Wang, Ross B. Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. CoRR, abs/1711.07971, 2017. ",
1341
+ "bbox": [
1342
+ 174,
1343
+ 103,
1344
+ 823,
1345
+ 132
1346
+ ],
1347
+ "page_idx": 11
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "Steffen Wiewel, Moritz Becher, and Nils Thuerey. Latent-space physics: Towards learning the temporal evolution of fluid flow. CoRR, abs/1802.10123, 2018. ",
1352
+ "bbox": [
1353
+ 173,
1354
+ 141,
1355
+ 823,
1356
+ 170
1357
+ ],
1358
+ "page_idx": 11
1359
+ },
1360
+ {
1361
+ "type": "text",
1362
+ "text": "Xiangyun Xiao, Yanqing Zhou, Hui Wang, and Xubo Yang. A novel cnn-based poisson solver for fluid simulation. IEEE Transactions on Visualization and Computer Graphics, 26(3):1454–1465, 2020. ",
1363
+ "bbox": [
1364
+ 178,
1365
+ 179,
1366
+ 823,
1367
+ 220
1368
+ ],
1369
+ "page_idx": 11
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "text": "SUPPLEMENTARY MATERIAL ",
1374
+ "text_level": 1,
1375
+ "bbox": [
1376
+ 176,
1377
+ 102,
1378
+ 418,
1379
+ 118
1380
+ ],
1381
+ "page_idx": 12
1382
+ },
1383
+ {
1384
+ "type": "text",
1385
+ "text": "DYNAMIC RESULTS ",
1386
+ "bbox": [
1387
+ 174,
1388
+ 145,
1389
+ 312,
1390
+ 160
1391
+ ],
1392
+ "page_idx": 12
1393
+ },
1394
+ {
1395
+ "type": "image",
1396
+ "img_path": "images/0b597f1dd7e6c0c813a7a05d75e5ba2bca3c7d5c214676eb06c33d3baf6e7b1a.jpg",
1397
+ "image_caption": [
1398
+ "Figure 8: Illustration of the temporal evolution of scenarios (a) to (d) for the initially straight bending rod, and (e) to (f) for the elastic helix. The different cases represent various material property configurations. "
1399
+ ],
1400
+ "image_footnote": [],
1401
+ "bbox": [
1402
+ 174,
1403
+ 202,
1404
+ 818,
1405
+ 867
1406
+ ],
1407
+ "page_idx": 12
1408
+ },
1409
+ {
1410
+ "type": "text",
1411
+ "text": "In Figure 8 we show the temporal evolution of different scenarios (a) to (d) for the initially straight bending rod, and (e) to (f) for the elastic helix. The default parameters of the initially straight bending rod are $\\phi _ { 0 } ~ = ~ 0 ^ { \\circ }$ , $N \\ = \\ 3 0$ , $\\ell ~ = ~ 4 . 0 ~ \\mathrm { m }$ , and $\\dot { Y } ~ = ~ 1 . 0 \\cdot 1 0 ^ { 5 } ~ \\mathrm { P a }$ . In (a), we modify $\\phi _ { 0 } ~ \\in ~ \\{ 0 . 0 ^ { \\circ } , 1 5 . 0 ^ { \\circ } , 3 0 . 0 ^ { \\circ } , 4 5 . 0 ^ { \\circ } \\}$ . In (b), we modify $N ~ \\in ~ \\{ 1 0 , 2 0 , 4 0 , 6 0 \\}$ . In (c), we modify $\\ell \\in \\{ 1 . 0 \\mathrm { m } , 2 . 0 \\mathrm { m } , 3 . 0 \\mathrm { m } , 4 . 0 \\mathrm { m } ,$ $5 . 0 \\mathrm { m } , 6 . 0 \\mathrm { m } \\}$ . In (d), we modify $Y ~ \\in ~ \\{ 2 . 0 ~ \\cdot$ $1 0 ^ { 4 } \\mathrm { P a } , 5 . 0 \\cdot 1 \\dot { 0 } ^ { 4 } \\mathrm { P a } , 1 . \\dot { 0 } \\cdot 1 0 ^ { 5 } \\mathrm { P a } , 2 . 0 \\cdot 1 0 ^ { 5 } \\mathrm { P a } , 5 . 0 \\cdot 1 0 ^ { 5 } \\mathrm { P a } , 1 . \\dot { 0 } \\cdot 1 0 ^ { 6 } \\mathrm { P a }$ . The default parameters of the elastic helix are $\\mathsf { H } \\mathsf { R } \\ = \\ 0 . 5 \\ \\mathrm { m }$ (helix radius), $\\mathsf { H } \\mathsf { H } \\ = \\ 0 . 5 \\ \\mathrm { m }$ (helix height), $\\mathsf { H W } = 2 . 5$ (winding number), $T \\ = \\ 1 . 0 \\cdot 1 0 ^ { 5 } \\mathrm { { \\ P a } }$ , and $N ~ = ~ 6 0$ . In (e), we modify $( { \\mathsf { H } } { \\mathsf { R } } , { \\mathsf { H } } { \\mathsf { H } } , { \\mathsf { H } } { \\mathsf { W } } ) \\ \\in$ $\\{ ( 0 . 4 \\mathrm { m } , 0 . 4 \\mathrm { m } , 2 . 0 \\mathrm { m } )$ , $( 0 . 4 \\mathrm { m } , 0 . 4 \\mathrm { m } , 3 . 0 \\mathrm { m } )$ , $( 0 . 5 \\mathrm { m } , 0 . 5 \\mathrm { m } , 2 . 0 \\mathrm { m } )$ , $( 0 . 5 \\mathrm { m } , 0 . 5 \\mathrm { m } , 3 . 0 \\mathrm { m } ) \\}$ . In (f), we modify $N \\in \\{ 3 0 , 6 0 , 8 0 , 1 0 0 \\}$ . In (g), we modify $G \\in \\{ 2 . 0 \\cdot 1 0 ^ { 4 } \\mathrm { { P a } , 5 . 0 \\cdot 1 0 ^ { 4 } \\mathrm { { P a } , 1 . 0 \\cdot 1 0 ^ { 5 } \\mathrm { { P a } , 1 . 0 \\cdot } } } $ $1 0 ^ { 6 } \\mathrm { P a } \\}$ . For each experiment, the rod colors indicate the corresponding parameters in the following (ascending) order: blue, orange, green, red, purple, brown. ",
1412
+ "bbox": [
1413
+ 173,
1414
+ 103,
1415
+ 825,
1416
+ 270
1417
+ ],
1418
+ "page_idx": 13
1419
+ },
1420
+ {
1421
+ "type": "text",
1422
+ "text": "Dynamic results of our graph learning assisted simulations can be found in the video ",
1423
+ "bbox": [
1424
+ 176,
1425
+ 276,
1426
+ 728,
1427
+ 291
1428
+ ],
1429
+ "page_idx": 13
1430
+ },
1431
+ {
1432
+ "type": "text",
1433
+ "text": "GraphLearningPhysicalSystems.mp4 (2:20 min, 20.6 MB, $1 9 2 0 \\times 1 0 8 0$ , H.264) ",
1434
+ "bbox": [
1435
+ 225,
1436
+ 299,
1437
+ 763,
1438
+ 314
1439
+ ],
1440
+ "page_idx": 13
1441
+ },
1442
+ {
1443
+ "type": "text",
1444
+ "text": "provided as additional supplementary material. These results are obtained by employing three GN blocks, two MLP layers, and a MLP width of 32. Parameters have been used which are are not covered within the training dataset. ",
1445
+ "bbox": [
1446
+ 174,
1447
+ 321,
1448
+ 825,
1449
+ 363
1450
+ ],
1451
+ "page_idx": 13
1452
+ },
1453
+ {
1454
+ "type": "text",
1455
+ "text": "Moreover, to further demonstrate general applicability, Figure 9 shows an additional simulation of a tightening knot for which COPINGNet-based PBD shows a total speedup of $1 0 . 4 \\%$ compared to vanilla PBD. COPINGNet is trained using a dataset containing 20 simulations of the same knot scenario with different discretizations over 100 frames. It can clearly be observed that COPINGNet generalizes beyond the training data. ",
1456
+ "bbox": [
1457
+ 174,
1458
+ 371,
1459
+ 825,
1460
+ 440
1461
+ ],
1462
+ "page_idx": 13
1463
+ },
1464
+ {
1465
+ "type": "image",
1466
+ "img_path": "images/6752cbda86a8300a84044c3b5b500309708fa2e4efd317ebbb30644ecd988263.jpg",
1467
+ "image_caption": [
1468
+ "Figure 9: Illustration of the temporal evolution of a knot scenario. The rod is fixed at both ends and the knot is pulled tight. The predicted results by end-to-end COPINGNet-based learning are shown in red while the results computed with COPINGNet-assisted PBD are shown in black. The visualization of the last frame contains a close-up to demonstrate that the knot structure is still preserved. The rod parameters are $N = 1 1 0$ , $R = 0 . 0 1 { \\mathrm { m } }$ , $\\ell = 1 1 . 0 \\mathrm { m }$ , and $Y = T = 1 . 0 \\cdot 1 0 ^ { 4 } \\mathrm { P a }$ . "
1469
+ ],
1470
+ "image_footnote": [],
1471
+ "bbox": [
1472
+ 179,
1473
+ 457,
1474
+ 820,
1475
+ 829
1476
+ ],
1477
+ "page_idx": 13
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "text": "Figure 10 illustrates the temporal evolution of a bending rod and elastic helix scenarios using different approaches. For the bending rod case, the parameters $\\phi _ { 0 } = 0 ^ { \\circ }$ , $N = 3 0$ , $\\ell = 4 . 0 ~ \\mathrm { m }$ , and $Y = 1 . { \\overset { \\underset { \\textstyle \\star } { } } { 0 } } \\cdot 1 0 ^ { 5 }$ Pa are used. In the helix case, $\\mathsf { H R } = 0 . 5 \\ : \\mathrm { m }$ (helix radius), $\\mathsf { H H } = 0 . 5 \\ : \\mathrm { m }$ (helix height), $\\mathsf { H W } = 2 . 5$ (winding number), $T = 1 . 0 \\cdot 1 0 ^ { 5 } ~ \\mathrm { P }$ a, and $N = 6 0$ were applied. The temporal evolution of the positions’ normalized root mean square error (NRMSE) is shown in Figure 11. ",
1482
+ "bbox": [
1483
+ 173,
1484
+ 128,
1485
+ 825,
1486
+ 200
1487
+ ],
1488
+ "page_idx": 14
1489
+ },
1490
+ {
1491
+ "type": "image",
1492
+ "img_path": "images/b3bcd2519c63fdba03741161d6ac7115740fe4407ef7cdce2603dadb5e9a83d0.jpg",
1493
+ "image_caption": [
1494
+ "Figure 10: Illustration of the temporal evolution of bending rod (upper row) and elastic helix (lower row) scenarios simulated using our COPINGNet-assisted PBD approach (blue curves), vanilla PBD (orange dotted curves), $k$ -NN-based end-to-end learning (purple curves) and GN-based end-to-end learning (green curves). While the COPINGNet-assisted approach and the vanilla PBD solver allow us to simulate both cases in a stable manner, both end-to-end learning approaches diverge with increasing time due to error accumulation. "
1495
+ ],
1496
+ "image_footnote": [],
1497
+ "bbox": [
1498
+ 178,
1499
+ 215,
1500
+ 820,
1501
+ 415
1502
+ ],
1503
+ "page_idx": 14
1504
+ },
1505
+ {
1506
+ "type": "image",
1507
+ "img_path": "images/7af2ff4964c586a7b2b5eec02829443f3cf76cb9efa13d93aaa05b1cafb91ed6.jpg",
1508
+ "image_caption": [
1509
+ "Figure 11: Illustration of the positions’ normalized root mean square error (NRMSE) compared to vanilla PBD using our COPINGNet-assisted PBD approach (blue curves), $k$ -NN-based end-toend learning (purple curves), and GN-based end-to-end learning (green curves) for the bending rod (left) and the elastic helix (right) scenarios. While the COPINGNet-assisted PBD approach converges to an almost correct solution, both end-to-end learning approaches show large error rates with increasing time frame number. "
1510
+ ],
1511
+ "image_footnote": [],
1512
+ "bbox": [
1513
+ 181,
1514
+ 551,
1515
+ 816,
1516
+ 666
1517
+ ],
1518
+ "page_idx": 14
1519
+ },
1520
+ {
1521
+ "type": "text",
1522
+ "text": "ARCHITECTURE ",
1523
+ "text_level": 1,
1524
+ "bbox": [
1525
+ 176,
1526
+ 801,
1527
+ 287,
1528
+ 814
1529
+ ],
1530
+ "page_idx": 14
1531
+ },
1532
+ {
1533
+ "type": "text",
1534
+ "text": "The evaluation of COPINGNet’s architecture, introduced in Section 3.2, is presented in Figure 12. The performance is studied for different numbers of GN-blocks and MLP layers, and different MLP widths (latent sizes). The measurements demonstrate that a larger number of GN-blocks usually increases the performance while the performance improvement is not longer significant for more than four GN-blocks. This is plausible and can be considered analogously to the size of the stencil of a numerical integrator: a larger number of GN-blocks means that a specific node can take advantage of information gained from neighbourhoods further away. Correspondingly, a larger stencil can do so as well. However, increasing the size of the stencil usually does not result in more accurate results once the critical size is reached. This can be observed here as well. In contrast, it can be clearly observed that deeper MLP networks do not improve the performance. This is consistent with other research on graph networks (Sanchez-Gonzalez et al., 2020). However, increasing the MLP width can increase the network’s ability to generalize. It is shown that the highest performance is achieved with the largest MLP width, especially in the case of the helix scenarios. Since increasing the number of GN-blocks and MLP width will lead to longer inference time, we compromise by choosing medium numbers. For further evaluations, we employ three GN-blocks, two MLP layers, and a MLP width of 32. ",
1535
+ "bbox": [
1536
+ 174,
1537
+ 825,
1538
+ 825,
1539
+ 924
1540
+ ],
1541
+ "page_idx": 14
1542
+ },
1543
+ {
1544
+ "type": "text",
1545
+ "text": "",
1546
+ "bbox": [
1547
+ 173,
1548
+ 103,
1549
+ 825,
1550
+ 229
1551
+ ],
1552
+ "page_idx": 15
1553
+ },
1554
+ {
1555
+ "type": "image",
1556
+ "img_path": "images/f63ca5cbc4111c5cfe5f36c2ca8872b766dd5b0361615dbc9bd1b72442468255.jpg",
1557
+ "image_caption": [
1558
+ "Figure 12: Illustration of the evaluation of COPINGNet’s architecture (blue: benchmark architecture). The result is averaged from 50 test simulations each running for 100 time steps. "
1559
+ ],
1560
+ "image_footnote": [],
1561
+ "bbox": [
1562
+ 178,
1563
+ 247,
1564
+ 820,
1565
+ 407
1566
+ ],
1567
+ "page_idx": 15
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "$k$ -NEAREST NEIGHBOR ALGORITHM ",
1572
+ "bbox": [
1573
+ 176,
1574
+ 460,
1575
+ 428,
1576
+ 474
1577
+ ],
1578
+ "page_idx": 15
1579
+ },
1580
+ {
1581
+ "type": "text",
1582
+ "text": "For evaluation purposes, we also incorporated the $k$ -nearest neighbor ( $k$ -NN) algorithm into our framework to compute an initial guess for the constraint projection step. ",
1583
+ "bbox": [
1584
+ 173,
1585
+ 486,
1586
+ 821,
1587
+ 515
1588
+ ],
1589
+ "page_idx": 15
1590
+ },
1591
+ {
1592
+ "type": "text",
1593
+ "text": "Consider a $k$ -NN data point $( \\bf x _ { i } , \\bf y _ { i } )$ . Its components contain node and edge feature information: ",
1594
+ "bbox": [
1595
+ 171,
1596
+ 521,
1597
+ 803,
1598
+ 536
1599
+ ],
1600
+ "page_idx": 15
1601
+ },
1602
+ {
1603
+ "type": "equation",
1604
+ "img_path": "images/336c32ab166769c9d02c1ab101ea8a10b5a902b8ff3ae4779dabf04b64e7260c.jpg",
1605
+ "text": "$$\n\\begin{array} { r } { \\mathbf { x } _ { i } = ( \\mathbf { v } _ { \\mathrm { i n } , i } , \\mathbf { e } _ { \\mathrm { i n } , i _ { k } } , \\ldots ) ^ { \\mathsf { T } } , \\mathbf { y } _ { i } = ( \\mathbf { v } _ { \\mathrm { o u t } , i } , \\mathbf { e } _ { \\mathrm { o u t } , i _ { k } } , \\ldots ) ^ { \\mathsf { T } } , k \\in \\mathbb { N } _ { 0 } . } \\end{array}\n$$",
1606
+ "text_format": "latex",
1607
+ "bbox": [
1608
+ 292,
1609
+ 544,
1610
+ 704,
1611
+ 561
1612
+ ],
1613
+ "page_idx": 15
1614
+ },
1615
+ {
1616
+ "type": "text",
1617
+ "text": "Simulation data is collected to form a dataset $\\left\\{ \\left( \\mathbf { x } _ { i } , \\mathbf { y } _ { i } \\right) \\right\\}$ . During inference, the nearest $k$ data points of $\\mathbf { x } _ { i } ^ { * }$ are picked and linear interpolations are performed to obtain the predicted $\\mathbf { y } _ { i } ^ { * }$ . ",
1618
+ "bbox": [
1619
+ 173,
1620
+ 575,
1621
+ 823,
1622
+ 604
1623
+ ],
1624
+ "page_idx": 15
1625
+ },
1626
+ {
1627
+ "type": "text",
1628
+ "text": "For each input node feature $\\mathbf { v } _ { \\mathrm { i n } , i } ^ { * }$ , we obtain the corresponding output node feature $\\tilde { \\mathbf { v } } _ { \\mathrm { o u t } , i } = \\mathbf { v } _ { \\mathrm { o u t } , i } ^ { * }$ The output edge feature is averaged from the information of the corresponding component $\\mathbf { y } _ { j } ^ { * }$ : ",
1629
+ "bbox": [
1630
+ 173,
1631
+ 611,
1632
+ 823,
1633
+ 641
1634
+ ],
1635
+ "page_idx": 15
1636
+ },
1637
+ {
1638
+ "type": "equation",
1639
+ "img_path": "images/5b61be40b5e6aa1416e0f3ad10516f14aae2b5ee7b039f7ca8fb451ff11edc10.jpg",
1640
+ "text": "$$\n\\tilde { \\mathbf { e } } _ { \\mathrm { o u t } , i } = \\frac { 1 } { M } \\sum _ { j } \\mathbf { e } _ { \\mathrm { o u t } , j _ { k } } ^ { * } ,\n$$",
1641
+ "text_format": "latex",
1642
+ "bbox": [
1643
+ 418,
1644
+ 650,
1645
+ 576,
1646
+ 688
1647
+ ],
1648
+ "page_idx": 15
1649
+ },
1650
+ {
1651
+ "type": "text",
1652
+ "text": "in which $M$ denotes the number of nodes. ",
1653
+ "bbox": [
1654
+ 173,
1655
+ 694,
1656
+ 449,
1657
+ 708
1658
+ ],
1659
+ "page_idx": 15
1660
+ },
1661
+ {
1662
+ "type": "text",
1663
+ "text": "The $k$ -NN algorithm is applied as an end-to-end method completely replacing constraint projection or to predict an initial guess. ",
1664
+ "bbox": [
1665
+ 171,
1666
+ 715,
1667
+ 825,
1668
+ 744
1669
+ ],
1670
+ "page_idx": 15
1671
+ }
1672
+ ]
parse/train/v2tmeZVV9-c/v2tmeZVV9-c_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/v2tmeZVV9-c/v2tmeZVV9-c_model.json ADDED
The diff for this file is too large to render. See raw diff