RadiK:可扩展且优化的GPU并行基数Top-K选择
RadiK: Scalable and Optimized GPU-Parallel Radix Top-K Selection
AI总结:
本文提出RadiK,一种可扩展且优化的GPU并行基数Top-K选择方法,通过新型优化框架和自适应缩放技术,支持更大的k值,相比现有技术实现高达4.8倍的加速。
摘要:
Top-k选择,即从数据集中识别最大或最小的k个元素,是数据库和深度学习等数据密集型领域中的一项基本操作,因此其可扩展性和效率对这些高性能系统至关重要。然而,以往关于其高效GPU实现的研究大多基于合并(merge-based)方法,并严重依赖快速但容量有限的片上内存,从而限制了可扩展性,使k值存在严格的上限。本工作提出了一种可扩展且优化的GPU并行基数Top-K选择方法,在不牺牲效率的前提下,支持比现有方法大得多的k值,且不受输入长度和批处理大小的影响。我们的方法引入了一种针对高内存带宽和资源利用率定制的新型优化框架,在非批量查询中相比现有技术实现了高达2.5倍的加速,在批量查询中实现了高达4.8倍的加速。此外,我们提出了一种自适应缩放技术,增强了鲁棒性,在高度对抗性的输入分布上进一步提供了高达2.7倍的加速。
英文摘要:
Top-k selection, which identifies the largest or smallest k elements from a data set, is a fundamental operation in data-intensive domains such as databases and deep learning, so its scalability and efficiency are critical for these high-performance systems. However, previous studies on its efficient GPU implementation are mostly merge-based and rely heavily on the fast but size-limited on-chip memory, thereby limiting the scalability with a restricted upper bound on k. This work introduces a scalable and optimized GPU-parallel radix top-k selection that supports significantly larger k values than existing methods without compromising efficiency, regardless of input length and batch size. Our method incorporates a novel optimization framework tailored for high memory bandwidth and resource utilization, achieving up to 2.5x speedup over the prior art for non-batch queries and up to 4.8x speedup for batch queries. In addition, we propose an adaptive scaling technique that strengthens the robustness, which further provides up to 2.7x speedup on highly adversarial input distributions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。