arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00705cs.DC
收藏

FlexiWalker: 一种可扩展的GPU框架,用于高效的动态随机游走与运行时适应

FlexiWalker: Extensible GPU Framework for Efficient Dynamic Random Walks with Runtime Adaptation

Seoul National University(首尔大学)

Seongyeon Park, Jaeyong Song, Changmin Shin, Sukjin Kim, Junguk Hong, Jinho Lee

AI总结:

FlexiWalker是一种高效的GPU框架,通过动态随机游走与运行时适应技术,提升大规模并行处理性能。

摘要:

动态随机游走是各种图分析应用的基础,通过适应不断变化的图属性具有优势。其运行时间依赖的转移概率打破了支撑大多数现有CPU和GPU静态随机游走优化的预计算策略。这使从业者面临次优框架,并被迫编写手工调整的内核,这些内核不适应工作负载的多样性。为了解决这个问题,我们提出了FlexiWalker,这是第一个提供高效、工作负载通用支持的GPU框架,用于动态随机游走。我们的设计空间研究显示,在大规模并行化下,拒绝采样和蓄水池采样比其他采样技术更合适。因此,我们设计了(i)新的高性能内核,以消除全局减少、冗余内存访问和随机数生成。鉴于在运行时选择最佳采样策略的必要性,我们采用(ii)一个轻量级的一阶成本模型,在运行时为每个节点选择更快的内核。为了提高易用性,我们引入了(iii)一个编译时组件,将用户提供的游走逻辑自动转换为优化的构建块。在各种动态随机游走工作负载上,使用真实世界的图,FlexiWalker在性能上优于最佳的已发表CPU/GPU基准,分别以几何均值73.44倍和5.91倍的速度提升,同时成功执行了先前系统无法支持的工作负载。我们开源了FlexiWalker在https://github.com/AIS-SNU/FlexiWalker。

英文摘要:

Dynamic random walks are fundamental to various graph analysis applications, offering advantages by adapting to evolving graph properties. Their runtime-dependent transition probabilities break down the pre-computation strategy that underpins most existing CPU and GPU static random walk optimizations. This leaves practitioners suffering from suboptimal frameworks and having to write hand-tuned kernels that do not adapt to workload diversity. To handle this issue, we present FlexiWalker, the first GPU framework that delivers efficient, workload-generic support for dynamic random walks. Our design-space study shows that rejection sampling and reservoir sampling are more suitable than other sampling techniques under massive parallelism. Thus, we devise (i) new high-performance kernels for them that eliminate global reductions, redundant memory accesses, and random-number generation. Given the necessity of choosing the best-fitting sampling strategy at runtime, we adopt (ii) a lightweight first-order cost model that selects the faster kernel per node at runtime. To enhance usability, we introduce (iii) a compile-time component that automatically specializes user-supplied walk logic into optimized building blocks. On various dynamic random walk workloads with real-world graphs, FlexiWalker outperforms the best published CPU/GPU baselines by geometric means of 73.44x and 5.91x, respectively, while successfully executing workloads that prior systems cannot support. We open-source FlexiWalker in https://github.com/AIS-SNU/FlexiWalker.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑