Track: Track1; Team name: topolab; Model: GREAD - #415
Open
uiharu-kazari wants to merge 2 commits into
Open
Conversation
GREAD (Choi et al., ICML 2023, arXiv:2211.14208) models node representations as a reaction-diffusion process integrated with explicit Euler steps, with all reaction terms from the paper (bspm, fisher, allen-cahn, zeldovich, st, fb, fb3, none). The reaction term counteracts the over-smoothing that limits deep message passing, which suits the low-homophily GraphUniverse regimes. Includes five model configs, numerical unit tests covering every reaction term and the Euler horizon edge cases, the 72-run challenge evaluation grid, and a supplementary notebook analysing the out-of-distribution measurements that the grid produces. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Every tuned dataset configuration in the reference implementation (src/gread_params.py) combines reaction_term bspm with beta_diag: True (the paper's "(VC)" per-channel reaction gate); the originally submitted config benchmarked the non-default scalar gate. This commit flips graph/gread.yaml to the reference setting and replaces the committed official grid (72 runs, 12 regimes x 2 tasks x 3 seeds, seeds 42/43/44, produced by the unmodified run_evaluation.ipynb harness path) with the re-run: - community detection mean accuracy: 0.4504 -> 0.4816 (better in all 12 regimes) - triangle counting mean MSE/triangles: 0.9206 -> 0.8773 (better in 10 of 12 regimes) The supplementary analysis notebook is re-executed against the new study (outputs/2026-08-02_gread-vc); its prose is updated where the conclusions changed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
uiharu-kazari
force-pushed
the
track1-gread-submit
branch
from
August 1, 2026 20:24
442fc1c to
4493d86
Compare
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.
GREAD — Graph Neural Reaction-Diffusion Networks (Track 1)
Checklist
Description
Paper: Choi et al., GREAD: Graph Neural Reaction-Diffusion Networks, ICML 2023 (arXiv:2211.14208). Reference implementation: jeongwhanchoi/GREAD.
What this PR adds
topobench/nn/backbones/graph/gread.py— reaction–diffusion ODE on graphs, integrated with the explicit Euler method (Eq. (5)), with exact terminal-time handling (full steps plus a shorter final step). Implements the diffusion term of Eq. (7) and all paper reaction terms (Eq. (10):fisher,allen-cahn,zeldovich,st,fb,fb3; Eq. (14):bspm; plusnone), scalar α/β gates and thebeta_diag"(VC)" variant, optional source term, and bothrw/gcnadjacency normalizations following the referenceget_rw_adj(..., norm_dim=1)/gcn_norm_fill_val. Docstrings cite the paper's equation numbers throughout; the one deliberate deviation (thefb/fb3sign convention follows the reference code rather than Eq. (10) as printed) is documented in the docstring. Fully sparse message passing — no dense N×N matrix is ever materialized.configs/model/graph/gread.yaml(bspm, the paper's headline blurring–sharpening variant),gread_fisher.yaml,gread_allen_cahn.yaml,gread_zeldovich.yaml,gread_source_term.yaml.test/nn/backbones/graph/test_gread.py— 40 tests, 100% line coverage ofgread.py. These verify semantics, not just shapes: manual multi-step Euler integration (including the partial final step), closed-form normalized-adjacency values, per-reaction-term math,beta_diagvs scalar-gate discrimination, self-loop-weight closed forms, dropout train/eval behavior, and error handling for invalid configurations.test/pipeline/test_pipeline.pyregisters all five configs (end-to-end training on MUTAG).2026_tdl_challenge/run_evaluation.ipynb(only theMODEL_CONFIGline changed, protected-cell hash intact) and the auto-generatedoutputs/2026-08-02_gread-vc/results.json: the full 72-run grid (12 regimes × 2 tasks × 3 seeds), no non-finite values. Headline in-distribution means: community-detection accuracy 0.4816, triangle-counting MSE/triangles 0.8773.2026_tdl_challenge/analysis_gread.ipynb— uses all 864 committed measurements (the official heatmaps show only the diagonal of the 12×12 transfer matrix) to decompose OOD behavior: community detection is governed by the evaluation regime (difficulty effect, R² 0.85 vs 0.03), while triangle counting is governed by the training regime (a genuine distribution-shift failure via scale miscalibration, R² 0.41 vs 0.12 on a log scale).Issue
No linked issue — this is a TDL Challenge 2026 submission (Track 1).
Additional context
Update (Aug 2): the benchmarked config now pins
beta_diag: true(the reference implementation's tuned default for every dataset; the initial submission benchmarked the non-default scalar gate). The full 72-run grid was re-run under the unmodified harness and the committed results.json replaced: community detection improved in all 12 regimes (mean 0.4504 → 0.4816), triangle counting in 10 of 12 (0.9206 → 0.8773). The analysis notebook is re-executed against the new study.Team: topolab (registration form submitted with this PR's ID).
Could a maintainer please tag this PR with
track-1-gnn? (No triage rights.)