Bit-Parallel Vector Composability for Neural Acceleration

Soroush Ghodrati, Hardik Sharma, Cliff Young, Nam Sung Kim, Hadi Esmaeilzadeh

Abstract

This work introduces Bit-Parallel Vector Composability (BPVeC), a hardware design paradigm that decomposes neural network operations into bit-slices processed by a collection of narrow-bitwidth engines. By interleaving bit-level and data-level parallelism, BPVeC addresses the inefficiency of fixed-precision accelerators when handling reduced-precision Deep Neural Networks (DNNs). The proposed architecture achieves up to 3.5x speedup and 2.7x energy reduction over conventional accelerators, while providing over 30x better performance-per-watt compared to high-end GPUs.

Introduction: The Design Space Gap

Modern neural network accelerators, such as Google’s TPU, typically utilize "atomic" functional units designed for fixed bitwidths (e.g., 8-bit or 16-bit). However, DNNs often exhibit resilience to reduced precision, with many layers functioning optimally at 4-bit or even 2-bit widths. Standard hardware incurs significant energy and area overhead by using 8-bit units for lower-precision data.

Existing "bit-flexible" designs are often limited to scalar operations or bit-serial processing, which sacrifices throughput. As shown in the design landscape below, there is a clear vacancy for an architecture that is both vectorized and spatially bit-flexible.

The design space of neural accelerators, highlighting the unique position of BPVeC in the flexible-bitwidth, vectorized, and spatial domain.

Methodology: Composable Vector Units

The core of the BPVeC architecture is the Composable Vector Unit (CVU). Rather than employing monolithic large-bitwidth multipliers, a CVU is built from multiple Narrow-Bitwidth Vector Engines (NBVEs).

Technical Components

  1. Mathematical Decomposition: Standard vector dot-products are reformulated into a summation of bit-sliced operations. This allows the hardware to cluster bit-wise operations of similar significance and factor them out efficiently.
  2. Spatial Composition: The hardware dynamically "stitches" NBVEs together at runtime. For 8-bit precision, all engines cooperate; for 2-bit precision, engines operate independently on distinct data, significantly increasing throughput.
  3. 2-Bit Slicing: Exploration revealed that 2-bit slicing with a vector length of 16 optimizes the balance between adder-tree complexity and multiplier efficiency.
Hardware realization of the Composable Vector Unit (CVU) showing the integration of Narrow-Bitwidth Vector Engines (NBVEs).

Evaluation and Results

The architecture was evaluated against six representative DNN workloads, including CNNs (AlexNet, ResNet) and RNNs/LSTMs, under both homogeneous (8-bit) and heterogeneous (4-bit to 8-bit) precision scenarios.

  • Performance vs. Baseline: BPVeC achieved a 40% speedup and energy reduction compared to a standard systolic array using DDR4 memory. With HBM2, speedup reached 3.5x.
  • Comparison with BitFusion: In heterogeneous modes, BPVeC outperformed the state-of-the-art BitFusion accelerator by 50% in speed and 10% in energy efficiency.
  • GPU Comparison: BPVeC demonstrated a 28.0x to 33.7x improvement in Performance-per-Watt over an NVIDIA RTX 2080 Ti, particularly in RNN and LSTM models.

Conclusion

BPVeC demonstrates that bit-level flexibility, while expensive for scalar units, becomes highly efficient when amortized across a vector. By targeting the "2-bit sweet spot," the architecture minimizes hardware overhead while maximizing utilization of high-bandwidth memory. Future work may explore combining this spatial bit-parallelism with bit-sparsity techniques to further enhance neural acceleration.

Summary updated

BibTeX
@inproceedings{ghodrati2020bit,
  author = {Soroush Ghodrati and Hardik Sharma and Cliff Young and Nam Sung Kim and Hadi Esmaeilzadeh},
  title = {{Bit-Parallel Vector Composability for Neural Acceleration}},
  booktitle = {DAC},
  year = {2020},
  doi = {10.1109/dac18072.2020.9218656},
}
Figure