Accepted Papers

Understanding Negative Sampling in Graph Representation Learning

Zhen Yang: Department of Computer Science and Technology, Tsinghua University; Ming Ding: Department of Computer Science and Technology, Tsinghua University; Chang Zhou: DAMO Academy, Alibaba Group; Hongxia Yang: DAMO Academy, Alibaba Group; Jingren Zhou: DAMO Academy, Alibaba Group; Jie Tang: Department of Computer Science and Technology, Tsinghua University


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 pn(u|v) ∝ pd(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.

How can we assist you?

We'll be updating the website as information becomes available. If you have a question that requires immediate attention, please feel free to contact us. Thank you!

Please enter the word you see in the image below: