-
Hello! I want to make use of GAT instead of GraphSAGE (graph-sage-unsup-ppi)for my project as I have edge features as well, I will use this architecture and instead of GraphSAGE I defined this simple model:
I train it exactly as it is in the graph-sage-unsup-ppi version. It is a bit unclear how this process learns now, as in GraphSAGE you have the aggregators (mean, max, lstm) that you learn for all the sampling that you do. How would this model aggregate the results over all the subgraphs? It is performing well but I'm not sure if I get what is going on there. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
GATConv
has an aggregator as well (as any GNN layer). Instead of mean, max or LSTM aggregation,GATConv
uses attention-based aggregation, that is, it computes attention weights for each neighbor, and then sums all neighbor features up weighted by their attention score.