arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.04386cs.NEcs.AI
收藏

利用带分布式内存的众核处理器加速稀疏与循环模型的训练

Harnessing Manycore Processors with Distributed Memory for Accelerated Training of Sparse and Recurrent Models

Research Center Juelich(于利希研究中心);RWTH Aachen University(亚琛工业大学);Graphcore(格弗科(Graphcore))

Jan Finkbeiner, Thomas Gmeinder, Mark Pupilli, Alexander Titterton, Emre Neftci

AI总结:

本研究针对SIMD架构难以高效训练稀疏循环模型的问题,在分布式内存MIMD架构IPU上实现基于BPTT的SNN训练,相比A100 GPU实现5-38倍吞吐量提升,为高效非标准AI模型及大规模SNN发展铺路。

摘要:

当前的AI训练基础设施以单指令多数据流(SIMD)和脉动阵列架构为主,例如图形处理器(GPU)和张量处理器(TPU),这类架构擅长加速并行工作负载和稠密向量矩阵乘法。利用稀疏性和循环机制的潜在更高效神经网络模型无法充分发挥SIMD处理器的全部性能,因此与Transformer、CNN等当前主流并行架构相比处于严重劣势,进而阻碍了更具可持续性的AI发展路径。为克服这一限制,我们在具备分布式本地内存的大规模并行多指令多数据流(MIMD)架构上探索稀疏与循环模型的训练。我们针对具有二值稀疏激活特性的脑启发类脉冲神经网络(Spiking Neural Networks, SNNs),实现了一种基于时间反向传播(backpropagation through time, BPTT)的训练流程。我们观察到,与GPU相比,在智能处理单元(Intelligence Processing Unit, IPU)这一MIMD处理器上使用稀疏激活张量具有巨大优势。在训练工作负载上,我们的结果表明,与A100 GPU相比,其吞吐量提升了5-10倍;在激活稀疏度更高的情况下,提升幅度可达38倍,且训练收敛速度未出现显著下降,最终模型性能也未出现降低。此外,我们的结果显示,当我们扩展到更大的模型规模时,单IPU和多IPU配置都呈现出极具前景的趋势。我们的工作通过GPU之外的AI训练硬件,为更高效的非标准模型以及具备竞争力的大规模SNN模型铺平了道路。

英文摘要:

Current AI training infrastructure is dominated by single instruction multiple data (SIMD) and systolic array architectures, such as Graphics Processing Units (GPUs) and Tensor Processing Units (TPUs), that excel at accelerating parallel workloads and dense vector matrix multiplications. Potentially more efficient neural network models utilizing sparsity and recurrence cannot leverage the full power of SIMD processor and are thus at a severe disadvantage compared to today's prominent parallel architectures like Transformers and CNNs, thereby hindering the path towards more sustainable AI. To overcome this limitation, we explore sparse and recurrent model training on a massively parallel multiple instruction multiple data (MIMD) architecture with distributed local memory. We implement a training routine based on backpropagation through time (BPTT) for the brain-inspired class of Spiking Neural Networks (SNNs) that feature binary sparse activations. We observe a massive advantage in using sparse activation tensors with a MIMD processor, the Intelligence Processing Unit (IPU) compared to GPUs. On training workloads, our results demonstrate 5-10x throughput gains compared to A100 GPUs and up to 38x gains for higher levels of activation sparsity, without a significant slowdown in training convergence or reduction in final model performance. Furthermore, our results show highly promising trends for both single and multi IPU configurations as we scale up to larger model sizes. Our work paves the way towards more efficient, non-standard models via AI training hardware beyond GPUs, and competitive large scale SNN models.

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

↑