It's all about PR -- Smart Benchmarking AI Accelerators using Performance Representatives

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jung, Alexander Louis-Ferdinand, Steinmetz, Jannik, Gietz, Jonathan, Lübeck, Konstantin, Bringmann, Oliver
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918042288521216
author Jung, Alexander Louis-Ferdinand
Steinmetz, Jannik
Gietz, Jonathan
Lübeck, Konstantin
Bringmann, Oliver
author_facet Jung, Alexander Louis-Ferdinand
Steinmetz, Jannik
Gietz, Jonathan
Lübeck, Konstantin
Bringmann, Oliver
contents Statistical models are widely used to estimate the performance of commercial off-the-shelf (COTS) AI hardware accelerators. However, training of statistical performance models often requires vast amounts of data, leading to a significant time investment and can be difficult in case of limited hardware availability. To alleviate this problem, we propose a novel performance modeling methodology that significantly reduces the number of training samples while maintaining good accuracy. Our approach leverages knowledge of the target hardware architecture and initial parameter sweeps to identify a set of Performance Representatives (PR) for deep neural network (DNN) layers. These PRs are then used for benchmarking, building a statistical performance model, and making estimations. This targeted approach drastically reduces the number of training samples needed, opposed to random sampling, to achieve a better estimation accuracy. We achieve a Mean Absolute Percentage Error (MAPE) of as low as 0.02% for single-layer estimations and 0.68% for whole DNN estimations with less than 10000 training samples. The results demonstrate the superiority of our method for single-layer estimations compared to models trained with randomly sampled datasets of the same size.
format Preprint
id arxiv_https___arxiv_org_abs_2406_08330
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle It's all about PR -- Smart Benchmarking AI Accelerators using Performance Representatives
Jung, Alexander Louis-Ferdinand
Steinmetz, Jannik
Gietz, Jonathan
Lübeck, Konstantin
Bringmann, Oliver
Performance
Artificial Intelligence
Hardware Architecture
Machine Learning
Statistical models are widely used to estimate the performance of commercial off-the-shelf (COTS) AI hardware accelerators. However, training of statistical performance models often requires vast amounts of data, leading to a significant time investment and can be difficult in case of limited hardware availability. To alleviate this problem, we propose a novel performance modeling methodology that significantly reduces the number of training samples while maintaining good accuracy. Our approach leverages knowledge of the target hardware architecture and initial parameter sweeps to identify a set of Performance Representatives (PR) for deep neural network (DNN) layers. These PRs are then used for benchmarking, building a statistical performance model, and making estimations. This targeted approach drastically reduces the number of training samples needed, opposed to random sampling, to achieve a better estimation accuracy. We achieve a Mean Absolute Percentage Error (MAPE) of as low as 0.02% for single-layer estimations and 0.68% for whole DNN estimations with less than 10000 training samples. The results demonstrate the superiority of our method for single-layer estimations compared to models trained with randomly sampled datasets of the same size.
title It's all about PR -- Smart Benchmarking AI Accelerators using Performance Representatives
topic Performance
Artificial Intelligence
Hardware Architecture
Machine Learning
url https://arxiv.org/abs/2406.08330