應用於卷積神經網路的高平行計算能力之多位元電阻式隨機存取記憶體內運算模組

A Multi-bit RRAM CIM Macro with Highly Computing Parallelism for CNN Application

檔案

日期

2022

類型

語言

中文

摘要

近年來,人工智能(AI)成為語音辨識、圖像處理和自動駕駛等許多應用的重要技術。使用基於馮諾依曼結構的傳統處理器來運行AI應用程序在實現低能耗和短延遲方面面臨挑戰,因為有大量數據在記憶體與運算單元之間搬移。在這種情況下,記憶體內運算(CIM)被開發來克服馮諾依曼瓶頸。
對於基於非揮發性記憶體(基於NVM)的CIM,電阻式隨機存取記憶體(RRAM) 是首要候選者。然而,在設計更高精度的RRAM CIM模組時存在許多挑戰。在本論文中,提出了許多創新的硬體與軟體共同優化方法來應對這些挑戰。我們使用40nm製程實作一個256Kb RRAM CIM模組,具有4位元輸入、4位元參數和4位元輸出精度。此模組透過同時計算128個4位元乘以4位元乘法運算並平行累加128個乘法結果以達到高計算平行度,模組執行一次CIM運算的模擬結果可以達到17 ns的短延遲和71 TOPS/W 的高能效。我們將所設計的模組用於加速AI模型Light-CSPDenseNet中的卷積運算,並且透過所提出的方法減少模組的非理想效應對AI模型的影響,使AI 模型能達到Visual Wake Words數據集的86.33%高準確率。
In recent years, Artificial Intelligence (AI) becomes the important technique for many applications such as speaker recognition, image processing, and autonomous driving. Using the conventional processors based on the von Neumann structure for running AI applications face challenges in achieving low energy and short latency, due to the large amount of data movement across the memory hierarchy to processing elements. Under this circumstance, computing-in-memory (CIM) was developed to overcome the von Neumann bottleneck.
For nonvolatile-memory-based (NVM-based) CIM, resistive random access memory (RRAM) is a prime candidate for NVM-based CIM. However, there are numbers of challenges involved in designing RRAM CIM macros with higher precisions. In this thesis, we propose numbers of innovations to handle these challenges by joint hardware and software optimization. And we implement a 256Kb RRAM CIM macro in 40nm process with 4-bit input, 4-bit weight and 4-bit output precision. Our macro can achieve highly computing parallelism of computing 128 4-bit by 4-bit multiplications and accumulating in parallel. The simulation results of the macro achieve a short latency of 17 ns of CIM operation and high energy efficiency of 71 TOPS/W. The macro is used to accelerate the convolution computation in Light-CSPDenseNet AI model. By our proposed methods, we can reduce the non-ideal effects of the macro and make the AI model achieve high accuracy of 86.33% of Visual Wake Words dataset.

所屬典藏

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

引用此條目

林冠志 (2022). 應用於卷積神經網路的高平行計算能力之多位元電阻式隨機存取記憶體內運算模組. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/80422

BibTeX RIS

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

分享

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