tuGEMM: Area-Power-Efficient Temporal Unary GEMM Architecture for Low-Precision Edge AI
Harideep Nair, Prabhu Vellaisamy, Albert Chen, Joseph Finn, Anna Li, Manav Trivedi, John Paul Shen
TL;DR
This work addresses the need for area- and power-efficient GEMM on edge devices by replacing stochastic unary approaches with exact temporal unary compute. It introduces tuGEMM, a temporal-coding GEMM architecture available in serial and parallel variants, and reports gate-level implementations with post-synthesis metrics in 45 nm across 2-, 4-, and 8-bit widths. The key contributions are the temporal encoding scheme, the serial and parallel designs with detailed component-level descriptions, and comprehensive PPA and latency evaluations, including accuracy results that favor exact compute (e.g., 96.08% vs 94.7% for a related uGEMM). The results indicate substantial area-power reductions compared to state-of-the-art unary systems, especially at low precision, making tuGEMM well-suited for always-on edge AI and real-time sensing applications, with potential integration into DL accelerators.
Abstract
General matrix multiplication (GEMM) is a ubiquitous computing kernel/algorithm for data processing in diverse applications, including artificial intelligence (AI) and deep learning (DL). Recent shift towards edge computing has inspired GEMM architectures based on unary computing, which are predominantly stochastic and rate-coded systems. This paper proposes a novel GEMM architecture based on temporal-coding, called tuGEMM, that performs exact computation. We introduce two variants of tuGEMM, serial and parallel, with distinct area/power-latency trade-offs. Post-synthesis Power-Performance-Area (PPA) in 45 nm CMOS are reported for 2-bit, 4-bit, and 8-bit computations. The designs illustrate significant advantages in area-power efficiency over state-of-the-art stochastic unary systems especially at low precisions, e.g. incurring just 0.03 mm^2 and 9 mW for 4 bits, and 0.01 mm^2 and 4 mW for 2 bits. This makes tuGEMM ideal for power constrained mobile and edge devices performing always-on real-time sensory processing.
