利用交叉環狀連線網路架構與3D堆疊靜態記憶體實現CNN-LSTM神經網路節能加速器
An Energy-Efficient Accelerator using Cross-Ring Interconnection Architecture with 3D-SRAM for Hybrid CNN-LSTM Network
摘要
隨著深度學習和硬體技術的快速發展,人們提出了許多深度神經網絡(DNN)模型,例如:卷積神經網路和遞迴神經網路 (CNN和RNN),以及硬體加速器來處理影片的識別和檢測。但是,CNN和RNN需要大量計算,並且會有大量的資料存取和移動。因此,如何減少模型參數和重複存取數據成為研究的主題。除了上述問題之外,如何有效地管理數據重複使用也是一個重要的議題。在本文中,我們提出了交叉環狀連線網路架構和簡化的路由器(Router)配合節能資料流,與垂直三維堆疊的記憶體存取資料,以減少資料搬移的足跡。首先,我們使用提出的交叉環狀連線網路架構配合節能資料流,可以這使數據有效地被重複使用並減少對DRAM的存取資料量。此外,我們對路由器進行設計,讓路由器的複雜路可以被降低,以減少路由器本身的功率消耗以及面積,當通資料透過所提出的簡化版路由器進行傳遞時,可以改善傳統用於三維網路的路由器的缺點,即複雜度高,導致資料傳遞時的功率消耗跟著提高,使三維網路的優勢失去。同時,因為三維晶片中,記憶體疊在邏輯晶片上方,我們透過TSV以及micro-bumps傳遞資料可以大幅降低資料搬移的路徑長,進一步降低能量消耗。總體而言,我們提出的交叉環狀連線網路架構及所設計的簡化版路由器配合3D-SRAM,和使用3D NoC配合3D-SRAM與使用2D NoC配合DRAM相比,可以使整體效能提高1.6倍和3.9倍。此外,我們採用通道修剪和量化來減少模型的參數量,最終我們將所提出的混合CNN-LSTM模型的大小壓縮13.2倍並且沒有失去太多準確率。
As rapid development of deep learning and hardware technique, many deep neural networks (DNNs) models, convolution and recurrent neural networks (CNNs and RNNs), and accelerators have been proposed to process video recognition and detection tasks. However, CNNs and RNNs need a lot of calculation and a large amount of data access and movement. Therefore, how to reduce the parameters of the models and repeated data accessing turned into a research theme. In addition to the issue mentioned above, how to manage the data reuse efficiently is an important topic, too. In this thesis, we propose a cross-ring interconnection, simplified routers and high efficient dataflow with vertical 3D stacked scratchpad memory to decrease the memory footprint. First, we realize cross-ring interconnection with proposed dataflow which make data reuse effectively to reduce data access with DRAM. We also proposed simplified routers that can improve drawbacks of traditional routers when communicating data by simplified routers. Meanwhile, transferring data with TSVs can further reduce the energy consumption. Overall, we improve the energy efficient by 1.6x and 3.9x compare to the 3D NoC using conventional routers with 3D-SRAM and 2D NoC using conventional routers without 3D-SRAM, respectively. Furthermore, we adopt channel pruning and quantization to reduce parameters then the hybrid model size is compressed by 13.2x.
所屬典藏
電子研究所引用此條目
Lu, W. (2020). An Energy-Efficient Accelerator using Cross-Ring Interconnection Architecture with 3D-SRAM for Hybrid CNN-LSTM Network. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76083
引用文字依 APA 第 7 版格式自動產生,使用前請再核對。
分享
永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76083