arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.03458cs.DCcs.AR
收藏

MERIT:基于并行架构的高效存储视觉处理的张量变换

MERIT: Tensor Transform for Memory-Efficient Vision Processing on Parallel Architectures

Yu-Sheng Lin, Wei-Chao Chen, Shao-Yi Chien

摘要:

计算密集型深度神经网络(DNN)非常适合在GPU上运行,但新开发的算法通常需要经过大量优化的DNN例程才能有效工作,而对于专用DNN架构来说,这个问题可能更加困难。在本文中,我们提出了一个数学公式,可以用于跨计算平台传输算法优化知识。我们发现并行处理器架构内的数据移动和存储可以被视为跨存储层次结构的张量变换,从而可以用数学方法描述许多内存优化技术。这种变换,我们称之为内存有效的范围内积张量(MERIT)变换,不仅可以应用于DNN任务,还可以应用于许多传统的机器学习和计算机视觉计算。此外,张量变换可以容易地映射到现有的向量处理器架构。在本文中,我们证明了许多流行的应用程序可以在GPU上转换为简洁的MERIT符号,将GPU内核加速高达20倍,而使用的代码令牌只有一半。我们还使用所提出的转换的原则,设计一个专门的硬件单元称为MERIT-z处理器。该处理器可应用于各种DNN任务以及其他计算机视觉任务,同时提供与专用DNN ASIC相当的面积和功率效率。

英文摘要:

Computationally intensive deep neural networks (DNNs) are well-suited to run on GPUs, but newly developed algorithms usually require the heavily optimized DNN routines to work efficiently, and this problem could be even more difficult for specialized DNN architectures. In this paper, we propose a mathematical formulation which can be useful for transferring the algorithm optimization knowledge across computing platforms. We discover that data movement and storage inside parallel processor architectures can be viewed as tensor transforms across memory hierarchies, making it possible to describe many memory optimization techniques mathematically. Such transform, which we call Memory Efficient Ranged Inner-Product Tensor (MERIT) transform, can be applied to not only DNN tasks but also many traditional machine learning and computer vision computations. Moreover, the tensor transforms can be readily mapped to existing vector processor architectures. In this paper, we demonstrate that many popular applications can be converted to a succinct MERIT notation on GPUs, speeding up GPU kernels up to 20 times while using only half as many code tokens. We also use the principle of the proposed transform to design a specialized hardware unit called MERIT-z processor. This processor can be applied to a variety of DNN tasks as well as other computer vision tasks while providing comparable area and power efficiency to dedicated DNN ASICs.

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

↑