Artificial Neural Network for Response Inference of a Nonvolatile Resistance-Switch Array
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.3390/mi10040219
- 저널
- Micromachines
- 발행년도
- 2019
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 3
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/mi10040219
- 토픽
- Conducting polymers and applications
- OpenAlex ID
- W2924610250
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 25,166자
본문 펼치기
섹션 본문 16문단 · 15,610자
(제목 없음)
1An artificial neural network was utilized in the behavior inference of a random crossbar array (10 × 9 or 28 × 27 in size) of nonvolatile binary resistance-switches (in a high resistance state (HRS) or low resistance state (LRS)) in response to a randomly applied voltage array. The employed artificial neural network was a multilayer perceptron (MLP) with leaky rectified linear units. This MLP was trained with 500,000 or 1,000,000 examples. For each example, an input vector consisted of the distribution of resistance states (HRS or LRS) over a crossbar array plus an applied voltage array. That is, for a M × N array where voltages are applied to its M rows, the input vector was M × (N + 1) long. The calculated (correct) current array for each random crossbar array was used as data labels for supervised learning. This attempt was successful such that the correlation coefficient between inferred and correct currents reached 0.9995 for the larger crossbar array. This result highlights MLP that leverages its versatility to capture the quantitative linkage between input and output across the highly nonlinear crossbar array.
Introduction
2An artificial neural network (ANN) is a layered graph of nodes (activation units) and edges (nonzero connection weights), offering an immensely versatile hypothesis for various types of data description and different training methods [1]. Among feed-forward neural networks, multilayer perceptrons (MLP) and convolutional neural networks (CNN) are the most frequently applied types of neural network [2]. MLP is a prototypical feed-forward architecture in which every unit in a layer is fully wired to all units in the adjacent layers. In contrast, CNN has interlayer connections that are sparse and localized in the network topology [3,4]. A weight matrix in the CNN filters an input matrix fed into the next layer, and this filter (also known as convolution kernel) skims over the input layer. This is mathematically identical to convolving around the input layer, thus this architecture is termed CNN. In fact, the CNN has been successfully applied to a wide range of tasks including image recognition [1,[3][4][5] and natural language processing [6].
3The scope of tasks (other than conventional tasks mentioned above) within the capability of ANN has been markedly expanding, including quantum mechanical problems such as estimation of quantum mechanical ground state given a two-dimensional potential distribution [7] and modelling a mechanical system in presence of noise [8]. These examples highlight the neural network as a versatile hypothesis and the capability of backpropagation for supervised learning as a widely applicable training method.
4Meanwhile, a crossbar array of nonvolatile resistance-switches, i.e., passive resistive random access memory (RRAM), ideally meets the 4F 2 design rule (F is the minimum feature size), offering a solution to high-density nonvolatile memory [9][10][11]. Additionally, its current response to an applied voltage array naturally captures the multiply-accumulate (MAC) operation so that crossbar arrays have often been used for physical implementation of the matrix-vector product [12][13][14]. The benefit of this approach is obvious in comparison to the digital MAC operation: high speed due to the fully parallel operation and energy-efficiency due to no need for data transference during the operation. Given that the MAC operation is at the heart of MLP for both training and inference, the passive RRAM can substantially improve efficiency in MLP, which is an important field of neuromorphic engineering [12,[14][15][16][17][18][19].
5Considering the beneficial relationship between passive RRAM and MLP (particularly, the aforementioned passive RRAM for MLP), it is of interest to seek the reverse approach (MLP for passive RRAM). To this end, this work exemplifies the feasible application of MLP to the response inference of passive RRAM in which, once trained, the inference merely costs a few steps of matrix-vector product (depending on the depth of the network). Our new method may offer a new feasible means of crossbar circuit simulations as an alternative to conventional circuit simulation methods.
Description of Model System
6Passive RRAM as a model system is a M × N matrix R loaded with R HRS and R LRS that denote resistance in a high resistance state (HRS) and low resistance state (LRS), respectively, i.e., R ∈ {R HRS , R LRS } M × N . This model system outputs an N-long real-valued current vector I ∈ R N in response to an M-long real-valued input voltage vector V ∈ {0, 1} M . The model system is illustrated in Figure 1a.
7The model is a nonlinear system because the HRS features a highly nonlinear current-voltage (I-V) relationship in contrast to the linear (or almost) I-V of the LRS. In this regard, the HRS was provided with a nonlinear I-V characteristic as follows: I = I 0 e aV , where I 0 and a denote a pre-exponential factor and voltage coefficient, respectively. The larger a, the higher nonlinearity is given to the I-V behavior. Such nonlinearity in the HRS has been observed in an enormous number of resistance-switches given the usual thermal activation of current transport in the HRS [10,20,21]. In contrast, the LRS was given a linear I-V characteristic, keeping fidelity to experimental systems that generally represent linear or very weakly nonlinear I-V characteristics.
8Two types of resistance-switch were addressed in this study: Type A and B, whose detail is tabulated in Table 1. The I-V behavior for each switch is plotted in Figure 1b. They differ in the R HRS /R LRS ratio (evaluated at 1 V); the ratio for Type A is 100 times larger than Type B. For each type, two different array sizes (10 × 9 and 28 × 27; M = 10 and N = 9, and M = 28 and N = 27, respectively) were considered.
Description of Artificial Neural Network
9The passive RRAM outputs a current vector I that is determined by the configuration of switches over the whole array instead of their local configuration. A fully connected feed-forward network is, therefore, suitable for the model system instead of a CNN capturing patterns over local areas. Additionally, given the aforementioned nonlinearity of the model system, a hidden layer(s) needs to be incorporated in the network, rendering an MLP most suitable. Thus, an MLP was chosen as an appropriate network for the crossbar array. Figure 1c illustrates the employed MLP with M × (N + 1) input units, N output activation units, and O hidden layers, each of which is filled with H i activation units where i ∈ {1, 2, · · · , O}. The input into the MLP is the resistance-state (+1 and −1 for the LRS and HRS, respectively) distribution over the M × N array (R) plus an M-long vector for input voltage (+1 and −1 for V[i] = 1 and V[i] = 0, respectively) as sketched in Figure 1c. This matrix is then vectorized to feed into the MLP. The output is the estimated output current of the crossbar array at a given voltage. Note that successful training is crucial to rescale the original physical input (resistance and voltage) and output (current) in a heuristic manner such that the rescaled (scale-free) values stay in an "acceptable" range. To this end, symbolic (+1 and −1), rather than physical, values were given to the input components. Likewise, the desired (correct) output values (currents) were rescaled such that L
10The leaky rectified linear unit (ReLU) was deployed as an activation unit: f (x) = max(x, 0.1x). The leakage when x < 0 is required for the negative input components. Otherwise, the negative input components are merely ignored as for the simple ReLU, f (x) = max(x, 0). The ReLU is a workaround for the notorious vanishing gradient problem, which is significant when the network is deep.
Training and Test Datasets
11The output I in response to an input V for a given R was evaluated by applying the Kirchhoff's circuit law to each switch. The obtained nonlinear equations were solved using the Newton-Raphson method, which resulted in the output I. The calculation was elaborated in [22]. A training dataset was produced by randomly sampling resistance state distribution over the array and input V. First, p 1 (0 ≤ p 1 ≤ 1) was randomly sampled from a uniform probability distribution function (PDF) and used as the probability that V[i] = 1. That is, if p 1 is 0.4, 40% of all input lines are pulled high (1 V), and the rest lines (60%) are pulled down (0 V). Another number p 2 (0 ≤ p 2 ≤ 1) was subsequently sampled for each input line from a uniform PDF to randomly distribute 1 V signals over all input lines at a probability of p 1 such that, when p 2 ≤ p 1 , V[i] = 1, and 0 otherwise. This process was repeated with different p 2 's over M rows, resulting in an input V for this training example. A third number p 3 (0 ≤ p 3 ≤ 1) was picked from a uniform PDF and taken as the percentage of LRS switches in the entire array. For each switch in the array, p 3 was compared with another random number, p 4 (0 ≤ p 4 ≤ 1) was sampled for each switch, and R[i,j] = R LRS when p 4 ≤ p 3 , and R[i,j] = R HRS otherwise. The label of this training example was the current response for I given R and V. The complete dataset was acquired by repeating this process. The test dataset was separately made for the fair evaluation of inference accuracy.
12Two different crossbar array sizes (10 × 9 and 28 × 27) for each type of switch were considered so that four different training and test datasets were produced. Each training dataset included 500,000 training examples (V, R, and I) unless otherwise specified. The network was examined for every training epoch using 10,000 test examples. Backpropagation using the mean-squared error loss function was employed with Adam optimizer that leverages learning rate adaptation for each parameter to accelerate training [23]. The MLP was batch-trained with a batch size of 100 (100 examples were randomly chosen for each training epoch). Both training and inference were performed using TensorFlow [24]. Note that for successful training, the network should vary on its hyper-parameters such as the number of ReLU units in each hidden layer (H i ) and the network depth (O) depending on the input array length. Figure 2 shows a reduction in the discrepancy between the output (inferred) current I out and desired (correct) current I cor in due course, revealing successful training for all four cases conditional on the network structure. For the small crossbar array (10 × 9), a network including a single hidden layer (O = 1) loaded with 100 ReLU units could successfully be trained with the 500,000 training examples (Figure 2a,b). However, the use of fewer units (50 and 75) falls short of the capability of learning the dataset so that a high error level is maintained for both types of switch. This is a result of underfitting referring to the use of an unsuitable network for capturing the input pattern. Here, the network is too simple (insufficient number of units) to describe the complexity of input data.
Training Results
13The successfully trained network infers the output current of a random 10 × 9 crossbar array R at a random V. The inferred currents for 10,000 test examples are plotted against the desired (correct) currents in Figure 2e,f, each of which includes 90,000 data points (10,000 test examples, each of which produces 9 current values). The error histogram for each case is plotted in the inset, indicating a root mean squared error (RMSE) of 0.313 µA and 17.8 µA, respectively. The larger error for Type 2 switch arises from the higher current in both HRS and LRS due to the lower R HRS and R LRS .
14The results for the larger crossbar array (28 × 27) of Types A and B switches are shown in Figure 2c,d, respectively. Given the larger input dimension (28 × 28 = 784), a network needs more units in each hidden layer and/or more hidden layers for success in training. The employed network varies on the number of units (1500 and 2500) in a hidden layer and the network depth (1 and 2). The three networks among four are given the capability to estimate the response of a random 28 × 27 crossbar array R at a random V. As such, the network fully trained along the green curve for Types A and B switches represents low inference-error (a RMSE of 4.85 µA and 62.7 µA, respectively) as elucidated in Figure 2g,h, and their insets. Inference-error reduction while training a network with the dataset of a 10 × 9 crossbar array of (a) Type A and (b) Type B switches. Their output results (inferred currents) for the entire 10,000 test datasets after successful training (green lines) are plotted against the desired currents in (e) and (f), respectively. The histogram of the error (the difference between inferred and desired currents) for each case is shown in the inset. The red solid lines denote the perfect match of inference with the desired (correct) results. The results are shown for a 28 × 27 crossbar array of (c) Type A and (d) Type B switches, and their statistics in (g) and (h), respectively.
15The correlation coefficient r for each case was also evaluated as another measure of success of training, which is given by r = cov(I out − I cor )/ var(I out )·var(I cor ), where cov and var denote a covariance and variance, respectively. The correlation coefficient is asymptotic to 1 when the inference error tends to zero, and thereby r = 1 implies zero error (perfect match). The calculated r for each case is written in Figure 2. The failure of training for the network with 2,500 units in each of the two hidden layers is due to overfitting (see orange curves in Figure 2c,d). Although the network is given sufficient complexity (a large number of units and hidden layers) to learn the complex input pattern, insufficient training examples lead to faulty training as shown in the orange curves (Figure 2c,d). Overfitting could be avoided by training with a larger training dataset (here 1,000,000 examples for Type B switch) as shown in Figure 3a. The inference-error for the overfitting case is detailed in Figure 3b which represents a substantial discrepancy between the inferred and desired outputs, the extent to which the RMSE reaches 438.2 µA (r = 0.99571). The error statistics are plotted in the inset. In contrast, a remarkable reduction in inference-error is identified for the non-overfitting case (Figure 3c) whose RMSE is lowered down to 49.2 µA (r = 0.9995). Finally, we compared the time-efficiency of the proposed method with the conventional Newton-Raphson method [22]. The run time of a 10 × 9 resistance array calculation was measured for both methods using the same computer. The result shown in Figure 4 ensures an acceleration in calculation by approximately 8 times, identifying a feasible benefit of fast calculation from the proposed method.
Conclusions
16A fully connected feed-forward network with different structures (depth and the number of activation units) was successfully trained to infer the current response of a random crossbar array to a randomly applied voltage array. This work first verifies the capability of ANN to capture the highly nonlinear input-output relationship of a crossbar array model system. Secondly, MLP for supervised learning provides a means of real-valued array inference beyond the classification of input patterns. Thirdly, this work offers a distinct view of crossbar array evaluation-a numerical solution of a number of simultaneous equations can be avoided at the expense of a few steps of matrix-vector product for inference. However, training the network and preparing datasets can be expensive, depending on the network hyper-parameters and model crossbar array size. Thus, we leave this efficiency issue open for the moment.
참고문헌 24건
- Emerging memories: resistive switching mechanisms and current status Reports on Progress in Physics · IOP Publishing · 2012 10.1088/0034-4885/75/7/076502
- A Review of Three‐Dimensional Resistive Switching Cross‐Bar Array Memories from the Integration and Materials Property Points of View Advanced Functional Materials · Wiley · 2014 10.1002/adfm.201303520
- Convolutional networks and applications in vision 2010 10.1109/iscas.2010.5537907
- Memristive devices for computing Nature Nanotechnology · Nature Portfolio · 2012 10.1038/nnano.2012.240
- Numerical study on passive crossbar arrays employing threshold switches as cell-selection-devices Electronic Materials Letters · Springer Science+Business Media · 2012 10.1007/s13391-012-2031-0
- Mechanism for bipolar switching in a<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mtext>Pt</mml:mtext><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mtext>TiO</mml:mtext></mml:mrow><mml:mn>2</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:mtext>Pt</mml:mtext></mml:mrow></mml:math>resistive switching cell Physical Review B · American Physical Society · 2009 10.1103/physrevb.79.195317
- Throttle valve control using an inverse local linear model tree based on a fuzzy neural network 2008 10.1109/ukricis.2008.4798943
- Redox‐Based Resistive Switching Memories – Nanoionic Mechanisms, Prospects, and Challenges Advanced Materials · Wiley · 2009 10.1002/adma.200900375
- Towards artificial neurons and synapses: a materials point of view RSC Advances · Royal Society of Chemistry · 2012 10.1039/c2ra22507g
- Gradient-based learning applied to document recognition Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/5.726791
- Natural Language Processing (almost) from Scratch arXiv (Cornell University) · Cornell University · 2011 10.48550/arxiv.1103.0398
- ImageNet Classification with Deep Convolutional Neural Networks Neural Information Processing Systems · 2012
- Coexistence of Bipolar and Unipolar Resistive Switching Behaviors in a Pt∕TiO[sub 2]∕Pt Stack Electrochemical and Solid-State Letters · Electrochemical Society · 2007 10.1149/1.2742989
- Dot-product engine for neuromorphic computing 2016 10.1145/2897937.2898010
- Demonstration of Convolution Kernel Operation on Resistive Cross-Point Array IEEE Electron Device Letters · Institute of Electrical and Electronics Engineers · 2016 10.1109/led.2016.2573140
- Design of Resistive Synaptic Array for Implementing On-Chip Sparse Learning IEEE Transactions on Multi-Scale Computing Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tmscs.2016.2598742
- Memristors for Energy‐Efficient New Computing Paradigms Advanced Electronic Materials · Wiley · 2016 10.1002/aelm.201600090
- Deep learning and the Schrödinger equation Physical review. A/Physical review, A · American Physical Society · 2017 10.1103/physreva.96.042113
- In-Datacenter Performance Analysis of a Tensor Processing Unit 2017 10.1145/3079856.3080246
- Experimental Demonstration of Feature Extraction and Dimensionality Reduction Using Memristor Networks Nano Letters · American Chemical Society · 2017 10.1021/acs.nanolett.7b00552
- Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
- Natural Language Processing (almost) from Scratch arXiv (Cornell University) · Cornell University · 2011
- In-Datacenter Performance Analysis of a Tensor Processing Unit ACM SIGARCH Computer Architecture News · ACM SIGARCH · 2017 10.1145/3140659.3080246
- Sparse coding with memristor networks Nature Nanotechnology · Nature Portfolio · 2017 10.1038/nnano.2017.83