UniFormer:面向通用与定制计算跨平台推理的统一高效Transformer
UniFormer: Unified and Efficient Transformer for Reasoning Across General and Custom Computing
AI总结:
针对通用与定制计算并行范式差异导致的模型迁移妥协问题,本文提出统一高效Transformer架构UniFormer,通过高并行性与计算-存储融合实现GPU上SOTA性能及FPGA适应性,为首个同时考虑两类架构的高效Transformer工作。
摘要:
卷积神经网络(CNNs)等神经网络的成功很大程度上归功于它们在定制计算平台(包括现场可编程门阵列(FPGAs)和专用集成电路(ASICs))上的有效且广泛部署。当前时代,基于Transformer的架构支撑着大多数最先进(SOTA)的大型模型,这些模型也越来越多地部署在定制计算硬件上,以满足低功耗和实时应用需求。然而,通用计算与定制计算之间根本不同的并行计算范式,往往导致模型迁移和可部署性方面的妥协,通常需要以复杂度、效率或准确性为代价。此外,许多跨平台优化原则在现有研究中仍未得到充分探索。本文介绍了UniFormer,一种面向通用和定制计算平台的统一高效Transformer架构。通过实现更高的并行性和计算-存储融合,UniFormer在GPU上实现了最先进(SOTA)的准确性和延迟,同时在FPGA上表现出强大的适应性。据我们所知,本文是首个同时考虑通用和定制计算架构的高效Transformer工作。
英文摘要:
The success of neural networks such as convolutional neural networks (CNNs) has been largely attributed to their effective and widespread deployment on customised computing platforms, including field-programmable gate arrays (FPGAs) and application-specific integrated circuits (ASICs). In the current era, Transformer-based architectures underpin the majority of state-of-the-art (SOTA) larger models that are also increasingly deployed on customised computing hardware for low-power and real-time applications. However, the fundamentally different parallel computation paradigms between general-purpose and customised computing often lead to compromises in model transfer and deployability, which typically come at the cost of complexity, efficiency or accuracy. Moreover, many cross-platform optimisation principles have also remained underexplored in existing studies. This paper introduces UniFormer, a unified and efficient Transformer architecture for both general-purpose and customised computing platforms. By enabling higher parallelism and compute-storage fusion, UniFormer achieves state-of-the-art (SOTA) accuracy and latency on GPUs while exhibiting strong adaptability on FPGAs. To the best of our knowledge, this paper is the first efficient Transformer work that jointly considers both general-purpose and customised computing architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。