基于众核处理器的线性学习
On Linear Learning with Manycore Processors
摘要:
新一代的众核处理器正在兴起,它在一个芯片上提供数十个或更多的核,从某种意义上说,它融合了主处理器和加速器。在本文中,我们的目标是在这些机器上有效地训练广义线性模型。我们提出了一种新的方法来实现并行性,我们称之为异构任务同质核(HTHC)。它将问题划分为多个根本不同的任务,这些任务本身是并行的。为了评估,我们设计了一个详细的,架构认知的实现我们的计划,最近的72核骑士登陆处理器,是自适应的高速缓存,内存和核心结构。我们的库有效地支持密集和稀疏数据集以及4位量化数据,以进一步提高性能。我们展示了具有不同数据集的Lasso和SVM的基准测试,以对抗简单的并行实现和先前的软件。特别是,对于密集数据上的Lasso,我们将最先进的技术提高了一个数量级。
英文摘要:
A new generation of manycore processors is on the rise that offers dozens and more cores on a chip and, in a sense, fuses host processor and accelerator. In this paper we target the efficient training of generalized linear models on these machines. We propose a novel approach for achieving parallelism which we call Heterogeneous Tasks on Homogeneous Cores (HTHC). It divides the problem into multiple fundamentally different tasks, which themselves are parallelized. For evaluation, we design a detailed, architecture-cognizant implementation of our scheme on a recent 72-core Knights Landing processor that is adaptive to the cache, memory, and core structure. Our library efficiently supports dense and sparse datasets as well as 4-bit quantized data for further possible gains in performance. We show benchmarks for Lasso and SVM with different data sets against straightforward parallel implementations and prior software. In particular, for Lasso on dense data, we improve the state-of-the-art by an order of magnitude.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。