Skip to main navigation Skip to search Skip to main content

Tianshu: Towards Accurate Measuring, Modeling and Simulation of Deep Neural Networks

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

9 Downloads (CityUHK Scholars)

Abstract

To help train DNN models more efficiently, researchers have developed a series of new computation devices and parallel training strategies. Choosing which device and strategy to use among those vast candidates is challenging for developers. Simulation is an effective solution to this question since it does not need to deploy models with different settings practically. However, most existing works still require users to measure models on the target hardware first, which cannot help users choose the proper hardware in advance. This paper presents Tianshu, which adopts the ahead-of-time idea to solve this problem. Tianshu first designs an accurate measuring tool to measure the operation's time-use and store the result in a database, which can be shared among the community. For uncovered cases, Tianshu designs an automatic mechanism to train neural network models that can estimate their execution time. Therefore, Tianshu can support simulation without a target hardware. Finally, Tianshu leverages a discrete event simulator to simulate the DNN model's execution. Evaluation on Azure clusters with 8x V100 GPUs shows that Tianshu achieves 93% average accuracy for six well-known DNN models. Tianshu's operation estimator also achieves 96% average accuracy on 9 typical operations and outperforms existing works. © 2024 The Authors.
Original languageEnglish
Title of host publicationProceedings of the 36th European Modeling & Simulation Symposium (EMSS 2024)
EditorsMichael Affenzeller, Agostino G. Bruzzone, Emilio Jimenez, Francesco Longo, Antonella Petrillo
PublisherCal-Tek srl
ISBN (Print)978-12-81988-02-6
DOIs
Publication statusPublished - Sept 2024
Event36th European Modeling and Simulation Symposium, EMSS 2024, Held at the 21st International Multidisciplinary Modeling and Simulation Multiconference, I3M 2024 - Tenerife, Spain
Duration: 18 Sept 202420 Sept 2024

Publication series

NameEuropean Modeling and Simulation Symposium, EMSS
Volume2024-September
ISSN (Print)2305-2023

Conference

Conference36th European Modeling and Simulation Symposium, EMSS 2024, Held at the 21st International Multidisciplinary Modeling and Simulation Multiconference, I3M 2024
PlaceSpain
CityTenerife
Period18/09/2420/09/24

Research Keywords

  • Artificial Intelligence
  • Discrete Event Simulation
  • Neural Networks

Publisher's Copyright Statement

  • This full text is made available under CC-BY-NC-ND 4.0. https://creativecommons.org/licenses/by-nc-nd/4.0/

Fingerprint

Dive into the research topics of 'Tianshu: Towards Accurate Measuring, Modeling and Simulation of Deep Neural Networks'. Together they form a unique fingerprint.

Cite this