paper-with-me

Papers

Bypassing Skip-Gram Negative Sampling: Dimension Regularization as a More Efficient Alternative for Graph Embeddings

2024-04-30 · David Liu, Arjun Seshadri, Tina Eliassi-Rad, Johan Ugander

A wide range of graph embedding objectives decompose into two components: one that enforces similarity, attracting the embeddings of nodes that are perceived as similar, and another that enforces dissimilarity, repelling the embeddings of nodes that are perceived as dissimilar. Without repulsion, the embeddings would collapse into trivial solutions. Skip-Gram Negative Sampling (SGNS) is a popular and efficient repulsion approach that prevents collapse by repelling each node from a sample of dissimilar nodes. In this work, we show that when repulsion is most needed and the embeddings approach collapse, SGNS node-wise repulsion is, in the aggregate, an approximate re-centering of the node embedding dimensions. Such dimension operations are more scalable than node operations and produce a simpler geometric interpretation of the repulsion. Our theoretical result establishes dimension regularization as an effective and more efficient, compared to skip-gram node contrast, approach to enforcing dissimilarity among embeddings of nodes. We use this result to propose a flexible algorithm augmentation framework that improves the scalability of any existing algorithm using SGNS. The framework prioritizes node attraction and replaces SGNS with dimension regularization. We instantiate this generic framework for LINE and node2vec and show that the augmented algorithms preserve downstream link-prediction performance while reducing GPU memory usage by up to 33.3% and training time by 23.4%. Moreover, we show that completely removing repulsion (a special case of our augmentation framework) in LINE reduces training time by 70.9% on average, while increasing link prediction performance, especially for graphs that are globally sparse but locally dense. In general, however, repulsion is needed, and dimension regularization provides an efficient alternative to SGNS.

📄 PDF Abstract BibTeX arXiv:2405.00172

Code (0)

등록된 구현이 없습니다.

Tasks

GPUGraph EmbeddingLink PredictionSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

LINE 설명 없음
node2vec node2vec is a framework for learning graph embeddings for nodes in graphs. Node2vec maximizes a likelihood objective over mappings which preserve neighbourhood distances in…

Similar Papers 제목 키워드 기반

word2vec Skip-Gram with Negative Sampling is a Weighted Logistic PCA

2017-05-27 · Andrew J. Landgraf, Jeremy Bellay

We show that the skip-gram formulation of word2vec trained with negative sampling is equivalent to a weighted logistic PCA. This connection allows us to better understand the objective, compare it to other word embedding…

Information-Theory Interpretation of the Skip-Gram Negative-Sampling Objective Function

2017-07-01 · ACL 2017 7 · Oren Melamud, Jacob Goldberger

In this paper we define a measure of dependency between two random variables, based on the Jensen-Shannon (JS) divergence between their joint distribution and the product of their marginal distributions. Then, we show th…

Dependency ParsingEntity Extraction using GANWord Embeddings

Second-order Co-occurrence Sensitivity of Skip-Gram with Negative Sampling

2019-06-06 · WS 2019 8 · Dominik Schlechtweg, Cennet Oguz, Sabine Schulte im Walde

We simulate first- and second-order context overlap and show that Skip-Gram with Negative Sampling is similar to Singular Value Decomposition in capturing second-order co-occurrence information, while Pointwise Mutual In…

Sensitivity

Improving Negative Sampling for Word Representation using Self-embedded Features

2017-10-26 · Long Chen, Fajie Yuan, Joemon M. Jose, Wei-Nan Zhang

Although the word-popularity based negative sampler has shown superb performance in the skip-gram model, the theoretical motivation behind oversampling popular (non-observed) words as negative samples is still not well u…

The strange geometry of skip-gram with negative sampling

2017-09-01 · EMNLP 2017 9 · David Mimno, Laure Thompson

Despite their ubiquity, word embeddings trained with skip-gram negative sampling (SGNS) remain poorly understood. We find that vector positions are not simply determined by semantic similarity, but rather occupy a narrow…

Semantic SimilaritySemantic Textual SimilarityWord Embeddings