Node2Vec
Algorithms that learn low-dimensional vector representations of nodes by optimizing objectives based on random-walk statistics or edge reconstruction, so that similarity in embedding space reflects network proximity.
Method
Sample biased second-order random walks controlled by return and in-out parameters; fit skip-gram node embeddings from walk contexts.
Applications
Node classification, link prediction, clustering, visualization, recommendation features, any ML pipeline needing node features from graph structure.
Advantages
Simple and scalable; strong unsupervised features.
Limitations
Transductive (new nodes need extra work); limited use of node attributes unless extended; random-walk hyperparameters matter; largely superseded by GNNs for many supervised tasks.
Alternatives
Graph Neural Networks, spectral embeddings, matrix factorization of proximity matrices, role2vec, supervised GNN embeddings.
Editorial clarification
Node2Vec is canonical; DeepWalk uses unbiased walks, while LINE uses proximity-preservation objectives.
Sources
Educational reference only, not professional advice.
All algorithms