arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.06022cs.ARcs.LG
收藏

基于内存处理系统的机器学习训练

Machine Learning Training on a Real Processing-in-Memory System

ETH Zürich(苏黎世联邦理工学院);UPMEM(UPMEM公司)

Juan Gómez-Luna, Yuxin Guo, Sylvan Brocard, Julien Legriel, Remy Cimadomo, Geraldo F. Oliveira, Gagandeep Singh, Onur Mutlu

摘要:

训练机器学习算法是一个计算密集型的过程,由于重复访问大型训练数据集,该过程通常是内存受限的。因此,以处理器为中心的系统(例如,CPU、GPU)遭受存储器单元和处理单元之间的昂贵的数据移动,这消耗了大量的能量和执行周期。以存储器为中心的计算系统,即,具有存储器中处理(PIM)能力的计算系统可以缓解这种数据移动瓶颈。我们的目标是了解现代通用PIM架构加速机器学习训练的潜力。为此,我们(1)实现了几个典型的经典机器学习算法(即,线性回归,逻辑回归,决策树,K均值聚类)在现实世界的通用PIM架构,(2)表征他们的准确性,性能和可扩展性,(3)比较他们在CPU和GPU上的对应实现。我们的实验评估内存为中心的计算系统,超过2500 PIM核心表明,通用PIM架构可以大大加快内存限制的机器学习工作负载,当必要的操作和数据库是原生的PIM硬件支持。据我们所知,我们的工作是第一个评估训练的机器学习算法在现实世界的通用PIM架构。

英文摘要:

Training machine learning algorithms is a computationally intensive process, which is frequently memory-bound due to repeatedly accessing large training datasets. As a result, processor-centric systems (e.g., CPU, GPU) suffer from costly data movement between memory units and processing units, which consumes large amounts of energy and execution cycles. Memory-centric computing systems, i.e., computing systems with processing-in-memory (PIM) capabilities, can alleviate this data movement bottleneck. Our goal is to understand the potential of modern general-purpose PIM architectures to accelerate machine learning training. To do so, we (1) implement several representative classic machine learning algorithms (namely, linear regression, logistic regression, decision tree, K-means clustering) on a real-world general-purpose PIM architecture, (2) characterize them in terms of accuracy, performance and scaling, and (3) compare to their counterpart implementations on CPU and GPU. Our experimental evaluation on a memory-centric computing system with more than 2500 PIM cores shows that general-purpose PIM architectures can greatly accelerate memory-bound machine learning workloads, when the necessary operations and datatypes are natively supported by PIM hardware. To our knowledge, our work is the first one to evaluate training of machine learning algorithms on a real-world general-purpose PIM architecture.

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

↑