Papers › Wasserstein Weisfeiler-Lehman Graph Kernels

Wasserstein Weisfeiler-Lehman Graph Kernels

4 Jun 2019NeurIPS 2019 12arXiv:1906.01277archive 2025-07-28

Matteo Togninalli, Elisabetta Ghisu, Felipe Llinares-López, Bastian Rieck, Karsten Borgwardt

Most graph kernels are an instance of the class of ℛ-Convolution kernels, which measure the similarity of objects by comparing their substructures. Despite their empirical success, most graph kernels use a naive aggregation of the final set of substructures, usually a sum or average, thereby potentially discarding valuable information about the distribution of individual components. Furthermore, only a limited instance of these approaches can be extended to continuously attributed graphs. We propose a novel method that relies on the Wasserstein distance between the node feature vector distributions of two graphs, which allows to find subtler differences in data sets by considering graphs as high-dimensional objects, rather than simple means. We further propose a Weisfeiler-Lehman inspired embedding scheme for graphs with continuous node attributes and weighted edges, enhance it with the computed Wasserstein distance, and thus improve the state-of-the-art prediction performance on several graph classification tasks.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1906.01277")

Code

Syntology Ran 0 of 11 code samples harvested from 2 repositories linked to this paper; 11 have no recorded run.

By repository: official repository: 7 samples from 1 repository, 0 ran; community (archive-listed): 4 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

BorgwardtLab/WWL officialmentioned in papermentioned on GitHubBSD-3-Clause report
wenbintum/wwl-gpr mentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_wasserstein_distance BorgwardtLab/WWL/experiments/wwl.py official repository unverified BSD-3-Clause (permissive) · f0bdc08b57eafabf · report
pairwise_wasserstein_distance BorgwardtLab/WWL/src/wwl/wwl.py official repository unverified BSD-3-Clause (permissive) · f8ef354516fa701c · report
read_gml BorgwardtLab/WWL/experiments/utilities.py official repository unverified BSD-3-Clause (permissive) · 2e18ef039fb12dd4 · report
read_labels BorgwardtLab/WWL/experiments/utilities.py official repository unverified BSD-3-Clause (permissive) · 72df551d8c4af0e4 · report
retrieve_graph_filenames BorgwardtLab/WWL/src/wwl/utilities.py official repository unverified BSD-3-Clause (permissive) · f057079b9895ba72 · report
wwl BorgwardtLab/WWL/src/wwl/wwl.py official repository unverified BSD-3-Clause (permissive) · da6828d3a76384fd · report
wwl_custom_grid_search_cv BorgwardtLab/WWL/src/wwl/utilities.py official repository unverified BSD-3-Clause (permissive) · d889f576e7f6730e · report
ActiveSiteIndex wenbintum/wwl-gpr/wwlgpr/Utility.py community (archive-listed) unverified MIT (permissive) · 62b399837d7b060b · report
R_conv_attributes wenbintum/wwl-gpr/wwlgpr/WWL_GPR.py community (archive-listed) unverified MIT (permissive) · 0098868d2b7d06f2 · report
cal_node_weights wenbintum/wwl-gpr/wwlgpr/Utility.py community (archive-listed) unverified MIT (permissive) · ba303ab69efaf9ca · report
multiprocessing_WD wenbintum/wwl-gpr/wwlgpr/Utility.py community (archive-listed) unverified MIT (permissive) · 008f645125a4df09 · report

Tasks

Graph Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Graph Classification D&D WWL Accuracy 79.69% #16 of 53 Archive leaderboard report
Graph Classification ENZYMES WWL Accuracy 59.13% #31 of 54 Archive leaderboard report
Graph Classification MUTAG WWL Accuracy 87.27% #48 of 74 Archive leaderboard report
Graph Classification NCI1 WWL Accuracy 85.75% #8 of 69 Archive leaderboard report
Graph Classification PROTEINS WWL Accuracy 74.28% #80 of 103 Archive leaderboard report
Graph Classification PTC WWL Accuracy 66.31% #18 of 37 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections