[Model] Add CoED-GNN model with multi-dataset node classification support#253
Open
K1llery wants to merge 2 commits into
Open
[Model] Add CoED-GNN model with multi-dataset node classification support#253K1llery wants to merge 2 commits into
K1llery wants to merge 2 commits into
Conversation
- gammagl/layers/conv/coed_conv.py: directional convolution layer (MessagePassing) - gammagl/models/coed.py: CoEDModel with jumping_knowledge support - examples/coed/coed_trainer.py: standard GammaGL training flow (SemiSpvzLoss + TrainOneStep) - examples/coed/readme.md: documentation with dataset statistics and run commands Supported datasets: Cora, Texas, Wisconsin, Chameleon, Squirrel All use Geom-GCN 10 fixed splits for evaluation.
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.
Description
Add the CoED-GNN (Continuous Edge Direction Graph Neural Network) model from the paper "Improving Graph Neural
Networks by Learning Continuous Edge Directions" to GammaGL.
The implementation includes a directional convolution layer based on fuzzy Laplacian, a backbone model with
jumping-knowledge support, and a standard GammaGL training flow for node classification on 5 benchmark datasets.
Checklist
compatible with this change
Changes
gammagl/layers/conv/coed_conv.py: CoED directional convolution layer inheritingMessagePassing, withseparate src-to-dst and dst-to-src message passing and optional self-feature transform
gammagl/models/coed.py:CoEDModelbackbone with multi-layer CoED convolution, jumping-knowledge aggregation(cat/max/lstm), dropout, and L2 normalization
examples/coed/coed_trainer.py: Standard GammaGL training flow usingSemiSpvzLoss+TrainOneStep,supporting 5 datasets (Cora, Texas, Wisconsin, Chameleon, Squirrel) with Geom-GCN 10 fixed splits
examples/coed/readme.md: Documentation with paper link, dataset statistics, and run commandsSupported Datasets
Verified Results (CPU, torch backend)
Run Commands