Accurately modeling biased random walks on weighted networks using node2vec+
Abstract
MotivationAccurately representing biological networks in a low-dimensional space, also known as network embedding, is a critical step in network-based machine learning and is carried out widely using node2vec, an unsupervised method based on biased random walks. However, while many networks, including functional gene interaction networks, are dense, weighted graphs, node2vec is fundamentally limited in its ability to use edge weights during the biased random walk generation process, thus under-using all the information in the network. ResultsHere, we present node2vec+, a natural extension of node2vec that accounts for edge weights when calculating walk biases and reduces to node2vec in the cases of unweighted graphs or unbiased walks. Using two synthetic datasets, we empirically show that node2vec+ is more robust to additive noise than node2vec in weighted graphs. Then, using genome-scale functional gene networks to solve a wide range of gene function and disease prediction tasks, we demonstrate the superior performance of node2vec+ over node2vec in the case of weighted graphs. Notably, due to the limited amount of training data in the gene classification tasks, graph neural networks such as GCN and GraphSAGE are outperformed by both node2vec and node2vec+ Contactarjun.krishnan@cuanschutz.edu Code Availabilityhttps://github.com/krishnanlab/node2vecplus_benchmarks Supplementary informationSupplementary data are available at Bioinformatics online.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 34
- FWCI
- 2.84
- Field percentile
- top 8%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- PecanPy: a fast, efficient, and parallelized Python implementation of node2vec
Renming Liu, Arjun Krishnan·BioinformaticsPeer-reviewed·Mar 23, 2021
- Ultra-fast and Efficient Network Embedding for Gigascale Biological Datasets
Jianshu Zhao, Jean Pierre Both, Rob D. Knight·bioRxiv·Jun 18, 2025
- Node-degree aware edge sampling mitigates inflated classification performance in biomedical graph representation learning
Luca Cappelletti, Lauren Rekerle, … Peter N. Robinson·bioRxiv·Nov 21, 2022
- The probability of edge existence due to node degree: a baseline for network-based predictions
Michael Zietz, Daniel Himmelstein, … Casey S. Greene·GigaSciencePeer-reviewed·Jan 1, 2024
- Network Enhancement: a general method to denoise weighted biological networks
Bo Wang, Armin Pourshafeie, … Jure Leskovec·Nature CommunicationsPeer-reviewed·Jul 31, 2018
- Large Scale and Stable Graph Differential Analysis via Multi-Layer Node Embeddings and Ranking
Panagiotis Mandros, Ian Gallagher, … John F Quackenbush·bioRxiv·Jun 16, 2024