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 条
  • [1] AdaNS: Adaptive negative sampling for unsupervised graph representation learning
    Wang, Yu
    Hu, Liang
    Gao, Wanfu
    Cao, Xiaofeng
    Chang, Yi
    PATTERN RECOGNITION, 2023, 136
  • [2] Comprehensive Analysis of Negative Sampling in Knowledge Graph Representation Learning
    Kamigaito, Hidetaka
    Hayashi, Katsuhiko
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022, : 10661 - 10675
  • [3] Negative sampling strategy based on multi-hop neighbors for graph representation learning
    Zhang, Kaiyu
    Sang, Guoming
    Cheng, Junkai
    Liu, Zhi
    Zhang, Yijia
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 263
  • [4] Attributed network representation learning via improved graph attention with robust negative sampling
    Huilian Fan
    Yuanchang Zhong
    Guangpu Zeng
    Lili Sun
    Applied Intelligence, 2021, 51 : 416 - 426
  • [5] Attributed network representation learning via improved graph attention with robust negative sampling
    Fan, Huilian
    Zhong, Yuanchang
    Zeng, Guangpu
    Sun, Lili
    APPLIED INTELLIGENCE, 2021, 51 (01) : 416 - 426
  • [6] ConCur: Self-supervised graph representation based on contrastive learning with curriculum negative sampling
    Yan, Rong
    Bao, Peng
    NEUROCOMPUTING, 2023, 551
  • [7] Adaptive Sampling Towards Fast Graph Representation Learning
    Huang, Wenbing
    Zhang, Tong
    Rong, Yu
    Huang, Junzhou
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 31 (NIPS 2018), 2018, 31
  • [8] Understanding the Representation Power of Graph Neural Networks in Learning Graph Topology
    Dehmamy, Nima
    Barabasi, Albert-Laszlo
    Yu, Rose
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 32 (NIPS 2019), 2019, 32
  • [9] HNS: Hierarchical negative sampling for network representation learning
    Chen, Junyang
    Gong, Zhiguo
    Wang, Wei
    Liu, Weiwen
    INFORMATION SCIENCES, 2021, 542 : 343 - 356
  • [10] Unsupervised Path Representation Learning with Curriculum Negative Sampling
    Bin Yang, Sean
    Guo, Chenjuan
    Hu, Jilin
    Tang, Jian
    Yang, Bin
    PROCEEDINGS OF THE THIRTIETH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2021, 2021, : 3286 - 3292