TechRxiv
Transaction_HASP.pdf (15.13 MB)
Download file

HASP: Hierarchical Asynchronous Parallelism for Multi-NN Tasks

Download (15.13 MB)
preprint
posted on 2023-04-05, 13:25 authored by Hongyi LiHongyi Li, Songchen Ma, Taoyi Wang, Weihao Zhang, Guanrui Wang, Chenhang Song, Huanyu Qu, Junfeng Lin, Cheng Ma, Jing Pei, Rong Zhao

The rapid development of deep learning has propelled many real-world artificial intelligence (AI) applications. Many of these applications integrate multiple neural network (multi-NN) models to cater to various functionalities. Although a number of multi-NN acceleration technologies have been explored, few can fully fulfill the flexibility and scalability required by emerging and diverse AI workloads, especially for mobile. Among these, homogeneous multi-core architectures have great potential to support multi-NN execution by leveraging decentralized parallelism and intrinsic scalability. However, the advantages of multi-core systems are underexploited due to the adoption of bulk synchronization parallelism (BSP), which is inefficient to meet the diversity of multi-NN workloads. This paper reports a hierarchical multi-core architecture with asynchronous parallelism to enhance multi-NN execution for higher performance and utilization. Hierarchical asynchronous parallel (HASP) is the theoretical foundation, which establishes a programmable and grouped dynamic synchronous-asynchronous framework for multi-NN acceleration. HASP can be implemented on a typical multi-core processor for multi-NN with minor modifications. We further developed a prototype chip to validate the hardware effectiveness of this design. A mapping strategy that combines spatial partitioning and temporal tuning is also developed, which allows the proposed architecture to promote resource utilization and throughput simultaneously.

History

Email Address of Submitting Author

r_zhao@tsinghua.edu.cn

Submitting Author's Institution

Tsinghua University

Submitting Author's Country

  • China

Usage metrics

    Licence

    Exports