GINs are maximally powerful for anonymous input graphs

[[concept]]

Takeaway

A GIN is a maximally powerful GNN in graph-level tasksfor anonymous inputs (ie )

As long as we have an injective function from multisets to embeddings, we are able to distinguish between multisets.

We can then look at the graph level readout. In the original paper, this is defined at each layer as

Demonstration

Can a GIN tell them apart? We assume . At the first layer, we take the sum of each node’s neighbors’ embedding and add it to the node’s embedding.

  • output is
  • readout is

  • output is

  • readout is

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