Datasets:
Tasks:
Question Answering
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
100K - 1M
ArXiv:
License:
Add files using upload-large-folder tool
Browse filesFiles changed (8)
- parse/dev/4p6_5HBWPCw/4p6_5HBWPCw.md+2-2
- parse/train/YSzTMntO1KY/YSzTMntO1KY_model.jsonAdded
- parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD.mdAdded
- parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_content_list.jsonAdded
- parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_middle.jsonAdded
- parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_model.jsonAdded
- parse/train/rJxgknCcK7/rJxgknCcK7_middle.jsonAdded
- parse/train/rJxgknCcK7/rJxgknCcK7_model.jsonAdded
152 unmodified lines153154155156156157158159229 unmodified lines389390391392392393394395152 unmodified lines
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.
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).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).
# 5.8 WHEN WILL GLNNS FAIL TO WORK?
229 unmodified lines
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.
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 }$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 }$
# F ADVANCED GNN ARCHITECTURES AS THE TEACHER
parse/dev/4p6_5HBWPCw/4p6_5HBWPCw.md+2-2
parse/train/YSzTMntO1KY/YSzTMntO1KY_model.jsonAdded
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD.mdAdded
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_content_list.jsonAdded
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_middle.jsonAdded
parse/train/pW2Q2xLwIMD/pW2Q2xLwIMD_model.jsonAdded
parse/train/rJxgknCcK7/rJxgknCcK7_middle.jsonAdded
parse/train/rJxgknCcK7/rJxgknCcK7_model.jsonAdded