paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A hierarchical neural model of data prefetching

数据预取的分层神经网络模型
ASPLOS Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2021匹配度 1/10 · 该论文属于计算机体系结构中的硬件数据预取方向,核心是用分层神经网络学习内存访问的 delta 与地址相关性,与用户关注的程序语言/静态分析、LLM/Agent、浮点程序分析和贝叶斯程序分析均无直接关联。引用 99 inbox
Zhan Shi, Akanksha Jain, Kevin Swersky, Milad Hashemi, Parthasarathy Ranganathan, Calvin Lin
crossref: 2026-09-12

AI 速览

一句话:提出分层神经预取器 Voyager,可同时学习 delta 与地址相关性,并大幅降低开销。

论文针对现有神经预取器仅学习 delta 相关性、难以处理不规则访存的问题,提出 Voyager。其核心是分层结构,将地址分为页和页内偏移,并引入学习页间与偏移间重要关系的机制,从而同时捕捉 delta 相关性与地址相关性。在 SPEC 2006 与 GAP 的不规则程序上,Voyager 相对无预取系统平均提升 IPC 41.6%,高于理想化 Domino 的 21.7% 和 ISB 的 28.2%。在两个商业负载上,它大幅提升准确率和覆盖率。相比此前神经模型,其计算开销降低 15–20 倍、存储开销降低 110–200 倍,向实用神经预取器迈进一步。

问题
现有数据预取器,尤其神经预取器,局限于 delta 相关性,难以预取不规则内存访问序列;同时神经模型训练与预测开销过高,难以实际用于硬件。
方法
提出分层神经网络 Voyager,将地址分解为 page 与 offset,并学习 page 间及 offset 间关系,从而同时学习 delta 相关性和地址相关性。
评估
在 SPEC 2006、GAP 的不规则程序以及两个商业负载上,评估 IPC 提升、预取准确率/覆盖率,并与现有预取器及此前神经模型的计算和存储开销进行比较。
原文摘要(Abstract)

This paper presents Voyager, a novel neural network for data prefetching. Unlike previous neural models for prefetching, which are limited to learning delta correlations, our model can also learn address correlations, which are important for prefetching irregular sequences of memory accesses. The key to our solution is its hierarchical structure that separates addresses into pages and offsets and that introduces a mechanism for learning important relations among pages and offsets. Voyager provides significant prediction benefits over current data prefetchers. For a set of irregular programs from the SPEC 2006 and GAP benchmark suites, Voyager sees an average IPC improvement of 41.6% over a system with no prefetcher, compared with 21.7% and 28.2%, respectively, for idealized Domino and ISB prefetchers. We also find that for two commercial workloads for which current data prefetchers see very little benefit, Voyager dramatically improves both accuracy and coverage. At present, slow training and prediction preclude neural models from being practically used in hardware, but Voyager’s overheads are significantly lower—in every dimension—than those of previous neural models. For example, computation cost is reduced by 15- 20×, and storage overhead is reduced by 110-200×. Thus, Voyager represents a significant step towards a practical neural prefetcher.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6091,
  title = {A hierarchical neural model of data prefetching},
  author = {Zhan Shi and Akanksha Jain and Kevin Swersky and Milad Hashemi and Parthasarathy Ranganathan and Calvin Lin},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446752}
}