Heterogeneous data; nodes without features. #3934
Replies: 2 comments 4 replies
-
That is correct. In |
Beta Was this translation helpful? Give feedback.
-
Hi @rusty1s , Thank you for the response to the discussion above. It took me some time to respond but finally here I am . I read a couple of papers to follow and also had a look to a colab tutorial. I see that generating embeddings using metapath2vec (or learning torch.nn.Embdeding) suggestion would work as transductive approaches. However, given new unseen nodes, perhaps one could repeat the metapath2vec process to learn all embeddings(maybe expensive, unless we could learn just the embeddings of the new nodes from their neighborhood somehow). But, if I am not mistaken we cannot generate embeddings on new nodes if we have learned a torch.nnEmbeddings on a different structure/nodes etc... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Just a discussion point..
In the example for Heterogenous graphs here, each node comes with a feature.
data['paper'].x = ... # [num_papers, num_features_paper]
data['author'].x = ... # [num_authors, num_features_author]
data['institution'].x = ... # [num_institutions, num_features_institution]
data['field_of_study'].x = ... # [num_field, num_features_field]
However it could be a case where a node, e.g., 'field of study' does not have any features, and the node is fully defined by it's index. However in the graph framework it is not possible to have nodes with no features (no information to send to neighboring nodes) Isn't this a limitation though? if a paper belongs to a field of study, then this could be all the information we have.
How would one approach this in terms of implementation in heterogenous graphs? ( using as feature an "id" for the field of study isn't the best, as this number will be increasing with increasing number of topics.) Creating an embedding for each topic based on the field id, could be another option, but how do we capture the information in our graph that some papers are linked together due to the fact that they belong to a particular field of study, but we do not have any other information/features for this fields of study?
Cheers,
M
Beta Was this translation helpful? Give feedback.
All reactions