FEATHER: A Reconfigurable Accelerator with Data Reordering Support for Low-Cost On-Chip Dataflow Switching

Jianming Tong, Anirudh Itagi, Prasanth Chatarasi, Tushar Krishna

Introduction

Modern Deep Learning (DL) models are characterized by a vast diversity of layer types, sizes, and shapes. To achieve peak efficiency, hardware accelerators must employ various dataflows—specific strategies for tiling, ordering, and parallelizing computations. While an optimal dataflow can theoretically outperform a generic one by orders of magnitude, the practical implementation of dataflow switching is fraught with challenges.

The primary obstacle is the mismatch between data layout in on-chip memory and the requirements of a new dataflow. When the layout is incompatible, "bank conflicts" occur: multiple processing elements (PEs) attempt to access the same memory bank simultaneously, leading to hardware stalls. Research indicates a staggering 128× performance gap between theoretical dataflow potential and actual hardware performance when these physical layout constraints are ignored. Current solutions often resort to sub-optimal fixed dataflows or incur significant latency and energy overheads by moving data to external memory for reordering.

The FEATHER Architecture

To bridge this gap, we present FEATHER, an architecture designed to facilitate low-cost dataflow switching through two architectural innovations and a novel modeling framework.

1. NEST: Neural Engine with Spatial Forwarding and Temporal Reduction

FEATHER utilizes NEST, a flexible 2D PE array designed for diverse parallelism strategies. NEST employs local registers for temporal reduction and a pipelined bus system. This configuration allows data to be fed into the reduction network without column-wise conflicts, providing the necessary flexibility to handle various layer shapes.

2. BIRRD: Butterfly Interconnect for Reduction and Reordering

The core innovation of FEATHER is the BIRRD (Butterfly Interconnect for Reduction and Reordering) network. BIRRD is a multi-stage network based on a butterfly topology that serves a dual purpose. Unlike standard reduction networks that only sum partial results, BIRRD can simultaneously route these results to arbitrary memory banks. This process, termed Reorder-in-Reduction (RIR), effectively hides the latency of data reordering within the computation time of the current layer. By the time a layer's computation is complete, the data is already positioned in the optimal layout for the subsequent layer.

3. Layoutloop: Modeling Physical Constraints

To accurately evaluate FEATHER, the authors developed Layoutloop, an extension of the popular Timeloop modeling tool. Layoutloop is the first framework to explicitly model physical memory constraints, including banks, ports, and data layouts. This allows for a realistic "theory-to-practice" evaluation, ensuring that the reported performance gains account for the complexities of hardware memory access.

Experimental Evaluation

FEATHER was evaluated using three diverse workloads representing different DL domains:

  • ResNet-50: Standard image classification.
  • MobileNet-V3: Mobile-optimized model with "skewed" shapes that typically challenge traditional accelerators.
  • BERT: A transformer-based model for Natural Language Processing (NLP).

The evaluation included both simulations via Layoutloop and end-to-end deployment on a Xilinx ZCU104 FPGA.

Key Results and Insights

FEATHER demonstrates that the physical arrangement of bits in SRAM banks is a primary bottleneck for reconfigurable hardware. By decoupling distribution and reduction and utilizing RIR, FEATHER achieves high performance with minimal overhead.

  • Performance and Efficiency: FEATHER achieved a 1.27× to 2.89× speedup and a 1.3× to 6.43× improvement in energy efficiency compared to state-of-the-art accelerators like NVDLA, SIGMA, and Eyeriss.
  • Hardware Throughput: On FPGA hardware, FEATHER delivered 2.65× higher throughput than the Xilinx DPU and 3.91× higher than Gemmini.
  • Utilization: The architecture maintains near-perfect PE utilization (98.3%–100%), even on irregular workloads like MobileNet-V3, where rigid architectures often see utilization drop below 50%.
  • Area Overhead: Despite its flexibility, FEATHER only increases the total accelerator area by 6% compared to fixed-dataflow designs like Eyeriss.

Limitations and Future Directions

While FEATHER represents a significant advancement, several areas for future work remain. Current prototypes may be outperformed by highly optimized commercial controllers (e.g., Xilinx DPU) on very deep layers with simple shapes, suggesting a need for further control logic optimization. Additionally, scaling the butterfly network to thousands of inputs for data-center-class chips may introduce wiring complexities. Finally, the search space for optimal (dataflow, layout) pairs is massive ($10^{36} \times 10^8$), necessitating the development of faster, heuristic-driven mapping algorithms.

Summary updated

BibTeX
@inproceedings{tong2024feather,
  author = {Jianming Tong and Anirudh Itagi and Prasanth Chatarasi and Tushar Krishna},
  title = {{FEATHER: A Reconfigurable Accelerator with Data Reordering Support for Low-Cost On-Chip Dataflow Switching}},
  booktitle = {ISCA},
  year = {2024},
  url = {https://openreview.net/forum?id=RHUO4AA4u5},
}
Figure