Papers › Homomorphism Counts for Graph Neural Networks: All About That Basis

Homomorphism Counts for Graph Neural Networks: All About That Basis

13 Feb 2024arXiv:2402.08595archive 2025-07-28

Emily Jin, Michael Bronstein, İsmail İlkan Ceylan, Matthias Lanzinger

A large body of work has investigated the properties of graph neural networks and identified several limitations, particularly pertaining to their expressive power. Their inability to count certain patterns (e.g., cycles) in a graph lies at the heart of such limitations, since many functions to be learned rely on the ability of counting such patterns. Two prominent paradigms aim to address this limitation by enriching the graph features with subgraph or homomorphism pattern counts. In this work, we show that both of these approaches are sub-optimal in a certain sense and argue for a more fine-grained approach, which incorporates the homomorphism counts of all structures in the ``basis'' of the target pattern. This yields strictly more expressive architectures without incurring any additional overhead in terms of computational complexity compared to existing approaches. We prove a series of theoretical results on node-level and graph-level motif parameters and empirically validate them on standard benchmark datasets.

PaperPDFCodeCode 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="2402.08595")

Code

Syntology Ran 7 of 9 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 9 samples from 2 repositories, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ejin700/hombasis-gnn officialmentioned in papermentioned on GitHubpytorch report
icml2024357/hombasis-gnn officialmentioned in paperpytorchMIT report
linusbao/MoSE mentioned on GitHubpytorch 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

9 samples harvested; 7 ran; 3 honoured the contract we drafted; 2 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.

3ran · honoured contract
2ran · our draft was wrong
2ran
2unverified

Licence: 0 of the 9 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.

choose_activation icml2024357/hombasis-gnn/brec/HomGIN/models_misc.py official repository ran · our draft was wrong MIT (permissive) · 8cece8d22b52bc54 · report
eval icml2024357/hombasis-gnn/hombasis-bench/zinc_utils.py official repository ran MIT (permissive) · 1abf815848e61eff · report
test ejin700/hombasis-gnn/hombasis-bench/run-collab.py official repository ran · our draft was wrong MIT (permissive) · a6e419d6bf287a8f · report
test ejin700/hombasis-gnn/qm9/src/experiments/run_gc.py official repository ran · honoured contract MIT (permissive) · 5bfd4028374d07c7 · report
train ejin700/hombasis-gnn/hombasis-bench/run-collab.py official repository ran · honoured contract MIT (permissive) · b10c2f48c45238a5 · report
train icml2024357/hombasis-gnn/hombasis-bench/zinc_utils.py official repository ran MIT (permissive) · b367358dc74e5496 · report
val ejin700/hombasis-gnn/qm9/src/experiments/run_gc.py official repository ran · honoured contract MIT (permissive) · 49732bab8713a245 · report
graph6_to_pyg icml2024357/hombasis-gnn/brec/ProvablyPowerfulGraphNetworks_torch/BRECDataset_v3.py official repository unverified MIT (permissive) · 513e5ba0da199b50 · report
train ejin700/hombasis-gnn/qm9/src/experiments/run_gc.py official repository unverified MIT (permissive) · d1a3f22e2fe768ac · report

Tasks

All

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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