How to select nodes from bipartite graph & How to aggregate a node multiple times #5511
Unanswered
KIKOcaoyue
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I am not sure I totally understand. The given formula would only make sense if there is always a 1:1 relationship between O1, O2, B. In that case, you can simply order your edges accordingly so that you can access them efficiently. Let me know if I am missing something. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@rusty1s Thanks you a lot! Thanks for your nice work!
I have two questions and wish you to help.
Now I have a graph G consisting of two ordinary graphs O1, O2 and a bipartite graph B, like this:
(Undirectional edges)
O1:
[[1,2]
[1,3]
[2,4]
[3,4]]
O2:
[[5,6]
[5,7]
[6,8]
[7,8]]
B:
[[2,5]
[2,6]
[2,7]
[2,8]
[1,7]
[2,7]
[3,7]
[4,7]]
and G is O1 + O2 + B
The message passing layer may be like this:
x_i = sigma (MLP(x_jo-x_i, x_jb-x_i))
where node x_jo in O1 or O2 and x_jb in B, as you can see from the graph above, there are multiple x_jo, but only one x_jb.
For example, for node 1:
x_1 = MLP(x_2-x_1,x_7-x_1) + MLP(x_3-x1, x_7-x_1)
The questions are:
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions