FEATHER: A Reconfigurable Accelerator with Data Reordering Support for Low-Cost On-Chip Dataflow Switching
Authors:
- 29 June 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 198-214
Abstract
The inference of ML models composed of diverse structures, types, and sizes boils down to the execution of different dataflows (i.e. different tiling, ordering, parallelism, and shapes). Using the optimal dataflow for every layer of workload can reduce latency by up to two orders of magnitude over a suboptimal dataflow. Unfortunately, reconfiguring hardware for different dataflows involves on-chip data layout reordering and datapath reconfigurations, leading to non-trivial overhead that hinders ML accelerators from exploiting different dataflows, resulting in suboptimal performance. To address this challenge, we propose FEATHER, an innovative accelerator that leverages a novel spatial array termed NEST and a novel multi-stage reduction network called BIRRD for performing flexible data reduction with layout reordering under the hood, enabling seamless switching between optimal dataflows with negligible latency and resources overhead. For systematically evaluating the performance interaction between dataflows and layouts, we enhance Timeloop, a state-of-theart dataflow cost modeling and search framework, with layout assessment capabilities, and term it as Layoutloop. We model FEATHER into Layoutloop and also deploy FEATHER end-to-end on the edge ZCU104 FPGA. FEATHER delivers $1.27 \sim 2.89 \times$ inference latency speedup and $1.3 \sim 6.43 \times$ energy efficiency improvement compared to various SoTAs like NVDLA, SIGMA and Eyeriss under ResNet-50 and MobiletNet-V3 in Layoutloop. On practical FPGA devices, FEATHER achieves $2.65 / 3.91 \times$ higher throughput than Xilinx DPU/Gemmini. Remarkably, such performance and energy efficiency enhancements come at only $6 \%$ area over a fixed-dataflow Eyeriss-like accelerator. Our code is released at https://github.com/maeri-project/FEATHER.
Keywords
All Related Versions
This publication has 32 references indexed in Scilit:
- An Evaluation of Edge TPU Accelerators for Convolutional Neural Networks2022
- AI and ML Accelerator Survey and Trends2022
- MAGMA: An Optimization Framework for Mapping Multiple DNNs on Multiple Accelerator Cores2022
- Groundwater level prediction using machine learning models: A comprehensive reviewNeurocomputing, 2022
- Vyasa: A High-Performance Vectorizing Compiler for Tensor Convolutions on the Xilinx AI Engine2020
- SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN Training2020
- Data Orchestration in Deep Learning Accelerators2020
- High-Level Semantic Feature Detection: A New Perspective for Pedestrian Detection2019
- YOLO3D: End-to-End Real-Time 3D Oriented Object Bounding Box Detection from LiDAR Point Cloud2019
- Medusa: A Scalable Interconnect for Many-Port DNN Accelerators and Wide DRAM Controller Interfaces2018