arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22595cs.AR
收藏

用于深度神经网络中高效矩阵乘法的脉动阵列数据流

Systolic Array Data Flows for Efficient Matrix Multiplication in Deep Neural Networks

Tejas Raja

AI总结:

本文针对大参数量AI模型对高效矩阵乘法的需求,研究三种脉动阵列数据流,通过SCALE-Sim仿真验证适配矩阵配置的数据流可大幅降能耗,为高能效DNN加速器设计提供参考。

摘要:

本文探讨了脉动阵列(Systolic Arrays)如何优化深度神经网络(DNN)中的矩阵乘法运算。随着OpenAI的GPT等AI模型的参数量现已达到数万亿级别,对高效矩阵乘法的需求变得前所未有的迫切。本文讨论了三种主要的脉动阵列数据流:权重静止(Weight Stationary, WS)、输入静止(Input Stationary, IS)和输出静止(Output Stationary, OS)。研究使用SCALE-Sim模拟器,计算了每种数据流在不同矩阵尺寸下的能耗与效率。结果表明,针对特定矩阵配置选择合适的数据流可大幅降低能耗。研究结论为优化AI与机器学习应用的硬件提供了有益见解,为设计高能效DNN加速器带来了潜在改进方向。

英文摘要:

The paper discusses how Systolic Arrays can improve matrix multiplication for deep neural networks (DNNs). With AI models like OpenAI's GPT now containing trillions of parameters, the need for efficient matrix multiplication is more critical than ever. In this paper, the three main systolic array data flows: Weight Stationary (WS), Input Stationary (IS), and Output Stationary (OS) are discussed. Each data flow's energy consumption and efficiency across various matrix sizes are calculated using the SCALE-Sim simulator. The results show that selecting the right data flow for specific matrix configurations can drastically reduce energy consumption. The conclusions provide helpful insights into optimizing hardware for AI and machine learning applications, offering potential improvements in designing energy-efficient DNN accelerators.

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

↑