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

相位、模态、时空局部性:用于加速图分析的领域特定机器学习预取器

Phases, Modalities, Temporal and Spatial Locality: Domain Specific ML Prefetcher for Accelerating Graph Analytics

University of Southern California(南加州大学);DEVCOM Army Research Lab(DEVCOM陆军研究实验室)

Pengmiao Zhang, Rajgopal Kannan, Viktor K. Prasanna

AI总结:

本文提出面向图分析的机器学习预取器MPGraph,通过相位软检测、相位特定多模态预测模型和链式时空预取,显著提升IPC并优于现有ML与非ML预取器。

摘要:

内存性能是图分析加速中的一个瓶颈。现有的机器学习(ML)预取器难以应对图处理中的相位转换和不规则内存访问。我们提出MPGraph,一种基于ML的图分析预取器,使用领域特定模型。MPGraph引入了三项新颖优化:用于相位转换的软检测、用于访问增量和页面预测的相位特定多模态模型,以及用于预取控制的链式时空预取(CSTP)。我们的转换检测器与Kolmogorov-Smirnov Windowing和决策树相比,精度提高了34.17-82.15%。与LSTM和普通注意力模型相比,我们的预测器在增量预测上的F1分数提高了6.80-16.02%,在页面预测上的accuracy-at-10提高了11.68-15.41%。通过使用CSTP,MPGraph实现了12.52-21.23%的IPC提升,比最先进的非ML预取器BO高出7.58-12.03%,比基于ML的预取器Voyager和TransFetch高出3.27-4.58%。为了实际实现,我们展示了使用压缩模型降低延迟的MPGraph,与BO相比在准确性和覆盖率上显著更优,从而带来3.58%更高的IPC提升。

英文摘要:

Memory performance is a bottleneck in graph analytics acceleration. Existing Machine Learning (ML) prefetchers struggle with phase transitions and irregular memory accesses in graph processing. We propose MPGraph, an ML-based Prefetcher for Graph analytics using domain specific models. MPGraph introduces three novel optimizations: soft detection for phase transitions, phase-specific multi-modality models for access delta and page predictions, and chain spatio-temporal prefetching (CSTP) for prefetch control. Our transition detector achieves 34.17-82.15% higher precision compared with Kolmogorov-Smirnov Windowing and decision tree. Our predictors achieve 6.80-16.02% higher F1-score for delta and 11.68-15.41% higher accuracy-at-10 for page prediction compared with LSTM and vanilla attention models. Using CSTP, MPGraph achieves 12.52-21.23% IPC improvement, outperforming state-of-the-art non-ML prefetcher BO by 7.58-12.03% and ML-based prefetchers Voyager and TransFetch by 3.27-4.58%. For practical implementation, we demonstrate MPGraph using compressed models with reduced latency shows significantly superior accuracy and coverage compared with BO, leading to 3.58% higher IPC improvement.

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

↑