Track: Track1; Team name: Oversmooth operators; Model: r-ℓMPNN - #404
Open
yeli-falk wants to merge 5 commits into
Open
Track: Track1; Team name: Oversmooth operators; Model: r-ℓMPNN#404yeli-falk wants to merge 5 commits into
yeli-falk wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Description
This is the implementation of r-ℓMPNN ("Loopy") from "Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning" by Paolino et al. (NeurIPS 2024). The official implementation can be found here: https://github.com/RPaolino/loopy.
r-ℓMPNN is a GNN framework that can count cycles up to length
r+2, giving it expressivity beyond 1-WL while remaining a message-passing model.What's included
topobench/nn/backbones/graph/loopy.py(Loopy): the r-ℓMPNN layers (path-wise GIN with hop-distance embeddings) ported to TopoBench's node→node backbone contract.topobench/transforms/data_manipulations/r_neighbourhood.py(RNeighbourhood): precomputes the r-neighbourhood path tensors per graph.topobench/nn/wrappers/graph/loopy_wrapper.py(LoopyWrapper).configs/model/graph/loopy.yaml, plus the transform config and amodel_defaultsentry so the r-neighbourhood precompute auto-attaches (the notebook only needsMODEL_CONFIG = "graph/loopy").graph/loopyadded totest/pipeline/test_pipeline.py.results.jsonfrom the evaluation notebook.Additional context
The port is faithful to the official repo but adapted to keep the contribution purely additive (no changes to shared TopoBench infrastructure) and to run on constrained hardware:
networkx.simple_cycles(length_bound=...)(only available in networkx ≥ 3.1), so it runs on the pinned environment.conv3dpath propagation is replaced with equivalent tensor shifts; andsegment_csrwithscatter.