Understanding Negative Sampling in Graph Representation Learning
Zhen Yang, Ming Ding, Chang Zhou, Hongxia Yang, Jingren Zhou, Jie Tang
Abstract
Graph representation learning has been extensively studied in recent years, in which sampling is a critical point. Prior arts usually focus on sampling positive node pairs, while the strategy for negative sampling is left insufficiently explored. To bridge the gap, we systematically analyze the role of negative sampling from the perspectives of both objective and risk, theoretically demonstrating that negative sampling is as important as positive sampling in determining the optimization objective and the resulted variance. To the best of our knowledge, we are the first to derive the theory and quantify that a nice negative sampling distribution is p n (u|v) ∝ p d (u|v) α , 0 < α < 1. With the guidance of the theory, we propose MCNS, approximating the positive distribution with self-contrast approximation and accelerating negative sampling by Metropolis-Hastings. We evaluate our method on 5 datasets that cover extensive downstream graph learning tasks, including link prediction, node classification and recommendation, on a total of 19 experimental settings. These relatively comprehensive experimental results demonstrate its robustness and superiorities. CCS CONCEPTS • Mathematics of computing → Graph algorithms; • Computing methodologies → Learning latent representations.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1dcdf68d-6c28-4c83-b1ba-e7bad15d7b59Cited by top-tier papers39
- Are we really making much progress?: Revisiting, benchmarking and refining heterogeneous graph neural networksQingsong Lv, Ming Ding, Qiang Liu, Yuxiang Chen et al.KDD 2021 · 249 citations
- MixGCF: An Improved Training Method for Graph Neural Network-based Recommender SystemsTinglin Huang, Yuxiao Dong, Ming Ding, Zhen Yang et al.KDD 2021 · 190 citations
- Simplify and Robustify Negative Sampling for Implicit Collaborative FilteringJingtao Ding, Yuhan Quan, Quanming Yao, Yong Li et al.NeurIPS 2020 · 131 citations
- Self-Contrastive Learning with Hard Negative Sampling for Self-supervised Point Cloud LearningBi'an Du, Xiang Gao, Wei Hu, Xin LiACM MM 2021 · 82 citations
- Learning from the Dark: Boosting Graph Convolutional Neural Networks with Diverse Negative SamplesWei Duan, Junyu Xuan, Maoying Qiao, Jie LuAAAI 2022 · 56 citations
Related papers
- Negative Sampling From the Ground Up: A Redesign for RecommendationYanbang Wang, Jon Kleinberg, Yanhong WuICML 2026
- Diffusion-based Negative Sampling on Graphs for Link PredictionTrung-Kien Nguyen, Yuan FangWWW 2024 · 27 citations
- B2-Sampling: Fusing Balanced and Biased Sampling for Graph Contrastive LearningMengyue Liu, Yun Lin, Jun Liu, Bohao Liu et al.KDD 2023 · 5 citations
- Balancing Consistency and Disparity in Network AlignmentSi Zhang, Hanghang Tong, Long Jin, Yinglong Xia et al.KDD 2021 · 46 citations
- On the Surrogate Gap between Contrastive and Supervised LossesHan Bao, Yoshihiro Nagano, Kento NozawaICML 2022 · 27 citations
