Node-degree aware edge sampling mitigates inflated classification performance in biomedical random walk-based graph representation learning
Authors:
- Luca CappellettiLCLuca Cappelletti
- Lauren RekerleLRLauren Rekerle
- Tommaso FontanaTFTommaso Fontana
- Peter HansenPHPeter Hansen
- Elena CasiraghiElena Casiraghi
- Vida RavanmehrVRVida Ravanmehr
- Christopher J MungallCMChristopher J Mungall
- Jeremy J YangJYJeremy J Yang
- Leonard SprangerLSLeonard Spranger
- Guy KarlebachGKGuy Karlebach
- J Harry CaufieldJCJ Harry Caufield
- Leigh CarmodyLCLeigh Carmody
Open Access
- 1 January 2024
- journal article
- research article
- Published by Oxford University Press (OUP) in Bioinformatics Advances
- Vol. 4 (1) , vbae036
Abstract
Motivation: Graph representation learning is a family of related approaches that learn low-dimensional vector representations of nodes and other graph elements called embeddings. Embeddings approximate characteristics of the graph and can be used for a variety of machine-learning tasks such as novel edge prediction. For many biomedical applications, partial knowledge exists about positive edges that represent relationships between pairs of entities, but little to no knowledge is available about negative edges that represent the explicit lack of a relationship between two nodes. For this reason, classification procedures are forced to assume that the vast majority of unlabeled edges are negative. Existing approaches to sampling negative edges for training and evaluating classifiers do so by uniformly sampling pairs of nodes. Results: We show here that this sampling strategy typically leads to sets of positive and negative examples with imbalanced node degree distributions. Using representative heterogeneous biomedical knowledge graph and random walk-based graph machine learning, we show that this strategy substantially impacts classification performance. If users of graph machine-learning models apply the models to prioritize examples that are drawn from approximately the same distribution as the positive examples are, then performance of models as estimated in the validation phase may be artificially inflated. We present a degree-aware node sampling approach that mitigates this effect and is simple to implement. Availability and implementation: Our code and data are publicly available at https://github.com/monarch-initiative/negativeExampleSelection.Keywords
Funding Information
- National Institutes of Health (U01-CA239108-02)
- National Cancer Institute (U24-CA224067)
This publication has 27 references indexed in Scilit:
- Machine Learning in MedicineNew England Journal of Medicine, 2019
- Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A cross-sectional studyPLOS Medicine, 2018
- The Cellosaurus, a Cell-Line Knowledge ResourceJournal of Biomolecular Techniques : JBT, 2018
- Harnessing synthetic lethality to predict the response to cancer treatmentNature Communications, 2018
- Machine Learning in MedicineCirculation, 2015
- SynLethDB: synthetic lethality database toward discovery of selective and sensitive anticancer drug targetsNucleic Acids Research, 2015
- The Impact of Multifunctional Genes on "Guilt by Association" AnalysisPLOS ONE, 2011
- The powerful law of the power law and other myths in network biologyMolecular BioSystems, 2009
- Scale-free networks in cell biologyJournal of Cell Science, 2005
- Emergence of Scaling in Random NetworksScience, 1999