The document compares DeepWalk and Node2Vec network embedding algorithms. DeepWalk learns representations by treating random walks as sentences, but cannot capture mixtures of homophily and structural equivalence. Node2Vec addresses this by introducing parameters p and q to control the walk's behavior between BFS and DFS, allowing it to explore neighborhoods more flexibly. The algorithm samples multiple random walks per node and learns embeddings by predicting contexts within those walks using Skip-Gram.
Related topics: