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

一种面向神经网络硬件加速器的可配置且高效的存储层次结构

A Configurable and Efficient Memory Hierarchy for Neural Network Hardware Accelerator

University of Tübingen(蒂宾根大学)

Oliver Bause, Paul Palomero Bernardo, Oliver Bringmann

AI总结:

本文提出一种专为DNN逐层自适应访问模式定制的可配置多级存储层次结构框架,在保持高性能的同时大幅降低存储容量需求,实验表明该框架可使芯片面积减少62.2%且性能损失仅为2.4%。

摘要:

随着机器学习应用不断演进,对专为深度神经网络(DNN)量身定制的高效硬件加速器的需求变得日益重要。本文提出了一种可配置的存储层次结构框架,专为DNN逐层自适应的内存访问模式量身定制。该层次结构按需从片外存储器请求数据,并将其提供给加速器的计算单元。其目标是在最小化所需存储容量与保持高加速器性能之间取得优化平衡。该框架的特点在于其可配置性,允许创建多达五级的定制存储层次结构。此外,该框架结合了可选的移位寄存器作为最终级,以增加存储管理过程的灵活性。对DNN层的全面循环嵌套分析表明,该框架能够高效执行大多数循环展开的访问模式。综合结果以及DNN加速器UltraTrail的案例研究表明,通过使用更小的存储模块,芯片面积最多可减少62.2%。同时,性能损失可最小化至2.4%。

英文摘要:

As machine learning applications continue to evolve, the demand for efficient hardware accelerators, specifically tailored for deep neural networks (DNNs), becomes increasingly vital. In this paper, we propose a configurable memory hierarchy framework tailored for per layer adaptive memory access patterns of DNNs. The hierarchy requests data on-demand from the off-chip memory to provide it to the accelerator's compute units. The objective is to strike an optimized balance between minimizing the required memory capacity and maintaining high accelerator performance. The framework is characterized by its configurability, allowing the creation of a tailored memory hierarchy with up to five levels. Furthermore, the framework incorporates an optional shift register as final level to increase the flexibility of the memory management process. A comprehensive loop-nest analysis of DNN layers shows that the framework can efficiently execute the access patterns of most loop unrolls. Synthesis results and a case study of the DNN accelerator UltraTrail indicate a possible reduction in chip area of up to 62.2% as smaller memory modules can be used. At the same time, the performance loss can be minimized to 2.4%.

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

↑