Using GAT to implement node classification of bipartite graphs, how do model messages pass? #4159
Unanswered
Zhang-1218
asked this question in
Q&A
Replies: 2 comments 9 replies
-
This looks mostly correct, although the inputs of a convolution operator receive two inputs (two arrows), and just produce a single output (one arrow), as shown in the original figure. That is, source node features send messages to destination node, both feature representations get combined and finally produce a new output destination node feature. Hope this clarifies your issues. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Emmm |
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.
-
Hi, I've been trying to do node classification in a bipartite graph using pyg recently, and I'm running into some confusion along the way.
My understanding is that the data is an undirected bipartite graph, so message passing is performed in both directions on all edges, right?
See the schematic diagram of message passing in the heterogeneous graph given on the official website https://pytorch-geometric.readthedocs.io/en/latest/notes/heterogeneous.html
, but I'm a little confused about the message passing in an undirected bipartite graph.
The messages passed in the undirected bipartite graph I draw are shown below.

Is my understanding correct?
Taking paper-author data as an example, a bipartite graph is formed to classify papers or authors. Is messaging as pictured above?
In actual training, if it is to predict the category of the paper, then it is to use the label of the paper to calculate the network loss for learning, and finally output the category of the paper.
If it is to predict the author's class, use the author's label to calculate the network loss for learning, right?
Looking forward to your answer。
Beta Was this translation helpful? Give feedback.
All reactions