Edge classification with simulated graph data #6079
Unanswered
mkl-joseph
asked this question in
Q&A
Replies: 1 comment 9 replies
-
I think your understanding is fully correct, that is: You apply a GNN to learn node embeddings, and source and destination node embeddings are combined to make a prediction for the link/edge connecting these two nodes. Your code looks fine as well. Doesn't it work? |
Beta Was this translation helpful? Give feedback.
9 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.
-
I'm working on a project where I am trying to predict whether or not observations across multiple frames in astronomical images are associated (i.e. are the same object at different times). I've posed this as a graph problem, and created a simulated dataset where nodes are observations with features position and photometric SNR. In this graph data, there are edges connecting observations that are close in position space (via Mahalanobis Distance). The edges have a binary attribute that is 1 if the objects are truly associated, and 0 otherwise (there are multiple objects in the frames). I want to train a GNN to take as input a set of observations that are all connected via the MD filtering with initial edge attributes as 0, and output the estimated edge attributes corresponding to true associations among the objects (i.e. associated objects will have 1 for edge attribute).
I have done a lot of reading of the literature and gone through examples posted here, but I am having trouble finding the right architecture to use for this. I initially thought that the link_pred.py example would fit my needs, but I do not need to predict links between nodes, just the edge attributes. Furthermore, looking through multiple discussions I found a comment here providing an example, but in my implementation (below) I am seeing no changes in the weights after updates.
The initial motivation for this project came from this paper , where they use the SpliceCNN architecture.
Any advice/suggestions/insight would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions