應用於物件偵測之具抗非理想效應之內部運算功能的電阻式隨機存取記憶體架構

An In RRAM Computing Architecture with Non-ideal Effects Tolerance for the Application of Object Detection

檔案

日期

2021

類型

語言

英文

摘要

人工智慧技術是現代科技中重要的一門技術,不論在人臉辨識、語音辨識、自駕車都會需要使用到這門技術。其特徵為建立一個卷積神經網路,並經由網路的計算,找出網路中每層權重的最佳值。在卷積神經網路中需要使用到大量的特徵以及權重的資料作運算,傳統數位電路上,即需要使用大量的乘法器和加法器完成乘法以及累加運算,並且從記憶體中搬運大量資料到電路中做運算,因此在搬運資料上會消耗大量的功耗。因此,記憶體內運算的概念被提出,透過直接在記憶體內做運算,使讀出的資料就為運算的結果,來降低訓練時資料傳遞所消耗的時間和能量。
本篇論文提出了一種具內部運算功能的電阻式隨機存取記憶體架構(IRC)並應用於物體偵測上。此架構採用台積電提供的40nm RRAM陣列,並使用混和訊號電路完成物體偵測的應用並具低功率消耗。透過和演算法團隊的合作,將類比電路的非理想性加進係數訓練並利用演算法作補償。在IRC中,我們使用Ternary weight mapping的方式,以增加演算法對RRAM cell variation的容忍度,並降低讀取RRAM cell的wordline電壓,降低cell的電流大小,以增加運算的平行度。同時,我們將累加電流的非線性以及sense amplifier的variation加入訓練達到更好的結果,以此降低類比電路設計所需的面積及功率消耗。經過訓練後,YOLOv2的演算法可以達到mAP 61.56。在IRC的設計中,擁有高達444.064 TOPS/W的效能。
Artificial intelligence technology is an important technology in modern technology, whether in face recognition, speaker recognition, or autonomous driving, this technology is needed. It is characterized by building a convolutional neural network and finding the optimal value of the weight of each layer in the network through the calculation of the network. In conventional digital circuits, a large number of multipliers and adders are used to perform multiplication and accumulation (MAC) operations, and a large amount of data is transported from memory to the circuit for computation. Thus, it consumes lots of power consumption on the data transformed. Therefore, the concept of in memory computing is proposed. By doning the computation directly in memory so that the data read out is the result of MAC to reduce the time and energy consumption during the data transfer.
In this thesis, we proposed an In Resistive Random Access Memory computing architecture fo the application of object detection. This architecture uses foundry 40nm RRAM array provided from TSMC, and accomplish the application of object detection by mixed-signal circuits to achieve low power consumption. By cooperating with the algorithm group, the non-ideal effects of the analog circuits are coefficient-trained and compensated by the algorithm. In the IRC architecture, we use the ternary weight mapping to increase the tolerance of the algorithm to the RRAM cell variation. And we also reduce the read wordline voltage at the RRAM cell to reduce the cell current and increase the computation parallelism. At the same time, we add the nonlinearity of the summing current and the variation of the sense amplifier to the training to achieve better results. Thus, the area and power consumption required for analog circuit design can be reduced. After training, the mAP of the YOLOv2 algorithm achieve to 61.56. For the IRC performance, we achieve up to 444.064 TOPS/W.

所屬典藏

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

引用此條目

Ni, C.-E. (2021). An In RRAM Computing Architecture with Non-ideal Effects Tolerance for the Application of Object Detection. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/79282

BibTeX RIS

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

分享

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