應用於卷積神經網路的高平行度電阻式隨機存取記憶體內運算架構
A High-Parallel Computing In Resistive Random Access Memory Architecture for CNN Application
摘要
深度學習是現代科技中
一門 不可或缺的技術,不論是人臉辨識、語音辨認、自動駕
駛都會需要 這門 技術。 其 特色為 建立一個 神經 網路的 架構,經由訓練找出網路中每一層
權重的最佳值 來得到最好的結果。然而在訓練的過程中 會需 要 經過 大量的運算,與
不斷的從儲存裝置存取資料, 才能訓練出最好的結果 ,因此記憶體內運算的概念被提出。
透過直接在記憶體內部做運算,來 降低訓練 時資料傳遞所消耗的時間與能量。
本篇論文提出一個基於電阻式隨機存取記憶體的記憶體內運算架構,
將會 應用 在 自
動駕駛中的影像辨識技術。 在這篇論文中,將會介紹電阻式隨機存取記憶體的特性,及
為了實踐影像辨識技術的記憶體內運算,而設計出的硬體架構。由於相關製程為台積電
所提供,我們無法得知電阻式隨機存取記憶體的完整特性,所以我們 設計 了一顆測試用
的晶片 來測量 電阻式隨機存取記憶體的特性 ,以 評估應用 在自動駕駛中的 電阻式隨機存
取記憶體的深度卷積神經網路 影像辨識技術 的最佳的硬體架構 。
一門 不可或缺的技術,不論是人臉辨識、語音辨認、自動駕
駛都會需要 這門 技術。 其 特色為 建立一個 神經 網路的 架構,經由訓練找出網路中每一層
權重的最佳值 來得到最好的結果。然而在訓練的過程中 會需 要 經過 大量的運算,與
不斷的從儲存裝置存取資料, 才能訓練出最好的結果 ,因此記憶體內運算的概念被提出。
透過直接在記憶體內部做運算,來 降低訓練 時資料傳遞所消耗的時間與能量。
本篇論文提出一個基於電阻式隨機存取記憶體的記憶體內運算架構,
將會 應用 在 自
動駕駛中的影像辨識技術。 在這篇論文中,將會介紹電阻式隨機存取記憶體的特性,及
為了實踐影像辨識技術的記憶體內運算,而設計出的硬體架構。由於相關製程為台積電
所提供,我們無法得知電阻式隨機存取記憶體的完整特性,所以我們 設計 了一顆測試用
的晶片 來測量 電阻式隨機存取記憶體的特性 ,以 評估應用 在自動駕駛中的 電阻式隨機存
取記憶體的深度卷積神經網路 影像辨識技術 的最佳的硬體架構 。
Deep learning is an indispensable technology in modern technology, whether it is face recognition, speaker recognition, or autonomous driving. Its characteristic is to build a neural network architecture, and find the best value of the weight of each layer in the network through training to get the best result. However, in the training process, a lot of computations and massively data access from storage devices are required to achieve the best results. Therefore, the concept of Computing In Memory (CIM) is proposed. By doing computations directly in the memory, the latency and energy consumed by data transmission during training can be reduced.
This paper proposes an CIM architecture based on resistive random access memory, which will be applied to object detection technology in autonomous driving. In this thesis, I will introduce the characteristics of resistive random access memory and the hardware architecture designed for implementing the CIM operations of object detection technology. Since the relevant process is provided by TSMC, we cannot know the complete characteristics of the resistive random access memory. So we design and implement a test chip to measure the characteristics of the resistive random access memory, to evaluate the best hardware architecture in a RRAM object detection DCNN for autonomous driving.
This paper proposes an CIM architecture based on resistive random access memory, which will be applied to object detection technology in autonomous driving. In this thesis, I will introduce the characteristics of resistive random access memory and the hardware architecture designed for implementing the CIM operations of object detection technology. Since the relevant process is provided by TSMC, we cannot know the complete characteristics of the resistive random access memory. So we design and implement a test chip to measure the characteristics of the resistive random access memory, to evaluate the best hardware architecture in a RRAM object detection DCNN for autonomous driving.