SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2102.11533 · ICLR · 2021

Accurate Learning of Graph Representations with Graph Multiset Pooling

Sung Hwang, Jinheon Baek, Kaist, South Korea, Minki Kang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
JinheonBaek/GMT canonical 4 of 5
FunctionStatusWhere it lives
GraphRepresentation Ran JinheonBaek/GMT/models/nets.py
pointer only (licence: NONE) · get_code("63d1824fb4841fdd")
MAB Ran JinheonBaek/GMT/models/nets.py
pointer only (licence: NONE) · get_code("0060b5109c3cec3e")
PMA Ran JinheonBaek/GMT/models/nets.py
pointer only (licence: NONE) · get_code("44973cac2b91988d")
SAB Ran JinheonBaek/GMT/models/nets.py
pointer only (licence: NONE) · get_code("4bf5f02b2a1a85d8")
GraphMultisetTransformer Not yet run JinheonBaek/GMT/models/nets.py
pointer only (licence: NONE) · get_code("758394cc1690586d")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Graph neural networks have been widely used on modeling graph data, achieving impressive results on node classification and link prediction tasks. Yet, obtaining an accurate representation for a graph further requires a pooling function that maps a set of node representations into a compact form. A simple sum or average over all node representations considers all node features equally without consideration of their task relevance, and any structural dependencies among them. Recently proposed hierarchical graph pooling methods, on the other hand, may yield the same representation for two different graphs that are distinguished by the Weisfeiler-Lehman test, as they suboptimally preserve information from the node features. To tackle these limitations of existing graph pooling methods, we first formulate the graph pooling problem as a multiset encoding problem with auxiliary information about the graph structure, and propose a Graph Multiset Transformer (GMT) which is a multi-head attention based global pooling layer that captures the interaction between nodes according to their structural dependencies. We show that GMT satisfies both injectiveness and permutation invariance, such that it is at most as powerful as the Weisfeiler-Lehman graph isomorphism test. Moreover, our methods can be easily extended to the previous node clustering approaches for hierarchical graph pooling. Our experimental results show that GMT significantly outperforms state-of-the-art graph pooling methods on graph classification benchmarks with high memory and time efficiency, and obtains even larger performance gain on graph reconstruction and generation tasks. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2102.11533")
get_code_for_paper("2102.11533")
have("2102.11533")

Connect an agent — have() is free.