ZHANGYUXUAN-zR commited on
Commit
1ee0c71
·
verified ·
1 Parent(s): 2a8a7ee

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. parse/train/B1x5KiCcFX/B1x5KiCcFX.md +689 -0
  2. parse/train/B1x5KiCcFX/B1x5KiCcFX_content_list.json +0 -0
  3. parse/train/B1x5KiCcFX/B1x5KiCcFX_middle.json +0 -0
  4. parse/train/B1x5KiCcFX/B1x5KiCcFX_model.json +0 -0
  5. parse/train/Hkfmn5n6W/Hkfmn5n6W.md +0 -0
  6. parse/train/Hkfmn5n6W/Hkfmn5n6W_content_list.json +0 -0
  7. parse/train/Hkfmn5n6W/Hkfmn5n6W_middle.json +0 -0
  8. parse/train/Hkfmn5n6W/Hkfmn5n6W_model.json +0 -0
  9. parse/train/S1vyujVye/S1vyujVye.md +273 -0
  10. parse/train/S1vyujVye/S1vyujVye_content_list.json +1429 -0
  11. parse/train/S1vyujVye/S1vyujVye_middle.json +0 -0
  12. parse/train/S1vyujVye/S1vyujVye_model.json +0 -0
  13. parse/train/S1x1IkHtPr/S1x1IkHtPr.md +346 -0
  14. parse/train/S1x1IkHtPr/S1x1IkHtPr_content_list.json +1808 -0
  15. parse/train/S1x1IkHtPr/S1x1IkHtPr_middle.json +0 -0
  16. parse/train/S1x1IkHtPr/S1x1IkHtPr_model.json +0 -0
  17. parse/train/Syx9ET4YPB/Syx9ET4YPB_middle.json +0 -0
  18. parse/train/Syx9ET4YPB/Syx9ET4YPB_model.json +0 -0
  19. parse/train/rklEj2EFvB/rklEj2EFvB.md +0 -0
  20. parse/train/rklEj2EFvB/rklEj2EFvB_model.json +0 -0
  21. vlm/train/0oabwyZbOu/0.png +3 -0
  22. vlm/train/0oabwyZbOu/1.png +3 -0
  23. vlm/train/0oabwyZbOu/10.png +3 -0
  24. vlm/train/0oabwyZbOu/11.png +3 -0
  25. vlm/train/0oabwyZbOu/12.png +3 -0
  26. vlm/train/0oabwyZbOu/13.png +3 -0
  27. vlm/train/0oabwyZbOu/14.png +3 -0
  28. vlm/train/0oabwyZbOu/15.png +3 -0
  29. vlm/train/0oabwyZbOu/16.png +3 -0
  30. vlm/train/0oabwyZbOu/17.png +3 -0
  31. vlm/train/0oabwyZbOu/18.png +3 -0
  32. vlm/train/0oabwyZbOu/19.png +3 -0
  33. vlm/train/0oabwyZbOu/2.png +3 -0
  34. vlm/train/0oabwyZbOu/20.png +3 -0
  35. vlm/train/0oabwyZbOu/21.png +3 -0
  36. vlm/train/0oabwyZbOu/22.png +3 -0
  37. vlm/train/0oabwyZbOu/23.png +3 -0
  38. vlm/train/0oabwyZbOu/24.png +3 -0
  39. vlm/train/0oabwyZbOu/25.png +3 -0
  40. vlm/train/0oabwyZbOu/3.png +3 -0
  41. vlm/train/0oabwyZbOu/4.png +3 -0
  42. vlm/train/0oabwyZbOu/5.png +3 -0
  43. vlm/train/0oabwyZbOu/6.png +3 -0
  44. vlm/train/0oabwyZbOu/7.png +3 -0
  45. vlm/train/0oabwyZbOu/8.png +3 -0
  46. vlm/train/0oabwyZbOu/9.png +3 -0
  47. vlm/train/4i23Bjlh4Y9/0.png +3 -0
  48. vlm/train/4i23Bjlh4Y9/1.png +3 -0
  49. vlm/train/4i23Bjlh4Y9/10.png +3 -0
  50. vlm/train/4i23Bjlh4Y9/11.png +3 -0
parse/train/B1x5KiCcFX/B1x5KiCcFX.md ADDED
@@ -0,0 +1,689 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # UNDERSTANDING GANS VIA GENERALIZATION ANALYSIS FOR DISCONNECTED SUPPORT
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ This paper provides theoretical analysis of generative adversarial networks (GANs) to explain its advantages over other standard methods of learning probability measures. GANs learn a probability through observations, using the objective function with a generator and a discriminator. While many empirical results indicate that GANs can generate realistic samples, the reason for such successful performance remains unelucidated. This paper focuses the situation where the target probability measure satisfies the disconnected support property, which means a separate support of a probability, and relates it with the advantage of GANs. It is theoretically shown that, unlike other popular models, GANs do not suffer from the decrease of generalization performance caused by the disconnected support property. We rigorously quantify the generalization performance of GANs of a given architecture, and compare it with the performance of the other models. Based on the theory, we also provide a guideline for selecting deep network architecture for GANs. We demonstrate some numerical examples which support our results.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Generative Adversarial Networks (GANs) (Goodfellow et al., 2014) attract much attention as technology for learning a distribution and generating data. The purpose of GANs is to learn a probability measure from a given dataset and generate samples from the learned measure. It is often seen that samples generated by GANs can extract effectively features in the real world; it is difficult, for instance, to distinguish real images and generated images. By practical successes, a countless number of variations of GANs have been developed (Dziugaite et al., 2015; Arjovsky et al., 2017; Li et al., 2015; Nowozin et al., 2016; Gulrajani et al., 2017; Zhao et al., 2016), and applied to a wide range of tasks (Reed et al., 2016; Zhu et al., 2017; Gauthier, 2014).
12
+
13
+ Understanding the remarkable performance of GANs is, however, still a challenging problem. There are active discussions on the role of generators in its learning scheme (Goodfellow, 2016; Arjovsky & Bottou, 2017; Arora et al., 2018; Creswell et al., 2018), and adversarial structures with discriminators are also a target of interest (Lotter et al., 2015; Zhang et al., 2018). A gaming structure between generators and discriminators is also regarded as a useful factor in the mechanism of GANs (Mescheder et al., 2017; Arora et al., 2017; Heusel et al., 2017). Generalization performance of GANs has been investigated in several studies (Liang, 2017; Liu et al., 2017; Tolstikhin et al., 2017). In spite of these studies, it is not yet clear why GANs can generate well-extracted data better than other standard methods.
14
+
15
+ This paper introduces the disconnected support property, and explains an advantage of GANs in connection with this notion. The disconnected support property refers to a probability measures of which the support is divided into several disjoint sets, allowing non-differentiable density on the boundary. The property makes a probability measure be complex, hence it can be an obstacle for standard methods to learn the measure effectively. This property, however, is popularly seen in many real data, especially data with cluster structure, as demonstrated in Section 3.
16
+
17
+ We investigate in detail the approximation and estimation ability of GANs and some other methods, and provide novel generalization analysis of probability measures with disconnected support. Firstly, we show that the other methods suffer worse generalization performance due to complex structures of disconnected supports (Proposition 1 and Lemma 2). Secondly, our generalization analysis reveals that GANs can learn the probability measure without loss of efficiency under the the disconnected supports (Theorem 1, Corollary 1 and ??). Additionally, we derive a guideline for choosing the number of layers or connections of the generator and discriminator from the generalization analysis. Numerical results support our theoretical findings.
18
+
19
+ We remark that the disconnected support property is different from the low-dimensional supports studied in Arjovsky & Bottou (2017), where the support of a measure generated by neural networks is disjoint to the measure of observations. In contrast, this paper considers the case in which the support of the observation measure is divided into disjoint subsets. The problem of disconnected supports is complement to the low-dimensionality, hence these two problems can be investigated separately. In this paper, to simplify the discussion, we assume that the support of a probability measure is not low-dimensional.
20
+
21
+ The contributions of this paper are summarized as follows:
22
+
23
+ 1. We show that GANs perform better than other standard methods of estimating probability measures when the measure satisfies the disconnected support property.
24
+ 2. We provide a new generalization error bound under a general formulation of GANs by analyzing an approximation error. The result is thus applicable to a wide range of variations of GANs.
25
+ 3. Based on the generalization bound, we provide a theoretical guideline for selecting architectures of generators and discriminators.
26
+
27
+ All the proofs are given in Supplementary materials.
28
+
29
+ # 2 PRELIMINARIES
30
+
31
+ # 2.1 NOTATION
32
+
33
+ We use notations $I : = [ 0 , 1 ]$ . A $j$ -th element of a vector $b$ is denoted by $b _ { j }$ , and $\begin{array} { r } { \| b \| _ { q } : = ( \sum _ { j } b _ { j } ^ { q } ) ^ { 1 / q } } \end{array}$ is the $q$ -norm $( q \in [ 0 , \infty ] )$ . $\mathrm { v e c } ( \cdot )$ is a vectorization operator for matrices. For $z \in \mathbb { N } , [ z ] : =$ $\{ 1 , 2 , \ldots , z \}$ is a set of positive integers no more than $z$ . For $\alpha \in \mathbb { R }$ , $\lfloor \alpha \rfloor$ denotes the largest integer which is not larger than ş $\alpha$ . For a domain $\Omega$ in a Euclidean space and a function $f : \Omega \mathbb { R }$ , $\Vert f \Vert _ { L ^ { p } } : = ( \int _ { \Omega } | f ( t ) | ^ { p } d t ) ^ { 1 / p }$ denotes the $L ^ { p }$ norm for $p \in [ 0 , \infty ]$ . For $f : \Omega \to \mathbb { R } ^ { D }$ with a multidimensional output, $f _ { d }$ denotes a $d$ -th coordinate of $\boldsymbol { f } ( \boldsymbol { x } ) = ( f _ { 1 } ( \boldsymbol { x } ) , . . . , f _ { D } ( \boldsymbol { x } ) ) ^ { \top } ,$ . Let $H ^ { \beta } ( \Omega )$ be the Hölder space for $\beta > 0$ such as a set of $\beta$ -smooth functions $f : \Omega \to { \mathbb { R } }$ , namely, $f$ is $C ^ { \lfloor \beta \rfloor }$ -class and its $\lfloor \beta \rfloor$ -th derivative is $\beta - \lfloor \beta \rfloor$ -Hölder continuous. $\otimes$ denotes a tensor product, and $\bigcirc$ a composition of functions, namely, for functions $f$ and $f ^ { \prime }$ , $f \circ f ^ { \prime } = f ( f ^ { \prime } ( \cdot ) )$ . A Borel $\sigma$ -algebra of $\Omega$ is denoted as $\sigma ( \Omega )$ . For a measurable mapping $f : \Omega \to \Omega ^ { \prime }$ and $B ^ { \prime } \subset \Omega ^ { \prime }$ , a pre-image of $f$ is defined as $f ^ { - 1 } ( B ^ { \prime } ) : = \{ t \in \Omega \mid B ^ { \prime } \ni f ( t ) \}$ . Let $I _ { \Omega } : x \mapsto \{ 0 , 1 \}$ be an indicator function such that $\pmb { I } _ { \Omega } ( x ) = 1$ if $x \in \Omega$ , and $\pmb { I } _ { \Omega } ( x ) = 0$ otherwise.
34
+
35
+ # 2.2 GENERAL FRAMEWORK OF GANS
36
+
37
+ We provide a general formulation of a learning problem with generative adversarial networks $( G A N s )$ following Liu et al. (2017). In this paper, we consider a probability measure $P ^ { * }$ on a measurable space $( I ^ { \breve { D } } , \Sigma )$ with a dimensionality $D \in \mathbb { N }$ and $\Sigma : = \sigma ( I ^ { \hat { D } } )$ . Here, we set $D \geqslant 3$ . Suppose we have a set of $n$ observations ř ${ \mathcal { D } } : = \{ X _ { 1 } , . . . , X _ { n } \}$ which is independently and identically generated from $P ^ { * }$ . Let $\begin{array} { r } { P _ { n } : = \frac { 1 } { n } \sum _ { i \in [ n ] } \delta _ { X _ { i } } } \end{array}$ be an empirical measure where $\delta _ { x }$ is the Dirac measure at $x$ .
38
+
39
+ The goal of generative networks is to estimate $P ^ { * }$ from $\mathcal { D }$ . To this end, we construct a probability measure by generators. Let $P _ { Z }$ be the uniform distribution on $( I ^ { D } , \Sigma )$ . For a measurable mapping $g : I ^ { D } \to { \bf \check { \cal I } } ^ { \check { D } }$ , we define $P _ { g }$ as the pushforward measure: i.e., $\begin{array} { r } { P _ { g } ( B ) = P _ { Z } ( g ^ { - 1 } ( B ) ) } \end{array}$ for $B \in \Sigma$ . We call $g$ as a generator and use $\mathcal { G }$ for a set of generators.
40
+
41
+ GANs employ a learning scheme with a metric with discriminators (Goodfellow et al., 2014). Let $\mathcal { F } = \{ f : \mathbf { \bar { \chi } } _ { I } D ^ { \bullet } \mathbb { R } \}$ be a a set of discriminators. This paper considers a general metric for GANs (Liu et al., 2017),
42
+
43
+ $$
44
+ d _ { \mathcal { F } } ( P , P ^ { \prime } ) : = \operatorname* { s u p } _ { f \in \mathcal { F } } \mathbb { E } _ { X \sim P } [ f ( X ) ] - \mathbb { E } _ { X \sim P ^ { \prime } } [ f ( X ) ] ,
45
+ $$
46
+
47
+ between probability measures $P$ and $P ^ { \prime }$ .
48
+
49
+ For the learning process, we generate $m$ noise samples $\widetilde { Z } _ { 1 } , . . . , \widetilde { Z } _ { m }$ from $P _ { Z }$ and obtain generated samples as $\tilde { X } _ { j } : = g ( \tilde { Z } _ { j } )$ with $g \in { \mathcal { G } }$ for $j \in [ m ]$ . Let $\begin{array} { r } { P _ { g , m } : = \frac { 1 } { m } \sum _ { j \in [ m ] } \delta _ { \widetilde { X } _ { j } } } \end{array}$ denote the sampling measure. GANs construct an estimator $P _ { \hat { g } }$ for $P ^ { * }$ by learning $\widehat g$ with the following optimization problem
50
+
51
+ $$
52
+ { \widehat { g } } \in \mathop { \mathrm { a r g m i n } } _ { g \in { \mathcal { G } } } d _ { { \mathcal { F } } } \left( P _ { n } , P _ { g , m } \right) .
53
+ $$
54
+
55
+ The metric (1) covers a wide variety of GANs by selecting $\mathcal { F }$ . Among others, the original GAN (Goodfellow et al., 2014) is realized if $\mathcal { F }$ contains a logarithm of density ratio; Wasserstein-GAN (Arjovsky et al., 2017), MMD-GAN (Dziugaite et al., 2015; Li et al., 2017) and Energy-Based GAN (Zhao et al., 2016) are given if $\mathcal { F }$ is the set of 1-Lipschitz functions, a reproducing kernel Hilbert space, and the bounded continuous functions, respectively. The $f$ -GAN (Nowozin et al., 2016) also belongs to this class.
56
+
57
+ We assume that $\mathcal { F }$ is large enough to contain functions which can work as a discriminator, namely, we assume that the following holds:
58
+
59
+ $$
60
+ d _ { \mathcal { F } } ( P , P ^ { \prime } ) = 0 \Leftrightarrow P = P ^ { \prime } .
61
+ $$
62
+
63
+ A sufficient condition for (3) is investigated in Zhang et al. (2018).
64
+
65
+ # 2.3 DEEP NEURAL NETWORKS FOR GENERATORS AND DISCRIMINATORS
66
+
67
+ In the schemes of GANs, $\mathcal { F }$ and $\mathcal { G }$ are realized by deep neural networks (DNNs). For further discussion, we formulate the function class given by DNNs.
68
+
69
+ Let $L \in \mathbb { N }$ be a number of layers in DNNs, and $D _ { \ell } ^ { \prime } \in \mathbb { N }$ be a dimensionality of variables in an $\ell \cdot$ -th layer for $\ell \in \left[ L + 1 \right]$ . Here, we set $D _ { L + 1 } ^ { \prime } = D$ for generators and $D _ { L + 1 } ^ { \prime } = \mathrm { \bar { 1 } }$ for discriminators. We introduce $A _ { \ell } \in \mathbb { R } ^ { D _ { \ell + 1 } ^ { \prime } \times D _ { \ell } ^ { \prime } }$ and $b _ { \ell } \in \mathbb { R } ^ { D _ { \ell } ^ { \prime } }$ as matrix and vector parametersof the $\ell$ -th layer. An architecture $\Theta$ of DNNs is defined as a set of $L$ pairs of $\left( A _ { \ell } , b _ { \ell } \right)$ as $\bar { \Theta : = ( ( A _ { 1 } , b _ { 1 } ) , . . . , ( A _ { L } , \bar { b } _ { L } ) ) }$ . We define notations for $\Theta$ as follow: $| \Theta | : = L$ as the number of layers, $\begin{array} { r } { \| \Theta \| _ { 0 } : = \sum _ { \ell \in [ L ] } \| \operatorname { v e c } ( A _ { \ell } ) \| _ { 0 } + \| b _ { \ell } \| _ { 0 } } \end{array}$ as the number of non-zero elements in $\Theta$ , and $\begin{array} { r } { \| \Theta \| _ { \infty } : = \operatorname* { m a x } \{ \operatorname* { m a x } _ { \ell \in [ L ] } \| \mathrm { v e c } ( \mathring { A } _ { \ell } ) \| _ { \infty } , \operatorname* { m a x } _ { \ell \in [ L ] } \| b _ { \ell } \| _ { \infty } \} } \end{array}$ be the scale of parameters in $\Theta$ . We employ the ReLU activation function $\eta : \mathbb { R } ^ { D ^ { \prime } } \to \mathbb { R } ^ { D ^ { \prime } }$ for each $D ^ { \prime } \in \mathbb { N }$ such as $\eta ( x ) = ( \operatorname* { m a x } \{ x _ { d } , 0 \} ) _ { d \in [ D ^ { \prime } ] }$ .
70
+
71
+ We define functions of DNNs with an architecture $\Theta$ as $\xi [ \Theta ] : \mathbb { R } ^ { D ^ { \prime } } \mathbb { R } ^ { D ^ { \prime \prime } }$ by
72
+
73
+ $$
74
+ \xi [ \Theta ] ( x ) = x ^ { ( L + 1 ) } , x ^ { ( 1 ) } : = x , x ^ { ( \ell + 1 ) } : = \eta ( A _ { \ell } x ^ { ( \ell ) } + b _ { \ell } ) , \mathrm { f o r } \ell \in [ L ] .
75
+ $$
76
+
77
+ The function class of DNNs is thus given by
78
+
79
+ $$
80
+ \Xi ( S , B , L ) : = \Big \{ \xi [ \Theta ] : I ^ { D } \to \mathbb { R } \ | \ \| \Theta \| _ { 0 } \leqslant S , \| \Theta \| _ { \infty } \leqslant B , | \Theta | \leqslant L \Big \} ,
81
+ $$
82
+
83
+ where $S \in \mathbb { N } , B > 0$ , and $L \in \mathbb { N }$ are hyper-parameters. Here, $S$ bounds the number of non-zero parameters of DNNs, namely, it controls the sparseness of DNNs. $B$ is a bound for scales of parameters.
84
+
85
+ # 3 DISCONNECTED SUPPORT PROPERTY
86
+
87
+ # 3.1 INTRODUCTION AND EXAMPLE
88
+
89
+ It is often observed that data in real world data the support of its probability measure may not be connected but a union of disjoint subsets. This is typical if the data has cluster structures, as seen in many data sets for classification tasks. Moreover, the density function of the probability measure may not be smooth at a boundary of the support. Figures 1 (MNIST, (LeCun et al., 1998)) and 2 (Shelter Animal, Center) illustrate such examples in the real world. They are projected onto a 2-dimensional Euclidean space by t-SNE (Maaten & Hinton, 2008) so that they preserve the original distance structure among points. We can see that both of the data are concentrated on several disjoint subsets and there are a clear gap or empty regions between some of the subsets. This observation suggests that the disconnected property of probability measures should be addressed in discussing estimation of probability measures, while standard analysis does not consider this phenomenon. In fact, this paper will show that the disconnected supports property has an important role in showing an advantage of GANs over standard estimation methods.
90
+
91
+ ![](images/fe32edfd04a7a392e42a9668e55374015bbdbbcd473787ac6a8e24e86e9e385a.jpg)
92
+ Figure 1: Plot of the MNIST data.
93
+
94
+ ![](images/9e1bdfe866576746ea80f727f2a4ff3e3c05341c6ba33fc8c5e775ffcb4bc9c3.jpg)
95
+ Figure 2: Plot of the animal data.
96
+
97
+ # 3.2 MATHEMATICAL FORMULATION OF DISCONNECTED SUPPORTS
98
+
99
+ Here we make a rigorous definition of disconnected supports. The property of smoothness (i.e. differentiability) is involved, which is a key factor to analyze generalization performance in the fields of the statistics (Stone, 1982; Tsybakov, 2009); Stone (1982) shows, for instance, that smoothness and a dimension of data are sufficient to characterize an optimal convergence of generalization errors.
100
+
101
+ We first prepare a family of subsets as a component in the disconnected supports:
102
+
103
+ $\begin{array} { r } { S _ { \alpha , J } : = \left\{ S \subset I ^ { D } \ \right| } \end{array}$ A boundary of $S$ is $J$ combination of $\alpha$ -smooth hyper surfaces .
104
+
105
+ The supplementary material will provide a more rigorous definition.
106
+
107
+ Now, we define the disconnected support property of probability measures as well as a probability measure with global support, i.e., with no the disconnected support property. Let $\operatorname { S u p p } ( P )$ be the support of $P$ ., i.e, ${ \dot { \operatorname { S u p p } } } ( P ) : = \{ x \in I ^ { D } \mid P ( V _ { x } ) > 0$ for all open neighborhood $V _ { x }$ of $x \}$ Hereafter, $M \geqslant 2$ is the number of disjoint components of a support.
108
+
109
+ Definition 1. (Disconnected Supports / Global Support)
110
+ Let $M \geqslant 2$ . A probability measure $P$ on $( I ^ { D } , \bar { \Sigma } )$ has $M$ disconnected supports, if there exist
111
+ nonempty disjoint sets ${ \cal S } _ { 1 } , . . . , { \cal S } _ { M } \in { \cal S } _ { \alpha , J }$ such that
112
+
113
+ $$
114
+ \operatorname { S u p p } ( P ) = \bigcup _ { m \in [ M ] } S _ { m } .
115
+ $$
116
+
117
+ A probability measure $P$ on $( I ^ { D } , \Sigma )$ has a global support, if $\operatorname { S u p p } ( P ) = I ^ { D }$ .
118
+
119
+ Figure 3 illustrates the disconnected support property.
120
+
121
+ We next formulate a notion of smoothness for $P$ with disconnected supports. Let $\beta \geqslant 1$ be a parameter for a degree of smoothness of $P$ .
122
+
123
+ Definition 2. (Local Smoothness)
124
+
125
+ A probability measure $P$ with $M$ disconnected support is locally $\beta$ -smooth, if there exist $M$ pairs $( \widetilde { S } _ { m } , S _ { m } ) \in \mathrm { ~ \cal { S } ~ } _ { 2 \beta , J } \times S _ { 2 \beta , J }$ and $\beta + 1$ -smooth bijective measurable maps $\gamma _ { m } : \widetilde { S } _ { m } S _ { m }$ as
126
+
127
+ $$
128
+ P ( B ) = P _ { Z } ( \gamma _ { m } ^ { - 1 } ( B ) ) , \forall B \in \sigma ( S _ { m } ) ,
129
+ $$
130
+
131
+ for $m \in [ M ]$
132
+
133
+ This definition of local smoothness says that a probability measure $P$ with disconnected supports can be generated by sufficiently smooth mappings $\gamma _ { m }$ . It is used for considering a smooth density function of $P$ restricted on $S _ { m }$ .
134
+
135
+ Lemma 1. (Locally Smooth Density Functions)
136
+ If a probability measure $P$ with $M$ disconnected support is locally $\beta$ -smooth, then there exists a
137
+ function $p _ { m } : S _ { m } \to \mathbb { R } _ { + }$ such that
138
+
139
+ $$
140
+ P ( B ) = \int _ { B } p _ { m } ( x ) d \lambda , B \in \sigma ( S _ { m } ) ,
141
+ $$
142
+
143
+ where $\lambda$ is the Lebesgue measure, and $p _ { m }$ is $\beta$ -smooth for all $m \in [ M ]$ .
144
+
145
+ We call $p _ { m }$ as a local density function.
146
+
147
+ Note that, since Ť $P$ with disconnected supports is not absolutely continuous to the Lebesgue measure on $\textstyle I ^ { D } \backslash \bigcup _ { m \in [ M ] } S _ { m }$ , an ordinary density function cannot be defined. Instead, a localized version of density functions for each $S _ { m }$ is introduced, which is guaranteed by the local smoothness.
148
+
149
+ ![](images/c3dfa9a97b096a21af5f6a1718c1eb7930b940550b40573c085a60e6e567de44.jpg)
150
+ Figure 3: Illustration of a probability measure $P$ with a disconnected support. $\operatorname { S u p p } ( P )$ is a union of two disjoint sets $S _ { 1 }$ and $S _ { 2 }$ .
151
+
152
+ ![](images/cfd77cfd712870f7426ee318b45107ce716b4b22206e74bddb9e99ccc7ae3428.jpg)
153
+ Figure 4: Illustration of a generator $g$ . To represent discontinuous $S _ { 1 }$ and $S _ { 2 }$ , $g$ should be discontinuous.
154
+
155
+ # 3.3 DIFFICULTY WITH DISCONNECTED SUPPORTS
156
+
157
+ As shown in this subsection, the generalization performance of many standard estimation methods is worsened with disconnected supports. We consider popular nonparametric methods, for which the generalization performance is well-studied in the asymptotics of the observation size $n$ . The considered methods are the kernel density estimator (KDE) (Nadaraya, 1964), the nonparametric Bayes (NB) by the Dirichlet mixtures of normal distributions (Ferguson, 1973), the series density estimator (SDE) (Efromovich et al., 2008; Efromovich, 2010) and the density estimator with Gaussian process (GP) (Leonard, 1978). Bounds of the generalization errors for these methods are already known (Tsybakov, 2009; Ghosal et al., 2007; van der Vaart $\&$ van Zanten, 2008), and they are optimal in the minimax sense. Here, their performance is evaluated with respect to a root of an expected squared loss with respect to the $L ^ { 2 }$ -norm, namely, $d _ { 2 } ( P , P ^ { \prime } ) : = \mathbb { E } [ \| p - p ^ { \prime } \| _ { L ^ { 2 } } ^ { 2 } ] ^ { 1 / 2 }$ where $p$ and $p ^ { \prime }$ are densities for $P$ and $P ^ { \prime }$ .
158
+
159
+ We show the deterioration of their performance by the disconnected support property. Let $\hat { P }$ be an estimator for $P ^ { * }$ by KDE, NB, SDE, or GP. If $P ^ { * }$ has a global support and a $\beta$ -smooth density, the existing studies (Tsybakov, 2009; Ghosal et al., 2007; van der Vaart $\&$ van Zanten, 2008) show that
160
+
161
+ $$
162
+ d _ { 2 } ( P ^ { * } , \widehat { P } ) = O \left( n ^ { - \beta / ( 2 \beta + D ) } \right) .
163
+ $$
164
+
165
+ These bounds are sufficiently tight, since these bounds corresponds to an optimal rate (Stone, 1982), and the performance of the methods can be improved as the density for $P ^ { * }$ is smoother (larger $\beta$ ).
166
+
167
+ On the other hand, we consider a case in which $P ^ { * }$ has the disconnected support property.
168
+
169
+ Proposition 1. (Deterioration of other standard methods) There exists $P ^ { * }$ of the disconnected support property and locally $\beta$ -smooth such that
170
+
171
+ $$
172
+ d _ { 2 } ( P ^ { * } , \widehat { P } ) = { \cal O } \left( n ^ { - 1 / ( 2 + D ) } \right) .
173
+ $$
174
+
175
+ When $P ^ { * }$ has disconnected supports, the errors are worse than those for the global support, independent of $\beta$ . This worse generalization error can be understood by the non-smoothness or discontinuity of the density functions on the boundaries of the disconnected sets (see Figure 3).
176
+
177
+ We next discuss other generative models for estimating a probability measure. To the best of our knowledge, other probabilistic generative methods (Koller et al., 2009) and the variational autoencoder (Kingma & Welling, 2013), their statistical generalization property is not well investigated. Here we provide a property of generators for probability measures with disconnected supports.
178
+
179
+ Lemma 2. (Discontinuous Generators for Disconnected Supports)
180
+ If $P ^ { * }$ has disconnected supports and $P ^ { * } = P _ { g ^ { * } }$ with a generator $g ^ { * }$ , then $g ^ { * }$ is not uniformly continuous.
181
+
182
+ Lemma 2 states that a generator must be discontinuous to construct a probability measure with disconnected support sets. Intuitively, to make $P _ { g ^ { * } } ( B ) = 0$ for $B \in I ^ { D }$ with $\lambda ( B ) > 0$ , the slope of $g ^ { * }$ at $z \in I ^ { D }$ should be close to infinite for $z \in g ^ { * , - 1 } ( B )$ , hence $g ^ { * }$ cannot be uniformly continuous (see Figure 4). Because of the discontinuity, generative models with smooth functions, such as an adversarial generative model with kernel generators (Sinn & Rawat, 2018), cannot work well with disconnected supports.
183
+
184
+ # 4 GENERALIZATION BY GANS
185
+
186
+ We provide generalization analysis for GANs for probability measures with and without disconnected supports. For the purpose, we employ a metric $d _ { \mathcal { F } }$ with properly selected discriminators $\mathcal { F }$ and evaluate the generalization error $d _ { \mathcal { F } } ( P ^ { \ast } , P _ { \hat { g } } )$ with respect to an observation size $n$ and a sampling size $m$ . We assume $\mathcal { F }$ is realized by DNNs as $\mathcal { F } = \Xi ( S _ { f } , B _ { f } , L _ { f } ) \cap \widetilde { \mathcal { F } }$ with parameters $S _ { f } , B _ { f } , L _ { f }$ , where $\tilde { \mathcal { F } }$ is a specified functional class; for an example, $\tilde { \mathcal { F } }$ is 1-Lipschitz functions for WassersteinGAN. Here, we consider settings that all $f \in { \mathcal { F } }$ are $L _ { 1 }$ -Lipschitz continuous and $\| f \| _ { L ^ { \infty } } \leqslant B _ { F }$ with constants $L _ { 1 } , B _ { F } > 0 .$ Generators are also constructed by DNNs as $\mathcal { G } = \Xi ( S _ { g } , B _ { g } , L _ { g } )$ with parameters $S _ { g } , B _ { g } , L _ { g }$ .
187
+
188
+ A standard line of discussing generalization, we should consider statistical errors and approximation errors. We define a measure of the complexity of $\mathcal { F }$
189
+
190
+ $$
191
+ \Upsilon _ { n } ( \mathcal { F } ) : = \operatorname* { i n f } _ { \eta > 0 } 4 \eta + 1 2 n ^ { - 1 / 2 } \int _ { \eta } ^ { c } \log \mathcal { N } ( ( L _ { 1 } + 1 ) ^ { - 1 } \epsilon , \mathcal { F } , \| \cdot \| _ { n } ) ^ { 1 / 2 } d \epsilon ,
192
+ $$
193
+
194
+ where $c > 0$ is a constant depends on $\mathcal { F }$ and $\mathcal { N } ( \epsilon , \tilde { \mathcal { F } } , \| \cdot \| )$ is a covering number of $\tilde { \mathcal { F } }$ with respect to an empirical norm $\| \cdot \|$ . We note that $\Upsilon _ { n } ( \mathcal { F } )$ bounds an expectation of the Rademacher complexity as
195
+
196
+ $$
197
+ \Upsilon _ { n } ( \mathcal { F } ) \geqslant \mathbb { E } \left[ \operatorname* { s u p } _ { f \in \mathcal { F } } \frac { 1 } { n } \left| \sum _ { i \in [ n ] } \tau _ { i } f ( X _ { i } ) \right| \right] ,
198
+ $$
199
+
200
+ where $\tau _ { i }$ is the i.i.d. Rademacher random variables; $\operatorname* { P r } ( \tau _ { i } = 1 ) = \operatorname* { P r } ( \tau _ { i } = 1 ) = 1 / 2$ , and the expectation is about $X _ { i }$ and $\tau _ { i }$ . Using the statistics and learning theory van der Vaart & Wellner (1996); Bartlett et al. (2005), we can apply a bound for $\Upsilon _ { n } ( \mathcal { F } )$ as
201
+
202
+ $$
203
+ \Upsilon _ { n } ( \mathcal { F } ) \leqslant C _ { \mathcal { F } } n ^ { - 1 / \kappa } ,
204
+ $$
205
+
206
+ with some constants $C _ { \mathcal { F } } > 0$ and $\kappa \geqslant 2$ .
207
+
208
+ Regarding approximation errors, we need to consider approximation of a discontinuous function;
209
+ since Lemma 2 shows that a discontinuous generator is necessary to represent disconnected supports.
210
+ To approximate such generators, DNNs in GANs has an advantage.
211
+
212
+ Lemma 3. (Approximation for Discontinuous $g$ by DNNs) Suppose $P ^ { * }$ has $M$ disconnected supports and locally $\beta$ -smooth, and also $P ^ { * } = P _ { g ^ { * } }$ holds with some $g ^ { * }$ . Then, for any $S _ { g }$ , there exist $\mathcal { G }$ , ${ \dot { g } } \in { \mathcal { G } }$ , and a constant $c _ { g } = c _ { g } ( B _ { g } , L _ { g } ) > 0$ such that
213
+
214
+ $$
215
+ \lVert \dot { \boldsymbol g } _ { d } - \boldsymbol g _ { d } ^ { * } \rVert _ { L ^ { 2 } } \leqslant c _ { g } M S _ { g } ^ { - \beta / D } , \forall d \in [ D ] .
216
+ $$
217
+
218
+ Furthermore, if $P ^ { * } = P _ { g ^ { * } }$ has a global support and it is $\beta$ -smooth, (4) holds with $M = 1$
219
+
220
+ Lemma 3 shows that $\mathcal { G }$ for GANs can approximate $g ^ { * }$ for disconnected supports with the rate $\left( - \beta / D \right)$ by $S _ { g }$ , and the rate is same in the case of global support. This implies an advantage of GANs in comparison with the other standard methods (Proposition 1).
221
+
222
+ Based on Lemma 3, we obtain the main theorem for generalization analysis.
223
+
224
+ Theorem 1. (Generalization of GANs) Suppose that $P ^ { * }$ has $M$ disconnected supports and locally $\beta$ -smooth, and we have n observations and m samplings. Then, with $\mathcal { F }$ , an existing $\mathcal { G }$ , an estimator $P _ { \hat { g } }$ by (2), and finite constants $c _ { 1 } =$ $c _ { 1 } ( L _ { f } , B _ { f } , L _ { g } , B _ { g } ) , c _ { 2 } , c _ { 3 } = c _ { 3 } ( L _ { f } , B _ { f } ) > 0$ , the following inequality holds with high probability,
225
+
226
+ $$
227
+ d _ { \mathcal { F } } \big ( P ^ { * } , P _ { \widehat { g } } \big ) \leqslant \underbrace { \Upsilon _ { m } ( \widetilde { \mathcal { F } } ) + c _ { 1 } \frac { \sqrt { S _ { g } } + \sqrt { S _ { f } } } { \sqrt { m } } } _ { = : I } + \underbrace { c _ { 2 } M D S _ { g } ^ { - \beta / D } } _ { = : I I } + \underbrace { \Upsilon _ { n } ( \widetilde { \mathcal { F } } ) + c _ { 3 } \sqrt { \frac { S _ { f } } { n } } } _ { = : I I I } .
228
+ $$
229
+
230
+ Furthermore, $i f P ^ { * }$ has a global support and it is $\beta$ -smooth, (5) holds with $M = 1$
231
+
232
+ Each of the terms $I , I I$ and $I I I$ has the following role: $I$ bounds an error by the $m$ samplings, $I I$ bounds an error from approximation by $\mathcal { G }$ , and $I I I$ bounds an error by $n$ observations.
233
+
234
+ Proof Outline: By the definition of $P _ { \hat { g } }$ in (2) and standard calculation, we obtain the inequality
235
+
236
+ $$
237
+ d _ { \mathcal { F } } ( P ^ { * } , P _ { \hat { g } } ) \leqslant \underbrace { 2 \operatorname* { s u p } _ { g \in \mathcal { G } } \operatorname* { s u p } _ { f \in \mathcal { F } } \big | \mathbb { E } _ { P _ { g , m } } [ f ( X ) ] - \mathbb { E } _ { P _ { g } } [ f ( X ) ] \big | } _ { = : i } + \underbrace { \operatorname* { i n f } _ { g \in \mathcal { G } } d _ { \mathcal { F } } ( P _ { g } , P ^ { * } ) } _ { = : i i } + \underbrace { 2 d _ { \mathcal { F } } ( P _ { n } , P _ { 0 } ) } _ { = : i i i } .
238
+ $$
239
+
240
+ To obtain $i \leqslant I$ and $i i i \leqslant I I I$ , we apply an empirical process technique (van der Vaart & Wellner, 1996), especially convergence of integral probability measures (Sriperumbudur et al., 2012) and the entropy control technique (Lemma 4 and 5 in the supplementary material). To show $i i \leqslant I I$ , we employ recent results on approximation ability of DNNs (Yarotsky, 2017; Petersen & Voigtlaender, 2017; Imaizumi & Fukumizu, 2018) and obtain an approximation bound for $d _ { \mathcal { F } } ( P _ { g } , P ^ { * } )$ (Lemma 3). Combining these results, we obtain the statement of Theorem 1. □
241
+
242
+ Theorem 1 provides two trade-off relations with respect to $S _ { g }$ and $S _ { f }$ . The generator class $\mathcal { G }$ controls uncertainty by sampling and the approximation error, while $S _ { f }$ controls uncertainty of observations and discrimination. For balancing the trade-offs, we select the number of parameters (connections of DNNs) with some constants $c _ { g } , c _ { f } > 0$ as
243
+
244
+ $$
245
+ S _ { g } = c _ { g } m ^ { D / ( 2 \beta + D ) } , ~ \mathrm { a n d } ~ S _ { f } = c _ { f } n ^ { ( \kappa - 2 ) / \kappa } ,
246
+ $$
247
+
248
+ for optimizing the bound (5). We then obtain the following corollary.
249
+
250
+ Corollary 1. (Convergence Rate of GANs)
251
+ Make the same assumptions as Theorem $^ { l }$ , and set $S _ { f }$ and $S _ { g }$ as in (6). Then, with high probability
252
+ converging to 1, we obtain
253
+
254
+ $$
255
+ d _ { \mathcal { F } } ( P ^ { \ast } , P _ { \hat { g } } ) = O \left( n ^ { - 1 / \kappa } \right) + O \left( m ^ { - 1 / \kappa } + m ^ { - \beta / ( 2 \beta + D ) } \right) .
256
+ $$
257
+
258
+ A selection of $\tilde { \mathcal { F } }$ determines the first term in (7), since \` $\kappa$ depends on ˘ $\tilde { \mathcal { F } }$ . For an example, when $\mathcal { F }$ is a set of 1-Lipschitz functions, the first term is $O \left( n ^ { - 1 / \left( 2 + 2 D \right) } \right)$ (Sriperumbudur et al., 2012).
259
+
260
+ Remark 1. (Heterogeneous Smoothness)
261
+
262
+ Corollary 1 can be extended when $P ^ { * }$ has different smoothness for each $m \in [ M ]$ , i.e., $P ^ { * }$ is locally $\beta _ { m }$ -smooth on a set $S _ { m }$ . In this case, we can easily extend our analysis in Theorem 1 and Corollary 1, and obtain the following convergence rate.
263
+
264
+ $$
265
+ d _ { \mathcal { F } } ( P ^ { \ast } , P _ { \hat { g } } ) = O \left( n ^ { - 1 / \kappa } \right) + O \left( m ^ { - 1 / \kappa } + m ^ { - \widetilde { \beta } / ( 2 \widetilde { \beta } + D ) } \right) ,
266
+ $$
267
+
268
+ where $\widetilde { \beta } : = \operatorname* { m i n } _ { m \in \left[ M \right] } \beta _ { m }$
269
+
270
+ # 5 DISCUSSION
271
+
272
+ We emphasize the theoretical results show that GANs do not suffer from the effect of disconnected supports. A larger $\beta$ improves performance of GANs even with disconnected supports, as shown in Theorem 1 and Corollary 1. This phenomenon is different from the result of the other methods discussed in Proposition 1. Hence, we can state that GANs have advantages over the other methods which are deteriorated by the disconnected property (Section 3.3). In other words, when data are generated from a probability measure with disconnected supports and sufficiently smooth in each of the sets, only GANs can estimate the measure effectively and the other methdos cannot. This advantage of GANs comes from the approximation power for discontinuous generators shown in Lemma 3.
273
+
274
+ The results (5) and (7) provide interpretation about performance of GANs. About convergence with $n$ the complexity of $\tilde { \mathcal { F } }$ and $S _ { f }$ control a trade-off between convergence and a power of discrimination. While smaller $S _ { f }$ reduce the errors in terms of $d _ { \mathcal { F } }$ , too small $S _ { f }$ can lose the power of discrimination to satisfy (1). Hence, setting $S _ { f }$ as in (6) can keep the discrimination power and does not worsen the overall rate of convergence $O ( n ^ { - 1 / \kappa } )$ . About convergence with $m$ , $S _ { g }$ controls the trade-off between the bias and variance of the estimator. An optimal way to select $S _ { g }$ is provided in (6) which depends on $\beta$ and $D$ , and it is more important when $\kappa$ is small (e.g. $\kappa = 2$ as MMD-GAN). Based on the interpretation and the selection rule (6), our study can provide a guideline for a design of the architecture of DNNs.
275
+
276
+ # 5.1 RELATED WORKS
277
+
278
+ Compared with studies for understanding GANs (Dziugaite et al., 2015; Liang, 2017; Liu et al., 2017; Zhang et al., 2018; Biau et al., 2018; Arora et al., 2017), we show that GANs can avoid influences of disconnected supports, unlike the other methods, hence it is a source of the advantage of GANs. This paper is the first work to focus on the disconnected support property, while several discussions (Goodfellow, 2016; Liang, 2017; Creswell et al., 2018) focus on models and metrics of the learning scheme of GANs.
279
+
280
+ It is important to compare our result with other studies for generalization analysis. Although some existing studies (Dziugaite et al., 2015; Liang, 2017; Liu et al., 2017; Zhang et al., 2018; Biau et al., 2018; Arora et al., 2017) provide generalization analysis, they do not analyze an approximation effect, namely, they evaluate $\begin{array} { r } { d _ { \mathcal { F } } ( P ^ { * } , P _ { \hat { g } } ) - \operatorname* { i n f } _ { g \in \mathcal { G } } ( P ^ { * } , P _ { g } ) } \end{array}$ . Since we analyze the term ${ \operatorname* { i n f } } _ { g \in { \mathcal { G } } } ( P ^ { * } , P _ { g } )$ , we can provide a more general bound and discuss the effect of disconnected support.
281
+
282
+ As we mentioned in the introduction, this paper is not along with studies for low-dimensional supports (Arjovsky & Bottou, 2017). We also note that an optimization aspect and gaming aspect of GANs are out of concerns of this paper. We focus on the statistical aspects of GANs such as sample complexity.
283
+
284
+ # 6 NUMERICAL EXPERIMENTS
285
+
286
+ We compare the numerical performance of GANs and the other methods with toy data with. We generate synthetic data from the following two settings: (A) Gaussian distribution restricted on a compact set (global support), and (B) a probability measure with two disconnected supports (density function is the black solid line in Figure 6). We generate $n = 5 0 0$ , 1000, ..., 5000 observations and estimate the true probability measures with Wasserstein GAN, MMD-GAN, KDE (the Gaussian kernel and the Epanechnikov kernel), SDE (Fourier basis), and NB (Dirichlet process prior). Hyperparameters for these methods are selected by cross-validation. For GANs, we set $m = n$ . We use $d _ { \mathcal { F } }$ to evaluate errors by GANs, and a root of the expected squared errors with the $L ^ { 2 }$ -norm for the other methods. The plots are the mean of 30 replications.
287
+
288
+ Figure 5 shows generalization errors by the methods. With the disconnected support case (B), we plot the estimated density in Figure 6. The black line shows the true density, the dashed line is by estimated densities of the other methods, and bars are histograms by GANs. The results by Wasserstein-GAN and MMD-GAN are almost same, so we omit the result by Wasserstein-GAN.
289
+
290
+ In Figure 5, we see that in the case of global support (A), the error of GANs and the other methods are comparable. In contrast, in the case of disconnected supports (B), the other standard methods show worse generalization and only GANs keep the high performance. From Figure 6, we can see that GANs can reveal the disconnected supports, while some of the other methods fail to fit. KDE with the Gaussian kernel represents the disconnected support by employing a small bandwidth. However, the small bandwidth yields a too sharp density, tending to worsen the generalization performance.
291
+
292
+ ![](images/b7802bb8ea485d4b37d7f38150a4da78b2af66548ec317a150627253f99cdfd2.jpg)
293
+
294
+ ![](images/fdfdd8b80275cb2384c0f8e41eeca8edf4984999a69ba9efe06b8bc5ead17296.jpg)
295
+ Figure 5: Generalization errors.
296
+ Figure 6: Estimated density functions with the case (B).
297
+
298
+ # 7 CONCLUSION
299
+
300
+ We investigate a generalization performance of GANs with a situation such that a support of real probability measures is divided into several sets. We find that GANs do not suffer from the division of supports, while some of the other nonparametric methods loss their efficiency by the division. Since real data are often distributed on such divided supports, the finding in this paper is related to the question of why GANs perform well with real datasets.
301
+
302
+ # REFERENCES
303
+
304
+ Martin Arjovsky and Léon Bottou. Towards principled methods for training generative adversarial networks. arXiv preprint arXiv:1701.04862, 2017.
305
+ Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017.
306
+ Sanjeev Arora, Rong Ge, Yingyu Liang, Tengyu Ma, and Yi Zhang. Generalization and equilibrium in generative adversarial nets (gans). arXiv preprint arXiv:1703.00573, 2017.
307
+ Sanjeev Arora, Andrej Risteski, and Yi Zhang. Do gans learn the distribution? some theory and empirics. 2018.
308
+ Peter L Bartlett, Olivier Bousquet, Shahar Mendelson, et al. Local rademacher complexities. The Annals of Statistics, 33(4):1497–1537, 2005.
309
+ G Biau, B Cadre, M Sangnier, and U Tanielian. Some theoretical properties of gans. arXiv preprint arXiv:1803.07819, 2018.
310
+ Austin Animal Center. Shelter animal outcomes. http://www.austintexas.gov/ department/aac.
311
+ Antonia Creswell, Tom White, Vincent Dumoulin, Kai Arulkumaran, Biswa Sengupta, and Anil A Bharath. Generative adversarial networks: An overview. IEEE Signal Processing Magazine, 35(1): 53–65, 2018.
312
+ Gintare Karolina Dziugaite, Daniel M Roy, and Zoubin Ghahramani. Training generative neural networks via maximum mean discrepancy optimization. In Proceedings of the Thirty-First Conference on Uncertainty in Artificial Intelligence, pp. 258–267. AUAI Press, 2015.
313
+ Sam Efromovich. Orthogonal series density estimation. Wiley Interdisciplinary Reviews: Computational Statistics, 2(4):467–476, 2010.
314
+
315
+ Sam Efromovich et al. Adaptive estimation of and oracle inequalities for probability densities and characteristic functions. The Annals of Statistics, 36(3):1127–1155, 2008.
316
+
317
+ Thomas S Ferguson. A bayesian analysis of some nonparametric problems. The annals of statistics, pp. 209–230, 1973.
318
+
319
+ Jon Gauthier. Conditional generative adversarial nets for convolutional face generation. Class Project for Stanford CS231N: Convolutional Neural Networks for Visual Recognition, Winter semester, 2014(5):2, 2014.
320
+
321
+ Subhashis Ghosal, Aad Van Der Vaart, et al. Posterior convergence rates of dirichlet mixtures at smooth densities. The Annals of Statistics, 35(2):697–723, 2007.
322
+
323
+ Ian Goodfellow. Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160, 2016.
324
+
325
+ 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, 2014.
326
+
327
+ Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In Advances in Neural Information Processing Systems, pp. 5769–5779, 2017.
328
+
329
+ Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, pp. 6629–6640, 2017.
330
+
331
+ Masaaki Imaizumi and Kenji Fukumizu. Deep neural networks learn non-smooth functions effectively. arXiv preprint arXiv:1802.04474, 2018.
332
+
333
+ Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
334
+
335
+ Daphne Koller, Nir Friedman, and Francis Bach. Probabilistic graphical models: principles and techniques. MIT press, 2009.
336
+
337
+ Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
338
+
339
+ Tom Leonard. Density estimation, stochastic processes and prior information. Journal of the Royal Statistical Society. Series B (Methodological), pp. 113–146, 1978.
340
+
341
+ Chun-Liang Li, Wei-Cheng Chang, Yu Cheng, Yiming Yang, and Barnabás Póczos. Mmd gan: Towards deeper understanding of moment matching network. In Advances in Neural Information Processing Systems, pp. 2200–2210, 2017.
342
+
343
+ Yujia Li, Kevin Swersky, and Rich Zemel. Generative moment matching networks. In International Conference on Machine Learning, pp. 1718–1727, 2015.
344
+
345
+ Tengyuan Liang. How well can generative adversarial networks (gan) learn densities: A nonparametric view. arXiv preprint arXiv:1712.08244, 2017.
346
+
347
+ Shuang Liu, Olivier Bousquet, and Kamalika Chaudhuri. Approximation and convergence properties of generative adversarial learning. In Advances in Neural Information Processing Systems, pp. 5551–5559, 2017.
348
+
349
+ William Lotter, Gabriel Kreiman, and David Cox. Unsupervised learning of visual structure using predictive generative networks. arXiv preprint arXiv:1511.06380, 2015.
350
+
351
+ Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579–2605, 2008.
352
+
353
+ Pascal Massart. Some applications of concentration inequalities to statistics. In Annales-Faculte des Sciences Toulouse Mathematiques, volume 9, pp. 245–303. Université Paul Sabatier, 2000.
354
+
355
+ Lars Mescheder, Sebastian Nowozin, and Andreas Geiger. The numerics of gans. In Advances in Neural Information Processing Systems, pp. 1823–1833, 2017.
356
+
357
+ James R Munkres. Topology. Prentice Hall, 2000.
358
+
359
+ Elizbar A Nadaraya. On estimating regression. Theory of Probability & Its Applications, 9(1): 141–142, 1964.
360
+
361
+ Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in Neural Information Processing Systems, pp. 271–279, 2016.
362
+
363
+ Philipp Petersen and Felix Voigtlaender. Optimal approximation of piecewise smooth functions using deep relu neural networks. arXiv preprint arXiv:1709.05289, 2017.
364
+
365
+ Scott Reed, Zeynep Akata, Xinchen Yan, Lajanugen Logeswaran, Bernt Schiele, and Honglak Lee. Generative adversarial text to image synthesis. arXiv preprint arXiv:1605.05396, 2016.
366
+
367
+ Johannes Schmidt-Hieber. Nonparametric regression using deep neural networks with relu activation function. arXiv preprint arXiv:1708.06633, 2017.
368
+
369
+ Mathieu Sinn and Ambrish Rawat. Non-parametric estimation of jensen-shannon divergence in generative adversarial network training. In International Conference on Artificial Intelligence and Statistics, pp. 642–651, 2018.
370
+
371
+ Bharath K Sriperumbudur, Kenji Fukumizu, Arthur Gretton, Bernhard Schölkopf, Gert RG Lanckriet, et al. On the empirical estimation of integral probability metrics. Electronic Journal of Statistics, 6:1550–1599, 2012.
372
+
373
+ Elias M Stein. Singular integrals and differentiability properties of functions (PMS-30), volume 30. Princeton university press, 2016.
374
+
375
+ Ingo Steinwart and Andreas Christmann. Support vector machines. Springer Science & Business Media, 2008.
376
+
377
+ CJ Stone. Optimal global rates of convergence for nonparametric regression. The Annals of Statistics, 10:1040–1053, 1982.
378
+
379
+ Ilya O Tolstikhin, Sylvain Gelly, Olivier Bousquet, Carl-Johann Simon-Gabriel, and Bernhard Schölkopf. Adagan: Boosting generative models. In Advances in Neural Information Processing Systems, pp. 5430–5439, 2017.
380
+
381
+ Alexandre B Tsybakov. Introduction to nonparametric estimation, 2009.
382
+
383
+ AW van der Vaart and JH van Zanten. Rates of contraction of posterior distributions based on gaussian process priors. The Annals of Statistics, 36(3):1435–1463, 2008.
384
+
385
+ AW van der Vaart and Jon Wellner. Weak Convergence and Empirical Processes: With Applications to Statistics. Springer Science & Business Media, 1996.
386
+
387
+ Dmitry Yarotsky. Error bounds for approximations with deep relu networks. Neural Networks, 94: 103–114, 2017.
388
+
389
+ Pengchuan Zhang, Qiang Liu, Dengyong Zhou, Tao Xu, and Xiaodong He. On the discriminationgeneralization tradeoff in gans. Proceedings of International Conference on Learning Representations, 2018.
390
+
391
+ Junbo Zhao, Michael Mathieu, and Yann LeCun. Energy-based generative adversarial network. arXiv preprint arXiv:1609.03126, 2016.
392
+
393
+ Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. arXiv preprint arXiv:1703.10593, 2017.
394
+
395
+ # Supplementary Materials for “Understanding GANs via disconnected Support Detection”
396
+
397
+ We introduce a new notation $P f : = \mathbb { E } _ { X \sim P } [ f ( X ) ]$ with a probability measure $P$ and a function $f$ . For a set $\Omega$ with equipped distance $d$ , let $\mathcal { N } ( \epsilon , \Omega , d )$ be a covering number which is a minimum number of $\epsilon$ -balls to cover $\Omega$ .
398
+
399
+ # A SOME ADDITIONAL INFORMATION
400
+
401
+ # A Rigorous Definition of $S _ { \alpha , J }$
402
+
403
+ We consider a set represented by a combination of multiple horizon functions, which has been used in Petersen & Voigtlaender (2017). Given $\alpha$ -smooth function $h \in \check { H ^ { \alpha } } ( I ^ { D - 1 } )$ with $\alpha \geqslant 1$ , a horizon function $\Psi _ { h } : I ^ { D } \overset { \sim } { } \{ 0 , 1 \}$ is defined for some $d \in [ D ]$ as
404
+
405
+ $$
406
+ \Psi _ { h } = \Psi ( x _ { 1 } , \ldots , x _ { d - 1 } , x _ { d } \pm h ( x _ { 1 } , \ldots , x _ { d - 1 } , x _ { d + 1 } , \ldots , x _ { D } ) , x _ { d + 1 } , . . . , x _ { D } ) ,
407
+ $$
408
+
409
+ where $\Psi$ is the Heaviside function; $\Psi ( x ) = I _ { \{ x \in I ^ { D } | x _ { d } \geqslant 0 \} }$ . We define a set by the intersection of $J$ horizon functions $\Psi _ { h _ { 1 } } , . . . , \Psi _ { h _ { J } }$ ; namely the family of sets is defined by
410
+
411
+ $$
412
+ S _ { \alpha , J } : = \left\{ S \subset [ 0 , 1 ] ^ { D } \mid { \cal I } _ { S } = \Psi _ { h _ { 1 } } \otimes \cdot \cdot \cdot \otimes \Psi _ { h _ { J } } \right\} .
413
+ $$
414
+
415
+ Intuitively, $h$ is regarded as an $\alpha$ -smooth curved surface in $I ^ { D }$ , and $\Psi _ { h }$ describes a set which is one side of the surface. Also, $S \in S _ { \alpha , J }$ is a set which is a intersection of $J$ sets by $\Psi _ { h _ { 1 } } , . . . , \Psi _ { h _ { J } }$ .
416
+
417
+ # A Support of Probability Measures
418
+
419
+ Let $N _ { x }$ denote an open neighborhood of $x \in I ^ { D }$ , and For a probability measure $P$ , a support of $P$ is defined as
420
+
421
+ $$
422
+ \mathrm { S u p p } ( P ) : = \bigg \{ x \in I ^ { D } \ | \ P ( N _ { x } ) > 0 , \forall N _ { x } \in \Sigma \bigg \} .
423
+ $$
424
+
425
+ # B PROOFS
426
+
427
+ # B.1 PROOF OF LEMMA 1
428
+
429
+ Fix $m \in [ M ]$ and a corresponding $\widetilde { S } _ { m } , S _ { m }$ and $g _ { m }$ . For any $B \in \sigma ( S _ { m } )$ , the definition of $\gamma _ { m }$ yields
430
+
431
+ $$
432
+ P _ { X } ( B ) = P _ { Z } ( \gamma _ { m } ^ { - 1 } ( B ) ) = \int _ { \gamma _ { m } ^ { - 1 } ( B ) } p _ { Z } ( z ) d z ,
433
+ $$
434
+
435
+ where $p _ { Z }$ is a density function of a uniform measure $P _ { Z }$ . By changing variables $x = \gamma _ { m } ( z )$ , we have
436
+
437
+ $$
438
+ \int _ { \gamma _ { m } ^ { - 1 } ( B ) } p _ { Z } ( z ) d z = \int _ { B } p _ { Z } ( \gamma _ { m } ^ { - 1 } ( x ) ) J _ { \gamma _ { m } } ( x ) d x ,
439
+ $$
440
+
441
+ where $J _ { \gamma _ { m } } ( x ) = | \operatorname* { d e t } \nabla g _ { m } ^ { - 1 } ( x ) |$ . Using $p _ { Z } ( z ) = 1$ for all $z \in I ^ { D }$ , we obtain the following form of $P _ { X } ( B )$ using a function $p _ { m } : \widetilde { S } _ { m } S _ { m }$ as
442
+
443
+ $$
444
+ P _ { X } ( B ) = \int _ { B } J _ { g _ { m } } ( x ) d x = : \int _ { B } p _ { m } ( x ) d x ,
445
+ $$
446
+
447
+ and $p _ { m }$ is $\beta$ -smooth since $\gamma _ { m }$ is $\beta + 1$ -smooth and bijective.
448
+
449
+ # B.2 PROOF OF LEMMA 2
450
+
451
+ Firstly, we show the first points. Suppose that $g$ is a continuous mapping. By the generalized intermediate value theorem (Theorem 24.3 in Munkres (2000)), we know that $g ( I ^ { D } )$ is connected since $I ^ { D }$ is a connected set. Thus, a support of $P _ { g }$ is connected. However, $P _ { g }$ has a disconnected support, thus there is a contradiction. □
452
+
453
+ In this proof, $a \lesssim b$ denotes that $b$ is larger than $a$ up to a finite constant. $a = b$ denotes that $a \lesssim b$ and $a \gtrsim b$ hold.
454
+
455
+ By the definition of $\{ g _ { m } \} _ { m \in [ M ] }$ for the measure with local smoothness, we consider an explicit form of $g _ { m }$ . By Stein (2016), we can extend $g _ { m } : \widetilde { S } _ { m } S _ { m }$ to $\tilde { g } _ { m } : I ^ { D } \to S _ { m }$ since boundaries of $\widetilde { S } _ { m }$ are Lipschitz continuous. Then, we provide the following formulation
456
+
457
+ $$
458
+ \widetilde { \boldsymbol { g } } _ { m } ( \boldsymbol { x } ) = ( \gamma _ { m , 1 } ( \boldsymbol { x } ) , . . . , \gamma _ { m , D } ( \boldsymbol { x } ) ) ^ { \top } ,
459
+ $$
460
+
461
+ where $\gamma _ { m , d } \in H ^ { \beta } ( I ^ { D } )$ . Then, we obtain the form of $g ^ { * }$ as
462
+
463
+ $$
464
+ g ^ { * } = \sum _ { m \in [ M ] } \widetilde { g } _ { m } \otimes \pmb { I } _ { \widetilde { S } _ { m } } .
465
+ $$
466
+
467
+ Also, by the definition of $\mathcal { S } _ { 2 \beta , J }$ which contains $\widetilde { S } _ { m }$ , we obtain the form
468
+
469
+ $$
470
+ { \cal I } _ { { \widetilde { \cal S } } _ { m } } = \bigotimes _ { j \in [ J ] } \psi _ { h _ { m , j } } ,
471
+ $$
472
+
473
+ with existing $\psi _ { h _ { m , j } }$ . Then, we have
474
+
475
+ $$
476
+ g ^ { * } = \sum _ { m \in [ M ] } \widetilde { g } _ { m } \bigotimes _ { j \in [ J ] } \psi _ { h _ { m , j } } .
477
+ $$
478
+
479
+ Preliminarily, we apply sub-neural networks from Yarotsky (2017) and Petersen & Voigtlaenderř (2017). Let $\zeta [ \Theta _ { + } ]$ be a network for summation such that $\begin{array} { r } { { \bf \Pi } \dot { \zeta } [ \Theta _ { + } ] ( x _ { 1 } , . . . , x _ { D ^ { \prime } } ) = \sum _ { d \in [ D ^ { \prime } ] } x _ { d } } \end{array}$ , and $\zeta [ \Theta _ { \times } ]$ be a network for approximate multiplication such as $| \zeta [ \Theta _ { \times } ] ( x _ { 1 } , . . . , x _ { D ^ { \prime } } ) - \prod _ { d \in [ D ^ { \prime } ] } x _ { d } | < \epsilon$ with some $\epsilon > 0$ for all $x , x ^ { \prime } \in I$ (Proposition 3 in Yarotsky (2017) and Lemma 1 in Imaizumi $\&$ Fukumizu (2018)).
480
+
481
+ We consider approximation $\begin{array} { r } { \sum _ { m \in [ M ] } \gamma _ { m , d } \bigotimes _ { j \in [ J ] } \psi _ { h _ { m , j } } } \end{array}$ for each $d \in \mathsf { \Gamma } [ D ]$ . Let $\zeta [ \Theta _ { \gamma , d , m } ]$ and $\zeta [ \Theta _ { h , m , j } ]$ for $d \in [ D ] , m \in [ M ]$ and $j \in [ J ]$ , and we will specify the networks later. Also, let $\zeta \bar { [ \Theta _ { S , m } ] } ^ { - } = \zeta [ \Theta _ { \times } ] ( \bar { \zeta } [ \bar { \Theta } _ { h , m , 1 } ] \bar { ( \cdot ) } , \cdot . . . , \zeta [ \Theta _ { h , m , 1 } ] \bar { ( \cdot ) } )$ .
482
+
483
+ We consider a neural network
484
+
485
+ $$
486
+ \zeta [ \Theta _ { d } ] = \zeta [ \Theta _ { + } ] ( \zeta [ \Theta _ { \times } ] ( \zeta [ \Theta _ { \gamma , d , 1 } ] ( \cdot ) , \zeta [ \Theta _ { S , 1 } ] ( \cdot ) ) , . . . , \zeta [ \Theta _ { \times } ] ( \zeta [ \Theta _ { \gamma , d , M } ] ( \cdot ) , \zeta [ \Theta _ { S , M } ] ( \cdot ) ) ) .
487
+ $$
488
+
489
+ Then, an approximation error is evaluated as
490
+
491
+ $$
492
+ \begin{array} { r l } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \end{array}
493
+ $$
494
+
495
+ where the last inequality follows the Hölder’s inequality.
496
+
497
+ About $T _ { 1 , m }$ , there exists a corresponding $\zeta [ \Theta _ { \gamma , d , m } ]$ such that
498
+
499
+ $$
500
+ \begin{array} { r } { \| \gamma _ { m , d } - \zeta [ \Theta _ { \gamma , d , m } ] \| _ { L ^ { 2 } } \lesssim \| \Theta _ { \gamma , d , m } \| _ { 1 } ^ { - ( \beta + 1 ) / D } , } \end{array}
501
+ $$
502
+
503
+ by following Theorem A.8 in Petersen & Voigtlaender (2017). Also, since $\gamma _ { m , d }$ is bounded by its smoothness and compact support, we have $\| \gamma _ { m , d } \| _ { L ^ { \infty } } < \infty$ hence
504
+
505
+ $$
506
+ T _ { 1 , m } \lesssim \| \Theta _ { \gamma , d , m } \| _ { 1 } ^ { - ( \beta + 1 ) / D } .
507
+ $$
508
+
509
+ For $T _ { 2 , m }$ , we specify $\zeta [ \Theta _ { h , m , j } ]$ as Theorem 3.1 in Petersen & Voigtlaender (2017). Then, we evaluate the following as
510
+
511
+ $$
512
+ \begin{array} { r l } & { \| \gamma _ { m , d } - \zeta [ \Theta _ { \gamma , d , m } ] \| _ { L ^ { 2 } } } \\ & { \leqslant \| \displaystyle \bigoplus _ { j \in [ J ] } \psi _ { h _ { m , j } } - \zeta [ \Theta _ { \star } ] ( \zeta [ \Theta _ { h , m , 1 } ] ( \cdot ) , \ldots , \zeta [ \Theta _ { h , m , 1 } ] ( \cdot ) ) \| _ { L ^ { 2 } } } \\ & { \leqslant \| \displaystyle \bigoplus _ { j \in [ J ] } \psi _ { h _ { m , j } } - \zeta [ \Theta _ { h , m , j } ] \| _ { L ^ { 2 } } + \| \displaystyle \bigotimes _ { j \in [ J ] } \psi _ { h _ { m , j } } - \zeta [ \Theta _ { \star } ] ( \zeta [ \Theta _ { h , m , 1 } ] ( \cdot ) , \ldots , \zeta [ \Theta _ { h , m , 1 } ] ( \cdot ) ) \| _ { L ^ { 2 } } } \\ & { \leqslant \displaystyle \sum _ { j \in [ J ] } \prod _ { j \in [ J ] } \prod _ { l = \delta , j } ( | \psi _ { h _ { m , j } } , | \| _ { L ^ { 2 } } \forall [ \Theta _ { h , m , j } ] \| _ { L ^ { 2 } } ) \| \psi _ { h _ { m , j } } - \zeta [ \Theta _ { h , m , j } ] \| _ { L ^ { 2 } } + \epsilon _ { \times } } \\ & { \leqslant \displaystyle \sum _ { j \in [ J ] } \| \psi _ { h _ { m , j } } - \zeta [ \Theta _ { h , m , j } ] \| _ { L ^ { 2 } } + \epsilon _ { \times } . } \end{array}
513
+ $$
514
+
515
+ Here, the last inequality follows the boundedness of $\psi _ { h _ { m , j ^ { \prime } } }$ and $\zeta [ \Theta _ { h , m , j } ]$ by Theorem 3.1 in Petersen & Voigtlaender (2017). Also, Theorem 3.1 in Petersen $\&$ Voigtlaender (2017) provides an existence of $[ \Theta _ { h , m , j }$ such that
516
+
517
+ $$
518
+ \begin{array} { r } { \| \psi _ { h _ { m , j } } - \zeta [ \Theta _ { h , m , j } ] \| _ { L ^ { 2 } } \leqslant \| \Theta _ { h , m , j } \| _ { 1 } ^ { - \beta / ( D - 1 ) } . } \end{array}
519
+ $$
520
+
521
+ We apply the boundedness of $\zeta [ \Theta _ { h , m , j } ]$ , we have
522
+
523
+ $$
524
+ T _ { 2 , m } \lesssim \sum _ { j \in [ J ] } \| \Theta _ { h , m , j } \| _ { 1 } ^ { - \beta / ( D - 1 ) } + \epsilon _ { \times } .
525
+ $$
526
+
527
+ Combining the bounds for $T _ { 1 , m }$ and $T _ { 2 , m }$ , we bound
528
+
529
+ $$
530
+ \begin{array} { r l } & { \left\| \displaystyle \sum _ { m \in [ M ] } \gamma _ { m , d } \bigotimes \psi _ { h _ { m , j } } - \zeta [ \Theta _ { d } ] \right\| _ { L ^ { 2 } } } \\ & { \leqslant \displaystyle \sum _ { m \in [ M ] } \| \Theta _ { \gamma , d , m } \| _ { 1 } ^ { - ( \beta + 1 ) / D } + \displaystyle \sum _ { m \in [ M ] } \sum _ { j \in [ J ] } \| \Theta _ { h , m , j } \| _ { 1 } ^ { - \beta / ( D - 1 ) } + ( M + 1 ) \epsilon _ { \times } . } \end{array}
531
+ $$
532
+
533
+ Here, we consider a parameter $\begin{array} { r } { S = \sum _ { d \in [ D ] } \| \Theta _ { d } \| _ { 1 } } \end{array}$ such that $S = \| \Theta _ { \gamma , d , m } \| _ { 1 } \asymp \| \Theta _ { h , m , j } \| _ { 1 } \asymp \| \Theta _ { \times } \| _ { 1 }$ Also, following Yarotsky (2017) and Petersen & Voigtlaender (2017), a proper selection of $L = | \Theta _ { \times } |$ and $B = \| \Theta _ { \times } \| _ { \infty }$ provides $\epsilon _ { \times } \lesssim \| \Theta _ { \times } \| _ { 0 } ^ { - \beta / D }$ }´β{D0 . Then, we have
534
+
535
+ $$
536
+ \left. \sum _ { m \in [ M ] } \gamma _ { m , d } \bigotimes _ { j \in [ J ] } \psi _ { h _ { m , j } } - \zeta [ \Theta _ { d } ] \right. _ { L ^ { 2 } } \lesssim M J S ^ { - \beta / D } .
537
+ $$
538
+
539
+ Since $J$ is finite, we obtain the result.
540
+
541
+ # B.4 PROOF OF THEOREM 1
542
+
543
+ By the definition of $\widehat g$ in (2), the following inequality holds
544
+
545
+ $$
546
+ d _ { \mathcal { F } } ( P _ { n } , P _ { \hat { g } , m } ) = \operatorname* { s u p } _ { f \in \mathcal { F } } ( P _ { n } f - P _ { \hat { g } , m } f ) \leqslant d _ { \mathcal { F } } ( P _ { n } , P _ { g , m } ) = \operatorname* { s u p } _ { f \in \mathcal { F } } ( P _ { n } f - P _ { g , m } f ) ,
547
+ $$
548
+
549
+ for arbitrary $g \in { \mathcal { G } }$ .
550
+
551
+ We consider a bound for $d _ { \mathcal { F } } ( P ^ { \ast } , P _ { \hat { g } } )$ as
552
+
553
+ $$
554
+ \begin{array} { r l } & { d _ { \mathcal { F } } \big ( P ^ { * } , P _ { \hat { g } } \big ) = \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \big ( P ^ { * } f - P _ { \hat { g } } f \big ) } \\ & { \quad \quad = \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \big ( P ^ { * } f - P _ { n } f + P _ { n } f - P _ { \hat { g } , m } f + P _ { \hat { g } , m } f - P _ { \hat { g } } f \big ) } \\ & { \quad \quad \leqslant \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \big ( P ^ { * } f - P _ { n } f + P _ { \hat { g } , m } f - P _ { \hat { g } } f \big ) + \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \big ( P _ { n } f - P _ { \hat { g } , m } f \big ) , } \end{array}
555
+ $$
556
+
557
+ where the inequality follows (9) with an existing ${ \dot { g } } \in { \mathcal { G } }$ . We will provide a detailed construction of $g ^ { * }$ . We continue the bound as
558
+
559
+ $$
560
+ \begin{array} { r l } & { d _ { \mathcal { F } } ( P ^ { * } , P _ { \widehat { g } } ) } \\ & { \leqslant \underset { f \in \mathcal { F } } { \operatorname* { s u p } } ( P ^ { * } f - P _ { n } f + P _ { \widehat { g } , m } f - P _ { \widehat { g } } f ) + \underset { f \in \mathcal { F } } { \operatorname* { s u p } } ( P _ { n } f - P ^ { * } f + P ^ { * } f - P _ { \widehat { g } } f + P _ { \widehat { g } } f - P _ { \widehat { g } , m } f ) } \\ & { \leqslant 2 \underset { g \in \mathcal { G } } { \operatorname* { s u p } } \underset { f \in \mathcal { F } } { \operatorname* { s u p } } | P _ { g , m } f - P _ { g } f | + \underset { f \in \mathcal { F } } { \operatorname* { s u p } } ( P ^ { * } f - P _ { \widehat { g } } f ) + 2 \underset { f \in \mathcal { F } } { \operatorname* { s u p } } | P _ { n } f - P ^ { * } f | } \\ & { = : i + i i + i i i . } \end{array}
561
+ $$
562
+
563
+ Here, $i$ denotes an effect from $m$ samplings, $\romannumeral 2$ denotes an approximation error, and iii denotes an uncertainty with the $n$ observations.
564
+
565
+ To evaluate $i$ and $i i i$ , we provide the following lemma. This result follows a standard technique of the empirical process theory and we provide its outline for a sake of completeness.
566
+
567
+ Lemma 4. Let $\mathcal { H }$ be a some set of measurable functions and $X _ { 1 } , . . . , X _ { n } \sim P$ be i.i.d. n observations. Suppose that $\mathbb { E } _ { P } [ h ^ { 2 } ( X ) ] \leqslant \sigma ^ { 2 }$ and $\| h \| _ { L ^ { \infty } } < C _ { h }$ hold with finite parameters $\sigma ^ { 2 } > 0$ and $C _ { h } > 0$ . Then, there exists a constant $C _ { \theta }$ and we obtain
568
+
569
+ $$
570
+ \begin{array} { r l r } { { \operatorname* { s u p } _ { h \in \mathcal { H } } | \frac { 1 } { n } \sum _ { i \in [ n ] } h ( X _ { i } ) - \mathbb { E } _ { P } [ h ( X ) ] | } } \\ & { } & { \leqslant \operatorname* { i n f } _ { \eta > 0 } \{ 4 \eta + 1 2 \int _ { \eta } ^ { C _ { h } } \sqrt { \frac { \log \mathcal { N } ( \epsilon , \mathcal { H } , \| \cdot \| _ { L ^ { \infty } } ) } { n } } d \epsilon + \sqrt { \frac { 2 \tau \sigma ^ { 2 } + 4 C _ { \theta } } { n } } + \frac { \tau C _ { h } } { n } ( \frac { 2 } { 3 } + C _ { \theta } ) \} } \end{array}
571
+ $$
572
+
573
+ with probability at least $1 - 2 \exp ( - \tau )$ for all $\tau > 0$ .
574
+
575
+ Proof. At the beginning, we bound an expectation of the empirical process (Steinwart & Christmann, 2008; Bartlett et al., 2005; Massart, 2000; Sriperumbudur et al., 2012). Afterward, we evaluate a concentration of the empirical process around the expectation.
576
+
577
+ By applying the symmetrization and concentration techniques (Proposition 7.10 in Steinwart & Christmann (2008)), we obtain
578
+
579
+ $$
580
+ \mathbb { E } _ { P ^ { \otimes n } } \left[ \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } h ( X _ { i } ) - \mathbb { E } [ h ( X ) ] \right| \right] \leqslant 2 \mathbb { E } _ { P ^ { \otimes n } \otimes \nu ^ { \otimes n } } \left[ \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } u _ { i } h ( X _ { i } ) \right| \right] ,
581
+ $$
582
+
583
+ where $u _ { i } \sim \nu$ is the Rademacher variable which takes 0 or 1 with probability 0.5. Combining this bound with the Taralgand’s inequality (Theorem A.9.1 in Steinwart $\&$ Christmann (2008)), we obtain the following inequality
584
+
585
+ $$
586
+ \begin{array} { r l } & { \displaystyle \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } h ( X _ { i } ) - \mathbb { E } _ { P } [ h ( X ) ] \right| } \\ & { \leqslant ( 1 + \theta ) \mathbb { E } _ { P ^ { \otimes n } \otimes \nu ^ { \otimes n } } \left[ \displaystyle \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } u _ { i } h ( X _ { i } ) \right| \right] + \sqrt { \frac { 2 \tau \sigma ^ { 2 } } { n } } + \frac { \tau C _ { h } } { n } \left( \frac { 2 } { 3 } + \displaystyle \frac { 1 } { \theta } \right) , } \end{array}
587
+ $$
588
+
589
+ with probability at least $1 - \exp ( - \tau )$ for all $\tau > 0$ and $\theta > 0$ .
590
+
591
+ About the term with the Rademacher variable, we also apply a similar strategy (Lemma A.4 in Bartlett et al. (2005)), then obtain
592
+
593
+ $$
594
+ \mathbb { E } _ { P \hat { \otimes } n } \otimes _ { \mathcal { V } } \otimes n ^ { \prime } \left[ \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } u _ { i } h ( X _ { i } ) \right| \right] \leqslant \frac { 1 } { 1 - \theta ^ { \prime } } \mathbb { E } _ { \nu } \otimes n \left[ \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } u _ { i } h ( X _ { i } ) \right| \right] + \frac { \tau ^ { \prime } C _ { h } } { n \theta ^ { \prime } ( 1 - \theta ^ { \prime } ) } ,
595
+ $$
596
+
597
+ with probability at least $1 - \exp ( - \tau ^ { \prime } )$ for all $\tau ^ { \prime } > 0$ and $\theta ^ { \prime } > 0$ .
598
+
599
+ Let $\| { \bf \nabla } \cdot { \bf \nabla } \| _ { n }$ be an empirical norm as ˇ ˇı $\begin{array} { r l r } { \| f \| _ { n } ^ { 2 } } & { { } = } & { n ^ { - 1 } \sum _ { i \in [ n ] } f ( X _ { i } ) ^ { 2 } } \end{array}$ . About the term $\begin{array} { r } { \mathbb { E } _ { \nu \otimes n } \left[ \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } u _ { i } h ( X _ { i } ) \right| \right] } \end{array}$ , we apply the chaining technique and obtain
600
+
601
+ $$
602
+ \begin{array} { r } { \mathbb { E } _ { \boldsymbol \nu \otimes \boldsymbol n } \left[ \displaystyle \operatorname* { s u p } _ { h \in \mathcal { H } } \left| \frac { 1 } { n } \sum _ { i \in [ n ] } u _ { i } h ( X _ { i } ) \right| \right] \leqslant \displaystyle \operatorname* { i n f } _ { \boldsymbol \theta ^ { \prime \prime } > 0 } \left\{ 4 \boldsymbol \theta ^ { \prime \prime } + 1 2 \int _ { \boldsymbol \theta ^ { \prime \prime } } ^ { \tilde { C } _ { h } } \sqrt { \frac { \log \mathcal { N } ( \epsilon , \mathcal { H } , \| \cdot \| _ { n } ) } { n } } d \epsilon \right\} } \\ { \leqslant \displaystyle \operatorname* { i n f } _ { \boldsymbol \theta ^ { \prime \prime } > 0 } \left\{ 4 \boldsymbol \theta ^ { \prime \prime } + 1 2 \int _ { \boldsymbol \theta ^ { \prime \prime } } ^ { C _ { h } } \sqrt { \frac { \log \mathcal { N } ( \epsilon , \mathcal { H } , \| \cdot \| _ { L ^ { \infty } } ) } { n } } d \epsilon \right\} , } \end{array}
603
+ $$
604
+
605
+ where the last inequality follows a bound for an empirical norm and the boundedness of $\mathcal { H }$ .
606
+
607
+ Combining (10), (11) and (12) and changing variables, we obtain the result.
608
+
609
+ To bound $I$ with $\widetilde { X } _ { 1 } , . . . , \widetilde { X } _ { m } \sim P _ { g }$ , we consider the following value
610
+
611
+ $$
612
+ \begin{array} { r l } & { \underset { g \in \mathcal { G } } { \operatorname* { s u p } } \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \left| \frac { 1 } { m } \sum _ { i \in [ m ] } f ( \widetilde { X } _ { i } ) - \mathbb { E } _ { P _ { g } } [ h ( X ) ] \right| = \underset { g \in \mathcal { G } } { \operatorname* { s u p } } \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \left| \frac { 1 } { m } \sum _ { i \in [ m ] } f \circ g ( Z _ { i } ) - \mathbb { E } _ { P _ { \mathcal { Z } } } [ f \circ g ( X ) ] \right| } \\ & { \qquad = : \underset { h \in \mathcal { H } } { \operatorname* { s u p } } \left| \frac { 1 } { m } \sum _ { i \in [ m ] } h ( Z _ { i } ) - \mathbb { E } _ { P _ { \mathcal { Z } } } [ h ( X ) ] \right| , } \end{array}
613
+ $$
614
+
615
+ where we define $\mathcal { H } = \left\{ h = f \circ g \vert f \in \mathcal { F } , g \in \mathcal { G } \right\}$ . To apply Lemma 4, we investigate a covering number $\mathcal { N } ( \epsilon , \mathcal { H } , \| \cdot \| _ { L ^ { \infty } } )$ .
616
+
617
+ Lemma 5. Assume that $f \in { \mathcal { F } }$ is $L _ { 1 }$ -Lipschitz continuous. We obtain
618
+
619
+ $$
620
+ \log \mathcal { N } ( \epsilon , \mathcal { H } , \| \cdot \| _ { L ^ { \infty } } ) \leqslant \log \mathcal { N } ( ( 1 + L _ { 1 } ) ^ { - 1 } \epsilon , \mathcal { G } , \| \cdot \| _ { L ^ { \infty } } ) + \log \mathcal { N } ( ( 1 + L _ { 1 } ) ^ { - 1 } \epsilon , \mathcal { F } , \| \cdot \| _ { L ^ { \infty } } )
621
+ $$
622
+
623
+ Proof. Fix $\epsilon > 0$ . Let $G \subset { \mathcal { G } }$ and $F \subset { \mathcal { F } }$ be covering sets as a set of centers of $\epsilon$ -balls for the covering $\mathcal { G }$ and $\mathcal { F }$ . Obviously, $| G | = \mathcal { N } ( \epsilon , \mathcal { G } , \| \cdot \| _ { L ^ { \infty } } )$ and $| F | = \mathcal { N } ( \epsilon , \mathcal { F } , \| \cdot \| _ { L ^ { \infty } } )$ . We define a subset
624
+
625
+ $$
626
+ H : = \left\{ h = f \circ g \vert g \in G , h \in F \right\} \subset \mathcal { H } ,
627
+ $$
628
+
629
+ and we known $| H | = | G | \times | F |$ .
630
+
631
+ For any $h \in \mathcal H$ , there exist $g \in { \mathcal { G } }$ and $f \in { \mathcal { F } }$ , then $f = f \circ g$ holds. Also, by the definition of covering sets, there exist $f ^ { \prime } \in F$ and $g ^ { \prime } \in G$ such that $\| f - f ^ { \prime } \| _ { L ^ { \infty } } \leqslant \epsilon$ and $\| g - g ^ { \prime } \| _ { L ^ { \infty } } \leqslant \epsilon$ . Let $h ^ { \prime } = f ^ { \prime } \circ g ^ { \prime }$ , and we measure the distance
632
+
633
+ $$
634
+ \begin{array} { r l } & { \| h - h ^ { \prime } \| _ { L ^ { \infty } } \leqslant \| f \circ g - f ^ { \prime } \circ g ^ { \prime } \| _ { L ^ { \infty } } } \\ & { \qquad = \| f \circ g - f \circ g ^ { \prime } + f \circ g ^ { \prime } - f ^ { \prime } \circ g ^ { \prime } \| _ { L ^ { \infty } } } \\ & { \qquad \leqslant \| f \circ g - f \circ g ^ { \prime } \| _ { L ^ { \infty } } + \| f \circ g ^ { \prime } - f ^ { \prime } \circ g ^ { \prime } \| _ { L ^ { \infty } } } \\ & { \qquad \leqslant L _ { 1 } \| g - g ^ { \prime } \| _ { L ^ { \infty } } + \| f - f ^ { \prime } \| _ { L ^ { \infty } } } \\ & { \qquad \leqslant ( L _ { 1 } + 1 ) \epsilon . } \end{array}
635
+ $$
636
+
637
+ Here, the third inequality follows the Lipschitz property of $f \in { \mathcal { F } }$ . Here, we know that $\mathcal { H }$ is covered by $( L _ { 1 } + 1 ) \epsilon$ -balls with the center $H$ . Since $| H | = | G | \times | F |$ , the result holds. □
638
+
639
+ Now, we have the following entropy bound
640
+
641
+ $$
642
+ \begin{array} { r l } & { \log \mathcal { N } ( \epsilon , \mathcal { H } , \| \cdot \| _ { L ^ { \infty } } ) } \\ & { \leqslant \log { \mathcal { N } ( ( 1 + L _ { 1 } ) ^ { - 1 } \epsilon , \mathcal { G } , \| \cdot \| _ { L ^ { \infty } } ) } + \log \mathcal { N } ( ( 1 + L _ { 1 } ) ^ { - 1 } \epsilon , \mathcal { F } , \| \cdot \| _ { L ^ { \infty } } ) } \\ & { \leqslant ( S _ { g } + 1 ) \log ( 2 ( L _ { 1 } + 1 ) \epsilon ^ { - 1 } ( L _ { g } + 1 ) D _ { g } B _ { g } ) } \\ & { \quad + \operatorname* { m i n } \Biggl \{ ( S _ { f } + 1 ) \log ( 2 ( L _ { 1 } + 1 ) \epsilon ^ { - 1 } ( L _ { f } + 1 ) D _ { f } B _ { f } ) , C _ { \kappa } ( 1 + L _ { 1 } ) \epsilon ^ { - \kappa } \Biggr \} } \end{array}
643
+ $$
644
+
645
+ with $\begin{array} { r } { D _ { g } : = \prod _ { \ell \in [ L _ { g } + 1 ] } ( D _ { \ell } + 1 ) } \end{array}$ and $\begin{array} { r } { D _ { f } : = \prod _ { \ell \in [ L _ { f } + 1 ] } ( D _ { \ell } + 1 ) } \end{array}$ . Let $\Gamma _ { f } : = 2 ( L _ { f } + 1 ) D _ { f } B _ { f }$ , and $N _ { \epsilon } ( \widetilde { \mathcal { F } } ) : = \log \mathcal { N } ( \epsilon , \widetilde { \mathcal { F } } , \| \cdot \| _ { n } )$ for brevity. Here, we apply Lemma 8 in Schmidt-Hieber (2017) for the entropy bound for $\mathcal { G }$ and $\mathcal { F }$ . Using the entropy bound and Lemma 4, we obtain
646
+
647
+ $$
648
+ \begin{array} { r l r } { { 2 \operatorname* { s u p } _ { j \in \mathcal { T } } \big | P _ { n } f - P ^ { * } f \big | } } \\ & { \leqslant 4 \eta + \frac { 1 2 } { n ^ { 1 / 2 } } \int _ { \eta } ^ { \infty } \operatorname* { m i n } \Big \{ N _ { c } ( \widetilde { \mathcal { F } } ) , ( S _ { f } + 1 ) \log ( \Gamma _ { f } \epsilon ^ { - 1 } ) \Big \} ^ { 1 / 2 } d \epsilon } \\ & { } & { + \frac { ( 2 \tau \sigma ^ { 2 } + C _ { \theta } ) ^ { 1 / 2 } } { n ^ { 1 / 2 } } + \frac { \tau C _ { h } ( 2 / 3 + C _ { \theta } ) } { n } } \\ & { \leqslant 4 \eta + \frac { 1 2 } { n ^ { 1 / 2 } } \int _ { \eta } ^ { \infty } N _ { c } ( \widetilde { \mathcal { F } } ) ^ { 1 / 2 } d \epsilon + \frac { 1 2 } { n ^ { 1 / 2 } } ( S _ { f } + 1 ) ^ { 1 / 2 } ( \log ^ { 1 / 2 } \Gamma _ { f } + C _ { \widetilde { \mathcal { F } } } \log ^ { 1 / 2 } C _ { \widetilde { \mathcal { F } } } - \eta \log ^ { 1 / 2 } \eta ) } \\ & { } & { + \frac { ( 2 7 \sigma ^ { 2 } + C _ { \theta } ) ^ { 1 / 2 } } { n ^ { 1 / 2 } } + \frac { \tau C _ { h } ( 2 / 3 + C _ { \theta } ) } { n } } \\ & { \leqslant \Upsilon _ { n } ( \widetilde { \mathcal { F } } ) + \frac { 1 } { n ^ { 1 / 2 } } ( ( S _ { f } + 1 ) ^ { 1 / 2 } A _ { 1 } + A _ { 2 } ) + \frac { A _ { 3 } } { n } , \qquad \mathrm { ~ o ~ } } \end{array}
649
+ $$
650
+
651
+ with some $\eta > 0$ , $A _ { 1 } = 1 2 \log ^ { 1 / 2 } \Gamma _ { f } , A _ { 2 } = C _ { \tilde { \pi } } \log ^ { 1 / 2 } C _ { \tilde { \pi } } + ( 2 \tau \sigma ^ { 2 } + C _ { \theta } ) ^ { 1 / 2 }$ , and $A _ { 3 } = \tau C _ { h } ( 2 / 3 +$ $C _ { \theta }$ q. Also, we set $\begin{array} { r } { \Upsilon _ { n } ( \widetilde { \mathcal { F } } ) = 4 \eta + \frac { 1 2 } { n ^ { 1 / 2 } } \int _ { \eta } ^ { C _ { \widetilde { \mathcal { F } } } } N _ { ( L _ { 1 } + 1 ) ^ { - 1 } \epsilon } ( \widetilde { \mathcal { F } } ) ^ { 1 / 2 } d \epsilon } \end{array}$ . Then, we have
652
+
653
+ $$
654
+ i i i \leqslant \Upsilon _ { n } ( \widetilde { \mathcal { F } } ) + \frac { 1 } { n ^ { 1 / 2 } } \left( ( S _ { f } + 1 ) ^ { 1 / 2 } A _ { 1 } + A _ { 2 } \right) + \frac { A _ { 3 } } { n } .
655
+ $$
656
+
657
+ About $I$ , we define $\Gamma _ { g } : = 2 ( L _ { f } + 1 ) D _ { g } B _ { g }$ and obtain a similar bound as
658
+
659
+ $$
660
+ \begin{array} { r l r } & { } & { i \leqslant \Upsilon _ { m } ( \widetilde { \mathcal { F } } ) + \displaystyle \frac { 1 } { m ^ { 1 / 2 } } \left( ( S _ { g } + 1 ) ^ { 1 / 2 } A _ { 1 } ^ { \prime } + A _ { 2 } ^ { \prime } \right) + \displaystyle \frac { A _ { 3 } ^ { \prime } } { m } , } \\ & { } & { A _ { 1 } ^ { \prime } = \smash { 1 2 ( \log ^ { 1 / 2 } \Gamma _ { f } + \log ^ { 1 / 2 } \Gamma _ { g } ) } , A _ { 2 } = C _ { \widetilde { \mathcal { F } } } \log ^ { 1 / 2 } C _ { \widetilde { \mathcal { F } } } + C _ { \mathcal { G } } \log ^ { 1 / 2 } C _ { \mathcal { G } } + 2 ( 2 \tau \sigma ^ { 2 } + C _ { \theta } ) ^ { 1 / 2 } , } \end{array}
661
+ $$
662
+
663
+ where and $A _ { 3 } \stackrel { - } { = } 2 \tau C _ { h } ( 2 / 3 + \check { C } _ { \theta } )$ .
664
+
665
+ About $\romannumeral 2$ , we evaluate the error from approximation by constructing a specific deep neural network for generators. We apply Lemma 3 and let $\dot { \boldsymbol g } = ( \dot { g } _ { 1 } , . . . , \dot { g } _ { D } )$ be a generator specified in Lemma 3.
666
+
667
+ $$
668
+ \begin{array} { r l } & { \mathrm { i } i = P _ { g } \ast f - P _ { g } f } \\ & { = \displaystyle \int \big ( f o { g ^ { \ast } } - f o \bar { g } i \big ) d P _ { Z } } \\ & { \lesssim L \displaystyle \int \big | \displaystyle { g ^ { \ast } } - \bar { g } \big | | d P _ { Z } } \\ & { \lesssim L _ { 1 } \left( \displaystyle \sum _ { i \neq [ D ] } \left\lceil g _ { i } ^ { \ast } ( x ) - \bar { g } _ { d } ( x ) \right\rceil ^ { 2 } d P _ { Z } ( x ) \right) ^ { 1 / 2 } } \\ & { - L _ { 1 } \left( \displaystyle \sum _ { i \neq [ D ] } \| g _ { i } ^ { \ast } - \bar { g } _ { d } \| _ { L ^ { 2 } } ^ { 2 } \right) ^ { 1 / 2 } } \\ & { \lesssim \epsilon _ { g , L } \displaystyle L _ { 1 } D M _ { S } e ^ { \frac { 1 } { g } / D } , } \end{array}
669
+ $$
670
+
671
+ which follows $L _ { 1 }$ -Lipschitz continuity of $f$ , the Jensen’s inequality, the Cauchy-Schwartz inequality, compactness of the support $I ^ { D }$ , and uniformity of $P _ { Z }$ . Then, we have
672
+
673
+ $$
674
+ \begin{array} { r } { i i \leqslant c _ { 2 } M D S _ { g } ^ { - \beta / D } . } \end{array}
675
+ $$
676
+
677
+ Combining the result, we obtain the result of Theorem 1.
678
+
679
+ # B.5 PROOF OF PROPOSITION 1
680
+
681
+ When $P$ are globally smooth, we obtain a $\beta$ -smooth density function on $I ^ { D }$ by its definition. Due to the smoothness, the studies for nonparametric statistics (Nadaraya, 1964; Ghosal et al., 2007; Efromovich, 2010; van der Vaart $\&$ van Zanten, 2008; Tsybakov, 2009) guarantees that the methods (KDE,NB,SDE, and GP) obtain the rate $O ( n ^ { - \beta / ( 2 \beta + D ) } )$ with respect to the roof of $L ^ { 2 }$ norm.
682
+
683
+ When $P$ have disconnected supports and locally smooth, we consider a following specific $P$ . Fix $M = 2$ . Let us define supports as $S _ { 1 } = \widetilde { S } _ { 1 } = \{ x \in I ^ { D } \mid x _ { 1 } \leqslant 0 . 5 \} \subset I ^ { D }$ and $S _ { 2 } = \bar { S } _ { 2 } = \{ x \in I ^ { D } \mid $ $x _ { 1 } \leqslant 0 . 5 \} \subset I ^ { D }$ . Also, $g _ { 1 } ( z ) = z$ and $g _ { 2 } : \widetilde { S } _ { 2 } S _ { 2 }$ as
684
+
685
+ $$
686
+ g _ { 2 } ( z ) = ( g _ { 2 , 1 } ( z _ { 1 } ) , . . . , g _ { 2 , D } ( z _ { D } ) ) ^ { \top } ,
687
+ $$
688
+
689
+ where $g _ { 2 , 1 } ( z _ { 1 } ) = 0 . 6 + c ( z _ { 1 } - 0 . 5 ) ^ { 1 / 3 }$ and $g _ { 2 , d } ( z _ { d } ) = z _ { d }$ for $d \in [ D ] \backslash \{ 1 \}$ with a constant $c$ . Then, by the proof of Lemma 1, $p _ { 2 } ( x )$ on $S _ { 2 }$ is a quadratic function with respect to $z _ { 1 }$ is 1-times differentiable but not twice-differentiable at the boundary $\{ x \in I ^ { D } \mid x _ { 1 } = 0 . 6 \dot \}$ . Hence, the studies (Nadaraya, 1964; Ghosal et al., 2007; Efromovich, 2010; van der Vaart & van Zanten, 2008; Tsybakov, 2009) provides that the generalization error of the methods is bounded by $O ( n ^ { - \beta / ( 2 \beta + D ) } )$ with $\beta = 1$ .
parse/train/B1x5KiCcFX/B1x5KiCcFX_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1x5KiCcFX/B1x5KiCcFX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1x5KiCcFX/B1x5KiCcFX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hkfmn5n6W/Hkfmn5n6W.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hkfmn5n6W/Hkfmn5n6W_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hkfmn5n6W/Hkfmn5n6W_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hkfmn5n6W/Hkfmn5n6W_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/S1vyujVye/S1vyujVye.md ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DEEP UNSUPERVISED LEARNING THROUGH SPATIAL CONTRASTING
2
+
3
+ Elad Hoffer
4
+ Technion - Israel Institute of Technology
5
+ Haifa, Israel
6
+ ehoffer@tx.technion.ac.il
7
+ Itay Hubara
8
+ Technion - Israel Institute of Technology
9
+ Haifa, Israel
10
+ itayh@tx.technion.ac.il
11
+ Nir Ailon
12
+ Technion - Israel Institute of Technology
13
+ Haifa, Israel
14
+ nailon@cs.technion.ac.il
15
+
16
+ # ABSTRACT
17
+
18
+ Convolutional networks have marked their place over the last few years as the best performing model for various visual tasks. They are, however, most suited for supervised learning from large amounts of labeled data. Previous attempts have been made to use unlabeled data to improve model performance by applying unsupervised techniques. These attempts require different architectures and training methods. In this work we present a novel approach for unsupervised training of Convolutional networks that is based on contrasting between spatial regions within images. This criterion can be employed within conventional neural networks and optimized using standard techniques such as SGD and backpropagation, thus complementing supervised methods.
19
+
20
+ # 1 INTRODUCTION
21
+
22
+ For the past few years convolutional networks (ConvNets, CNNs) LeCun et al. (1998) have proven themselves as a successful model for vision related tasks Krizhevsky et al. (2012) Mnih et al. (2015) Pinheiro et al. (2015) Razavian et al. (2014). A convolutional network is composed of multiple convolutional and pooling layers, followed by a fully-connected affine transformations. As with other neural network models, each layer is typically followed by a non-linearity transformation such as a rectified-linear unit (ReLU).
23
+
24
+ A convolutional layer is applied by cross correlating an image with a trainable weight filter. This stems from the assumption of stationarity in natural images, which means that parameters learned for one local region in an image can be shared for other regions and images.
25
+
26
+ Deep learning models, including convolutional networks, are usually trained in a supervised manner, requiring large amounts of labeled data (ranging between thousands to millions of examples per-class for classification tasks) in almost all modern applications. These models are optimized using a variant of stochastic-gradient-descent (SGD) over batches of images sampled from the whole training dataset and their ground truth-labels. Gradient estimation for each one of the optimized parameters is done by back propagating the objective error from the final layer towards the input. This is commonly known as ”backpropagation” Rumelhart et al..
27
+
28
+ In early works, unsupervised training was used as a part of pre-training procedure to obtain an effective initial state of the model. The network was later fine-tuned in a supervised manner as displayed by Hinton (2007). Such unsupervised pre-training procedures were later abandoned, since they provided no apparent benefit over other initialization heuristics in more careful fully supervised training regimes. This led to the de-facto almost exclusive usage of neural networks in supervised environments.
29
+
30
+ In this work we will present a novel unsupervised learning criterion for convolutional network based on comparison of features extracted from regions within images. Our experiments indicate that by using this criterion to pre-train networks we can improve their performance and achieve state-ofthe-art results.
31
+
32
+ # 2 PREVIOUS WORKS
33
+
34
+ Using unsupervised methods to improve performance have been the holy grail of deep learning for the last couple of years and vast research efforts have been focused on that. We hereby give a short overview of the most popular and recent methods that tried to tackle this problem.
35
+
36
+ AutoEncoders and reconstruction loss These are probably the most popular models for unsupervised learning using neural networks, and ConvNets in particular. Autoencoders are NNs which aim to transform inputs into outputs with the least possible amount of distortion. An Autoencoder is constructed using an encoder $G ( x ; w _ { 1 } )$ that maps an input to a hidden compressed representation, followed by a decoder $F ( y ; w _ { 2 } )$ , that maps the representation back into the input space. Mathematically, this can be written in the following general form:
37
+
38
+ $$
39
+ \hat { x } = F ( G ( x ; w _ { 1 } ) ; w _ { 2 } )
40
+ $$
41
+
42
+ The underlying encoder and decoder contain a set of trainable parameters that can be tied together and optimized for a predefined criterion. The encoder and decoder can have different architectures, including fully-connected neural networks, ConvNets and others. The criterion used for training is the reconstruction loss, usually the mean squared error (MSE) between the original input and its reconstruction Zeiler et al. (2010)
43
+
44
+ $$
45
+ m i n \lVert x - { \hat { x } } \rVert ^ { 2 }
46
+ $$
47
+
48
+ This allows an efficient training procedure using the aforementioned backpropagation and SGD techniques. Over the years autoencoders gained fundamental role in unsupervised learning and many modification to the classic architecture were made. $\mathrm { N g }$ (2011) regularized the latent representation to be sparse, Vincent et al. (2008) substituted the input with a noisy version thereof, requiring the model to denoise while reconstructing. Kingma et al. (2014) obtained very promising results with variational autoencoders (VAE). A variational autoencoder model inherits typical autoencoder architecture, but makes strong assumptions concerning the distribution of latent variables. They use variational approach for latent representation learning, which results in an additional loss component which required a new training algorithm called Stochastic Gradient Variational Bayes (SGVB). VAE assumes that the data is generated by a directed graphical model $p ( x | z )$ and require the encoder to learn an approximation $q _ { w _ { 1 } } ( z | x )$ to the posterior distribution $p _ { w _ { 2 } } ( z | x )$ where $w _ { 1 }$ and $w _ { 2 }$ denote the parameters of the encoder and decoder. The objective of the variational autoencoder in that case has the following form:
49
+
50
+ $$
51
+ \mathcal { L } ( w _ { 1 } , w _ { 2 } , x ) = - D _ { K L } \big ( q _ { w _ { 1 } } ( z | x ) | | p _ { w _ { 2 } } ( z ) \big ) + \mathbb { E } _ { q _ { w _ { 1 } } ( z | x ) } \big ( \log p _ { w _ { 2 } } ( x | z ) \big )
52
+ $$
53
+
54
+ Recently, a stacked set of denoising autoencoders architectures showed promising results in both semi-supervised and unsupervised tasks. A stacked what-where autoencoder by Zhao et al. (2015) computes a set of complementary variables that enable reconstruction whenever a layer implements a many-to-one mapping. Ladder networks by Rasmus et al. (2015) - use lateral connections and layer-wise cost functions to allow the higher levels of an autoencoder to focus on invariant abstract features.
55
+
56
+ Exemplar Networks: The unsupervised method introduced byDosovitskiy et al. (2014) takes a different approach to this task and trains the network to discriminate between a set of pseudo-classes. Each pseudo-class is formed by applying multiple transformations to a randomly sampled image patch. The number of pseudo-classes can be as big as the size of the input samples. This criterion ensures that different input samples would be distinguished while providing robustness to the applied transformations. In this work we will explore an alternative method with a similar motivation.
57
+
58
+ Context prediction Another method for unsupervised learning by context was introduced by Doersch et al. (2015). This method uses an auxiliary criterion of predicting the location of an image patch given another from the same image. This is done by classification to 1 of 9 possible locations. Although the work of Doersch et al. (2015) and ours both use patches from an image to perform unsupervised learning, the methods are quite different. Whereas the former used a classification criterion over the spatial location of each patch within a single image, our work is concerned with comparing patches from several images to each other. We claim that this encourages discriminability between images (which we feel to be important aspect of feature learning), and was not an explicit goal in previous work.
59
+
60
+ Adversarial Generative Models: This a recently introduced model that can be used in an unsupervised fashion Goodfellow et al. (2014). Adversarial Generative Models uses a set of networks, one trained to discriminate between data sampled from the true underlying distribution (e.g., a set of images), and a separate generative network trained to be an adversary trying to confuse the first network. By propagating the gradient through the paired networks, the model learns to generate samples that are distributed similarly to the source data. As shown by Radford et al. (2015),this model can create useful latent representations for subsequent classification tasks.
61
+
62
+ Sampling Methods: Methods for training models to discriminate between a very large number of classes often use a noise contrasting criterion. In these methods, roughly speaking, the posterior probability $P ( t | y _ { t } )$ of the ground-truth target $t$ given the model output on an input sampled from the true distribution $y _ { t } = F ( x )$ is maximized, while the probability $P ( t | y _ { n } )$ given a noise measurement $y = F ( n )$ is minimized. This was successfully used in a language domain to learn unsupervised representation of words. The most noteworthy case is the word2vec model introduced by Mikolov et al. (2013). When using this setting in language applications, a natural contrasting noise is a smooth approximation of the Unigram distribution. A suitable contrasting distribution is less obvious when data points are sampled from a high dimensional continuous space, such as the case of image patches.
63
+
64
+ # 2.1 PROBLEMS WITH CURRENT APPROACHES
65
+
66
+ Only recently the potential of ConvNets in an unsupervised environment began to bear fruit, still we believe it is not fully uncovered.
67
+
68
+ The majority of unsupervised optimization criteria currently used are based on variations of reconstruction losses. One limitation of this fact is that a pixel level reconstruction is non-compliant with the idea of a discriminative objective, which is expected to be agnostic to low level information in the input. In addition, it is evident that MSE is not best suited as a measurement to compare images, for example, viewing the possibly large square-error between an image and a single pixel shifted copy of it. Another problem with recent approaches such as Rasmus et al. (2015); Zeiler et al. (2010) is their need to extensively modify the original convolutional network model. This leads to a gap between unsupervised method and the state-of-the-art, supervised, models for classification - which can hurt future attempt to reconcile them in a unified framework, as well as efficiently leverage unlabeled data with otherwise supervised regimes.
69
+
70
+ # 3 LEARNING BY COMPARISONS
71
+
72
+ The most common way to train NN is by defining a loss function between the target values and the network output. Learning by comparison approaches the supervised task from a different angle. The main idea is to use distance comparisons between samples to learn useful representations. For example, we consider relative and qualitative examples of the form $X _ { 1 }$ is closer to $X _ { 2 }$ than $X _ { 1 }$ is to $X _ { 3 }$ . Using a comparative measure with neural network to learn embedding space was introduced in the “Siamese network” framework by Bromley et al. (1993) and later used in the works of Chopra et al. (2005). One use for this methods is when the number of classes is too large or expected to vary over time, as in the case of face verification, where a face contained in an image has to compared against another image of a face. This problem was recently tackled by Schroff et al. (2015) for training a convolutional network model on triplets of examples. There, one image served as an anchor $x$ , and an additional pair of images served as a positive example $x _ { + }$ (containing an instance of the face of the same person) together with a negative example $x _ { - }$ , containing a face of a different person. The training objective was on the embedded distance of the input faces, where the distance between the anchor and positive example is adjusted to be smaller by at least some constant $\alpha$ from the negative distance. More precisely, the loss function used in this case was defined as
73
+
74
+ $$
75
+ L ( x , x _ { + } , x _ { - } ) = \operatorname* { m a x } \left\{ \| F ( x ) - F ( x _ { + } ) \| _ { 2 } - \| F ( x ) - F ( x _ { - } ) \| _ { 2 } + \alpha , 0 \right\}
76
+ $$
77
+
78
+ where $F ( x )$ is the embedding (the output of a convolutional neural network), and $\alpha$ is a predefined margin constant. Another similar model used by Hoffer & Ailon (2015) with triplets comparisons for classification, where examples from the same class were trained to have a lower embedded distance than that of two images from distinct classes. This work introduced a concept of a distance ratio loss, where the defined measure amounted to:
79
+
80
+ $$
81
+ L ( x , x _ { + } , x _ { - } ) = \frac { e ^ { - \| F ( x ) - F ( x _ { + } ) \| _ { 2 } } } { e ^ { - \| F ( x ) - F ( x _ { + } ) \| _ { 2 } } + e ^ { - \| F ( x ) - F ( x _ { - } ) \| _ { 2 } } }
82
+ $$
83
+
84
+ This loss has a flavor of a probability of a biased coin flip. By ‘pushing’ this probability to zero, we express the objective that pairs of samples coming from distinct classes should be less similar to each other, compared to pairs of samples coming from the same class. It was shown empirical by Balntas et al. (2016) to provide better feature embeddings than the margin based distance loss 1
85
+
86
+ # 4 OUR CONTRIBUTION: SPATIAL CONTRASTING
87
+
88
+ One implicit assumption in convolutional networks, is that features are gradually learned hierarchically, each level in the hierarchy corresponding to a layer in the network. Each spatial location within a layer corresponds to a region in the original image. It is empirically observed that deeper layers tend to contain more ‘abstract’ information from the image. Intuitively, features describing different regions within the same image are likely to be semantically similar (e.g. different parts of an animal), and indeed the corresponding deep representations tend to be similar. Conversely, regions from two probably unrelated images (say, two images chosen at random) tend to be far from each other in the deep representation. This logic is commonly used in modern deep networks such as Szegedy et al. (2015) Lin et al. (2013) He et al. (2015), where a global average pooling is used to aggregate spatial features in the final layer used for classification.
89
+
90
+ Our suggestion is that this property, often observed as a side effect of supervised applications, can be used as a desired objective when learning deep representations in an unsupervised task. Later, the resulting representation can be used, as typically done, as a starting point or a supervised learning task. We call this idea which we formalize below Spatial contrasting. The spatial contrasting criterion is similar to noise contrasting estimation Gutmann & Hyvarinen (2010) Mnih & Kavukcuoglu ¨ (2013), in trying to train a model by maximizing the expected probability on desired inputs, while minimizing it on contrasting sampled measurements.
91
+
92
+ # 4.1 FORMULATION
93
+
94
+ We will concern ourselves with samples of images patches $\tilde { x } ^ { ( m ) }$ taken from an image $x$ . Our convolutional network model, denoted by $F ( x )$ , extracts spatial features $f$ so that $f ^ { ( m ) } = F ( \tilde { x } ^ { ( m ) } )$ for an image patch $\tilde { x } ^ { ( m ) }$ . We will also define $P ( f _ { 1 } | f _ { 2 } )$ as the probability for two features $f _ { 1 } , f _ { 2 }$ to occur together in the same image.
95
+
96
+ We wish to optimize our model such that for two features representing patches taken from the same image x˜(1)i , x˜ $\tilde { x } _ { i } ^ { ( 1 ) } , \bar { x _ { i } ^ { ( 2 ) } } \in x _ { i }$ for which $f _ { i } ^ { ( 1 ) } = F ( \tilde { x } _ { i } ^ { ( 1 ) } )$ and $f _ { i } ^ { ( 2 ) } \stackrel { - } { = } F ( \tilde { x } _ { i } ^ { ( 2 ) } )$ , $P ( f _ { i } ^ { ( 1 ) } | f _ { i } ^ { ( 2 ) } )$ will be maxi
97
+
98
+ This means that features from a patch taken from a specific image can effectively predict, under our model, features extracted from other patches in the same image. Conversely, we want our model to minimize $P ( f _ { i } | f _ { j } )$ for $i , j$ being two patches taken from distinct images. Following the logic presented before, we will need to sample contrasting patch $\tilde { x } _ { j } ^ { ( 1 ) }$ from a different image $x _ { j }$ such that $P ( f _ { i } ^ { ( 1 ) } | f _ { i } ^ { ( 2 ) } ) > P ( f _ { j } ^ { ( 1 ) } | f _ { i } ^ { ( 2 ) } )$ , where $\underset { . } { f _ { j } ^ { ( 1 ) } } = F ( \tilde { x } _ { j } ^ { ( 1 ) } )$ . In order to obtain contrasting samples, we use regions from two random images in the training set. We will use a distance ratio, described earlier in Eq. (2) for the supervised case, to represent the probability two feature vectors were taken from the same image. The resulting training loss for a pair of images will be defined as
99
+
100
+ $$
101
+ L _ { S C } ( x _ { 1 } , x _ { 2 } ) = - \log \frac { e ^ { - \| f _ { 1 } ^ { ( 1 ) } - f _ { 1 } ^ { ( 2 ) } \| _ { 2 } } } { e ^ { - \| f _ { 1 } ^ { ( 1 ) } - f _ { 1 } ^ { ( 2 ) } \| _ { 2 } } + e ^ { - \| f _ { 1 } ^ { ( 1 ) } - f _ { 2 } ^ { ( 1 ) } \| _ { 2 } } }
102
+ $$
103
+
104
+ Effectively minimizing a log-probability under the SoftMax measure. This formulation is portrayed in figure 4.1. Since we sample our contrasting sample from the same underlying distribution, we can evaluate this loss considering the image patch as both patch compared (anchor) and contrast symmetrically. The final loss will be the average between these estimations:
105
+
106
+ $$
107
+ \widehat { L } _ { S C } ( x _ { 1 } , x _ { 2 } ) = \frac { 1 } { 2 } \left[ L _ { S C } ( x _ { 1 } , x _ { 2 } ) + L _ { S C } ( x _ { 2 } , x _ { 1 } ) \right]
108
+ $$
109
+
110
+ ![](images/f412cdc401c9a392a006634319c43ab46c8b2578a7cd2274d9536d24baa26d3b.jpg)
111
+ Figure 1: Spatial contrasting depiction.
112
+
113
+ # 4.2 METHOD
114
+
115
+ Convolutional network are usually trained using SGD over mini-batch of samples, therefore we can extract patches and contrasting patches without changing the network architecture. Each image serves as both anchor and positive patches, for which the corresponding features should be closer, as well as contrasting samples for other images in that batch. For a batch of $N$ images, two samples from each image are taken, and $N ^ { 2 }$ different distance comparisons are made. The final loss is defined as the average distance ratio for all images in the batch:
116
+
117
+ $$
118
+ \overline { { L } } _ { S C } ( \{ x \} _ { i = 1 } ^ { N } ) = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } L _ { S C } ( x _ { i } , \{ x \} _ { j \neq i } ) = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log \frac { e ^ { - \| f _ { i } ^ { ( 1 ) } - f _ { i } ^ { ( 2 ) } \| _ { 2 } } } { \sum _ { j = 1 } ^ { N } e ^ { - \| f _ { i } ^ { ( 1 ) } - f _ { j } ^ { ( 2 ) } \| _ { 2 } } }
119
+ $$
120
+
121
+ Since the criterion is differentiable with respect to its inputs, it is fully compliant with standard methods for training convolutional network and specifically using backpropagation and gradient descent. Furthermore, SC can be applied to any layer in the network hierarchy. In fact, SC can be used at multiple layers within the same convolutional network. The spatial properties of the features means that we can sample directly from feature space $\tilde { f } ^ { ( m ) } \in f$ instead of from the original image. Therefore SC has a simple implementation which doesn’t require substation amount of computation. The complete algorithm for batch training is described in Algorithm (1). Similar to the batch normalization (BN) layer Ioffe & Szegedy (2015), a recent usage for batch statistics in neural networks, SC also uses the batch statistics. While BN normalize the input based on the batch statistics, SC sample from it. This can be viewed as a simple sampling from the space of possible features describing a patch of image.
122
+
123
+ Algorithm 1 Calculation the spatial contrasting loss
124
+
125
+ Require: $X = \{ x \} _ { i = 1 } ^ { N }$ # Training on batches of images
126
+
127
+ # Get the spatial features for the whole batch of images
128
+ # Size: $N \times W _ { f } \times H _ { f } \times C$
129
+ $\{ f \} _ { i = 1 } ^ { N } \mathsf { C o n v N e t } ( X )$
130
+
131
+ $$
132
+ \begin{array} { r } { d _ { i } \gets - \log \frac { \bar { e } ^ { - D i s t ( i , i ) } } { \sum _ { k = 1 } ^ { N } e ^ { - D i s t ( i , k ) } } } \end{array}
133
+ $$
134
+
135
+ # Spatial contrasting loss is the mean of distance ratios return $\textstyle { \frac { 1 } { N } } \sum _ { i = 1 } ^ { N } d _ { i }$ g
136
+
137
+ # 5 EXPERIMENTS
138
+
139
+ In this section we report empirical results showing that using SC loss as an unsupervised pretraining procedure can improve state-of-the-art performance on subsequent classification. We experimented with MNIST, CIFAR-10 and STL10 datasets. We used modified versions of well studied networks such as those of Lin et al. (2013) and Rasmus et al. (2015). A detailed description of our architecture can be found in 4.
140
+
141
+ In each one of the experiments, we used the spatial contrasting criterion to train the network on the unlabeled images. In each usage of SC criterion, patch features were sampled from the preceding layer in uniform. We note that spatial size of sampled patches ranged between datasets, where on STL10 and Cifar10 it covered about $3 0 \%$ of the image, MNIST required the use of larger patches covering almost the entire image.Training was done by using SGD with an initial learning rate of 0.1 that was decreased by a factor of 10 whenever the measured loss stopped decreasing. After convergence, we used the trained model as an initialization for a supervised training on the complete labeled dataset. The supervised training was done following the same regime, only starting with a lower initial learning rate of 0.01. We used mild data augmentations, such as small translations and horizontal mirroring.
142
+
143
+ The datasets we used are:
144
+
145
+ • STL10 (Coates et al. (2011)). This dataset consists of $1 0 0 , 0 0 0 9 6 \times 9 6$ colored, unlabeled images, together with another set of 5, 000 labeled training images and 8, 000 test images . The label space consists of 10 object classes. • Cifar10 (Krizhevsky & Hinton (2009)). The well known CIFAR-10 is an image classification benchmark dataset containing 50, 000 training images and 10, 000 test images. The image sizes $3 2 \times 3 2$ pixels, with color. The classes are airplanes, automobiles, birds, cats, deer, dogs, frogs, horses, ships and trucks.
146
+
147
+ Table 1: State of the art results on STL-10 dataset
148
+
149
+ <table><tr><td>Model</td><td>STL-10 test accuracy</td></tr><tr><td>Zero-bias Convnets - Paine et al. (2014)</td><td>70.2%</td></tr><tr><td>Triplet network -Hoffer &amp; Ailon (2015)</td><td>70.7%</td></tr><tr><td>Exemplar Convnets - Dosovitskiy et al. (2014)</td><td>72.8%</td></tr><tr><td>Target Coding - Yang et al. (2015)</td><td>73.15%</td></tr><tr><td>Stacked what-where AE - Zhao et al. (2015)</td><td>74.33%</td></tr><tr><td>Spatial contrasting initialization (this work)</td><td>81.34% ± 0.1</td></tr><tr><td>The same model without initialization</td><td>72.6%±0.1</td></tr></table>
150
+
151
+ • MNIST (LeCun et al. (1998)). The MNIST database of handwritten digits is one of the most studied dataset benchmark for image classification. The dataset contains 60,000 examples of handwritten digits from 0 to 9 for training and 10,000 additional examples for testing. Each sample is a $2 8 \times 2 8$ pixel gray level image.
152
+
153
+ All experiments were conducted using the Torch7 framework by Collobert et al. (2011). Code reproducing these results will by available at https://github.com/eladhoffer/ SpatialContrasting.
154
+
155
+ # 5.1 RESULTS ON STL10
156
+
157
+ Since STL10 dataset is comprised of mostly unlabeled data, it is most suitable to highlight the benefits of the spatial contrasting criterion. The initial training was unsupervised, as described earlier, using the entire set of 105, 000 samples (union of the original unlabeled set and labeled training set). The representation outputted by the training, was used to initialize supervised training on the 5, 000 labeled images. Evaluation was done on a separate test set of 8, 000 samples. Comparing with state of the art results, we see an improvement of $7 \%$ in test accuracy over the best model by Zhao et al. (2015), setting the SC as best model at $8 1 . 3 \%$ test classification accuracy (see Table (1)). We note that the results of Dosovitskiy et al. (2014) are achieved with no fine-tuning over labeled examples, which may be unfair to this work. We also compare with the same network, but without SC initialization, which achieves a lower classification of $7 2 . 6 \%$ . This is an indication that indeed SC managed to leverage unlabeled examples to provide a better initialization point for the supervised model.
158
+
159
+ # 5.2 RESULTS ON CIFAR10
160
+
161
+ For Cifar10 dataset, we use the same setting as Coates & $\mathrm { N g } \left( 2 0 1 2 \right)$ and Hui (2013) to test a model’s ability to learn from unlabeled images. Here, only 4, 000 samples out of 50, 000 are used with their label annotation, and the rest of the samples can be used only in an unsupervised manner. The final test accuracy is measured on the entire 10, 000 test set.
162
+
163
+ In our experiments, we trained our model using SC criterion on the entire dataset, and then used only 400 labeled samples per class (for a total of 4000) in a supervised regime over the initialized network. The results are compared with previous efforts in Table (2). Using the SC criterion allowed an improvement of $6 . 8 \%$ over a non-initialized model, and achieved a final test accuracy of $7 9 . 2 \%$ . This is a competitive result with current state-of-the-art models.
164
+
165
+ # 5.3 RESULTS ON MNIST
166
+
167
+ The MNIST dataset is very different in nature from the Cifar10 and STL10 datasets, we experimented earlier. The biggest difference, relevant to this work, is that spatial regions sampled from MNIST images usually provide very little, or no information. Thus, SC is much less suited for MNIST dataset, and was conjured to have little benefit. We still, however, experimented with initializing a model with SC criterion and continuing with a fully-supervised regime over all labeled examples. We found again that this provided benefit over training the same network without preinitialization, improving results from ${ \bar { 0 } } . 6 3 \%$ to $0 . 3 4 \%$ error on test set. As mentioned previously, the effective compared patches of MNIST covered almost the entire image area. This can be attributed to the fact that MNIST requires global features to differentiate between digits. The results, compared with previous attempts are included in Table (3).
168
+
169
+ Table 2: State of the art results on Cifar10 dataset with only 4000 labeled samples
170
+
171
+ <table><tr><td>Model</td><td>Cifar10 (400 per class) test accuracy</td></tr><tr><td>Convolutional K-means Network - Coates &amp; Ng (2012)</td><td>70.7%</td></tr><tr><td>View-Invariant K-means -Hui (2013)</td><td>72.6%</td></tr><tr><td>DCGAN - Radford et al. (2015)</td><td>73.8%</td></tr><tr><td>Exemplar Convnets - Dosovitskiy et al. (2014)</td><td>76.6%</td></tr><tr><td>Ladder networks - Rasmus et al. (2015)</td><td>79.6%</td></tr><tr><td>Conv-CatGan Springenberg (2016)</td><td>80.42% (± 0.58)</td></tr><tr><td>ImprovedGan Salimans et al. (2016)</td><td>81.37% (± 2.32)</td></tr><tr><td>Spatial contrasting initialization (this work)</td><td>79.2%(±0.3)</td></tr><tr><td>The same model without initialization</td><td>72.4%(±0.1)</td></tr></table>
172
+
173
+ Table 3: results on MNIST dataset
174
+
175
+ <table><tr><td>Model</td><td>MNIST test error</td></tr><tr><td>Stacked what-where AE - Zhao et al. (2015)</td><td>0.71%</td></tr><tr><td>Triplet network - Hoffer &amp; Ailon (2015)</td><td>0.56%</td></tr><tr><td>Jarrett et al. (2009)</td><td>0.53%</td></tr><tr><td>Ladder networks - Rasmus et al. (2015)</td><td>0.36%</td></tr><tr><td>DropConnect - Wan et al. (2013)</td><td>0.21%</td></tr><tr><td>Spatial contrasting initialization (this work)</td><td>0.34%± 0.02</td></tr><tr><td>The same model without initialization</td><td>0.63%± 0.02</td></tr></table>
176
+
177
+ # 6 CONCLUSIONS AND FUTURE WORK
178
+
179
+ In this work we presented spatial contrasting - a novel unsupervised criterion for training convolutional networks on unlabeled data. Its is based on comparison between spatial features sampled from a number of images. We’ve shown empirically that using spatial contrasting as a pretraining technique to initialize a ConvNet, can improve its performance on a subsequent supervised training. In cases where a lot of unlabeled data is available, such as the STL10 dataset, this translates to state-of-the-art classification accuracy in the final model.
180
+
181
+ Since the spatial contrasting loss is a differentiable estimation that can be computed within a network parallel to supervised losses, in future work we plan to embed it as a semi-supervised model. This usage will allow to create models that can leverage both labeled an unlabeled data, and can be compared to similar semi-supervised models such as the ladder network Rasmus et al. (2015). It is is also apparent that contrasting can occur in dimensions other than the spatial, the most straightforward is the temporal dimension. This suggests that similar training procedure can be applied on segments of sequences to learn useful representation without explicit supervision.
182
+
183
+ # REFERENCES
184
+
185
+ Vassileios Balntas, Edward Johns, Lilian Tang, and Krystian Mikolajczyk. Pn-net: Conjoined triple deep network for learning local image descriptors. arXiv preprint arXiv:1601.05030, 2016.
186
+
187
+ Jane Bromley, James W Bentz, Leon Bottou, Isabelle Guyon, Yann LeCun, Cliff Moore, Eduard ´ Sackinger, and Roopak Shah. Signature verification using a siamese time delay neural network.¨ International Journal of Pattern Recognition and Artificial Intelligence, 7(04):669–688, 1993.
188
+
189
+ Sumit Chopra, Raia Hadsell, and Yann LeCun. Learning a similarity metric discriminatively, with application to face verification. In Computer Vision and Pattern Recognition, 2005. CVPR 2005. IEEE Computer Society Conference on, volume 1, pp. 539–546. IEEE, 2005.
190
+
191
+ Adam Coates and Andrew Y Ng. Learning feature representations with k-means. In Neural Networks: Tricks of the Trade, pp. 561–580. Springer, 2012.
192
+
193
+ Adam Coates, Andrew $\mathrm { ~ Y ~ N ~ g ~ }$ , and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In International Conference on Artificial Intelligence and Statistics, pp. 215–223, 2011.
194
+
195
+ Ronan Collobert, Koray Kavukcuoglu, and Clement Farabet. Torch7: A matlab-like environment ´ for machine learning. In BigLearn, NIPS Workshop, number EPFL-CONF-192376, 2011.
196
+
197
+ Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1422–1430, 2015.
198
+
199
+ Alexey Dosovitskiy, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 766–774, 2014.
200
+
201
+ 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, 2014.
202
+
203
+ Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010.
204
+
205
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015.
206
+
207
+ Geoffrey E Hinton. To recognize shapes, first learn to generate images. Progress in brain research, 165:535–547, 2007.
208
+
209
+ Elad Hoffer and Nir Ailon. Deep metric learning using triplet network. In Similarity-Based Pattern Recognition, pp. 84–92. Springer, 2015.
210
+
211
+ Ka Y Hui. Direct modeling of complex invariances for visual object features. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 352–360, 2013.
212
+
213
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of The 32nd International Conference on Machine Learning, pp. 448–456, 2015.
214
+
215
+ Kevin Jarrett, Koray Kavukcuoglu, Marc’Aurelio Ranzato, and Yann LeCun. What is the best multistage architecture for object recognition? In Computer Vision, 2009 IEEE 12th International Conference on, pp. 2146–2153. IEEE, 2009.
216
+
217
+ Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Computer Science Department, University of Toronto, Tech. Rep, 2009.
218
+
219
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet Classification with Deep Convolutional Neural Networks. Advances In Neural Information Processing Systems, pp. 1–9, 2012.
220
+
221
+ 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.
222
+
223
+ Min Lin, Qiang Chen, and Shuicheng Yan. Network in network. arXiv preprint arXiv:1312.4400, 2013.
224
+
225
+ Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pp. 3111–3119, 2013.
226
+
227
+ Andriy Mnih and Koray Kavukcuoglu. Learning word embeddings efficiently with noise-contrastive estimation. In Advances in Neural Information Processing Systems, pp. 2265–2273, 2013.
228
+
229
+ Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
230
+
231
+ Andrew Ng. Sparse autoencoder. 2011.
232
+
233
+ Tom Le Paine, Pooya Khorrami, Wei Han, and Thomas S Huang. An analysis of unsupervised pre-training in light of recent advances. arXiv preprint arXiv:1412.6597, 2014.
234
+
235
+ Pedro O Pinheiro, Ronan Collobert, and Piotr Dollar. Learning to segment object candidates. In Advances in Neural Information Processing Systems, pp. 1981–1989, 2015.
236
+
237
+ Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
238
+
239
+ Antti Rasmus, Mathias Berglund, Mikko Honkala, Harri Valpola, and Tapani Raiko. Semisupervised learning with ladder networks. In Advances in Neural Information Processing Systems, pp. 3532–3540, 2015.
240
+
241
+ Ali Razavian, Hossein Azizpour, Josephine Sullivan, and Stefan Carlsson. Cnn features off-theshelf: an astounding baseline for recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 806–813, 2014.
242
+
243
+ David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations by backpropagating errors. Cognitive modeling, 5(3):1.
244
+
245
+ Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. arXiv preprint arXiv:1606.03498, 2016.
246
+
247
+ Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 815–823, 2015.
248
+
249
+ Jost Tobias Springenberg. Unsupervised and semi-supervised learning with categorical generative adversarial networks. In International Conference on Learning Representations (ICLR). 2016. URL https://arxiv.org/abs/1511.06390.
250
+
251
+ Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–9, 2015.
252
+
253
+ Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pp. 1096–1103. ACM, 2008.
254
+
255
+ Li Wan, Matthew Zeiler, Sixin Zhang, Yann L Cun, and Rob Fergus. Regularization of neural networks using dropconnect. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 1058–1066, 2013.
256
+
257
+ Shuo Yang, Ping Luo, Chen Change Loy, Kenneth W Shum, and Xiaoou Tang. Deep representation learning with target coding. 2015.
258
+
259
+ Matthew D Zeiler, Dilip Krishnan, Graham W Taylor, and Rob Fergus. Deconvolutional networks. In Computer Vision and Pattern Recognition (CVPR), 2010 IEEE Conference on, pp. 2528–2535. IEEE, 2010.
260
+
261
+ Junbo Zhao, Michael Mathieu, Ross Goroshin, and Yann Lecun. Stacked what-where auto-encoders. arXiv preprint arXiv:1506.02351, 2015.
262
+
263
+ # 7 APPENDIX
264
+
265
+ Table 4: Convolutional models used, based on Lin et al. (2013), Rasmus et al. (2015)
266
+
267
+
268
+ <table><tr><td rowspan=1 colspan=3>Model</td></tr><tr><td rowspan=1 colspan=1>STL10</td><td rowspan=1 colspan=1>CIFAR-10</td><td rowspan=1 colspan=1>MNIST</td></tr><tr><td rowspan=1 colspan=1>Input: 96×96 RGB</td><td rowspan=1 colspan=1>Input:32×32RGB</td><td rowspan=1 colspan=1>Input:28 × 28 monochrome</td></tr><tr><td rowspan=1 colspan=1>5 ×5 conv. 64 BN ReLU</td><td rowspan=1 colspan=1>3 × 3 conv. 96 BN LeakyReLU</td><td rowspan=6 colspan=1>5 ×5 conv.32 ReLU2 × 2 max-pooling,stride 2 BN3 × 3 conv. 64 BN ReLU3 × 3 conv. 64 BN ReLU2 × 2 max-pooling,stride 2 BN</td></tr><tr><td rowspan=1 colspan=1>1 ×1 conv.160 BN ReLU</td><td rowspan=5 colspan=1>3 ×3 conv. 96 BNLeakyReLU3 × 3 conv. 96 BN LeakyReLU2 × 2 max-pooling,stride 2 BN3 × 3 conv.192 BNLeakyReLU3 × 3 conv. 192 BN LeakyReLU3 × 3 conv.192 BN LeakyReLU2 × 2 max-pooling,stride 2 BN</td></tr><tr><td rowspan=1 colspan=1>1 ×1 conv. 96 BN ReLU</td></tr><tr><td rowspan=1 colspan=1>3 × 3 max-pooling, stride 2</td></tr><tr><td rowspan=1 colspan=1>5 × 5 conv. 192 BN ReLU</td></tr><tr><td rowspan=1 colspan=1>1 ×1 conv.192 BN ReLU1 ×1 conv. 192 BN ReLU3 × 3 max-pooling,stride 23 × 3 conv. 192 BN ReLU1 ×1 conv.192 BN ReLU1 ×1 conv.192 BN ReLU</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Spatial contrasting criterion</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>3×3 conv.256 ReLU3 × 3 max-pooling,stride 2dropout, p = 0.53 × 3 conv.128 ReLUdropout, p = 0.5fully-connected 10</td><td rowspan=1 colspan=1>3×3 conv.192BNLeakyReLU1 ×1 conv.192 BNLeakyReLU1 ×1 conv.10 BNLeakyReLUglobal average pooling</td><td rowspan=1 colspan=1>3×3 conv.128 BN ReLU1 × 1 conv.10 BN ReLUglobal average pooling</td></tr></table>
269
+
270
+ 10-way softmax
271
+
272
+ ![](images/dbd928541e70043deb704a91118b985563d8e3c93a5cbdcb28b93b6bd8b098bc.jpg)
273
+ Figure 2: First layer convolutional filters after spatial-contrasting training
parse/train/S1vyujVye/S1vyujVye_content_list.json ADDED
@@ -0,0 +1,1429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DEEP UNSUPERVISED LEARNING THROUGH SPATIAL CONTRASTING ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 101,
9
+ 823,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Elad Hoffer \nTechnion - Israel Institute of Technology \nHaifa, Israel \nehoffer@tx.technion.ac.il \nItay Hubara \nTechnion - Israel Institute of Technology \nHaifa, Israel \nitayh@tx.technion.ac.il \nNir Ailon \nTechnion - Israel Institute of Technology \nHaifa, Israel \nnailon@cs.technion.ac.il ",
17
+ "bbox": [
18
+ 184,
19
+ 170,
20
+ 450,
21
+ 226
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "",
28
+ "bbox": [
29
+ 545,
30
+ 170,
31
+ 813,
32
+ 226
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "",
39
+ "bbox": [
40
+ 184,
41
+ 247,
42
+ 450,
43
+ 303
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "ABSTRACT ",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 454,
53
+ 339,
54
+ 544,
55
+ 354
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "Convolutional networks have marked their place over the last few years as the best performing model for various visual tasks. They are, however, most suited for supervised learning from large amounts of labeled data. Previous attempts have been made to use unlabeled data to improve model performance by applying unsupervised techniques. These attempts require different architectures and training methods. In this work we present a novel approach for unsupervised training of Convolutional networks that is based on contrasting between spatial regions within images. This criterion can be employed within conventional neural networks and optimized using standard techniques such as SGD and backpropagation, thus complementing supervised methods. ",
62
+ "bbox": [
63
+ 233,
64
+ 371,
65
+ 764,
66
+ 511
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1 INTRODUCTION ",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 176,
76
+ 536,
77
+ 334,
78
+ 553
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "For the past few years convolutional networks (ConvNets, CNNs) LeCun et al. (1998) have proven themselves as a successful model for vision related tasks Krizhevsky et al. (2012) Mnih et al. (2015) Pinheiro et al. (2015) Razavian et al. (2014). A convolutional network is composed of multiple convolutional and pooling layers, followed by a fully-connected affine transformations. As with other neural network models, each layer is typically followed by a non-linearity transformation such as a rectified-linear unit (ReLU). ",
85
+ "bbox": [
86
+ 174,
87
+ 568,
88
+ 825,
89
+ 651
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "A convolutional layer is applied by cross correlating an image with a trainable weight filter. This stems from the assumption of stationarity in natural images, which means that parameters learned for one local region in an image can be shared for other regions and images. ",
96
+ "bbox": [
97
+ 178,
98
+ 651,
99
+ 820,
100
+ 694
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Deep learning models, including convolutional networks, are usually trained in a supervised manner, requiring large amounts of labeled data (ranging between thousands to millions of examples per-class for classification tasks) in almost all modern applications. These models are optimized using a variant of stochastic-gradient-descent (SGD) over batches of images sampled from the whole training dataset and their ground truth-labels. Gradient estimation for each one of the optimized parameters is done by back propagating the objective error from the final layer towards the input. This is commonly known as ”backpropagation” Rumelhart et al.. ",
107
+ "bbox": [
108
+ 174,
109
+ 700,
110
+ 823,
111
+ 797
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "In early works, unsupervised training was used as a part of pre-training procedure to obtain an effective initial state of the model. The network was later fine-tuned in a supervised manner as displayed by Hinton (2007). Such unsupervised pre-training procedures were later abandoned, since they provided no apparent benefit over other initialization heuristics in more careful fully supervised training regimes. This led to the de-facto almost exclusive usage of neural networks in supervised environments. ",
118
+ "bbox": [
119
+ 174,
120
+ 805,
121
+ 823,
122
+ 888
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "In this work we will present a novel unsupervised learning criterion for convolutional network based on comparison of features extracted from regions within images. Our experiments indicate that by using this criterion to pre-train networks we can improve their performance and achieve state-ofthe-art results. ",
129
+ "bbox": [
130
+ 173,
131
+ 895,
132
+ 823,
133
+ 924
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "",
140
+ "bbox": [
141
+ 171,
142
+ 103,
143
+ 825,
144
+ 132
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "2 PREVIOUS WORKS ",
151
+ "text_level": 1,
152
+ "bbox": [
153
+ 176,
154
+ 155,
155
+ 357,
156
+ 172
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Using unsupervised methods to improve performance have been the holy grail of deep learning for the last couple of years and vast research efforts have been focused on that. We hereby give a short overview of the most popular and recent methods that tried to tackle this problem. ",
163
+ "bbox": [
164
+ 176,
165
+ 189,
166
+ 823,
167
+ 232
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "AutoEncoders and reconstruction loss These are probably the most popular models for unsupervised learning using neural networks, and ConvNets in particular. Autoencoders are NNs which aim to transform inputs into outputs with the least possible amount of distortion. An Autoencoder is constructed using an encoder $G ( x ; w _ { 1 } )$ that maps an input to a hidden compressed representation, followed by a decoder $F ( y ; w _ { 2 } )$ , that maps the representation back into the input space. Mathematically, this can be written in the following general form: ",
174
+ "bbox": [
175
+ 173,
176
+ 251,
177
+ 825,
178
+ 335
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "equation",
184
+ "img_path": "images/5bd4f185929c9804dd1e8cad87809e51fb2d7db4b5572fb153eb7d7ef8d273db.jpg",
185
+ "text": "$$\n\\hat { x } = F ( G ( x ; w _ { 1 } ) ; w _ { 2 } )\n$$",
186
+ "text_format": "latex",
187
+ "bbox": [
188
+ 424,
189
+ 345,
190
+ 573,
191
+ 363
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "text",
197
+ "text": "The underlying encoder and decoder contain a set of trainable parameters that can be tied together and optimized for a predefined criterion. The encoder and decoder can have different architectures, including fully-connected neural networks, ConvNets and others. The criterion used for training is the reconstruction loss, usually the mean squared error (MSE) between the original input and its reconstruction Zeiler et al. (2010) ",
198
+ "bbox": [
199
+ 173,
200
+ 372,
201
+ 825,
202
+ 443
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "equation",
208
+ "img_path": "images/7ab54084fb1f2b1bb0e333109ca419d603e264ec6c57d96ec21422cf2e2b0272.jpg",
209
+ "text": "$$\nm i n \\lVert x - { \\hat { x } } \\rVert ^ { 2 }\n$$",
210
+ "text_format": "latex",
211
+ "bbox": [
212
+ 450,
213
+ 452,
214
+ 547,
215
+ 470
216
+ ],
217
+ "page_idx": 1
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "This allows an efficient training procedure using the aforementioned backpropagation and SGD techniques. Over the years autoencoders gained fundamental role in unsupervised learning and many modification to the classic architecture were made. $\\mathrm { N g }$ (2011) regularized the latent representation to be sparse, Vincent et al. (2008) substituted the input with a noisy version thereof, requiring the model to denoise while reconstructing. Kingma et al. (2014) obtained very promising results with variational autoencoders (VAE). A variational autoencoder model inherits typical autoencoder architecture, but makes strong assumptions concerning the distribution of latent variables. They use variational approach for latent representation learning, which results in an additional loss component which required a new training algorithm called Stochastic Gradient Variational Bayes (SGVB). VAE assumes that the data is generated by a directed graphical model $p ( x | z )$ and require the encoder to learn an approximation $q _ { w _ { 1 } } ( z | x )$ to the posterior distribution $p _ { w _ { 2 } } ( z | x )$ where $w _ { 1 }$ and $w _ { 2 }$ denote the parameters of the encoder and decoder. The objective of the variational autoencoder in that case has the following form: ",
222
+ "bbox": [
223
+ 173,
224
+ 497,
225
+ 825,
226
+ 679
227
+ ],
228
+ "page_idx": 1
229
+ },
230
+ {
231
+ "type": "equation",
232
+ "img_path": "images/b80a08937376cb8f40f66af938aa10f2a90d8332197f760430b1611dab07074e.jpg",
233
+ "text": "$$\n\\mathcal { L } ( w _ { 1 } , w _ { 2 } , x ) = - D _ { K L } \\big ( q _ { w _ { 1 } } ( z | x ) | | p _ { w _ { 2 } } ( z ) \\big ) + \\mathbb { E } _ { q _ { w _ { 1 } } ( z | x ) } \\big ( \\log p _ { w _ { 2 } } ( x | z ) \\big )\n$$",
234
+ "text_format": "latex",
235
+ "bbox": [
236
+ 264,
237
+ 689,
238
+ 732,
239
+ 708
240
+ ],
241
+ "page_idx": 1
242
+ },
243
+ {
244
+ "type": "text",
245
+ "text": "Recently, a stacked set of denoising autoencoders architectures showed promising results in both semi-supervised and unsupervised tasks. A stacked what-where autoencoder by Zhao et al. (2015) computes a set of complementary variables that enable reconstruction whenever a layer implements a many-to-one mapping. Ladder networks by Rasmus et al. (2015) - use lateral connections and layer-wise cost functions to allow the higher levels of an autoencoder to focus on invariant abstract features. ",
246
+ "bbox": [
247
+ 173,
248
+ 736,
249
+ 825,
250
+ 820
251
+ ],
252
+ "page_idx": 1
253
+ },
254
+ {
255
+ "type": "text",
256
+ "text": "Exemplar Networks: The unsupervised method introduced byDosovitskiy et al. (2014) takes a different approach to this task and trains the network to discriminate between a set of pseudo-classes. Each pseudo-class is formed by applying multiple transformations to a randomly sampled image patch. The number of pseudo-classes can be as big as the size of the input samples. This criterion ensures that different input samples would be distinguished while providing robustness to the applied transformations. In this work we will explore an alternative method with a similar motivation. ",
257
+ "bbox": [
258
+ 173,
259
+ 839,
260
+ 825,
261
+ 924
262
+ ],
263
+ "page_idx": 1
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "Context prediction Another method for unsupervised learning by context was introduced by Doersch et al. (2015). This method uses an auxiliary criterion of predicting the location of an image patch given another from the same image. This is done by classification to 1 of 9 possible locations. Although the work of Doersch et al. (2015) and ours both use patches from an image to perform unsupervised learning, the methods are quite different. Whereas the former used a classification criterion over the spatial location of each patch within a single image, our work is concerned with comparing patches from several images to each other. We claim that this encourages discriminability between images (which we feel to be important aspect of feature learning), and was not an explicit goal in previous work. ",
268
+ "bbox": [
269
+ 174,
270
+ 103,
271
+ 825,
272
+ 228
273
+ ],
274
+ "page_idx": 2
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "Adversarial Generative Models: This a recently introduced model that can be used in an unsupervised fashion Goodfellow et al. (2014). Adversarial Generative Models uses a set of networks, one trained to discriminate between data sampled from the true underlying distribution (e.g., a set of images), and a separate generative network trained to be an adversary trying to confuse the first network. By propagating the gradient through the paired networks, the model learns to generate samples that are distributed similarly to the source data. As shown by Radford et al. (2015),this model can create useful latent representations for subsequent classification tasks. ",
279
+ "bbox": [
280
+ 174,
281
+ 246,
282
+ 825,
283
+ 343
284
+ ],
285
+ "page_idx": 2
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "Sampling Methods: Methods for training models to discriminate between a very large number of classes often use a noise contrasting criterion. In these methods, roughly speaking, the posterior probability $P ( t | y _ { t } )$ of the ground-truth target $t$ given the model output on an input sampled from the true distribution $y _ { t } = F ( x )$ is maximized, while the probability $P ( t | y _ { n } )$ given a noise measurement $y = F ( n )$ is minimized. This was successfully used in a language domain to learn unsupervised representation of words. The most noteworthy case is the word2vec model introduced by Mikolov et al. (2013). When using this setting in language applications, a natural contrasting noise is a smooth approximation of the Unigram distribution. A suitable contrasting distribution is less obvious when data points are sampled from a high dimensional continuous space, such as the case of image patches. ",
290
+ "bbox": [
291
+ 174,
292
+ 359,
293
+ 825,
294
+ 498
295
+ ],
296
+ "page_idx": 2
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "2.1 PROBLEMS WITH CURRENT APPROACHES",
301
+ "text_level": 1,
302
+ "bbox": [
303
+ 176,
304
+ 517,
305
+ 503,
306
+ 530
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "Only recently the potential of ConvNets in an unsupervised environment began to bear fruit, still we believe it is not fully uncovered. ",
313
+ "bbox": [
314
+ 174,
315
+ 542,
316
+ 823,
317
+ 570
318
+ ],
319
+ "page_idx": 2
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "The majority of unsupervised optimization criteria currently used are based on variations of reconstruction losses. One limitation of this fact is that a pixel level reconstruction is non-compliant with the idea of a discriminative objective, which is expected to be agnostic to low level information in the input. In addition, it is evident that MSE is not best suited as a measurement to compare images, for example, viewing the possibly large square-error between an image and a single pixel shifted copy of it. Another problem with recent approaches such as Rasmus et al. (2015); Zeiler et al. (2010) is their need to extensively modify the original convolutional network model. This leads to a gap between unsupervised method and the state-of-the-art, supervised, models for classification - which can hurt future attempt to reconcile them in a unified framework, as well as efficiently leverage unlabeled data with otherwise supervised regimes. ",
324
+ "bbox": [
325
+ 173,
326
+ 578,
327
+ 825,
328
+ 717
329
+ ],
330
+ "page_idx": 2
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "3 LEARNING BY COMPARISONS ",
335
+ "text_level": 1,
336
+ "bbox": [
337
+ 178,
338
+ 738,
339
+ 450,
340
+ 755
341
+ ],
342
+ "page_idx": 2
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "The most common way to train NN is by defining a loss function between the target values and the network output. Learning by comparison approaches the supervised task from a different angle. The main idea is to use distance comparisons between samples to learn useful representations. For example, we consider relative and qualitative examples of the form $X _ { 1 }$ is closer to $X _ { 2 }$ than $X _ { 1 }$ is to $X _ { 3 }$ . Using a comparative measure with neural network to learn embedding space was introduced in the “Siamese network” framework by Bromley et al. (1993) and later used in the works of Chopra et al. (2005). One use for this methods is when the number of classes is too large or expected to vary over time, as in the case of face verification, where a face contained in an image has to compared against another image of a face. This problem was recently tackled by Schroff et al. (2015) for training a convolutional network model on triplets of examples. There, one image served as an anchor $x$ , and an additional pair of images served as a positive example $x _ { + }$ (containing an instance of the face of the same person) together with a negative example $x _ { - }$ , containing a face of a different person. The training objective was on the embedded distance of the input faces, where the distance between the anchor and positive example is adjusted to be smaller by at least some constant $\\alpha$ from the negative distance. More precisely, the loss function used in this case was defined as ",
347
+ "bbox": [
348
+ 174,
349
+ 770,
350
+ 825,
351
+ 924
352
+ ],
353
+ "page_idx": 2
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "",
358
+ "bbox": [
359
+ 174,
360
+ 103,
361
+ 823,
362
+ 160
363
+ ],
364
+ "page_idx": 3
365
+ },
366
+ {
367
+ "type": "equation",
368
+ "img_path": "images/484d212cac854adcb5189435d1af769a6d494575cce095b409510330c3aaa3c2.jpg",
369
+ "text": "$$\nL ( x , x _ { + } , x _ { - } ) = \\operatorname* { m a x } \\left\\{ \\| F ( x ) - F ( x _ { + } ) \\| _ { 2 } - \\| F ( x ) - F ( x _ { - } ) \\| _ { 2 } + \\alpha , 0 \\right\\}\n$$",
370
+ "text_format": "latex",
371
+ "bbox": [
372
+ 259,
373
+ 170,
374
+ 738,
375
+ 188
376
+ ],
377
+ "page_idx": 3
378
+ },
379
+ {
380
+ "type": "text",
381
+ "text": "where $F ( x )$ is the embedding (the output of a convolutional neural network), and $\\alpha$ is a predefined margin constant. Another similar model used by Hoffer & Ailon (2015) with triplets comparisons for classification, where examples from the same class were trained to have a lower embedded distance than that of two images from distinct classes. This work introduced a concept of a distance ratio loss, where the defined measure amounted to: ",
382
+ "bbox": [
383
+ 174,
384
+ 196,
385
+ 825,
386
+ 267
387
+ ],
388
+ "page_idx": 3
389
+ },
390
+ {
391
+ "type": "equation",
392
+ "img_path": "images/4fb638bda29994a614957769f108d611ae9a93ad6b9a11972de0d8d2dfad9e99.jpg",
393
+ "text": "$$\nL ( x , x _ { + } , x _ { - } ) = \\frac { e ^ { - \\| F ( x ) - F ( x _ { + } ) \\| _ { 2 } } } { e ^ { - \\| F ( x ) - F ( x _ { + } ) \\| _ { 2 } } + e ^ { - \\| F ( x ) - F ( x _ { - } ) \\| _ { 2 } } }\n$$",
394
+ "text_format": "latex",
395
+ "bbox": [
396
+ 315,
397
+ 276,
398
+ 678,
399
+ 310
400
+ ],
401
+ "page_idx": 3
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "This loss has a flavor of a probability of a biased coin flip. By ‘pushing’ this probability to zero, we express the objective that pairs of samples coming from distinct classes should be less similar to each other, compared to pairs of samples coming from the same class. It was shown empirical by Balntas et al. (2016) to provide better feature embeddings than the margin based distance loss 1 ",
406
+ "bbox": [
407
+ 174,
408
+ 320,
409
+ 825,
410
+ 377
411
+ ],
412
+ "page_idx": 3
413
+ },
414
+ {
415
+ "type": "text",
416
+ "text": "4 OUR CONTRIBUTION: SPATIAL CONTRASTING ",
417
+ "text_level": 1,
418
+ "bbox": [
419
+ 174,
420
+ 400,
421
+ 593,
422
+ 417
423
+ ],
424
+ "page_idx": 3
425
+ },
426
+ {
427
+ "type": "text",
428
+ "text": "One implicit assumption in convolutional networks, is that features are gradually learned hierarchically, each level in the hierarchy corresponding to a layer in the network. Each spatial location within a layer corresponds to a region in the original image. It is empirically observed that deeper layers tend to contain more ‘abstract’ information from the image. Intuitively, features describing different regions within the same image are likely to be semantically similar (e.g. different parts of an animal), and indeed the corresponding deep representations tend to be similar. Conversely, regions from two probably unrelated images (say, two images chosen at random) tend to be far from each other in the deep representation. This logic is commonly used in modern deep networks such as Szegedy et al. (2015) Lin et al. (2013) He et al. (2015), where a global average pooling is used to aggregate spatial features in the final layer used for classification. ",
429
+ "bbox": [
430
+ 173,
431
+ 434,
432
+ 825,
433
+ 574
434
+ ],
435
+ "page_idx": 3
436
+ },
437
+ {
438
+ "type": "text",
439
+ "text": "Our suggestion is that this property, often observed as a side effect of supervised applications, can be used as a desired objective when learning deep representations in an unsupervised task. Later, the resulting representation can be used, as typically done, as a starting point or a supervised learning task. We call this idea which we formalize below Spatial contrasting. The spatial contrasting criterion is similar to noise contrasting estimation Gutmann & Hyvarinen (2010) Mnih & Kavukcuoglu ¨ (2013), in trying to train a model by maximizing the expected probability on desired inputs, while minimizing it on contrasting sampled measurements. ",
440
+ "bbox": [
441
+ 173,
442
+ 580,
443
+ 825,
444
+ 678
445
+ ],
446
+ "page_idx": 3
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "4.1 FORMULATION ",
451
+ "text_level": 1,
452
+ "bbox": [
453
+ 174,
454
+ 699,
455
+ 318,
456
+ 713
457
+ ],
458
+ "page_idx": 3
459
+ },
460
+ {
461
+ "type": "text",
462
+ "text": "We will concern ourselves with samples of images patches $\\tilde { x } ^ { ( m ) }$ taken from an image $x$ . Our convolutional network model, denoted by $F ( x )$ , extracts spatial features $f$ so that $f ^ { ( m ) } = F ( \\tilde { x } ^ { ( m ) } )$ for an image patch $\\tilde { x } ^ { ( m ) }$ . We will also define $P ( f _ { 1 } | f _ { 2 } )$ as the probability for two features $f _ { 1 } , f _ { 2 }$ to occur together in the same image. ",
463
+ "bbox": [
464
+ 174,
465
+ 726,
466
+ 825,
467
+ 785
468
+ ],
469
+ "page_idx": 3
470
+ },
471
+ {
472
+ "type": "text",
473
+ "text": "We wish to optimize our model such that for two features representing patches taken from the same image x˜(1)i , x˜ $\\tilde { x } _ { i } ^ { ( 1 ) } , \\bar { x _ { i } ^ { ( 2 ) } } \\in x _ { i }$ for which $f _ { i } ^ { ( 1 ) } = F ( \\tilde { x } _ { i } ^ { ( 1 ) } )$ and $f _ { i } ^ { ( 2 ) } \\stackrel { - } { = } F ( \\tilde { x } _ { i } ^ { ( 2 ) } )$ , $P ( f _ { i } ^ { ( 1 ) } | f _ { i } ^ { ( 2 ) } )$ will be maxi",
474
+ "bbox": [
475
+ 174,
476
+ 786,
477
+ 825,
478
+ 830
479
+ ],
480
+ "page_idx": 3
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "This means that features from a patch taken from a specific image can effectively predict, under our model, features extracted from other patches in the same image. Conversely, we want our model to minimize $P ( f _ { i } | f _ { j } )$ for $i , j$ being two patches taken from distinct images. Following the logic presented before, we will need to sample contrasting patch $\\tilde { x } _ { j } ^ { ( 1 ) }$ from a different image $x _ { j }$ such that $P ( f _ { i } ^ { ( 1 ) } | f _ { i } ^ { ( 2 ) } ) > P ( f _ { j } ^ { ( 1 ) } | f _ { i } ^ { ( 2 ) } )$ , where $\\underset { . } { f _ { j } ^ { ( 1 ) } } = F ( \\tilde { x } _ { j } ^ { ( 1 ) } )$ . In order to obtain contrasting samples, we use regions from two random images in the training set. We will use a distance ratio, described earlier in Eq. (2) for the supervised case, to represent the probability two feature vectors were taken from the same image. The resulting training loss for a pair of images will be defined as ",
485
+ "bbox": [
486
+ 173,
487
+ 830,
488
+ 825,
489
+ 924
490
+ ],
491
+ "page_idx": 3
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "",
496
+ "bbox": [
497
+ 169,
498
+ 103,
499
+ 825,
500
+ 133
501
+ ],
502
+ "page_idx": 4
503
+ },
504
+ {
505
+ "type": "equation",
506
+ "img_path": "images/8f724b214737dc3deeda6105635fda1e52f720cb451698c586fb2eb8bbf58739.jpg",
507
+ "text": "$$\nL _ { S C } ( x _ { 1 } , x _ { 2 } ) = - \\log \\frac { e ^ { - \\| f _ { 1 } ^ { ( 1 ) } - f _ { 1 } ^ { ( 2 ) } \\| _ { 2 } } } { e ^ { - \\| f _ { 1 } ^ { ( 1 ) } - f _ { 1 } ^ { ( 2 ) } \\| _ { 2 } } + e ^ { - \\| f _ { 1 } ^ { ( 1 ) } - f _ { 2 } ^ { ( 1 ) } \\| _ { 2 } } }\n$$",
508
+ "text_format": "latex",
509
+ "bbox": [
510
+ 318,
511
+ 148,
512
+ 679,
513
+ 189
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "Effectively minimizing a log-probability under the SoftMax measure. This formulation is portrayed in figure 4.1. Since we sample our contrasting sample from the same underlying distribution, we can evaluate this loss considering the image patch as both patch compared (anchor) and contrast symmetrically. The final loss will be the average between these estimations: ",
520
+ "bbox": [
521
+ 173,
522
+ 198,
523
+ 825,
524
+ 253
525
+ ],
526
+ "page_idx": 4
527
+ },
528
+ {
529
+ "type": "equation",
530
+ "img_path": "images/48d1ad05b47f0bfd56d89fe5cdf1208bf9a6684314e8cf2034f8e0e959f35323.jpg",
531
+ "text": "$$\n\\widehat { L } _ { S C } ( x _ { 1 } , x _ { 2 } ) = \\frac { 1 } { 2 } \\left[ L _ { S C } ( x _ { 1 } , x _ { 2 } ) + L _ { S C } ( x _ { 2 } , x _ { 1 } ) \\right]\n$$",
532
+ "text_format": "latex",
533
+ "bbox": [
534
+ 338,
535
+ 261,
536
+ 658,
537
+ 291
538
+ ],
539
+ "page_idx": 4
540
+ },
541
+ {
542
+ "type": "image",
543
+ "img_path": "images/f412cdc401c9a392a006634319c43ab46c8b2578a7cd2274d9536d24baa26d3b.jpg",
544
+ "image_caption": [
545
+ "Figure 1: Spatial contrasting depiction. "
546
+ ],
547
+ "image_footnote": [],
548
+ "bbox": [
549
+ 367,
550
+ 310,
551
+ 625,
552
+ 647
553
+ ],
554
+ "page_idx": 4
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "4.2 METHOD ",
559
+ "text_level": 1,
560
+ "bbox": [
561
+ 174,
562
+ 699,
563
+ 279,
564
+ 713
565
+ ],
566
+ "page_idx": 4
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "Convolutional network are usually trained using SGD over mini-batch of samples, therefore we can extract patches and contrasting patches without changing the network architecture. Each image serves as both anchor and positive patches, for which the corresponding features should be closer, as well as contrasting samples for other images in that batch. For a batch of $N$ images, two samples from each image are taken, and $N ^ { 2 }$ different distance comparisons are made. The final loss is defined as the average distance ratio for all images in the batch: ",
571
+ "bbox": [
572
+ 173,
573
+ 724,
574
+ 825,
575
+ 810
576
+ ],
577
+ "page_idx": 4
578
+ },
579
+ {
580
+ "type": "equation",
581
+ "img_path": "images/8b403568fa24822998826ddcf40e5c6cf8dbd89796e01189a57ab00cf49c6a19.jpg",
582
+ "text": "$$\n\\overline { { L } } _ { S C } ( \\{ x \\} _ { i = 1 } ^ { N } ) = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } L _ { S C } ( x _ { i } , \\{ x \\} _ { j \\neq i } ) = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log \\frac { e ^ { - \\| f _ { i } ^ { ( 1 ) } - f _ { i } ^ { ( 2 ) } \\| _ { 2 } } } { \\sum _ { j = 1 } ^ { N } e ^ { - \\| f _ { i } ^ { ( 1 ) } - f _ { j } ^ { ( 2 ) } \\| _ { 2 } } }\n$$",
583
+ "text_format": "latex",
584
+ "bbox": [
585
+ 236,
586
+ 815,
587
+ 761,
588
+ 862
589
+ ],
590
+ "page_idx": 4
591
+ },
592
+ {
593
+ "type": "text",
594
+ "text": "Since the criterion is differentiable with respect to its inputs, it is fully compliant with standard methods for training convolutional network and specifically using backpropagation and gradient descent. Furthermore, SC can be applied to any layer in the network hierarchy. In fact, SC can be used at multiple layers within the same convolutional network. The spatial properties of the features means that we can sample directly from feature space $\\tilde { f } ^ { ( m ) } \\in f$ instead of from the original image. Therefore SC has a simple implementation which doesn’t require substation amount of computation. The complete algorithm for batch training is described in Algorithm (1). Similar to the batch normalization (BN) layer Ioffe & Szegedy (2015), a recent usage for batch statistics in neural networks, SC also uses the batch statistics. While BN normalize the input based on the batch statistics, SC sample from it. This can be viewed as a simple sampling from the space of possible features describing a patch of image. ",
595
+ "bbox": [
596
+ 173,
597
+ 867,
598
+ 825,
599
+ 924
600
+ ],
601
+ "page_idx": 4
602
+ },
603
+ {
604
+ "type": "text",
605
+ "text": "",
606
+ "bbox": [
607
+ 173,
608
+ 102,
609
+ 825,
610
+ 202
611
+ ],
612
+ "page_idx": 5
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "Algorithm 1 Calculation the spatial contrasting loss ",
617
+ "bbox": [
618
+ 178,
619
+ 218,
620
+ 514,
621
+ 232
622
+ ],
623
+ "page_idx": 5
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "Require: $X = \\{ x \\} _ { i = 1 } ^ { N }$ # Training on batches of images ",
628
+ "bbox": [
629
+ 174,
630
+ 236,
631
+ 544,
632
+ 252
633
+ ],
634
+ "page_idx": 5
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "# Get the spatial features for the whole batch of images \n# Size: $N \\times W _ { f } \\times H _ { f } \\times C$ \n$\\{ f \\} _ { i = 1 } ^ { N } \\mathsf { C o n v N e t } ( X )$ ",
639
+ "bbox": [
640
+ 186,
641
+ 263,
642
+ 553,
643
+ 310
644
+ ],
645
+ "page_idx": 5
646
+ },
647
+ {
648
+ "type": "equation",
649
+ "img_path": "images/4f8048d850b865de754aae5170c2abf7c3592ec395d8fff3b67e4bf25bb0663a.jpg",
650
+ "text": "$$\n\\begin{array} { r } { d _ { i } \\gets - \\log \\frac { \\bar { e } ^ { - D i s t ( i , i ) } } { \\sum _ { k = 1 } ^ { N } e ^ { - D i s t ( i , k ) } } } \\end{array}\n$$",
651
+ "text_format": "latex",
652
+ "bbox": [
653
+ 191,
654
+ 469,
655
+ 374,
656
+ 494
657
+ ],
658
+ "page_idx": 5
659
+ },
660
+ {
661
+ "type": "text",
662
+ "text": "# Spatial contrasting loss is the mean of distance ratios return $\\textstyle { \\frac { 1 } { N } } \\sum _ { i = 1 } ^ { N } d _ { i }$ g ",
663
+ "bbox": [
664
+ 187,
665
+ 506,
666
+ 549,
667
+ 539
668
+ ],
669
+ "page_idx": 5
670
+ },
671
+ {
672
+ "type": "text",
673
+ "text": "5 EXPERIMENTS ",
674
+ "text_level": 1,
675
+ "bbox": [
676
+ 174,
677
+ 573,
678
+ 326,
679
+ 589
680
+ ],
681
+ "page_idx": 5
682
+ },
683
+ {
684
+ "type": "text",
685
+ "text": "In this section we report empirical results showing that using SC loss as an unsupervised pretraining procedure can improve state-of-the-art performance on subsequent classification. We experimented with MNIST, CIFAR-10 and STL10 datasets. We used modified versions of well studied networks such as those of Lin et al. (2013) and Rasmus et al. (2015). A detailed description of our architecture can be found in 4. ",
686
+ "bbox": [
687
+ 174,
688
+ 606,
689
+ 825,
690
+ 675
691
+ ],
692
+ "page_idx": 5
693
+ },
694
+ {
695
+ "type": "text",
696
+ "text": "In each one of the experiments, we used the spatial contrasting criterion to train the network on the unlabeled images. In each usage of SC criterion, patch features were sampled from the preceding layer in uniform. We note that spatial size of sampled patches ranged between datasets, where on STL10 and Cifar10 it covered about $3 0 \\%$ of the image, MNIST required the use of larger patches covering almost the entire image.Training was done by using SGD with an initial learning rate of 0.1 that was decreased by a factor of 10 whenever the measured loss stopped decreasing. After convergence, we used the trained model as an initialization for a supervised training on the complete labeled dataset. The supervised training was done following the same regime, only starting with a lower initial learning rate of 0.01. We used mild data augmentations, such as small translations and horizontal mirroring. ",
697
+ "bbox": [
698
+ 174,
699
+ 683,
700
+ 825,
701
+ 821
702
+ ],
703
+ "page_idx": 5
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "The datasets we used are: ",
708
+ "bbox": [
709
+ 176,
710
+ 821,
711
+ 341,
712
+ 835
713
+ ],
714
+ "page_idx": 5
715
+ },
716
+ {
717
+ "type": "text",
718
+ "text": "• STL10 (Coates et al. (2011)). This dataset consists of $1 0 0 , 0 0 0 9 6 \\times 9 6$ colored, unlabeled images, together with another set of 5, 000 labeled training images and 8, 000 test images . The label space consists of 10 object classes. • Cifar10 (Krizhevsky & Hinton (2009)). The well known CIFAR-10 is an image classification benchmark dataset containing 50, 000 training images and 10, 000 test images. The image sizes $3 2 \\times 3 2$ pixels, with color. The classes are airplanes, automobiles, birds, cats, deer, dogs, frogs, horses, ships and trucks. ",
719
+ "bbox": [
720
+ 215,
721
+ 847,
722
+ 825,
723
+ 924
724
+ ],
725
+ "page_idx": 5
726
+ },
727
+ {
728
+ "type": "table",
729
+ "img_path": "images/f70e680c4da009ba6c944376177710a0a64eecc57507eb76161f1f476fa15955.jpg",
730
+ "table_caption": [
731
+ "Table 1: State of the art results on STL-10 dataset "
732
+ ],
733
+ "table_footnote": [],
734
+ "table_body": "<table><tr><td>Model</td><td>STL-10 test accuracy</td></tr><tr><td>Zero-bias Convnets - Paine et al. (2014)</td><td>70.2%</td></tr><tr><td>Triplet network -Hoffer &amp; Ailon (2015)</td><td>70.7%</td></tr><tr><td>Exemplar Convnets - Dosovitskiy et al. (2014)</td><td>72.8%</td></tr><tr><td>Target Coding - Yang et al. (2015)</td><td>73.15%</td></tr><tr><td>Stacked what-where AE - Zhao et al. (2015)</td><td>74.33%</td></tr><tr><td>Spatial contrasting initialization (this work)</td><td>81.34% ± 0.1</td></tr><tr><td>The same model without initialization</td><td>72.6%±0.1</td></tr></table>",
735
+ "bbox": [
736
+ 251,
737
+ 126,
738
+ 746,
739
+ 257
740
+ ],
741
+ "page_idx": 6
742
+ },
743
+ {
744
+ "type": "text",
745
+ "text": "",
746
+ "bbox": [
747
+ 230,
748
+ 284,
749
+ 823,
750
+ 311
751
+ ],
752
+ "page_idx": 6
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "• MNIST (LeCun et al. (1998)). The MNIST database of handwritten digits is one of the most studied dataset benchmark for image classification. The dataset contains 60,000 examples of handwritten digits from 0 to 9 for training and 10,000 additional examples for testing. Each sample is a $2 8 \\times 2 8$ pixel gray level image. ",
757
+ "bbox": [
758
+ 217,
759
+ 318,
760
+ 823,
761
+ 373
762
+ ],
763
+ "page_idx": 6
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "All experiments were conducted using the Torch7 framework by Collobert et al. (2011). Code reproducing these results will by available at https://github.com/eladhoffer/ SpatialContrasting. ",
768
+ "bbox": [
769
+ 178,
770
+ 386,
771
+ 825,
772
+ 428
773
+ ],
774
+ "page_idx": 6
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "5.1 RESULTS ON STL10 ",
779
+ "text_level": 1,
780
+ "bbox": [
781
+ 176,
782
+ 445,
783
+ 356,
784
+ 460
785
+ ],
786
+ "page_idx": 6
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Since STL10 dataset is comprised of mostly unlabeled data, it is most suitable to highlight the benefits of the spatial contrasting criterion. The initial training was unsupervised, as described earlier, using the entire set of 105, 000 samples (union of the original unlabeled set and labeled training set). The representation outputted by the training, was used to initialize supervised training on the 5, 000 labeled images. Evaluation was done on a separate test set of 8, 000 samples. Comparing with state of the art results, we see an improvement of $7 \\%$ in test accuracy over the best model by Zhao et al. (2015), setting the SC as best model at $8 1 . 3 \\%$ test classification accuracy (see Table (1)). We note that the results of Dosovitskiy et al. (2014) are achieved with no fine-tuning over labeled examples, which may be unfair to this work. We also compare with the same network, but without SC initialization, which achieves a lower classification of $7 2 . 6 \\%$ . This is an indication that indeed SC managed to leverage unlabeled examples to provide a better initialization point for the supervised model. ",
791
+ "bbox": [
792
+ 173,
793
+ 473,
794
+ 825,
795
+ 638
796
+ ],
797
+ "page_idx": 6
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "5.2 RESULTS ON CIFAR10 ",
802
+ "text_level": 1,
803
+ "bbox": [
804
+ 176,
805
+ 657,
806
+ 369,
807
+ 671
808
+ ],
809
+ "page_idx": 6
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "For Cifar10 dataset, we use the same setting as Coates & $\\mathrm { N g } \\left( 2 0 1 2 \\right)$ and Hui (2013) to test a model’s ability to learn from unlabeled images. Here, only 4, 000 samples out of 50, 000 are used with their label annotation, and the rest of the samples can be used only in an unsupervised manner. The final test accuracy is measured on the entire 10, 000 test set. ",
814
+ "bbox": [
815
+ 174,
816
+ 684,
817
+ 825,
818
+ 739
819
+ ],
820
+ "page_idx": 6
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "In our experiments, we trained our model using SC criterion on the entire dataset, and then used only 400 labeled samples per class (for a total of 4000) in a supervised regime over the initialized network. The results are compared with previous efforts in Table (2). Using the SC criterion allowed an improvement of $6 . 8 \\%$ over a non-initialized model, and achieved a final test accuracy of $7 9 . 2 \\%$ . This is a competitive result with current state-of-the-art models. ",
825
+ "bbox": [
826
+ 176,
827
+ 739,
828
+ 825,
829
+ 809
830
+ ],
831
+ "page_idx": 6
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "5.3 RESULTS ON MNIST ",
836
+ "text_level": 1,
837
+ "bbox": [
838
+ 176,
839
+ 827,
840
+ 361,
841
+ 842
842
+ ],
843
+ "page_idx": 6
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "The MNIST dataset is very different in nature from the Cifar10 and STL10 datasets, we experimented earlier. The biggest difference, relevant to this work, is that spatial regions sampled from MNIST images usually provide very little, or no information. Thus, SC is much less suited for MNIST dataset, and was conjured to have little benefit. We still, however, experimented with initializing a model with SC criterion and continuing with a fully-supervised regime over all labeled examples. We found again that this provided benefit over training the same network without preinitialization, improving results from ${ \\bar { 0 } } . 6 3 \\%$ to $0 . 3 4 \\%$ error on test set. As mentioned previously, the effective compared patches of MNIST covered almost the entire image area. This can be attributed to the fact that MNIST requires global features to differentiate between digits. The results, compared with previous attempts are included in Table (3). ",
848
+ "bbox": [
849
+ 174,
850
+ 854,
851
+ 823,
852
+ 924
853
+ ],
854
+ "page_idx": 6
855
+ },
856
+ {
857
+ "type": "table",
858
+ "img_path": "images/c88b927fef791956d5991cf312d4b4a2383f9011ccdd7db2a08eb502a090bb5d.jpg",
859
+ "table_caption": [
860
+ "Table 2: State of the art results on Cifar10 dataset with only 4000 labeled samples "
861
+ ],
862
+ "table_footnote": [],
863
+ "table_body": "<table><tr><td>Model</td><td>Cifar10 (400 per class) test accuracy</td></tr><tr><td>Convolutional K-means Network - Coates &amp; Ng (2012)</td><td>70.7%</td></tr><tr><td>View-Invariant K-means -Hui (2013)</td><td>72.6%</td></tr><tr><td>DCGAN - Radford et al. (2015)</td><td>73.8%</td></tr><tr><td>Exemplar Convnets - Dosovitskiy et al. (2014)</td><td>76.6%</td></tr><tr><td>Ladder networks - Rasmus et al. (2015)</td><td>79.6%</td></tr><tr><td>Conv-CatGan Springenberg (2016)</td><td>80.42% (± 0.58)</td></tr><tr><td>ImprovedGan Salimans et al. (2016)</td><td>81.37% (± 2.32)</td></tr><tr><td>Spatial contrasting initialization (this work)</td><td>79.2%(±0.3)</td></tr><tr><td>The same model without initialization</td><td>72.4%(±0.1)</td></tr></table>",
864
+ "bbox": [
865
+ 171,
866
+ 127,
867
+ 828,
868
+ 287
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "table",
874
+ "img_path": "images/e1e70e8fd494548a2eb23c22fe6d4cb4355a7dd6bbd7414322563dce6d766cd4.jpg",
875
+ "table_caption": [
876
+ "Table 3: results on MNIST dataset "
877
+ ],
878
+ "table_footnote": [],
879
+ "table_body": "<table><tr><td>Model</td><td>MNIST test error</td></tr><tr><td>Stacked what-where AE - Zhao et al. (2015)</td><td>0.71%</td></tr><tr><td>Triplet network - Hoffer &amp; Ailon (2015)</td><td>0.56%</td></tr><tr><td>Jarrett et al. (2009)</td><td>0.53%</td></tr><tr><td>Ladder networks - Rasmus et al. (2015)</td><td>0.36%</td></tr><tr><td>DropConnect - Wan et al. (2013)</td><td>0.21%</td></tr><tr><td>Spatial contrasting initialization (this work)</td><td>0.34%± 0.02</td></tr><tr><td>The same model without initialization</td><td>0.63%± 0.02</td></tr></table>",
880
+ "bbox": [
881
+ 271,
882
+ 325,
883
+ 725,
884
+ 457
885
+ ],
886
+ "page_idx": 7
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "",
891
+ "bbox": [
892
+ 174,
893
+ 483,
894
+ 825,
895
+ 554
896
+ ],
897
+ "page_idx": 7
898
+ },
899
+ {
900
+ "type": "text",
901
+ "text": "6 CONCLUSIONS AND FUTURE WORK ",
902
+ "text_level": 1,
903
+ "bbox": [
904
+ 174,
905
+ 575,
906
+ 498,
907
+ 590
908
+ ],
909
+ "page_idx": 7
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "In this work we presented spatial contrasting - a novel unsupervised criterion for training convolutional networks on unlabeled data. Its is based on comparison between spatial features sampled from a number of images. We’ve shown empirically that using spatial contrasting as a pretraining technique to initialize a ConvNet, can improve its performance on a subsequent supervised training. In cases where a lot of unlabeled data is available, such as the STL10 dataset, this translates to state-of-the-art classification accuracy in the final model. ",
914
+ "bbox": [
915
+ 174,
916
+ 607,
917
+ 825,
918
+ 690
919
+ ],
920
+ "page_idx": 7
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "Since the spatial contrasting loss is a differentiable estimation that can be computed within a network parallel to supervised losses, in future work we plan to embed it as a semi-supervised model. This usage will allow to create models that can leverage both labeled an unlabeled data, and can be compared to similar semi-supervised models such as the ladder network Rasmus et al. (2015). It is is also apparent that contrasting can occur in dimensions other than the spatial, the most straightforward is the temporal dimension. This suggests that similar training procedure can be applied on segments of sequences to learn useful representation without explicit supervision. ",
925
+ "bbox": [
926
+ 174,
927
+ 696,
928
+ 825,
929
+ 795
930
+ ],
931
+ "page_idx": 7
932
+ },
933
+ {
934
+ "type": "text",
935
+ "text": "REFERENCES ",
936
+ "text_level": 1,
937
+ "bbox": [
938
+ 176,
939
+ 818,
940
+ 285,
941
+ 833
942
+ ],
943
+ "page_idx": 7
944
+ },
945
+ {
946
+ "type": "text",
947
+ "text": "Vassileios Balntas, Edward Johns, Lilian Tang, and Krystian Mikolajczyk. Pn-net: Conjoined triple deep network for learning local image descriptors. arXiv preprint arXiv:1601.05030, 2016. ",
948
+ "bbox": [
949
+ 174,
950
+ 842,
951
+ 825,
952
+ 869
953
+ ],
954
+ "page_idx": 7
955
+ },
956
+ {
957
+ "type": "text",
958
+ "text": "Jane Bromley, James W Bentz, Leon Bottou, Isabelle Guyon, Yann LeCun, Cliff Moore, Eduard ´ Sackinger, and Roopak Shah. Signature verification using a siamese time delay neural network.¨ International Journal of Pattern Recognition and Artificial Intelligence, 7(04):669–688, 1993. ",
959
+ "bbox": [
960
+ 176,
961
+ 881,
962
+ 825,
963
+ 924
964
+ ],
965
+ "page_idx": 7
966
+ },
967
+ {
968
+ "type": "text",
969
+ "text": "Sumit Chopra, Raia Hadsell, and Yann LeCun. Learning a similarity metric discriminatively, with application to face verification. In Computer Vision and Pattern Recognition, 2005. CVPR 2005. IEEE Computer Society Conference on, volume 1, pp. 539–546. IEEE, 2005. ",
970
+ "bbox": [
971
+ 174,
972
+ 103,
973
+ 821,
974
+ 146
975
+ ],
976
+ "page_idx": 8
977
+ },
978
+ {
979
+ "type": "text",
980
+ "text": "Adam Coates and Andrew Y Ng. Learning feature representations with k-means. In Neural Networks: Tricks of the Trade, pp. 561–580. Springer, 2012. ",
981
+ "bbox": [
982
+ 169,
983
+ 154,
984
+ 821,
985
+ 184
986
+ ],
987
+ "page_idx": 8
988
+ },
989
+ {
990
+ "type": "text",
991
+ "text": "Adam Coates, Andrew $\\mathrm { ~ Y ~ N ~ g ~ }$ , and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In International Conference on Artificial Intelligence and Statistics, pp. 215–223, 2011. ",
992
+ "bbox": [
993
+ 174,
994
+ 190,
995
+ 823,
996
+ 233
997
+ ],
998
+ "page_idx": 8
999
+ },
1000
+ {
1001
+ "type": "text",
1002
+ "text": "Ronan Collobert, Koray Kavukcuoglu, and Clement Farabet. Torch7: A matlab-like environment ´ for machine learning. In BigLearn, NIPS Workshop, number EPFL-CONF-192376, 2011. ",
1003
+ "bbox": [
1004
+ 171,
1005
+ 242,
1006
+ 823,
1007
+ 271
1008
+ ],
1009
+ "page_idx": 8
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1422–1430, 2015. ",
1014
+ "bbox": [
1015
+ 176,
1016
+ 279,
1017
+ 823,
1018
+ 321
1019
+ ],
1020
+ "page_idx": 8
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "Alexey Dosovitskiy, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 766–774, 2014. ",
1025
+ "bbox": [
1026
+ 174,
1027
+ 329,
1028
+ 823,
1029
+ 373
1030
+ ],
1031
+ "page_idx": 8
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "text": "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, 2014. ",
1036
+ "bbox": [
1037
+ 174,
1038
+ 381,
1039
+ 823,
1040
+ 424
1041
+ ],
1042
+ "page_idx": 8
1043
+ },
1044
+ {
1045
+ "type": "text",
1046
+ "text": "Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010. ",
1047
+ "bbox": [
1048
+ 173,
1049
+ 431,
1050
+ 823,
1051
+ 474
1052
+ ],
1053
+ "page_idx": 8
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. ",
1058
+ "bbox": [
1059
+ 173,
1060
+ 483,
1061
+ 820,
1062
+ 512
1063
+ ],
1064
+ "page_idx": 8
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "Geoffrey E Hinton. To recognize shapes, first learn to generate images. Progress in brain research, 165:535–547, 2007. ",
1069
+ "bbox": [
1070
+ 173,
1071
+ 520,
1072
+ 823,
1073
+ 549
1074
+ ],
1075
+ "page_idx": 8
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Elad Hoffer and Nir Ailon. Deep metric learning using triplet network. In Similarity-Based Pattern Recognition, pp. 84–92. Springer, 2015. ",
1080
+ "bbox": [
1081
+ 176,
1082
+ 556,
1083
+ 821,
1084
+ 587
1085
+ ],
1086
+ "page_idx": 8
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "Ka Y Hui. Direct modeling of complex invariances for visual object features. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 352–360, 2013. ",
1091
+ "bbox": [
1092
+ 173,
1093
+ 594,
1094
+ 821,
1095
+ 623
1096
+ ],
1097
+ "page_idx": 8
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of The 32nd International Conference on Machine Learning, pp. 448–456, 2015. ",
1102
+ "bbox": [
1103
+ 176,
1104
+ 631,
1105
+ 823,
1106
+ 674
1107
+ ],
1108
+ "page_idx": 8
1109
+ },
1110
+ {
1111
+ "type": "text",
1112
+ "text": "Kevin Jarrett, Koray Kavukcuoglu, Marc’Aurelio Ranzato, and Yann LeCun. What is the best multistage architecture for object recognition? In Computer Vision, 2009 IEEE 12th International Conference on, pp. 2146–2153. IEEE, 2009. ",
1113
+ "bbox": [
1114
+ 173,
1115
+ 681,
1116
+ 826,
1117
+ 726
1118
+ ],
1119
+ "page_idx": 8
1120
+ },
1121
+ {
1122
+ "type": "text",
1123
+ "text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Computer Science Department, University of Toronto, Tech. Rep, 2009. ",
1124
+ "bbox": [
1125
+ 173,
1126
+ 732,
1127
+ 821,
1128
+ 762
1129
+ ],
1130
+ "page_idx": 8
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet Classification with Deep Convolutional Neural Networks. Advances In Neural Information Processing Systems, pp. 1–9, 2012. ",
1135
+ "bbox": [
1136
+ 174,
1137
+ 770,
1138
+ 821,
1139
+ 799
1140
+ ],
1141
+ "page_idx": 8
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "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. ",
1146
+ "bbox": [
1147
+ 174,
1148
+ 806,
1149
+ 821,
1150
+ 837
1151
+ ],
1152
+ "page_idx": 8
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "Min Lin, Qiang Chen, and Shuicheng Yan. Network in network. arXiv preprint arXiv:1312.4400, 2013. ",
1157
+ "bbox": [
1158
+ 173,
1159
+ 844,
1160
+ 823,
1161
+ 873
1162
+ ],
1163
+ "page_idx": 8
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pp. 3111–3119, 2013. ",
1168
+ "bbox": [
1169
+ 174,
1170
+ 881,
1171
+ 823,
1172
+ 924
1173
+ ],
1174
+ "page_idx": 8
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Andriy Mnih and Koray Kavukcuoglu. Learning word embeddings efficiently with noise-contrastive estimation. In Advances in Neural Information Processing Systems, pp. 2265–2273, 2013. ",
1179
+ "bbox": [
1180
+ 173,
1181
+ 103,
1182
+ 823,
1183
+ 132
1184
+ ],
1185
+ "page_idx": 9
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015. ",
1190
+ "bbox": [
1191
+ 176,
1192
+ 140,
1193
+ 823,
1194
+ 184
1195
+ ],
1196
+ "page_idx": 9
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Andrew Ng. Sparse autoencoder. 2011. ",
1201
+ "bbox": [
1202
+ 176,
1203
+ 193,
1204
+ 434,
1205
+ 208
1206
+ ],
1207
+ "page_idx": 9
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Tom Le Paine, Pooya Khorrami, Wei Han, and Thomas S Huang. An analysis of unsupervised pre-training in light of recent advances. arXiv preprint arXiv:1412.6597, 2014. ",
1212
+ "bbox": [
1213
+ 169,
1214
+ 217,
1215
+ 825,
1216
+ 246
1217
+ ],
1218
+ "page_idx": 9
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "Pedro O Pinheiro, Ronan Collobert, and Piotr Dollar. Learning to segment object candidates. In Advances in Neural Information Processing Systems, pp. 1981–1989, 2015. ",
1223
+ "bbox": [
1224
+ 173,
1225
+ 253,
1226
+ 823,
1227
+ 284
1228
+ ],
1229
+ "page_idx": 9
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. ",
1234
+ "bbox": [
1235
+ 171,
1236
+ 291,
1237
+ 823,
1238
+ 321
1239
+ ],
1240
+ "page_idx": 9
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Antti Rasmus, Mathias Berglund, Mikko Honkala, Harri Valpola, and Tapani Raiko. Semisupervised learning with ladder networks. In Advances in Neural Information Processing Systems, pp. 3532–3540, 2015. ",
1245
+ "bbox": [
1246
+ 174,
1247
+ 329,
1248
+ 823,
1249
+ 372
1250
+ ],
1251
+ "page_idx": 9
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Ali Razavian, Hossein Azizpour, Josephine Sullivan, and Stefan Carlsson. Cnn features off-theshelf: an astounding baseline for recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 806–813, 2014. ",
1256
+ "bbox": [
1257
+ 174,
1258
+ 381,
1259
+ 825,
1260
+ 424
1261
+ ],
1262
+ "page_idx": 9
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations by backpropagating errors. Cognitive modeling, 5(3):1. ",
1267
+ "bbox": [
1268
+ 174,
1269
+ 433,
1270
+ 820,
1271
+ 463
1272
+ ],
1273
+ "page_idx": 9
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. arXiv preprint arXiv:1606.03498, 2016. ",
1278
+ "bbox": [
1279
+ 174,
1280
+ 469,
1281
+ 820,
1282
+ 501
1283
+ ],
1284
+ "page_idx": 9
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 815–823, 2015. ",
1289
+ "bbox": [
1290
+ 174,
1291
+ 508,
1292
+ 825,
1293
+ 551
1294
+ ],
1295
+ "page_idx": 9
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Jost Tobias Springenberg. Unsupervised and semi-supervised learning with categorical generative adversarial networks. In International Conference on Learning Representations (ICLR). 2016. URL https://arxiv.org/abs/1511.06390. ",
1300
+ "bbox": [
1301
+ 173,
1302
+ 560,
1303
+ 826,
1304
+ 603
1305
+ ],
1306
+ "page_idx": 9
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–9, 2015. ",
1311
+ "bbox": [
1312
+ 173,
1313
+ 611,
1314
+ 826,
1315
+ 655
1316
+ ],
1317
+ "page_idx": 9
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pp. 1096–1103. ACM, 2008. ",
1322
+ "bbox": [
1323
+ 173,
1324
+ 662,
1325
+ 823,
1326
+ 707
1327
+ ],
1328
+ "page_idx": 9
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "Li Wan, Matthew Zeiler, Sixin Zhang, Yann L Cun, and Rob Fergus. Regularization of neural networks using dropconnect. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 1058–1066, 2013. ",
1333
+ "bbox": [
1334
+ 174,
1335
+ 714,
1336
+ 825,
1337
+ 757
1338
+ ],
1339
+ "page_idx": 9
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "Shuo Yang, Ping Luo, Chen Change Loy, Kenneth W Shum, and Xiaoou Tang. Deep representation learning with target coding. 2015. ",
1344
+ "bbox": [
1345
+ 171,
1346
+ 765,
1347
+ 823,
1348
+ 795
1349
+ ],
1350
+ "page_idx": 9
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "Matthew D Zeiler, Dilip Krishnan, Graham W Taylor, and Rob Fergus. Deconvolutional networks. In Computer Vision and Pattern Recognition (CVPR), 2010 IEEE Conference on, pp. 2528–2535. IEEE, 2010. ",
1355
+ "bbox": [
1356
+ 173,
1357
+ 804,
1358
+ 823,
1359
+ 847
1360
+ ],
1361
+ "page_idx": 9
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "Junbo Zhao, Michael Mathieu, Ross Goroshin, and Yann Lecun. Stacked what-where auto-encoders. arXiv preprint arXiv:1506.02351, 2015. ",
1366
+ "bbox": [
1367
+ 171,
1368
+ 856,
1369
+ 821,
1370
+ 885
1371
+ ],
1372
+ "page_idx": 9
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "7 APPENDIX ",
1377
+ "text_level": 1,
1378
+ "bbox": [
1379
+ 174,
1380
+ 102,
1381
+ 294,
1382
+ 117
1383
+ ],
1384
+ "page_idx": 10
1385
+ },
1386
+ {
1387
+ "type": "table",
1388
+ "img_path": "images/efc31b8705bda0bdbc12ca3710873dff63e9832b26979b917469fbce29b15310.jpg",
1389
+ "table_caption": [
1390
+ "Table 4: Convolutional models used, based on Lin et al. (2013), Rasmus et al. (2015) ",
1391
+ ""
1392
+ ],
1393
+ "table_footnote": [],
1394
+ "table_body": "<table><tr><td rowspan=1 colspan=3>Model</td></tr><tr><td rowspan=1 colspan=1>STL10</td><td rowspan=1 colspan=1>CIFAR-10</td><td rowspan=1 colspan=1>MNIST</td></tr><tr><td rowspan=1 colspan=1>Input: 96×96 RGB</td><td rowspan=1 colspan=1>Input:32×32RGB</td><td rowspan=1 colspan=1>Input:28 × 28 monochrome</td></tr><tr><td rowspan=1 colspan=1>5 ×5 conv. 64 BN ReLU</td><td rowspan=1 colspan=1>3 × 3 conv. 96 BN LeakyReLU</td><td rowspan=6 colspan=1>5 ×5 conv.32 ReLU2 × 2 max-pooling,stride 2 BN3 × 3 conv. 64 BN ReLU3 × 3 conv. 64 BN ReLU2 × 2 max-pooling,stride 2 BN</td></tr><tr><td rowspan=1 colspan=1>1 ×1 conv.160 BN ReLU</td><td rowspan=5 colspan=1>3 ×3 conv. 96 BNLeakyReLU3 × 3 conv. 96 BN LeakyReLU2 × 2 max-pooling,stride 2 BN3 × 3 conv.192 BNLeakyReLU3 × 3 conv. 192 BN LeakyReLU3 × 3 conv.192 BN LeakyReLU2 × 2 max-pooling,stride 2 BN</td></tr><tr><td rowspan=1 colspan=1>1 ×1 conv. 96 BN ReLU</td></tr><tr><td rowspan=1 colspan=1>3 × 3 max-pooling, stride 2</td></tr><tr><td rowspan=1 colspan=1>5 × 5 conv. 192 BN ReLU</td></tr><tr><td rowspan=1 colspan=1>1 ×1 conv.192 BN ReLU1 ×1 conv. 192 BN ReLU3 × 3 max-pooling,stride 23 × 3 conv. 192 BN ReLU1 ×1 conv.192 BN ReLU1 ×1 conv.192 BN ReLU</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Spatial contrasting criterion</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>3×3 conv.256 ReLU3 × 3 max-pooling,stride 2dropout, p = 0.53 × 3 conv.128 ReLUdropout, p = 0.5fully-connected 10</td><td rowspan=1 colspan=1>3×3 conv.192BNLeakyReLU1 ×1 conv.192 BNLeakyReLU1 ×1 conv.10 BNLeakyReLUglobal average pooling</td><td rowspan=1 colspan=1>3×3 conv.128 BN ReLU1 × 1 conv.10 BN ReLUglobal average pooling</td></tr></table>",
1395
+ "bbox": [
1396
+ 194,
1397
+ 171,
1398
+ 803,
1399
+ 438
1400
+ ],
1401
+ "page_idx": 10
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "text": "10-way softmax ",
1406
+ "bbox": [
1407
+ 452,
1408
+ 436,
1409
+ 547,
1410
+ 448
1411
+ ],
1412
+ "page_idx": 10
1413
+ },
1414
+ {
1415
+ "type": "image",
1416
+ "img_path": "images/dbd928541e70043deb704a91118b985563d8e3c93a5cbdcb28b93b6bd8b098bc.jpg",
1417
+ "image_caption": [
1418
+ "Figure 2: First layer convolutional filters after spatial-contrasting training "
1419
+ ],
1420
+ "image_footnote": [],
1421
+ "bbox": [
1422
+ 366,
1423
+ 477,
1424
+ 627,
1425
+ 588
1426
+ ],
1427
+ "page_idx": 10
1428
+ }
1429
+ ]
parse/train/S1vyujVye/S1vyujVye_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/S1vyujVye/S1vyujVye_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/S1x1IkHtPr/S1x1IkHtPr.md ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # A GENERATIVE MODEL FOR MOLECULAR DISTANCE GEOMETRY
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Computing equilibrium states for many-body systems, such as molecules, is a long-standing challenge. In the absence of methods for generating statistically independent samples, great computational effort is invested in simulating these systems using, for example, Markov chain Monte Carlo. We present a probabilistic model that generates such samples for molecules from their graph representations. Our model learns a low-dimensional manifold that preserves the geometry of local atomic neighborhoods through a principled learning representation that is based on Euclidean distance geometry. In a new benchmark for molecular conformation generation, we show experimentally that our generative model achieves state-ofthe-art accuracy. Finally, we show how to use our model as a proposal distribution in an importance sampling scheme to compute molecular properties.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Over the last few years, many highly-effective deep learning methods generating small molecules with desired properties (e.g., novel drugs) have emerged (Gomez-Bombarelli et al., 2018; Segler ´ et al., 2018; Dai et al., 2018; Jin et al., 2018; Bradshaw et al., 2019a; Liu et al., 2018; You et al., 2018; Bradshaw et al., 2019b). These methods operate using graph representations of molecules in which nodes and edges represent atoms and bonds, respectively. A representation that is closer to the physical system is one in which a molecule is described by its geometry or conformation. A conformation $\mathbf { x }$ of a molecule is defined by a set of atoms $\{ ( \boldsymbol { \epsilon } _ { i } , \mathbf { r } _ { i } ) \bar \} _ { i = 1 } ^ { N _ { v } }$ , where $N _ { v }$ is the number of atoms in the molecule, $\epsilon _ { i } \in \{ \mathrm { H } , \mathrm { C } , \mathrm { O } , \dots \}$ is the chemical element of the atom $i$ , and $\mathbf { r } _ { i } \in \mathbb { R } ^ { 3 }$ is its position in Cartesian coordinates. Importantly, the relative positions of the atoms are restricted by the bonds in the molecule and the angles between them. Due to thermal fluctuations resulting in stretching of and rotations around bonds, there exist infinitely many conformations of a molecule. A molecule’s graph representation and a set of its conformations are shown in Fig. 1. Under a wide range of conditions, the probability $p ( \mathbf { x } )$ of a conformation $\mathbf { x }$ , is governed by the Boltzmann distribution and is proportional to $\exp \{ - E ( \mathbf { x } ) / k _ { B } T \}$ , where $E ( \mathbf { x } ) \in \mathbb { R }$ is the conformation’s energy, $k _ { B }$ is the Boltzmann constant, and $T$ is the temperature.
12
+
13
+ To compute a molecular property for a molecule, one must sample from $p ( \mathbf { x } )$ . The main approach is to start with one conformation and make small changes to it over time, e.g., by using Markov chain Monte Carlo (MCMC) or molecular dynamics (MD). These methods can be used to accurately sample equilibrium states of molecules, but they become computationally expensive for larger ones (Shim & MacKerell, 2011; Ballard et al., 2015; De Vivo et al., 2016). Other heuristic approaches exist in which distances between atoms are set to fixed idealized values (Havel, 2002; Blaney & Dixon, 2007). Several methods based on statistical learning have also recently been developed to tackle the issue of conformation generation. However, they are mainly geared towards studying proteins and their folding dynamics (AlQuraishi, 2019). Some of these models are not targeting a distribution over conformations but the most stable folded configuration (Evans et al., 2018; Ingraham et al., 2019), while others are not transferable between different molecules (Lemke & Peter, 2019; Noe´ et al., 2019).
14
+
15
+ This work includes the following key contributions:
16
+
17
+ • We introduce a novel probabilistic model for learning conformational distributions of molecules with graph neural networks.
18
+
19
+ ![](images/434d845d7c8ccab7aba98bd6f5f40a3ddc2c0a355bf36f4ceacd18ef6cbb7a0b.jpg)
20
+ Figure 1: Standard graph representation of a molecule (left) with a set of possible conformations $\{ { \bf { x } } _ { i } \}$ (right). Hydrogen (H), carbon (C), and oxygen (O) atoms are colored white, gray, and red, respectively. Conformations feature the same atom types and bonds but the atoms are arranged differently in space. These differences arise from rotations around and stretching of bonds in the molecule.
21
+
22
+ • We create a new, challenging benchmark for conformation generation, which is made publicly available. To the best of our knowledge, this is the first benchmark of this kind.
23
+ • By combining a conditional variational autoencoder (CVAE) with an Euclidean distance geometry (EDG) algorithm we present a state-of-the-art approach for generating one-shot samples of molecular conformations for unseen molecules that is independent of their size and shape.
24
+ • We develop a rigorous experimental approach for evaluating and comparing the accuracy of conformation generation methods based on the mean maximum deviation distance metric.
25
+ • We show how this generative model can be used as a proposal distribution in an importance sampling (IS) scheme to estimate molecular properties.
26
+
27
+ # 2 METHOD
28
+
29
+ Our goal is to build a statistical model that generates molecular conformations in a one-shot fashion from a molecule’s graph representation. First, we describe how a molecule’s conformation can be represented by a set of pairwise distances between atoms and why this presentation is advantageous over one in Cartesian coordinates (Section 2.1). Second, we present a generative model in Section 2.2 that will generate sets of atomic distances for a given molecular graph. Third, we explain in Section 2.3 how a set of predicted distances can be transformed into a molecular conformation and why this transformation is necessary. Finally, we detail in Section 2.4 how our generative model can be used as a proposal distribution in an IS scheme to estimate molecular properties.
30
+
31
+ # 2.1 EXTENDED MOLECULAR GRAPHS AND DISTANCE GEOMETRY
32
+
33
+ In this study, a molecule is represented by an undirected graph which is defined as a tuple $\mathcal { G } =$ $( V , E )$ . $V \stackrel { \cdot } { = } \{ v _ { i } \} _ { i = 1 } ^ { N _ { v } }$ is the set of nodes representing atoms, where each $v _ { i } \in \mathbb { R } ^ { F _ { v } }$ holds atomic attributes (e.g., the element type $\epsilon _ { i }$ ). $E = \{ ( e _ { k } , r _ { k } , s _ { k } ) \} _ { k = 1 } ^ { N _ { e } }$ is the set of edges, where each $e _ { k } \in \mathbb { R } ^ { F _ { e } }$ holds an edge’s attributes (e.g., the bond type), and $r _ { k }$ and $s _ { k }$ are the nodes an edge is connecting. Here, $E$ represents the molecular bonds (and the auxiliary edges which are explained below) in the molecule.
34
+
35
+ We assume that, givof atomic distances r graph , where $\mathcal { G }$ ent one of its conformations is the Euclidean distance b $\mathbf { x }$ by a setween the $\mathbf { d } = \{ d _ { k } \} _ { k = 1 } ^ { N _ { e } }$ $d _ { k } = | \mathbf { r } _ { r _ { k } } - \mathbf { r } _ { s _ { k } } |$
36
+ $r _ { k }$ $s _ { k }$
37
+ $( E _ { \mathrm { b o n d } } )$ alone would not suffice to describe a conformation, we expand the traditional graph representation of a molecule by adding auxiliary edges. Auxiliary edges between atoms that are second neighbors in the original graph fix angles between atoms, and those between third neighbors fix dihedral angles (denoted $E _ { \mathrm { a n g l e } }$ and $E _ { \mathrm { d i h e d r a l } }$ , respectively). In this work, $E _ { \mathrm { a n g l e } }$ consists of edges between all second neighbors in the original graph. Edges between third neighbors are added according to a heuristic (see Appendix A.1). From now on we are always referring to this extended molecular graph when talking about molecular graphs. In Fig. 2, the process of extending the molecular graph and the extraction of $\mathbf { d }$ from $\mathbf { x }$ and $\mathcal { G }$ are illustrated.
38
+
39
+ ![](images/08c1b3e3b35a33713718a18e75ad2f38d7311ffb7d495eaa5cf2fd437d3fe2a8.jpg)
40
+ Figure 2: A) The structural formula of a molecule is converted to an extended molecular graph $\mathcal { G }$ consisting of nodes representing atoms (circles, e.g., $v _ { 1 }$ ) and edges representing molecular bonds (solid lines, e.g., $e _ { 1 } \in E _ { \mathrm { b o n d } } )$ ) and auxiliary edges (dotted lines, e.g., $e _ { 2 } \in E _ { \mathrm { a n g l e } }$ and $e _ { 3 } \in E _ { \mathrm { d i h e d r a l } } )$ . B) The distances $\mathbf { d }$ are extracted from a conformation $\mathbf { x }$ based on the edges $E$ . C) Graphical model of the variational autoencoder: generative model $p _ { \theta } ( \mathbf { d } | \mathbf { z } , \mathcal { G } ) p _ { \theta } ( \mathbf { z } | \mathcal { G } )$ (solid lines) and variational approximation $q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } )$ (dashed lines).
41
+
42
+ A key advantage of a representation in terms of distances is its invariance to rotation and translation; by contrast, Cartesian coordinates depend on the (arbitrary) choice of origin, for example. In addition, it reflects pair-wise physical interactions and their generally local nature. Auxiliary edges can be placed between higher-order neighbors depending on how far the physical interactions dominating the potential energy of the system reach.
43
+
44
+ samples We have a set of $\{ \mathbf { x } _ { l , j } \} _ { j = 1 } ^ { S _ { l } }$ $N _ { \mathcal { G } }$ l=1from the ground-truth distribution resulting in molecular graphs $\{ \mathcal { G } _ { l } \} _ { l = 1 } ^ { N _ { g } }$ . Further, for each $S _ { l }$ $\mathcal { G } _ { l }$ , we have sets of distances $S _ { l }$ conformational $\{ \mathbf { d } _ { l , j } \} _ { j = 1 } ^ { S _ { l } }$ With this data, we will train a generative model which we detail in the following section.
45
+
46
+ # 2.2 GENERATIVE MODEL
47
+
48
+ We employ a CVAE (Kingma & Welling, 2014; Pagnoni et al., 2018) to model the distribution over distances d given a molecular graph $\mathcal { G }$ . A CVAE first encodes $\mathcal { G }$ together with d into a latent space $\mathbf { z } ~ \in ~ \mathbb { R } ^ { k N _ { v } }$ , where $k \in \mathbb { N } ^ { + }$ , with an encoder $q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } )$ . Subsequently, the decoder $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } , \mathcal { G } )$ decodes $\mathbf { z }$ back into a set of distances. A graphical model is shown in Fig. 2 C).
49
+
50
+ A conformation has, in general, $3 N _ { v } - 6$ spatial degrees of freedom (dofs): one dof per spacial dimension per atom minus three translational and three rotational dofs. Therefore, the latent space should be proportional to the number of atoms in the molecule. In addition, the latent space should be smaller than $3 N _ { v }$ as it is the role of the encoder to project the conformation into a lower-dimensional space. As a result, we set $k = 1$ to avoid overfitting.
51
+
52
+ Here, $q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } )$ and $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } , \mathcal { G } )$ are Gaussian distributions, the mean and variance of which are modeled by two artificial neural networks. At the center of this model are message-passing neural networks (MPNNs) (Gilmer et al., 2017) with multi-head attention (Velickovi ˇ c et al., 2018). In short, ´ an MPNN is a convolutional neural network that allows end-to-end learning of prediction pipelines whose inputs are graphs of arbitrary size and shape. In a convolution, neighboring nodes exchange so-called messages between neighbors to update their attributes. Edges update their attributes with the features of the nodes they are connecting. The MPNN is a well-studied technique that achieves state-of-the-art performance in representation learning for molecules (Kipf & Welling, 2017; Duvenaud et al., 2015; Kearnes et al., 2016; Schutt et al., 2017b; Gilmer et al., 2017; Kusner et al., 2017; ¨ Bradshaw et al., 2019a).
53
+
54
+ In the following, we describe the details of the model.2 In Fig. 3, an illustration of the model is shown. In the encoder $q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } )$ , each $d _ { k }$ is concatenated with the respective edge feature $e _ { k }$ to give $e _ { k } ^ { \prime } \in \mathbb { R } ^ { F _ { e } + 1 }$ . Then, each $v _ { i }$ and each $\boldsymbol { e } _ { k } ^ { \prime }$ are passed to $F _ { \mathrm { e n c , } v }$ and $F _ { \mathrm { e n c } , e }$ (two multilayer perceptrons,
55
+
56
+ ![](images/5f0738038473b071de697991b53166ab0b2ba48a790fd8a700a36244723f5ab6.jpg)
57
+ Figure 3: The molecular graph $\mathcal { G }$ together with the distances $\mathbf { d }$ are passed through the model consisting of an encoder $q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } )$ and a decoder $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } , \mathcal { G } )$ . See the main text for details.
58
+
59
+ MLPs), respectively, to give $\mathcal { G } _ { \mathrm { e n c } } ^ { ( 0 ) }$ , where $\mathcal { G } _ { \mathrm { e n c } } ^ { ( t ) } = ( \{ v _ { i , \mathrm { e n c } } ^ { ( t ) } \} _ { i = 1 } ^ { N _ { v } } , \{ ( e _ { k , \mathrm { e n c } } ^ { ( t ) } , r _ { k } , s _ { k } ) \} _ { k = 1 } ^ { N _ { e } } ) , v _ { i } ^ { ( }$ $v _ { i , \mathrm { e n c } } ^ { ( t ) } \in \mathbb { R } ^ { L _ { v } }$ and $e _ { k , \mathrm { e n c } } ^ { ( t ) } \in \mathbb { R } ^ { L _ { \mathrm { c } } }$ . Then, $T$ MPNNs of depth 1, $\{ \mathbf { M P } _ { \mathrm { e n c } } ^ { ( t ) } \} _ { t = 1 } ^ { T }$ , are consecutively applied to obtain $\mathcal { G } _ { \mathrm { e n c } } ^ { ( T ) }$ . Finally, the read-out function $R _ { \mathrm { e n c } }$ (an MLP) takes each $v _ { \mathrm { i , e n c } } ^ { ( T ) }$ to predict the mean $\mu _ { z _ { i } } \in \mathbb { R }$ and the variance $\sigma _ { z _ { i } } ^ { 2 } \in \mathbb { R }$ of the Gaussian distribution for $z _ { i }$ . The so-called reparametrization trick is employed to draw a sample for $z _ { i }$ . In summary,
60
+
61
+ $$
62
+ \begin{array} { r l } { v _ { i , \mathrm { e n c } } ^ { ( 0 ) } = F _ { \mathrm { e n c } , v } ( v _ { i } ) , } & { e _ { k , \mathrm { e n c } } ^ { ( 0 ) } = F _ { \mathrm { e n c } , e } ( e _ { i } ^ { \prime } ) , } \\ { \mathcal { G } _ { \mathrm { e n c } } ^ { ( 1 ) } = \mathsf { M P } _ { \mathrm { e n c } } ^ { ( 0 ) } ( \mathcal { G } _ { \mathrm { e n c } } ^ { ( 0 ) } ) , } & { \mathcal { G } _ { \mathrm { e n c } } ^ { ( t + 1 ) } = \mathsf { M P } _ { \mathrm { e n c } } ^ { ( t ) } ( \mathcal { G } _ { \mathrm { e n c } } ^ { ( t ) } ) , \quad \mathcal { G } _ { \mathrm { e n c } } ^ { ( T ) } = \mathsf { M P } _ { \mathrm { e n c } } ^ { ( T - 1 ) } ( \mathcal { G } _ { \mathrm { e n c } } ^ { ( T - 1 ) } ) , } \\ { \mu _ { z _ { i } } , \sigma _ { z _ { i } } ^ { 2 } = R _ { \mathrm { e n c } } ( v _ { i , \mathrm { e n c } } ^ { ( T ) } ) . } \end{array}
63
+ $$
64
+
65
+ decode. Each $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } , \mathcal { G } )$ ach are $z _ { i }$ is concassed to d wand respective node feature (two MLPs), respective $v _ { i }$ to give to give $v _ { i } ^ { \prime } \in$
66
+ where $\mathbb { R } ^ { F _ { v } + 1 }$ $\mathcal { G } _ { \mathrm { d e c } } ^ { ( t ) } = ( \{ v _ { i , \mathrm { d e c } } ^ { ( t ) } \} _ { i = 1 } ^ { N _ { v } } , \{ ( e _ { k , \mathrm { d e c } } ^ { ( t ) } , r _ { k } , s _ { k } ) \} _ { k = 1 } ^ { N _ { e } } )$ $\boldsymbol { v } _ { i } ^ { \prime }$ $e _ { k }$ $F _ { \mathrm { d e c } , v }$ , $v _ { i , \mathrm { d e c } } ^ { ( t ) } \in \mathbb { R } ^ { L _ { v } }$ $F _ { \mathrm { d e c } , e }$ , and $e _ { k , \mathrm { d e c } } ^ { ( t ) } \in \mathbb { R } ^ { L _ { \mathrm { e } } }$ . Then, dec MPNNs
67
+ of depth 1, {MP(t)dec}Tt= , are consecutively applied to obtain $\mathcal { G } _ { \mathrm { d e c } } ^ { ( T ) }$ . Finally, the read-out function
68
+ (an MLP) takes ch $e _ { \mathbf { k } , \mathrm { d e c } } ^ { ( T ) }$ to predict the mean $\mu _ { d _ { k } } \in \mathbb { R }$ dec and the variance $\sigma _ { d _ { k } } ^ { 2 } \in \mathbb { R }$ decof the Gaussian $d _ { k }$ . In summary,
69
+
70
+ $$
71
+ \begin{array} { r l } & { v _ { i , \mathrm { d e c } } ^ { ( 0 ) } = F _ { \mathrm { d e c } , v } ( v _ { i } ^ { \prime } ) , \quad e _ { k , \mathrm { d e c } } ^ { ( 0 ) } = F _ { \mathrm { d e c } , e } ( e _ { i } ) , } \\ & { \mathcal { G } _ { \mathrm { d e c } } ^ { ( 1 ) } = \mathbf { M } \mathbf { P } _ { \mathrm { d e c } } ^ { ( 0 ) } ( \mathcal { G } _ { \mathrm { d e c } } ^ { ( 0 ) } ) , \quad \mathcal { G } _ { \mathrm { d e c } } ^ { ( t + 1 ) } = \mathbf { M } \mathbf { P } _ { \mathrm { d e c } } ^ { ( t ) } ( \mathcal { G } _ { \mathrm { d e c } } ^ { ( t ) } ) , \quad \mathcal { G } _ { \mathrm { d e c } } ^ { ( T ) } = \mathbf { M } \mathbf { P } _ { \mathrm { d e c } } ^ { ( T - 1 ) } ( \mathcal { G } _ { \mathrm { d e c } } ^ { ( T - 1 ) } ) , } \\ & { \qquad \mu _ { d _ { k } } , \sigma _ { d _ { k } } ^ { 2 } = R _ { \mathrm { d e c } } ( e _ { k , \mathrm { d e c } } ^ { ( T ) } ) . } \end{array}
72
+ $$
73
+
74
+ The sets of parameters in the encoder and decoder, $\phi$ and $\theta$ (i.e., parameters in $F _ { \mathrm { e n c } , v } , \ F _ { \mathrm { e n c } , e }$ , $\{ \mathbf { M P } _ { \mathrm { e n c } } ^ { ( t ) } \} _ { t = 1 } ^ { T }$ , $R _ { \mathrm { e n c } }$ , $F _ { \mathrm { d e c } , v }$ , $F _ { \mathrm { d e c } , e }$ , $\{ \mathbf { M P } _ { \mathrm { d e c } } ^ { ( t ) } \} _ { t = 1 } ^ { T } , R _ { \mathrm { d e c } } )$ , respectively, are optimized by maximizing the evidence lower bound (ELBO):
75
+
76
+ $$
77
+ L = \mathbb { E } _ { \mathbf { z } \sim q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } ) } [ \log p _ { \theta } ( \mathbf { d } | \mathbf { z } , \mathcal { G } ) ] - D _ { \mathrm { K L } } [ q _ { \phi } ( \mathbf { z } | \mathbf { d } , \mathcal { G } ) | | p _ { \theta } ( \mathbf { z } | \mathcal { G } ) ] ,
78
+ $$
79
+
80
+ where the prior $p _ { \boldsymbol { \theta } } ( \mathbf { z } | \mathcal { G } )$ consists of factorized Gaussians. The optimal values for the hyperparameters for the network dimensions, number of message passes, batch size, and learning rate of the Adam optimizer (Kingma & Ba, 2014) were tuned by maximizing the validation performance (ELBO) with a Bayesian optimizer and are reported in Appendix A.1.3.
81
+
82
+ # 2.3 CONFORMATION GENERATION THROUGH EUCLIDEAN DISTANCE GEOMETRY
83
+
84
+ To compute molecular properties, quantum-chemical methods need to be employed which require the input, i.e., the molecule, to be in Cartesian coordinates.3 Therefore, we use an EDG algorithm to translate the set of distances $\{ d _ { k } \} _ { k = 1 } ^ { N _ { e } }$ to a set of atomic coordinates $\{ \mathbf { r } _ { i } \} _ { i = 1 } ^ { N _ { v } }$ . 4
85
+
86
+ EDG is the mathematical basis for a geometric theory of molecular conformation. In the field of machine learning, Weinberger & Saul (2006) used it for learning image manifolds, Tenenbaum et al. (2000) for image understanding and handwriting recognition, Jain & Saul (2004) for speech and music, and Demaine et al. (2009) for music and musical rhythms. An EDG description of a molecular system consists of a list of lower and upper bounds on the distances between pairs of atoms $\{ ( d _ { k , \operatorname* { m i n } } , d _ { k , \operatorname* { m a x } } ) \} _ { k = 1 } ^ { N _ { e } }$ . Here, $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } , \mathcal { G } )$ is used to model these bounds, namely, we set the bounds to $\{ ( \mu _ { d _ { k } } - \sigma _ { d _ { k } } , \mu _ { d _ { k } } + \sigma _ { d _ { k } } ) \}$ , where $\mu _ { d _ { k } }$ and $\sigma _ { d _ { k } }$ are the mean and standard deviation for each distance $d _ { k }$ given by the CVAE. Then, an EDG algorithm determines a set of Cartesian coordinates $\{ \mathbf { r } _ { i } \} _ { i = 1 } ^ { N _ { v } }$ so that these bounds are fulfilled (see Appendix A.2 for details).5 Together with the corresponding chemical elements $\{ \epsilon _ { i } \} _ { i = 1 } ^ { N _ { v } }$ , we obtain a conformation $\mathbf { x }$ .
87
+
88
+ # 2.4 CALCULATION OF MOLECULAR PROPERTIES
89
+
90
+ We can get an MC estimate of the expectation $\mathbb { E } _ { \mathcal { G } } [ \mathcal { O } ]$ of a property $\mathcal { O }$ (e.g., the dipole moment) for a molecule represented by $\mathcal { G }$ by drawing conformational samples $\mathbf { x } _ { i } \sim p ( \mathbf { x } | \mathcal { G } )$ and computing $\mathcal { O } ( \mathbf { x } _ { i } ) \in \mathbb { R }$ with a quantum-chemical method (e.g., density functional theory). Since we cannot draw samples from $p ( \mathbf { x } | \mathcal { G } )$ directly, we employ an IS integration scheme (Bishop, 2009) with our CVAE as the proposal distribution. We assume that we can readily evaluate the unnormalized probability of a conformation $\tilde { p } ( \mathbf { x } | \mathcal { G } ) = \exp \{ - E ( \mathbf { x } ) / k _ { B } T \}$ , where $\mathbf { x }$ must be a conformation of the molecule and the energy $E ( \mathbf { x } )$ is determined with a quantum-chemical method. Since the EDG algorithm is mapping the distribution $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } , \mathcal { G } )$ to a point mass in $ { \mathbb { R } } ^ { 3 N _ { v } }$ , the MC estimate for the resulting distribution $p _ { \mathrm { p r o p } } ( \mathbf { x } | \mathcal { G } )$ is given by a mixture of delta functions, each of which is centered at the $\mathbf { x } _ { i }$ resulting from mapping $p _ { \boldsymbol { \theta } } ( \mathbf { d } | \mathbf { z } _ { i } , \mathcal { G } )$ to $\mathbb { R } ^ { 3 N _ { v } }$ , where $\mathbf { z } _ { i } \sim p _ { \theta } ( \mathbf { z } | \mathcal { G } )$ , that is, $\begin{array} { r } { p _ { \mathrm { p r o p } } ( \mathbf { x } | \mathcal { G } ) \approx \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \delta ( \mathbf { x } - \mathbf { x } _ { i } ) } \end{array}$ . The IS estimator for the expectation of $\mathcal { O }$ w. r. t. $\tilde { p } ( \mathbf { x } | \mathcal { G } )$ then reads
91
+
92
+ $$
93
+ \hat { \mathbb { E } } _ { \mathcal { G } } [ \mathcal { O } ] \overset { \mathrm { M C } } { \approx } \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathcal { O } ( \mathbf { x } _ { i } ) \overset { \mathrm { I S } } { = } \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathcal { O } ( \mathbf { x } _ { i } ^ { \prime } ) \frac { \tilde { p } ( \mathbf { x } _ { i } ^ { \prime } | \mathcal { G } ) } { p _ { \mathrm { p r o p } } ( \mathbf { x } _ { i } ^ { \prime } | \mathcal { G } ) } ,
94
+ $$
95
+
96
+ where $\mathbf { x } _ { i } \sim \tilde { p } ( \mathbf { x } _ { i } | \mathcal { G } )$ and $\mathbf { x } _ { i } ^ { \prime } \sim p _ { \mathrm { p r o p } } ( \mathbf { x } _ { i } ^ { \prime } | \mathcal { G } )$ , so that the expectation of $\mathcal { O }$ w. r. t. the normalized version of $\tilde { p } ( { \bf x } )$ is then
97
+
98
+ $$
99
+ \mathbb { E } _ { \mathcal { G } } [ \mathcal { O } ] = \frac { \hat { \mathbb { E } } _ { \mathcal { G } } [ \mathcal { O } ] } { \hat { \mathbb { E } } _ { \mathcal { G } } [ 1 ] } \approx \frac { 1 } { Z } \sum _ { i = 1 } ^ { N } \mathcal { O } ( \mathbf { x } _ { i } ) \tilde { p } ( \mathbf { x } _ { i } ^ { \prime } | \mathcal { G } ) ,
100
+ $$
101
+
102
+ where have a $\begin{array} { r } { Z \approx \sum _ { i = 1 } ^ { N } \tilde { p } ( \mathbf { x } _ { i } ^ { \prime } ) } \end{array}$ and ake s $N$ is the number of samples. When dividing two delta functions wee arbitrarily large finite value.
103
+
104
+ # 3 RELATED WORKS
105
+
106
+ The standard approach for generating molecular conformations is to start with one, and make small changes to it over time, e.g., by using MCMC or MD. These methods are considered the gold standard for sampling equilibrium states, but they are computationally expensive, especially if the molecule is large and the Hamiltonian is based on quantum-mechanical principles (Shim & MacKerell, 2011; Ballard et al., 2015; De Vivo et al., 2016).
107
+
108
+ A much faster but more approximate approach for conformation generation is EDG (Havel, 2002; Blaney & Dixon, 2007; Lagorce et al., 2009; Riniker & Landrum, 2015). Lower and upper distance bounds for pairs of atoms in a molecule are fixed values based on ideal bond lengths, bond angles, and torsional angles. These values are often extracted from crystal structure databases (Allen, 2002). These methods aim to generate a low-energy conformation, not to generate unbiased samples from the underlying distribution at a certain temperature.
109
+
110
+ There exist several machine learning approaches as well, however, they are mostly tailored towards studying protein dynamics. For example, Noe et al. (2019) trained Boltzmann generators on the ´ energy function of proteins to provide unbiased, one-shot samples from their equilibrium states. This is achieved by training an invertible neural network to learn a coordinate transformation from a system’s configurations to a latent space representation. Further, Lemke & Peter (2019) proposed a dimensionality reduction algorithm that is based on a neural network autoencoder in combination with a nonlinear distance metric to generate samples for protein structures. Both models learn protein-specific coordinate transformations that cannot be transferred to other molecules.
111
+
112
+ AlQuraishi (2019) introduced an end-to-end differentiable recurrent geometric network for protein structure learning based on amino acid sequences. Also, Ingraham et al. (2019) proposed a neural energy simulator model for protein structure that makes use of protein sequence information. In contrast to amino acid sequences, molecular graphs are, in general, not linear but highly branched and often contain cycles. This makes them unsuitable for recurrent networks.
113
+
114
+ Finally, Mansimov et al. (2019) presented a conditional deep generative graph neural network to generate molecular conformations given a molecular graph. Their goal is to predict the most likely conformation and not a distribution over conformations. Instead of encoding molecular environments in atomic distances, they work directly in Cartesian coordinates. As a result, the generated conformations showed significant structural differences compared to the ground-truth and required refinement through a force field, which is often employed in MD simulations.
115
+
116
+ We argue that our model has several advantages over the approaches reviewed above:
117
+
118
+ • It is a fast alternative to resource-intensive approaches based on MCMC or MD.
119
+ • Our principled representation based on pair-wise distances does not restrict our approach to any particular molecular structure.
120
+ • Since our model employs message-passing neural networks, it is transferable – it can extrapolate from only a few graphs to unseen ones.
121
+
122
+ # 4 THE CONF17 BENCHMARK
123
+
124
+ The CONF17 benchmark is the first benchmark for molecular conformation sampling.6 It is based on the ISO17 dataset (Schutt et al., 2017a) which consists of conformations of various molecules ¨ with the atomic composition $\mathrm { C _ { 7 } H _ { 1 0 } O _ { 2 } }$ drawn from the QM9 dataset (Ramakrishnan et al., 2014). These conformations were generated by ab initio molecular dynamics simulations at 500 Kelvin which generates trajectories of a single molecule covering a large variety of conformations. The CONF17 benchmark consists of 127 distinct molecular graphs each with 3380 conformations on average. We split this dataset into multiple training and test splits, each consisting of 107 and 20 graphs, respectively (see Appendix A.1 for more details).7
125
+
126
+ In Fig. 4, (A), the structural formulae of a random selection of molecules from this benchmark are shown. Most molecules feature highly-strained, complex 3D structures such as rings which are typical of drug-like molecules. It is thus the structural complexity of the molecules, not their number of degrees of freedom, that makes this benchmark challenging. In Fig. 4, (B), the frequency of distances (in $\mathring \mathrm { A }$ ) in the conformations are shown for each edge type. It can be seen that the marginal distributions of the edge distances are multimodal and highly context dependent.
127
+
128
+ ![](images/46a3aa64e022fdd01a26120b31e2968b1635e75bf7b4ed5e1fb0963f320d2e6f.jpg)
129
+ Figure 4: Overview of the CONF17 benchmark. (A) Structural formulae of a random selection of molecules. (B) Distribution of distances (in $\mathrm { \AA }$ ) grouped by edge (from left to right: $E _ { \mathrm { b o n d } }$ , $E _ { \mathrm { a n g l e } }$ , and $E _ { \mathrm { d i h e d r a l } } ,$ ) and vertex type (chemical element).
130
+
131
+ # 5 EXPERIMENTS
132
+
133
+ We assess the performance of our method, named Graph Distance Geometry (GRAPHDG), by comparing it with two state-of-the-art methods for molecular conformation generation: RDKIT (Riniker & Landrum, 2015), a classical EDG approach, and DL4CHEM (Mansimov et al., 2019), a machine learning approach. We trained GRAPHDG and DL4CHEM on three different training and test splits of the CONF17 benchmark using Adam (Kingma & Ba, 2014). We generated 3000 conformations with each method for molecular graphs in a test set.
134
+
135
+ # 5.1 DISTRIBUTIONS OVER DISTANCES
136
+
137
+ We assessed the accuracy of the distance distributions of RDKIT, DL4CHEM, and GRAPHDG by calculating the maximum mean discrepancy (MMD) (Gretton et al., 2012) to the ground-truth distribution. We compute the MMD using a Gaussian kernel, where we set the standard deviation to be the median distance between distances $\mathbf { d }$ in the aggregate sample. For this, we determined the distances in the conformations from the ground-truth and those generated by RDKIT and DL4CHEM. For each train-test split and each $\mathcal { G }$ in a test set, we compute the MMD of the joint distribution of distances between C and $\mathrm { o }$ atoms (H atoms are usually ignored), the MMDs of pair-wise distances $p ( d _ { i } , d _ { j } | \mathcal { G } )$ , and the MMDs between the marginals of individual distances $p ( d _ { i } | \mathcal { G } )$ . We aggregate the results of three train-test splits, and, finally, compute the median MMDs and average rankings. The results are summarized in Table 1. It can be seen that the samples from GRAPHDG are significantly closer to the ground-truth distribution than the other methods. RDKIT is slightly worse than GRAPHDG while DL4CHEM seems to struggle with the complexity of the molecules and the small number of graphs in the training set.
138
+
139
+ In Fig. 5, we showcase the accuracy of our model by plotting the marginal distributions $p ( d _ { i } | \mathcal { G } )$ for distances between C and O atoms given a molecular graph from a test set. It can be seen that RDKIT consistently underestimates the marginal variances. This is because this method aims to predict the most stable conformation, i.e., the distribution’s mode. In contrast, DL4CHEM often fails to predict the correct mean. For this molecule, GRAPHDG is the most accurate, predicting the right mean and variance in most cases. Additional figures can be found in the Appendix A.4, where we also show plots for the marginal distributions $p ( d _ { i } , d _ { j } | \mathcal { G } )$ .
140
+
141
+ Table 1: Assessment of the accuracy of the distributions over conformations generated by three models compared to the ground-truth. We compare the distributions with respect to the marginals $p ( d _ { k } | \mathcal { G } )$ , $p ( d _ { k } , d _ { l } | \mathcal { G } )$ , and the distribution over all edges between C and $\mathrm { o }$ atoms $p ( \{ d _ { k } \} | \mathcal { G } )$ . Two different metrics are used: median MMD between ground-truth conformations and generated ones, and mean ranking (1 to 3) based on the MMD. Reported are the results for molecular graphs in a test set from three train-test splits. Standard errors are given in brackets.
142
+
143
+ <table><tr><td rowspan="2"></td><td colspan="3">Median MMD</td><td colspan="3">Mean Ranking</td></tr><tr><td>RDKIT</td><td>DL4CHEM</td><td>GRAPHDG</td><td>RDKIT</td><td>DL4CHEM</td><td>GRAPHDG</td></tr><tr><td>p(dk|9)</td><td>0.55 (0.01)</td><td>1.11 (0.01)</td><td>0.38 (0.02)</td><td>1.71 (0.03)</td><td>2.74 (0.02)</td><td>1.51 (0.03)</td></tr><tr><td>p(dk,di/9)</td><td>0.53 (0.01)</td><td>1.09 ( (0.01)</td><td>0.34 (0.01)</td><td>1.66 (0.02)</td><td>2.92 (0.01)</td><td>1.43 ( (0.02)</td></tr><tr><td>p({d}9)</td><td>0.60 (0.01)</td><td>1.07 (0.03)</td><td>0.44 (0.05)</td><td>1.58 (0.05)</td><td>2.90 (0.05)</td><td>1.45 (0.02)</td></tr></table>
144
+
145
+ ![](images/73cb33f1644a53a40561269d68794ff6ada9b90a2cebb3bc0277b7aadea252d5.jpg)
146
+ Figure 5: Marginal distributions $p ( d _ { k } | \mathcal { G } )$ of ground-truth and predicted bond distances (in $\textrm { \AA }$ ) between C and O atoms given a molecular graph from the test set. The atoms connected by each edge $d _ { k }$ are indicated in each subplot $\left( \boldsymbol { s } _ { k } \mathrm { - } \boldsymbol { r } _ { k } \right)$ . In the 3D structure of the molecule, carbon and oxygen atoms are colored gray and red, respectively. $_ \mathrm { H }$ atoms are omitted for clarity.
147
+
148
+ # 5.2 GENERATION OF CONFORMATIONS
149
+
150
+ We passed the distances from our generative model to an EDG algorithm to obtain conformations. For $9 9 . 9 \%$ of the sets of distances, all triangle inequalities held. For $94 \%$ of the molecular graphs, the algorithm succeeded which is 8 pp higher than the success rate we observed for RDKIT. For each molecular graph in a test set, we generated 50 conformations with each method. This took DL4CHEM, RDKIT, and GRAPHDG on average around hundreds of milliseconds per molecule.8 In contrast, a single conformation in the ISO17 dataset takes around a minute to compute. In Fig. 6, an overlay of these conformations of six molecules generated by the different methods is shown. It can be seen that RDKIT’s conformations show too little variance, while DL4CHEM’s structures are mostly invalid, which is due in part to its failure to predict the correct interatomic angles. Our method slightly overestimates the structural variance (see, for example, Fig. 6, top row, second column), but produces conformations that are the closest to the ground-truth.
151
+
152
+ # 5.3 CALCULATION OF MOLECULAR PROPERTIES
153
+
154
+ We estimate expected molecular properties for molecular graphs from the test set with $N = 5 0$ conformational samples each. Due to their poor quality, we could not compute properties $\mathcal { O } ( \mathbf { x } )$ , including the energy $E ( \mathbf { x } )$ , for conformations generated with DL4CHEM, and thus, this method is excluded from this analysis. In Table 2, it can be seen that RDKIT and GRAPHDG perform
155
+
156
+ ![](images/6dbc1684f2efce71c7be4d5e7e63e8e2e0f0a2968f6b845c474caa529794805c.jpg)
157
+ Figure 6: Overlay of 50 conformations from the ground-truth and three models based on six random molecular graphs from the test set. C, O, and H atoms are colored gray, red, and white, respectively.
158
+
159
+ Table 2: Median difference in average properties between ground-truth and RDKIT and GRAPHDG: total electronic energy $E _ { \mathrm { e l e c } }$ (in kJ/mol), the energy of the HOMO and the LUMO LUMO and LUMO, respectively (in eV), and the dipole moment $\mu$ (in debye). Reported are the results for molecular graphs from the test set, averaged over three train-test splits. Standard errors are given in brackets.
160
+
161
+ <table><tr><td></td><td>RDKIT</td><td>GRAPHDG</td></tr><tr><td>Eelec</td><td>42.7 (4.3)</td><td>58.0 (21.0)</td></tr><tr><td>€HOMO</td><td>0.08 (0.04)</td><td>0.10 (0.05)</td></tr><tr><td>ELUMO</td><td>0.15 (0.03)</td><td>0.09 (0.05)</td></tr><tr><td>从</td><td>0.29 (0.05)</td><td>0.33 (0.09)</td></tr></table>
162
+
163
+ similarly well (see Appendix A.2 for computational details). However, both methods are still highly inaccurate for $E _ { \mathrm { e l e c } }$ (in practice, an accuracy of less than $5 \ \mathrm { k J / m o l }$ is required). Close inspection of the conformations shows that, even though GRAPHDG predicts the most accurate distances overall, the variances of certain strongly constrained distances (e.g., triple bonds) are overestimated so that the energies of the conformations increase drastically.
164
+
165
+ # 6 LIMITATIONS
166
+
167
+ The first limitation of this work is that the CVAE can sample (with low probability) invalid sets of distances for which there exists no 3D structure. Second, the CONF17 benchmark covers only a small portion of chemical space. Finally, a large set of auxiliary edges would be required to capture long-range correlations (e.g., in proteins). Future work will address these points.
168
+
169
+ # 7 CONCLUSIONS
170
+
171
+ We presented GRAPHDG, a transferable, generative model that allows sampling from a distribution over molecular conformations. We developed a principled learning representation of conformations that is based on distances between atoms. Then, we proposed a challenging benchmark for comparing molecular conformation generators. With this benchmark, we show experimentally that conformations generated by GRAPHDG are closer to the ground-truth than those generated by other methods. Finally, we employ our model as a proposal distribution in an IS integration scheme to estimate molecular properties. While orbital energies and the dipole moments were predicted well, a larger and more diverse dataset will be necessary for meaningful estimates of electronic energies. Further, methods have to be devised to estimate how many conformations need to be generated to ensure all important conformations have been sampled. Finally, our model could be trained on conformational distributions at different temperatures in a transfer learning-type setting.
172
+
173
+ # REFERENCES
174
+
175
+ F. H. Allen. The Cambridge Structural Database: A quarter of a million crystal structures and rising. Acta Crystallogr., Sect. B: Struct. Sci, 58(3):380–388, 2002. doi: 10.1107/S0108768102003890.
176
+
177
+ Mohammed AlQuraishi. End-to-End Differentiable Learning of Protein Structure. Cell Systems, 8 (4):292–301.e3, 2019. doi: 10.1016/j.cels.2019.03.006.
178
+
179
+ Andrew J. Ballard, Stefano Martiniani, Jacob D. Stevenson, Sandeep Somani, and David J. Wales. Exploiting the potential energy landscape to sample free energy. WIREs Comput. Mol. Sci., 5(3): 273–289, 2015. doi: 10.1002/wcms.1217.
180
+
181
+ Christopher M. Bishop. Pattern Recognition and Machine Learning. Information Science and Statistics. Springer, New York, 8 edition, 2009. ISBN 978-0-387-31073-2.
182
+
183
+ Jeffrey M. Blaney and J. Scott Dixon. Distance Geometry in Molecular Modeling. In Reviews in Computational Chemistry, pp. 299–335. John Wiley & Sons, Ltd, 2007. ISBN 978-0-470-12582- 3. doi: 10.1002/9780470125823.ch6.
184
+
185
+ John Bradshaw, Matt J. Kusner, Brooks Paige, Marwin H. S. Segler, and Jose Miguel Hern ´ andez- ´ Lobato. A generative model for electron paths. In International Conference on Learning Representations, 2019a.
186
+
187
+ John Bradshaw, Brooks Paige, Matt J. Kusner, Marwin H. S. Segler, and Jose Miguel Hern ´ andez- ´ Lobato. A Model to Search for Synthesizable Molecules. arXiv:1906.05221, 2019b.
188
+
189
+ Hanjun Dai, Yingtao Tian, Bo Dai, Steven Skiena, and Le Song. Syntax-directed variational autoencoder for structured data. In International Conference on Learning Representations, 2018.
190
+
191
+ Marco De Vivo, Matteo Masetti, Giovanni Bottegoni, and Andrea Cavalli. Role of Molecular Dynamics and Related Methods in Drug Discovery. J. Med. Chem., 59(9):4035–4061, 2016. doi: 10.1021/acs.jmedchem.5b01684.
192
+
193
+ Erik D. Demaine, Francisco Gomez-Martin, Henk Meijer, David Rappaport, Perouz Taslakian, Godfried T. Toussaint, Terry Winograd, and David R. Wood. The distance geometry of music. Computational Geometry, 42(5):429–454, 2009. doi: 10.1016/j.comgeo.2008.04.005.
194
+
195
+ David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alan Aspuru-Guzik, and Ryan P Adams. Convolutional Networks on Graphs for Learning Molecular Fingerprints. In C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, and R. Garnett (eds.), Advances in Neural Information Processing Systems 28, pp. 2224–2232. Curran Associates, Inc., 2015.
196
+
197
+ R. Evans, J. Jumper, J. Kirkpatrick, L. Sifre, T. F. G. Green, C. Qin, A. Zidek, A. Nelson, A. Bridgland, H. Penedones, S. Petersen, K. Simonyan, S. Crossan, D. T. Jones, D. Silver, K. Kavukcuoglu, D. Hassabis, and A. W. Senior. De novo structure prediction with deep-learning based scoring. In Thirteenth Critical Assessment of Techniques for Protein Structure Prediction, 2018.
198
+
199
+ Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning - Volume 70, ICML’17, pp. 1263–1272, 2017.
200
+
201
+ Rafael Gomez-Bombarelli, Jennifer N. Wei, David Duvenaud, Jos ´ e Miguel Hern ´ andez-Lobato, ´ Benjam´ın Sanchez-Lengeling, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy D. Hirzel, ´ Ryan P. Adams, and Alan Aspuru-Guzik. Automatic Chemical Design Using a Data-Driven ´ Continuous Representation of Molecules. ACS Cent. Sci., 4(2):268–276, 2018. doi: 10.1021/ acscentsci.7b00572.
202
+
203
+ Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Scholkopf, and Alexander Smola. ¨ A Kernel Two-Sample Test. J. Mach. Learn. Res., 13:723–773, 2012.
204
+
205
+ Wolfgang Guba, Agnes Meyder, Matthias Rarey, and Jer´ ome Hert. Torsion Library Reloaded: ˆ A New Version of Expert-Derived SMARTS Rules for Assessing Conformations of Small Molecules. J. Chem. Inf. Model., 56(1):1–5, 2016. doi: 10.1021/acs.jcim.5b00522.
206
+
207
+ Timothy F. Havel. Distance Geometry: Theory, Algorithms, and Chemical Applications. In Encyclopedia of Computational Chemistry. American Cancer Society, 2002. ISBN 978-0-470-84501-1. doi: 10.1002/0470845015.cda018.
208
+
209
+ John Ingraham, Adam Riesselman, Chris Sander, and Debora Marks. Learning Protein Structure with a Differentiable Simulator. In International Conference on Learning Representations, 2019.
210
+
211
+ V. Jain and L. K. Saul. Exploratory analysis and visualization of speech and music by locally linear embedding. In 2004 IEEE International Conference on Acoustics, Speech, and Signal Processing, volume 3, pp. iii–984, 2004. doi: 10.1109/ICASSP.2004.1326712.
212
+
213
+ Jan Jensen. XYZ2Mol. https://github.com/jensengroup/xyz2mol, 2019.
214
+
215
+ Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 2323–2332, Stockholm, Sweden, 2018. PMLR.
216
+
217
+ Ilana Y. Kanal, John A. Keith, and Geoffrey R. Hutchison. A sobering assessment of small-molecule force field methods for low energy conformer predictions. Int. J. Quantum Chem., 118(5):e25512, 2018. doi: 10.1002/qua.25512.
218
+
219
+ Steven Kearnes, Kevin McCloskey, Marc Berndl, Vijay Pande, and Patrick Riley. Molecular graph convolutions: Moving beyond fingerprints. J. Comput.-Aided Mol. Des., 30(8):595–608, 2016. doi: 10.1007/s10822-016-9938-8.
220
+
221
+ Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. arXiv:1412.6980, 2014.
222
+
223
+ Diederik P. Kingma and Max Welling. Auto-Encoding Variational Bayes. In International Conference on Learning Representations, 2014.
224
+
225
+ Thomas N. Kipf and Max Welling. Semi-Supervised Classification with Graph Convolutional Networks. International Conference on Learning Representations, 2017.
226
+
227
+ Matt J. Kusner, Brooks Paige, and Jose Miguel Hern ´ andez-Lobato. Grammar Variational Autoen- ´ coder. In Doina Precup and Yee Whye Teh (eds.), Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 1945–1954, International Convention Centre, Sydney, Australia, 2017. PMLR.
228
+
229
+ David Lagorce, Tania Pencheva, Bruno O. Villoutreix, and Maria A. Miteva. DG-AMMOS: A New tool to generate 3D conformation of small molecules using Distance Geometry and Automated Molecular Mechanics Optimization for in silico Screening. BMC Chem. Biol., 9:6, 2009. doi: 10.1186/1472-6769-9-6.
230
+
231
+ Tobias Lemke and Christine Peter. EncoderMap: Dimensionality Reduction and Generation of Molecule Conformations. J. Chem. Theory Comput., 2019. doi: 10.1021/acs.jctc.8b00975.
232
+
233
+ Qi Liu, Miltiadis Allamanis, Marc Brockschmidt, and Alexander Gaunt. Constrained Graph Variational Autoencoders for Molecule Design. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 7795–7804. Curran Associates, Inc., 2018.
234
+
235
+ Elman Mansimov, Omar Mahmood, Seokho Kang, and Kyunghyun Cho. Molecular geometry prediction using a deep generative graph neural network. arXiv:1904.00314 [physics, stat], 2019.
236
+
237
+ Frank Noe, Simon Olsson, Jonas K ´ ohler, and Hao Wu. Boltzmann generators: Sampling equilibrium ¨ states of many-body systems with deep learning. Science, 365(6457):eaaw1147, 2019. doi: 10.1126/science.aaw1147.
238
+
239
+ Artidoro Pagnoni, Kevin Liu, and Shangyan Li. Conditional Variational Autoencoder for Neural Machine Translation. arXiv:1812.04405, 2018.
240
+
241
+ John P. Perdew, Matthias Ernzerhof, and Kieron Burke. Rationale for mixing exact exchange with density functional approximations. J. Chem. Phys., 105(22):9982–9985, 1996. doi: 10.1063/1. 472933.
242
+
243
+ Raghunathan Ramakrishnan, Pavlo O. Dral, Matthias Rupp, and O. Anatole von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Sci. Data, 1:140022, 2014. doi: 10.1038/sdata.2014.22.
244
+
245
+ Sereina Riniker and Gregory A. Landrum. Better Informed Distance Geometry: Using What We Know To Improve Conformation Generation. J. Chem. Inf. Model., 55(12):2562–2574, 2015. doi: 10.1021/acs.jcim.5b00654.
246
+
247
+ Kristof Schutt, Pieter-Jan Kindermans, Huziel Enoc Sauceda Felix, Stefan Chmiela, Alexandre ¨ Tkatchenko, and Klaus-Robert Muller. SchNet: A continuous-filter convolutional neural net- ¨ work for modeling quantum interactions. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 991–1001. Curran Associates, Inc., 2017a.
248
+
249
+ Kristof T. Schutt, Farhad Arbabzadah, Stefan Chmiela, Klaus R. M ¨ uller, and Alexandre Tkatchenko.¨ Quantum-chemical insights from deep tensor neural networks. Nat. Commun., 8:13890, 2017b. doi: 10.1038/ncomms13890.
250
+
251
+ Marwin H. S. Segler, Thierry Kogej, Christian Tyrchan, and Mark P. Waller. Generating Focused Molecule Libraries for Drug Discovery with Recurrent Neural Networks. ACS Cent. Sci., 4(1): 120–131, 2018. doi: 10.1021/acscentsci.7b00512.
252
+
253
+ Jihyun Shim and Alexander D. MacKerell, Jr. Computational ligand-based rational design: Role of conformational sampling and force fields in model development. Med. Chem. Commun., 2(5): 356–370, 2011. doi: 10.1039/C1MD00044F.
254
+
255
+ Qiming Sun, Timothy C. Berkelbach, Nick S. Blunt, George H. Booth, Sheng Guo, Zhendong Li, Junzi Liu, James D. McClain, Elvira R. Sayfutyarova, Sandeep Sharma, Sebastian Wouters, and Garnet Kin-Lic Chan. PySCF: The Python-based simulations of chemistry framework. WIREs Comput. Mol. Sci., 8(1), 2018. doi: 10.1002/wcms.1340.
256
+
257
+ Joshua B. Tenenbaum, Vin de Silva, and John C. Langford. A Global Geometric Framework for Nonlinear Dimensionality Reduction. Science, 290(5500):2319–2323, 2000. doi: 10.1126/science.290.5500.2319.
258
+
259
+ Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li ´ o, and Yoshua \` Bengio. Graph Attention Networks. In International Conference on Learning Representations, 2018.
260
+
261
+ Florian Weigend. Accurate Coulomb-fitting basis sets for H to Rn. Phys. Chem. Chem. Phys., 8(9): 1057–1065, 2006. doi: 10.1039/B515623H.
262
+
263
+ Florian Weigend and Reinhart Ahlrichs. Balanced basis sets of split valence, triple zeta valence and quadruple zeta valence quality for H to Rn: Design and assessment of accuracy. Phys. Chem. Chem. Phys., 7(18):3297–3305, 2005. doi: 10.1039/B508541A.
264
+
265
+ Kilian Q. Weinberger and Lawrence K. Saul. Unsupervised Learning of Image Manifolds by Semidefinite Programming. Int. J. Comput. Vision, 70(1):77–90, 2006. doi: 10.1007/ s11263-005-4939-z.
266
+
267
+ Jiaxuan You, Bowen Liu, Zhitao Ying, Vijay Pande, and Jure Leskovec. Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 6410–6421. Curran Associates, Inc., 2018.
268
+
269
+ # A APPENDIX
270
+
271
+ # A.1 CONF17 BENCHMARK
272
+
273
+ # A.1.1 DATA GENERATION
274
+
275
+ The ISO17 dataset (Schutt et al., 2017a) was processed in the following way. First, conformations ¨ in which the molecular connectivity was modified (i.e., bonds were broken or new ones are formed) were discarded. For this, the tool XYZ2MOL (Jensen, 2019) was employed. Second, the molecular graphs were augmented by adding auxiliary edges for reasons described in Section 2.1. Auxiliary edges between all second neighbors were added. This can lead to a slight over-specification of the system’s geometry, however, this did not pose a problem in our experiments. In addition, auxiliary edges between third neighbors were added to fix dihedral angles. Since there are potentially many ways of specifying a dihedral angle in a molecular system, we resorted to the works of Riniker & Landrum (2015) and Guba et al. (2016) to decide where to place edges between third neighbors.
276
+
277
+ # A.1.2 INPUT FEATURES
278
+
279
+ Below we list the node and edges features in the CONF17 benchmark.
280
+
281
+ Table 3: Node features.
282
+
283
+ <table><tr><td>Feature</td><td>Data Type</td><td>Dimension</td></tr><tr><td>atomic number</td><td>integer</td><td>1</td></tr><tr><td>chiral tag</td><td>one-hot (R, S,and N/A)</td><td>3</td></tr></table>
284
+
285
+ Table 4: Edge features.
286
+
287
+ <table><tr><td>Feature</td><td>Data Type</td><td>Dimension</td></tr><tr><td>kind</td><td>one-hot (indicating whether e is in Ebond,Eangle,or Edihedral)</td><td>3</td></tr><tr><td>stereo chemistry</td><td>one-hot (E,Z,Any,None, and N/A)</td><td>5</td></tr><tr><td>type</td><td>integer (single, double, triple or N/A)</td><td>1</td></tr><tr><td>is aromatic</td><td>binary</td><td>1</td></tr><tr><td>is conjugated</td><td>binary</td><td>1</td></tr><tr><td>is in ring of size</td><td>one-hot (3,4,...,9) and N/A</td><td>8</td></tr></table>
288
+
289
+ # A.1.3 MODEL ARCHITECTURE
290
+
291
+ The full model is available online https://figshare.com/s/1b42bf865bd78c457354. In following, the hyperparameters of our model are specified:
292
+
293
+ Activations throughout this paper: ReLU; $L _ { v }$ , $L _ { e }$ : 10; $F _ { \mathrm { e n c } , v }$ : neural network with depth 2, width 20; $F _ { \mathrm { e n c } , e }$ : neural network with depth 3, width 60; $F _ { \mathrm { d e c } , v }$ , $F _ { \mathrm { d e c } , e }$ : neural networks with depth 2, width 70; {MP(t) }T , {MP(t) }T dec t=1: MPNN width depth 1 and three multi-head attention heads, T = 3, for node and edge updates neural networks with depth 2, and width 70 were used. $R _ { \mathrm { e n c } }$ , $R _ { \mathrm { d e c } }$ : neural networks with depth 2, width 70. Batch size: 16 (conformations);
294
+
295
+ # A.2 COMPUTATIONAL DETAILS
296
+
297
+ # A.2.1 QUANTUM-CHEMICAL CALCULATIONS
298
+
299
+ All quantum-chemical calculations were carried out with the PySCF program package (version 1.5) (Sun et al., 2018) employing the exchange-correlation density functional PBE (Perdew et al., 1996), and the def2-SVP (Weigend & Ahlrichs, 2005; Weigend, 2006) basis set.
300
+
301
+ Conformations generated by DL4CHEM did not succeed as some atoms were too close to each other. Self-consistent field algorithms in quantum-chemical software such as $\operatorname { P y } \operatorname { S C F }$ do not converge for such molecular structures.
302
+
303
+ With quantum-chemical methods, we calculate several properties that concern the states of the electrons in the conformation. These are the total electronic energy $E _ { \mathrm { e l e c } }$ , the energy of the electron in the highest occupied molecular orbital (HOMO in eV) HOMO, the energy of the lowest unoccupied molecular orbital (LUMO in eV) LUMO, and the norm of the dipole moment $\mu$ (in debye).
304
+
305
+ # A.2.2 EUCLIDEAN DISTANCE GEOMETRY
306
+
307
+ We refer the reader to Havel (2002) for theory on EDG, algorithms, and chemical applications. In summary, the EDG procedure consists of the following three steps:
308
+
309
+ 1. Bound smoothing: extrapolating a complete set of lower and upper limits on all the distances from the sparse set of lower and upper bounds.
310
+ 2. Embedding: choosing a random distance matrix from within these limits, and computing coordinates that are a certain best-fit to the distances.
311
+ 3. Optimization: optimizing these coordinates versus an error function which measures the total violation of the distance (and chirality) constraints.
312
+
313
+ We use the EDG implementation found in RDKIT (Riniker & Landrum, 2015) with default settings.
314
+
315
+ A.3 GENERATION OF CONFORMATIONS
316
+
317
+ ![](images/27951cf926cc9a59c011227fdb3757047860bb4f10db180e980c1c7f56c2a9fb.jpg)
318
+ Figure 7: Overlay of 50 conformations from the ground-truth, RDKIT, DL4CHEM, and GRAPHDG based on two random molecular graphs from the test set. C, O, and H atoms are colored gray, red, and white, respectively.
319
+
320
+ # A.4 DISTRIBUTIONS OVER DISTANCES
321
+
322
+ Below, the marginal distributions of the distances for a variety of molecular graphs are shown.
323
+
324
+ ![](images/155b36793493760b7aa79975d8ddcff91c662022446556581190de48d5091e35.jpg)
325
+ Figure 8: Marginal distributions $p ( d _ { k } | \mathcal { G } )$ of ground-truth and predicted distances (in A) between C ˚ and O atoms given a molecular graph from the test set. The atoms connected by each edge $d _ { k }$ are indicated in each subplot $\left( \boldsymbol { s } _ { k } \mathrm { - } \boldsymbol { r } _ { k } \right)$ . In the 3D structure of the molecule, carbon and oxygen atoms are colored gray and red, respectively. $_ \mathrm { H }$ atoms are omitted for clarity.
326
+
327
+ ![](images/e220b95757969ae8413448670537336f0a0200b2d7857d8c548541c7e3c21327.jpg)
328
+ Figure 9: Marginal distributions $p ( d _ { i } , d _ { j } | \mathcal { G } )$ of ground-truth and predicted distances for a molecular graph from the test set (in $\mathring \mathrm { A }$ ). Here, $d _ { i }$ and $d _ { j }$ are restricted to edges representing bonds between C and O atoms. In the 3D structure of the molecule, carbon and oxygen atoms are colored gray and red, respectively. H atoms are omitted for clarity.
329
+
330
+ ![](images/990560565dbcd6a07e4996d7818003cb2c3bd83142a60411cb3f89d685007e5c.jpg)
331
+ Figure 10: See caption of Fig. 8
332
+
333
+ ![](images/cf355a52b90102bd4be7140f2db8ba50e3779dbf93c62c9815ff4022643e40ce.jpg)
334
+ Figure 11: See caption of Fig. 9
335
+
336
+ ![](images/b460530421a43a7fa1d828cbce0adb372e29c25c81e9fb137bd557fbbf59743a.jpg)
337
+ Figure 12: See caption of Fig. 8
338
+
339
+ ![](images/3ab71d02171ec50c23dd6fda6644669702b4f5b23939b729a36135a2e37793fd.jpg)
340
+ Figure 13: See caption of Fig. 9
341
+
342
+ ![](images/318714018966fa62ece638ab99060cdcf128629a839fab7764e5e8b5f7fa177e.jpg)
343
+ Figure 14: See caption of Fig. 8
344
+
345
+ ![](images/046289cc08ff0e5a719e2e8d0afd1905fc1441824afab583ecca345ad569e0ab.jpg)
346
+ Figure 15: See caption of Fig. 9
parse/train/S1x1IkHtPr/S1x1IkHtPr_content_list.json ADDED
@@ -0,0 +1,1808 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "A GENERATIVE MODEL FOR MOLECULAR DISTANCE GEOMETRY ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
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
+ 236,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Computing equilibrium states for many-body systems, such as molecules, is a long-standing challenge. In the absence of methods for generating statistically independent samples, great computational effort is invested in simulating these systems using, for example, Markov chain Monte Carlo. We present a probabilistic model that generates such samples for molecules from their graph representations. Our model learns a low-dimensional manifold that preserves the geometry of local atomic neighborhoods through a principled learning representation that is based on Euclidean distance geometry. In a new benchmark for molecular conformation generation, we show experimentally that our generative model achieves state-ofthe-art accuracy. Finally, we show how to use our model as a proposal distribution in an importance sampling scheme to compute molecular properties. ",
40
+ "bbox": [
41
+ 233,
42
+ 267,
43
+ 764,
44
+ 420
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 446,
55
+ 336,
56
+ 463
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Over the last few years, many highly-effective deep learning methods generating small molecules with desired properties (e.g., novel drugs) have emerged (Gomez-Bombarelli et al., 2018; Segler ´ et al., 2018; Dai et al., 2018; Jin et al., 2018; Bradshaw et al., 2019a; Liu et al., 2018; You et al., 2018; Bradshaw et al., 2019b). These methods operate using graph representations of molecules in which nodes and edges represent atoms and bonds, respectively. A representation that is closer to the physical system is one in which a molecule is described by its geometry or conformation. A conformation $\\mathbf { x }$ of a molecule is defined by a set of atoms $\\{ ( \\boldsymbol { \\epsilon } _ { i } , \\mathbf { r } _ { i } ) \\bar \\} _ { i = 1 } ^ { N _ { v } }$ , where $N _ { v }$ is the number of atoms in the molecule, $\\epsilon _ { i } \\in \\{ \\mathrm { H } , \\mathrm { C } , \\mathrm { O } , \\dots \\}$ is the chemical element of the atom $i$ , and $\\mathbf { r } _ { i } \\in \\mathbb { R } ^ { 3 }$ is its position in Cartesian coordinates. Importantly, the relative positions of the atoms are restricted by the bonds in the molecule and the angles between them. Due to thermal fluctuations resulting in stretching of and rotations around bonds, there exist infinitely many conformations of a molecule. A molecule’s graph representation and a set of its conformations are shown in Fig. 1. Under a wide range of conditions, the probability $p ( \\mathbf { x } )$ of a conformation $\\mathbf { x }$ , is governed by the Boltzmann distribution and is proportional to $\\exp \\{ - E ( \\mathbf { x } ) / k _ { B } T \\}$ , where $E ( \\mathbf { x } ) \\in \\mathbb { R }$ is the conformation’s energy, $k _ { B }$ is the Boltzmann constant, and $T$ is the temperature. ",
63
+ "bbox": [
64
+ 173,
65
+ 479,
66
+ 825,
67
+ 688
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "To compute a molecular property for a molecule, one must sample from $p ( \\mathbf { x } )$ . The main approach is to start with one conformation and make small changes to it over time, e.g., by using Markov chain Monte Carlo (MCMC) or molecular dynamics (MD). These methods can be used to accurately sample equilibrium states of molecules, but they become computationally expensive for larger ones (Shim & MacKerell, 2011; Ballard et al., 2015; De Vivo et al., 2016). Other heuristic approaches exist in which distances between atoms are set to fixed idealized values (Havel, 2002; Blaney & Dixon, 2007). Several methods based on statistical learning have also recently been developed to tackle the issue of conformation generation. However, they are mainly geared towards studying proteins and their folding dynamics (AlQuraishi, 2019). Some of these models are not targeting a distribution over conformations but the most stable folded configuration (Evans et al., 2018; Ingraham et al., 2019), while others are not transferable between different molecules (Lemke & Peter, 2019; Noe´ et al., 2019). ",
74
+ "bbox": [
75
+ 174,
76
+ 695,
77
+ 825,
78
+ 862
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "This work includes the following key contributions: ",
85
+ "bbox": [
86
+ 176,
87
+ 869,
88
+ 513,
89
+ 883
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "• We introduce a novel probabilistic model for learning conformational distributions of molecules with graph neural networks. ",
96
+ "bbox": [
97
+ 215,
98
+ 895,
99
+ 823,
100
+ 924
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/434d845d7c8ccab7aba98bd6f5f40a3ddc2c0a355bf36f4ceacd18ef6cbb7a0b.jpg",
107
+ "image_caption": [
108
+ "Figure 1: Standard graph representation of a molecule (left) with a set of possible conformations $\\{ { \\bf { x } } _ { i } \\}$ (right). Hydrogen (H), carbon (C), and oxygen (O) atoms are colored white, gray, and red, respectively. Conformations feature the same atom types and bonds but the atoms are arranged differently in space. These differences arise from rotations around and stretching of bonds in the molecule. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 173,
113
+ 99,
114
+ 813,
115
+ 198
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "• We create a new, challenging benchmark for conformation generation, which is made publicly available. To the best of our knowledge, this is the first benchmark of this kind. \n• By combining a conditional variational autoencoder (CVAE) with an Euclidean distance geometry (EDG) algorithm we present a state-of-the-art approach for generating one-shot samples of molecular conformations for unseen molecules that is independent of their size and shape. \n• We develop a rigorous experimental approach for evaluating and comparing the accuracy of conformation generation methods based on the mean maximum deviation distance metric. \n• We show how this generative model can be used as a proposal distribution in an importance sampling (IS) scheme to estimate molecular properties. ",
122
+ "bbox": [
123
+ 214,
124
+ 308,
125
+ 825,
126
+ 462
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "2 METHOD ",
133
+ "text_level": 1,
134
+ "bbox": [
135
+ 174,
136
+ 487,
137
+ 282,
138
+ 503
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "Our goal is to build a statistical model that generates molecular conformations in a one-shot fashion from a molecule’s graph representation. First, we describe how a molecule’s conformation can be represented by a set of pairwise distances between atoms and why this presentation is advantageous over one in Cartesian coordinates (Section 2.1). Second, we present a generative model in Section 2.2 that will generate sets of atomic distances for a given molecular graph. Third, we explain in Section 2.3 how a set of predicted distances can be transformed into a molecular conformation and why this transformation is necessary. Finally, we detail in Section 2.4 how our generative model can be used as a proposal distribution in an IS scheme to estimate molecular properties. ",
145
+ "bbox": [
146
+ 173,
147
+ 518,
148
+ 825,
149
+ 631
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "2.1 EXTENDED MOLECULAR GRAPHS AND DISTANCE GEOMETRY ",
156
+ "text_level": 1,
157
+ "bbox": [
158
+ 174,
159
+ 647,
160
+ 645,
161
+ 662
162
+ ],
163
+ "page_idx": 1
164
+ },
165
+ {
166
+ "type": "text",
167
+ "text": "In this study, a molecule is represented by an undirected graph which is defined as a tuple $\\mathcal { G } =$ $( V , E )$ . $V \\stackrel { \\cdot } { = } \\{ v _ { i } \\} _ { i = 1 } ^ { N _ { v } }$ is the set of nodes representing atoms, where each $v _ { i } \\in \\mathbb { R } ^ { F _ { v } }$ holds atomic attributes (e.g., the element type $\\epsilon _ { i }$ ). $E = \\{ ( e _ { k } , r _ { k } , s _ { k } ) \\} _ { k = 1 } ^ { N _ { e } }$ is the set of edges, where each $e _ { k } \\in \\mathbb { R } ^ { F _ { e } }$ holds an edge’s attributes (e.g., the bond type), and $r _ { k }$ and $s _ { k }$ are the nodes an edge is connecting. Here, $E$ represents the molecular bonds (and the auxiliary edges which are explained below) in the molecule. ",
168
+ "bbox": [
169
+ 174,
170
+ 674,
171
+ 825,
172
+ 762
173
+ ],
174
+ "page_idx": 1
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "We assume that, givof atomic distances r graph , where $\\mathcal { G }$ ent one of its conformations is the Euclidean distance b $\\mathbf { x }$ by a setween the $\\mathbf { d } = \\{ d _ { k } \\} _ { k = 1 } ^ { N _ { e } }$ $d _ { k } = | \\mathbf { r } _ { r _ { k } } - \\mathbf { r } _ { s _ { k } } |$ \n$r _ { k }$ $s _ { k }$ \n$( E _ { \\mathrm { b o n d } } )$ alone would not suffice to describe a conformation, we expand the traditional graph representation of a molecule by adding auxiliary edges. Auxiliary edges between atoms that are second neighbors in the original graph fix angles between atoms, and those between third neighbors fix dihedral angles (denoted $E _ { \\mathrm { a n g l e } }$ and $E _ { \\mathrm { d i h e d r a l } }$ , respectively). In this work, $E _ { \\mathrm { a n g l e } }$ consists of edges between all second neighbors in the original graph. Edges between third neighbors are added according to a heuristic (see Appendix A.1). From now on we are always referring to this extended molecular graph when talking about molecular graphs. In Fig. 2, the process of extending the molecular graph and the extraction of $\\mathbf { d }$ from $\\mathbf { x }$ and $\\mathcal { G }$ are illustrated. ",
179
+ "bbox": [
180
+ 173,
181
+ 768,
182
+ 825,
183
+ 924
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "image",
189
+ "img_path": "images/08c1b3e3b35a33713718a18e75ad2f38d7311ffb7d495eaa5cf2fd437d3fe2a8.jpg",
190
+ "image_caption": [
191
+ "Figure 2: A) The structural formula of a molecule is converted to an extended molecular graph $\\mathcal { G }$ consisting of nodes representing atoms (circles, e.g., $v _ { 1 }$ ) and edges representing molecular bonds (solid lines, e.g., $e _ { 1 } \\in E _ { \\mathrm { b o n d } } )$ ) and auxiliary edges (dotted lines, e.g., $e _ { 2 } \\in E _ { \\mathrm { a n g l e } }$ and $e _ { 3 } \\in E _ { \\mathrm { d i h e d r a l } } )$ . B) The distances $\\mathbf { d }$ are extracted from a conformation $\\mathbf { x }$ based on the edges $E$ . C) Graphical model of the variational autoencoder: generative model $p _ { \\theta } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } ) p _ { \\theta } ( \\mathbf { z } | \\mathcal { G } )$ (solid lines) and variational approximation $q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } )$ (dashed lines). "
192
+ ],
193
+ "image_footnote": [],
194
+ "bbox": [
195
+ 173,
196
+ 97,
197
+ 821,
198
+ 228
199
+ ],
200
+ "page_idx": 2
201
+ },
202
+ {
203
+ "type": "text",
204
+ "text": "A key advantage of a representation in terms of distances is its invariance to rotation and translation; by contrast, Cartesian coordinates depend on the (arbitrary) choice of origin, for example. In addition, it reflects pair-wise physical interactions and their generally local nature. Auxiliary edges can be placed between higher-order neighbors depending on how far the physical interactions dominating the potential energy of the system reach. ",
205
+ "bbox": [
206
+ 174,
207
+ 353,
208
+ 825,
209
+ 424
210
+ ],
211
+ "page_idx": 2
212
+ },
213
+ {
214
+ "type": "text",
215
+ "text": "samples We have a set of $\\{ \\mathbf { x } _ { l , j } \\} _ { j = 1 } ^ { S _ { l } }$ $N _ { \\mathcal { G } }$ l=1from the ground-truth distribution resulting in molecular graphs $\\{ \\mathcal { G } _ { l } \\} _ { l = 1 } ^ { N _ { g } }$ . Further, for each $S _ { l }$ $\\mathcal { G } _ { l }$ , we have sets of distances $S _ { l }$ conformational $\\{ \\mathbf { d } _ { l , j } \\} _ { j = 1 } ^ { S _ { l } }$ With this data, we will train a generative model which we detail in the following section. ",
216
+ "bbox": [
217
+ 176,
218
+ 429,
219
+ 823,
220
+ 477
221
+ ],
222
+ "page_idx": 2
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "2.2 GENERATIVE MODEL ",
227
+ "text_level": 1,
228
+ "bbox": [
229
+ 176,
230
+ 497,
231
+ 362,
232
+ 512
233
+ ],
234
+ "page_idx": 2
235
+ },
236
+ {
237
+ "type": "text",
238
+ "text": "We employ a CVAE (Kingma & Welling, 2014; Pagnoni et al., 2018) to model the distribution over distances d given a molecular graph $\\mathcal { G }$ . A CVAE first encodes $\\mathcal { G }$ together with d into a latent space $\\mathbf { z } ~ \\in ~ \\mathbb { R } ^ { k N _ { v } }$ , where $k \\in \\mathbb { N } ^ { + }$ , with an encoder $q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } )$ . Subsequently, the decoder $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } )$ decodes $\\mathbf { z }$ back into a set of distances. A graphical model is shown in Fig. 2 C). ",
239
+ "bbox": [
240
+ 174,
241
+ 525,
242
+ 825,
243
+ 580
244
+ ],
245
+ "page_idx": 2
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "A conformation has, in general, $3 N _ { v } - 6$ spatial degrees of freedom (dofs): one dof per spacial dimension per atom minus three translational and three rotational dofs. Therefore, the latent space should be proportional to the number of atoms in the molecule. In addition, the latent space should be smaller than $3 N _ { v }$ as it is the role of the encoder to project the conformation into a lower-dimensional space. As a result, we set $k = 1$ to avoid overfitting. ",
250
+ "bbox": [
251
+ 174,
252
+ 587,
253
+ 825,
254
+ 657
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "Here, $q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } )$ and $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } )$ are Gaussian distributions, the mean and variance of which are modeled by two artificial neural networks. At the center of this model are message-passing neural networks (MPNNs) (Gilmer et al., 2017) with multi-head attention (Velickovi ˇ c et al., 2018). In short, ´ an MPNN is a convolutional neural network that allows end-to-end learning of prediction pipelines whose inputs are graphs of arbitrary size and shape. In a convolution, neighboring nodes exchange so-called messages between neighbors to update their attributes. Edges update their attributes with the features of the nodes they are connecting. The MPNN is a well-studied technique that achieves state-of-the-art performance in representation learning for molecules (Kipf & Welling, 2017; Duvenaud et al., 2015; Kearnes et al., 2016; Schutt et al., 2017b; Gilmer et al., 2017; Kusner et al., 2017; ¨ Bradshaw et al., 2019a). ",
261
+ "bbox": [
262
+ 173,
263
+ 664,
264
+ 825,
265
+ 804
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "In the following, we describe the details of the model.2 In Fig. 3, an illustration of the model is shown. In the encoder $q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } )$ , each $d _ { k }$ is concatenated with the respective edge feature $e _ { k }$ to give $e _ { k } ^ { \\prime } \\in \\mathbb { R } ^ { F _ { e } + 1 }$ . Then, each $v _ { i }$ and each $\\boldsymbol { e } _ { k } ^ { \\prime }$ are passed to $F _ { \\mathrm { e n c , } v }$ and $F _ { \\mathrm { e n c } , e }$ (two multilayer perceptrons, ",
272
+ "bbox": [
273
+ 174,
274
+ 810,
275
+ 825,
276
+ 854
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "image",
282
+ "img_path": "images/5f0738038473b071de697991b53166ab0b2ba48a790fd8a700a36244723f5ab6.jpg",
283
+ "image_caption": [
284
+ "Figure 3: The molecular graph $\\mathcal { G }$ together with the distances $\\mathbf { d }$ are passed through the model consisting of an encoder $q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } )$ and a decoder $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } )$ . See the main text for details. "
285
+ ],
286
+ "image_footnote": [],
287
+ "bbox": [
288
+ 196,
289
+ 99,
290
+ 825,
291
+ 327
292
+ ],
293
+ "page_idx": 3
294
+ },
295
+ {
296
+ "type": "text",
297
+ "text": "MLPs), respectively, to give $\\mathcal { G } _ { \\mathrm { e n c } } ^ { ( 0 ) }$ , where $\\mathcal { G } _ { \\mathrm { e n c } } ^ { ( t ) } = ( \\{ v _ { i , \\mathrm { e n c } } ^ { ( t ) } \\} _ { i = 1 } ^ { N _ { v } } , \\{ ( e _ { k , \\mathrm { e n c } } ^ { ( t ) } , r _ { k } , s _ { k } ) \\} _ { k = 1 } ^ { N _ { e } } ) , v _ { i } ^ { ( }$ $v _ { i , \\mathrm { e n c } } ^ { ( t ) } \\in \\mathbb { R } ^ { L _ { v } }$ and $e _ { k , \\mathrm { e n c } } ^ { ( t ) } \\in \\mathbb { R } ^ { L _ { \\mathrm { c } } }$ . Then, $T$ MPNNs of depth 1, $\\{ \\mathbf { M P } _ { \\mathrm { e n c } } ^ { ( t ) } \\} _ { t = 1 } ^ { T }$ , are consecutively applied to obtain $\\mathcal { G } _ { \\mathrm { e n c } } ^ { ( T ) }$ . Finally, the read-out function $R _ { \\mathrm { e n c } }$ (an MLP) takes each $v _ { \\mathrm { i , e n c } } ^ { ( T ) }$ to predict the mean $\\mu _ { z _ { i } } \\in \\mathbb { R }$ and the variance $\\sigma _ { z _ { i } } ^ { 2 } \\in \\mathbb { R }$ of the Gaussian distribution for $z _ { i }$ . The so-called reparametrization trick is employed to draw a sample for $z _ { i }$ . In summary, ",
298
+ "bbox": [
299
+ 173,
300
+ 396,
301
+ 825,
302
+ 487
303
+ ],
304
+ "page_idx": 3
305
+ },
306
+ {
307
+ "type": "equation",
308
+ "img_path": "images/ea2e8d68fcb9089882d112d8b9533da68ffa6c1a89f445f3334ff8e10ef1b1cd.jpg",
309
+ "text": "$$\n\\begin{array} { r l } { v _ { i , \\mathrm { e n c } } ^ { ( 0 ) } = F _ { \\mathrm { e n c } , v } ( v _ { i } ) , } & { e _ { k , \\mathrm { e n c } } ^ { ( 0 ) } = F _ { \\mathrm { e n c } , e } ( e _ { i } ^ { \\prime } ) , } \\\\ { \\mathcal { G } _ { \\mathrm { e n c } } ^ { ( 1 ) } = \\mathsf { M P } _ { \\mathrm { e n c } } ^ { ( 0 ) } ( \\mathcal { G } _ { \\mathrm { e n c } } ^ { ( 0 ) } ) , } & { \\mathcal { G } _ { \\mathrm { e n c } } ^ { ( t + 1 ) } = \\mathsf { M P } _ { \\mathrm { e n c } } ^ { ( t ) } ( \\mathcal { G } _ { \\mathrm { e n c } } ^ { ( t ) } ) , \\quad \\mathcal { G } _ { \\mathrm { e n c } } ^ { ( T ) } = \\mathsf { M P } _ { \\mathrm { e n c } } ^ { ( T - 1 ) } ( \\mathcal { G } _ { \\mathrm { e n c } } ^ { ( T - 1 ) } ) , } \\\\ { \\mu _ { z _ { i } } , \\sigma _ { z _ { i } } ^ { 2 } = R _ { \\mathrm { e n c } } ( v _ { i , \\mathrm { e n c } } ^ { ( T ) } ) . } \\end{array}\n$$",
310
+ "text_format": "latex",
311
+ "bbox": [
312
+ 245,
313
+ 497,
314
+ 751,
315
+ 568
316
+ ],
317
+ "page_idx": 3
318
+ },
319
+ {
320
+ "type": "text",
321
+ "text": "decode. Each $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } )$ ach are $z _ { i }$ is concassed to d wand respective node feature (two MLPs), respective $v _ { i }$ to give to give $v _ { i } ^ { \\prime } \\in$ \nwhere $\\mathbb { R } ^ { F _ { v } + 1 }$ $\\mathcal { G } _ { \\mathrm { d e c } } ^ { ( t ) } = ( \\{ v _ { i , \\mathrm { d e c } } ^ { ( t ) } \\} _ { i = 1 } ^ { N _ { v } } , \\{ ( e _ { k , \\mathrm { d e c } } ^ { ( t ) } , r _ { k } , s _ { k } ) \\} _ { k = 1 } ^ { N _ { e } } )$ $\\boldsymbol { v } _ { i } ^ { \\prime }$ $e _ { k }$ $F _ { \\mathrm { d e c } , v }$ , $v _ { i , \\mathrm { d e c } } ^ { ( t ) } \\in \\mathbb { R } ^ { L _ { v } }$ $F _ { \\mathrm { d e c } , e }$ , and $e _ { k , \\mathrm { d e c } } ^ { ( t ) } \\in \\mathbb { R } ^ { L _ { \\mathrm { e } } }$ . Then, dec MPNNs \nof depth 1, {MP(t)dec}Tt= , are consecutively applied to obtain $\\mathcal { G } _ { \\mathrm { d e c } } ^ { ( T ) }$ . Finally, the read-out function \n(an MLP) takes ch $e _ { \\mathbf { k } , \\mathrm { d e c } } ^ { ( T ) }$ to predict the mean $\\mu _ { d _ { k } } \\in \\mathbb { R }$ dec and the variance $\\sigma _ { d _ { k } } ^ { 2 } \\in \\mathbb { R }$ decof the Gaussian $d _ { k }$ . In summary, ",
322
+ "bbox": [
323
+ 171,
324
+ 578,
325
+ 826,
326
+ 683
327
+ ],
328
+ "page_idx": 3
329
+ },
330
+ {
331
+ "type": "equation",
332
+ "img_path": "images/e7ec360161c0d1f4679e4d5d60fd4312149118e0ca7b0c158ca322b33120af1f.jpg",
333
+ "text": "$$\n\\begin{array} { r l } & { v _ { i , \\mathrm { d e c } } ^ { ( 0 ) } = F _ { \\mathrm { d e c } , v } ( v _ { i } ^ { \\prime } ) , \\quad e _ { k , \\mathrm { d e c } } ^ { ( 0 ) } = F _ { \\mathrm { d e c } , e } ( e _ { i } ) , } \\\\ & { \\mathcal { G } _ { \\mathrm { d e c } } ^ { ( 1 ) } = \\mathbf { M } \\mathbf { P } _ { \\mathrm { d e c } } ^ { ( 0 ) } ( \\mathcal { G } _ { \\mathrm { d e c } } ^ { ( 0 ) } ) , \\quad \\mathcal { G } _ { \\mathrm { d e c } } ^ { ( t + 1 ) } = \\mathbf { M } \\mathbf { P } _ { \\mathrm { d e c } } ^ { ( t ) } ( \\mathcal { G } _ { \\mathrm { d e c } } ^ { ( t ) } ) , \\quad \\mathcal { G } _ { \\mathrm { d e c } } ^ { ( T ) } = \\mathbf { M } \\mathbf { P } _ { \\mathrm { d e c } } ^ { ( T - 1 ) } ( \\mathcal { G } _ { \\mathrm { d e c } } ^ { ( T - 1 ) } ) , } \\\\ & { \\qquad \\mu _ { d _ { k } } , \\sigma _ { d _ { k } } ^ { 2 } = R _ { \\mathrm { d e c } } ( e _ { k , \\mathrm { d e c } } ^ { ( T ) } ) . } \\end{array}\n$$",
334
+ "text_format": "latex",
335
+ "bbox": [
336
+ 245,
337
+ 694,
338
+ 751,
339
+ 765
340
+ ],
341
+ "page_idx": 3
342
+ },
343
+ {
344
+ "type": "text",
345
+ "text": "The sets of parameters in the encoder and decoder, $\\phi$ and $\\theta$ (i.e., parameters in $F _ { \\mathrm { e n c } , v } , \\ F _ { \\mathrm { e n c } , e }$ , $\\{ \\mathbf { M P } _ { \\mathrm { e n c } } ^ { ( t ) } \\} _ { t = 1 } ^ { T }$ , $R _ { \\mathrm { e n c } }$ , $F _ { \\mathrm { d e c } , v }$ , $F _ { \\mathrm { d e c } , e }$ , $\\{ \\mathbf { M P } _ { \\mathrm { d e c } } ^ { ( t ) } \\} _ { t = 1 } ^ { T } , R _ { \\mathrm { d e c } } )$ , respectively, are optimized by maximizing the evidence lower bound (ELBO): ",
346
+ "bbox": [
347
+ 173,
348
+ 775,
349
+ 826,
350
+ 823
351
+ ],
352
+ "page_idx": 3
353
+ },
354
+ {
355
+ "type": "equation",
356
+ "img_path": "images/bb3995a22c9be21758e58b6bc58241eb8f72ff8949d461d17b313ade99a43b37.jpg",
357
+ "text": "$$\nL = \\mathbb { E } _ { \\mathbf { z } \\sim q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } ) } [ \\log p _ { \\theta } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } ) ] - D _ { \\mathrm { K L } } [ q _ { \\phi } ( \\mathbf { z } | \\mathbf { d } , \\mathcal { G } ) | | p _ { \\theta } ( \\mathbf { z } | \\mathcal { G } ) ] ,\n$$",
358
+ "text_format": "latex",
359
+ "bbox": [
360
+ 290,
361
+ 835,
362
+ 705,
363
+ 854
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "where the prior $p _ { \\boldsymbol { \\theta } } ( \\mathbf { z } | \\mathcal { G } )$ consists of factorized Gaussians. The optimal values for the hyperparameters for the network dimensions, number of message passes, batch size, and learning rate of the Adam optimizer (Kingma & Ba, 2014) were tuned by maximizing the validation performance (ELBO) with a Bayesian optimizer and are reported in Appendix A.1.3. ",
370
+ "bbox": [
371
+ 174,
372
+ 867,
373
+ 825,
374
+ 924
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "2.3 CONFORMATION GENERATION THROUGH EUCLIDEAN DISTANCE GEOMETRY",
381
+ "text_level": 1,
382
+ "bbox": [
383
+ 174,
384
+ 103,
385
+ 746,
386
+ 118
387
+ ],
388
+ "page_idx": 4
389
+ },
390
+ {
391
+ "type": "text",
392
+ "text": "To compute molecular properties, quantum-chemical methods need to be employed which require the input, i.e., the molecule, to be in Cartesian coordinates.3 Therefore, we use an EDG algorithm to translate the set of distances $\\{ d _ { k } \\} _ { k = 1 } ^ { N _ { e } }$ to a set of atomic coordinates $\\{ \\mathbf { r } _ { i } \\} _ { i = 1 } ^ { N _ { v } }$ . 4 ",
393
+ "bbox": [
394
+ 174,
395
+ 128,
396
+ 823,
397
+ 174
398
+ ],
399
+ "page_idx": 4
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "EDG is the mathematical basis for a geometric theory of molecular conformation. In the field of machine learning, Weinberger & Saul (2006) used it for learning image manifolds, Tenenbaum et al. (2000) for image understanding and handwriting recognition, Jain & Saul (2004) for speech and music, and Demaine et al. (2009) for music and musical rhythms. An EDG description of a molecular system consists of a list of lower and upper bounds on the distances between pairs of atoms $\\{ ( d _ { k , \\operatorname* { m i n } } , d _ { k , \\operatorname* { m a x } } ) \\} _ { k = 1 } ^ { N _ { e } }$ . Here, $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } )$ is used to model these bounds, namely, we set the bounds to $\\{ ( \\mu _ { d _ { k } } - \\sigma _ { d _ { k } } , \\mu _ { d _ { k } } + \\sigma _ { d _ { k } } ) \\}$ , where $\\mu _ { d _ { k } }$ and $\\sigma _ { d _ { k } }$ are the mean and standard deviation for each distance $d _ { k }$ given by the CVAE. Then, an EDG algorithm determines a set of Cartesian coordinates $\\{ \\mathbf { r } _ { i } \\} _ { i = 1 } ^ { N _ { v } }$ so that these bounds are fulfilled (see Appendix A.2 for details).5 Together with the corresponding chemical elements $\\{ \\epsilon _ { i } \\} _ { i = 1 } ^ { N _ { v } }$ , we obtain a conformation $\\mathbf { x }$ . ",
404
+ "bbox": [
405
+ 173,
406
+ 180,
407
+ 825,
408
+ 327
409
+ ],
410
+ "page_idx": 4
411
+ },
412
+ {
413
+ "type": "text",
414
+ "text": "2.4 CALCULATION OF MOLECULAR PROPERTIES",
415
+ "text_level": 1,
416
+ "bbox": [
417
+ 178,
418
+ 342,
419
+ 524,
420
+ 356
421
+ ],
422
+ "page_idx": 4
423
+ },
424
+ {
425
+ "type": "text",
426
+ "text": "We can get an MC estimate of the expectation $\\mathbb { E } _ { \\mathcal { G } } [ \\mathcal { O } ]$ of a property $\\mathcal { O }$ (e.g., the dipole moment) for a molecule represented by $\\mathcal { G }$ by drawing conformational samples $\\mathbf { x } _ { i } \\sim p ( \\mathbf { x } | \\mathcal { G } )$ and computing $\\mathcal { O } ( \\mathbf { x } _ { i } ) \\in \\mathbb { R }$ with a quantum-chemical method (e.g., density functional theory). Since we cannot draw samples from $p ( \\mathbf { x } | \\mathcal { G } )$ directly, we employ an IS integration scheme (Bishop, 2009) with our CVAE as the proposal distribution. We assume that we can readily evaluate the unnormalized probability of a conformation $\\tilde { p } ( \\mathbf { x } | \\mathcal { G } ) = \\exp \\{ - E ( \\mathbf { x } ) / k _ { B } T \\}$ , where $\\mathbf { x }$ must be a conformation of the molecule and the energy $E ( \\mathbf { x } )$ is determined with a quantum-chemical method. Since the EDG algorithm is mapping the distribution $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } , \\mathcal { G } )$ to a point mass in $ { \\mathbb { R } } ^ { 3 N _ { v } }$ , the MC estimate for the resulting distribution $p _ { \\mathrm { p r o p } } ( \\mathbf { x } | \\mathcal { G } )$ is given by a mixture of delta functions, each of which is centered at the $\\mathbf { x } _ { i }$ resulting from mapping $p _ { \\boldsymbol { \\theta } } ( \\mathbf { d } | \\mathbf { z } _ { i } , \\mathcal { G } )$ to $\\mathbb { R } ^ { 3 N _ { v } }$ , where $\\mathbf { z } _ { i } \\sim p _ { \\theta } ( \\mathbf { z } | \\mathcal { G } )$ , that is, $\\begin{array} { r } { p _ { \\mathrm { p r o p } } ( \\mathbf { x } | \\mathcal { G } ) \\approx \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\delta ( \\mathbf { x } - \\mathbf { x } _ { i } ) } \\end{array}$ . The IS estimator for the expectation of $\\mathcal { O }$ w. r. t. $\\tilde { p } ( \\mathbf { x } | \\mathcal { G } )$ then reads ",
427
+ "bbox": [
428
+ 173,
429
+ 367,
430
+ 825,
431
+ 525
432
+ ],
433
+ "page_idx": 4
434
+ },
435
+ {
436
+ "type": "equation",
437
+ "img_path": "images/fafd8c965057b48a86acdf60b98e8b8b8279987871ddc24d58456b76197d09cb.jpg",
438
+ "text": "$$\n\\hat { \\mathbb { E } } _ { \\mathcal { G } } [ \\mathcal { O } ] \\overset { \\mathrm { M C } } { \\approx } \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathcal { O } ( \\mathbf { x } _ { i } ) \\overset { \\mathrm { I S } } { = } \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathcal { O } ( \\mathbf { x } _ { i } ^ { \\prime } ) \\frac { \\tilde { p } ( \\mathbf { x } _ { i } ^ { \\prime } | \\mathcal { G } ) } { p _ { \\mathrm { p r o p } } ( \\mathbf { x } _ { i } ^ { \\prime } | \\mathcal { G } ) } ,\n$$",
439
+ "text_format": "latex",
440
+ "bbox": [
441
+ 320,
442
+ 529,
443
+ 676,
444
+ 573
445
+ ],
446
+ "page_idx": 4
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "where $\\mathbf { x } _ { i } \\sim \\tilde { p } ( \\mathbf { x } _ { i } | \\mathcal { G } )$ and $\\mathbf { x } _ { i } ^ { \\prime } \\sim p _ { \\mathrm { p r o p } } ( \\mathbf { x } _ { i } ^ { \\prime } | \\mathcal { G } )$ , so that the expectation of $\\mathcal { O }$ w. r. t. the normalized version of $\\tilde { p } ( { \\bf x } )$ is then ",
451
+ "bbox": [
452
+ 174,
453
+ 577,
454
+ 823,
455
+ 604
456
+ ],
457
+ "page_idx": 4
458
+ },
459
+ {
460
+ "type": "equation",
461
+ "img_path": "images/d1bfdb172990ccca20a4060ab8f7b2c464e206d95b17e86baa539c360b4a59c1.jpg",
462
+ "text": "$$\n\\mathbb { E } _ { \\mathcal { G } } [ \\mathcal { O } ] = \\frac { \\hat { \\mathbb { E } } _ { \\mathcal { G } } [ \\mathcal { O } ] } { \\hat { \\mathbb { E } } _ { \\mathcal { G } } [ 1 ] } \\approx \\frac { 1 } { Z } \\sum _ { i = 1 } ^ { N } \\mathcal { O } ( \\mathbf { x } _ { i } ) \\tilde { p } ( \\mathbf { x } _ { i } ^ { \\prime } | \\mathcal { G } ) ,\n$$",
463
+ "text_format": "latex",
464
+ "bbox": [
465
+ 357,
466
+ 603,
467
+ 637,
468
+ 647
469
+ ],
470
+ "page_idx": 4
471
+ },
472
+ {
473
+ "type": "text",
474
+ "text": "where have a $\\begin{array} { r } { Z \\approx \\sum _ { i = 1 } ^ { N } \\tilde { p } ( \\mathbf { x } _ { i } ^ { \\prime } ) } \\end{array}$ and ake s $N$ is the number of samples. When dividing two delta functions wee arbitrarily large finite value. ",
475
+ "bbox": [
476
+ 174,
477
+ 648,
478
+ 825,
479
+ 680
480
+ ],
481
+ "page_idx": 4
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "3 RELATED WORKS ",
486
+ "text_level": 1,
487
+ "bbox": [
488
+ 176,
489
+ 699,
490
+ 354,
491
+ 715
492
+ ],
493
+ "page_idx": 4
494
+ },
495
+ {
496
+ "type": "text",
497
+ "text": "The standard approach for generating molecular conformations is to start with one, and make small changes to it over time, e.g., by using MCMC or MD. These methods are considered the gold standard for sampling equilibrium states, but they are computationally expensive, especially if the molecule is large and the Hamiltonian is based on quantum-mechanical principles (Shim & MacKerell, 2011; Ballard et al., 2015; De Vivo et al., 2016). ",
498
+ "bbox": [
499
+ 173,
500
+ 729,
501
+ 825,
502
+ 800
503
+ ],
504
+ "page_idx": 4
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "A much faster but more approximate approach for conformation generation is EDG (Havel, 2002; Blaney & Dixon, 2007; Lagorce et al., 2009; Riniker & Landrum, 2015). Lower and upper distance bounds for pairs of atoms in a molecule are fixed values based on ideal bond lengths, bond angles, and torsional angles. These values are often extracted from crystal structure databases (Allen, 2002). These methods aim to generate a low-energy conformation, not to generate unbiased samples from the underlying distribution at a certain temperature. ",
509
+ "bbox": [
510
+ 173,
511
+ 808,
512
+ 821,
513
+ 835
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "",
520
+ "bbox": [
521
+ 174,
522
+ 103,
523
+ 823,
524
+ 159
525
+ ],
526
+ "page_idx": 5
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "There exist several machine learning approaches as well, however, they are mostly tailored towards studying protein dynamics. For example, Noe et al. (2019) trained Boltzmann generators on the ´ energy function of proteins to provide unbiased, one-shot samples from their equilibrium states. This is achieved by training an invertible neural network to learn a coordinate transformation from a system’s configurations to a latent space representation. Further, Lemke & Peter (2019) proposed a dimensionality reduction algorithm that is based on a neural network autoencoder in combination with a nonlinear distance metric to generate samples for protein structures. Both models learn protein-specific coordinate transformations that cannot be transferred to other molecules. ",
531
+ "bbox": [
532
+ 174,
533
+ 166,
534
+ 825,
535
+ 277
536
+ ],
537
+ "page_idx": 5
538
+ },
539
+ {
540
+ "type": "text",
541
+ "text": "AlQuraishi (2019) introduced an end-to-end differentiable recurrent geometric network for protein structure learning based on amino acid sequences. Also, Ingraham et al. (2019) proposed a neural energy simulator model for protein structure that makes use of protein sequence information. In contrast to amino acid sequences, molecular graphs are, in general, not linear but highly branched and often contain cycles. This makes them unsuitable for recurrent networks. ",
542
+ "bbox": [
543
+ 174,
544
+ 285,
545
+ 825,
546
+ 354
547
+ ],
548
+ "page_idx": 5
549
+ },
550
+ {
551
+ "type": "text",
552
+ "text": "Finally, Mansimov et al. (2019) presented a conditional deep generative graph neural network to generate molecular conformations given a molecular graph. Their goal is to predict the most likely conformation and not a distribution over conformations. Instead of encoding molecular environments in atomic distances, they work directly in Cartesian coordinates. As a result, the generated conformations showed significant structural differences compared to the ground-truth and required refinement through a force field, which is often employed in MD simulations. ",
553
+ "bbox": [
554
+ 174,
555
+ 361,
556
+ 825,
557
+ 445
558
+ ],
559
+ "page_idx": 5
560
+ },
561
+ {
562
+ "type": "text",
563
+ "text": "We argue that our model has several advantages over the approaches reviewed above: ",
564
+ "bbox": [
565
+ 174,
566
+ 452,
567
+ 730,
568
+ 467
569
+ ],
570
+ "page_idx": 5
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "• It is a fast alternative to resource-intensive approaches based on MCMC or MD. \n• Our principled representation based on pair-wise distances does not restrict our approach to any particular molecular structure. \n• Since our model employs message-passing neural networks, it is transferable – it can extrapolate from only a few graphs to unseen ones. ",
575
+ "bbox": [
576
+ 214,
577
+ 482,
578
+ 825,
579
+ 578
580
+ ],
581
+ "page_idx": 5
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "4 THE CONF17 BENCHMARK ",
586
+ "text_level": 1,
587
+ "bbox": [
588
+ 176,
589
+ 607,
590
+ 431,
591
+ 623
592
+ ],
593
+ "page_idx": 5
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "The CONF17 benchmark is the first benchmark for molecular conformation sampling.6 It is based on the ISO17 dataset (Schutt et al., 2017a) which consists of conformations of various molecules ¨ with the atomic composition $\\mathrm { C _ { 7 } H _ { 1 0 } O _ { 2 } }$ drawn from the QM9 dataset (Ramakrishnan et al., 2014). These conformations were generated by ab initio molecular dynamics simulations at 500 Kelvin which generates trajectories of a single molecule covering a large variety of conformations. The CONF17 benchmark consists of 127 distinct molecular graphs each with 3380 conformations on average. We split this dataset into multiple training and test splits, each consisting of 107 and 20 graphs, respectively (see Appendix A.1 for more details).7 ",
598
+ "bbox": [
599
+ 174,
600
+ 643,
601
+ 825,
602
+ 755
603
+ ],
604
+ "page_idx": 5
605
+ },
606
+ {
607
+ "type": "text",
608
+ "text": "In Fig. 4, (A), the structural formulae of a random selection of molecules from this benchmark are shown. Most molecules feature highly-strained, complex 3D structures such as rings which are typical of drug-like molecules. It is thus the structural complexity of the molecules, not their number of degrees of freedom, that makes this benchmark challenging. In Fig. 4, (B), the frequency of distances (in $\\mathring \\mathrm { A }$ ) in the conformations are shown for each edge type. It can be seen that the marginal distributions of the edge distances are multimodal and highly context dependent. ",
609
+ "bbox": [
610
+ 174,
611
+ 762,
612
+ 825,
613
+ 845
614
+ ],
615
+ "page_idx": 5
616
+ },
617
+ {
618
+ "type": "image",
619
+ "img_path": "images/46a3aa64e022fdd01a26120b31e2968b1635e75bf7b4ed5e1fb0963f320d2e6f.jpg",
620
+ "image_caption": [
621
+ "Figure 4: Overview of the CONF17 benchmark. (A) Structural formulae of a random selection of molecules. (B) Distribution of distances (in $\\mathrm { \\AA }$ ) grouped by edge (from left to right: $E _ { \\mathrm { b o n d } }$ , $E _ { \\mathrm { a n g l e } }$ , and $E _ { \\mathrm { d i h e d r a l } } ,$ ) and vertex type (chemical element). "
622
+ ],
623
+ "image_footnote": [],
624
+ "bbox": [
625
+ 205,
626
+ 98,
627
+ 784,
628
+ 377
629
+ ],
630
+ "page_idx": 6
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "5 EXPERIMENTS ",
635
+ "text_level": 1,
636
+ "bbox": [
637
+ 176,
638
+ 465,
639
+ 326,
640
+ 482
641
+ ],
642
+ "page_idx": 6
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "We assess the performance of our method, named Graph Distance Geometry (GRAPHDG), by comparing it with two state-of-the-art methods for molecular conformation generation: RDKIT (Riniker & Landrum, 2015), a classical EDG approach, and DL4CHEM (Mansimov et al., 2019), a machine learning approach. We trained GRAPHDG and DL4CHEM on three different training and test splits of the CONF17 benchmark using Adam (Kingma & Ba, 2014). We generated 3000 conformations with each method for molecular graphs in a test set. ",
647
+ "bbox": [
648
+ 174,
649
+ 501,
650
+ 825,
651
+ 585
652
+ ],
653
+ "page_idx": 6
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "5.1 DISTRIBUTIONS OVER DISTANCES ",
658
+ "text_level": 1,
659
+ "bbox": [
660
+ 176,
661
+ 609,
662
+ 454,
663
+ 625
664
+ ],
665
+ "page_idx": 6
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "We assessed the accuracy of the distance distributions of RDKIT, DL4CHEM, and GRAPHDG by calculating the maximum mean discrepancy (MMD) (Gretton et al., 2012) to the ground-truth distribution. We compute the MMD using a Gaussian kernel, where we set the standard deviation to be the median distance between distances $\\mathbf { d }$ in the aggregate sample. For this, we determined the distances in the conformations from the ground-truth and those generated by RDKIT and DL4CHEM. For each train-test split and each $\\mathcal { G }$ in a test set, we compute the MMD of the joint distribution of distances between C and $\\mathrm { o }$ atoms (H atoms are usually ignored), the MMDs of pair-wise distances $p ( d _ { i } , d _ { j } | \\mathcal { G } )$ , and the MMDs between the marginals of individual distances $p ( d _ { i } | \\mathcal { G } )$ . We aggregate the results of three train-test splits, and, finally, compute the median MMDs and average rankings. The results are summarized in Table 1. It can be seen that the samples from GRAPHDG are significantly closer to the ground-truth distribution than the other methods. RDKIT is slightly worse than GRAPHDG while DL4CHEM seems to struggle with the complexity of the molecules and the small number of graphs in the training set. ",
670
+ "bbox": [
671
+ 173,
672
+ 638,
673
+ 825,
674
+ 819
675
+ ],
676
+ "page_idx": 6
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "In Fig. 5, we showcase the accuracy of our model by plotting the marginal distributions $p ( d _ { i } | \\mathcal { G } )$ for distances between C and O atoms given a molecular graph from a test set. It can be seen that RDKIT consistently underestimates the marginal variances. This is because this method aims to predict the most stable conformation, i.e., the distribution’s mode. In contrast, DL4CHEM often fails to predict the correct mean. For this molecule, GRAPHDG is the most accurate, predicting the right mean and variance in most cases. Additional figures can be found in the Appendix A.4, where we also show plots for the marginal distributions $p ( d _ { i } , d _ { j } | \\mathcal { G } )$ . ",
681
+ "bbox": [
682
+ 174,
683
+ 827,
684
+ 825,
685
+ 924
686
+ ],
687
+ "page_idx": 6
688
+ },
689
+ {
690
+ "type": "text",
691
+ "text": "Table 1: Assessment of the accuracy of the distributions over conformations generated by three models compared to the ground-truth. We compare the distributions with respect to the marginals $p ( d _ { k } | \\mathcal { G } )$ , $p ( d _ { k } , d _ { l } | \\mathcal { G } )$ , and the distribution over all edges between C and $\\mathrm { o }$ atoms $p ( \\{ d _ { k } \\} | \\mathcal { G } )$ . Two different metrics are used: median MMD between ground-truth conformations and generated ones, and mean ranking (1 to 3) based on the MMD. Reported are the results for molecular graphs in a test set from three train-test splits. Standard errors are given in brackets. ",
692
+ "bbox": [
693
+ 173,
694
+ 101,
695
+ 825,
696
+ 185
697
+ ],
698
+ "page_idx": 7
699
+ },
700
+ {
701
+ "type": "table",
702
+ "img_path": "images/e83dbdf3c3547b9f3252fec33f50c007fb77c3c8439737f6fe4f14904c384495.jpg",
703
+ "table_caption": [],
704
+ "table_footnote": [],
705
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">Median MMD</td><td colspan=\"3\">Mean Ranking</td></tr><tr><td>RDKIT</td><td>DL4CHEM</td><td>GRAPHDG</td><td>RDKIT</td><td>DL4CHEM</td><td>GRAPHDG</td></tr><tr><td>p(dk|9)</td><td>0.55 (0.01)</td><td>1.11 (0.01)</td><td>0.38 (0.02)</td><td>1.71 (0.03)</td><td>2.74 (0.02)</td><td>1.51 (0.03)</td></tr><tr><td>p(dk,di/9)</td><td>0.53 (0.01)</td><td>1.09 ( (0.01)</td><td>0.34 (0.01)</td><td>1.66 (0.02)</td><td>2.92 (0.01)</td><td>1.43 ( (0.02)</td></tr><tr><td>p({d}9)</td><td>0.60 (0.01)</td><td>1.07 (0.03)</td><td>0.44 (0.05)</td><td>1.58 (0.05)</td><td>2.90 (0.05)</td><td>1.45 (0.02)</td></tr></table>",
706
+ "bbox": [
707
+ 174,
708
+ 195,
709
+ 820,
710
+ 272
711
+ ],
712
+ "page_idx": 7
713
+ },
714
+ {
715
+ "type": "image",
716
+ "img_path": "images/73cb33f1644a53a40561269d68794ff6ada9b90a2cebb3bc0277b7aadea252d5.jpg",
717
+ "image_caption": [
718
+ "Figure 5: Marginal distributions $p ( d _ { k } | \\mathcal { G } )$ of ground-truth and predicted bond distances (in $\\textrm { \\AA }$ ) between C and O atoms given a molecular graph from the test set. The atoms connected by each edge $d _ { k }$ are indicated in each subplot $\\left( \\boldsymbol { s } _ { k } \\mathrm { - } \\boldsymbol { r } _ { k } \\right)$ . In the 3D structure of the molecule, carbon and oxygen atoms are colored gray and red, respectively. $_ \\mathrm { H }$ atoms are omitted for clarity. "
719
+ ],
720
+ "image_footnote": [],
721
+ "bbox": [
722
+ 223,
723
+ 289,
724
+ 777,
725
+ 505
726
+ ],
727
+ "page_idx": 7
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "5.2 GENERATION OF CONFORMATIONS ",
732
+ "text_level": 1,
733
+ "bbox": [
734
+ 178,
735
+ 603,
736
+ 457,
737
+ 617
738
+ ],
739
+ "page_idx": 7
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "We passed the distances from our generative model to an EDG algorithm to obtain conformations. For $9 9 . 9 \\%$ of the sets of distances, all triangle inequalities held. For $94 \\%$ of the molecular graphs, the algorithm succeeded which is 8 pp higher than the success rate we observed for RDKIT. For each molecular graph in a test set, we generated 50 conformations with each method. This took DL4CHEM, RDKIT, and GRAPHDG on average around hundreds of milliseconds per molecule.8 In contrast, a single conformation in the ISO17 dataset takes around a minute to compute. In Fig. 6, an overlay of these conformations of six molecules generated by the different methods is shown. It can be seen that RDKIT’s conformations show too little variance, while DL4CHEM’s structures are mostly invalid, which is due in part to its failure to predict the correct interatomic angles. Our method slightly overestimates the structural variance (see, for example, Fig. 6, top row, second column), but produces conformations that are the closest to the ground-truth. ",
744
+ "bbox": [
745
+ 173,
746
+ 630,
747
+ 825,
748
+ 782
749
+ ],
750
+ "page_idx": 7
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "5.3 CALCULATION OF MOLECULAR PROPERTIES",
755
+ "text_level": 1,
756
+ "bbox": [
757
+ 174,
758
+ 801,
759
+ 524,
760
+ 815
761
+ ],
762
+ "page_idx": 7
763
+ },
764
+ {
765
+ "type": "text",
766
+ "text": "We estimate expected molecular properties for molecular graphs from the test set with $N = 5 0$ conformational samples each. Due to their poor quality, we could not compute properties $\\mathcal { O } ( \\mathbf { x } )$ , including the energy $E ( \\mathbf { x } )$ , for conformations generated with DL4CHEM, and thus, this method is excluded from this analysis. In Table 2, it can be seen that RDKIT and GRAPHDG perform ",
767
+ "bbox": [
768
+ 174,
769
+ 828,
770
+ 825,
771
+ 883
772
+ ],
773
+ "page_idx": 7
774
+ },
775
+ {
776
+ "type": "image",
777
+ "img_path": "images/6dbc1684f2efce71c7be4d5e7e63e8e2e0f0a2968f6b845c474caa529794805c.jpg",
778
+ "image_caption": [
779
+ "Figure 6: Overlay of 50 conformations from the ground-truth and three models based on six random molecular graphs from the test set. C, O, and H atoms are colored gray, red, and white, respectively. "
780
+ ],
781
+ "image_footnote": [],
782
+ "bbox": [
783
+ 179,
784
+ 102,
785
+ 823,
786
+ 297
787
+ ],
788
+ "page_idx": 8
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "Table 2: Median difference in average properties between ground-truth and RDKIT and GRAPHDG: total electronic energy $E _ { \\mathrm { e l e c } }$ (in kJ/mol), the energy of the HOMO and the LUMO \u000fLUMO and \u000fLUMO, respectively (in eV), and the dipole moment $\\mu$ (in debye). Reported are the results for molecular graphs from the test set, averaged over three train-test splits. Standard errors are given in brackets. ",
793
+ "bbox": [
794
+ 173,
795
+ 353,
796
+ 825,
797
+ 410
798
+ ],
799
+ "page_idx": 8
800
+ },
801
+ {
802
+ "type": "table",
803
+ "img_path": "images/28fdddd3902b37a3a8fedd86b4e37bef3145c3d79b8a57f2f80e6e8539ef3e2e.jpg",
804
+ "table_caption": [],
805
+ "table_footnote": [],
806
+ "table_body": "<table><tr><td></td><td>RDKIT</td><td>GRAPHDG</td></tr><tr><td>Eelec</td><td>42.7 (4.3)</td><td>58.0 (21.0)</td></tr><tr><td>€HOMO</td><td>0.08 (0.04)</td><td>0.10 (0.05)</td></tr><tr><td>ELUMO</td><td>0.15 (0.03)</td><td>0.09 (0.05)</td></tr><tr><td>从</td><td>0.29 (0.05)</td><td>0.33 (0.09)</td></tr></table>",
807
+ "bbox": [
808
+ 370,
809
+ 420,
810
+ 625,
811
+ 501
812
+ ],
813
+ "page_idx": 8
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "similarly well (see Appendix A.2 for computational details). However, both methods are still highly inaccurate for $E _ { \\mathrm { e l e c } }$ (in practice, an accuracy of less than $5 \\ \\mathrm { k J / m o l }$ is required). Close inspection of the conformations shows that, even though GRAPHDG predicts the most accurate distances overall, the variances of certain strongly constrained distances (e.g., triple bonds) are overestimated so that the energies of the conformations increase drastically. ",
818
+ "bbox": [
819
+ 174,
820
+ 529,
821
+ 825,
822
+ 599
823
+ ],
824
+ "page_idx": 8
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "6 LIMITATIONS ",
829
+ "text_level": 1,
830
+ "bbox": [
831
+ 174,
832
+ 622,
833
+ 316,
834
+ 638
835
+ ],
836
+ "page_idx": 8
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "The first limitation of this work is that the CVAE can sample (with low probability) invalid sets of distances for which there exists no 3D structure. Second, the CONF17 benchmark covers only a small portion of chemical space. Finally, a large set of auxiliary edges would be required to capture long-range correlations (e.g., in proteins). Future work will address these points. ",
841
+ "bbox": [
842
+ 174,
843
+ 656,
844
+ 825,
845
+ 713
846
+ ],
847
+ "page_idx": 8
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "7 CONCLUSIONS ",
852
+ "text_level": 1,
853
+ "bbox": [
854
+ 176,
855
+ 737,
856
+ 328,
857
+ 752
858
+ ],
859
+ "page_idx": 8
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "We presented GRAPHDG, a transferable, generative model that allows sampling from a distribution over molecular conformations. We developed a principled learning representation of conformations that is based on distances between atoms. Then, we proposed a challenging benchmark for comparing molecular conformation generators. With this benchmark, we show experimentally that conformations generated by GRAPHDG are closer to the ground-truth than those generated by other methods. Finally, we employ our model as a proposal distribution in an IS integration scheme to estimate molecular properties. While orbital energies and the dipole moments were predicted well, a larger and more diverse dataset will be necessary for meaningful estimates of electronic energies. Further, methods have to be devised to estimate how many conformations need to be generated to ensure all important conformations have been sampled. Finally, our model could be trained on conformational distributions at different temperatures in a transfer learning-type setting. ",
864
+ "bbox": [
865
+ 174,
866
+ 770,
867
+ 825,
868
+ 924
869
+ ],
870
+ "page_idx": 8
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "REFERENCES ",
875
+ "text_level": 1,
876
+ "bbox": [
877
+ 174,
878
+ 103,
879
+ 287,
880
+ 117
881
+ ],
882
+ "page_idx": 9
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "F. H. Allen. The Cambridge Structural Database: A quarter of a million crystal structures and rising. Acta Crystallogr., Sect. B: Struct. Sci, 58(3):380–388, 2002. doi: 10.1107/S0108768102003890. ",
887
+ "bbox": [
888
+ 174,
889
+ 126,
890
+ 821,
891
+ 154
892
+ ],
893
+ "page_idx": 9
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "Mohammed AlQuraishi. End-to-End Differentiable Learning of Protein Structure. Cell Systems, 8 (4):292–301.e3, 2019. doi: 10.1016/j.cels.2019.03.006. ",
898
+ "bbox": [
899
+ 173,
900
+ 161,
901
+ 821,
902
+ 190
903
+ ],
904
+ "page_idx": 9
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "Andrew J. Ballard, Stefano Martiniani, Jacob D. Stevenson, Sandeep Somani, and David J. Wales. Exploiting the potential energy landscape to sample free energy. WIREs Comput. Mol. Sci., 5(3): 273–289, 2015. doi: 10.1002/wcms.1217. ",
909
+ "bbox": [
910
+ 173,
911
+ 198,
912
+ 820,
913
+ 241
914
+ ],
915
+ "page_idx": 9
916
+ },
917
+ {
918
+ "type": "text",
919
+ "text": "Christopher M. Bishop. Pattern Recognition and Machine Learning. Information Science and Statistics. Springer, New York, 8 edition, 2009. ISBN 978-0-387-31073-2. ",
920
+ "bbox": [
921
+ 173,
922
+ 248,
923
+ 823,
924
+ 277
925
+ ],
926
+ "page_idx": 9
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "Jeffrey M. Blaney and J. Scott Dixon. Distance Geometry in Molecular Modeling. In Reviews in Computational Chemistry, pp. 299–335. John Wiley & Sons, Ltd, 2007. ISBN 978-0-470-12582- 3. doi: 10.1002/9780470125823.ch6. ",
931
+ "bbox": [
932
+ 174,
933
+ 285,
934
+ 823,
935
+ 328
936
+ ],
937
+ "page_idx": 9
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "John Bradshaw, Matt J. Kusner, Brooks Paige, Marwin H. S. Segler, and Jose Miguel Hern ´ andez- ´ Lobato. A generative model for electron paths. In International Conference on Learning Representations, 2019a. ",
942
+ "bbox": [
943
+ 173,
944
+ 335,
945
+ 823,
946
+ 378
947
+ ],
948
+ "page_idx": 9
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "John Bradshaw, Brooks Paige, Matt J. Kusner, Marwin H. S. Segler, and Jose Miguel Hern ´ andez- ´ Lobato. A Model to Search for Synthesizable Molecules. arXiv:1906.05221, 2019b. ",
953
+ "bbox": [
954
+ 173,
955
+ 386,
956
+ 823,
957
+ 415
958
+ ],
959
+ "page_idx": 9
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "Hanjun Dai, Yingtao Tian, Bo Dai, Steven Skiena, and Le Song. Syntax-directed variational autoencoder for structured data. In International Conference on Learning Representations, 2018. ",
964
+ "bbox": [
965
+ 173,
966
+ 422,
967
+ 823,
968
+ 452
969
+ ],
970
+ "page_idx": 9
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "Marco De Vivo, Matteo Masetti, Giovanni Bottegoni, and Andrea Cavalli. Role of Molecular Dynamics and Related Methods in Drug Discovery. J. Med. Chem., 59(9):4035–4061, 2016. doi: 10.1021/acs.jmedchem.5b01684. ",
975
+ "bbox": [
976
+ 173,
977
+ 458,
978
+ 823,
979
+ 502
980
+ ],
981
+ "page_idx": 9
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "Erik D. Demaine, Francisco Gomez-Martin, Henk Meijer, David Rappaport, Perouz Taslakian, Godfried T. Toussaint, Terry Winograd, and David R. Wood. The distance geometry of music. Computational Geometry, 42(5):429–454, 2009. doi: 10.1016/j.comgeo.2008.04.005. ",
986
+ "bbox": [
987
+ 173,
988
+ 510,
989
+ 821,
990
+ 553
991
+ ],
992
+ "page_idx": 9
993
+ },
994
+ {
995
+ "type": "text",
996
+ "text": "David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alan Aspuru-Guzik, and Ryan P Adams. Convolutional Networks on Graphs for Learning Molecular Fingerprints. In C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, and R. Garnett (eds.), Advances in Neural Information Processing Systems 28, pp. 2224–2232. Curran Associates, Inc., 2015. ",
997
+ "bbox": [
998
+ 173,
999
+ 560,
1000
+ 825,
1001
+ 630
1002
+ ],
1003
+ "page_idx": 9
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "R. Evans, J. Jumper, J. Kirkpatrick, L. Sifre, T. F. G. Green, C. Qin, A. Zidek, A. Nelson, A. Bridgland, H. Penedones, S. Petersen, K. Simonyan, S. Crossan, D. T. Jones, D. Silver, K. Kavukcuoglu, D. Hassabis, and A. W. Senior. De novo structure prediction with deep-learning based scoring. In Thirteenth Critical Assessment of Techniques for Protein Structure Prediction, 2018. ",
1008
+ "bbox": [
1009
+ 176,
1010
+ 638,
1011
+ 825,
1012
+ 708
1013
+ ],
1014
+ "page_idx": 9
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning - Volume 70, ICML’17, pp. 1263–1272, 2017. ",
1019
+ "bbox": [
1020
+ 173,
1021
+ 715,
1022
+ 823,
1023
+ 760
1024
+ ],
1025
+ "page_idx": 9
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "Rafael Gomez-Bombarelli, Jennifer N. Wei, David Duvenaud, Jos ´ e Miguel Hern ´ andez-Lobato, ´ Benjam´ın Sanchez-Lengeling, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy D. Hirzel, ´ Ryan P. Adams, and Alan Aspuru-Guzik. Automatic Chemical Design Using a Data-Driven ´ Continuous Representation of Molecules. ACS Cent. Sci., 4(2):268–276, 2018. doi: 10.1021/ acscentsci.7b00572. ",
1030
+ "bbox": [
1031
+ 173,
1032
+ 766,
1033
+ 825,
1034
+ 837
1035
+ ],
1036
+ "page_idx": 9
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Scholkopf, and Alexander Smola. ¨ A Kernel Two-Sample Test. J. Mach. Learn. Res., 13:723–773, 2012. ",
1041
+ "bbox": [
1042
+ 173,
1043
+ 844,
1044
+ 821,
1045
+ 873
1046
+ ],
1047
+ "page_idx": 9
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "Wolfgang Guba, Agnes Meyder, Matthias Rarey, and Jer´ ome Hert. Torsion Library Reloaded: ˆ A New Version of Expert-Derived SMARTS Rules for Assessing Conformations of Small Molecules. J. Chem. Inf. Model., 56(1):1–5, 2016. doi: 10.1021/acs.jcim.5b00522. ",
1052
+ "bbox": [
1053
+ 176,
1054
+ 881,
1055
+ 825,
1056
+ 924
1057
+ ],
1058
+ "page_idx": 9
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "Timothy F. Havel. Distance Geometry: Theory, Algorithms, and Chemical Applications. In Encyclopedia of Computational Chemistry. American Cancer Society, 2002. ISBN 978-0-470-84501-1. doi: 10.1002/0470845015.cda018. ",
1063
+ "bbox": [
1064
+ 174,
1065
+ 103,
1066
+ 823,
1067
+ 146
1068
+ ],
1069
+ "page_idx": 10
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "John Ingraham, Adam Riesselman, Chris Sander, and Debora Marks. Learning Protein Structure with a Differentiable Simulator. In International Conference on Learning Representations, 2019. ",
1074
+ "bbox": [
1075
+ 173,
1076
+ 156,
1077
+ 823,
1078
+ 185
1079
+ ],
1080
+ "page_idx": 10
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "V. Jain and L. K. Saul. Exploratory analysis and visualization of speech and music by locally linear embedding. In 2004 IEEE International Conference on Acoustics, Speech, and Signal Processing, volume 3, pp. iii–984, 2004. doi: 10.1109/ICASSP.2004.1326712. ",
1085
+ "bbox": [
1086
+ 176,
1087
+ 195,
1088
+ 825,
1089
+ 238
1090
+ ],
1091
+ "page_idx": 10
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "Jan Jensen. XYZ2Mol. https://github.com/jensengroup/xyz2mol, 2019. ",
1096
+ "bbox": [
1097
+ 173,
1098
+ 247,
1099
+ 643,
1100
+ 263
1101
+ ],
1102
+ "page_idx": 10
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 2323–2332, Stockholm, Sweden, 2018. PMLR. ",
1107
+ "bbox": [
1108
+ 173,
1109
+ 273,
1110
+ 825,
1111
+ 330
1112
+ ],
1113
+ "page_idx": 10
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "Ilana Y. Kanal, John A. Keith, and Geoffrey R. Hutchison. A sobering assessment of small-molecule force field methods for low energy conformer predictions. Int. J. Quantum Chem., 118(5):e25512, 2018. doi: 10.1002/qua.25512. ",
1118
+ "bbox": [
1119
+ 173,
1120
+ 340,
1121
+ 825,
1122
+ 382
1123
+ ],
1124
+ "page_idx": 10
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Steven Kearnes, Kevin McCloskey, Marc Berndl, Vijay Pande, and Patrick Riley. Molecular graph convolutions: Moving beyond fingerprints. J. Comput.-Aided Mol. Des., 30(8):595–608, 2016. doi: 10.1007/s10822-016-9938-8. ",
1129
+ "bbox": [
1130
+ 173,
1131
+ 393,
1132
+ 825,
1133
+ 435
1134
+ ],
1135
+ "page_idx": 10
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. arXiv:1412.6980, 2014. ",
1140
+ "bbox": [
1141
+ 171,
1142
+ 446,
1143
+ 823,
1144
+ 474
1145
+ ],
1146
+ "page_idx": 10
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "Diederik P. Kingma and Max Welling. Auto-Encoding Variational Bayes. In International Conference on Learning Representations, 2014. ",
1151
+ "bbox": [
1152
+ 174,
1153
+ 486,
1154
+ 823,
1155
+ 513
1156
+ ],
1157
+ "page_idx": 10
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "Thomas N. Kipf and Max Welling. Semi-Supervised Classification with Graph Convolutional Networks. International Conference on Learning Representations, 2017. ",
1162
+ "bbox": [
1163
+ 173,
1164
+ 523,
1165
+ 823,
1166
+ 554
1167
+ ],
1168
+ "page_idx": 10
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "Matt J. Kusner, Brooks Paige, and Jose Miguel Hern ´ andez-Lobato. Grammar Variational Autoen- ´ coder. In Doina Precup and Yee Whye Teh (eds.), Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 1945–1954, International Convention Centre, Sydney, Australia, 2017. PMLR. ",
1173
+ "bbox": [
1174
+ 174,
1175
+ 564,
1176
+ 823,
1177
+ 619
1178
+ ],
1179
+ "page_idx": 10
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "David Lagorce, Tania Pencheva, Bruno O. Villoutreix, and Maria A. Miteva. DG-AMMOS: A New tool to generate 3D conformation of small molecules using Distance Geometry and Automated Molecular Mechanics Optimization for in silico Screening. BMC Chem. Biol., 9:6, 2009. doi: 10.1186/1472-6769-9-6. ",
1184
+ "bbox": [
1185
+ 174,
1186
+ 631,
1187
+ 825,
1188
+ 686
1189
+ ],
1190
+ "page_idx": 10
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "text": "Tobias Lemke and Christine Peter. EncoderMap: Dimensionality Reduction and Generation of Molecule Conformations. J. Chem. Theory Comput., 2019. doi: 10.1021/acs.jctc.8b00975. ",
1195
+ "bbox": [
1196
+ 173,
1197
+ 696,
1198
+ 825,
1199
+ 727
1200
+ ],
1201
+ "page_idx": 10
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "text": "Qi Liu, Miltiadis Allamanis, Marc Brockschmidt, and Alexander Gaunt. Constrained Graph Variational Autoencoders for Molecule Design. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 7795–7804. Curran Associates, Inc., 2018. ",
1206
+ "bbox": [
1207
+ 173,
1208
+ 736,
1209
+ 825,
1210
+ 792
1211
+ ],
1212
+ "page_idx": 10
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "Elman Mansimov, Omar Mahmood, Seokho Kang, and Kyunghyun Cho. Molecular geometry prediction using a deep generative graph neural network. arXiv:1904.00314 [physics, stat], 2019. ",
1217
+ "bbox": [
1218
+ 171,
1219
+ 803,
1220
+ 823,
1221
+ 832
1222
+ ],
1223
+ "page_idx": 10
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "Frank Noe, Simon Olsson, Jonas K ´ ohler, and Hao Wu. Boltzmann generators: Sampling equilibrium ¨ states of many-body systems with deep learning. Science, 365(6457):eaaw1147, 2019. doi: 10.1126/science.aaw1147. ",
1228
+ "bbox": [
1229
+ 174,
1230
+ 842,
1231
+ 823,
1232
+ 883
1233
+ ],
1234
+ "page_idx": 10
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "text": "Artidoro Pagnoni, Kevin Liu, and Shangyan Li. Conditional Variational Autoencoder for Neural Machine Translation. arXiv:1812.04405, 2018. ",
1239
+ "bbox": [
1240
+ 174,
1241
+ 895,
1242
+ 821,
1243
+ 922
1244
+ ],
1245
+ "page_idx": 10
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "text": "John P. Perdew, Matthias Ernzerhof, and Kieron Burke. Rationale for mixing exact exchange with density functional approximations. J. Chem. Phys., 105(22):9982–9985, 1996. doi: 10.1063/1. 472933. ",
1250
+ "bbox": [
1251
+ 171,
1252
+ 103,
1253
+ 823,
1254
+ 146
1255
+ ],
1256
+ "page_idx": 11
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "Raghunathan Ramakrishnan, Pavlo O. Dral, Matthias Rupp, and O. Anatole von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Sci. Data, 1:140022, 2014. doi: 10.1038/sdata.2014.22. ",
1261
+ "bbox": [
1262
+ 173,
1263
+ 159,
1264
+ 825,
1265
+ 202
1266
+ ],
1267
+ "page_idx": 11
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "text": "Sereina Riniker and Gregory A. Landrum. Better Informed Distance Geometry: Using What We Know To Improve Conformation Generation. J. Chem. Inf. Model., 55(12):2562–2574, 2015. doi: 10.1021/acs.jcim.5b00654. ",
1272
+ "bbox": [
1273
+ 173,
1274
+ 215,
1275
+ 823,
1276
+ 257
1277
+ ],
1278
+ "page_idx": 11
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "text": "Kristof Schutt, Pieter-Jan Kindermans, Huziel Enoc Sauceda Felix, Stefan Chmiela, Alexandre ¨ Tkatchenko, and Klaus-Robert Muller. SchNet: A continuous-filter convolutional neural net- ¨ work for modeling quantum interactions. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 991–1001. Curran Associates, Inc., 2017a. ",
1283
+ "bbox": [
1284
+ 173,
1285
+ 271,
1286
+ 825,
1287
+ 342
1288
+ ],
1289
+ "page_idx": 11
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "text": "Kristof T. Schutt, Farhad Arbabzadah, Stefan Chmiela, Klaus R. M ¨ uller, and Alexandre Tkatchenko.¨ Quantum-chemical insights from deep tensor neural networks. Nat. Commun., 8:13890, 2017b. doi: 10.1038/ncomms13890. ",
1294
+ "bbox": [
1295
+ 173,
1296
+ 354,
1297
+ 823,
1298
+ 397
1299
+ ],
1300
+ "page_idx": 11
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "Marwin H. S. Segler, Thierry Kogej, Christian Tyrchan, and Mark P. Waller. Generating Focused Molecule Libraries for Drug Discovery with Recurrent Neural Networks. ACS Cent. Sci., 4(1): 120–131, 2018. doi: 10.1021/acscentsci.7b00512. ",
1305
+ "bbox": [
1306
+ 173,
1307
+ 410,
1308
+ 825,
1309
+ 454
1310
+ ],
1311
+ "page_idx": 11
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "Jihyun Shim and Alexander D. MacKerell, Jr. Computational ligand-based rational design: Role of conformational sampling and force fields in model development. Med. Chem. Commun., 2(5): 356–370, 2011. doi: 10.1039/C1MD00044F. ",
1316
+ "bbox": [
1317
+ 173,
1318
+ 467,
1319
+ 823,
1320
+ 510
1321
+ ],
1322
+ "page_idx": 11
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "Qiming Sun, Timothy C. Berkelbach, Nick S. Blunt, George H. Booth, Sheng Guo, Zhendong Li, Junzi Liu, James D. McClain, Elvira R. Sayfutyarova, Sandeep Sharma, Sebastian Wouters, and Garnet Kin-Lic Chan. PySCF: The Python-based simulations of chemistry framework. WIREs Comput. Mol. Sci., 8(1), 2018. doi: 10.1002/wcms.1340. ",
1327
+ "bbox": [
1328
+ 173,
1329
+ 522,
1330
+ 825,
1331
+ 580
1332
+ ],
1333
+ "page_idx": 11
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "Joshua B. Tenenbaum, Vin de Silva, and John C. Langford. A Global Geometric Framework for Nonlinear Dimensionality Reduction. Science, 290(5500):2319–2323, 2000. doi: 10.1126/science.290.5500.2319. ",
1338
+ "bbox": [
1339
+ 173,
1340
+ 593,
1341
+ 823,
1342
+ 636
1343
+ ],
1344
+ "page_idx": 11
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li ´ o, and Yoshua \\` Bengio. Graph Attention Networks. In International Conference on Learning Representations, 2018. ",
1349
+ "bbox": [
1350
+ 173,
1351
+ 648,
1352
+ 826,
1353
+ 691
1354
+ ],
1355
+ "page_idx": 11
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "Florian Weigend. Accurate Coulomb-fitting basis sets for H to Rn. Phys. Chem. Chem. Phys., 8(9): 1057–1065, 2006. doi: 10.1039/B515623H. ",
1360
+ "bbox": [
1361
+ 169,
1362
+ 705,
1363
+ 821,
1364
+ 734
1365
+ ],
1366
+ "page_idx": 11
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "Florian Weigend and Reinhart Ahlrichs. Balanced basis sets of split valence, triple zeta valence and quadruple zeta valence quality for H to Rn: Design and assessment of accuracy. Phys. Chem. Chem. Phys., 7(18):3297–3305, 2005. doi: 10.1039/B508541A. ",
1371
+ "bbox": [
1372
+ 173,
1373
+ 747,
1374
+ 825,
1375
+ 790
1376
+ ],
1377
+ "page_idx": 11
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "Kilian Q. Weinberger and Lawrence K. Saul. Unsupervised Learning of Image Manifolds by Semidefinite Programming. Int. J. Comput. Vision, 70(1):77–90, 2006. doi: 10.1007/ s11263-005-4939-z. ",
1382
+ "bbox": [
1383
+ 173,
1384
+ 803,
1385
+ 825,
1386
+ 845
1387
+ ],
1388
+ "page_idx": 11
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "Jiaxuan You, Bowen Liu, Zhitao Ying, Vijay Pande, and Jure Leskovec. Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 6410–6421. Curran Associates, Inc., 2018. ",
1393
+ "bbox": [
1394
+ 173,
1395
+ 859,
1396
+ 825,
1397
+ 916
1398
+ ],
1399
+ "page_idx": 11
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "A APPENDIX ",
1404
+ "text_level": 1,
1405
+ "bbox": [
1406
+ 176,
1407
+ 102,
1408
+ 297,
1409
+ 117
1410
+ ],
1411
+ "page_idx": 12
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "A.1 CONF17 BENCHMARK ",
1416
+ "text_level": 1,
1417
+ "bbox": [
1418
+ 176,
1419
+ 133,
1420
+ 372,
1421
+ 148
1422
+ ],
1423
+ "page_idx": 12
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "text": "A.1.1 DATA GENERATION ",
1428
+ "text_level": 1,
1429
+ "bbox": [
1430
+ 176,
1431
+ 161,
1432
+ 367,
1433
+ 175
1434
+ ],
1435
+ "page_idx": 12
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "The ISO17 dataset (Schutt et al., 2017a) was processed in the following way. First, conformations ¨ in which the molecular connectivity was modified (i.e., bonds were broken or new ones are formed) were discarded. For this, the tool XYZ2MOL (Jensen, 2019) was employed. Second, the molecular graphs were augmented by adding auxiliary edges for reasons described in Section 2.1. Auxiliary edges between all second neighbors were added. This can lead to a slight over-specification of the system’s geometry, however, this did not pose a problem in our experiments. In addition, auxiliary edges between third neighbors were added to fix dihedral angles. Since there are potentially many ways of specifying a dihedral angle in a molecular system, we resorted to the works of Riniker & Landrum (2015) and Guba et al. (2016) to decide where to place edges between third neighbors. ",
1440
+ "bbox": [
1441
+ 174,
1442
+ 185,
1443
+ 825,
1444
+ 311
1445
+ ],
1446
+ "page_idx": 12
1447
+ },
1448
+ {
1449
+ "type": "text",
1450
+ "text": "A.1.2 INPUT FEATURES ",
1451
+ "text_level": 1,
1452
+ "bbox": [
1453
+ 176,
1454
+ 329,
1455
+ 352,
1456
+ 343
1457
+ ],
1458
+ "page_idx": 12
1459
+ },
1460
+ {
1461
+ "type": "text",
1462
+ "text": "Below we list the node and edges features in the CONF17 benchmark. ",
1463
+ "bbox": [
1464
+ 174,
1465
+ 353,
1466
+ 632,
1467
+ 368
1468
+ ],
1469
+ "page_idx": 12
1470
+ },
1471
+ {
1472
+ "type": "table",
1473
+ "img_path": "images/6cc45a2dc156f39e2d8557d3cd25a25765682fea3ba914e5518419e42a8c79e1.jpg",
1474
+ "table_caption": [
1475
+ "Table 3: Node features. "
1476
+ ],
1477
+ "table_footnote": [],
1478
+ "table_body": "<table><tr><td>Feature</td><td>Data Type</td><td>Dimension</td></tr><tr><td>atomic number</td><td>integer</td><td>1</td></tr><tr><td>chiral tag</td><td>one-hot (R, S,and N/A)</td><td>3</td></tr></table>",
1479
+ "bbox": [
1480
+ 300,
1481
+ 414,
1482
+ 692,
1483
+ 467
1484
+ ],
1485
+ "page_idx": 12
1486
+ },
1487
+ {
1488
+ "type": "table",
1489
+ "img_path": "images/fb0acd7c9379ea76c3ccaec9d8ecacbf5f6bdd2b6892ea6826fb0e5c5149c7eb.jpg",
1490
+ "table_caption": [
1491
+ "Table 4: Edge features. "
1492
+ ],
1493
+ "table_footnote": [],
1494
+ "table_body": "<table><tr><td>Feature</td><td>Data Type</td><td>Dimension</td></tr><tr><td>kind</td><td>one-hot (indicating whether e is in Ebond,Eangle,or Edihedral)</td><td>3</td></tr><tr><td>stereo chemistry</td><td>one-hot (E,Z,Any,None, and N/A)</td><td>5</td></tr><tr><td>type</td><td>integer (single, double, triple or N/A)</td><td>1</td></tr><tr><td>is aromatic</td><td>binary</td><td>1</td></tr><tr><td>is conjugated</td><td>binary</td><td>1</td></tr><tr><td>is in ring of size</td><td>one-hot (3,4,...,9) and N/A</td><td>8</td></tr></table>",
1495
+ "bbox": [
1496
+ 189,
1497
+ 536,
1498
+ 810,
1499
+ 646
1500
+ ],
1501
+ "page_idx": 12
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "A.1.3 MODEL ARCHITECTURE ",
1506
+ "text_level": 1,
1507
+ "bbox": [
1508
+ 176,
1509
+ 676,
1510
+ 401,
1511
+ 691
1512
+ ],
1513
+ "page_idx": 12
1514
+ },
1515
+ {
1516
+ "type": "text",
1517
+ "text": "The full model is available online https://figshare.com/s/1b42bf865bd78c457354. In following, the hyperparameters of our model are specified: ",
1518
+ "bbox": [
1519
+ 173,
1520
+ 702,
1521
+ 821,
1522
+ 729
1523
+ ],
1524
+ "page_idx": 12
1525
+ },
1526
+ {
1527
+ "type": "text",
1528
+ "text": "Activations throughout this paper: ReLU; $L _ { v }$ , $L _ { e }$ : 10; $F _ { \\mathrm { e n c } , v }$ : neural network with depth 2, width 20; $F _ { \\mathrm { e n c } , e }$ : neural network with depth 3, width 60; $F _ { \\mathrm { d e c } , v }$ , $F _ { \\mathrm { d e c } , e }$ : neural networks with depth 2, width 70; {MP(t) }T , {MP(t) }T dec t=1: MPNN width depth 1 and three multi-head attention heads, T = 3, for node and edge updates neural networks with depth 2, and width 70 were used. $R _ { \\mathrm { e n c } }$ , $R _ { \\mathrm { d e c } }$ : neural networks with depth 2, width 70. Batch size: 16 (conformations); ",
1529
+ "bbox": [
1530
+ 174,
1531
+ 736,
1532
+ 825,
1533
+ 810
1534
+ ],
1535
+ "page_idx": 12
1536
+ },
1537
+ {
1538
+ "type": "text",
1539
+ "text": "A.2 COMPUTATIONAL DETAILS ",
1540
+ "text_level": 1,
1541
+ "bbox": [
1542
+ 176,
1543
+ 829,
1544
+ 405,
1545
+ 844
1546
+ ],
1547
+ "page_idx": 12
1548
+ },
1549
+ {
1550
+ "type": "text",
1551
+ "text": "A.2.1 QUANTUM-CHEMICAL CALCULATIONS ",
1552
+ "text_level": 1,
1553
+ "bbox": [
1554
+ 174,
1555
+ 856,
1556
+ 503,
1557
+ 871
1558
+ ],
1559
+ "page_idx": 12
1560
+ },
1561
+ {
1562
+ "type": "text",
1563
+ "text": "All quantum-chemical calculations were carried out with the PySCF program package (version 1.5) (Sun et al., 2018) employing the exchange-correlation density functional PBE (Perdew et al., 1996), and the def2-SVP (Weigend & Ahlrichs, 2005; Weigend, 2006) basis set. ",
1564
+ "bbox": [
1565
+ 176,
1566
+ 882,
1567
+ 823,
1568
+ 924
1569
+ ],
1570
+ "page_idx": 12
1571
+ },
1572
+ {
1573
+ "type": "text",
1574
+ "text": "Conformations generated by DL4CHEM did not succeed as some atoms were too close to each other. Self-consistent field algorithms in quantum-chemical software such as $\\operatorname { P y } \\operatorname { S C F }$ do not converge for such molecular structures. ",
1575
+ "bbox": [
1576
+ 174,
1577
+ 103,
1578
+ 823,
1579
+ 146
1580
+ ],
1581
+ "page_idx": 13
1582
+ },
1583
+ {
1584
+ "type": "text",
1585
+ "text": "With quantum-chemical methods, we calculate several properties that concern the states of the electrons in the conformation. These are the total electronic energy $E _ { \\mathrm { e l e c } }$ , the energy of the electron in the highest occupied molecular orbital (HOMO in eV) \u000fHOMO, the energy of the lowest unoccupied molecular orbital (LUMO in eV) \u000fLUMO, and the norm of the dipole moment $\\mu$ (in debye). ",
1586
+ "bbox": [
1587
+ 174,
1588
+ 152,
1589
+ 825,
1590
+ 209
1591
+ ],
1592
+ "page_idx": 13
1593
+ },
1594
+ {
1595
+ "type": "text",
1596
+ "text": "A.2.2 EUCLIDEAN DISTANCE GEOMETRY ",
1597
+ "text_level": 1,
1598
+ "bbox": [
1599
+ 176,
1600
+ 250,
1601
+ 475,
1602
+ 265
1603
+ ],
1604
+ "page_idx": 13
1605
+ },
1606
+ {
1607
+ "type": "text",
1608
+ "text": "We refer the reader to Havel (2002) for theory on EDG, algorithms, and chemical applications. In summary, the EDG procedure consists of the following three steps: ",
1609
+ "bbox": [
1610
+ 174,
1611
+ 284,
1612
+ 823,
1613
+ 313
1614
+ ],
1615
+ "page_idx": 13
1616
+ },
1617
+ {
1618
+ "type": "text",
1619
+ "text": "1. Bound smoothing: extrapolating a complete set of lower and upper limits on all the distances from the sparse set of lower and upper bounds. \n2. Embedding: choosing a random distance matrix from within these limits, and computing coordinates that are a certain best-fit to the distances. \n3. Optimization: optimizing these coordinates versus an error function which measures the total violation of the distance (and chirality) constraints. ",
1620
+ "bbox": [
1621
+ 207,
1622
+ 335,
1623
+ 826,
1624
+ 476
1625
+ ],
1626
+ "page_idx": 13
1627
+ },
1628
+ {
1629
+ "type": "text",
1630
+ "text": "We use the EDG implementation found in RDKIT (Riniker & Landrum, 2015) with default settings. ",
1631
+ "bbox": [
1632
+ 176,
1633
+ 498,
1634
+ 821,
1635
+ 513
1636
+ ],
1637
+ "page_idx": 13
1638
+ },
1639
+ {
1640
+ "type": "text",
1641
+ "text": "A.3 GENERATION OF CONFORMATIONS ",
1642
+ "bbox": [
1643
+ 174,
1644
+ 556,
1645
+ 460,
1646
+ 570
1647
+ ],
1648
+ "page_idx": 13
1649
+ },
1650
+ {
1651
+ "type": "image",
1652
+ "img_path": "images/27951cf926cc9a59c011227fdb3757047860bb4f10db180e980c1c7f56c2a9fb.jpg",
1653
+ "image_caption": [
1654
+ "Figure 7: Overlay of 50 conformations from the ground-truth, RDKIT, DL4CHEM, and GRAPHDG based on two random molecular graphs from the test set. C, O, and H atoms are colored gray, red, and white, respectively. "
1655
+ ],
1656
+ "image_footnote": [],
1657
+ "bbox": [
1658
+ 316,
1659
+ 617,
1660
+ 673,
1661
+ 765
1662
+ ],
1663
+ "page_idx": 13
1664
+ },
1665
+ {
1666
+ "type": "text",
1667
+ "text": "A.4 DISTRIBUTIONS OVER DISTANCES ",
1668
+ "text_level": 1,
1669
+ "bbox": [
1670
+ 176,
1671
+ 872,
1672
+ 455,
1673
+ 887
1674
+ ],
1675
+ "page_idx": 13
1676
+ },
1677
+ {
1678
+ "type": "text",
1679
+ "text": "Below, the marginal distributions of the distances for a variety of molecular graphs are shown. ",
1680
+ "bbox": [
1681
+ 168,
1682
+ 909,
1683
+ 789,
1684
+ 924
1685
+ ],
1686
+ "page_idx": 13
1687
+ },
1688
+ {
1689
+ "type": "image",
1690
+ "img_path": "images/155b36793493760b7aa79975d8ddcff91c662022446556581190de48d5091e35.jpg",
1691
+ "image_caption": [
1692
+ "Figure 8: Marginal distributions $p ( d _ { k } | \\mathcal { G } )$ of ground-truth and predicted distances (in A) between C ˚ and O atoms given a molecular graph from the test set. The atoms connected by each edge $d _ { k }$ are indicated in each subplot $\\left( \\boldsymbol { s } _ { k } \\mathrm { - } \\boldsymbol { r } _ { k } \\right)$ . In the 3D structure of the molecule, carbon and oxygen atoms are colored gray and red, respectively. $_ \\mathrm { H }$ atoms are omitted for clarity. "
1693
+ ],
1694
+ "image_footnote": [],
1695
+ "bbox": [
1696
+ 178,
1697
+ 102,
1698
+ 816,
1699
+ 450
1700
+ ],
1701
+ "page_idx": 14
1702
+ },
1703
+ {
1704
+ "type": "image",
1705
+ "img_path": "images/e220b95757969ae8413448670537336f0a0200b2d7857d8c548541c7e3c21327.jpg",
1706
+ "image_caption": [
1707
+ "Figure 9: Marginal distributions $p ( d _ { i } , d _ { j } | \\mathcal { G } )$ of ground-truth and predicted distances for a molecular graph from the test set (in $\\mathring \\mathrm { A }$ ). Here, $d _ { i }$ and $d _ { j }$ are restricted to edges representing bonds between C and O atoms. In the 3D structure of the molecule, carbon and oxygen atoms are colored gray and red, respectively. H atoms are omitted for clarity. "
1708
+ ],
1709
+ "image_footnote": [],
1710
+ "bbox": [
1711
+ 187,
1712
+ 229,
1713
+ 818,
1714
+ 710
1715
+ ],
1716
+ "page_idx": 15
1717
+ },
1718
+ {
1719
+ "type": "image",
1720
+ "img_path": "images/990560565dbcd6a07e4996d7818003cb2c3bd83142a60411cb3f89d685007e5c.jpg",
1721
+ "image_caption": [
1722
+ "Figure 10: See caption of Fig. 8 "
1723
+ ],
1724
+ "image_footnote": [],
1725
+ "bbox": [
1726
+ 186,
1727
+ 323,
1728
+ 802,
1729
+ 659
1730
+ ],
1731
+ "page_idx": 16
1732
+ },
1733
+ {
1734
+ "type": "image",
1735
+ "img_path": "images/cf355a52b90102bd4be7140f2db8ba50e3779dbf93c62c9815ff4022643e40ce.jpg",
1736
+ "image_caption": [
1737
+ "Figure 11: See caption of Fig. 9 "
1738
+ ],
1739
+ "image_footnote": [],
1740
+ "bbox": [
1741
+ 197,
1742
+ 252,
1743
+ 805,
1744
+ 732
1745
+ ],
1746
+ "page_idx": 17
1747
+ },
1748
+ {
1749
+ "type": "image",
1750
+ "img_path": "images/b460530421a43a7fa1d828cbce0adb372e29c25c81e9fb137bd557fbbf59743a.jpg",
1751
+ "image_caption": [
1752
+ "Figure 12: See caption of Fig. 8 "
1753
+ ],
1754
+ "image_footnote": [],
1755
+ "bbox": [
1756
+ 178,
1757
+ 321,
1758
+ 818,
1759
+ 669
1760
+ ],
1761
+ "page_idx": 18
1762
+ },
1763
+ {
1764
+ "type": "image",
1765
+ "img_path": "images/3ab71d02171ec50c23dd6fda6644669702b4f5b23939b729a36135a2e37793fd.jpg",
1766
+ "image_caption": [
1767
+ "Figure 13: See caption of Fig. 9 "
1768
+ ],
1769
+ "image_footnote": [],
1770
+ "bbox": [
1771
+ 205,
1772
+ 253,
1773
+ 797,
1774
+ 727
1775
+ ],
1776
+ "page_idx": 19
1777
+ },
1778
+ {
1779
+ "type": "image",
1780
+ "img_path": "images/318714018966fa62ece638ab99060cdcf128629a839fab7764e5e8b5f7fa177e.jpg",
1781
+ "image_caption": [
1782
+ "Figure 14: See caption of Fig. 8 "
1783
+ ],
1784
+ "image_footnote": [],
1785
+ "bbox": [
1786
+ 178,
1787
+ 321,
1788
+ 818,
1789
+ 669
1790
+ ],
1791
+ "page_idx": 20
1792
+ },
1793
+ {
1794
+ "type": "image",
1795
+ "img_path": "images/046289cc08ff0e5a719e2e8d0afd1905fc1441824afab583ecca345ad569e0ab.jpg",
1796
+ "image_caption": [
1797
+ "Figure 15: See caption of Fig. 9 "
1798
+ ],
1799
+ "image_footnote": [],
1800
+ "bbox": [
1801
+ 205,
1802
+ 252,
1803
+ 800,
1804
+ 733
1805
+ ],
1806
+ "page_idx": 21
1807
+ }
1808
+ ]
parse/train/S1x1IkHtPr/S1x1IkHtPr_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/S1x1IkHtPr/S1x1IkHtPr_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Syx9ET4YPB/Syx9ET4YPB_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Syx9ET4YPB/Syx9ET4YPB_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rklEj2EFvB/rklEj2EFvB.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rklEj2EFvB/rklEj2EFvB_model.json ADDED
The diff for this file is too large to render. See raw diff
 
vlm/train/0oabwyZbOu/0.png ADDED

Git LFS Details

  • SHA256: 8c2016f2bcc6b36bd39409e8b4f9862182f5514e85ada7462e97120124049bd7
  • Pointer size: 131 Bytes
  • Size of remote file: 576 kB
vlm/train/0oabwyZbOu/1.png ADDED

Git LFS Details

  • SHA256: bcbc8d687cfc835e44a9ae3204e1aac8cc5f3b6434080a3e80a32e1f4e427fa9
  • Pointer size: 131 Bytes
  • Size of remote file: 638 kB
vlm/train/0oabwyZbOu/10.png ADDED

Git LFS Details

  • SHA256: c853d63540661f9eb295e2713ea78039866c6860b2b27004205d926da5b9b321
  • Pointer size: 131 Bytes
  • Size of remote file: 365 kB
vlm/train/0oabwyZbOu/11.png ADDED

Git LFS Details

  • SHA256: d75f9b2b8cbd64c6f268341f7cd5387fbbd2683df3b41695e6341d22cada7e66
  • Pointer size: 131 Bytes
  • Size of remote file: 550 kB
vlm/train/0oabwyZbOu/12.png ADDED

Git LFS Details

  • SHA256: 057c2be9bca2ca27c7a9c99b05b212887ab5ad3953a037e28b706181e46e9ff8
  • Pointer size: 131 Bytes
  • Size of remote file: 557 kB
vlm/train/0oabwyZbOu/13.png ADDED

Git LFS Details

  • SHA256: caaf84f57e4620ebb89d2f1ab189b4ff8390a42123877b76db0ae151315f5ac1
  • Pointer size: 131 Bytes
  • Size of remote file: 575 kB
vlm/train/0oabwyZbOu/14.png ADDED

Git LFS Details

  • SHA256: 10143b34359d7fe3f6dfbb51dd38f53ee66dd0fbef3879b8d1e4c0514fdf70f6
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
vlm/train/0oabwyZbOu/15.png ADDED

Git LFS Details

  • SHA256: 850e87881f843c17f3a45be2e1c6262e1f0d8a34e607e7b87d0b25cfb92600a4
  • Pointer size: 131 Bytes
  • Size of remote file: 614 kB
vlm/train/0oabwyZbOu/16.png ADDED

Git LFS Details

  • SHA256: f17b34261da1cb8b91f14a049819d62464cee0855b00da6234ff8120aabe5963
  • Pointer size: 131 Bytes
  • Size of remote file: 389 kB
vlm/train/0oabwyZbOu/17.png ADDED

Git LFS Details

  • SHA256: 0e9cdbf56d82c52d330f529e378db70080aa1274b0a46de6041343914cf8e538
  • Pointer size: 131 Bytes
  • Size of remote file: 354 kB
vlm/train/0oabwyZbOu/18.png ADDED

Git LFS Details

  • SHA256: 5aec5d63c0ab637c3661a202e51a5920cec7df336e516f7da47a9972d687e3ff
  • Pointer size: 131 Bytes
  • Size of remote file: 218 kB
vlm/train/0oabwyZbOu/19.png ADDED

Git LFS Details

  • SHA256: 9fdc4235457b6531a9653884114a8aada85fb07ebbf148d759a2e248512c8a64
  • Pointer size: 131 Bytes
  • Size of remote file: 445 kB
vlm/train/0oabwyZbOu/2.png ADDED

Git LFS Details

  • SHA256: b9ea995728c46c5d883b26e82b4b010e6aca5e29488c6764a0c8f8db8cee554c
  • Pointer size: 131 Bytes
  • Size of remote file: 458 kB
vlm/train/0oabwyZbOu/20.png ADDED

Git LFS Details

  • SHA256: 17ff708288f5c27ce176af0e9dc1867902bcb0ae7d2c742121a194f927ee6524
  • Pointer size: 131 Bytes
  • Size of remote file: 874 kB
vlm/train/0oabwyZbOu/21.png ADDED

Git LFS Details

  • SHA256: 5fc4a992ebcb4b5a856731fd018297e8461452254929f80151245c1caff5b59b
  • Pointer size: 131 Bytes
  • Size of remote file: 934 kB
vlm/train/0oabwyZbOu/22.png ADDED

Git LFS Details

  • SHA256: c34f87b3b433f08d4bdcf85fd93e7f71f0d2e3da4555b735df02062c526631d8
  • Pointer size: 131 Bytes
  • Size of remote file: 917 kB
vlm/train/0oabwyZbOu/23.png ADDED

Git LFS Details

  • SHA256: 8adb343ae4ab5496e9abfb57a5b06facdd4746274f7ec1d26699bbf0856bb8cb
  • Pointer size: 131 Bytes
  • Size of remote file: 941 kB
vlm/train/0oabwyZbOu/24.png ADDED

Git LFS Details

  • SHA256: bbcf2d5b1a5afa6234ba6a49d1417c520e19116a75a15b7da6b6de035b437dce
  • Pointer size: 131 Bytes
  • Size of remote file: 920 kB
vlm/train/0oabwyZbOu/25.png ADDED

Git LFS Details

  • SHA256: 195636801d6525291aa0ee59426805c0ae30470e01eb055a853f2dd1fd85de2b
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
vlm/train/0oabwyZbOu/3.png ADDED

Git LFS Details

  • SHA256: 8de5c7ab5bb722ce7cc70706f59dad90f48abaffb2afea5e0c781e4ec5f9675d
  • Pointer size: 131 Bytes
  • Size of remote file: 572 kB
vlm/train/0oabwyZbOu/4.png ADDED

Git LFS Details

  • SHA256: 9af043bd6e93a0d8bd280b7643583a53aceed05e01646f153416c0d30db27f99
  • Pointer size: 131 Bytes
  • Size of remote file: 442 kB
vlm/train/0oabwyZbOu/5.png ADDED

Git LFS Details

  • SHA256: 86d7db752c57345462bcabce2c5900a054495db634c470619115bd623a82aee0
  • Pointer size: 131 Bytes
  • Size of remote file: 542 kB
vlm/train/0oabwyZbOu/6.png ADDED

Git LFS Details

  • SHA256: 07a48ed66c33233ac2fe33e679409aba1bab2c2b043aef104bb49c6cecb6c140
  • Pointer size: 131 Bytes
  • Size of remote file: 578 kB
vlm/train/0oabwyZbOu/7.png ADDED

Git LFS Details

  • SHA256: d4a9e9e99287885cc54ecfdbb85e67badef349d7103cbb2f040355455b2aa144
  • Pointer size: 131 Bytes
  • Size of remote file: 567 kB
vlm/train/0oabwyZbOu/8.png ADDED

Git LFS Details

  • SHA256: 3882e5f59138ace9557dab358f9a81ce9a18158fb8e8c6b133ea7f16f5b8a9b9
  • Pointer size: 131 Bytes
  • Size of remote file: 552 kB
vlm/train/0oabwyZbOu/9.png ADDED

Git LFS Details

  • SHA256: 6a2918e99d27af02f0d362513a96d0f15fb6cb4dd22b8da97e8ccb44fed43bd2
  • Pointer size: 131 Bytes
  • Size of remote file: 662 kB
vlm/train/4i23Bjlh4Y9/0.png ADDED

Git LFS Details

  • SHA256: 093c6a82212cc288c7088805ea501b5af170bcb257bc62a883d369cb426fbacd
  • Pointer size: 131 Bytes
  • Size of remote file: 436 kB
vlm/train/4i23Bjlh4Y9/1.png ADDED

Git LFS Details

  • SHA256: 1ff30c1a50f9dd7093d4e13f597a96f45d2857074aae9dcd784eaa4e535e4d9b
  • Pointer size: 131 Bytes
  • Size of remote file: 601 kB
vlm/train/4i23Bjlh4Y9/10.png ADDED

Git LFS Details

  • SHA256: ae952b64b6a938e5c416bcc5672660469a4ebcbec1243ca6205452a545677f7f
  • Pointer size: 131 Bytes
  • Size of remote file: 580 kB
vlm/train/4i23Bjlh4Y9/11.png ADDED

Git LFS Details

  • SHA256: 720b6fc8f1c71c7d676b857e3b111bd1bfe99353d55463a352174d2bdf03460e
  • Pointer size: 131 Bytes
  • Size of remote file: 579 kB