Bypassing Skip-Gram Negative Sampling: Dimension Regularization as a More Efficient Alternative for Graph Embeddings
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 49 references that are in the map. First posted on arXiv 30 Apr 2024.
Builds on
31 of 49 references.
References · 31
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
- 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 970
- 2020Contrastive Learning with Hard Negative Samplescited by 619
19 more
- 2018FastGCN: Fast Learning with Graph Convolutional Networks via Importance Samplingcited by 583
- 2015LINE: Large-scale Information Network Embeddingcited by 582
- 2019Cluster-GCN: An Efficient Algorithm for Training Deep and Large Graph Convolutional Networkscited by 540
- 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 374
- 2017Implicit Regularization in Matrix Factorizationcited by 318
- 2020Machine Learning on Graphs: A Model and Comprehensive Taxonomycited by 156
- 2022On the duality between contrastive and non-contrastive self-supervised learningcited by 107
- 2020Understanding Negative Sampling in Graph Representation Learningcited by 66
- 2018VERSE: Versatile Graph Embeddings from Similarity Measurescited by 54
- 2020Attraction-Repulsion Spectrum in Neighbor Embeddingscited by 41
- 2019GraphVite: A High-Performance CPU-GPU Hybrid System for Node Embeddingcited by 40
- 2018MILE: A Multi-Level Framework for Scalable Graph Embeddingcited by 28
- 2023HomoGCL: Rethinking Homophily in Graph Contrastive Learningcited by 18
- 2017Network structure from rich but noisy datacited by 17
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 14
- 2016Exponential Family Embeddingscited by 13
- 2021Asymptotics of Network Embeddings Learned via Subsamplingcited by 10
- 2023BatchSampler: Sampling Mini-Batches for Contrastive Learning in Vision, Language, and Graphscited by 7
- 2023Similarity Preserving Adversarial Graph Contrastive Learningcited by 6
Built on by
Not cited yet.