node2vec
Method to generate node embeddings that encapsulate local neighborhood information, inspired from the word2vec
model.
- Graph nodes, however are not sequential like words, so learning is done through random walks
- Biased random walk encodes transition probabilities based on connectivity:
- If connected to origin,
- If one degree of separation from origin,
- If two degrees of separation from origin,
- Gives a parameterized exploration versus exploitation tradeoff
- (transition probability) weighted by and edge weight
- Deepwalk is equivalent to
Learning objective is maximizing the node and neighborhood likelihoods:
i.e. maximizing the log likelihood of a neighborhood given a node .
This, however, is difficult because in order to compute probability you need the whole graph: node2vec
uses negative sampling