Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About node labeling #74

Open
braid123 opened this issue May 21, 2022 · 1 comment
Open

About node labeling #74

braid123 opened this issue May 21, 2022 · 1 comment

Comments

@braid123
Copy link

Hi, Dr. Zhang

I have a question about the paper "Link Prediction Based on Graph Neural Networks". In appendix B, the paper refers to that If we do not remove y, d(i, x) will be upper bounded by d(i, y) + d(x, y), obscuring the “true distance” between i and x. How is this assumption valid? Or how is this sentence reflected in the code? How do i understand this sentence in the code or in the formula?

Thanks.

@muhanzhang
Copy link
Owner

Hi! It is reflected in this section of the code. When we compute all nodes' distance to target node 0, we temporarily remove the other target node 1 from the subgraph, and vice versa. This gives more diverse and conditional distance information, which is verified to improve the performance. See Appendix D of the labeling trick paper.

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

No branches or pull requests

2 participants