LightRW: FPGA Accelerated Graph Dynamic Random Walks
Hongshi Tan, Xinyu Chen, Yao Chen, Bingsheng He, Weng-Fai Wong
Abstract
Graph dynamic random walks (GDRWs) have recently emerged as a powerful paradigm for graph analytics and learning applications, including graph embedding and graph neural networks. Despite the fact that many existing studies optimize the performance of GDRWs on multi-core CPUs, massive random memory accesses and costly synchronizations cause severe resource underutilization, and the processing of GDRWs is usually the key performance bottleneck in many graph applications. This paper studies an alternative architecture, FPGA, to address these issues in GDRWs, as FPGA has the ability of hardware customization so that we are able to explore fine-grained pipeline execution and specialized memory access optimizations. Specifically, we propose LightRW, a novel FPGA-based accelerator for GDRWs. LightRW embraces a series of optimizations to enable fine-grained pipeline execution on the chip and to exploit the massive parallelism of FPGA while significantly reducing memory accesses. As current commonly used sampling methods in GDRWs do not efficiently support fine-grained pipeline execution, we develop a parallelized reservoir sampling method to sample multiple vertices per cycle for efficient pipeline execution. To address the random memory access issues, we propose a degree-aware configurable caching method that buffers hot vertices on-chip to alleviate random memory accesses and a dynamic burst access engine that efficiently retrieves neighbors. Experimental results show that our optimization techniques are able to improve the performance of GDRWs on FPGA significantly. Moreover, LightRW delivers up to 9.55x and 9.10x speedup over the state-of-the-art CPU-based MetaPath and Node2vec random walks, respectively. This work is open-sourced on GitHub at https://github.com/Xtra-Computing/LightRW.
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 papers5
- 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
- Improving Graph Compression for Efficient Resource-Constrained Graph AnalyticsQian Xu, Juan Yang, Feng Zhang, Zheng Chen et al.VLDB 2024 · 9 citations
- Bingo: Radix-based Bias Factorization for Random Walk on Dynamic GraphsPinhuan Wang, Chengying Huan, Zhibin Wang, Chen Tian et al.EuroSys 2025 · 2 citations
- An Efficient Memoization Engine for Concurrent Graph Query ProcessingSen Gao, Shengliang Lu, Shixuan Sun, Yuchen Li et al.ICDE 2025 · 1 citation
- RidgeWalker: Perfectly Pipelined Graph Random Walks on FPGAsHongshi Tan, Yao Chen, Xinyu Chen, Qizhen Zhang et al.HPCA 2026
Builds on7
- Random Walk Graph Neural NetworksGiannis Nikolentzos, Michalis VazirgiannisNeurIPS 2020 · 172 citations
- Do OS abstractions make sense on FPGAs?Dario Korolija, Timothy Roscoe, Gustavo AlonsoOSDI 2020 · 114 citations
- C-SAW: a framework for graph sampling and random walk on GPUsSantosh Pandey, Lingda Li, Adolfy Hoisie, Xiaoye S. Li et al.SC 2020 · 51 citations
- Reinforcement Learning Based Meta-Path Discovery in Large-Scale Heterogeneous Information NetworksGuojia Wan, Bo Du, Shirui Pan, Gholamreza HaffariAAAI 2020 · 45 citations
- ThunderRW: An In-Memory Graph Random Walk EngineShixuan Sun, Yuhang Chen, Shengliang Lu, Bingsheng He et al.VLDB 2021 · 31 citations
Related papers
- FlexiWalker: Extensible GPU Framework for Efficient Dynamic Random Walks with Runtime AdaptationSeongyeon Park, Jaeyong Song, Changmin Shin, Sukjin Kim et al.EuroSys 2026
- LightTraffic: On Optimizing CPU-GPU Data Traffic for Efficient Large-scale Random WalksYipeng Xing, Yongkun Li, Zhiqiang Wang, Yinlong Xu et al.ICDE 2023 · 3 citations
- RTGA: A Redundancy-free Accelerator for High-Performance Temporal Graph Neural Network InferenceHui Yu, Yu Zhang, Andong Tan, Chenze Lu et al.DAC 2024 · 5 citations
- Accelerating graph sampling for graph machine learning using GPUsAbhinav Jangda, Sandeep Polisetty, Arjun Guha, Marco SerafiniEuroSys 2021 · 79 citations
- CDA-GNN: A Chain-driven Accelerator for Efficient Asynchronous Graph Neural NetworkHui Yu, Yu Zhang, Ligang He, Donghao He et al.DAC 2024 · 4 citations
