RidgeWalker: Perfectly Pipelined Graph Random Walks on FPGAs
Hongshi Tan, Yao Chen, Xinyu Chen, Qizhen Zhang, Cheng Chen, Weng-Fai Wong, Bingsheng He
TL;DR
RidgeWalker addresses the bottlenecks of accelerating graph random walks (GRWs) on hardware by exploiting the Markov property to decompose each hop into stateless tasks that can be executed out-of-order. It fuses asynchronous pipelines with a queuing-theory–based zero-bubble scheduler to realize perfect pipelining, sustaining high utilization even under irregular GRW workloads and memory-latency. The architecture saturates random-access bandwidth through an asynchronous memory engine and a modular N-to-N balancer/dispatcher/merger, achieving up to $71.0\times$ FPGA and $22.9\times$ GPU speedups across multiple GRW algorithms on real and synthetic graphs. RidgeWalker demonstrates broad applicability to PPR, URW, DeepWalk, Node2Vec, and MetaPath, offering a scalable path toward high-performance GRW accelerators for datacenter workloads.
Abstract
Graph Random Walks (GRWs) offer efficient approximations of key graph properties and have been widely adopted in many applications. However, GRW workloads are notoriously difficult to accelerate due to their strong data dependencies, irregular memory access patterns, and imbalanced execution behavior. While recent work explores FPGA-based accelerators for GRWs, existing solutions fall far short of hardware potential due to inefficient pipelining and static scheduling. This paper presents RidgeWalker, a high-performance GRW accelerator designed for datacenter FPGAs. The key insight behind RidgeWalker is that the Markov property of GRWs allows decomposition into stateless, fine-grained tasks that can be executed out-of-order without compromising correctness. Building on this, RidgeWalker introduces an asynchronous pipeline architecture with a feedback-driven scheduler grounded in queuing theory, enabling perfect pipelining and adaptive load balancing. We prototype RidgeWalker on datacenter FPGAs and evaluated it across a range of GRW algorithms and real-world graph datasets. Experimental results demonstrate that RidgeWalker achieves an average speedup of 7.0x over state-of-the-art FPGA solutions and 8.1x over GPU solutions, with peak speedups of up to 71.0x and 22.9x, respectively. The source code is publicly available at https://github.com/Xtra-Computing/RidgeWalker.
