Skip to main navigation Skip to search Skip to main content

Hierarchical-ISA Supporting Row-wise Operands for Efficient DNN Computation

  • Zhiwang Huo
  • , Wenzhe Zhao
  • , Qiwei Dang
  • , Chengyu Ma
  • , Guoming Yang
  • , Gelin Fu
  • , Tian Xia
  • , Pengju Ren
  • Xi'an Jiaotong University

Research output: Contribution to journal › Article › peer-review

Abstract

Deep neural networks (DNNs) have become a cornerstone in advancing artificial intelligence, but their complexity often leads to inefficient hardware utilization due to varying structure characteristics and excessive memory accesses. Domain-specific architectures (DSAs) offer a solution by optimizing data locality through data stationary, tiling, and layer fusion, which minimize memory access and energy consumption while boosting performance. However, current approaches lack flexibility for efficient memory management at the appropriate granularity, causing misaligned accesses and decreasing reuse potential for variable-sized tiles. To this end, we propose a hierarchical Instruction Set Architecture (hierarchical-ISA) combining a RISC-V ISA and a flexible CISC-style macro-ISA (mISA). Unlike byte-level RISC-V, mISA employs row-wise tiles as the fundamental operand, enabling efficient data reuse across adjacent iterations as well as residual connections. This mISA approach simplifies DNN programming, enhances data partitioning and manipulation efficiency, and enables a hardware-software co-designed Remapping mechanism that facilitates data reuse without physical data movement. Experiments show 31.8%–72.0% reductions in off-chip memory access across MobileNet, ResNet, Swin Transformer, MobileViT, along with speedups of 2.9× to 7.4× compared to previous DNN accelerators. We also conduct comparisons under the roofline model with NVIDIA RTX A6000 and Intel Core i7-10700K. The results show that our arithmetic intensity reaches up to 26.0× that of i7-10700K and 22.6× that of A6000.

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 7 - Affordable and Clean Energy
    SDG 7 Affordable and Clean Energy

Keywords

  • Deep Neural Network
  • Domain-Specific Architecture
  • Hardware-Software Co-design
  • On-Chip Memory

Fingerprint

Dive into the research topics of 'Hierarchical-ISA Supporting Row-wise Operands for Efficient DNN Computation'. Together they form a unique fingerprint.

Cite this