Memory-Aware Framework for Efficient Second-Order Random Walk on Large Graphs
Yingxia Shao, Shiyue Huang, Xupeng Miao, Bin Cui, Lei Chen
Abstract
Second-order random walk is an important technique for graph analysis. Many applications use it to capture higher-order patterns in the graph, thus improving the model accuracy. However, the memory explosion problem of this technique hinders it from analyzing large graphs. When processing a billion-edge graph like Twitter, existing solutions (e.g., alias method) of the second-order random walk may take up 1796TB memory. Such high memory overhead comes from the memory-unaware strategies for node sampling across the graph. In this paper, to clearly study the efficiency of various node sampling methods in the context of second-order random walk, we design a cost model, and then propose a new node sampling method following the acceptance-rejection paradigm to achieve a better balance between memory and time cost. Further, to guarantee the efficiency of the second-order random walk within arbitrary memory budgets, we propose a memory-aware framework on the basis of the cost model. The framework applies a cost-based optimizer to assign desirable node sampling method for each node in the graph within a memory budget while minimizing the time cost. Finally, we provide general programming interfaces for users to benefit from the memory-aware framework easily. The empirical studies demonstrate that our memory-aware framework is robust with respect to memory and is able to achieve considerable efficiency by reducing 90% of the memory cost.
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.
Cited by top-tier papers14
- ThunderRW: An In-Memory Graph Random Walk EngineShixuan Sun, Yuhang Chen, Shengliang Lu, Bingsheng He et al.VLDB 2021 · 31 citations
- Random Walks on Huge Graphs at Cache EfficiencyKe Yang, Xiaosong Ma, Saravanan Thirumuruganathan, Kang Chen et al.SOSP 2021 · 26 citations
- An I/O-Efficient Disk-based Graph System for Scalable Second-Order Random Walk of Large GraphsHongzheng Li, Yingxia Shao, Junping Du, Bin Cui et al.VLDB 2022 · 19 citations
- TEA: A General-Purpose Temporal Graph Random Walk EngineChengying Huan, Shuaiwen Leon Song, Santosh Pandey, Hang Liu et al.EuroSys 2023 · 11 citations
- UniNet: Scalable Network Representation Learning with Metropolis-Hastings SamplingXingyu Yao, Yingxia Shao, Bin Cui, Lei ChenICDE 2021 · 11 citations
Related papers
- Distributed Graph Embedding with Information-Oriented Random WalksPeng Fang, Arijit Khan, Siqiang Luo, Fang Wang et al.VLDB 2023 · 18 citations
- SOWalker: An I/O-Optimized Out-of-Core Graph Processing System for Second-Order Random WalksYutong Wu, Zhan Shi, Shicai Huang, Zhipeng Tian et al.USENIX ATC 2023 · 3 citations
- A Bootstrapping Approach to Optimize Random Walk Based Statistical Estimation over GraphsPei Yi, Hong Xie, Yongkun Li, John C. S. LuiICDE 2021 · 7 citations
- FlowWalker: A Memory-efficient and High-performance GPU-based Dynamic Graph Random Walk FrameworkJunyi Mei, Shixuan Sun, Chao Li, Cheng Xu et al.VLDB 2024 · 10 citations
- Social Graph Restoration via Random Walk SamplingKazuki Nakajima, Kazuyuki ShudoICDE 2022 · 6 citations
