Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modeling

Yannan Nellie Wu, Po-An Tsai, Angshuman Parashar, Vivienne Sze, Joel Emer

2022 · 71 citations · 52 references

Concepts

TL;DR

Sparse tensor accelerators have been proposed for efficient sparse tensor algebra, yet they are scattered across a large design space and lack systematic modeling, hindering effective exploration. This work introduces a unified taxonomy to systematically describe the diverse sparse tensor accelerator design space. Based on this taxonomy, Sparseloop is presented as a fast, accurate, and flexible analytical modeling framework that evaluates processing speed and energy efficiency by accounting for data movement, compute, and sparse acceleration features using stochastic density models. Across representative designs and workloads, Sparseloop achieves over 2000× faster modeling than cycle‑level simulation, preserves relative performance trends, and reports 0.1%–8% average error while providing design insights through example use cases.

Abstract

In recent years, many accelerators have been proposed to efficiently process sparse tensor algebra applications (e.g., sparse neural networks). However, these proposals are single points in a large and diverse design space. The lack of systematic description and modeling support for these sparse tensor accelerators impedes hardware designers from efficient and effective design space exploration. This paper first presents a unified taxonomy to systematically describe the diverse sparse tensor accelerator design space. Based on the proposed taxonomy, it then introduces Sparseloop, the first fast, accurate, and flexible analytical modeling framework to enable early-stage evaluation and exploration of sparse tensor accelerators. Sparseloop comprehends a large set of architecture specifications, including various dataflows and sparse acceleration features (e.g., elimination of zero-based compute). Using these specifications, Sparseloop evaluates a design's processing speed and energy efficiency while accounting for data movement and compute incurred by the employed dataflow, including the savings and overhead introduced by the sparse acceleration features using stochastic density models. Across representative accelerator designs and workloads, Sparseloop achieves over 2000× faster modeling speed than cycle-level simulations, maintains relative performance trends, and achieves 0.1% to 8% average error. The paper also presents example use cases of Sparseloop in different accelerator design flows to reveal important design insights.

References

52