QAPPA: Quantization-Aware Power, Performance, and Area Modeling of DNN Accelerators

Ahmet Inci, Siri Garudanagiri Virupaksha, Aman Jain, Venkata Vivek Thallam, Ruizhou Ding, Diana MarculescuarXiv 2022 · DOI

Introduction

As deep learning moves toward "the edge"—powering mobile phones, IoT devices, and embedded systems—the demand for energy-efficient hardware has reached an all-time high. While software-level techniques like quantization are widely used to compress models, there is a significant gap in tools that can quickly and accurately predict how these choices impact physical hardware metrics. Traditional hardware design flows are prohibitively slow; running a full synthesis to evaluate the impact of changing bit-precision or buffer sizes can take hours or days.

QAPPA addresses this by providing a fast, quantization-aware modeling framework that bridges the gap between high-level Deep Neural Network (DNN) configurations and low-level hardware implementation.

The QAPPA Framework

QAPPA is a spatial-array-based accelerator framework implemented in Register Transfer Level (RTL). It allows researchers to rapidly explore a vast design space by tuning parameters such as bit precision, processing element (PE) types, scratchpad sizes, and global buffer sizes.

The QAPPA framework takes accelerator parameters and DNN configurations as input to generate PPA outputs.

At its core, the framework utilizes a "row-stationary" dataflow to optimize data movement and minimize energy-intensive memory accesses. A key innovation is the introduction of Lightweight Processing Elements (LightPEs). Unlike standard, power-hungry multipliers, LightPEs are specialized for quantized models, replacing complex multiplications with more efficient shift-and-add operations for 4-bit and 8-bit weights.

Modeling and Validation

To avoid the bottleneck of full hardware synthesis, QAPPA employs polynomial regression models. The authors synthesized thousands of hardware configurations using professional tools (Synopsys) and the FreePDK45 process node to train these models. This approach allows for near-instant PPA predictions for new designs.

Comparison of actual synthesis results versus QAPPA's estimated PPA metrics across different PE types.

As shown in the validation plots, there is a high correlation between QAPPA’s polynomial models and actual synthesis results. This suggests that for early-stage design exploration, fast statistical models can reliably replace slow, cycle-accurate simulations.

Key Results and Efficiency Gains

The framework's ability to model specialized hardware logic reveals that quantization is more than just a memory-saving technique; it is a fundamental lever for hardware architecture. Key findings include:

  • Massive Efficiency Gains: Specialized 4-bit and 8-bit LightPEs achieved up to 4.9× more performance-per-area and energy improvement compared to a standard INT16 baseline.
  • Precision Trade-offs: While moving from FP32 to INT16 provided a 1.7× improvement, the jump to specialized LightPEs provided the most dramatic shifts in the Pareto-frontier of design.
  • The Multiplier Bottleneck: By shifting to bit-shifting logic in LightPEs, the authors found they could pack significantly more compute power into the same silicon real estate.

Conclusion

QAPPA demonstrates that specialized hardware logic is required to fully translate "fewer bits" into tangible area and power savings. By providing a reliable proxy for rapid design iteration, QAPPA enables the development of highly optimized accelerators for the next generation of edge AI devices. Future work may expand this modeling to more modern process nodes (e.g., 7nm) and incorporate additional dataflows like weight-stationary or output-stationary patterns.

Summary updated

BibTeX
@misc{inci2022qappa,
  author = {Ahmet Inci and Siri Garudanagiri Virupaksha and Aman Jain and Venkata Vivek Thallam and Ruizhou Ding and Diana Marculescu},
  title = {{QAPPA: Quantization-Aware Power, Performance, and Area Modeling of DNN Accelerators}},
  year = {2022},
  eprint = {2205.08648},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.08648},
}
Figure