Automatic Generation of Fast and Accurate Performance Models for Deep Neural Network Accelerators
<|reference_start|>Automatic Generation of Fast and Accurate Performance Models for Deep Neural Network Accelerators: 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.<|reference_end|>
@article{lübeck2024automatic,
    title={Automatic Generation of Fast and Accurate Performance Models for Deep
  Neural Network Accelerators},
    author={Konstantin L"ubeck, Alexander Louis-Ferdinand Jung, Felix Wedlich,
  Mika Markus M"uller, Federico Nicol'as Peccia, Felix Th"ommes, Jannik
  Steinmetz, Valentin Biermaier, Adrian Frischknecht, Paul Palomero Bernardo,
  Oliver Bringmann},
    journal={arXiv preprint arXiv:2409.08595},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.08595},
    primaryClass={cs.PF cs.AI cs.AR cs.LG}
}