facebookresearch / SEAL_OGB

An open-source implementation of SEAL for link prediction in open graph benchmark (OGB) datasets.
MIT License
221 stars 58 forks source link

Can I learn the embedding of individual nodes? #23

Open chang861224 opened 2 years ago

chang861224 commented 2 years ago

Hi @muhanzhang,

I am a master student at NCCU. I saw your SEAL method on OGB link property prediction task, and I am interested in this method. But I have a trivial question, hope you can solve my doubt.

I have read your code and I know that your SEAL method learn the embedding for subgraphs constructed from each pair of nodes. However, I wanna know that, can this method learn the embedding of individual nodes rather than the embedding of edges? Or it can only be used for learning a pair of nodes (i.e. edges)?

muhanzhang commented 2 years ago

No. Using node labeling methods and enclosing subgraphs can also help node/graph representation learning other than edge learning. See this paper and this one.