Reproduce “Understanding Negative Sampling in Graph Representation Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhen Yang, Ming Ding, Chang Zhou, Hongxia Yang, Jingren Zhou, Jie Tang

A systematic analysis of negative sampling in graph representation learning reveals its fundamental influence on optimization objectives and representation variance. The research proposes Markov Chain Monte Carlo Negative Sampling (MCNS), an adaptive and efficient strategy that consistently outperforms existing methods, achieving 2-13% improvements in metrics like MRR and AUC across various graph learning tasks and datasets.

Key insights

  • Negative sampling fundamentally influences both the optimization objective and the statistical variance (risk) of learned graph embeddings, determining what and how accurately the model learns.
  • The optimal negative sampling distribution p_n should be positively but sub-linearly correlated with the true positive data distribution p_d (specifically p_n "proportional to" p_d^alpha, where 0 < alpha < 1).
  • This theoretical principle explains why "hard negative samples" (those with higher p_d) are beneficial, as they reduce estimation variance for important node pairs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.