ZHANGYUXUAN-zR commited on
Commit
da2cede
·
verified ·
1 Parent(s): ca569d3

Add files using upload-large-folder tool

Browse files
parse/dev/4p6_5HBWPCw/4p6_5HBWPCw.md CHANGED
@@ -153,7 +153,7 @@ Figure 4: Loss curves on CPF datasets show GLNN distillation can help to regular
153
 
154
  Intuitively, the addition of neighbor information makes GNNs more powerful than MLPs when classifying nodes. Thus, a natural question regarding KD from GNNs to MLPs is whether MLPs are expressive enough to represent graph data as well as GNNs. Many recent works studied GNN model expressiveness (Xu et al., 2018; Chen et al., 2021). The latter analyzed GNNs and GA-MLPs for node classification and characterized expressiveness as the number of equivalence classes of rooted graphs induced by the model (formal definitions in Appendix D). The conclusion is that GNNs are more powerful than GA-MLPs, but in most real-world cases their expressiveness is indistinguishable.
155
 
156
- We adopt the analysis framework from Chen et al. (2021) and show in Appendix D that the number of equivalence classes induced by GNNs and MLPs are |X |+m−2m−1 2L−1 a nd $| \mathcal { X } |$ respectively. Here $m$ denotes the max node degree, $L$ denotes the number of GNN layers, and $\mathcal { X }$ denotes the set of all possible node features. The former is apparently larger which concludes that GNNs are more expressive. Empirically, however, the gap makes little difference when $| \mathcal { X } |$ is large. In real applications, node features can be high dimensional like bag-of-words, or even word embeddings, thus making $| \mathcal { X } |$ enormous. Like for bag-of-words, $| \mathcal { X } |$ is in the order of $\mathcal { O } ( p ^ { D } )$ , where $D$ is the vocabulary size, and $p$ is the max word frequency. The expressiveness of a L-layer GNN is lower bounded by |X |+m−22L−1 $\left( \stackrel { | \mathcal { X } | + m - 2 } { m - 1 } \right) ^ { 2 ^ { L } - 1 } = \mathcal { O } ( p ^ { D ( m - 1 ) ( 2 ^ { L } - 1 ) } )$ , but empirically, both MLPs and GNNs should have enough expressiveness given $D$ is usually hundreds or bigger (see Table 5).
157
 
158
  # 5.8 WHEN WILL GLNNS FAIL TO WORK?
159
 
@@ -389,7 +389,7 @@ Assuming the statement holds for $L$ , we show it holds for $L + 1$ by construct
389
 
390
  We first consider all paths from the root to leaves in $T$ . Each path consists of a sequence of nodes where the node features form a one-to-one mapping to an $\mathrm { L }$ -tuple $\tau \in \{ ( x _ { 1 } , \ldots , x _ { L } ) : x _ { i } \in \mathcal { X } \}$ . Leaf nodes are called node under $\tau$ if the path from the root to it corresponds to $\tau$ . The children of nodes under different $\tau \mathbf { S }$ are always distinguishable, and thus any assignments lead to distinct rooted aggregation trees of depth $L + 1$ . The assignment of children of nodes under the same $\tau$ , on the other hand, could be overcounted. Therefore, to lower bound $\tau _ { L + 1 , \mathcal { X } , m }$ , we only consider a special way of assignments to avoid over counting, which is that children of all nodes under the same $\tau$ are assigned the same set of features.
391
 
392
- Since we assumed that at least two nodes of $T$ have different features, there are at least $2 ^ { L }$ different $\tau \mathbf { S }$ corresponding to the path from the root to leaves. For a leaf node $j$ under a fixed $\tau$ , one of its children needs to have the same feature as $j$ ’s parent node. This restriction is due to the definition of rooted aggregation trees. Therefore, we only pick features for the other $m - 1$ nodes, which will be $\binom { | \mathcal { X } | + m - 2 } { m - 1 }$ cases for each $j$ . Then through this construction, the total number of depth- $\mathrm { . L } { + } 1$ trees from T can be lower bounded by |X |+m−2m−1 2L. $T \in \mathcal { T } _ { L , \mathcal { X } , m }$ , so we derive $\begin{array} { r } { \mathcal { T } _ { L + 1 , \mathcal { X } , m } \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } } \mathcal { T } _ { L , \mathcal { X } , m } } \end{array}$ hav, and $\begin{array} { r } { \mathcal { T } _ { L , \mathcal { X } , m } \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { \sum _ { l = 1 } ^ { L } 2 ^ { l } } = } \end{array}$ $\binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } - 1 }$
393
 
394
  # F ADVANCED GNN ARCHITECTURES AS THE TEACHER
395
 
 
153
 
154
  Intuitively, the addition of neighbor information makes GNNs more powerful than MLPs when classifying nodes. Thus, a natural question regarding KD from GNNs to MLPs is whether MLPs are expressive enough to represent graph data as well as GNNs. Many recent works studied GNN model expressiveness (Xu et al., 2018; Chen et al., 2021). The latter analyzed GNNs and GA-MLPs for node classification and characterized expressiveness as the number of equivalence classes of rooted graphs induced by the model (formal definitions in Appendix D). The conclusion is that GNNs are more powerful than GA-MLPs, but in most real-world cases their expressiveness is indistinguishable.
155
 
156
+ We adopt the analysis framework from Chen et al. (2021) and show in Appendix D that the number of equivalence classes induced by GNNs and MLPs are |X |+m−2m−1 2L−1 a nd $| \mathcal { X } |$ respectively. Here $m$ denotes the max node degree, $L$ denotes the number of GNN layers, and $\mathcal { X }$ denotes the set of all possible node features. The former is apparently larger which concludes that GNNs are more expressive. Empirically, however, the gap makes little difference when $| \mathcal { X } |$ is large. In real applications, node features can be high dimensional like bag-of-words, or even word embeddings, thus making $| \mathcal { X } |$ enormous. Like for bag-of-words, $| \mathcal { X } |$ is in the order of $\mathcal { O } ( p ^ { D } )$ , where $D$ is the vocabulary size, and $p$ is the max word frequency. The expressiveness of a L-layer GNN is lower bounded by |X |+m−22L−1 $\left( \stackrel { | \mathcal { X } | + m - 2 } { m - 1 } \right) ^ { 2 ^ { L } - 1 } = \mathcal { O } ( p ^ { D ( m - 1 ) ( 2 ^ { L } - 1 ) } )$ , but empirically, both MLPs and GNNs should have enough expressiveness given $D$ is usually hundreds or bigger (see Table 5).
157
 
158
  # 5.8 WHEN WILL GLNNS FAIL TO WORK?
159
 
 
389
 
390
  We first consider all paths from the root to leaves in $T$ . Each path consists of a sequence of nodes where the node features form a one-to-one mapping to an $\mathrm { L }$ -tuple $\tau \in \{ ( x _ { 1 } , \ldots , x _ { L } ) : x _ { i } \in \mathcal { X } \}$ . Leaf nodes are called node under $\tau$ if the path from the root to it corresponds to $\tau$ . The children of nodes under different $\tau \mathbf { S }$ are always distinguishable, and thus any assignments lead to distinct rooted aggregation trees of depth $L + 1$ . The assignment of children of nodes under the same $\tau$ , on the other hand, could be overcounted. Therefore, to lower bound $\tau _ { L + 1 , \mathcal { X } , m }$ , we only consider a special way of assignments to avoid over counting, which is that children of all nodes under the same $\tau$ are assigned the same set of features.
391
 
392
+ Since we assumed that at least two nodes of $T$ have different features, there are at least $2 ^ { L }$ different $\tau \mathbf { S }$ corresponding to the path from the root to leaves. For a leaf node $j$ under a fixed $\tau$ , one of its children needs to have the same feature as $j$ ’s parent node. This restriction is due to the definition of rooted aggregation trees. Therefore, we only pick features for the other $m - 1$ nodes, which will be $\binom { | \mathcal { X } | + m - 2 } { m - 1 }$ cases for each $j$ . Then through this construction, the total number of depth- $\mathrm { . L } { + } 1$ trees from T can be lower bounded by |X |+m−2m−1 2L. $T \in \mathcal { T } _ { L , \mathcal { X } , m }$ , so we derive $\begin{array} { r } { \mathcal { T } _ { L + 1 , \mathcal { X } , m } \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } } \mathcal { T } _ { L , \mathcal { X } , m } } \end{array}$ hav, and $\begin{array} { r } { \mathcal { T } _ { L , \mathcal { X } , m } \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { \sum _ { l = 1 } ^ { L } 2 ^ { l } } = } \end{array}$ $\binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } - 1 }$
393
 
394
  # F ADVANCED GNN ARCHITECTURES AS THE TEACHER
395
 
parse/train/YSzTMntO1KY/YSzTMntO1KY_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJxgknCcK7/rJxgknCcK7_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJxgknCcK7/rJxgknCcK7_model.json ADDED
The diff for this file is too large to render. See raw diff