Bypassing Skip-Gram Negative Sampling: Dimension Regularization as a More Efficient Alternative for Graph Embeddings
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. Global sparsity slows down dimensional collapse, while local density ensures that node attraction brings the nodes near their neighbors. In general, however, repulsion is needed, and dimension regularization provides an efficient alternative to SGNS.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning 引用了 Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Barlow Twins: Self-Supervised Learning via Redundancy Reduction 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Barlow Twins: Self-Supervised Learning via Redundancy Reduction 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
它引用的 Paper16
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun 等ICML 2021 · 2,942 次引用
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised LearningAdrien Bardes, Jean Ponce, Yann LeCunICLR 2022 · 1,226 次引用
相关 Paper
- SCE: Scalable Network Embedding from Sparsest CutShengzhong Zhang, Zengfeng Huang, Haicang Zhou, Ziang ZhouKDD 2020 · 9 次引用
- Reconciling Competing Sampling Strategies of Network EmbeddingYuchen Yan, Baoyu Jing, Lihui Liu, Ruijie Wang 等NeurIPS 2023 · 34 次引用
- DRGraph: An Efficient Graph Layout Algorithm for Large-scale Graphs by Dimensionality ReductionMinfeng Zhu, Wei Chen, Yuanzhe Hu, Yuxuan Hou 等IEEE VIS 2020 · 45 次引用
- Efficient Non-Sampling Knowledge Graph EmbeddingZelong Li, Jianchao Ji, Zuohui Fu, Yingqiang Ge 等WWW 2021 · 41 次引用
- Provable Training for Graph Contrastive LearningYue Yu, Xiao Wang, Mengmei Zhang, Nian Liu 等NeurIPS 2023 · 19 次引用
