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

Kolmogorov-Arnold 网络在预取中的应用案例:迈向低延迟、可泛化的基于 ML 的预取器

A Case for Kolmogorov-Arnold Networks in Prefetching: Towards Low-Latency, Generalizable ML-Based Prefetchers

Dhruv Kulkarni, Bharat Bhammar, Henil Thaker, Pranav Dhobi, R. P. Gohil, Sai Manoj Pudukotai Dinkarrao

AI总结:

本文提出基于 Kolmogorov-Arnold 网络的预取器 KANBoost,通过建模地址差值实现低延迟预取,推理延迟比现有 ML 预取器低 18 倍,IPC 提升 2.5%,并建议未来结合序列建模技术以增强长期依赖捕获能力。

摘要:

内存墙问题源于快速处理器与较慢内存之间的差距,导致数据访问出现显著延迟,在边缘设备上尤为严重。数据预取是解决这一问题的关键策略,传统方法已逐步引入机器学习(ML)以提高准确性。现代预取器必须在高准确性与低延迟之间取得平衡,以进一步提升实用性。我们探索了利用具有可学习激活函数的 Kolmogorov-Arnold 网络(KAN)的适用性,并实现了一个名为 KANBoost 的预取器,以推进这一目标。KAN 是一种新颖的最先进模型,其工作原理是将连续、有界的多变量函数分解为其组成变量的函数,并将这些组成函数用作每个单独神经元上的激活函数。KANBoost 通过对连续地址之间的差值(delta)进行建模来预测下一次内存访问,在准确性与效率之间取得平衡,以最小的开销缓解内存墙问题,而不是依赖地址相关性预取。初步结果表明,基于 KAN 的预取降低了推理延迟(比最先进的 ML 预取器低 18 倍),同时实现了适度的 IPC 提升(相对于无预取提高 2.5%)。尽管 KAN 在捕获长期依赖关系方面仍面临挑战,但我们提出未来研究应探索将 KAN 的效率与更强的序列建模技术相结合的混合模型,为边缘设备及其他场景中实用的基于 ML 的预取铺平道路。

英文摘要:

The memory wall problem arises due to the disparity between fast processors and slower memory, causing significant delays in data access, even more so on edge devices. Data prefetching is a key strategy to address this, with traditional methods evolving to incorporate Machine Learning (ML) for improved accuracy. Modern prefetchers must balance high accuracy with low latency to further practicality. We explore the applicability of utilizing Kolmogorov-Arnold Networks (KAN) with learnable activation functions,a prefetcher we implemented called KANBoost, to further this aim. KANs are a novel, state-of-the-art model that work on breaking down continuous, bounded multi-variate functions into functions of their constituent variables, and use these constitutent functions as activations on each individual neuron. KANBoost predicts the next memory access by modeling deltas between consecutive addresses, offering a balance of accuracy and efficiency to mitigate the memory wall problem with minimal overhead, instead of relying on address-correlation prefetching. Initial results indicate that KAN-based prefetching reduces inference latency (18X lower than state-of-the-art ML prefetchers) while achieving moderate IPC improvements (2.5\% over no-prefetching). While KANs still face challenges in capturing long-term dependencies, we propose that future research should explore hybrid models that combine KAN efficiency with stronger sequence modeling techniques, paving the way for practical ML-based prefetching in edge devices and beyond.

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

↑