This U.S. non-provisional application claims priority under 35 USC § 119 to Korean Patent Application No. 10-2020-0006560, filed on Jan. 17, 2020, in the Korean Intellectual Property Office (KIPO), the disclosure of which is incorporated by reference herein in its entirety.
Example embodiments relate generally to semiconductor integrated circuits, and more particularly to a storage controller, a storage system including a storage controller and a method of operating a storage controller.
Artificial intelligence (AI) technology refers to technology that emulates human abilities, such as perception, learning, reasoning, and natural language processing, using computing systems. Recently deep learning is widely used to implement the AI technology. The huge amount of data have to be processed repeatedly in performing the deep learning, and thus computing systems of higher performance is required.
Some example embodiments may provide a storage controller, a storage system including a storages controller and a method of operating a storage controller, capable of increasing a speed of deep learning.
According to some example embodiments, a storage controller includes a learning pattern processor and a storage processor. The learning pattern processor estimates request prediction data to be requested by a host per epoch to generate estimated result values of the request prediction data. The storage processor read the request prediction data from a storage memory to store the request prediction data in a buffer memory based on the estimated result values, the reading and the storing being before the host issues a read request for the request prediction data, an operation speed of the buffer memory being higher than an operation speed of the storage memory.
According to some example embodiments, a storage system includes a host, a storage memory and a storage controller. The Storage controller includes a buffer memory, a learning pattern processor and a storage processor. The host performs a deep learning. The storage memory stores data for the deep learning. The buffer memory having higher operation speed than the storage memory. The learning pattern processor configured to estimate request prediction data to be requested by a host per epoch to generate estimated result values of the request prediction data. The storage processor configured to read the request prediction data from a storage memory to store the request prediction data in a buffer memory based on the estimated result values before the host issues a read request for the request prediction data.
According to some example embodiments, a method of operating a storage controller includes, estimating request prediction data to be requested by a host per epoch to generate estimated result values of the request prediction data, and reading the request prediction data from a storage memory to store the request prediction data in a buffer memory based on the estimated result values before the host issues a read request for the request prediction data, an operation speed of the buffer memory being higher than an operation speed of the storage memory.
The storage controller, the storage system and the method according to some example embodiments may efficiently increase the speed of performing the deep learning by moving the request prediction data, which is expected to be requested by the host, from the storage memory to the buffer memory having the higher operation speed than that of the storage memory, in advance before the host issues the read request for the request prediction data and rapidly transfer the request prediction data stored in the buffer memory to the host in response to the read request.
Some example embodiments of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.
In this disclosure, a system including a storage controller, a storage memory and a host may be referred to as a storage system. The storage system may be dedicated to performing deep learning for implementing an artificial intelligence (AI) technology. The storage controller may receive only data used in deep learning, write and read requests for the data, and an address corresponding to the data. Request prediction data represents data that is expected to be requested by the host per epoch.
According to some example embodiments, the request prediction data may include first data and second data.
The first data may be learning data requested from the host to perform a deep learning. The learning data may include voice data, image data, etc. which are used in performing the deep learning. The learning data may be referred to as training data or sample data.
The second data may be variables that are updated repeatedly per epoch based on the first data during the deep learning. The variables may include weight values, bias values, intermediate result values, etc. which are updated per epoch during the deep learning.
Various example embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some example embodiments are shown. In the drawings, like numerals refer to like elements throughout. The repeated descriptions may be omitted.
Referring to
The storage processor 110 may be implemented with a central processing unit (CPU) configured to control overall operations of the components 130, 150, 170 and 190. The storage processor 110 may be referred to as a storage CPU. For example, the storage processor 110 may control the components 130, 150, 170 and 190 to provide data stored in a storage memory 500 to a host 300 when a read request is received from the host 300, and to provide data from the host 300 to the storage memory 500 when a write request is received from the host 300.
The host 300, also referred to herein as a “host device,” may be configured to perform a deep learning operation, also referred to herein as “deep learning.” The host 300 may issue the write and read requests repeatedly while a deep learning is performed. The host 300 may perform a forward propagation (FP) and a backward propagation (BP) per epoch and many variable of the deep learning may be updated during the FP and the BP. The storage memory 500 may be configured to store data for (e.g., data associated with) the storage memory 500.
According to some example embodiments, the learning pattern processor 150 may estimate request prediction data, which is expected to be requested by the host 300 per epoch (e.g., estimate request prediction data to be requested by the host per epoch) to generate estimated result values of the request prediction data. Based on the estimated result values, the storage processor 110 may read request prediction data from the storage memory 500 to store the request prediction data in the buffer memory 130, in advance, before the host issues a read request for the request prediction data. When the host 300 issues the read request for the request prediction data (e.g., in response to such request), the storage processor 110 may provide to the host 300 with the request prediction data stored in the buffer memory 130 instead of the request prediction data stored in the storage memory 500.
According to some example embodiments, the request prediction data may include first data and second data. The first data may be learning data X requested from the host 300 to perform a deep learning. The learning data X may include voice data, image data, etc. which are used in performing the deep learning. The learning data may be referred to as training data or sample data. The second data may be variables that are updated repeatedly per epoch based on the first data during the deep learning. The variables may include at least one of weight values (e.g., W[1:N]), bias values (e.g., b[1:N] where N is a natural number greater than one), or intermediate result values (e.g., A[1:N] and/or Z[1:N]) of the deep learning.
To reduce a time for transferring the request prediction data to the host 300, the buffer memory 130 may be implemented with a memory having a higher operation speed than an operation speed of the storage memory 500. Restated, an operation speed of the buffer memory 130 may be higher than an operation speed of the storage memory 500. According to some example embodiments, the buffer memory 130 may include a volatile memory or a nonvolatile memory. The volatile memory may include at least one of a dynamic random access memory (DRAM) or a static random access memory (SRAM), and the nonvolatile memory may include at least one of a phase change random access memory (PRAM), a ferroelectric random access memory (FRAM), or a magnetic random access memory (MRAM), but example embodiments are not limited thereto.
As such, the storage controller 100 may move the request prediction data, which is expected to be requested by the host 300 during the deep learning, from the storage memory 500 to the buffer memory 130 having the higher operation speed than the storage memory 500, in advance, before the host issues the read request for the request prediction data. When the host 300 issues the read request for the request prediction data, the storage processor 110 may transfer, to the host 300, the request prediction data stored in the buffer memory 130 instead of the request prediction data stored in the storage memory 500. Accordingly the speed of the deep learning may be increased efficiently, thereby improving performance of a system and/or device that includes at least one of the storage controller 100, host 300, or storage memory 500, including a machine learning system, which may be used to provide for example, at least one of various services and/or applications, e.g., an image classify service, a user authentication service based on bio-information or biometric data, an advanced driver assistance system (ADAS) service, a voice assistant service, an automatic speech recognition (ASR) service, or the like, and may be performed, executed, or processed by the host device 300 and/or the storage controller 100. Accordingly, the efficiency and/or performance of such services and/or applications, and thus the performance of a system and/or device implementing such services and/or applications, may be improved based on the improved speed of the deep learning performed by a system and/or device that includes at least one of host 300, storage controller 100, or storage memory 500.
The buffer memory 130 may be embedded in the storage controller 100 as illustrated in
The host interface 170 may interface data transfer between the host 300 and the storage controller 100, and the storage memory interface 190 may interface data transfer between the storage controller 100 and the storage memory 500.
Some or all of the host 300, the storage controller 100, and/or the storage memory 500, and/or any portion thereof (e.g., storage processor 110 and/or the learning pattern processor 150) may include, may be included in, and/or may be implemented by processing circuitry such as hardware including logic circuits; a hardware/software combination such as a processor executing software; or a combination thereof. For example, the processing circuitry more specifically may include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), and programmable logic unit, a microprocessor, application-specific integrated circuit (ASIC), etc. In some example embodiments, the processing circuitry may include a non-transitory computer readable storage device, for example a solid state drive (SSD), storing a program of instructions, and a processor configured to execute the program of instructions to implement the functionality and/or methods performed by some or all of any of the storage controller 100, the host 300, and/or the storage memory 500, or any portion thereof (e.g., the learning pattern processor 150).
In some example embodiments, some or all of the host 300, the storage controller 100, and/or the storage memory 500, and/or any portion thereof may include, may be included in, and/or may implement an artificial neural network that is trained on a set of training data by, for example, a supervised, unsupervised, and/or reinforcement learning model, and wherein the processing circuitry may process a feature vector to provide output based upon the training. Such artificial neural networks may utilize a variety of artificial neural network organizational and processing models, such as convolutional neural networks (CNN), deconvolutional neural networks, recurrent neural networks (RNN) optionally including long short-term memory (LSTM) units and/or gated recurrent units (GRU), stacked neural networks (SNN), state-space dynamic neural networks (SSDNN), deep belief networks (DBN), generative adversarial networks (GANs), and/or restricted Boltzmann machines (RBM). Alternatively or additionally, the processing circuitry may include other forms of artificial intelligence and/or machine learning, such as, for example, linear and/or logistic regression, statistical clustering, Bayesian classification, decision trees, dimensionality reduction such as principal component analysis, and expert systems; and/or combinations thereof, including ensembles such as random forests.
Referring to
The learning pattern processor 150 may estimate the request prediction data, that is expected to be requested by the host 300 per epoch to generate estimated result values ESTMRES of the request prediction data.
The learning pattern processor 150 may receive an address corresponding to a read request or a write request from the storage processor 110 or the host 300, and generate the estimated result values ESTMRES using the address corresponding to the read request or the write request. The read request and the write request may be a combination of a command CMD and an address ADDR, and the write address may accompany write data DATA.
The learning pattern processor 150 may transfer the estimated result values ESTMRES to the storage processor 110. Using the estimated result values ESTMRES, the storage processor 110 may read data, that is, the request prediction data, from the storage memory 500 and store the request prediction data in the buffer memory 130 in advance before the host 300 issues the read request.
Hereinafter, processes of the deep learning are described with reference to
Referring to
The initialization 210a may be performed by the storage processor 110, and the FP 1000a, the loss function calculation 1000-4 and the BP 1000b may be performed by the host 300.
The parameters may be repeatedly calculated and updated per epoch. In some example embodiments, the parameters may include weight values W[1:N] and bias values b[1:N] where N is a natural number greater than one.
During the FP 1000a, the host 300 may generate intermediate result values based on layer input data respectively applied to layers (L1˜LN) 1000-1˜1000-3. The layer input data during the FP 1000a may include learning data X, first intermediate result values A[1:N], the weight values W[1:N] and the bias values b[1:N]. In some example embodiments, the intermediate result values during the FP 1000a may include the first intermediate result values A[1:N] and second intermediate result values Z[1:N] and the second intermediate result values Z[1:N] may be generated based on the first intermediate result values A[1:N].
During the BP 1000b, the host 300 may generate intermediate result values based on layer input data respectively applied to layers 1000-1˜1000-3. The layer input data during the BP 1000b may include deviations dA[N:1] of the first intermediate result values A[N:1]. In some example embodiments, the intermediate result values during the BP 1000b may include deviations dW[N:1] of the weight values W[N:1], deviations db[N:1] of the bias values b[N:1], deviations dA[N−1:0] of the first intermediate result values A[N−1:0], and deviations dZ[N:1] of the second intermediate result values Z[N:1]. And the host 300 may generate weight values W[N:1] and deviation b[N:1] based on the deviations dW[N:1] of the weight values W[N:1] and deviations db[N:1] of the bias values b[N:1]
Meanwhile, during the deep learning process described above, the host 300 repeatedly issues a read request of a write request to the storage processor 110, and in this case, input/output relationship between the host 300 and the storage memory 500 will be described in detail.
Referring to
Referring to
That is, the host 300 issues a read request to the storage processor 110 to receive the learning data X, the weight value W[k] and the bias value b[k] during the FP 1000a, and issues a read request to receive the weight value W[k], the bias value b[k], the first intermediate value A[k−1] and the second intermediate value Z[k] during the BP 1000b.
Since the host 300 repeatedly performs the deep learning as many as the predetermined number of epochs, the read request in the FP 1000a and the BP 1000b is also repeatedly issued as many as the number of epochs.
Here, if the storage controller 100 know the size of each of the data X, W[k], b[k], A[k−1] and Z[k] requested by the host 300 during the FP 1000a and the BP 1000b, the storage controller 100 may know addresses on the storage memory 500 in which each of the data X, W[k], b[k], A[k−1] and Z[k] is stored based on addresses corresponding to the first requested write request by the host 300. Therefore, the storage processor 110 may read data from the storage memory 500 in advance and store it in the buffer memory 130 before a read request is issued from the host 300. Hereinafter, a method of estimating the size of each of the data X, W[k], b[k], A[k−1] and Z[k] requested by the host 300 will be described.
Referring to
Therefore, the size of the learning data X may be estimated by (e.g., based on) comparing all of data X, W[1:N], b[1:N], A[0:N−1] and Z[1:N] requested by the host 300 to read and all of data W[N:1], b[N:1], A[N−1:0] and Z[N:1] requested by the host 300 to read. Accordingly, the learning data size estimator 30 may be configured to estimate a size of the learning data X based on comparing all data corresponding to a read request during a forward propagation (e.g., all of data X, W[1:N], b[1:N], A[0:N−1] and Z[1:N] requested by the host 300 to read during FP 1000a) and all data corresponding a read request during a backward propagation (e.g., all of data W[N:1], b[N:1], A[N−1:0] and Z[N:1] requested by the host 300 to read during BP 1000b).
According to some example embodiments, a size of the learning data X may be estimated (e.g., by the learning data size estimator 30) based on a mismatched address range determined by (e.g., based on) comparing addresses corresponding to a read request and a write request by host 300 during the FP 1000a (e.g., a forward propagation) and the addresses corresponding to read request by host 300 during the BP 1000b (e.g., a backward propagation). Accordingly, the learning data size estimator 30 may be configured to estimate the size of the learning data X based on a mismatched address range determined based on comparing addresses corresponding to a write request and a read request during a forward propagation (e.g., request by host 300 during FP 1000a) and addresses corresponding to a write request and a read request during a backward propagation (e.g., request by host 300 during BP 1000b). And start and end time points of the FP 1000a and the BP 1000b may be estimated based on a matched address range that is determined by comparing addresses corresponding to the read request and addresses corresponding to the write request. Accordingly, the learning data size estimator 30 may be configured to estimate start and end time points of the forward propagation (e.g., FP 1000a) and the backward propagation (e.g., BP 1000b) based on a matched address range that is determined (e.g., by the learning data size estimator 30) based on comparing an address corresponding to the read request during the forward propagation and an address corresponding to the read request during the backward propagation.
According to some example embodiments, estimation of the size of the learning data X may be performed by the learning data size estimator 30.
Referring to
Therefore, the size of the weight values W[1:N] and bias values b[1:N] may be estimated by comparing all of data X, W[1:N] and b[1:N] requested by the host 300 to read during the FP 1000a and the first part W[N:1] and b[N:1] of data requested by the host 300 to read during the BP 1000b. Accordingly, the weight and bias size estimator 10 may be configured to estimate a size of weight values W[1:N] and bias values b[1:N] based on comparing all data corresponding to a read request during a forward propagation (e.g., all of data X, W[1:N] and b[1:N] requested by the host 300 to read during the FP 1000a) and a portion (e.g., a limited portion) of data corresponding to a read request during a backward propagation (e.g., the first part W[N:1] and b[N:1] of data requested by the host 300 to read during the BP 1000b), where it will be understood that a limited portion of data, in some example embodiments, is limited to only said portion data. According to some example embodiments, a size of the weight values W[1:N] and the bias values b[1:N] may be estimated based on a matched address range determined by comparing addresses corresponding to a read request by host 300 during the FP 1000a and the addresses corresponding to read request by the host 300 during the BP 1000b. Accordingly, the weight and bias size estimator 10 may be configured to estimate a size of weight values W[1:N] and bias values b[1:N] based on a matched address range determined (e.g., by the weight and bias size estimator 10) based on comparing an address corresponding to a read request during a forward propagation (e.g., FP 1000a) and an address corresponding to a read request during a backward propagation (e.g., BP 1000b). And the start and time points of the FP 1000a and the BP 1000b may be estimated based on a matched address range determined by comparing addresses corresponding to the read request and addresses corresponding to the write request. Accordingly, the weight and bias size estimator 10 may be configured to estimate start and end time points of the forward propagation (e.g., FP 1000a) and start and end time points of the backward propagation (e.g., BP 1000b) based on the matched address range.
According to some example embodiments, estimation of a size of the weight values and the bias values may be performed by the weight and bias size estimator 10.
Referring to
Therefore, the size of the first immediate result values A[N−1:0] and the second immediate result values Z[N:1] may be estimated by comparing all of data A[0:N−1] and Z[1:N] requested by the host 300 to write during the FP 1000a and the second part A[N−1:0] and Z[N:1] of data W[N:1], b[N:1], A[N−1,0] and Z[N:1] requested by the host 300 to read during the BP 1000b. Accordingly, the intermediate result value size estimator 50 may be configured to estimate a size of the first immediate result values A[N−1:0] and the second immediate result values Z[N:1] based on comparing all data corresponding to a write request during a forward propagation (e.g., all of data A[0:N−1] and Z[1:N] requested by the host 300 to write during the FP 1000a) and a portion (e.g., limited portion) of data corresponding to a read request during a backward propagation (e.g., the second part A[N−1:0] and Z[N:1] of data W[N:1], b[N:1], A[N−1,0] and Z[N:1] requested by the host 300 to read during the BP 1000b). According to some example embodiments, a size of the first intermediate result values A[N−1:0] and the second intermediate result values Z[N:1] may be estimated based on a matched address range determined by comparing addresses corresponding to write request by host 300 during the FP 1000a and the addresses corresponding to write request by the host 300 during the BP 1000b. Accordingly, the intermediate result value size estimator 50 may be configured to estimate a size of the first immediate result values A[N−1:0] and the second immediate result values Z[N:1] based on comparing all data corresponding to a write request during a forward propagation (e.g., all of data A[0:N−1] and Z[1:N] requested by the host 300 to write during the FP 1000a) and a portion (e.g., limited portion) of data corresponding to a read request during a backward propagation (e.g., the second part A[N−1:0] and Z[N:1] of data W[N:1], b[N:1], A[N−1,0] and Z[N:1] requested by the host 300 to read during the BP 1000b). And the start and time points of the FP 1000a and the BP 1000b may be estimated based on a matched address range determined by comparing addresses corresponding to the read request and addresses corresponding to the write request. Accordingly, the intermediate result value size estimator 50 may be configured to estimate start and end time points of the backward propagation (e.g., BP 1000b) based on the matched address range based on comparing an address corresponding to the write request during the forward propagation (e.g., FP 1000a) and the address corresponding to the read request during the backward propagation (e.g., BP 1000b).
According to some example embodiments, the estimation of a size of the first intermediate result values and the second intermediate result values may be performed by the intermediate result value size estimator 50.
Referring to
The learning pattern processor 150a may receive an address corresponding to a read request or a write request from the storage processor 110 or the host 300, and generate the estimated result values ESTMRES using the address corresponding to the read request or the write request. The read request and the write request may be a combination of a command CMD and an address ADDR, and the write address may accompany write data DATA.
The learning pattern processor 150a may transfer the estimated result values ESTMRES to the storage processor 110. Using the estimated result values ESTMRES, the storage processor 110 may read data, that is, the request prediction data, from the storage memory 500 and store the request prediction data in the buffer memory 130 in advance before the host 300 issues the read request.
The learning pattern processor 150a may receive a deviations DEVWB weight values and bias values from the host 300. Using the deviations DEVWB, the learning pattern processor may generate a updated weight values and bias values UPDTDWB. Hereinafter, the process of performing the deep learning will be described to describe the process in which the learning pattern processor 150a generates the updated weight and bias values UPDTDWB.
Referring to
The initialization 210a may be performed by the storage processor 110, and the FP 1000a, the loss function calculation 1000-4 and the BP 1000b may be performed by the host 300.
The parameters may be repeatedly calculated and updated per epoch. In some example embodiments, the parameters may include weight values W[1:N] and bias values b[1:N] where N is a natural number greater than one.
During the FP 1000a, the host 300 may generate intermediate result values based on layer input data respectively applied to layers (L1˜LN) 1000-1˜1000-3. The layer input data during the FP 1000a may include learning data X, first intermediate result values A[1:N], the weight values W[1:N] and the bias values b[1:N]. In some example embodiments, the intermediate result values during the FP 1000a may include the first intermediate result values A[1:N] and second intermediate result values Z[1:N] and the second intermediate result values Z[1:N] may be generated based on the first intermediate result values A[1:N].
During the BP 1000b, the host 300 may generate intermediate result values based on layer input data respectively applied to layers 1000-1˜1000-3. The layer input data during the BP 1000b may include deviations dA[N:1] of the first intermediate result values A[N:1]. In some example embodiments, the intermediate result values during the BP 1000b may include deviations dW[N:1] of the weight values W[N:1], deviations db[N:1] of the bias values b[N:1], deviations dA[N−1:0] of the first intermediate result values A[N−1:0], and deviations dZ[N:1] of the second intermediate result values Z[N:1]. And the host 300 may generate weight values W[N:1] and deviation b[N:1] based on the deviations dW[N:1] of the weight values W[N:1] and deviations db[N:1] of the bias values b[N:1].
The weight and bias updater 70 may update the weight values W[N:1] and the bias values b[N:1] based on the deviations dW[N:1] of the weight values W[N:1] and deviations db[N:1] of the bias values b[N:1]. Accordingly, it will be understood that the weight and bias updater 70 may be configured to receive deviations dW[N:1] of the weight values W[N:1] and deviations db[N:1] of the bias values b[N:1] from the host 300 to generate updated weight values W[N:1] and updated bias values b[N:1] based on the deviations dW[N:1] of the weight values W[N:1] and deviations db[N:1] of the bias values b[N:1].
The Update may be performed by calculating each of the weight values W[N:1] and bias values b[N:1] to each of the deviations b[N:1] of the weight values W[N:1] and the deviation b[N:1] of the bias values b[N:1].
According to some example embodiments, the calculation may be one of addition, subtraction, or other operations, but the scope of the present inventive concepts are not limited thereto. the other operations may include a differential operation. According to some example embodiments, the calculation may be previously determined by any one of the addition, the subtraction, or the other operations before the storage system performs the deep learning.
According to some example embodiments, the Meanwhile, during the deep learning process described above, the host 300 repeatedly issues a read request of a write request to the storage processor 110, and in this case, input/output relationship between the host 300 and the storage memory 500 will be described in detail.
Referring
The epoch start detector 90 may detect a start point of each epoch during the deep learning. According to some example embodiments, when the deep learning is performed by a conventional storage system and is stopped in the middle, and is continuously performed by the storage system according to some example embodiments of the present inventive concepts, the epoch start detector 90 may detect a start point of newly proceeding epoch. According to some example embodiments, the start point may be estimated based on a matched address range determined by comparing addresses corresponding to a read request and addresses corresponding to a write request. According to some example embodiments, at least one epoch may be performed between the stopped point and the start point of the newly proceeding epoch.
When the start point of the epoch is detected, the epoch start detector 90 may generate an epoch start detection signal DPHSTR and may be transmitted the epoch start detection signal DPHSTR to the storage processor 110.
The learning pattern processor 150b may receive an address corresponding to a read request or a write request from the storage processor 110 or the host 300, and generate the estimated result values ESTMRES using the address corresponding to the read request or the write request. The read request and the write request may be a combination of a command CMD and an address ADDR, and the write address may accompany write data DATA.
The learning pattern processor 150b may transfer the estimated result values ESTMRES to the storage processor 110. Using the estimated result values ESTMRES, the storage processor 110 may read data, that is, the request prediction data, from the storage memory 500 and store the request prediction data in the buffer memory 130 in advance before the host 300 issues the read request.
Referring to
According to some example embodiments, the size of the learning data X may be estimated by (e.g., based on) comparing all of data X, W[1:N], b[1:N], A[0:N−1] and Z[1:N] requested by the host 300 to read and all of data W[N:1], b[N:1], A[N−1:0] and Z[N:1] requested by the host 300 to read.
According to some example embodiments, a size of the learning data X may be estimated based on a mismatched address range determined by (e.g., based on) comparing addresses corresponding to a read request and a write request by host 300 during the FP 1000a and the addresses corresponding to read request by host 3000 during the BP 1000b. And start and end time points of the FP 1000a and the BP 1000b may be estimated based on a matched address range determined by comparing addresses corresponding to the read request and addresses corresponding to the write request.
According to some example embodiments, the size of the weight values W[1:N] and bias values b[1:N] may be estimated by comparing all of data X, W[1:N] and b[1:N] requested by the host 300 to read during the FP 1000a and the first part W[N:1] and b[N:1] of data requested by the host 300 to read during the BP 1000b. According to some example embodiments, a size of the weight values W[1:N] and the bias values b[1:N] may be estimated based on a matched address range determined by comparing addresses corresponding to a read request by host 300 during the FP 1000a and the addresses corresponding to read request by the host 300 during the BP 1000b. And the start and time points of the FP 1000a and the BP 1000b may be estimated based on a matched address range determined by comparing addresses corresponding to the read request and addresses corresponding to the write request.
According to some example embodiments, the size of the first immediate result values A[N−1:0] and the second immediate result values Z[N:1] may be estimated by comparing all of data A[0:N−1] and Z[1:N] requested by the host 300 to write during the FP 1000a and the second part A[N−1:0] and Z[N:1] of data W[N:1], b[N:1], A[N−1,0] and Z[N:1] requested by the host 300 to read during the BP 1000b. According to some example embodiments, a size of the first intermediate result values A[N−1:0] and the second intermediate result values Z[N:1] may be estimated based on a matched address range determined by comparing addresses corresponding to write request by host 300 during the FP 1000a and the addresses corresponding to read request by the host 300 during the BP 1000b. And the start and time points of the FP 1000a and the BP 1000b may be estimated based on a matched address range determined by comparing addresses corresponding to the read request and addresses corresponding to the write request.
The storage controller 100, based on the estimated result values, may read request prediction data from the storage memory 500 to store the request prediction data in the buffer memory 130, in advance, before the host issues a read request for the request prediction data (S1500).
Referring to
The storage controller 100 may update the weight values W[N:1] and the bias values b[N:1] based on the deviations dW[N:1] of the weight values W[N:1] and deviations db[N:1] of the bias values b[N:1]. The Update may be performed by calculating each of the weight values W[N:1] and bias values b[N:1] to each of the deviations b[N:1] of the weight values W[N:1] and the deviation b[N:1] of the bias values b[N:1]. According to some example embodiments, the calculation may be one of addition, subtraction, or other operations, but the scope of the present inventive concepts are not limited thereto. the other operations may include a differential operation. According to some example embodiments, the calculation may be previously determined by any one of the addition, the subtraction, or the other operations before the storage system performs the deep learning.
Referring to
When the start point of the epoch is detected, the storage controller 100 may generate an epoch start detection signal DPHSTR and may be transmitted the epoch start detection signal DPHSTR to the storage processor 110.
The storage controller 100 may receive an address corresponding to a read request or a write request from the host 300, and generate the estimated result values ESTMRES using the address corresponding to the read request or the write request. The read request and the write request may be a combination of a command CMD and an address ADDR, and the write address may accompany write data DATA.
The storage controller 100 may transfer the estimated result values ESTMRES to the storage processor 110. Using the estimated result values ESTMRES, the storage processor 110 may read data, that is, the request prediction data, from the storage memory 500 and store the request prediction data in the buffer memory 130 in advance before the host 300 issues the read request.
Referring to
Such models may be implemented with software or hardware and be a model based on at least one of an artificial neural network (ANN) model, a multi-layer perceptrons (MLPs) model, a convolutional neural network (CNN) model, a deconvolutional neural network, a decision tree model, a random forest model, an Adaboost (adaptive boosting) model, a multiple regression analysis model, a logistic regression model, recurrent neural networks (RNN) optionally including long short-term memory (LSTM) units and/or gated recurrent units (GRU), stacked neural networks (SNN), state-space dynamic neural networks (SSDNN), deep belief networks (DBN), generative adversarial networks (GANs), and/or restricted Boltzmann machines (RBM). Alternatively or additionally, such models may include other forms of artificial intelligence models, such as, for example, linear and/or logistic regression, statistical clustering, Bayesian classification, decision trees, dimensionality reduction such as principal component analysis, and expert systems a random sample consensus (RANSAC) model; and/or combinations thereof. Examples of such models are not limited thereto.
The input layer IL may include i input nodes x1, x2, . . . , xi, where i is a natural number. Input data (e.g., vector input data) IDAT whose length is i may be input to the input nodes x1, x2, . . . , xi such that each element of the input data IDAT is input to a respective one of the input nodes x1, x2, . . . , xi.
The plurality of hidden layers HL1, HL2, . . . , HLn may include n hidden layers, where n is a natural number, and may include a plurality of hidden nodes h11, h12, h13, . . . , h1m, h21, h22, h23, . . . , h2m, hn1, hn2, hn3, . . . , hnm. For example, the hidden layer HL1 may include m hidden nodes h11, h12, h13, . . . , h1m, the hidden layer HL2 may include m hidden nodes h21, h22, h23, . . . , h2m, and the hidden layer HLn may include m hidden nodes hn1, hn2, hn3, . . . , hnm, where m is a natural number.
The output layer OL may include j output nodes y1, y2, . . . , yj, where j is a natural number. Each of the output nodes y1, y2, . . . , yj may correspond to a respective one of classes to be categorized. The output layer OL may output output values (e.g., output data ODAT, which may include class scores or simply scores) associated with the input data IDAT for each of the classes. The output layer OL may be referred to as a fully-connected layer and may indicate, for example, a probability that the input data IDAT corresponds to a car.
A structure of the neural network illustrated in
Each node (e.g., the node h11) may receive an output of a previous node (e.g., the node x1), may perform a computing operation, computation or calculation on the received output, and may output a result of the computing operation, computation or calculation as an output to a next node (e.g., the node h21). Each node may calculate a value to be output by applying the input to a specific function, e.g., a nonlinear function.
Generally, the structure of the neural network is set in advance, and the weighted values for the connections between the nodes are set appropriately using data having an already known answer of which class the data belongs to. The data with the already known answer is referred to as “training data,” and a process of determining the weighted value is referred to as “training.” The neural network “learns” during the training process. A group of an independently trainable structure and the weighted value is referred to as a “model,” and a process of predicting, by the model with the determined weighted value, which class the input data belongs to, and then outputting the predicted value, is referred to as a “testing” process.
The general neural network illustrated in
Referring to
Unlike the general neural network, each layer of the CNN may have three dimensions of width, height and depth, and thus data that is input to each layer may be volume data having three dimensions of width, height and depth. For example, if an input image in
Each of convolutional layers CONV1, CONV2, CONV3, CONV4, CONV5 and CONV6 may perform a convolutional operation on input volume data. In an image processing, the convolutional operation represents an operation in which image data is processed based on a mask with weighted values and an output value is obtained by multiplying input values by the weighted values and adding up the total multiplied values. The mask may be referred to as a filter, window or kernel.
Particularly, parameters of each convolutional layer may comprise a set of learnable filters. Every filter may be small spatially (along width and height), but may extend through the full depth of an input volume. For example, during the forward pass, each filter may be slid (more precisely, convolved) across the width and height of the input volume, and dot products may be computed between the entries of the filter and the input at any position. As the filter is slid over the width and height of the input volume, a two-dimensional activation map that gives the responses of that filter at every spatial position may be generated. As a result, an output volume may be generated by stacking these activation maps along the depth dimension. For example, if input volume data having a size of 32*32*3 passes through the convolutional layer CONV1 having four filters with zero-padding, output volume data of the convolutional layer CONV1 may have a size of 32*32*12 (e.g., a depth of volume data increases).
Each of RELU layers RELU1, RELU2, RELU3, RELU4, RELU5 and RELU6 may perform a rectified linear unit (RELU) operation that corresponds to an activation function defined by, e.g., a function f(x), max(0, x) (e.g., an output is zero for all negative input x). For example, if input volume data having a size of 32*32*12 passes through the RELU layer RELU1 to perform the rectified linear unit operation, output volume data of the RELU layer RELU1 may have a size of 32*32*12 (e.g., a size of volume data is maintained).
Each of pooling layers POOL1, POOL2 and POOL3 may perform a down-sampling operation on input volume data along spatial dimensions of width and height. For example, four input values arranged in a 2*2 matrix formation may be converted into one output value based on a 2*2 filter. For example, a maximum value of four input values arranged in a 2*2 matrix formation may be selected based on 2*2 maximum pooling, or an average value of four input values arranged in a 2*2 matrix formation may be obtained based on 2*2 average pooling. For example, if input volume data having a size of 32*32*12 passes through the pooling layer POOL1 having a 2*2 filter, output volume data of the pooling layer POOL1 may have a size of 16*16*12 (e.g., width and height of volume data decreases, and a depth of volume data is maintained).
Typically, one convolutional layer (e.g., CONV1) and one RELU layer (e.g., RELU1) may form a pair of CONV/RELU layers in the CNN, pairs of the CONV/RELU layers may be repeatedly arranged in the CNN, and the pooling layer may be periodically inserted in the CNN, thereby reducing a spatial size of image and extracting a characteristic of image.
An output layer or a fully-connected layer FC may output results (e.g., output data ODAT, which may include class scores) of the input volume data IDAT for each of the classes. For example, the input volume data IDAT corresponding to the two-dimensional image may be converted into an one-dimensional matrix or vector as the convolutional operation and the down-sampling operation are repeated. For example, the fully-connected layer FC may represent probabilities that the input volume data IDAT corresponds to a car, a truck, an airplane, a ship and a horse.
The types and number of layers included in the CNN may not be limited to an example described with reference to
Referring to
A structure illustrated on the right side of
In the RNN in
In the RNN in
In the RNN in
In the RNN in
In some example embodiments, at least one of various services and/or applications, e.g., an image classify service, a user authentication service based on bio-information or biometric data, an advanced driver assistance system (ADAS) service, a voice assistant service, an automatic speech recognition (ASR) service, or the like, may be performed, executed or processed by the neural network system described with reference to
Accordingly, one or more devices and/or systems including the storage controller 100, host 300 and/or storage memory 500 as described herein according to any of the example embodiments may partially or entirely implement a neural network system that may implement a service and/or application (e.g., an image classify service, a user authentication service based on bio-information or biometric data, an advanced driver assistance system (ADAS) service, a voice assistant service, an automatic speech recognition (ASR) service, or the like), and the functionality of said services and/or applications may thus be improved based on being implemented by a neural network for which deep learning may be performed more quickly and efficiently based on including the storage controller 100, host 300 and/or storage memory 500 as described herein according to any of the example embodiments. Thus, systems and/or devices implementing said services and/or applications (e.g., a host 300 that is a vehicle implementing an ADAS) may have improved responsiveness and/or adaptability to changing environments and thus may be configured to generate output signals (e.g., output signals generated by an ADAS that may cause a vehicle host 300 to be responsively navigated and/or driven) with improved speed and/or efficiency, thereby improving operation of systems and/or devices (e.g., vehicle hosts 300) implementing said services and/or applications.
Referring to
The processor 4100 controls operations of the electronic system 4000. The processor 4100 may execute an OS and at least one application to provide an internet browser, games, videos, or the like. The communication module 4200 performs wireless or wire communications with an external system. The display/touch module 4300 displays data processed by the processor 4100 and/or receives data through a touch panel. The storage device 4400 stores user data. The memory device 4500 temporarily stores data used for processing the operations of the electronic system 4000. The processor 4100 may correspond to the host 300 in
As described above, a storage controller, a storage system and a method according to some example embodiments may efficiently increase the speed of performing the deep learning based on moving the request prediction data, which is expected to be requested by the host, from the storage memory to the buffer memory having the higher operation speed than that of the storage memory, in advance before the host issues the read request for the request prediction data and rapidly transfer the request prediction data stored in the buffer memory to the host in response to the read request.
The inventive concepts may be applied to various electronic devices and/or systems including the storage device and the storage system. For example, the inventive concepts may be applied to systems such as a mobile phone, a smart phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital camera, a portable game console, a music player, a camcorder, a video player, a navigation device, a wearable device, an internet of things (IoT) device, an internet of everything (IoE) device, an e-book reader, a virtual reality (VR) device, an augmented reality (AR) device, a robotic device, a drone, etc.
The foregoing is illustrative of example embodiments and is not to be construed as limiting thereof. Although some example embodiments have been described, those skilled in the art will readily appreciate that many modifications are possible in the example embodiments without materially departing from the novel teachings and advantages of the example embodiments. Accordingly, all such modifications are intended to be included within the scope of the example embodiments as defined in the claims. Therefore, it is to be understood that the foregoing is illustrative of various example embodiments and is not to be construed as limited to the specific example embodiments disclosed, and that modifications to the disclosed example embodiments, as well as other example embodiments, are intended to be included within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2020-0006560 | Jan 2020 | KR | national |