運用多階層式電阻式記憶體實現類神經網路運算

The Implementation of Neuromorphic Computing Network By Multiple Levels Resistance Random Access Memory

檔案

全文未公開。

日期

2020

類型

語言

英文

摘要

隨著電子科技的大幅進步,大數據服務漸漸成為一個很重要的議題,為了分析大數據,同時快速推動了機器學習的發展。現今主流的機器學習方法是基於GPU的數值運算,然而這種范紐曼架構(von Neumann arch.)的計算機計算速度有上限,這個上限來自於頻繁地對動態記憶體(DRAM)的存取。有一種方法理論上能夠突破這個限制,透過結合儲存及運算於單一元件上來降低資料存取頻率。這種方法稱作類神經運算網路(neuromorphic computing)。另一方面,儲存的浮點數精度也是一個機器學習中的議題,當我們將網路中的變數視為連續的,這個網路會對變數的誤差非常敏感,為了提升精度,可將單精度(single precision)浮點數改為雙精度(double precision)浮點數,但是,這會使儲存的資料大小變大,對讀取資料時的頻寬要求也會上升,不利於終端應用。目前已經有針對低精度變數網路的研究,已經成功證實能夠在將網路中的變數視為不連續時,能夠正常運作,由這個結論推論,當精度下降到幾個位元時,若依然能夠運作,那麼使用前瞻記憶體來組成類神經網路,將會是個適當的選擇。

本文中,吾人透過探討利用多階層式電阻式記憶體(resistance random access memory, RRAM)來實現類神經網路運算,在研究方法上,我們將使用機器學習演算法來建立一個特殊的模型,接著將從吾人所製備的電阻式記憶體上萃取的電性帶入類神經網路的模型,在MNIST資料組中,能夠在2階層時準確度達到98.3%,在4階層時達到98.9%,在CIFAR-10資料組中,4階層時準確度能夠達到83.8%。最後更進一步,我們探討RRAM的變異性誤差會如何影響訓練的過程。

最後,我們成功地說明了, 運用我們的RRAM元件來實現類神經網路運算是可行的。
As the electronics technology advance, big data become a more and more important topic. In order to analyze very large amount of data, it drives machine learning to develop more quickly. Now, the mainstream of the machine learning machine is based on GPU. However, this traditional computing architecture, known as von Neumann architecture, has a limitation of speed. The limitation is due to the latency of memory access, which is known as memory wall. One of solutions is neuromorphic computing, which combines memory storage units and computing units together. On the other hand, the precision of a floating-point variable is another topic in machine learning. If we thought variables are continuous, the network would be sensitive to errors from digitalization. As the result, more bits are needed when we describe variables. Unfortunately, those variables, such as double precision, bring us the requirement of bandwidth and storage. There are many successful researches about network with low-precision weights. Low -precision weights are good for neuromorphic computing, too. It highly reduces the requirements of units so that building a network with emerging memory devices become possible.

In this thesis, we would like to build up a neuromorphic computing circuit by our RRAMs. Based on this framework, we developed our operation method to achieve RRAM devices with the capability of near-linear-conductance-tuning. Our RRAM can achieve 128 levels and levels spread uniformly. Then we applied the device properties to machine learning API and demonstrated the neural network whose weights are comprised by the model of RRAM electrical characteristics. We can achieve an accuracy of 98.3% with 2-level weights and 98.9% with 4-level weights over “MNIST” dataset. If we choose “CIFAR-10” as the dataset, we can get accuracy of 83.8% with 4-level weights. Furthermore, we discussed how the RRAM error affects the test accuracy of the training results.

Finally, in the proposed methodology, we have successfully proven that the quantized-weights network based on the characteristics of few-level storage in RRAM can be utilized in the image-detection during training and inference.

所屬典藏

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

引用此條目

Jiun-Lin Kuo (2020). The Implementation of Neuromorphic Computing Network By Multiple Levels Resistance Random Access Memory. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/73681

BibTeX RIS

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

分享

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