針對稀疏卷積神經網絡在DRAM上之資料擺放與分割方法研究

A DRAM Data Mapping and Tiling Methodology on Sparse Convolution Neural Networks

檔案

日期

2021

類型

語言

英文

摘要

卷積神經網絡(CNN)其巨大資料量的特性成為了優化系統效能與功耗表現的一大挑戰。雖然我們可以透過剪枝(pruning)的方式將不重要的權重移除生成稀疏卷積神經網絡來減少資料量,但由於其資料密集度的特性,大部分的系統時間還是由存取DRAM的時間所佔據。而發展針對該模型的適當的資料擺放方法可以有效的解決存取DRAM的效能與功耗瓶頸。然而,過去的DRAM資料擺放方法只針對密集CNN模型去設計,並未考量到稀疏CNN模型的壓縮資料格式與不規則DRAM存取的特性。並且,使用DSE尋找優化解所消耗的時間過長。因此,我們發展了DASC,一個針對稀疏CNN的資料擺放與分割方法。DASC使用了基於圖(map-based)的資料擺放以利用更好的空間在域性進而更有效的存取DRAM。另外在效能更佳的DDR4協定中的bank-group層級特性也在我們的方法中被充分利用。DASC也提供了一個分析模型,將尋找最優化結果的擺放參數的時間從前人的數天時間縮短到幾分鐘內完成。我們的方法與前人相比,可以分別從稀疏AlexNet模型和稀疏VGG-16模型中得到17.1倍和14.3倍的平均DRAM時間減少。
The huge data size of CNN (Convolutional Neural Network) has become a main performance and energy efficiency challenge. Although pruning methods are able to trim down unnecessary weight information, the DRAM access latency still dominate the overall system runtime due to the data intensive characteristic. Data mapping method can effectively resolve the DRAM access bottleneck. However, previous DRAM data mapping methods are designed for dense CNN models only and did not consider the compressed data format and irregular memory access pattern concerns on sparse CNN models. Also, the excessive design space exploration time is a time-consuming process. Therefore, we proposed DASC: a data mapping methodology for sparse CNN. DASC applies a map-based data mapping to attain good spatial locality and efficient DRAM access. The bank-group level characteristic in modern DDR is also exploited in our method. DASC also introduce an analytical model to minimize the time of searching optimize mapping parameters in minutes compare to days in previous works. When compare with state-of-the-art, DASC can attain 17.1x and 14.3x average DRAM latency enhancement on sparse AlexNet and VGG-16 respectively.

所屬典藏

電子研究所
顯示完整詮釋資料 統計資料

引用此條目

Kuo, P.-S. (2021). A DRAM Data Mapping and Tiling Methodology on Sparse Convolution Neural Networks. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/77720

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/77720