Skip to content

[FIX] Stable sorting in graphormer encoder#46

Open
luis-mueller wants to merge 2 commits intomainfrom
graphormer-stable-sorting
Open

[FIX] Stable sorting in graphormer encoder#46
luis-mueller wants to merge 2 commits intomainfrom
graphormer-stable-sorting

Conversation

@luis-mueller
Copy link
Collaborator

Indeed, the stable sorting was missing on add_graph_token in the graphormer encoder. I ran Graphormer on ZINC for 1000 epochs with and without the stable sorting but couldn't find any difference in performance. Anyway, the stable sorting is definitely needed to preserve the original order of node embeddings.

Closes #40.

@luis-mueller luis-mueller requested a review from rampasek January 5, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: adding graphormer graph token breaks node permutation invariance

1 participant