Learning the graph structure for link prediction #2681
-
Hi, I am working on the application of classification/link prediction. So, far I have looked at the code such as SuperGAT. I have noticed is that the dataset used in SuperGAT (e.g., Citations) seems to already have the graph structure (the set of edges to be considered in training and testing). However, in my application, all I have is the data attributes .....without the edges or adjacent matrix or mask to identify which nodes may be connected to which. My questions are
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Thanks for your interest.
|
Beta Was this translation helpful? Give feedback.
-
If you have some prior knowledge about the structure of adjacency matrix e.g sparsity, smoothness of input, etc. you can use these unsupervised objectives to learn the initial graph. For more details refer to this paper Exploring Structure-Adaptive Graph Learning for Robust Semi-Supervised Classification. |
Beta Was this translation helpful? Give feedback.
Thanks for your interest.
GAT
models a Transformer model). As such, attention scores can be interpreted as learning a soft adjacency matrix per layer. However, keep in mind that this package is more suited towards sparse graph-structured data rather than fully-connected graphs.GAT
computes an attention score per edge.