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

Atleus:借助3D异构众核架构在边缘端加速Transformer

Atleus: Accelerating Transformers on the Edge Enabled by 3D Heterogeneous Manycore Architectures

Washington State University(华盛顿州立大学)

Pratyush Dhingra, Janardhan Rao Doppa, Partha Pratim Pande

AI总结:

本文提出3D异构众核架构Atleus,通过非易失性存储器、脉动阵列、NoC与量化协同支持边缘端Transformer微调和推理,性能与能效最高提升56倍和64.5倍。

摘要:

Transformer架构已成为自然语言处理和计算机视觉等多种机器学习应用的标准神经网络模型。然而,Transformer模型带来的计算和内存需求使其难以应用于边缘场景。此外,微调预训练Transformer(例如基础模型)是提升模型在特定任务或应用上预测性能的常见任务。现有Transformer加速器忽视了微调所引入的复杂性。本文提出一种名为Atleus的三维(3D)异构架构设计,该架构集成了专门优化的异构计算资源,以同时加速Transformer模型的微调和推理。具体而言,Atleus利用非易失性存储器和脉动阵列,通过集成式3D平台加速Transformer计算内核。此外,我们设计了合适的NoC以实现高性能和高能效。最后,Atleus采用有效的量化方案来支持模型压缩。实验结果表明,在性能和能效方面,Atleus分别比现有最先进方案高出最高56倍和64.5倍。

英文摘要:

Transformer architectures have become the standard neural network model for various machine learning applications including natural language processing and computer vision. However, the compute and memory requirements introduced by transformer models make them challenging to adopt for edge applications. Furthermore, fine-tuning pre-trained transformers (e.g., foundation models) is a common task to enhance the model's predictive performance on specific tasks/applications. Existing transformer accelerators are oblivious to complexities introduced by fine-tuning. In this paper, we propose the design of a three-dimensional (3D) heterogeneous architecture referred to as Atleus that incorporates heterogeneous computing resources specifically optimized to accelerate transformer models for the dual purposes of fine-tuning and inference. Specifically, Atleus utilizes non-volatile memory and systolic array for accelerating transformer computational kernels using an integrated 3D platform. Moreover, we design a suitable NoC to achieve high performance and energy efficiency. Finally, Atleus adopts an effective quantization scheme to support model compression. Experimental results demonstrate that Atleus outperforms existing state-of-the-art by up to 56x and 64.5x in terms of performance and energy efficiency respectively

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

↑