Abstract
Sparse tensors are foundational to modern computing, yet their diverse sparsity patterns pose a significant challenge for fixed hardware architectures. We present AESPA, a heterogeneous sparse accelerator that integrates specialized sub-accelerators optimized for varying dataflows and sparsity levels. By leveraging a novel design flow, HARD TACO, and flexible scheduling, AESPA achieves a 1.96× speedup and 7.9× better energy efficiency over traditional homogeneous designs across real-world workloads.
Introduction
Sparse tensors—where most elements are zero—are critical in Deep Learning (DNNs), Graph Neural Networks (GNNs), and scientific simulations. However, sparsity is not uniform; it ranges from "mostly dense" to extremely sparse (e.g., $10^{-5}$% density). Current hardware accelerators are typically "rigid." Systolic arrays, like the TPU, excel at dense operations but waste energy on zeros. Conversely, specialized sparse accelerators like EIE or ExTensor handle zeros efficiently but incur high controller overhead for denser data. This "one-size-fits-all" limitation leads to underutilization in data centers handling diverse workloads.
The AESPA Architecture
The proposed AESPA architecture addresses this by employing a "team of specialists" approach. Instead of a single complex processing element (PE), AESPA utilizes a heterogeneous template that "stitches" together different sub-accelerators (e.g., TPU-like, EIE-like, MatRaptor-like) connected via a flexible Network-on-Chip (NoC) and a shared global scratchpad.
The architecture includes on-the-fly format converters to ensure data is presented in the optimal compression format for each sub-unit. This flexibility allows the system to bypass hardware bottlenecks inherent in specific dataflows by dynamically choosing the most appropriate sub-accelerator for a given task or matrix partition.
Sub-Accelerator Specialization and Design Flow
AESPA's strength lies in the diversity of its sub-accelerators, each optimized for specific sparsity patterns and dataflows.
To bridge the gap between high-level tensor compilers and hardware, the authors developed HARD TACO. This productive design flow extends the TACO (Tensor Algebra COmpiler) to automatically insert High-Level Synthesis (HLS) pragmas, generating RTL for various sub-accelerator types. This enables rapid design-space exploration and ensures a fair comparison between architectures under identical area constraints.
Evaluation and Results
AESPA was evaluated using nine real-world workloads spanning scientific computing, graph analytics, and deep learning, with densities ranging from 0.0054% to 100%. The design was implemented using a 28nm ASIC flow, with a die size capped at 600 $mm^2$ to match commercial standards like the TPU v2.
Key results include:
- Performance: AESPA achieved a 1.96× speedup over a homogeneous EIE-like baseline under realistic memory bandwidth constraints.
- Energy Efficiency: The architecture delivered a 7.9× improvement in Energy Delay Product (EDP).
- Heterogeneity vs. Hybridization: AESPA outperformed "Homogeneous Hybrid" designs (complex multi-mode PEs) by 1.28× in EDP, proving that physical heterogeneity is more efficient than PE-level complexity.
Conclusion
AESPA demonstrates that a heterogeneous mix of specialized sub-accelerators is superior to single-architecture designs for sparse tensor algebra. By combining the HARD TACO design flow with flexible hardware templates and scheduling, AESPA provides a scalable path toward high-efficiency acceleration for the diverse landscape of modern sparse workloads.
Summary updated