PipeLayer: A Pipelined ReRAM-Based Accelerator for Deep Learning

Convolutional neural networks (CNNs) are the heart of deep learning applications. Recent works PRIME [1] and ISAAC [2] demonstrated the promise of using resistive random access memory (ReRAM) to perform neural computations in memory. We found that training cannot be efficiently supported with the cu...

Full description

Saved in:
Bibliographic Details
Published inProceedings - International Symposium on High-Performance Computer Architecture pp. 541 - 552
Main Authors Linghao Song, Xuehai Qian, Hai Li, Yiran Chen
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.02.2017
Subjects
Online AccessGet full text

Cover

Loading…
Abstract Convolutional neural networks (CNNs) are the heart of deep learning applications. Recent works PRIME [1] and ISAAC [2] demonstrated the promise of using resistive random access memory (ReRAM) to perform neural computations in memory. We found that training cannot be efficiently supported with the current schemes. First, they do not consider weight update and complex data dependency in training procedure. Second, ISAAC attempts to increase system throughput with a very deep pipeline. It is only beneficial when a large number of consecutive images can be fed into the architecture. In training, the notion of batch (e.g. 64) limits the number of images can be processed consecutively, because the images in the next batch need to be processed based on the updated weights. Third, the deep pipeline in ISAAC is vulnerable to pipeline bubbles and execution stall. In this paper, we present PipeLayer, a ReRAM-based PIM accelerator for CNNs that support both training and testing. We analyze data dependency and weight update in training algorithms and propose efficient pipeline to exploit inter-layer parallelism. To exploit intra-layer parallelism, we propose highly parallel design based on the notion of parallelism granularity and weight replication. With these design choices, PipeLayer enables the highly pipelined execution of both training and testing, without introducing the potential stalls in previous work. The experiment results show that, PipeLayer achieves the speedup of 42.45x compared with GPU platform on average. The average energy saving of PipeLayer compared with GPU implementation is 7.17x.
AbstractList Convolutional neural networks (CNNs) are the heart of deep learning applications. Recent works PRIME [1] and ISAAC [2] demonstrated the promise of using resistive random access memory (ReRAM) to perform neural computations in memory. We found that training cannot be efficiently supported with the current schemes. First, they do not consider weight update and complex data dependency in training procedure. Second, ISAAC attempts to increase system throughput with a very deep pipeline. It is only beneficial when a large number of consecutive images can be fed into the architecture. In training, the notion of batch (e.g. 64) limits the number of images can be processed consecutively, because the images in the next batch need to be processed based on the updated weights. Third, the deep pipeline in ISAAC is vulnerable to pipeline bubbles and execution stall. In this paper, we present PipeLayer, a ReRAM-based PIM accelerator for CNNs that support both training and testing. We analyze data dependency and weight update in training algorithms and propose efficient pipeline to exploit inter-layer parallelism. To exploit intra-layer parallelism, we propose highly parallel design based on the notion of parallelism granularity and weight replication. With these design choices, PipeLayer enables the highly pipelined execution of both training and testing, without introducing the potential stalls in previous work. The experiment results show that, PipeLayer achieves the speedup of 42.45x compared with GPU platform on average. The average energy saving of PipeLayer compared with GPU implementation is 7.17x.
Author Linghao Song
Hai Li
Yiran Chen
Xuehai Qian
Author_xml – sequence: 1
  surname: Linghao Song
  fullname: Linghao Song
  email: linghao.song@pitt.edu
– sequence: 2
  surname: Xuehai Qian
  fullname: Xuehai Qian
  email: xuehai.qian@usc.edu
– sequence: 3
  surname: Hai Li
  fullname: Hai Li
  email: hal66@pitt.edu
– sequence: 4
  surname: Yiran Chen
  fullname: Yiran Chen
  email: yiran.chen@pitt.edu
BookMark eNotjEtLw0AUhUdRsK3duXOTP5B67zw6c10Z46NCxFIU3JVhciMjMQ2TbvrvG9HF4Xxn8Z2pOOt2HQtxhbBABLpZrctiIQHtwpgTMSfr0ACBJmfwVEyksi6XoD4vxHQYvgFAksGJuFvHnit_4HSbFdnvaGPHdbbhTfGa3_th5CIEbjn5_S5lzZgH5j6r2Kcudl-X4rzx7cDz_56Jj6fH93KVV2_PL2VR5RGt2edWNwhgtTbSS98EjWCXIYAlWS8NIZFEJmTrQ83UOKUIjFGI6LSXDamZuP77jcy87VP88emwHXVwRqsjTyNHcg
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/HPCA.2017.55
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Xplore
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9781509049851
1509049851
EISSN 2378-203X
EndPage 552
ExternalDocumentID 7920854
Genre orig-research
GroupedDBID 29O
6IE
6IF
6IH
6IK
6IL
6IM
6IN
AAJGR
AAWTH
ABLEC
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
IEGSK
IPLJI
M43
OCL
RIE
RIL
RNS
ID FETCH-LOGICAL-i175t-74f10074452a2afc41076cc0792d65919921e91e7acde9f8339055311184a2f93
IEDL.DBID RIE
IngestDate Wed Aug 27 02:15:11 EDT 2025
IsPeerReviewed false
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i175t-74f10074452a2afc41076cc0792d65919921e91e7acde9f8339055311184a2f93
PageCount 12
ParticipantIDs ieee_primary_7920854
PublicationCentury 2000
PublicationDate 2017-Feb.
PublicationDateYYYYMMDD 2017-02-01
PublicationDate_xml – month: 02
  year: 2017
  text: 2017-Feb.
PublicationDecade 2010
PublicationTitle Proceedings - International Symposium on High-Performance Computer Architecture
PublicationTitleAbbrev HPCA
PublicationYear 2017
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0002951
Score 2.5749733
Snippet Convolutional neural networks (CNNs) are the heart of deep learning applications. Recent works PRIME [1] and ISAAC [2] demonstrated the promise of using...
SourceID ieee
SourceType Publisher
StartPage 541
SubjectTerms Computer architecture
Kernel
Machine learning
Neural networks
Pipelines
Testing
Training
Title PipeLayer: A Pipelined ReRAM-Based Accelerator for Deep Learning
URI https://ieeexplore.ieee.org/document/7920854
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV09T8MwED2VTkwFWsS3PDDitE2cDzMRClWFKKoqKnWrHPuMKqS2QunCr-ecpAEhBjbbSyxbzntnv7sHcB2F1hAT1VwoHXCBieZJpCUPwywgeBdRVngDjl-i0Uw8zcN5A27qXBhELMRn6Llm8ZZv1nrrrsq6sXSOkmIP9ihwK3O16r-uT1ShFrbL7mgySJ1wK_ZcEt8P45QCN4YtGO--WMpF3r1tnnn681cxxv9O6QA63xl6bFJjzyE0cHUErZ1FA6tObBvuJssNPivi1bcsZa7jaKVhU5ymY35PEGZYqjVhT_HczojCsgfEDavqrr51YDZ8fB2MeGWawJfEBHIeC-uED0KEvvKV1YLiu0jrHk3URKF0atM-yj7GShuUNgkC2QvpIFKgIZRvZXAMzdV6hSfAtJWJyfqmJ5UWFhOlrDEUsyXEeaQy0Sm03YIsNmVdjEW1Fmd_D5_DvtuPUvF8Ac38Y4uXBOh5dlXs5Bcmw58p
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PT8IwFG4QD3pCBeNve_BoB2zttnpyomQqI4RAwo107ashJkDMuPjX225jGuPB27ZLmzav3_fW770PoRufaWWYqCRUSI9QCCUJfckJY6ln4J36ae4NmAz9eEpfZmxWQ7dVLQwA5OIzcOxjfpevVnJjf5W1A24dJekO2jW4z9yiWqs6d11DFippO2_Ho15kpVuBY8v4flin5MjRb6BkO2YhGHl3NlnqyM9f7Rj_O6kD1Pqu0cOjCn0OUQ2WR6ixNWnAZcw20f1osYaBMMz6DkfYvlhiqfAYxlFCHgyIKRxJadAnv3DHhsTiR4A1LjuvvrXQtP806cWktE0gC8MFMhJQbaUPlDJXuEJLajI8X8qOmajyGbd60y7wLgRCKuA69DzeYSYUTapBhau5d4zqy9USThCWmocq7aoOF5JqCIXQSpmsLTSshwvln6KmXZD5uuiMMS_X4uzvz9doL54kg_ngefh6jvbt3hT65wtUzz42cGngPUuv8l39AqmeonM
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+-+International+Symposium+on+High-Performance+Computer+Architecture&rft.atitle=PipeLayer%3A+A+Pipelined+ReRAM-Based+Accelerator+for+Deep+Learning&rft.au=Linghao+Song&rft.au=Xuehai+Qian&rft.au=Hai+Li&rft.au=Yiran+Chen&rft.date=2017-02-01&rft.pub=IEEE&rft.eissn=2378-203X&rft.spage=541&rft.epage=552&rft_id=info:doi/10.1109%2FHPCA.2017.55&rft.externalDocID=7920854