Understanding Negative Sampling in Graph Representation Learning

被引:106
|
作者
Yang, Zhen [1 ]
Ding, Ming [1 ]
Zhou, Chang [2 ]
Yang, Hongxia [2 ]
Zhou, Jingren [2 ]
Tang, Jie [1 ]
机构
[1] Tsinghua Univ, Dept Comp Sci & Technol, Beijing, Peoples R China
[2] Alibaba Grp, DAMO Acad, Hangzhou, Peoples R China
关键词
Negative Sampling; Graph Representation Learning; Network Embedding;
D O I
10.1145/3394486.3403218
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 vertical bar v) proportional to p(d) (u vertical bar v)(alpha), 0 < alpha < 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.
引用
收藏
页码:1666 / 1676
页数:11
相关论文
共 50 条
  • [21] HeteroSample: Meta-Path Guided Sampling for Heterogeneous Graph Representation Learning
    Liu, Ao
    Chen, Jing
    Du, Ruiying
    Wu, Cong
    Feng, Yebo
    Li, Teng
    Ma, Jianfeng
    IEEE INTERNET OF THINGS JOURNAL, 2025, 12 (04): : 4390 - 4402
  • [22] TASER: Temporal Adaptive Sampling for Fast and Accurate Dynamic Graph Representation Learning
    Deng, Gangda
    Zhou, Hongkuan
    Zeng, Hanqing
    Xia, Yinglong
    Leung, Christopher
    Li, Jianbo
    Kannan, Rajgopal
    Prasanna, Viktor
    PROCEEDINGS 2024 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM, IPDPS 2024, 2024, : 926 - 937
  • [23] NFGCL: A negative-sampling-free graph contrastive learning framework for recommendation
    Xiao, Yuxi
    Ma, Rui
    Sang, Jun
    INFORMATION SCIENCES, 2025, 695
  • [24] Negative sampling strategies for contrastive self-supervised learning of graph representations
    Hafidi, Hakim
    Ghogho, Mounir
    Ciblat, Philippe
    Swami, Ananthram
    SIGNAL PROCESSING, 2022, 190
  • [25] RevGNN: Negative Sampling Enhanced Contrastive Graph Learning for Academic Reviewer Recommendation
    Liao, Weibin
    Zhi, Yifan
    Zhang, Qi
    Ou, Zhonghong
    Li, Xuesong
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2024, 43 (01)
  • [26] AFANS: Augmentation-Free Graph Contrastive Learning with Adversarial Negative Sampling
    Wang, Shihao
    Wang, Chenxu
    Meng, Panpan
    Wang, Zhanggong
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT XII, ICIC 2024, 2024, 14873 : 376 - 387
  • [27] From Deep Multi-lingual Graph Representation Learning to History Understanding
    Sharifirad, Sima
    Matwin, Stan
    Dzwinel, Witold
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING, PT II, 2017, 10614 : 756 - 756
  • [28] EMCRL: EM-Enhanced Negative Sampling Strategy for Contrastive Representation Learning
    Zhang, Kun
    Lv, Guangyi
    Wu, Le
    Hong, Richang
    Wang, Meng
    IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2024,
  • [29] Event representation via contrastive learning with prototype based hard negative sampling
    Kong, Jing
    Yang, Zhouwang
    NEUROCOMPUTING, 2024, 600
  • [30] Hard Negative Sampling via Regularized Optimal Transport for Contrastive Representation Learning
    Jiang, Ruijie
    Ishwar, Prakash
    Aeron, Shuchin
    2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,