Analyzing Memory Access Traces of Deep Learning Workloads for Efficient Memory Management

Jeongha Lee, Hyokyung Bahn

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

9 Scopus citations

Abstract

Due to the recent advances in artificial intelligence (AI) and high-performance computing technologies, deep learning is actively used in various application domains of the fourth industrial revolution. Since the data size of deep learning increasingly grows, analyzing the memory reference characteristics of AI workloads becomes important. In this article, we analyze the memory access traces of deep learning workloads consisting of text and image data. Specifically, we analyze read and write operations separately for instruction and data memory accesses. Based on our analysis, we find out the following characteristics that are quite different to memory access traces of conventional desktop workloads. First, when comparing instruction and data accesses, instruction access accounts for a little portion of memory accesses in deep learning workloads, which is quite different from traditional workloads. Specifically, instruction access accounts for 1-3.3% in deep learning workloads while 15-30% in traditional workloads. Second, when comparing read and write accesses, write access accounts for 64-80%, which is also different to traditional workloads where write accounts for 6-55%. Third, although write access accounts for the majority of memory accesses, it exhibits the low access skewness. Specifically, the Zipf parameter of write access is about 0.3, and the parameter is smaller in text workloads than image workloads. Fourth, in predicting re-reference likelihood, recency ranking is important in instruction and data read accesses, but frequency ranking is necessary in write accesses for accurate estimation. We expect that the characterization study in this article will guide for managing memory systems of deep learning workloads.

Original languageEnglish
Title of host publicationProceedings - 2022 12th International Conference on Information Technology in Medicine and Education, ITME 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages389-393
Number of pages5
ISBN (Electronic)9798350310153
DOIs
StatePublished - 2022
Event12th International Conference on Information Technology in Medicine and Education, ITME 2022 - Xiamen, China
Duration: 18 Nov 202220 Nov 2022

Publication series

NameProceedings - 2022 12th International Conference on Information Technology in Medicine and Education, ITME 2022

Conference

Conference12th International Conference on Information Technology in Medicine and Education, ITME 2022
Country/TerritoryChina
CityXiamen
Period18/11/2220/11/22

Bibliographical note

Publisher Copyright:
© 2022 IEEE.

Keywords

  • artificial intelligence
  • deep learning
  • machine learning
  • memory access
  • memory reference
  • re-reference likelihood

Fingerprint

Dive into the research topics of 'Analyzing Memory Access Traces of Deep Learning Workloads for Efficient Memory Management'. Together they form a unique fingerprint.

Cite this