On the Optimization Trajectory of DeepWalk Embeddings
Christopher Harker, Aditya Bhaskara
Abstract
The DeepWalk algorithm has been widely used for learning node embeddings in graphs. Combined with the idea of negative sampling , the DeepWalk algorithm has been shown to be implementable at scale, easily handling graphs with millions of nodes. However, theoretical guarantees on the resulting embeddings are much less understood. Recent results have studied the minimizers of the objective and have shown interesting guarantees for certain graph classes. However, the optimization trajectory , i.e., what happens when we start at a random initialization and run gradient descent, remains poorly understood. This is especially true for the implementation of DeepWalk using Skip-gram with negative sampling (SGNS), since the variance of the stochastic updates turns out to be very large. In this work, we make progress on this question. We show that for "small norm" initialization, under a spectral gap assumption on the graph, the DeepWalk embeddings align with the column space of a fixed low-rank matrix. For graphs generated from Stochastic Block Models with certain separation conditions, our results imply that the DeepWalk embeddings recover cluster structure. To the best of our knowledge, our results give the first analysis of the optimization trajectory of DeepWalk with negative sampling on non-trivial graph classes.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0e4ef2c4-951b-4ac9-9e6f-74960908e4f0Builds on6
- Small random initialization is akin to spectral learning: Optimization and generalization guarantees for overparameterized low-rank matrix reconstructionDominik Stöger, Mahdi SoltanolkotabiNeurIPS 2021 · 101 citations
- A Broader Picture of Random-walk Based Graph EmbeddingZexi Huang, Arlei Silva, Ambuj K. SinghKDD 2021 · 42 citations
- InfiniteWalk: Deep Network Embeddings as Laplacian Embeddings with a NonlinearitySudhanshu Chanpuriya, Cameron MuscoKDD 2020 · 25 citations
- Closed-Form Training Dynamics Reveal Learned Features and Linear Structure in Word2Vec-like ModelsDhruva Karkada, James B. Simon, Yasaman Bahri, Michael R. DeWeeseNeurIPS 2025 · 9 citations
- Community Detection Guarantees using Embeddings Learned by Node2VecAndrew Davison, S. Carlyle Morgan, Owen G. WardNeurIPS 2024 · 3 citations
Related papers
- Convergence Guarantees for the DeepWalk Embedding on Block ModelsChristopher Harker, Aditya BhaskaraICML 2024
- On the Effect of Misspecifying the Embedding Dimension in Low-rank Network ModelsRoddy Taing, Keith LevinICML 2026
- BASiS: Batch Aligned Spectral Embedding SpaceOr Streicher, Ido Cohen, Guy GilboaCVPR 2023
- Optimization of Graph Neural Networks: Implicit Acceleration by Skip Connections and More DepthKeyulu Xu, Mozhi Zhang, Stefanie Jegelka, Kenji KawaguchiICML 2021 · 87 citations
- FedWalk: Communication Efficient Federated Unsupervised Node Embedding with Differential PrivacyQiying Pan, Yifei ZhuKDD 2022 · 20 citations
