学习记忆访问模式
Learning Memory Access Patterns
摘要:
工作负载复杂性的爆炸和最近摩尔定律缩放的放缓需要新的方法来实现高效计算。研究人员现在开始在软件优化中使用机器学习的最新进展,增强或取代传统的算法和数据结构。然而,机器学习对于计算机硬件架构的空间只是轻轻地探索。在本文中,我们展示了深度学习解决存储器性能的冯·诺依曼瓶颈的潜力。我们专注于学习记忆访问模式的关键问题,构建准确和高效的记忆预取器的目标。我们将当代预取策略与自然语言处理中的n-gram模型联系起来,并展示了循环神经网络如何作为一种替代方案。在一组具有挑战性的基准数据集上,我们发现神经网络在精确度和召回率方面始终表现出优越的性能。这项工作代表了实用的基于神经网络的预取的第一步,并为计算机体系结构研究中的机器学习开辟了广泛的令人兴奋的方向。
英文摘要:
The explosion in workload complexity and the recent slow-down in Moore's law scaling call for new approaches towards efficient computing. Researchers are now beginning to use recent advances in machine learning in software optimizations, augmenting or replacing traditional heuristics and data structures. However, the space of machine learning for computer hardware architecture is only lightly explored. In this paper, we demonstrate the potential of deep learning to address the von Neumann bottleneck of memory performance. We focus on the critical problem of learning memory access patterns, with the goal of constructing accurate and efficient memory prefetchers. We relate contemporary prefetching strategies to n-gram models in natural language processing, and show how recurrent neural networks can serve as a drop-in replacement. On a suite of challenging benchmark datasets, we find that neural networks consistently demonstrate superior performance in terms of precision and recall. This work represents the first step towards practical neural-network based prefetching, and opens a wide range of exciting directions for machine learning in computer architecture research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。