ZHANGYUXUAN-zR commited on
Commit
49040cf
·
verified ·
1 Parent(s): 3aaac39

Add files using upload-large-folder tool

Browse files
md/train/HJgXsjA5tQ/HJgXsjA5tQ.md CHANGED
@@ -486,7 +486,7 @@ $$
486
 
487
  Thus the whole line segment from $( U , V )$ to $( U , V ^ { * } )$ is contained in $L _ { \alpha }$ . Since $C$ is a connected component of $L _ { \alpha }$ which contains $( U , V )$ , it follows that $( U , V ^ { * } ) \in C$ . Moreover, one has $\Phi ( U , \bar { V } ^ { * } ) = \varphi ( G ^ { * } ) \leq \epsilon .$ , which thus implies that the loss can always be made $\epsilon$ -small inside the set $C$ for every $\epsilon \in ( p ^ { * } , \alpha )$ .
488
 
489
- 3. Let $( U _ { 0 } , V _ { 0 } )$ be a strict suboptimal local minimum, then there exists $r > 0$ such that $\Phi ( U , V ) > \Phi ( U _ { 0 } , V _ { 0 } ) > p ^ { * }$ for all $( U , V ) \in { \cal B } ( ( U _ { 0 } , V _ { 0 } ) , r ) \ : \backslash \ : \{ ( U _ { 0 } , V _ { 0 } ) \}$ where $B ( \cdot , r )$ denotes a closed ball of radius r. Let α = min(U,V )∈∂B(U0,V0),r which exists as $\Phi$ is continuous and the boundary $\partial B \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ of $B \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ is compact. Note that $\Phi ( U _ { 0 } , V _ { 0 } ) < \alpha$ as $( U _ { 0 } , V _ { 0 } )$ is a strict local minimum, and thus $( U _ { 0 } , \dot { V } _ { 0 } ) \in L _ { \alpha }$ . Let $E$ be the connected component of $L _ { \alpha }$ which contains $( U _ { 0 } , V _ { 0 } )$ , that is, $( U _ { 0 } , V _ { 0 } ) \in E \subseteq L _ { \alpha }$ . Since the loss of every point inside $E$ is strictly smaller than $\alpha$ , whereas the loss of every point on the boundary $\mathrm { \widehat { \partial } } D \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ is greater than or equal to $\alpha$ , $E$ must be contained in the interior of the ball, that is $E \subset \dot { B } \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ . Moreover, $\Phi ( U , V ) \ge \Phi ( U _ { 0 } , V _ { 0 } ) > p ^ { * }$ for every $( U , V ) \in E$ and thus the values of $\Phi$ restricted to $E$ can not be arbitrarily close to $p ^ { * }$ , which means that $E$ is a bad local valley, which contradicts G.3.2.
490
 
491
  4. The proof for cross-entropy loss is similar to Theorem 3.4. For square loss, one has
492
 
 
486
 
487
  Thus the whole line segment from $( U , V )$ to $( U , V ^ { * } )$ is contained in $L _ { \alpha }$ . Since $C$ is a connected component of $L _ { \alpha }$ which contains $( U , V )$ , it follows that $( U , V ^ { * } ) \in C$ . Moreover, one has $\Phi ( U , \bar { V } ^ { * } ) = \varphi ( G ^ { * } ) \leq \epsilon .$ , which thus implies that the loss can always be made $\epsilon$ -small inside the set $C$ for every $\epsilon \in ( p ^ { * } , \alpha )$ .
488
 
489
+ 3. Let $( U _ { 0 } , V _ { 0 } )$ be a strict suboptimal local minimum, then there exists $r > 0$ such that $\Phi ( U , V ) > \Phi ( U _ { 0 } , V _ { 0 } ) > p ^ { * }$ for all $( U , V ) \in { \cal B } ( ( U _ { 0 } , V _ { 0 } ) , r ) \ : \backslash \ : \{ ( U _ { 0 } , V _ { 0 } ) \}$ where $B ( \cdot , r )$ denotes a closed ball of radius r. Let α = min(U,V )∈∂B(U0,V0),r which exists as $\Phi$ is continuous and the boundary $\partial B \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ of $B \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ is compact. Note that $\Phi ( U _ { 0 } , V _ { 0 } ) < \alpha$ as $( U _ { 0 } , V _ { 0 } )$ is a strict local minimum, and thus $( U _ { 0 } , \dot { V } _ { 0 } ) \in L _ { \alpha }$ . Let $E$ be the connected component of $L _ { \alpha }$ which contains $( U _ { 0 } , V _ { 0 } )$ , that is, $( U _ { 0 } , V _ { 0 } ) \in E \subseteq L _ { \alpha }$ . Since the loss of every point inside $E$ is strictly smaller than $\alpha$ , whereas the loss of every point on the boundary $\mathrm { \widehat { \partial } } D \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ is greater than or equal to $\alpha$ , $E$ must be contained in the interior of the ball, that is $E \subset \dot { B } \big ( ( U _ { 0 } , V _ { 0 } ) , r \big )$ . Moreover, $\Phi ( U , V ) \ge \Phi ( U _ { 0 } , V _ { 0 } ) > p ^ { * }$ for every $( U , V ) \in E$ and thus the values of $\Phi$ restricted to $E$ can not be arbitrarily close to $p ^ { * }$ , which means that $E$ is a bad local valley, which contradicts G.3.2.
490
 
491
  4. The proof for cross-entropy loss is similar to Theorem 3.4. For square loss, one has
492
 
md/train/PbEHqvFtcS/PbEHqvFtcS.md CHANGED
@@ -112,13 +112,13 @@ $$
112
  \| \nabla f ( x _ { t } ) \| \le \varepsilon \quad a n d \quad \nabla ^ { 2 } f ( x _ { t } ) \succeq - \sqrt { \varepsilon } { \bf I } .
113
  $$
114
 
115
- Remark 2.4. If one only wishes to achieve a significantly simpler goal — finding first-order critical points $\| \nabla f ( x _ { t } ) \| \leq \varepsilon$ — the analysis becomes much easier (see Section 3.1). In particular, having one safe guard without perturbation (i.e. $\nu = 0$ ) suffices, and the iteration complexity reduces to T = Oe f(x0)−min f(x)ε4 (α2 + 1m ). Bulusu et al. (2020) achieves this easier goal but requires an additional assumption: there is one guaranteed good worker known by the master.
116
 
117
  Our contribution. We reiterate our theoretical contributions from three perspectives. 1) When $\alpha < 1 / \sqrt { m }$ , our algorithm requires $\begin{array} { r } { m T = \widetilde { O } \big ( \frac { ( f ( x _ { 0 } ) - \operatorname* { m i n } f ( x ) ) d } { \varepsilon ^ { 4 } } \big ) } \end{array}$ stochastic gradient computations. This matches the best known result (Jin et al., 2019) under our minimal assumptions of the nonconvex objective. (There exist other works in the stochastic setting that break the $\varepsilon ^ { - 4 }$ barrier and get rid of the dimension dependence $d$ under stronger assumptions.)5. 2) When $\alpha < 1 / \sqrt { m }$ , our algorithm enjoys linear parallel speed-up: the parallel time complexity reduces by a factor of $\Theta ( m )$ . When $\alpha \in [ 1 / \sqrt { m } , 1 / 2 )$ , our parallel time complexity is $\widetilde { O } ( \alpha ^ { 2 } )$ times that needed when no parallelism is used, still giving noticeable speedup. The $\textstyle { \hat { \alpha } } ^ { 2 }$ factor also appeared in convex Byzantine distributed optimization (and is known to be tight there) (Yin et al., 2018; Alistarh et al., 2018).
118
 
119
  Comparison to (Yin et al., 2019). Yin et al. (2019) derived three gradient descent-type algorithms to find points with a weaker (and less standard) guarantee: $\| \nabla f ( x ) \| ~ \leq ~ \varepsilon$ and $\bar { \nabla ^ { 2 } } f ( x ) ~ \succeq ~ - ( \varepsilon ^ { 2 } d ) ^ { \bar { 1 } / 5 } \mathbf { I }$ . Despite practical differences (namely, gradient descent may be less favorable comparing to stochastic gradient descent especially in deep learning applications), the parallel time complexities derived from their result are also generally larger than ours.
120
 
121
- Their paper focuses on bounding the number of sampled stochastic functions, as opposed to the number of stochastic gradient evaluations like we do. When translated to our language, each of the workers in their setting needs to evaluate T stochastic gradients, where (1) T = Oe α2dε4 $\begin{array} { r } { 1 ) T = \widetilde { O } \big ( \frac { \alpha ^ { 2 } \overline { { d } } } { \varepsilon ^ { 4 } } + \frac { d ^ { 2 } } { \varepsilon ^ { 4 } m } + \frac { \sqrt { d } } { \varepsilon ^ { 3 } } \big ) } \end{array}$ if using coordinate-wise median, (2) T = Oe α2d2ε4 $\begin{array} { r } { T = \widetilde { O } \big ( \frac { \alpha } { \varepsilon ^ { 4 } } + \frac { d } { \varepsilon ^ { 4 } m } \big ) } \end{array}$ if using iterative filt if using trimmed mean, and (3)(1) and (2) are larger than ours (also with a weaker guarantee); the complexity (3) seems incomparable to ours, but when translating to the more standard (ε, √ε) guarantee, becomes T = Oe αd2ε5 $\begin{array} { r } { T = \widetilde { \cal O } \big ( \frac { \alpha d ^ { 2 } } { \varepsilon ^ { 5 } } + \frac { d ^ { 3 } } { \varepsilon ^ { 5 } m } \big ) } \end{array}$ so is also larger than ours. It is worth noting that (3) requires $\alpha < 1 / 4$ so cannot withstand half of the machines being Byzantine.
122
 
123
  Resilience against practical attacks. Our algorithm’s filtering is based upon tracking $B _ { i }$ (resp. $A _ { i , { \bf \Pi } }$ ), the stochastic gradients of each machine $i$ averaged over a window of $T _ { 0 }$ (resp. $T _ { 1 . }$ ) iterations. This is a departure from previous defenses, most of which are history-less, and enables us to be provably Byzantine-resilient against state-of-the-art attacks (Baruch et al., 2019; Xie et al., 2020).
124
 
 
112
  \| \nabla f ( x _ { t } ) \| \le \varepsilon \quad a n d \quad \nabla ^ { 2 } f ( x _ { t } ) \succeq - \sqrt { \varepsilon } { \bf I } .
113
  $$
114
 
115
+ Remark 2.4. If one only wishes to achieve a significantly simpler goal — finding first-order critical points $\| \nabla f ( x _ { t } ) \| \leq \varepsilon$ — the analysis becomes much easier (see Section 3.1). In particular, having one safe guard without perturbation (i.e. $\nu = 0$ ) suffices, and the iteration complexity reduces to T = Oe f(x0)−min f(x)ε4 (α2 + 1m ). Bulusu et al. (2020) achieves this easier goal but requires an additional assumption: there is one guaranteed good worker known by the master.
116
 
117
  Our contribution. We reiterate our theoretical contributions from three perspectives. 1) When $\alpha < 1 / \sqrt { m }$ , our algorithm requires $\begin{array} { r } { m T = \widetilde { O } \big ( \frac { ( f ( x _ { 0 } ) - \operatorname* { m i n } f ( x ) ) d } { \varepsilon ^ { 4 } } \big ) } \end{array}$ stochastic gradient computations. This matches the best known result (Jin et al., 2019) under our minimal assumptions of the nonconvex objective. (There exist other works in the stochastic setting that break the $\varepsilon ^ { - 4 }$ barrier and get rid of the dimension dependence $d$ under stronger assumptions.)5. 2) When $\alpha < 1 / \sqrt { m }$ , our algorithm enjoys linear parallel speed-up: the parallel time complexity reduces by a factor of $\Theta ( m )$ . When $\alpha \in [ 1 / \sqrt { m } , 1 / 2 )$ , our parallel time complexity is $\widetilde { O } ( \alpha ^ { 2 } )$ times that needed when no parallelism is used, still giving noticeable speedup. The $\textstyle { \hat { \alpha } } ^ { 2 }$ factor also appeared in convex Byzantine distributed optimization (and is known to be tight there) (Yin et al., 2018; Alistarh et al., 2018).
118
 
119
  Comparison to (Yin et al., 2019). Yin et al. (2019) derived three gradient descent-type algorithms to find points with a weaker (and less standard) guarantee: $\| \nabla f ( x ) \| ~ \leq ~ \varepsilon$ and $\bar { \nabla ^ { 2 } } f ( x ) ~ \succeq ~ - ( \varepsilon ^ { 2 } d ) ^ { \bar { 1 } / 5 } \mathbf { I }$ . Despite practical differences (namely, gradient descent may be less favorable comparing to stochastic gradient descent especially in deep learning applications), the parallel time complexities derived from their result are also generally larger than ours.
120
 
121
+ Their paper focuses on bounding the number of sampled stochastic functions, as opposed to the number of stochastic gradient evaluations like we do. When translated to our language, each of the workers in their setting needs to evaluate T stochastic gradients, where (1) T = Oe α2dε4 $\begin{array} { r } { 1 ) T = \widetilde { O } \big ( \frac { \alpha ^ { 2 } \overline { { d } } } { \varepsilon ^ { 4 } } + \frac { d ^ { 2 } } { \varepsilon ^ { 4 } m } + \frac { \sqrt { d } } { \varepsilon ^ { 3 } } \big ) } \end{array}$ if using coordinate-wise median, (2) T = Oe α2d2ε4 $\begin{array} { r } { T = \widetilde { O } \big ( \frac { \alpha } { \varepsilon ^ { 4 } } + \frac { d } { \varepsilon ^ { 4 } m } \big ) } \end{array}$ if using iterative filt if using trimmed mean, and (3)(1) and (2) are larger than ours (also with a weaker guarantee); the complexity (3) seems incomparable to ours, but when translating to the more standard (ε, √ε) guarantee, becomes T = Oe αd2ε5 $\begin{array} { r } { T = \widetilde { \cal O } \big ( \frac { \alpha d ^ { 2 } } { \varepsilon ^ { 5 } } + \frac { d ^ { 3 } } { \varepsilon ^ { 5 } m } \big ) } \end{array}$ so is also larger than ours. It is worth noting that (3) requires $\alpha < 1 / 4$ so cannot withstand half of the machines being Byzantine.
122
 
123
  Resilience against practical attacks. Our algorithm’s filtering is based upon tracking $B _ { i }$ (resp. $A _ { i , { \bf \Pi } }$ ), the stochastic gradients of each machine $i$ averaged over a window of $T _ { 0 }$ (resp. $T _ { 1 . }$ ) iterations. This is a departure from previous defenses, most of which are history-less, and enables us to be provably Byzantine-resilient against state-of-the-art attacks (Baruch et al., 2019; Xie et al., 2020).
124
 
md/train/af_hng9tuNj/af_hng9tuNj.md CHANGED
@@ -135,13 +135,13 @@ How to set $c _ { i j } \mathbf { \hat { \theta } } ^ { } $ Breaking symmetries.
135
 
136
  Final LS assembly for a single bond. We now describe the assembly process depicted in fig. $\boxed { 5 }$ We first predict the LS of node $\mathrm { X }$ as in section $\boxed { 2 . 3 }$ obtaining several 3D coordinates: $\mathbf { p } _ { X } = \mathbf { 0 } , \mathbf { p } _ { Y } , \mathbf { \overline { { \mathbf { p } } } } _ { T _ { i } } \in$ $\mathbb { R } ^ { 3 } , \dot { \forall } i \in [ 1 . . n ]$ , as well as the LS of node $\mathrm { Y }$ : $\mathbf { q } _ { Y } = \bar { \mathbf { 0 } _ { \cdot } } \mathbf { q } _ { X } , \mathbf { q } _ { Z _ { j } } \in \mathbb { R } ^ { 3 } , \forall j \in [ 1 . . m ]$ . By design, we have that $\| \mathbf { q } _ { X } \| = \| \mathbf { p } _ { Y } \|$ . These two sets are currently not aligned. To achieve this, we first rotate the LS of $\mathrm { X }$ such that $\mathbf { p } _ { Y }$ becomes $\left[ \left. \mathbf { p } _ { Y } \right. \quad 0 \quad 0 \right] ^ { \intercal }$ , while $\mathbf { p } _ { X }$ remains 0. Next, we rotate and translate the LS of $\mathrm { Y }$ such that $\mathbf { q } _ { Y }$ becomes $\mathbf { p } _ { Y }$ and $\mathbf { q } _ { X }$ becomes $\mathbf { p } _ { X } = \mathbf { 0 }$ . These two rotations have one degree of freedom each, which we set randomly. Exact formulas are in appendix B. Thus, the bond XY is now matched, but the torsional rotation is still arbitrary/random. The remaining step is to rotate the LS of $\mathrm { X }$ with an angle $\gamma$ such that all dihedrals $\angle ( X Y T _ { i } , X Y Z _ { j } )$ match their true counterparts. This is done by applying to all vectors $\mathbf { p } _ { T _ { i } }$ the same rotation of type: $\mathbf { H } _ { \gamma } : = \left[ \begin{array} { c c c } { 1 } & { 0 } & { 0 } \\ { 0 } & { \cos ( \gamma ) } & { - \sin ( \gamma ) } \\ { 0 } & { \sin ( \gamma ) } & { \cos ( \gamma ) } \end{array} \right] .$
137
 
138
- How to compute $\gamma$ ? The current dihedrals $\Delta _ { i j } ^ { c u r } \ \stackrel { \mathsf { d e f } } { = } \ \angle ^ { c u r } ( X Y T _ { i } , X Y Z _ { j } )$ depend on the random torsional rotations from the initial assembly step of LS of $\mathbf { X }$ and of $\mathrm { Y }$ . After applying the $\mathbf { H } _ { \gamma }$ rotation, we obtain the new dihedral angles: $[ \Delta _ { i j } ^ { c u r } - \gamma ]$ mod $2 \pi$ that should match the ground truth dihedral angles $\Delta _ { i j } ^ { * } \ { \stackrel { \mathrm { d e f } } { = } } \ \angle ^ { * } ( X Y T _ { i } , X Y Z _ { j } )$ . This is equivalently written as $\mathbf { s } _ { i j } ^ { * } = \mathbf { A } _ { i j } ^ { c u r } \mathbf { s } _ { \gamma }$ , where $\mathbf { s } _ { \gamma } \ { \stackrel { \mathrm { d e f } } { = } } \ \left[ \cos ( \gamma ) \right]$ and Acurij def=  $\begin{array} { r } { \mathbf { A } _ { i j } ^ { c u r } \stackrel { \mathrm { d e f } } { = } \left[ \begin{array} { c c } { \cos ( \Delta _ { i j } ^ { c u r } ) } & { \sin ( \Delta _ { i j } ^ { c u r } ) } \\ { \sin ( \Delta _ { i j } ^ { c u r } ) } & { - \cos ( \Delta _ { i j } ^ { c u r } ) } \end{array} \right] . } \end{array}$ . Let $\begin{array} { r } { \mathbf { s } ^ { * } \overset { \mathrm { d e f } } { = } \sum _ { i , j } c _ { i j } \mathbf { s } _ { i j } ^ { * } } \end{array}$ and $\mathbf { A } ^ { c u r } \ { \stackrel { \mathrm { d e } 1 } { = } }$ $\begin{array} { r } { \sum _ { i , j } c _ { i j } \mathbf { A } _ { i j } ^ { c u r } } \end{array}$ . The necessary condition for becomes $\mathbf { s } _ { \gamma } = \left( \mathbf { A } ^ { c u r } \right) ^ { \top } \mathbf { s } ^ { * }$ , which is also sufficient due i,j to proposition $\bigstar \bigstar \bigstar$ This implies it is enough to predict only the normalized $\frac { \mathbf { s } ^ { * } } { \| \mathbf { s } ^ { * } \| }$ and, in practice, we do that by predicting $\mathbf { s } _ { \alpha } \triangleq \left[ \cos ( \alpha ) \right]$ using a function commutative in $\mathrm { X }$ and $\mathrm { Y }$ (i.e., swapping $\mathrm { X }$ and $\mathrm { Y }$ does not change $\alpha$ ):
139
 
140
  $$
141
  \alpha = [ \phi ( \mathbf { h } _ { X } , \mathbf { h } _ { Y } , \mathbf { h } _ { m o l } ) + \phi ( \mathbf { h } _ { Y } , \mathbf { h } _ { X } , \mathbf { h } _ { m o l } ) ] { \bmod { 2 \pi } }
142
  $$
143
 
144
- where is a neural network (e.g., MLP). Finally, s = $\begin{array} { r } { { \bf s } _ { \gamma } = \left[ \begin{array} { c c } { \cos ( \gamma ) } \\ { \sin ( \gamma ) } \end{array} \right] = \frac { 1 } { \Vert ( { \bf A } ^ { c u r } ) ^ { \top } { \bf s } _ { \alpha } \Vert } \left( { \bf A } ^ { c u r } \right) ^ { \top } { \bf s } _ { \alpha } . } \end{array}$
145
 
146
  # 2.5 An optimal transport (OT) loss function for diverse conformer generation
147
 
 
135
 
136
  Final LS assembly for a single bond. We now describe the assembly process depicted in fig. $\boxed { 5 }$ We first predict the LS of node $\mathrm { X }$ as in section $\boxed { 2 . 3 }$ obtaining several 3D coordinates: $\mathbf { p } _ { X } = \mathbf { 0 } , \mathbf { p } _ { Y } , \mathbf { \overline { { \mathbf { p } } } } _ { T _ { i } } \in$ $\mathbb { R } ^ { 3 } , \dot { \forall } i \in [ 1 . . n ]$ , as well as the LS of node $\mathrm { Y }$ : $\mathbf { q } _ { Y } = \bar { \mathbf { 0 } _ { \cdot } } \mathbf { q } _ { X } , \mathbf { q } _ { Z _ { j } } \in \mathbb { R } ^ { 3 } , \forall j \in [ 1 . . m ]$ . By design, we have that $\| \mathbf { q } _ { X } \| = \| \mathbf { p } _ { Y } \|$ . These two sets are currently not aligned. To achieve this, we first rotate the LS of $\mathrm { X }$ such that $\mathbf { p } _ { Y }$ becomes $\left[ \left. \mathbf { p } _ { Y } \right. \quad 0 \quad 0 \right] ^ { \intercal }$ , while $\mathbf { p } _ { X }$ remains 0. Next, we rotate and translate the LS of $\mathrm { Y }$ such that $\mathbf { q } _ { Y }$ becomes $\mathbf { p } _ { Y }$ and $\mathbf { q } _ { X }$ becomes $\mathbf { p } _ { X } = \mathbf { 0 }$ . These two rotations have one degree of freedom each, which we set randomly. Exact formulas are in appendix B. Thus, the bond XY is now matched, but the torsional rotation is still arbitrary/random. The remaining step is to rotate the LS of $\mathrm { X }$ with an angle $\gamma$ such that all dihedrals $\angle ( X Y T _ { i } , X Y Z _ { j } )$ match their true counterparts. This is done by applying to all vectors $\mathbf { p } _ { T _ { i } }$ the same rotation of type: $\mathbf { H } _ { \gamma } : = \left[ \begin{array} { c c c } { 1 } & { 0 } & { 0 } \\ { 0 } & { \cos ( \gamma ) } & { - \sin ( \gamma ) } \\ { 0 } & { \sin ( \gamma ) } & { \cos ( \gamma ) } \end{array} \right] .$
137
 
138
+ How to compute $\gamma$ ? The current dihedrals $\Delta _ { i j } ^ { c u r } \ \stackrel { \mathsf { d e f } } { = } \ \angle ^ { c u r } ( X Y T _ { i } , X Y Z _ { j } )$ depend on the random torsional rotations from the initial assembly step of LS of $\mathbf { X }$ and of $\mathrm { Y }$ . After applying the $\mathbf { H } _ { \gamma }$ rotation, we obtain the new dihedral angles: $[ \Delta _ { i j } ^ { c u r } - \gamma ]$ mod $2 \pi$ that should match the ground truth dihedral angles $\Delta _ { i j } ^ { * } \ { \stackrel { \mathrm { d e f } } { = } } \ \angle ^ { * } ( X Y T _ { i } , X Y Z _ { j } )$ . This is equivalently written as $\mathbf { s } _ { i j } ^ { * } = \mathbf { A } _ { i j } ^ { c u r } \mathbf { s } _ { \gamma }$ , where $\mathbf { s } _ { \gamma } \ { \stackrel { \mathrm { d e f } } { = } } \ \left[ \cos ( \gamma ) \right]$ and Acurij def=  $\begin{array} { r } { \mathbf { A } _ { i j } ^ { c u r } \stackrel { \mathrm { d e f } } { = } \left[ \begin{array} { c c } { \cos ( \Delta _ { i j } ^ { c u r } ) } & { \sin ( \Delta _ { i j } ^ { c u r } ) } \\ { \sin ( \Delta _ { i j } ^ { c u r } ) } & { - \cos ( \Delta _ { i j } ^ { c u r } ) } \end{array} \right] . } \end{array}$ . Let $\begin{array} { r } { \mathbf { s } ^ { * } \overset { \mathrm { d e f } } { = } \sum _ { i , j } c _ { i j } \mathbf { s } _ { i j } ^ { * } } \end{array}$ and $\mathbf { A } ^ { c u r } \ { \stackrel { \mathrm { d e } 1 } { = } }$ $\begin{array} { r } { \sum _ { i , j } c _ { i j } \mathbf { A } _ { i j } ^ { c u r } } \end{array}$ . The necessary condition for becomes $\mathbf { s } _ { \gamma } = \left( \mathbf { A } ^ { c u r } \right) ^ { \top } \mathbf { s } ^ { * }$ , which is also sufficient due i,j to proposition $\bigstar \bigstar \bigstar$ This implies it is enough to predict only the normalized $\frac { \mathbf { s } ^ { * } } { \| \mathbf { s } ^ { * } \| }$ and, in practice, we do that by predicting $\mathbf { s } _ { \alpha } \triangleq \left[ \cos ( \alpha ) \right]$ using a function commutative in $\mathrm { X }$ and $\mathrm { Y }$ (i.e., swapping $\mathrm { X }$ and $\mathrm { Y }$ does not change $\alpha$ ):
139
 
140
  $$
141
  \alpha = [ \phi ( \mathbf { h } _ { X } , \mathbf { h } _ { Y } , \mathbf { h } _ { m o l } ) + \phi ( \mathbf { h } _ { Y } , \mathbf { h } _ { X } , \mathbf { h } _ { m o l } ) ] { \bmod { 2 \pi } }
142
  $$
143
 
144
+ where is a neural network (e.g., MLP). Finally, s = $\begin{array} { r } { { \bf s } _ { \gamma } = \left[ \begin{array} { c c } { \cos ( \gamma ) } \\ { \sin ( \gamma ) } \end{array} \right] = \frac { 1 } { \Vert ( { \bf A } ^ { c u r } ) ^ { \top } { \bf s } _ { \alpha } \Vert } \left( { \bf A } ^ { c u r } \right) ^ { \top } { \bf s } _ { \alpha } . } \end{array}$
145
 
146
  # 2.5 An optimal transport (OT) loss function for diverse conformer generation
147
 
md/train/oh71uL93yay/oh71uL93yay.md CHANGED
@@ -104,7 +104,7 @@ It is also worth noticing how the optimal $A ^ { * }$ is configured. The princip
104
 
105
  # 2.4 ANALYSIS OF GCN-LPA MODEL BEHAVIOR
106
 
107
- In this subsection, we show benefits of our unified model compared with GCN by analyzing properties of embeddings produced by the two models. We first analyze the update rule of GCN for node $\begin{array} { r } { \mathbf { \Phi } _ { \upsilon i } \colon \mathbf { x } _ { i } ^ { ( k + 1 ) } = \sigma \left( \sum _ { v _ { j } \in \mathcal { N } ( v _ { i } ) } \tilde { a } _ { i j } \mathbf { x } _ { j } ^ { ( k ) } W ^ { ( k ) } \right) } \end{array}$ , where $\tilde { a } _ { i j } = a _ { i j } / d _ { i i }$ is the normalized weight of edge $( j , i )$ . This formula can be decomposed into the following two steps: (1) In aggregation step, we calculate the aggregated representation ${ \bf h } _ { i } ^ { ( k ) }$ of all neighborhoods $\begin{array} { r } { \mathcal { N } ( v _ { i } ) \colon { \mathbf { h } } _ { i } ^ { ( k ) } = \sum _ { v _ { j } \in \mathcal { N } ( v _ { i } ) } \tilde { a } _ { i j } { \mathbf { x } } _ { j } ^ { ( k ) } } \end{array}$ (2) In transformation step, the aggregated representation ${ \bf h } _ { i } ^ { ( k ) }$ is mapped to a new space by a transformation matrix and nonlinear function: x(k+1)i = σh(k)i W (k). We show by the following theorem that the aggregation step reduces the overall distance in the embedding space between the nodes that are connected in the graph:
108
 
109
  Theorem 3 (Shrinking property in GCN) Let $\begin{array} { r } { D ( \mathbf { x } ) = \frac { 1 } { 2 } \sum _ { v _ { i } , v _ { j } } \widetilde { a } _ { i j } \| \mathbf { x } _ { i } - \mathbf { x } _ { j } \| _ { 2 } ^ { 2 } } \end{array}$ be a distance metric over node embeddings x. Then we have $D ( \mathbf { h } ^ { ( k ) } ) \leq D ( \mathbf { x } ^ { ( k ) } )$ .
110
 
 
104
 
105
  # 2.4 ANALYSIS OF GCN-LPA MODEL BEHAVIOR
106
 
107
+ In this subsection, we show benefits of our unified model compared with GCN by analyzing properties of embeddings produced by the two models. We first analyze the update rule of GCN for node $\begin{array} { r } { \mathbf { \Phi } _ { \upsilon i } \colon \mathbf { x } _ { i } ^ { ( k + 1 ) } = \sigma \left( \sum _ { v _ { j } \in \mathcal { N } ( v _ { i } ) } \tilde { a } _ { i j } \mathbf { x } _ { j } ^ { ( k ) } W ^ { ( k ) } \right) } \end{array}$ , where $\tilde { a } _ { i j } = a _ { i j } / d _ { i i }$ is the normalized weight of edge $( j , i )$ . This formula can be decomposed into the following two steps: (1) In aggregation step, we calculate the aggregated representation ${ \bf h } _ { i } ^ { ( k ) }$ of all neighborhoods $\begin{array} { r } { \mathcal { N } ( v _ { i } ) \colon { \mathbf { h } } _ { i } ^ { ( k ) } = \sum _ { v _ { j } \in \mathcal { N } ( v _ { i } ) } \tilde { a } _ { i j } { \mathbf { x } } _ { j } ^ { ( k ) } } \end{array}$ (2) In transformation step, the aggregated representation ${ \bf h } _ { i } ^ { ( k ) }$ is mapped to a new space by a transformation matrix and nonlinear function: x(k+1)i = σh(k)i W (k). We show by the following theorem that the aggregation step reduces the overall distance in the embedding space between the nodes that are connected in the graph:
108
 
109
  Theorem 3 (Shrinking property in GCN) Let $\begin{array} { r } { D ( \mathbf { x } ) = \frac { 1 } { 2 } \sum _ { v _ { i } , v _ { j } } \widetilde { a } _ { i j } \| \mathbf { x } _ { i } - \mathbf { x } _ { j } \| _ { 2 } ^ { 2 } } \end{array}$ be a distance metric over node embeddings x. Then we have $D ( \mathbf { h } ^ { ( k ) } ) \leq D ( \mathbf { x } ^ { ( k ) } )$ .
110
 
md/train/rygunsAqYQ/rygunsAqYQ.md CHANGED
@@ -364,7 +364,7 @@ $$
364
 
365
  We can also do the same for $\begin{array} { r } { \int _ { 0 } ^ { \infty } \left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z ^ { \prime } \right) \right) ^ { m } d t } \end{array}$ .
366
 
367
- Because $G _ { i } ^ { * } ( h , z ) < G _ { i } ^ { * } ( h , z ^ { \prime } ) \forall h \in ( 0 , \operatorname* { m i n } ( \delta , \delta ^ { \prime } ) ) ,$ , $G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ) < G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ^ { \prime } ) \ \forall t \in ( 0 , \alpha )$ . It follows that $\begin{array} { r l r } { 1 ~ - ~ G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ) } & { { } > } & { 1 ~ - ~ G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ^ { \prime } ) } \end{array}$ and $\left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z \right) \right) ^ { m } \quad >$ 1 − G∗i (κtd/2, z0)m $\big ( 1 - G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ^ { \prime } ) \big ) ^ { m } \qquad \forall t \qquad \in \qquad ( 0 , \alpha ) .$ . So, $\begin{array} { r l r } { \int _ { 0 } ^ { \alpha } \left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z \right) \right) ^ { m } d t } & { { } } & { : } \end{array}$ > $\begin{array} { r } { \int _ { 0 } ^ { \alpha } \left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z ^ { \prime } \right) \right) ^ { m } d t } \end{array}$ .
368
 
369
  We now consider the second term. First, observe that $F _ { i } ^ { \theta } ( t ) ~ = ~ \operatorname* { P r } \left( \left\| { \tilde { \mathbf { x } } } _ { 1 } ^ { \theta } - \mathbf { x } _ { i } \right\| _ { 2 } ^ { 2 } \leq t \right) ~ =$ $\begin{array} { r l r } { \mathrm { P r } \left( \kappa \left\| \tilde { \mathbf { x } } _ { 1 } ^ { \theta } - \mathbf { x } _ { i } \right\| _ { 2 } ^ { d } \leq \kappa t ^ { d / 2 } \right) } & { = } & { G _ { i } ^ { \theta } \left( \kappa t ^ { d / 2 } \right) } \end{array}$ for all $t ~ \geq ~ 0$ . So, by the property of $P _ { \theta }$ , for any $\theta _ { 1 } , \theta _ { 2 }$ , there exists $\theta _ { 0 }$ such that $G _ { i } ^ { \theta _ { 0 } } \big ( \kappa t ^ { d / 2 } \big ) = F _ { i } ^ { \theta _ { 0 } } ( t ) \ge \operatorname* { m a x } \Big \{ F _ { i } ^ { \theta _ { 1 } } ( t ) , F _ { i } ^ { \theta _ { 2 } } ( t ) \Big \} = $ max $\left\{ G _ { i } ^ { \theta _ { 1 } } \big ( \kappa t ^ { d / 2 } \big ) , G _ { i } ^ { \theta _ { 2 } } \big ( \kappa t ^ { d / 2 } \big ) \right\} \forall t \geq 0$ and ∂+Gθ0i (0) = pθ0 (xi) = max {pθ1 (xi), pθ2 (xi)} = max $\left\{ \partial _ { + } G _ { i } ^ { \theta _ { 1 } } ( 0 ) , \partial _ { + } G _ { i } ^ { \theta _ { 2 } } ( 0 ) \right\}$ .
370
 
 
364
 
365
  We can also do the same for $\begin{array} { r } { \int _ { 0 } ^ { \infty } \left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z ^ { \prime } \right) \right) ^ { m } d t } \end{array}$ .
366
 
367
+ Because $G _ { i } ^ { * } ( h , z ) < G _ { i } ^ { * } ( h , z ^ { \prime } ) \forall h \in ( 0 , \operatorname* { m i n } ( \delta , \delta ^ { \prime } ) ) ,$ , $G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ) < G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ^ { \prime } ) \ \forall t \in ( 0 , \alpha )$ . It follows that $\begin{array} { r l r } { 1 ~ - ~ G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ) } & { { } > } & { 1 ~ - ~ G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ^ { \prime } ) } \end{array}$ and $\left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z \right) \right) ^ { m } \quad >$ 1 − G∗i (κtd/2, z0)m $\big ( 1 - G _ { i } ^ { * } ( \kappa t ^ { d / 2 } , z ^ { \prime } ) \big ) ^ { m } \qquad \forall t \qquad \in \qquad ( 0 , \alpha ) .$ . So, $\begin{array} { r l r } { \int _ { 0 } ^ { \alpha } \left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z \right) \right) ^ { m } d t } & { { } } & { : } \end{array}$ > $\begin{array} { r } { \int _ { 0 } ^ { \alpha } \left( 1 - G _ { i } ^ { * } \left( \kappa t ^ { d / 2 } , z ^ { \prime } \right) \right) ^ { m } d t } \end{array}$ .
368
 
369
  We now consider the second term. First, observe that $F _ { i } ^ { \theta } ( t ) ~ = ~ \operatorname* { P r } \left( \left\| { \tilde { \mathbf { x } } } _ { 1 } ^ { \theta } - \mathbf { x } _ { i } \right\| _ { 2 } ^ { 2 } \leq t \right) ~ =$ $\begin{array} { r l r } { \mathrm { P r } \left( \kappa \left\| \tilde { \mathbf { x } } _ { 1 } ^ { \theta } - \mathbf { x } _ { i } \right\| _ { 2 } ^ { d } \leq \kappa t ^ { d / 2 } \right) } & { = } & { G _ { i } ^ { \theta } \left( \kappa t ^ { d / 2 } \right) } \end{array}$ for all $t ~ \geq ~ 0$ . So, by the property of $P _ { \theta }$ , for any $\theta _ { 1 } , \theta _ { 2 }$ , there exists $\theta _ { 0 }$ such that $G _ { i } ^ { \theta _ { 0 } } \big ( \kappa t ^ { d / 2 } \big ) = F _ { i } ^ { \theta _ { 0 } } ( t ) \ge \operatorname* { m a x } \Big \{ F _ { i } ^ { \theta _ { 1 } } ( t ) , F _ { i } ^ { \theta _ { 2 } } ( t ) \Big \} = $ max $\left\{ G _ { i } ^ { \theta _ { 1 } } \big ( \kappa t ^ { d / 2 } \big ) , G _ { i } ^ { \theta _ { 2 } } \big ( \kappa t ^ { d / 2 } \big ) \right\} \forall t \geq 0$ and ∂+Gθ0i (0) = pθ0 (xi) = max {pθ1 (xi), pθ2 (xi)} = max $\left\{ \partial _ { + } G _ { i } ^ { \theta _ { 1 } } ( 0 ) , \partial _ { + } G _ { i } ^ { \theta _ { 2 } } ( 0 ) \right\}$ .
370
 
md/train/uk-3aIx54t/uk-3aIx54t.md CHANGED
@@ -240,7 +240,7 @@ $$
240
  199 $X _ { i }$ in the causal graph. To fulfill this property, the GNN of the decoder should satisfy the following:
241
  200 Proposition 1. (Causal factorization). VCAUSE satisfies causal factorization, $p _ { \theta } ( \mathbf { X } \mid \mathbf { Z } , \mathbf { A } ) =$
242
  201 $\prod _ { i } { \bar { p } } _ { \theta _ { i } } ( X _ { i } \mid \mathbf { Z } _ { a n ^ { * } ( i ) } )$ , if and only if the number of hidden layers in the decoder is greater or equal
243
- 202 than $\delta - 1$ , with being the longest shortest directed path between any two endogenous nodes.
244
  203 The above proposition (proved in Appendix $\boxed { \mathbf { B } }$ is based on the fact that, in a GNN with $N _ { h }$ hidden
245
  204 layers (and $N _ { h } + 1$ layers in total), the output for the $i$ -th node depends on its neighbors of up
246
  205 to $N _ { h } + 1$ hops. As an example, consider the following chain causal graph: $X _ { 1 } X _ { 2 } X _ { 3 }$ ,
 
240
  199 $X _ { i }$ in the causal graph. To fulfill this property, the GNN of the decoder should satisfy the following:
241
  200 Proposition 1. (Causal factorization). VCAUSE satisfies causal factorization, $p _ { \theta } ( \mathbf { X } \mid \mathbf { Z } , \mathbf { A } ) =$
242
  201 $\prod _ { i } { \bar { p } } _ { \theta _ { i } } ( X _ { i } \mid \mathbf { Z } _ { a n ^ { * } ( i ) } )$ , if and only if the number of hidden layers in the decoder is greater or equal
243
+ 202 than $\delta - 1$ , with being the longest shortest directed path between any two endogenous nodes.
244
  203 The above proposition (proved in Appendix $\boxed { \mathbf { B } }$ is based on the fact that, in a GNN with $N _ { h }$ hidden
245
  204 layers (and $N _ { h } + 1$ layers in total), the output for the $i$ -th node depends on its neighbors of up
246
  205 to $N _ { h } + 1$ hops. As an example, consider the following chain causal graph: $X _ { 1 } X _ { 2 } X _ { 3 }$ ,