可微机器学习模型的近数据处理
Near-Data Processing for Differentiable Machine Learning Models
摘要:
近数据处理(NDP)是指用处理能力增强内存或存储。尽管NDP具有加速计算和降低功耗的潜力,但由于各种原因,在普及NDP方面只取得了有限的进展。最近,发生了两个重大变化,点燃了新的兴趣,并导致新民主党的复苏。首先是机器学习(ML)的成功,它通常需要大量的计算来进行训练,需要频繁地传输大数据。第二个是基于NAND闪存的固态驱动器(SSD)的普及,它包含多核处理器,可以容纳额外的数据处理计算。在本文中,我们使用一个新的SSD平台来评估NDP对ML的潜力,该平台允许我们模拟ML工作负载的存储处理(ISP)。我们的平台(名为ISP-ML)是一个成熟的模拟器,可以使用存储在SSD中的数据执行各种ML算法。为了进行彻底的性能分析并与其他技术进行深入比较,我们专注于一个特定的算法:随机梯度下降(SGD),这是训练可微模型(如逻辑回归和神经网络)的事实标准。我们使用ISP-ML实现并比较了三种SGD变体(同步,倾盆大雨和弹性平均),利用多个NAND通道并行化SGD。此外,我们比较了ISP和传统的主机内处理的性能,揭示了ISP的优势。基于通过实验确定的优势和局限性,我们进一步讨论了ISP加速ML的未来研究方向。
英文摘要:
Near-data processing (NDP) refers to augmenting memory or storage with processing power. Despite its potential for acceleration computing and reducing power requirements, only limited progress has been made in popularizing NDP for various reasons. Recently, two major changes have occurred that have ignited renewed interest and caused a resurgence of NDP. The first is the success of machine learning (ML), which often demands a great deal of computation for training, requiring frequent transfers of big data. The second is the popularity of NAND flash-based solid-state drives (SSDs) containing multicore processors that can accommodate extra computation for data processing. In this paper, we evaluate the potential of NDP for ML using a new SSD platform that allows us to simulate instorage processing (ISP) of ML workloads. Our platform (named ISP-ML) is a full-fledged simulator of a realistic multi-channel SSD that can execute various ML algorithms using data stored in the SSD. To conduct a thorough performance analysis and an in-depth comparison with alternative techniques, we focus on a specific algorithm: stochastic gradient descent (SGD), which is the de facto standard for training differentiable models such as logistic regression and neural networks. We implement and compare three SGD variants (synchronous, Downpour, and elastic averaging) using ISP-ML, exploiting the multiple NAND channels to parallelize SGD. In addition, we compare the performance of ISP and that of conventional in-host processing, revealing the advantages of ISP. Based on the advantages and limitations identified through our experiments, we further discuss directions for future research on ISP for accelerating ML.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。