We can verify whether graphs without node features and different laplacian eigenvalues are not isomorphic

[[concept]]

Theorem

Consider two graphs and without node features, with laplacian and . Further suppose that there is some such that for all - ie, has at least one eigenvalue that is different from .

Then there exists a graph convolution we can use to verify whether two graphs are NOT isomorphic, ie to test that

For original proof, see the paper GNNs are more powerful than you think

Proof

Consider the following single-layer (linear) GNN Define the graph feature to be white, ie such that .

Set

Then we have

\mathbb{E}(\hat{y}) &= \mathbb{E}(V^Ty) \ &= \mathbb{E}(V^Th_{k}Lx) \ &= \mathbb{E}(V^TV\Lambda V^Tx) \ &= \mathbb{E}(\Lambda x) \ \implies \mathbb{E}(\hat{y}) &= \begin{bmatrix} \lambda_{1} \ \lambda_{2} \ \vdots \ \lambda_{n} \end{bmatrix} \end{aligned}$$ And if there is some such that for all - ie, has at least one eigenvalue that is different from as above, then it suffices to compare

Since the laplacian is positive semidefinite, the sums will be different if and only if we have at least eigenvalue that is different between them.

Mentions

TABLE
FROM [[]]
 
FLATTEN choice(contains(artist, this.file.link), 1, "") + choice(contains(author, this.file.link), 1, "") + choice(contains(director, this.file.link), 1, "") + choice(contains(source, this.file.link), 1, "") as direct_source
 
WHERE !direct_source