Automatic Generation of Fast and Accurate Performance Models for Deep Neural Network Accelerators

Konstantin Lübeck, Alexander Louis-Ferdinand Jung, Felix Wedlich, Mika Markus Müller, Federico Nicolás Peccia +6 more
9/13/2024
cs.PFcs.AIcs.AR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Implementing Deep Neural Networks (DNNs) on resource-constrained edge devices is a challenging task that requires tailored hardware accelerator architectures and a clear understanding of their performance characteristics when executing the intended AI workload. To facilitate this, we present an automated generation approach for fast performance models to accurately estimate the latency of a DNN mapped onto systematically modeled and concisely described accelerator architectures. Using our accelerator architecture description method, we modeled representative DNN accelerators such as Gemmini, UltraTrail, Plasticine-derived, and a parameterizable systolic array. Together with DNN mappings for those modeled architectures, we perform a combined DNN/hardware dependency graph analysis, which enables us, in the best case, to evaluate only 154 loop kernel iterations to estimate the performance for 4.19 billion instructions achieving a significant speedup. We outperform regression and analytical models in terms of mean absolute percentage error (MAPE) compared to simulation results, while being several magnitudes faster than an RTL simulation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lbeck2024automatic,
  title  = {Automatic Generation of Fast and Accurate Performance Models for Deep Neural Network Accelerators},
  author = {Konstantin Lübeck and Alexander Louis-Ferdinand Jung and Felix Wedlich and Mika Markus Müller and Federico Nicolás Peccia and Felix Thömmes and Jannik Steinmetz and Valentin Biermaier and Adrian Frischknecht and Paul Palomero Bernardo and Oliver Bringmann},
  year   = {2024},
  eprint = {2409.08595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.08595v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.08595.svg)](https://codeofpaper.com/paper/2409.08595)

Discussion