基於二位元權重及激活函數之高效率卷積類神經網路設計與實現

Design and Implementation of an Efficient CNN Accelerator with Binary Weights and Activation

檔案

全文未公開。

日期

2019

類型

語言

英文

摘要

現今,卷績神經網路廣泛應用於圖形辨識、物件偵測。在卷績神經網路上的舉績層一般需要很大量的運算,因為卷績層在硬體設計上是非常重要的,本篇論文提出一個卷績神經網路模型的加速器,採用文獻[1]的技術,在前傳輸階段,將權重與圖片資訊二元化,根據這個技術,我們發現可以將卷績層傳統的乘法運算用XNOR閘來完成,因此大大地降低運算複雜度及能源消耗,除此之外我們還使用了彈性的權重大小,支援1-7的運算。針對儲存特徵圖及權重,我們採用32x32的運算機制。
我們的加速器實作在TSMC 90nm下,核心面積為1.3mm2,效能達到104.7 GOPS和 2.08 TOPS/W,在能源效率上平均優於傳統的卷績神經網路加速器67.3%,而核心面積則平均少於84.6%。
Recently, convolution neural networks (CNN) has been widely applied on image classification and object detection. Generally, the convolution layer requires lots of arithmetic operations in whole CNN model. Thus, the convolution layer plays an significant role in CNN hardware. In this thesis, we propose a new CNN accelerator to reach the low area and decrease the operation in convolution layer. To the best of our knowledge, we adopt binary-weights and activation (BWA) method to bound the filter weighted value into binary value in forward propagation part. Based on the BWA method, we found that the multiplication operation can be substituted into XNOR gate operation to significantly lower the calculation complexity. Furthermore, XNOR gate operation not only achieve low space and time complexities but reaches efficient energy. Besides, we provide flexible multi-size filter, .i.e., 1 × 1, 2 × 2, …, 7 × 7. For the storage of input feature maps and filter, we adopt 32x32-based computation mechanism.
顯示完整詮釋資料 統計資料

引用此條目

Peng, H.-H. (2019). Design and Implementation of an Efficient CNN Accelerator with Binary Weights and Activation. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/71010

BibTeX RIS

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

分享

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