arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.09108cs.ARcs.CVcs.LG
收藏

ViTA:面向边缘应用的视觉Transformer推理加速器

ViTA: A Vision Transformer Inference Accelerator for Edge Applications

Indian Institute of Technology Madras(印度理工学院马德拉斯分校);University of Southern California(南加州大学);Intel Labs(英特尔实验室)

Shashank Nag, Gourav Datta, Souvik Kundu, Nitin Chandrachoodan, Peter A. Beerel

AI总结:

针对视觉Transformer模型在资源受限边缘设备上难以部署的问题,提出可配置硬件加速器ViTA,采用头级流水线和层间MLP优化避免重复片外内存访问,在多数模型上实现近90%硬件利用率,功耗0.88W,适用于边缘应用。

摘要:

视觉Transformer模型,如ViT、Swin Transformer和Transformer-in-Transformer,由于能够捕获特征之间的全局关系从而带来卓越的性能,近期在计算机视觉任务中获得了极大的关注。然而,它们计算量大且难以部署在资源受限的边缘设备上。现有的硬件加速器,包括针对紧密相关的BERT transformer模型的加速器,并未针对高度资源受限的环境。在本文中,我们填补了这一空白,提出ViTA——一种用于视觉Transformer模型推理的可配置硬件加速器,面向资源受限的边缘计算设备,并避免重复的片外内存访问。我们采用头级流水线和层间MLP优化,并且仅需更改控制逻辑即可支持几种常用的视觉Transformer模型。我们在大多数视觉Transformer模型上实现了近90%的硬件利用率效率,报告在150 MHz时钟频率下综合时的功耗为0.88W,并获得合理的帧率——所有这些都使ViTA适用于边缘应用。

英文摘要:

Vision Transformer models, such as ViT, Swin Transformer, and Transformer-in-Transformer, have recently gained significant traction in computer vision tasks due to their ability to capture the global relation between features which leads to superior performance. However, they are compute-heavy and difficult to deploy in resource-constrained edge devices. Existing hardware accelerators, including those for the closely-related BERT transformer models, do not target highly resource-constrained environments. In this paper, we address this gap and propose ViTA - a configurable hardware accelerator for inference of vision transformer models, targeting resource-constrained edge computing devices and avoiding repeated off-chip memory accesses. We employ a head-level pipeline and inter-layer MLP optimizations, and can support several commonly used vision transformer models with changes solely in our control logic. We achieve nearly 90% hardware utilization efficiency on most vision transformer models, report a power of 0.88W when synthesised with a clock of 150 MHz, and get reasonable frame rates - all of which makes ViTA suitable for edge applications.

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

↑