SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.06746 · NeurIPS · 2024

Cluster-wise Graph Transformer with Dual-granularity Kernelized Attention

Siyuan Huang, Yunchong Song, Zhouhan Lin, Jiayue Zhou

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.06746.json · badge: /api/ran/2410.06746.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
LUMIA-Group/Cluster-wise-Graph-Transformer canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
lumia-group/cluster-wise-graph-transformer canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
GetRunTime Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/wandb_script/sweep.py
pointer only (licence: NONE) · get_code("54bb0b404bebbde0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

LapPE Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/pe.py
pointer only (licence: NONE) · get_code("2be5d5ffa7c2b792")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

RWSE Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/pe.py
pointer only (licence: NONE) · get_code("e63f8bb61e55a99d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cal_coarsen_adj Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/graph_partition.py
pointer only (licence: NONE) · get_code("586551d992664067")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

combine_subgraphs Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/graph_partition.py
pointer only (licence: NONE) · get_code("6466f9f70510811c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

count_sweep Ran
ran, honoured the contract we drafted
LUMIA-Group/Cluster-wise-Graph-Transformer/wandb_script/sweep.py
pointer only (licence: NONE) · get_code("2044980e3c503153")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_classifier Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/Cluster_GT_N2C_L.py
pointer only (licence: NONE) · get_code("97e6235979044fb2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_configs_from_file Ran
ran; our contract draft was wrong, not the code
lumia-group/cluster-wise-graph-transformer/wandb_script/sweep.py
pointer only (licence: NONE) · get_code("c71a615c5a546070")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lumia-group/cluster-wise-graph-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_hash Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/wandb_script/wandb_main.py
pointer only (licence: NONE) · get_code("52890b345835d534")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_input_transform Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/Cluster_GT_N2C_L.py
pointer only (licence: NONE) · get_code("ed5fbe19001b6e38")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

num_graphs Ran
ran, honoured the contract we drafted
LUMIA-Group/Cluster-wise-Graph-Transformer/data.py
pointer only (licence: NONE); the stored copy get_code serves, from RingBDStack/VIB-GSL, is pointer only (licence: NONE) · get_code("9da87b0b1605a660")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

random_walk Ran
ran; our contract draft was wrong, not the code
LUMIA-Group/Cluster-wise-Graph-Transformer/pe.py
pointer only (licence: NONE) · get_code("2d2ee0ffa615ecaf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_sparse Ran
ran, honoured the contract we drafted
LUMIA-Group/Cluster-wise-Graph-Transformer/graph_partition.py
pointer only (licence: NONE) · get_code("8039d4f24f678f0b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_convs Not yet run
unverified (harvested, no recorded run)
LUMIA-Group/Cluster-wise-Graph-Transformer/Cluster_GT_N2C_L.py
pointer only (licence: NONE) · get_code("2408224d33c2b803")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LUMIA-Group/Cluster-wise-Graph-Transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 0 the same month, 1 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
num_graphs 9 other papers
8 dated earlier, 1 later
1904.12058 (2019-04)
Inductive Matrix Completion Based on Graph Neural Networks
2002.06757 (2020-02)
Relational Message Passing for Knowledge Graph Completion
2010.05563 (2020-10)
Graph Information Bottleneck for Subgraph Recognition
and 6 more not named here
combine_subgraphs 3 other papers
3 dated earlier
2210.09521 (2022-10)
A Practical, Progressively-Expressive GNN
2309.16014 (2023-09)
Graph-level Representation Learning with Joint-Embedding Predictive Architectures
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
to_sparse 3 other papers
3 dated earlier
2210.09521 (2022-10)
A Practical, Progressively-Expressive GNN
2309.16014 (2023-09)
Graph-level Representation Learning with Joint-Embedding Predictive Architectures
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
GetRunTime 2 other papers
2 dated earlier
2310.05296 (2023-10)
Tailoring Self-Attention for Graph via Rooted Subtrees
2402.14393 (2024-02)
Graph Parsing Networks
LapPE 2 other papers
2 dated earlier
2309.16014 (2023-09)
Graph-level Representation Learning with Joint-Embedding Predictive Architectures
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
RWSE 2 other papers
2 dated earlier
2309.16014 (2023-09)
Graph-level Representation Learning with Joint-Embedding Predictive Architectures
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
cal_coarsen_adj 2 other papers
2 dated earlier
2309.16014 (2023-09)
Graph-level Representation Learning with Joint-Embedding Predictive Architectures
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
random_walk 2 other papers
2 dated earlier
2309.16014 (2023-09)
Graph-level Representation Learning with Joint-Embedding Predictive Architectures
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
count_sweep 1 other paper
1 dated earlier
2310.05296 (2023-10)
Tailoring Self-Attention for Graph via Rooted Subtrees
get_configs_from_file 1 other paper
1 dated earlier
2310.05296 (2023-10)
Tailoring Self-Attention for Graph via Rooted Subtrees
get_hash 1 other paper
1 dated earlier
2310.05296 (2023-10)
Tailoring Self-Attention for Graph via Rooted Subtrees

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

In the realm of graph learning, there is a category of methods that conceptualize graphs as hierarchical structures, utilizing node clustering to capture broader structural information. While generally effective, these methods often rely on a fixed graph coarsening routine, leading to overly homogeneous cluster representations and loss of node-level information. In this paper, we envision the graph as a network of interconnected node sets without compressing each cluster into a single embedding. To enable effective information transfer among these node sets, we propose the Node-to-Cluster Attention (N2C-Attn) mechanism. N2C-Attn incorporates techniques from Multiple Kernel Learning into the kernelized attention framework, effectively capturing information at both node and cluster levels. We then devise an efficient form for N2C-Attn using the cluster-wise message-passing framework, achieving linear time complexity. We further analyze how N2C-Attn combines bi-level feature maps of queries and keys, demonstrating its capability to merge dual-granularity information. The resulting architecture, Cluster-wise Graph Transformer (Cluster-GT), which uses node clusters as tokens and employs our proposed N2C-Attn module, shows superior performance on various graph-level tasks. Code is available at https: //github.com/LUMIA-Group/Cluster-wise-Graph-Transformer. Recent advancements have extended beyond node-level message propagation, adopting approaches that treat the graph as a hierarchical structure [53,4,20], capturing information at multiple levels of the graph [55]. For instance, node clustering pooling segments the graph into multiple clusters [17,50]. Each cluster is then independently pooled, preserving the structural information of the hierarchical graph. Drawing inspiration from Vision Transformers [7], GraphViT [18] treats subgraphs as tokens and computes attention among them, which enables the model to capture long-distance dependencies and reduces the overall computational complexity compared to node-level Graph Transformers. However, existing methods based on node clustering rely on a fixed graph coarsening routine [32]. This routine involves partitioning the graph into several clusters and subsequently pooling each cluster into a single node to generate a coarsened version of the original graph. While generally * Zhouhan Lin is the corresponding author 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

For agents

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

get_harvested_code_for_paper("2410.06746")
get_code_for_paper("2410.06746")
have("2410.06746")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.06746.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.06746.svg)](https://syntology.ai/paper/2410.06746)

Connect an agent — have() is free.